]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/_windows_wrap.cpp
test for special keys first, before testing for alphanumeric ones as even keys such...
[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_wxPreviewCanvas swig_types[101]
2568 #define SWIGTYPE_p_wxPreviewControlBar swig_types[102]
2569 #define SWIGTYPE_p_wxPreviewFrame swig_types[103]
2570 #define SWIGTYPE_p_wxPrintData swig_types[104]
2571 #define SWIGTYPE_p_wxPrintDialog swig_types[105]
2572 #define SWIGTYPE_p_wxPrintDialogData swig_types[106]
2573 #define SWIGTYPE_p_wxPrintPreview swig_types[107]
2574 #define SWIGTYPE_p_wxPrinter swig_types[108]
2575 #define SWIGTYPE_p_wxProgressDialog swig_types[109]
2576 #define SWIGTYPE_p_wxPyApp swig_types[110]
2577 #define SWIGTYPE_p_wxPyCommandEvent swig_types[111]
2578 #define SWIGTYPE_p_wxPyEvent swig_types[112]
2579 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[113]
2580 #define SWIGTYPE_p_wxPyImageHandler swig_types[114]
2581 #define SWIGTYPE_p_wxPyPanel swig_types[115]
2582 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[116]
2583 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[117]
2584 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[118]
2585 #define SWIGTYPE_p_wxPyPrintPreview swig_types[119]
2586 #define SWIGTYPE_p_wxPyPrintout swig_types[120]
2587 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[121]
2588 #define SWIGTYPE_p_wxPySizer swig_types[122]
2589 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[123]
2590 #define SWIGTYPE_p_wxPyVListBox swig_types[124]
2591 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[125]
2592 #define SWIGTYPE_p_wxPyValidator swig_types[126]
2593 #define SWIGTYPE_p_wxPyWindow swig_types[127]
2594 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[128]
2595 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[129]
2596 #define SWIGTYPE_p_wxRect swig_types[130]
2597 #define SWIGTYPE_p_wxRegion swig_types[131]
2598 #define SWIGTYPE_p_wxSashEvent swig_types[132]
2599 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[133]
2600 #define SWIGTYPE_p_wxSashWindow swig_types[134]
2601 #define SWIGTYPE_p_wxScrollEvent swig_types[135]
2602 #define SWIGTYPE_p_wxScrollWinEvent swig_types[136]
2603 #define SWIGTYPE_p_wxScrolledWindow swig_types[137]
2604 #define SWIGTYPE_p_wxSetCursorEvent swig_types[138]
2605 #define SWIGTYPE_p_wxShowEvent swig_types[139]
2606 #define SWIGTYPE_p_wxSimpleHtmlListBox swig_types[140]
2607 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[141]
2608 #define SWIGTYPE_p_wxSize swig_types[142]
2609 #define SWIGTYPE_p_wxSizeEvent swig_types[143]
2610 #define SWIGTYPE_p_wxSizer swig_types[144]
2611 #define SWIGTYPE_p_wxSizerItem swig_types[145]
2612 #define SWIGTYPE_p_wxSplashScreen swig_types[146]
2613 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[147]
2614 #define SWIGTYPE_p_wxSplitterEvent swig_types[148]
2615 #define SWIGTYPE_p_wxSplitterWindow swig_types[149]
2616 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[150]
2617 #define SWIGTYPE_p_wxStatusBar swig_types[151]
2618 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[152]
2619 #define SWIGTYPE_p_wxString swig_types[153]
2620 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[154]
2621 #define SWIGTYPE_p_wxTGAHandler swig_types[155]
2622 #define SWIGTYPE_p_wxTIFFHandler swig_types[156]
2623 #define SWIGTYPE_p_wxTaskBarIcon swig_types[157]
2624 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[158]
2625 #define SWIGTYPE_p_wxTextEntryDialog swig_types[159]
2626 #define SWIGTYPE_p_wxTipWindow swig_types[160]
2627 #define SWIGTYPE_p_wxToolBar swig_types[161]
2628 #define SWIGTYPE_p_wxTopLevelWindow swig_types[162]
2629 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[163]
2630 #define SWIGTYPE_p_wxValidator swig_types[164]
2631 #define SWIGTYPE_p_wxVisualAttributes swig_types[165]
2632 #define SWIGTYPE_p_wxWindow swig_types[166]
2633 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[167]
2634 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[168]
2635 #define SWIGTYPE_p_wxXPMHandler swig_types[169]
2636 static swig_type_info *swig_types[171];
2637 static swig_module_info swig_module = {swig_types, 170, 0, 0, 0, 0};
2638 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2639 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2640
2641 /* -------- TYPES TABLE (END) -------- */
2642
2643 #if (PY_VERSION_HEX <= 0x02000000)
2644 # if !defined(SWIG_PYTHON_CLASSIC)
2645 # error "This python version requires to use swig with the '-classic' option"
2646 # endif
2647 #endif
2648 #if (PY_VERSION_HEX <= 0x02020000)
2649 # error "This python version requires to use swig with the '-nomodern' option"
2650 #endif
2651 #if (PY_VERSION_HEX <= 0x02020000)
2652 # error "This python version requires to use swig with the '-nomodernargs' option"
2653 #endif
2654 #ifndef METH_O
2655 # error "This python version requires to use swig with the '-nofastunpack' option"
2656 #endif
2657
2658 /*-----------------------------------------------
2659 @(target):= _windows_.so
2660 ------------------------------------------------*/
2661 #define SWIG_init init_windows_
2662
2663 #define SWIG_name "_windows_"
2664
2665 #define SWIGVERSION 0x010329
2666
2667
2668 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2669 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2670
2671
2672 #include <stdexcept>
2673
2674
2675 namespace swig {
2676 class PyObject_ptr {
2677 protected:
2678 PyObject *_obj;
2679
2680 public:
2681 PyObject_ptr() :_obj(0)
2682 {
2683 }
2684
2685 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2686 {
2687 Py_XINCREF(_obj);
2688 }
2689
2690 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2691 {
2692 if (initial_ref) Py_XINCREF(_obj);
2693 }
2694
2695 PyObject_ptr & operator=(const PyObject_ptr& item)
2696 {
2697 Py_XINCREF(item._obj);
2698 Py_XDECREF(_obj);
2699 _obj = item._obj;
2700 return *this;
2701 }
2702
2703 ~PyObject_ptr()
2704 {
2705 Py_XDECREF(_obj);
2706 }
2707
2708 operator PyObject *() const
2709 {
2710 return _obj;
2711 }
2712
2713 PyObject *operator->() const
2714 {
2715 return _obj;
2716 }
2717 };
2718 }
2719
2720
2721 namespace swig {
2722 struct PyObject_var : PyObject_ptr {
2723 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2724
2725 PyObject_var & operator = (PyObject* obj)
2726 {
2727 Py_XDECREF(_obj);
2728 _obj = obj;
2729 return *this;
2730 }
2731 };
2732 }
2733
2734
2735 #include "wx/wxPython/wxPython.h"
2736 #include "wx/wxPython/pyclasses.h"
2737
2738
2739 static const wxString wxPyEmptyString(wxEmptyString);
2740 static const wxString wxPyPanelNameStr(wxPanelNameStr);
2741
2742
2743
2744 #include <limits.h>
2745 #ifndef LLONG_MIN
2746 # define LLONG_MIN LONG_LONG_MIN
2747 #endif
2748 #ifndef LLONG_MAX
2749 # define LLONG_MAX LONG_LONG_MAX
2750 #endif
2751 #ifndef ULLONG_MAX
2752 # define ULLONG_MAX ULONG_LONG_MAX
2753 #endif
2754
2755
2756 SWIGINTERN int
2757 SWIG_AsVal_long (PyObject* obj, long* val)
2758 {
2759 if (PyNumber_Check(obj)) {
2760 if (val) *val = PyInt_AsLong(obj);
2761 return SWIG_OK;
2762 }
2763 return SWIG_TypeError;
2764 }
2765
2766
2767 SWIGINTERN int
2768 SWIG_AsVal_int (PyObject * obj, int *val)
2769 {
2770 long v;
2771 int res = SWIG_AsVal_long (obj, &v);
2772 if (SWIG_IsOK(res)) {
2773 if ((v < INT_MIN || v > INT_MAX)) {
2774 return SWIG_OverflowError;
2775 } else {
2776 if (val) *val = static_cast< int >(v);
2777 }
2778 }
2779 return res;
2780 }
2781
2782
2783 SWIGINTERN int
2784 SWIG_AsVal_bool (PyObject *obj, bool *val)
2785 {
2786 if (obj == Py_True) {
2787 if (val) *val = true;
2788 return SWIG_OK;
2789 } else if (obj == Py_False) {
2790 if (val) *val = false;
2791 return SWIG_OK;
2792 } else {
2793 long v = 0;
2794 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2795 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2796 return res;
2797 }
2798 }
2799
2800
2801 #define SWIG_From_long PyInt_FromLong
2802
2803
2804 SWIGINTERNINLINE PyObject *
2805 SWIG_From_int (int value)
2806 {
2807 return SWIG_From_long (value);
2808 }
2809
2810
2811 SWIGINTERN int
2812 SWIG_AsVal_double (PyObject *obj, double* val)
2813 {
2814 if (PyNumber_Check(obj)) {
2815 if (val) *val = PyFloat_AsDouble(obj);
2816 return SWIG_OK;
2817 }
2818 return SWIG_TypeError;
2819 }
2820
2821
2822 #define SWIG_From_double PyFloat_FromDouble
2823
2824 static const wxString wxPyFrameNameStr(wxFrameNameStr);
2825 static const wxString wxPyDialogNameStr(wxDialogNameStr);
2826 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
2827 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
2828 SWIGINTERN void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){ /*wxPyRaiseNotImplemented();*/ }
2829 SWIGINTERN bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow const *self){ /*wxPyRaiseNotImplemented();*/ return false; }
2830
2831 #define wxDEFAULT_MINIFRAME_STYLE wxCAPTION | wxRESIZE_BORDER | wxTINY_CAPTION_HORIZ
2832
2833
2834
2835 SWIGINTERN wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
2836 wxRect r;
2837 self->GetFieldRect(i, r);
2838 return r;
2839 }
2840 static const wxString wxPySplitterNameStr(wxT("splitter"));
2841 static const wxString wxPySashNameStr(wxT("sashWindow"));
2842 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
2843
2844 #include <wx/popupwin.h>
2845
2846
2847 class wxPyPopupTransientWindow : public wxPopupTransientWindow
2848 {
2849 public:
2850 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
2851 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
2852 : wxPopupTransientWindow(parent, style) {}
2853
2854 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
2855 DEC_PYCALLBACK__(OnDismiss);
2856 DEC_PYCALLBACK_BOOL_(CanDismiss);
2857 PYPRIVATE;
2858 };
2859
2860
2861 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
2862 IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
2863 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
2864
2865
2866 #include <wx/tipwin.h>
2867
2868 SWIGINTERN wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){
2869 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
2870 }
2871
2872 #include <wx/tipwin.h>
2873
2874
2875 #include <wx/vscroll.h>
2876
2877
2878 class wxPyVScrolledWindow : public wxVScrolledWindow
2879 {
2880 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow)
2881 public:
2882 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2883
2884 wxPyVScrolledWindow(wxWindow *parent,
2885 wxWindowID id = wxID_ANY,
2886 const wxPoint& pos = wxDefaultPosition,
2887 const wxSize& size = wxDefaultSize,
2888 long style = 0,
2889 const wxString& name = wxPyPanelNameStr)
2890 : wxVScrolledWindow(parent, id, pos, size, style, name)
2891 {}
2892
2893 // Overridable virtuals
2894
2895 // this function must be overridden in the derived class and it should
2896 // return the height of the given line in pixels
2897 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
2898
2899
2900 // this function doesn't have to be overridden but it may be useful to do
2901 // it if calculating the lines heights is a relatively expensive operation
2902 // as it gives the user code a possibility to calculate several of them at
2903 // once
2904 //
2905 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2906 // shouldn't rely on the latter being called for all lines in the interval
2907 // specified here. It is also possible that OnGetLineHeight() will be
2908 // called for the lines outside of this interval, so this is really just a
2909 // hint, not a promise.
2910 //
2911 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2912 // usual
2913 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
2914
2915
2916 // when the number of lines changes, we try to estimate the total height
2917 // of all lines which is a rather expensive operation in terms of lines
2918 // access, so if the user code may estimate the average height
2919 // better/faster than we do, it should override this function to implement
2920 // its own logic
2921 //
2922 // this function should return the best guess for the total height it may
2923 // make
2924 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
2925
2926
2927 // Also expose some other interesting protected methods
2928
2929
2930 // find the index of the line we need to show at the top of the window such
2931 // that the last (fully or partially) visible line is the given one
2932 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
2933 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
2934
2935 // get the total height of the lines between lineMin (inclusive) and
2936 // lineMax (exclusive)
2937 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
2938 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
2939
2940 // update the thumb size shown by the scrollbar
2941 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2942
2943 // remove the scrollbar completely because we don't need it
2944 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
2945
2946 PYPRIVATE;
2947 };
2948
2949 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
2950
2951 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
2952 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
2953 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
2954
2955
2956 SWIGINTERN int
2957 SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2958 {
2959 long v = 0;
2960 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2961 return SWIG_TypeError;
2962 }
2963 else if (val)
2964 *val = (unsigned long)v;
2965 return SWIG_OK;
2966 }
2967
2968
2969 SWIGINTERNINLINE int
2970 SWIG_AsVal_size_t (PyObject * obj, size_t *val)
2971 {
2972 unsigned long v;
2973 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2974 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2975 return res;
2976 }
2977
2978
2979 SWIGINTERNINLINE PyObject*
2980 SWIG_From_unsigned_SS_long (unsigned long value)
2981 {
2982 return (value > LONG_MAX) ?
2983 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2984 }
2985
2986
2987 SWIGINTERNINLINE PyObject *
2988 SWIG_From_size_t (size_t value)
2989 {
2990 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
2991 }
2992
2993
2994 #include <wx/vlbox.h>
2995
2996 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
2997
2998 class wxPyVListBox : public wxVListBox
2999 {
3000 DECLARE_ABSTRACT_CLASS(wxPyVListBox)
3001 public:
3002 wxPyVListBox() : wxVListBox() {}
3003
3004 wxPyVListBox(wxWindow *parent,
3005 wxWindowID id = wxID_ANY,
3006 const wxPoint& pos = wxDefaultPosition,
3007 const wxSize& size = wxDefaultSize,
3008 long style = 0,
3009 const wxString& name = wxPyVListBoxNameStr)
3010 : wxVListBox(parent, id, pos, size, style, name)
3011 {}
3012
3013 // Overridable virtuals
3014
3015 // the derived class must implement this function to actually draw the item
3016 // with the given index on the provided DC
3017 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3018 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
3019
3020
3021 // the derived class must implement this method to return the height of the
3022 // specified item
3023 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3024 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
3025
3026
3027 // this method may be used to draw separators between the lines; note that
3028 // the rectangle may be modified, typically to deflate it a bit before
3029 // passing to OnDrawItem()
3030 //
3031 // the base class version doesn't do anything
3032 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3033 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3034
3035
3036 // this method is used to draw the items background and, maybe, a border
3037 // around it
3038 //
3039 // the base class version implements a reasonable default behaviour which
3040 // consists in drawing the selected item with the standard background
3041 // colour and drawing a border around the item if it is either selected or
3042 // current
3043 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3044 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3045
3046
3047 PYPRIVATE;
3048 };
3049
3050 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
3051
3052 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
3053 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
3054 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox, wxVListBox, OnDrawSeparator);
3055 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
3056
3057
3058 SWIGINTERN PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
3059 unsigned long cookie = 0;
3060 int selected = self->GetFirstSelected(cookie);
3061 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3062 PyObject* tup = PyTuple_New(2);
3063 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3064 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3065 wxPyEndBlockThreads(blocked);
3066 return tup;
3067 }
3068 SWIGINTERN PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
3069 int selected = self->GetNextSelected(cookie);
3070 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3071 PyObject* tup = PyTuple_New(2);
3072 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3073 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3074 wxPyEndBlockThreads(blocked);
3075 return tup;
3076 }
3077
3078 #include <wx/htmllbox.h>
3079
3080
3081 class wxPyHtmlListBox : public wxHtmlListBox
3082 {
3083 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox)
3084 public:
3085 wxPyHtmlListBox() : wxHtmlListBox() {}
3086
3087 wxPyHtmlListBox(wxWindow *parent,
3088 wxWindowID id = wxID_ANY,
3089 const wxPoint& pos = wxDefaultPosition,
3090 const wxSize& size = wxDefaultSize,
3091 long style = 0,
3092 const wxString& name = wxPyVListBoxNameStr)
3093 : wxHtmlListBox(parent, id, pos, size, style, name)
3094 {}
3095
3096 // Overridable virtuals
3097
3098 // this method must be implemented in the derived class and should return
3099 // the body (i.e. without <html>) of the HTML for the given item
3100 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
3101
3102 // this function may be overridden to decorate HTML returned by OnGetItem()
3103 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
3104
3105 // These are from wxVListBox
3106 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3107 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3108
3109 // TODO:
3110 // // this method allows to customize the selection appearance: it may be used
3111 // // to specify the colour of the text which normally has the given colour
3112 // // colFg when it is inside the selection
3113 // //
3114 // // by default, the original colour is not used at all and all text has the
3115 // // same (default for this system) colour inside selection
3116 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3117
3118 // // this is the same as GetSelectedTextColour() but allows to customize the
3119 // // background colour -- this is even more rarely used as you can change it
3120 // // globally using SetSelectionBackground()
3121 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3122
3123
3124 // This method may be overriden to handle clicking on a link in
3125 // the listbox. By default, clicking links is ignored.
3126 virtual void OnLinkClicked(size_t n,
3127 const wxHtmlLinkInfo& link);
3128
3129 PYPRIVATE;
3130 };
3131
3132
3133 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
3134
3135 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
3136 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
3137 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawSeparator);
3138 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawBackground);
3139
3140
3141 void wxPyHtmlListBox::OnLinkClicked(size_t n,
3142 const wxHtmlLinkInfo& link) {
3143 bool found;
3144 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3145 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
3146 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
3147 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", n, obj));
3148 Py_DECREF(obj);
3149 }
3150 wxPyEndBlockThreads(blocked);
3151 if (! found)
3152 wxPyHtmlListBox::OnLinkClicked(n, link);
3153 }
3154
3155
3156
3157 const wxArrayString wxPyEmptyStringArray;
3158
3159 static const wxString wxPySimpleHtmlListBoxNameStr(wxSimpleHtmlListBoxNameStr);
3160
3161
3162
3163 #ifndef wxHAS_TASK_BAR_ICON
3164 // implement dummy classes for platforms that don't have it
3165
3166 class wxTaskBarIcon : public wxEvtHandler
3167 {
3168 public:
3169 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3170 };
3171
3172
3173 class wxTaskBarIconEvent : public wxEvent
3174 {
3175 public:
3176 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
3177 { wxPyRaiseNotImplemented(); }
3178 virtual wxEvent* Clone() const { return NULL; }
3179 bool IsOk() const { return false; }
3180 bool IsIconInstalled() const { return false; }
3181 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
3182 bool RemoveIcon() { return false; }
3183 bool PopupMenu(wxMenu *menu) { return false; }
3184 };
3185
3186 enum {
3187 wxEVT_TASKBAR_MOVE = 0,
3188 wxEVT_TASKBAR_LEFT_DOWN = 0,
3189 wxEVT_TASKBAR_LEFT_UP = 0,
3190 wxEVT_TASKBAR_RIGHT_DOWN = 0,
3191 wxEVT_TASKBAR_RIGHT_UP = 0,
3192 wxEVT_TASKBAR_LEFT_DCLICK = 0,
3193 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
3194 };
3195
3196
3197 #else
3198 // Otherwise make a class that can virtualize CreatePopupMenu
3199 class wxPyTaskBarIcon : public wxTaskBarIcon
3200 {
3201 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon)
3202 public:
3203 wxPyTaskBarIcon() : wxTaskBarIcon()
3204 {}
3205
3206 wxMenu* CreatePopupMenu() {
3207 wxMenu *rval = NULL;
3208 bool found;
3209 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3210 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
3211 PyObject* ro;
3212 wxMenu* ptr;
3213 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3214 if (ro) {
3215 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
3216 rval = ptr;
3217 Py_DECREF(ro);
3218 }
3219 }
3220 wxPyEndBlockThreads(blocked);
3221 if (! found)
3222 rval = wxTaskBarIcon::CreatePopupMenu();
3223 return rval;
3224 }
3225
3226 PYPRIVATE;
3227 };
3228
3229 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
3230
3231 #endif
3232
3233 SWIGINTERN void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
3234 self->RemoveIcon();
3235 delete self;
3236 }
3237 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
3238 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
3239 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
3240 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
3241 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
3242 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
3243
3244 // for compatibility only
3245 #define wxHIDE_READONLY 0
3246
3247 SWIGINTERN PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
3248 wxArrayString arr;
3249 self->GetFilenames(arr);
3250 return wxArrayString2PyList_helper(arr);
3251 }
3252 SWIGINTERN PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
3253 wxArrayString arr;
3254 self->GetPaths(arr);
3255 return wxArrayString2PyList_helper(arr);
3256 }
3257 SWIGINTERN PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
3258 return wxArrayInt2PyList_helper(self->GetSelections());
3259 }
3260 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){
3261 return new wxSingleChoiceDialog(parent, message, caption,
3262 choices, choices_array, NULL, style, pos);
3263 }
3264 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
3265
3266 SWIGINTERNINLINE PyObject*
3267 SWIG_From_bool (bool value)
3268 {
3269 return PyBool_FromLong(value ? 1 : 0);
3270 }
3271
3272
3273 #include <wx/mdi.h>
3274
3275 // C++ version of Python aware wxWindow
3276 class wxPyWindow : public wxWindow
3277 {
3278 DECLARE_DYNAMIC_CLASS(wxPyWindow)
3279 public:
3280 wxPyWindow() : wxWindow() {}
3281 wxPyWindow(wxWindow* parent, const wxWindowID id,
3282 const wxPoint& pos = wxDefaultPosition,
3283 const wxSize& size = wxDefaultSize,
3284 long style = 0,
3285 const wxString& name = wxPyPanelNameStr)
3286 : wxWindow(parent, id, pos, size, style, name) {}
3287
3288
3289 bool DoEraseBackground(wxDC* dc) {
3290 #ifdef __WXMSW__
3291 return wxWindow::DoEraseBackground(dc->GetHDC());
3292 #else
3293 dc->SetBackground(wxBrush(GetBackgroundColour()));
3294 dc->Clear();
3295 return true;
3296 #endif
3297 }
3298
3299 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3300 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3301 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3302 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3303
3304 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3305 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3306 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3307
3308 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3309 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3310
3311 DEC_PYCALLBACK__(InitDialog);
3312 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3313 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3314 DEC_PYCALLBACK_BOOL_(Validate);
3315
3316 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3317 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3318 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3319
3320 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3321 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3322
3323 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3324 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3325
3326 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3327
3328 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3329
3330 PYPRIVATE;
3331 };
3332
3333 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
3334
3335 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
3336 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
3337 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
3338 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
3339
3340 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
3341 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
3342 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
3343
3344 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
3345 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
3346
3347 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
3348 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
3349 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
3350 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
3351
3352 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
3353 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
3354 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
3355
3356 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
3357 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
3358
3359 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
3360 IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
3361
3362 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
3363
3364 IMP_PYCALLBACK_VOID_(wxPyWindow, wxWindow, OnInternalIdle);
3365
3366 // C++ version of Python aware wxPanel
3367 class wxPyPanel : public wxPanel
3368 {
3369 DECLARE_DYNAMIC_CLASS(wxPyPanel)
3370 public:
3371 wxPyPanel() : wxPanel() {}
3372 wxPyPanel(wxWindow* parent, const wxWindowID id,
3373 const wxPoint& pos = wxDefaultPosition,
3374 const wxSize& size = wxDefaultSize,
3375 long style = 0,
3376 const wxString& name = wxPyPanelNameStr)
3377 : wxPanel(parent, id, pos, size, style, name) {}
3378
3379 bool DoEraseBackground(wxDC* dc) {
3380 #ifdef __WXMSW__
3381 return wxWindow::DoEraseBackground(dc->GetHDC());
3382 #else
3383 dc->SetBackground(wxBrush(GetBackgroundColour()));
3384 dc->Clear();
3385 return true;
3386 #endif
3387 }
3388
3389
3390 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3391 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3392 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3393 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3394
3395 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3396 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3397 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3398
3399 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3400 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3401
3402 DEC_PYCALLBACK__(InitDialog);
3403 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3404 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3405 DEC_PYCALLBACK_BOOL_(Validate);
3406
3407 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3408 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3409 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3410
3411 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3412 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3413
3414 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3415 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3416
3417 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3418
3419 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3420
3421 PYPRIVATE;
3422 };
3423
3424 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
3425
3426 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
3427 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
3428 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
3429 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
3430
3431 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
3432 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
3433 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
3434
3435 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
3436 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
3437
3438 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
3439 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
3440 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
3441 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
3442
3443 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
3444 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
3445 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
3446
3447 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
3448 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
3449
3450 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
3451 IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
3452
3453 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
3454
3455 IMP_PYCALLBACK_VOID_(wxPyPanel, wxPanel, OnInternalIdle);
3456
3457 // C++ version of Python aware wxScrolledWindow
3458 class wxPyScrolledWindow : public wxScrolledWindow
3459 {
3460 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
3461 public:
3462 wxPyScrolledWindow() : wxScrolledWindow() {}
3463 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
3464 const wxPoint& pos = wxDefaultPosition,
3465 const wxSize& size = wxDefaultSize,
3466 long style = 0,
3467 const wxString& name = wxPyPanelNameStr)
3468 : wxScrolledWindow(parent, id, pos, size, style, name) {}
3469
3470 bool DoEraseBackground(wxDC* dc) {
3471 #ifdef __WXMSW__
3472 return wxWindow::DoEraseBackground(dc->GetHDC());
3473 #else
3474 dc->SetBackground(wxBrush(GetBackgroundColour()));
3475 dc->Clear();
3476 return true;
3477 #endif
3478 }
3479
3480 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3481 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3482 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3483 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3484
3485 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3486 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3487 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3488
3489 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3490 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3491
3492 DEC_PYCALLBACK__(InitDialog);
3493 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3494 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3495 DEC_PYCALLBACK_BOOL_(Validate);
3496
3497 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3498 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3499 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3500
3501 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3502 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3503
3504 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3505 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3506
3507 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3508
3509 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3510
3511 PYPRIVATE;
3512 };
3513
3514 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
3515
3516 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
3517 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
3518 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
3519 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
3520
3521 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
3522 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
3523 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
3524
3525 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
3526 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
3527
3528 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
3529 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
3530 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
3531 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
3532
3533 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
3534 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
3535 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
3536
3537 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
3538 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
3539
3540 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
3541 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
3542
3543 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
3544
3545 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow, wxScrolledWindow, OnInternalIdle);
3546
3547
3548 #include "wx/wxPython/printfw.h"
3549
3550
3551 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
3552 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3553 SWIGINTERN PyObject *wxPrintData_GetPrivData(wxPrintData *self){
3554 PyObject* data;
3555 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3556 data = PyString_FromStringAndSize(self->GetPrivData(),
3557 self->GetPrivDataLen());
3558 wxPyEndBlockThreads(blocked);
3559 return data;
3560 }
3561 SWIGINTERN void wxPrintData_SetPrivData(wxPrintData *self,PyObject *data){
3562 if (! PyString_Check(data)) {
3563 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
3564 "Expected string object"));
3565 return /* NULL */ ;
3566 }
3567
3568 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3569 self->SetPrivData(PyString_AS_STRING(data), PyString_GET_SIZE(data));
3570 wxPyEndBlockThreads(blocked);
3571 }
3572
3573
3574 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
3575
3576 // Since this one would be tough and ugly to do with the Macros...
3577 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
3578 bool hadErr = false;
3579 bool found;
3580
3581 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3582 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
3583 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3584 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
3585 PyObject* val;
3586
3587 val = PyTuple_GetItem(result, 0);
3588 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
3589 else hadErr = true;
3590
3591 val = PyTuple_GetItem(result, 1);
3592 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
3593 else hadErr = true;
3594
3595 val = PyTuple_GetItem(result, 2);
3596 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
3597 else hadErr = true;
3598
3599 val = PyTuple_GetItem(result, 3);
3600 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
3601 else hadErr = true;
3602 }
3603 else
3604 hadErr = true;
3605
3606 if (hadErr) {
3607 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
3608 PyErr_Print();
3609 }
3610 Py_DECREF(result);
3611 }
3612 wxPyEndBlockThreads(blocked);
3613 if (! found)
3614 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
3615 }
3616
3617
3618
3619 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
3620 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
3621 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
3622 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
3623 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
3624 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
3625 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
3626
3627
3628
3629
3630
3631 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3632 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3633
3634
3635 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3636 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3637 bool rval=false; \
3638 bool found; \
3639 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3640 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3641 PyObject* win = wxPyMake_wxObject(a,false); \
3642 PyObject* dc = wxPyMake_wxObject(&b,false); \
3643 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3644 Py_DECREF(win); \
3645 Py_DECREF(dc); \
3646 } \
3647 wxPyEndBlockThreads(blocked); \
3648 if (! found) \
3649 rval = PCLASS::CBNAME(a, b); \
3650 return rval; \
3651 }
3652
3653
3654
3655
3656 class wxPyPrintPreview : public wxPrintPreview
3657 {
3658 DECLARE_CLASS(wxPyPrintPreview)
3659 public:
3660 wxPyPrintPreview(wxPyPrintout* printout,
3661 wxPyPrintout* printoutForPrinting,
3662 wxPrintDialogData* data=NULL)
3663 : wxPrintPreview(printout, printoutForPrinting, data)
3664 {}
3665 wxPyPrintPreview(wxPyPrintout* printout,
3666 wxPyPrintout* printoutForPrinting,
3667 wxPrintData* data)
3668 : wxPrintPreview(printout, printoutForPrinting, data)
3669 {}
3670
3671 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
3672 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
3673 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
3674 DEC_PYCALLBACK_BOOL_INT(RenderPage);
3675 DEC_PYCALLBACK_VOID_INT(SetZoom);
3676 DEC_PYCALLBACK_BOOL_BOOL(Print);
3677 DEC_PYCALLBACK_VOID_(DetermineScaling);
3678
3679 PYPRIVATE;
3680 };
3681
3682 // Stupid renamed classes... Fix this in 2.5...
3683 #if defined(__WXMSW__)
3684 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
3685 #elif defined(__WXMAC__)
3686 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
3687 #else
3688 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
3689 #endif
3690
3691 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
3692 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
3693 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
3694 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
3695 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
3696 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
3697 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
3698
3699
3700 class wxPyPreviewFrame : public wxPreviewFrame
3701 {
3702 DECLARE_CLASS(wxPyPreviewFrame)
3703 public:
3704 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
3705 const wxString& title,
3706 const wxPoint& pos = wxDefaultPosition,
3707 const wxSize& size = wxDefaultSize,
3708 long style = wxDEFAULT_FRAME_STYLE,
3709 const wxString& name = wxPyFrameNameStr)
3710 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
3711 {}
3712
3713 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
3714 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
3715
3716 DEC_PYCALLBACK_VOID_(Initialize);
3717 DEC_PYCALLBACK_VOID_(CreateCanvas);
3718 DEC_PYCALLBACK_VOID_(CreateControlBar);
3719
3720 PYPRIVATE;
3721 };
3722
3723 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
3724
3725 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
3726 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
3727 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
3728
3729
3730 class wxPyPreviewControlBar : public wxPreviewControlBar
3731 {
3732 DECLARE_CLASS(wxPyPreviewControlBar)
3733 public:
3734 wxPyPreviewControlBar(wxPrintPreview *preview,
3735 long buttons,
3736 wxWindow *parent,
3737 const wxPoint& pos = wxDefaultPosition,
3738 const wxSize& size = wxDefaultSize,
3739 long style = 0,
3740 const wxString& name = wxPyPanelNameStr)
3741 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
3742 {}
3743
3744 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
3745
3746 DEC_PYCALLBACK_VOID_(CreateButtons);
3747 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
3748
3749 PYPRIVATE;
3750 };
3751
3752 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
3753 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
3754 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
3755
3756 #ifdef __cplusplus
3757 extern "C" {
3758 #endif
3759 SWIGINTERN PyObject *_wrap_new_Panel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3760 PyObject *resultobj = 0;
3761 wxWindow *arg1 = (wxWindow *) 0 ;
3762 int arg2 = (int) (int)-1 ;
3763 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3764 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3765 wxSize const &arg4_defvalue = wxDefaultSize ;
3766 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3767 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3768 wxString const &arg6_defvalue = wxPyPanelNameStr ;
3769 wxString *arg6 = (wxString *) &arg6_defvalue ;
3770 wxPanel *result = 0 ;
3771 void *argp1 = 0 ;
3772 int res1 = 0 ;
3773 int val2 ;
3774 int ecode2 = 0 ;
3775 wxPoint temp3 ;
3776 wxSize temp4 ;
3777 long val5 ;
3778 int ecode5 = 0 ;
3779 bool temp6 = false ;
3780 PyObject * obj0 = 0 ;
3781 PyObject * obj1 = 0 ;
3782 PyObject * obj2 = 0 ;
3783 PyObject * obj3 = 0 ;
3784 PyObject * obj4 = 0 ;
3785 PyObject * obj5 = 0 ;
3786 char * kwnames[] = {
3787 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3788 };
3789
3790 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
3791 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3792 if (!SWIG_IsOK(res1)) {
3793 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3794 }
3795 arg1 = reinterpret_cast< wxWindow * >(argp1);
3796 if (obj1) {
3797 ecode2 = SWIG_AsVal_int(obj1, &val2);
3798 if (!SWIG_IsOK(ecode2)) {
3799 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3800 }
3801 arg2 = static_cast< int >(val2);
3802 }
3803 if (obj2) {
3804 {
3805 arg3 = &temp3;
3806 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3807 }
3808 }
3809 if (obj3) {
3810 {
3811 arg4 = &temp4;
3812 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3813 }
3814 }
3815 if (obj4) {
3816 ecode5 = SWIG_AsVal_long(obj4, &val5);
3817 if (!SWIG_IsOK(ecode5)) {
3818 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3819 }
3820 arg5 = static_cast< long >(val5);
3821 }
3822 if (obj5) {
3823 {
3824 arg6 = wxString_in_helper(obj5);
3825 if (arg6 == NULL) SWIG_fail;
3826 temp6 = true;
3827 }
3828 }
3829 {
3830 if (!wxPyCheckForApp()) SWIG_fail;
3831 PyThreadState* __tstate = wxPyBeginAllowThreads();
3832 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3833 wxPyEndAllowThreads(__tstate);
3834 if (PyErr_Occurred()) SWIG_fail;
3835 }
3836 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_NEW | 0 );
3837 {
3838 if (temp6)
3839 delete arg6;
3840 }
3841 return resultobj;
3842 fail:
3843 {
3844 if (temp6)
3845 delete arg6;
3846 }
3847 return NULL;
3848 }
3849
3850
3851 SWIGINTERN PyObject *_wrap_new_PrePanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3852 PyObject *resultobj = 0;
3853 wxPanel *result = 0 ;
3854
3855 if (!SWIG_Python_UnpackTuple(args,"new_PrePanel",0,0,0)) SWIG_fail;
3856 {
3857 if (!wxPyCheckForApp()) SWIG_fail;
3858 PyThreadState* __tstate = wxPyBeginAllowThreads();
3859 result = (wxPanel *)new wxPanel();
3860 wxPyEndAllowThreads(__tstate);
3861 if (PyErr_Occurred()) SWIG_fail;
3862 }
3863 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_OWN | 0 );
3864 return resultobj;
3865 fail:
3866 return NULL;
3867 }
3868
3869
3870 SWIGINTERN PyObject *_wrap_Panel_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3871 PyObject *resultobj = 0;
3872 wxPanel *arg1 = (wxPanel *) 0 ;
3873 wxWindow *arg2 = (wxWindow *) 0 ;
3874 int arg3 = (int) (int)-1 ;
3875 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3876 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3877 wxSize const &arg5_defvalue = wxDefaultSize ;
3878 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3879 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3880 wxString const &arg7_defvalue = wxPyPanelNameStr ;
3881 wxString *arg7 = (wxString *) &arg7_defvalue ;
3882 bool result;
3883 void *argp1 = 0 ;
3884 int res1 = 0 ;
3885 void *argp2 = 0 ;
3886 int res2 = 0 ;
3887 int val3 ;
3888 int ecode3 = 0 ;
3889 wxPoint temp4 ;
3890 wxSize temp5 ;
3891 long val6 ;
3892 int ecode6 = 0 ;
3893 bool temp7 = false ;
3894 PyObject * obj0 = 0 ;
3895 PyObject * obj1 = 0 ;
3896 PyObject * obj2 = 0 ;
3897 PyObject * obj3 = 0 ;
3898 PyObject * obj4 = 0 ;
3899 PyObject * obj5 = 0 ;
3900 PyObject * obj6 = 0 ;
3901 char * kwnames[] = {
3902 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3903 };
3904
3905 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3906 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3907 if (!SWIG_IsOK(res1)) {
3908 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3909 }
3910 arg1 = reinterpret_cast< wxPanel * >(argp1);
3911 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3912 if (!SWIG_IsOK(res2)) {
3913 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3914 }
3915 arg2 = reinterpret_cast< wxWindow * >(argp2);
3916 if (obj2) {
3917 ecode3 = SWIG_AsVal_int(obj2, &val3);
3918 if (!SWIG_IsOK(ecode3)) {
3919 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3920 }
3921 arg3 = static_cast< int >(val3);
3922 }
3923 if (obj3) {
3924 {
3925 arg4 = &temp4;
3926 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3927 }
3928 }
3929 if (obj4) {
3930 {
3931 arg5 = &temp5;
3932 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3933 }
3934 }
3935 if (obj5) {
3936 ecode6 = SWIG_AsVal_long(obj5, &val6);
3937 if (!SWIG_IsOK(ecode6)) {
3938 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3939 }
3940 arg6 = static_cast< long >(val6);
3941 }
3942 if (obj6) {
3943 {
3944 arg7 = wxString_in_helper(obj6);
3945 if (arg7 == NULL) SWIG_fail;
3946 temp7 = true;
3947 }
3948 }
3949 {
3950 PyThreadState* __tstate = wxPyBeginAllowThreads();
3951 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3952 wxPyEndAllowThreads(__tstate);
3953 if (PyErr_Occurred()) SWIG_fail;
3954 }
3955 {
3956 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3957 }
3958 {
3959 if (temp7)
3960 delete arg7;
3961 }
3962 return resultobj;
3963 fail:
3964 {
3965 if (temp7)
3966 delete arg7;
3967 }
3968 return NULL;
3969 }
3970
3971
3972 SWIGINTERN PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3973 PyObject *resultobj = 0;
3974 wxPanel *arg1 = (wxPanel *) 0 ;
3975 void *argp1 = 0 ;
3976 int res1 = 0 ;
3977 PyObject *swig_obj[1] ;
3978
3979 if (!args) SWIG_fail;
3980 swig_obj[0] = args;
3981 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3982 if (!SWIG_IsOK(res1)) {
3983 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3984 }
3985 arg1 = reinterpret_cast< wxPanel * >(argp1);
3986 {
3987 PyThreadState* __tstate = wxPyBeginAllowThreads();
3988 (arg1)->SetFocusIgnoringChildren();
3989 wxPyEndAllowThreads(__tstate);
3990 if (PyErr_Occurred()) SWIG_fail;
3991 }
3992 resultobj = SWIG_Py_Void();
3993 return resultobj;
3994 fail:
3995 return NULL;
3996 }
3997
3998
3999 SWIGINTERN PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4000 PyObject *resultobj = 0;
4001 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
4002 SwigValueWrapper<wxVisualAttributes > result;
4003 int val1 ;
4004 int ecode1 = 0 ;
4005 PyObject * obj0 = 0 ;
4006 char * kwnames[] = {
4007 (char *) "variant", NULL
4008 };
4009
4010 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
4011 if (obj0) {
4012 ecode1 = SWIG_AsVal_int(obj0, &val1);
4013 if (!SWIG_IsOK(ecode1)) {
4014 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4015 }
4016 arg1 = static_cast< wxWindowVariant >(val1);
4017 }
4018 {
4019 if (!wxPyCheckForApp()) SWIG_fail;
4020 PyThreadState* __tstate = wxPyBeginAllowThreads();
4021 result = wxPanel::GetClassDefaultAttributes(arg1);
4022 wxPyEndAllowThreads(__tstate);
4023 if (PyErr_Occurred()) SWIG_fail;
4024 }
4025 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
4026 return resultobj;
4027 fail:
4028 return NULL;
4029 }
4030
4031
4032 SWIGINTERN PyObject *Panel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4033 PyObject *obj;
4034 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4035 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel, SWIG_NewClientData(obj));
4036 return SWIG_Py_Void();
4037 }
4038
4039 SWIGINTERN PyObject *Panel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4040 return SWIG_Python_InitShadowInstance(args);
4041 }
4042
4043 SWIGINTERN PyObject *_wrap_new_ScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4044 PyObject *resultobj = 0;
4045 wxWindow *arg1 = (wxWindow *) 0 ;
4046 int arg2 = (int) (int)-1 ;
4047 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4048 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4049 wxSize const &arg4_defvalue = wxDefaultSize ;
4050 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4051 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
4052 wxString const &arg6_defvalue = wxPyPanelNameStr ;
4053 wxString *arg6 = (wxString *) &arg6_defvalue ;
4054 wxScrolledWindow *result = 0 ;
4055 void *argp1 = 0 ;
4056 int res1 = 0 ;
4057 int val2 ;
4058 int ecode2 = 0 ;
4059 wxPoint temp3 ;
4060 wxSize temp4 ;
4061 long val5 ;
4062 int ecode5 = 0 ;
4063 bool temp6 = false ;
4064 PyObject * obj0 = 0 ;
4065 PyObject * obj1 = 0 ;
4066 PyObject * obj2 = 0 ;
4067 PyObject * obj3 = 0 ;
4068 PyObject * obj4 = 0 ;
4069 PyObject * obj5 = 0 ;
4070 char * kwnames[] = {
4071 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4072 };
4073
4074 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
4075 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4076 if (!SWIG_IsOK(res1)) {
4077 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4078 }
4079 arg1 = reinterpret_cast< wxWindow * >(argp1);
4080 if (obj1) {
4081 ecode2 = SWIG_AsVal_int(obj1, &val2);
4082 if (!SWIG_IsOK(ecode2)) {
4083 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4084 }
4085 arg2 = static_cast< int >(val2);
4086 }
4087 if (obj2) {
4088 {
4089 arg3 = &temp3;
4090 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4091 }
4092 }
4093 if (obj3) {
4094 {
4095 arg4 = &temp4;
4096 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4097 }
4098 }
4099 if (obj4) {
4100 ecode5 = SWIG_AsVal_long(obj4, &val5);
4101 if (!SWIG_IsOK(ecode5)) {
4102 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4103 }
4104 arg5 = static_cast< long >(val5);
4105 }
4106 if (obj5) {
4107 {
4108 arg6 = wxString_in_helper(obj5);
4109 if (arg6 == NULL) SWIG_fail;
4110 temp6 = true;
4111 }
4112 }
4113 {
4114 if (!wxPyCheckForApp()) SWIG_fail;
4115 PyThreadState* __tstate = wxPyBeginAllowThreads();
4116 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4117 wxPyEndAllowThreads(__tstate);
4118 if (PyErr_Occurred()) SWIG_fail;
4119 }
4120 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_NEW | 0 );
4121 {
4122 if (temp6)
4123 delete arg6;
4124 }
4125 return resultobj;
4126 fail:
4127 {
4128 if (temp6)
4129 delete arg6;
4130 }
4131 return NULL;
4132 }
4133
4134
4135 SWIGINTERN PyObject *_wrap_new_PreScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4136 PyObject *resultobj = 0;
4137 wxScrolledWindow *result = 0 ;
4138
4139 if (!SWIG_Python_UnpackTuple(args,"new_PreScrolledWindow",0,0,0)) SWIG_fail;
4140 {
4141 if (!wxPyCheckForApp()) SWIG_fail;
4142 PyThreadState* __tstate = wxPyBeginAllowThreads();
4143 result = (wxScrolledWindow *)new wxScrolledWindow();
4144 wxPyEndAllowThreads(__tstate);
4145 if (PyErr_Occurred()) SWIG_fail;
4146 }
4147 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_OWN | 0 );
4148 return resultobj;
4149 fail:
4150 return NULL;
4151 }
4152
4153
4154 SWIGINTERN PyObject *_wrap_ScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4155 PyObject *resultobj = 0;
4156 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4157 wxWindow *arg2 = (wxWindow *) 0 ;
4158 int arg3 = (int) (int)-1 ;
4159 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4160 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4161 wxSize const &arg5_defvalue = wxDefaultSize ;
4162 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4163 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
4164 wxString const &arg7_defvalue = wxPyPanelNameStr ;
4165 wxString *arg7 = (wxString *) &arg7_defvalue ;
4166 bool result;
4167 void *argp1 = 0 ;
4168 int res1 = 0 ;
4169 void *argp2 = 0 ;
4170 int res2 = 0 ;
4171 int val3 ;
4172 int ecode3 = 0 ;
4173 wxPoint temp4 ;
4174 wxSize temp5 ;
4175 long val6 ;
4176 int ecode6 = 0 ;
4177 bool temp7 = false ;
4178 PyObject * obj0 = 0 ;
4179 PyObject * obj1 = 0 ;
4180 PyObject * obj2 = 0 ;
4181 PyObject * obj3 = 0 ;
4182 PyObject * obj4 = 0 ;
4183 PyObject * obj5 = 0 ;
4184 PyObject * obj6 = 0 ;
4185 char * kwnames[] = {
4186 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4187 };
4188
4189 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
4190 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4191 if (!SWIG_IsOK(res1)) {
4192 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4193 }
4194 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4195 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4196 if (!SWIG_IsOK(res2)) {
4197 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4198 }
4199 arg2 = reinterpret_cast< wxWindow * >(argp2);
4200 if (obj2) {
4201 ecode3 = SWIG_AsVal_int(obj2, &val3);
4202 if (!SWIG_IsOK(ecode3)) {
4203 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4204 }
4205 arg3 = static_cast< int >(val3);
4206 }
4207 if (obj3) {
4208 {
4209 arg4 = &temp4;
4210 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4211 }
4212 }
4213 if (obj4) {
4214 {
4215 arg5 = &temp5;
4216 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4217 }
4218 }
4219 if (obj5) {
4220 ecode6 = SWIG_AsVal_long(obj5, &val6);
4221 if (!SWIG_IsOK(ecode6)) {
4222 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4223 }
4224 arg6 = static_cast< long >(val6);
4225 }
4226 if (obj6) {
4227 {
4228 arg7 = wxString_in_helper(obj6);
4229 if (arg7 == NULL) SWIG_fail;
4230 temp7 = true;
4231 }
4232 }
4233 {
4234 PyThreadState* __tstate = wxPyBeginAllowThreads();
4235 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4236 wxPyEndAllowThreads(__tstate);
4237 if (PyErr_Occurred()) SWIG_fail;
4238 }
4239 {
4240 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4241 }
4242 {
4243 if (temp7)
4244 delete arg7;
4245 }
4246 return resultobj;
4247 fail:
4248 {
4249 if (temp7)
4250 delete arg7;
4251 }
4252 return NULL;
4253 }
4254
4255
4256 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4257 PyObject *resultobj = 0;
4258 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4259 int arg2 ;
4260 int arg3 ;
4261 int arg4 ;
4262 int arg5 ;
4263 int arg6 = (int) 0 ;
4264 int arg7 = (int) 0 ;
4265 bool arg8 = (bool) false ;
4266 void *argp1 = 0 ;
4267 int res1 = 0 ;
4268 int val2 ;
4269 int ecode2 = 0 ;
4270 int val3 ;
4271 int ecode3 = 0 ;
4272 int val4 ;
4273 int ecode4 = 0 ;
4274 int val5 ;
4275 int ecode5 = 0 ;
4276 int val6 ;
4277 int ecode6 = 0 ;
4278 int val7 ;
4279 int ecode7 = 0 ;
4280 bool val8 ;
4281 int ecode8 = 0 ;
4282 PyObject * obj0 = 0 ;
4283 PyObject * obj1 = 0 ;
4284 PyObject * obj2 = 0 ;
4285 PyObject * obj3 = 0 ;
4286 PyObject * obj4 = 0 ;
4287 PyObject * obj5 = 0 ;
4288 PyObject * obj6 = 0 ;
4289 PyObject * obj7 = 0 ;
4290 char * kwnames[] = {
4291 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4292 };
4293
4294 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
4295 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4296 if (!SWIG_IsOK(res1)) {
4297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4298 }
4299 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4300 ecode2 = SWIG_AsVal_int(obj1, &val2);
4301 if (!SWIG_IsOK(ecode2)) {
4302 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4303 }
4304 arg2 = static_cast< int >(val2);
4305 ecode3 = SWIG_AsVal_int(obj2, &val3);
4306 if (!SWIG_IsOK(ecode3)) {
4307 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4308 }
4309 arg3 = static_cast< int >(val3);
4310 ecode4 = SWIG_AsVal_int(obj3, &val4);
4311 if (!SWIG_IsOK(ecode4)) {
4312 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4313 }
4314 arg4 = static_cast< int >(val4);
4315 ecode5 = SWIG_AsVal_int(obj4, &val5);
4316 if (!SWIG_IsOK(ecode5)) {
4317 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4318 }
4319 arg5 = static_cast< int >(val5);
4320 if (obj5) {
4321 ecode6 = SWIG_AsVal_int(obj5, &val6);
4322 if (!SWIG_IsOK(ecode6)) {
4323 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4324 }
4325 arg6 = static_cast< int >(val6);
4326 }
4327 if (obj6) {
4328 ecode7 = SWIG_AsVal_int(obj6, &val7);
4329 if (!SWIG_IsOK(ecode7)) {
4330 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4331 }
4332 arg7 = static_cast< int >(val7);
4333 }
4334 if (obj7) {
4335 ecode8 = SWIG_AsVal_bool(obj7, &val8);
4336 if (!SWIG_IsOK(ecode8)) {
4337 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4338 }
4339 arg8 = static_cast< bool >(val8);
4340 }
4341 {
4342 PyThreadState* __tstate = wxPyBeginAllowThreads();
4343 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
4344 wxPyEndAllowThreads(__tstate);
4345 if (PyErr_Occurred()) SWIG_fail;
4346 }
4347 resultobj = SWIG_Py_Void();
4348 return resultobj;
4349 fail:
4350 return NULL;
4351 }
4352
4353
4354 SWIGINTERN PyObject *_wrap_ScrolledWindow_Scroll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4355 PyObject *resultobj = 0;
4356 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4357 int arg2 ;
4358 int arg3 ;
4359 void *argp1 = 0 ;
4360 int res1 = 0 ;
4361 int val2 ;
4362 int ecode2 = 0 ;
4363 int val3 ;
4364 int ecode3 = 0 ;
4365 PyObject * obj0 = 0 ;
4366 PyObject * obj1 = 0 ;
4367 PyObject * obj2 = 0 ;
4368 char * kwnames[] = {
4369 (char *) "self",(char *) "x",(char *) "y", NULL
4370 };
4371
4372 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4373 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4374 if (!SWIG_IsOK(res1)) {
4375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4376 }
4377 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4378 ecode2 = SWIG_AsVal_int(obj1, &val2);
4379 if (!SWIG_IsOK(ecode2)) {
4380 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4381 }
4382 arg2 = static_cast< int >(val2);
4383 ecode3 = SWIG_AsVal_int(obj2, &val3);
4384 if (!SWIG_IsOK(ecode3)) {
4385 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4386 }
4387 arg3 = static_cast< int >(val3);
4388 {
4389 PyThreadState* __tstate = wxPyBeginAllowThreads();
4390 (arg1)->Scroll(arg2,arg3);
4391 wxPyEndAllowThreads(__tstate);
4392 if (PyErr_Occurred()) SWIG_fail;
4393 }
4394 resultobj = SWIG_Py_Void();
4395 return resultobj;
4396 fail:
4397 return NULL;
4398 }
4399
4400
4401 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4402 PyObject *resultobj = 0;
4403 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4404 int arg2 ;
4405 int result;
4406 void *argp1 = 0 ;
4407 int res1 = 0 ;
4408 int val2 ;
4409 int ecode2 = 0 ;
4410 PyObject * obj0 = 0 ;
4411 PyObject * obj1 = 0 ;
4412 char * kwnames[] = {
4413 (char *) "self",(char *) "orient", NULL
4414 };
4415
4416 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
4417 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4418 if (!SWIG_IsOK(res1)) {
4419 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4420 }
4421 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4422 ecode2 = SWIG_AsVal_int(obj1, &val2);
4423 if (!SWIG_IsOK(ecode2)) {
4424 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4425 }
4426 arg2 = static_cast< int >(val2);
4427 {
4428 PyThreadState* __tstate = wxPyBeginAllowThreads();
4429 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
4430 wxPyEndAllowThreads(__tstate);
4431 if (PyErr_Occurred()) SWIG_fail;
4432 }
4433 resultobj = SWIG_From_int(static_cast< int >(result));
4434 return resultobj;
4435 fail:
4436 return NULL;
4437 }
4438
4439
4440 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4441 PyObject *resultobj = 0;
4442 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4443 int arg2 ;
4444 int arg3 ;
4445 void *argp1 = 0 ;
4446 int res1 = 0 ;
4447 int val2 ;
4448 int ecode2 = 0 ;
4449 int val3 ;
4450 int ecode3 = 0 ;
4451 PyObject * obj0 = 0 ;
4452 PyObject * obj1 = 0 ;
4453 PyObject * obj2 = 0 ;
4454 char * kwnames[] = {
4455 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4456 };
4457
4458 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4459 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4460 if (!SWIG_IsOK(res1)) {
4461 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4462 }
4463 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4464 ecode2 = SWIG_AsVal_int(obj1, &val2);
4465 if (!SWIG_IsOK(ecode2)) {
4466 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4467 }
4468 arg2 = static_cast< int >(val2);
4469 ecode3 = SWIG_AsVal_int(obj2, &val3);
4470 if (!SWIG_IsOK(ecode3)) {
4471 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4472 }
4473 arg3 = static_cast< int >(val3);
4474 {
4475 PyThreadState* __tstate = wxPyBeginAllowThreads();
4476 (arg1)->SetScrollPageSize(arg2,arg3);
4477 wxPyEndAllowThreads(__tstate);
4478 if (PyErr_Occurred()) SWIG_fail;
4479 }
4480 resultobj = SWIG_Py_Void();
4481 return resultobj;
4482 fail:
4483 return NULL;
4484 }
4485
4486
4487 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4488 PyObject *resultobj = 0;
4489 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4490 int arg2 ;
4491 int arg3 ;
4492 void *argp1 = 0 ;
4493 int res1 = 0 ;
4494 int val2 ;
4495 int ecode2 = 0 ;
4496 int val3 ;
4497 int ecode3 = 0 ;
4498 PyObject * obj0 = 0 ;
4499 PyObject * obj1 = 0 ;
4500 PyObject * obj2 = 0 ;
4501 char * kwnames[] = {
4502 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4503 };
4504
4505 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4506 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4507 if (!SWIG_IsOK(res1)) {
4508 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4509 }
4510 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4511 ecode2 = SWIG_AsVal_int(obj1, &val2);
4512 if (!SWIG_IsOK(ecode2)) {
4513 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4514 }
4515 arg2 = static_cast< int >(val2);
4516 ecode3 = SWIG_AsVal_int(obj2, &val3);
4517 if (!SWIG_IsOK(ecode3)) {
4518 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4519 }
4520 arg3 = static_cast< int >(val3);
4521 {
4522 PyThreadState* __tstate = wxPyBeginAllowThreads();
4523 (arg1)->SetScrollRate(arg2,arg3);
4524 wxPyEndAllowThreads(__tstate);
4525 if (PyErr_Occurred()) SWIG_fail;
4526 }
4527 resultobj = SWIG_Py_Void();
4528 return resultobj;
4529 fail:
4530 return NULL;
4531 }
4532
4533
4534 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4535 PyObject *resultobj = 0;
4536 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4537 int *arg2 = (int *) 0 ;
4538 int *arg3 = (int *) 0 ;
4539 void *argp1 = 0 ;
4540 int res1 = 0 ;
4541 int temp2 ;
4542 int res2 = SWIG_TMPOBJ ;
4543 int temp3 ;
4544 int res3 = SWIG_TMPOBJ ;
4545 PyObject *swig_obj[1] ;
4546
4547 arg2 = &temp2;
4548 arg3 = &temp3;
4549 if (!args) SWIG_fail;
4550 swig_obj[0] = args;
4551 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4552 if (!SWIG_IsOK(res1)) {
4553 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4554 }
4555 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4556 {
4557 PyThreadState* __tstate = wxPyBeginAllowThreads();
4558 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
4559 wxPyEndAllowThreads(__tstate);
4560 if (PyErr_Occurred()) SWIG_fail;
4561 }
4562 resultobj = SWIG_Py_Void();
4563 if (SWIG_IsTmpObj(res2)) {
4564 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4565 } else {
4566 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4567 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4568 }
4569 if (SWIG_IsTmpObj(res3)) {
4570 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4571 } else {
4572 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4573 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4574 }
4575 return resultobj;
4576 fail:
4577 return NULL;
4578 }
4579
4580
4581 SWIGINTERN PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4582 PyObject *resultobj = 0;
4583 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4584 bool arg2 ;
4585 bool arg3 ;
4586 void *argp1 = 0 ;
4587 int res1 = 0 ;
4588 bool val2 ;
4589 int ecode2 = 0 ;
4590 bool val3 ;
4591 int ecode3 = 0 ;
4592 PyObject * obj0 = 0 ;
4593 PyObject * obj1 = 0 ;
4594 PyObject * obj2 = 0 ;
4595 char * kwnames[] = {
4596 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4597 };
4598
4599 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4600 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4601 if (!SWIG_IsOK(res1)) {
4602 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4603 }
4604 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4605 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4606 if (!SWIG_IsOK(ecode2)) {
4607 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4608 }
4609 arg2 = static_cast< bool >(val2);
4610 ecode3 = SWIG_AsVal_bool(obj2, &val3);
4611 if (!SWIG_IsOK(ecode3)) {
4612 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4613 }
4614 arg3 = static_cast< bool >(val3);
4615 {
4616 PyThreadState* __tstate = wxPyBeginAllowThreads();
4617 (arg1)->EnableScrolling(arg2,arg3);
4618 wxPyEndAllowThreads(__tstate);
4619 if (PyErr_Occurred()) SWIG_fail;
4620 }
4621 resultobj = SWIG_Py_Void();
4622 return resultobj;
4623 fail:
4624 return NULL;
4625 }
4626
4627
4628 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4629 PyObject *resultobj = 0;
4630 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4631 int *arg2 = (int *) 0 ;
4632 int *arg3 = (int *) 0 ;
4633 void *argp1 = 0 ;
4634 int res1 = 0 ;
4635 int temp2 ;
4636 int res2 = SWIG_TMPOBJ ;
4637 int temp3 ;
4638 int res3 = SWIG_TMPOBJ ;
4639 PyObject *swig_obj[1] ;
4640
4641 arg2 = &temp2;
4642 arg3 = &temp3;
4643 if (!args) SWIG_fail;
4644 swig_obj[0] = args;
4645 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4646 if (!SWIG_IsOK(res1)) {
4647 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4648 }
4649 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4650 {
4651 PyThreadState* __tstate = wxPyBeginAllowThreads();
4652 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
4653 wxPyEndAllowThreads(__tstate);
4654 if (PyErr_Occurred()) SWIG_fail;
4655 }
4656 resultobj = SWIG_Py_Void();
4657 if (SWIG_IsTmpObj(res2)) {
4658 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4659 } else {
4660 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4661 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4662 }
4663 if (SWIG_IsTmpObj(res3)) {
4664 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4665 } else {
4666 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4667 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4668 }
4669 return resultobj;
4670 fail:
4671 return NULL;
4672 }
4673
4674
4675 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4676 PyObject *resultobj = 0;
4677 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4678 double arg2 ;
4679 double arg3 ;
4680 void *argp1 = 0 ;
4681 int res1 = 0 ;
4682 double val2 ;
4683 int ecode2 = 0 ;
4684 double val3 ;
4685 int ecode3 = 0 ;
4686 PyObject * obj0 = 0 ;
4687 PyObject * obj1 = 0 ;
4688 PyObject * obj2 = 0 ;
4689 char * kwnames[] = {
4690 (char *) "self",(char *) "xs",(char *) "ys", NULL
4691 };
4692
4693 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4694 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4695 if (!SWIG_IsOK(res1)) {
4696 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4697 }
4698 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4699 ecode2 = SWIG_AsVal_double(obj1, &val2);
4700 if (!SWIG_IsOK(ecode2)) {
4701 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4702 }
4703 arg2 = static_cast< double >(val2);
4704 ecode3 = SWIG_AsVal_double(obj2, &val3);
4705 if (!SWIG_IsOK(ecode3)) {
4706 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4707 }
4708 arg3 = static_cast< double >(val3);
4709 {
4710 PyThreadState* __tstate = wxPyBeginAllowThreads();
4711 (arg1)->SetScale(arg2,arg3);
4712 wxPyEndAllowThreads(__tstate);
4713 if (PyErr_Occurred()) SWIG_fail;
4714 }
4715 resultobj = SWIG_Py_Void();
4716 return resultobj;
4717 fail:
4718 return NULL;
4719 }
4720
4721
4722 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4723 PyObject *resultobj = 0;
4724 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4725 double result;
4726 void *argp1 = 0 ;
4727 int res1 = 0 ;
4728 PyObject *swig_obj[1] ;
4729
4730 if (!args) SWIG_fail;
4731 swig_obj[0] = args;
4732 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4733 if (!SWIG_IsOK(res1)) {
4734 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4735 }
4736 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4737 {
4738 PyThreadState* __tstate = wxPyBeginAllowThreads();
4739 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
4740 wxPyEndAllowThreads(__tstate);
4741 if (PyErr_Occurred()) SWIG_fail;
4742 }
4743 resultobj = SWIG_From_double(static_cast< double >(result));
4744 return resultobj;
4745 fail:
4746 return NULL;
4747 }
4748
4749
4750 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4751 PyObject *resultobj = 0;
4752 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4753 double result;
4754 void *argp1 = 0 ;
4755 int res1 = 0 ;
4756 PyObject *swig_obj[1] ;
4757
4758 if (!args) SWIG_fail;
4759 swig_obj[0] = args;
4760 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4761 if (!SWIG_IsOK(res1)) {
4762 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4763 }
4764 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4765 {
4766 PyThreadState* __tstate = wxPyBeginAllowThreads();
4767 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
4768 wxPyEndAllowThreads(__tstate);
4769 if (PyErr_Occurred()) SWIG_fail;
4770 }
4771 resultobj = SWIG_From_double(static_cast< double >(result));
4772 return resultobj;
4773 fail:
4774 return NULL;
4775 }
4776
4777
4778 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4779 PyObject *resultobj = 0;
4780 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4781 wxPoint *arg2 = 0 ;
4782 wxPoint result;
4783 void *argp1 = 0 ;
4784 int res1 = 0 ;
4785 wxPoint temp2 ;
4786
4787 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4788 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4789 if (!SWIG_IsOK(res1)) {
4790 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4791 }
4792 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4793 {
4794 arg2 = &temp2;
4795 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4796 }
4797 {
4798 PyThreadState* __tstate = wxPyBeginAllowThreads();
4799 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
4800 wxPyEndAllowThreads(__tstate);
4801 if (PyErr_Occurred()) SWIG_fail;
4802 }
4803 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4804 return resultobj;
4805 fail:
4806 return NULL;
4807 }
4808
4809
4810 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4811 PyObject *resultobj = 0;
4812 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4813 int arg2 ;
4814 int arg3 ;
4815 int *arg4 = (int *) 0 ;
4816 int *arg5 = (int *) 0 ;
4817 void *argp1 = 0 ;
4818 int res1 = 0 ;
4819 int val2 ;
4820 int ecode2 = 0 ;
4821 int val3 ;
4822 int ecode3 = 0 ;
4823 int temp4 ;
4824 int res4 = SWIG_TMPOBJ ;
4825 int temp5 ;
4826 int res5 = SWIG_TMPOBJ ;
4827
4828 arg4 = &temp4;
4829 arg5 = &temp5;
4830 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4831 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4832 if (!SWIG_IsOK(res1)) {
4833 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4834 }
4835 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4836 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4837 if (!SWIG_IsOK(ecode2)) {
4838 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4839 }
4840 arg2 = static_cast< int >(val2);
4841 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4842 if (!SWIG_IsOK(ecode3)) {
4843 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4844 }
4845 arg3 = static_cast< int >(val3);
4846 {
4847 PyThreadState* __tstate = wxPyBeginAllowThreads();
4848 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
4849 wxPyEndAllowThreads(__tstate);
4850 if (PyErr_Occurred()) SWIG_fail;
4851 }
4852 resultobj = SWIG_Py_Void();
4853 if (SWIG_IsTmpObj(res4)) {
4854 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4855 } else {
4856 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4857 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4858 }
4859 if (SWIG_IsTmpObj(res5)) {
4860 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4861 } else {
4862 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4863 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4864 }
4865 return resultobj;
4866 fail:
4867 return NULL;
4868 }
4869
4870
4871 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
4872 int argc;
4873 PyObject *argv[4];
4874
4875 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcScrolledPosition",0,3,argv))) SWIG_fail;
4876 --argc;
4877 if (argc == 2) {
4878 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self, argc, argv);
4879 }
4880 if (argc == 3) {
4881 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self, argc, argv);
4882 }
4883
4884 fail:
4885 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4886 return NULL;
4887 }
4888
4889
4890 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4891 PyObject *resultobj = 0;
4892 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4893 wxPoint *arg2 = 0 ;
4894 wxPoint result;
4895 void *argp1 = 0 ;
4896 int res1 = 0 ;
4897 wxPoint temp2 ;
4898
4899 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4900 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4901 if (!SWIG_IsOK(res1)) {
4902 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4903 }
4904 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4905 {
4906 arg2 = &temp2;
4907 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4908 }
4909 {
4910 PyThreadState* __tstate = wxPyBeginAllowThreads();
4911 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
4912 wxPyEndAllowThreads(__tstate);
4913 if (PyErr_Occurred()) SWIG_fail;
4914 }
4915 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4916 return resultobj;
4917 fail:
4918 return NULL;
4919 }
4920
4921
4922 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4923 PyObject *resultobj = 0;
4924 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4925 int arg2 ;
4926 int arg3 ;
4927 int *arg4 = (int *) 0 ;
4928 int *arg5 = (int *) 0 ;
4929 void *argp1 = 0 ;
4930 int res1 = 0 ;
4931 int val2 ;
4932 int ecode2 = 0 ;
4933 int val3 ;
4934 int ecode3 = 0 ;
4935 int temp4 ;
4936 int res4 = SWIG_TMPOBJ ;
4937 int temp5 ;
4938 int res5 = SWIG_TMPOBJ ;
4939
4940 arg4 = &temp4;
4941 arg5 = &temp5;
4942 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4943 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4944 if (!SWIG_IsOK(res1)) {
4945 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4946 }
4947 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4948 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4949 if (!SWIG_IsOK(ecode2)) {
4950 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4951 }
4952 arg2 = static_cast< int >(val2);
4953 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4954 if (!SWIG_IsOK(ecode3)) {
4955 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4956 }
4957 arg3 = static_cast< int >(val3);
4958 {
4959 PyThreadState* __tstate = wxPyBeginAllowThreads();
4960 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
4961 wxPyEndAllowThreads(__tstate);
4962 if (PyErr_Occurred()) SWIG_fail;
4963 }
4964 resultobj = SWIG_Py_Void();
4965 if (SWIG_IsTmpObj(res4)) {
4966 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4967 } else {
4968 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4969 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4970 }
4971 if (SWIG_IsTmpObj(res5)) {
4972 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4973 } else {
4974 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4975 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4976 }
4977 return resultobj;
4978 fail:
4979 return NULL;
4980 }
4981
4982
4983 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
4984 int argc;
4985 PyObject *argv[4];
4986
4987 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv))) SWIG_fail;
4988 --argc;
4989 if (argc == 2) {
4990 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self, argc, argv);
4991 }
4992 if (argc == 3) {
4993 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self, argc, argv);
4994 }
4995
4996 fail:
4997 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4998 return NULL;
4999 }
5000
5001
5002 SWIGINTERN PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5003 PyObject *resultobj = 0;
5004 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5005 void *argp1 = 0 ;
5006 int res1 = 0 ;
5007 PyObject *swig_obj[1] ;
5008
5009 if (!args) SWIG_fail;
5010 swig_obj[0] = args;
5011 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5012 if (!SWIG_IsOK(res1)) {
5013 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5014 }
5015 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5016 {
5017 PyThreadState* __tstate = wxPyBeginAllowThreads();
5018 (arg1)->AdjustScrollbars();
5019 wxPyEndAllowThreads(__tstate);
5020 if (PyErr_Occurred()) SWIG_fail;
5021 }
5022 resultobj = SWIG_Py_Void();
5023 return resultobj;
5024 fail:
5025 return NULL;
5026 }
5027
5028
5029 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5030 PyObject *resultobj = 0;
5031 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5032 wxScrollWinEvent *arg2 = 0 ;
5033 int result;
5034 void *argp1 = 0 ;
5035 int res1 = 0 ;
5036 void *argp2 = 0 ;
5037 int res2 = 0 ;
5038 PyObject * obj0 = 0 ;
5039 PyObject * obj1 = 0 ;
5040 char * kwnames[] = {
5041 (char *) "self",(char *) "event", NULL
5042 };
5043
5044 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) SWIG_fail;
5045 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5046 if (!SWIG_IsOK(res1)) {
5047 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5048 }
5049 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5050 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxScrollWinEvent, 0 );
5051 if (!SWIG_IsOK(res2)) {
5052 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5053 }
5054 if (!argp2) {
5055 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5056 }
5057 arg2 = reinterpret_cast< wxScrollWinEvent * >(argp2);
5058 {
5059 PyThreadState* __tstate = wxPyBeginAllowThreads();
5060 result = (int)(arg1)->CalcScrollInc(*arg2);
5061 wxPyEndAllowThreads(__tstate);
5062 if (PyErr_Occurred()) SWIG_fail;
5063 }
5064 resultobj = SWIG_From_int(static_cast< int >(result));
5065 return resultobj;
5066 fail:
5067 return NULL;
5068 }
5069
5070
5071 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5072 PyObject *resultobj = 0;
5073 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5074 wxWindow *arg2 = (wxWindow *) 0 ;
5075 void *argp1 = 0 ;
5076 int res1 = 0 ;
5077 void *argp2 = 0 ;
5078 int res2 = 0 ;
5079 PyObject * obj0 = 0 ;
5080 PyObject * obj1 = 0 ;
5081 char * kwnames[] = {
5082 (char *) "self",(char *) "target", NULL
5083 };
5084
5085 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) SWIG_fail;
5086 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5087 if (!SWIG_IsOK(res1)) {
5088 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5089 }
5090 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5091 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5092 if (!SWIG_IsOK(res2)) {
5093 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5094 }
5095 arg2 = reinterpret_cast< wxWindow * >(argp2);
5096 {
5097 PyThreadState* __tstate = wxPyBeginAllowThreads();
5098 (arg1)->SetTargetWindow(arg2);
5099 wxPyEndAllowThreads(__tstate);
5100 if (PyErr_Occurred()) SWIG_fail;
5101 }
5102 resultobj = SWIG_Py_Void();
5103 return resultobj;
5104 fail:
5105 return NULL;
5106 }
5107
5108
5109 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5110 PyObject *resultobj = 0;
5111 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5112 wxWindow *result = 0 ;
5113 void *argp1 = 0 ;
5114 int res1 = 0 ;
5115 PyObject *swig_obj[1] ;
5116
5117 if (!args) SWIG_fail;
5118 swig_obj[0] = args;
5119 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5120 if (!SWIG_IsOK(res1)) {
5121 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5122 }
5123 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5124 {
5125 PyThreadState* __tstate = wxPyBeginAllowThreads();
5126 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
5127 wxPyEndAllowThreads(__tstate);
5128 if (PyErr_Occurred()) SWIG_fail;
5129 }
5130 {
5131 resultobj = wxPyMake_wxObject(result, 0);
5132 }
5133 return resultobj;
5134 fail:
5135 return NULL;
5136 }
5137
5138
5139 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5140 PyObject *resultobj = 0;
5141 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5142 wxRect *arg2 = 0 ;
5143 void *argp1 = 0 ;
5144 int res1 = 0 ;
5145 wxRect temp2 ;
5146 PyObject * obj0 = 0 ;
5147 PyObject * obj1 = 0 ;
5148 char * kwnames[] = {
5149 (char *) "self",(char *) "rect", NULL
5150 };
5151
5152 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) SWIG_fail;
5153 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5154 if (!SWIG_IsOK(res1)) {
5155 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5156 }
5157 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5158 {
5159 arg2 = &temp2;
5160 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
5161 }
5162 {
5163 PyThreadState* __tstate = wxPyBeginAllowThreads();
5164 (arg1)->SetTargetRect((wxRect const &)*arg2);
5165 wxPyEndAllowThreads(__tstate);
5166 if (PyErr_Occurred()) SWIG_fail;
5167 }
5168 resultobj = SWIG_Py_Void();
5169 return resultobj;
5170 fail:
5171 return NULL;
5172 }
5173
5174
5175 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5176 PyObject *resultobj = 0;
5177 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5178 wxRect result;
5179 void *argp1 = 0 ;
5180 int res1 = 0 ;
5181 PyObject *swig_obj[1] ;
5182
5183 if (!args) SWIG_fail;
5184 swig_obj[0] = args;
5185 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5186 if (!SWIG_IsOK(res1)) {
5187 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5188 }
5189 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5190 {
5191 PyThreadState* __tstate = wxPyBeginAllowThreads();
5192 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
5193 wxPyEndAllowThreads(__tstate);
5194 if (PyErr_Occurred()) SWIG_fail;
5195 }
5196 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
5197 return resultobj;
5198 fail:
5199 return NULL;
5200 }
5201
5202
5203 SWIGINTERN PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5204 PyObject *resultobj = 0;
5205 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5206 wxDC *arg2 = 0 ;
5207 void *argp1 = 0 ;
5208 int res1 = 0 ;
5209 void *argp2 = 0 ;
5210 int res2 = 0 ;
5211 PyObject * obj0 = 0 ;
5212 PyObject * obj1 = 0 ;
5213 char * kwnames[] = {
5214 (char *) "self",(char *) "dc", NULL
5215 };
5216
5217 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) SWIG_fail;
5218 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5219 if (!SWIG_IsOK(res1)) {
5220 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5221 }
5222 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5223 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
5224 if (!SWIG_IsOK(res2)) {
5225 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5226 }
5227 if (!argp2) {
5228 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5229 }
5230 arg2 = reinterpret_cast< wxDC * >(argp2);
5231 {
5232 PyThreadState* __tstate = wxPyBeginAllowThreads();
5233 (arg1)->DoPrepareDC(*arg2);
5234 wxPyEndAllowThreads(__tstate);
5235 if (PyErr_Occurred()) SWIG_fail;
5236 }
5237 resultobj = SWIG_Py_Void();
5238 return resultobj;
5239 fail:
5240 return NULL;
5241 }
5242
5243
5244 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5245 PyObject *resultobj = 0;
5246 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5247 SwigValueWrapper<wxVisualAttributes > result;
5248 int val1 ;
5249 int ecode1 = 0 ;
5250 PyObject * obj0 = 0 ;
5251 char * kwnames[] = {
5252 (char *) "variant", NULL
5253 };
5254
5255 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5256 if (obj0) {
5257 ecode1 = SWIG_AsVal_int(obj0, &val1);
5258 if (!SWIG_IsOK(ecode1)) {
5259 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5260 }
5261 arg1 = static_cast< wxWindowVariant >(val1);
5262 }
5263 {
5264 if (!wxPyCheckForApp()) SWIG_fail;
5265 PyThreadState* __tstate = wxPyBeginAllowThreads();
5266 result = wxScrolledWindow::GetClassDefaultAttributes(arg1);
5267 wxPyEndAllowThreads(__tstate);
5268 if (PyErr_Occurred()) SWIG_fail;
5269 }
5270 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5271 return resultobj;
5272 fail:
5273 return NULL;
5274 }
5275
5276
5277 SWIGINTERN PyObject *ScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5278 PyObject *obj;
5279 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5280 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow, SWIG_NewClientData(obj));
5281 return SWIG_Py_Void();
5282 }
5283
5284 SWIGINTERN PyObject *ScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5285 return SWIG_Python_InitShadowInstance(args);
5286 }
5287
5288 SWIGINTERN int FrameNameStr_set(PyObject *) {
5289 SWIG_Error(SWIG_AttributeError,"Variable FrameNameStr is read-only.");
5290 return 1;
5291 }
5292
5293
5294 SWIGINTERN PyObject *FrameNameStr_get(void) {
5295 PyObject *pyobj = 0;
5296
5297 {
5298 #if wxUSE_UNICODE
5299 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5300 #else
5301 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5302 #endif
5303 }
5304 return pyobj;
5305 }
5306
5307
5308 SWIGINTERN int DialogNameStr_set(PyObject *) {
5309 SWIG_Error(SWIG_AttributeError,"Variable DialogNameStr is read-only.");
5310 return 1;
5311 }
5312
5313
5314 SWIGINTERN PyObject *DialogNameStr_get(void) {
5315 PyObject *pyobj = 0;
5316
5317 {
5318 #if wxUSE_UNICODE
5319 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5320 #else
5321 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5322 #endif
5323 }
5324 return pyobj;
5325 }
5326
5327
5328 SWIGINTERN int StatusLineNameStr_set(PyObject *) {
5329 SWIG_Error(SWIG_AttributeError,"Variable StatusLineNameStr is read-only.");
5330 return 1;
5331 }
5332
5333
5334 SWIGINTERN PyObject *StatusLineNameStr_get(void) {
5335 PyObject *pyobj = 0;
5336
5337 {
5338 #if wxUSE_UNICODE
5339 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5340 #else
5341 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5342 #endif
5343 }
5344 return pyobj;
5345 }
5346
5347
5348 SWIGINTERN int ToolBarNameStr_set(PyObject *) {
5349 SWIG_Error(SWIG_AttributeError,"Variable ToolBarNameStr is read-only.");
5350 return 1;
5351 }
5352
5353
5354 SWIGINTERN PyObject *ToolBarNameStr_get(void) {
5355 PyObject *pyobj = 0;
5356
5357 {
5358 #if wxUSE_UNICODE
5359 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5360 #else
5361 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5362 #endif
5363 }
5364 return pyobj;
5365 }
5366
5367
5368 SWIGINTERN PyObject *_wrap_TopLevelWindow_Maximize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5369 PyObject *resultobj = 0;
5370 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5371 bool arg2 = (bool) true ;
5372 void *argp1 = 0 ;
5373 int res1 = 0 ;
5374 bool val2 ;
5375 int ecode2 = 0 ;
5376 PyObject * obj0 = 0 ;
5377 PyObject * obj1 = 0 ;
5378 char * kwnames[] = {
5379 (char *) "self",(char *) "maximize", NULL
5380 };
5381
5382 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) SWIG_fail;
5383 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5384 if (!SWIG_IsOK(res1)) {
5385 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5386 }
5387 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5388 if (obj1) {
5389 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5390 if (!SWIG_IsOK(ecode2)) {
5391 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5392 }
5393 arg2 = static_cast< bool >(val2);
5394 }
5395 {
5396 PyThreadState* __tstate = wxPyBeginAllowThreads();
5397 (arg1)->Maximize(arg2);
5398 wxPyEndAllowThreads(__tstate);
5399 if (PyErr_Occurred()) SWIG_fail;
5400 }
5401 resultobj = SWIG_Py_Void();
5402 return resultobj;
5403 fail:
5404 return NULL;
5405 }
5406
5407
5408 SWIGINTERN PyObject *_wrap_TopLevelWindow_Restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5409 PyObject *resultobj = 0;
5410 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5411 void *argp1 = 0 ;
5412 int res1 = 0 ;
5413 PyObject *swig_obj[1] ;
5414
5415 if (!args) SWIG_fail;
5416 swig_obj[0] = args;
5417 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5418 if (!SWIG_IsOK(res1)) {
5419 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5420 }
5421 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5422 {
5423 PyThreadState* __tstate = wxPyBeginAllowThreads();
5424 (arg1)->Restore();
5425 wxPyEndAllowThreads(__tstate);
5426 if (PyErr_Occurred()) SWIG_fail;
5427 }
5428 resultobj = SWIG_Py_Void();
5429 return resultobj;
5430 fail:
5431 return NULL;
5432 }
5433
5434
5435 SWIGINTERN PyObject *_wrap_TopLevelWindow_Iconize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5436 PyObject *resultobj = 0;
5437 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5438 bool arg2 = (bool) true ;
5439 void *argp1 = 0 ;
5440 int res1 = 0 ;
5441 bool val2 ;
5442 int ecode2 = 0 ;
5443 PyObject * obj0 = 0 ;
5444 PyObject * obj1 = 0 ;
5445 char * kwnames[] = {
5446 (char *) "self",(char *) "iconize", NULL
5447 };
5448
5449 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) SWIG_fail;
5450 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5451 if (!SWIG_IsOK(res1)) {
5452 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5453 }
5454 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5455 if (obj1) {
5456 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5457 if (!SWIG_IsOK(ecode2)) {
5458 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5459 }
5460 arg2 = static_cast< bool >(val2);
5461 }
5462 {
5463 PyThreadState* __tstate = wxPyBeginAllowThreads();
5464 (arg1)->Iconize(arg2);
5465 wxPyEndAllowThreads(__tstate);
5466 if (PyErr_Occurred()) SWIG_fail;
5467 }
5468 resultobj = SWIG_Py_Void();
5469 return resultobj;
5470 fail:
5471 return NULL;
5472 }
5473
5474
5475 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5476 PyObject *resultobj = 0;
5477 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5478 bool result;
5479 void *argp1 = 0 ;
5480 int res1 = 0 ;
5481 PyObject *swig_obj[1] ;
5482
5483 if (!args) SWIG_fail;
5484 swig_obj[0] = args;
5485 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5486 if (!SWIG_IsOK(res1)) {
5487 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5488 }
5489 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5490 {
5491 PyThreadState* __tstate = wxPyBeginAllowThreads();
5492 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
5493 wxPyEndAllowThreads(__tstate);
5494 if (PyErr_Occurred()) SWIG_fail;
5495 }
5496 {
5497 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5498 }
5499 return resultobj;
5500 fail:
5501 return NULL;
5502 }
5503
5504
5505 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5506 PyObject *resultobj = 0;
5507 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5508 bool result;
5509 void *argp1 = 0 ;
5510 int res1 = 0 ;
5511 PyObject *swig_obj[1] ;
5512
5513 if (!args) SWIG_fail;
5514 swig_obj[0] = args;
5515 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5516 if (!SWIG_IsOK(res1)) {
5517 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5518 }
5519 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5520 {
5521 PyThreadState* __tstate = wxPyBeginAllowThreads();
5522 result = (bool)((wxTopLevelWindow const *)arg1)->IsAlwaysMaximized();
5523 wxPyEndAllowThreads(__tstate);
5524 if (PyErr_Occurred()) SWIG_fail;
5525 }
5526 {
5527 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5528 }
5529 return resultobj;
5530 fail:
5531 return NULL;
5532 }
5533
5534
5535 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5536 PyObject *resultobj = 0;
5537 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5538 bool result;
5539 void *argp1 = 0 ;
5540 int res1 = 0 ;
5541 PyObject *swig_obj[1] ;
5542
5543 if (!args) SWIG_fail;
5544 swig_obj[0] = args;
5545 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5546 if (!SWIG_IsOK(res1)) {
5547 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5548 }
5549 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5550 {
5551 PyThreadState* __tstate = wxPyBeginAllowThreads();
5552 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
5553 wxPyEndAllowThreads(__tstate);
5554 if (PyErr_Occurred()) SWIG_fail;
5555 }
5556 {
5557 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5558 }
5559 return resultobj;
5560 fail:
5561 return NULL;
5562 }
5563
5564
5565 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5566 PyObject *resultobj = 0;
5567 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5568 wxIcon result;
5569 void *argp1 = 0 ;
5570 int res1 = 0 ;
5571 PyObject *swig_obj[1] ;
5572
5573 if (!args) SWIG_fail;
5574 swig_obj[0] = args;
5575 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5576 if (!SWIG_IsOK(res1)) {
5577 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5578 }
5579 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5580 {
5581 PyThreadState* __tstate = wxPyBeginAllowThreads();
5582 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
5583 wxPyEndAllowThreads(__tstate);
5584 if (PyErr_Occurred()) SWIG_fail;
5585 }
5586 resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN | 0 );
5587 return resultobj;
5588 fail:
5589 return NULL;
5590 }
5591
5592
5593 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5594 PyObject *resultobj = 0;
5595 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5596 wxIcon *arg2 = 0 ;
5597 void *argp1 = 0 ;
5598 int res1 = 0 ;
5599 void *argp2 = 0 ;
5600 int res2 = 0 ;
5601 PyObject * obj0 = 0 ;
5602 PyObject * obj1 = 0 ;
5603 char * kwnames[] = {
5604 (char *) "self",(char *) "icon", NULL
5605 };
5606
5607 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
5608 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5609 if (!SWIG_IsOK(res1)) {
5610 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5611 }
5612 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5613 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
5614 if (!SWIG_IsOK(res2)) {
5615 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5616 }
5617 if (!argp2) {
5618 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5619 }
5620 arg2 = reinterpret_cast< wxIcon * >(argp2);
5621 {
5622 PyThreadState* __tstate = wxPyBeginAllowThreads();
5623 (arg1)->SetIcon((wxIcon const &)*arg2);
5624 wxPyEndAllowThreads(__tstate);
5625 if (PyErr_Occurred()) SWIG_fail;
5626 }
5627 resultobj = SWIG_Py_Void();
5628 return resultobj;
5629 fail:
5630 return NULL;
5631 }
5632
5633
5634 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5635 PyObject *resultobj = 0;
5636 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5637 wxIconBundle *arg2 = 0 ;
5638 void *argp1 = 0 ;
5639 int res1 = 0 ;
5640 void *argp2 = 0 ;
5641 int res2 = 0 ;
5642 PyObject * obj0 = 0 ;
5643 PyObject * obj1 = 0 ;
5644 char * kwnames[] = {
5645 (char *) "self",(char *) "icons", NULL
5646 };
5647
5648 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) SWIG_fail;
5649 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5650 if (!SWIG_IsOK(res1)) {
5651 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5652 }
5653 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5654 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIconBundle, 0 | 0);
5655 if (!SWIG_IsOK(res2)) {
5656 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5657 }
5658 if (!argp2) {
5659 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5660 }
5661 arg2 = reinterpret_cast< wxIconBundle * >(argp2);
5662 {
5663 PyThreadState* __tstate = wxPyBeginAllowThreads();
5664 (arg1)->SetIcons((wxIconBundle const &)*arg2);
5665 wxPyEndAllowThreads(__tstate);
5666 if (PyErr_Occurred()) SWIG_fail;
5667 }
5668 resultobj = SWIG_Py_Void();
5669 return resultobj;
5670 fail:
5671 return NULL;
5672 }
5673
5674
5675 SWIGINTERN PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5676 PyObject *resultobj = 0;
5677 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5678 bool arg2 ;
5679 long arg3 = (long) wxFULLSCREEN_ALL ;
5680 bool result;
5681 void *argp1 = 0 ;
5682 int res1 = 0 ;
5683 bool val2 ;
5684 int ecode2 = 0 ;
5685 long val3 ;
5686 int ecode3 = 0 ;
5687 PyObject * obj0 = 0 ;
5688 PyObject * obj1 = 0 ;
5689 PyObject * obj2 = 0 ;
5690 char * kwnames[] = {
5691 (char *) "self",(char *) "show",(char *) "style", NULL
5692 };
5693
5694 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5695 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5696 if (!SWIG_IsOK(res1)) {
5697 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5698 }
5699 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5700 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5701 if (!SWIG_IsOK(ecode2)) {
5702 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5703 }
5704 arg2 = static_cast< bool >(val2);
5705 if (obj2) {
5706 ecode3 = SWIG_AsVal_long(obj2, &val3);
5707 if (!SWIG_IsOK(ecode3)) {
5708 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5709 }
5710 arg3 = static_cast< long >(val3);
5711 }
5712 {
5713 PyThreadState* __tstate = wxPyBeginAllowThreads();
5714 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
5715 wxPyEndAllowThreads(__tstate);
5716 if (PyErr_Occurred()) SWIG_fail;
5717 }
5718 {
5719 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5720 }
5721 return resultobj;
5722 fail:
5723 return NULL;
5724 }
5725
5726
5727 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5728 PyObject *resultobj = 0;
5729 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5730 bool result;
5731 void *argp1 = 0 ;
5732 int res1 = 0 ;
5733 PyObject *swig_obj[1] ;
5734
5735 if (!args) SWIG_fail;
5736 swig_obj[0] = args;
5737 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5738 if (!SWIG_IsOK(res1)) {
5739 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5740 }
5741 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5742 {
5743 PyThreadState* __tstate = wxPyBeginAllowThreads();
5744 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
5745 wxPyEndAllowThreads(__tstate);
5746 if (PyErr_Occurred()) SWIG_fail;
5747 }
5748 {
5749 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5750 }
5751 return resultobj;
5752 fail:
5753 return NULL;
5754 }
5755
5756
5757 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5758 PyObject *resultobj = 0;
5759 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5760 wxString *arg2 = 0 ;
5761 void *argp1 = 0 ;
5762 int res1 = 0 ;
5763 bool temp2 = false ;
5764 PyObject * obj0 = 0 ;
5765 PyObject * obj1 = 0 ;
5766 char * kwnames[] = {
5767 (char *) "self",(char *) "title", NULL
5768 };
5769
5770 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) SWIG_fail;
5771 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5772 if (!SWIG_IsOK(res1)) {
5773 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5774 }
5775 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5776 {
5777 arg2 = wxString_in_helper(obj1);
5778 if (arg2 == NULL) SWIG_fail;
5779 temp2 = true;
5780 }
5781 {
5782 PyThreadState* __tstate = wxPyBeginAllowThreads();
5783 (arg1)->SetTitle((wxString const &)*arg2);
5784 wxPyEndAllowThreads(__tstate);
5785 if (PyErr_Occurred()) SWIG_fail;
5786 }
5787 resultobj = SWIG_Py_Void();
5788 {
5789 if (temp2)
5790 delete arg2;
5791 }
5792 return resultobj;
5793 fail:
5794 {
5795 if (temp2)
5796 delete arg2;
5797 }
5798 return NULL;
5799 }
5800
5801
5802 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5803 PyObject *resultobj = 0;
5804 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5805 wxString result;
5806 void *argp1 = 0 ;
5807 int res1 = 0 ;
5808 PyObject *swig_obj[1] ;
5809
5810 if (!args) SWIG_fail;
5811 swig_obj[0] = args;
5812 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5813 if (!SWIG_IsOK(res1)) {
5814 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5815 }
5816 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5817 {
5818 PyThreadState* __tstate = wxPyBeginAllowThreads();
5819 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
5820 wxPyEndAllowThreads(__tstate);
5821 if (PyErr_Occurred()) SWIG_fail;
5822 }
5823 {
5824 #if wxUSE_UNICODE
5825 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5826 #else
5827 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5828 #endif
5829 }
5830 return resultobj;
5831 fail:
5832 return NULL;
5833 }
5834
5835
5836 SWIGINTERN PyObject *_wrap_TopLevelWindow_EnableCloseButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5837 PyObject *resultobj = 0;
5838 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5839 bool arg2 ;
5840 bool result;
5841 void *argp1 = 0 ;
5842 int res1 = 0 ;
5843 bool val2 ;
5844 int ecode2 = 0 ;
5845 PyObject * obj0 = 0 ;
5846 PyObject * obj1 = 0 ;
5847 char * kwnames[] = {
5848 (char *) "self",(char *) "enable", NULL
5849 };
5850
5851 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_EnableCloseButton",kwnames,&obj0,&obj1)) SWIG_fail;
5852 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5853 if (!SWIG_IsOK(res1)) {
5854 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5855 }
5856 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5857 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5858 if (!SWIG_IsOK(ecode2)) {
5859 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "2"" of type '" "bool""'");
5860 }
5861 arg2 = static_cast< bool >(val2);
5862 {
5863 PyThreadState* __tstate = wxPyBeginAllowThreads();
5864 result = (bool)(arg1)->EnableCloseButton(arg2);
5865 wxPyEndAllowThreads(__tstate);
5866 if (PyErr_Occurred()) SWIG_fail;
5867 }
5868 {
5869 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5870 }
5871 return resultobj;
5872 fail:
5873 return NULL;
5874 }
5875
5876
5877 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetShape(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5878 PyObject *resultobj = 0;
5879 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5880 wxRegion *arg2 = 0 ;
5881 bool result;
5882 void *argp1 = 0 ;
5883 int res1 = 0 ;
5884 void *argp2 = 0 ;
5885 int res2 = 0 ;
5886 PyObject * obj0 = 0 ;
5887 PyObject * obj1 = 0 ;
5888 char * kwnames[] = {
5889 (char *) "self",(char *) "region", NULL
5890 };
5891
5892 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) SWIG_fail;
5893 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5894 if (!SWIG_IsOK(res1)) {
5895 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5896 }
5897 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5898 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRegion, 0 | 0);
5899 if (!SWIG_IsOK(res2)) {
5900 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5901 }
5902 if (!argp2) {
5903 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5904 }
5905 arg2 = reinterpret_cast< wxRegion * >(argp2);
5906 {
5907 PyThreadState* __tstate = wxPyBeginAllowThreads();
5908 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
5909 wxPyEndAllowThreads(__tstate);
5910 if (PyErr_Occurred()) SWIG_fail;
5911 }
5912 {
5913 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5914 }
5915 return resultobj;
5916 fail:
5917 return NULL;
5918 }
5919
5920
5921 SWIGINTERN PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5922 PyObject *resultobj = 0;
5923 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5924 int arg2 = (int) wxUSER_ATTENTION_INFO ;
5925 void *argp1 = 0 ;
5926 int res1 = 0 ;
5927 int val2 ;
5928 int ecode2 = 0 ;
5929 PyObject * obj0 = 0 ;
5930 PyObject * obj1 = 0 ;
5931 char * kwnames[] = {
5932 (char *) "self",(char *) "flags", NULL
5933 };
5934
5935 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) SWIG_fail;
5936 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5937 if (!SWIG_IsOK(res1)) {
5938 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5939 }
5940 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5941 if (obj1) {
5942 ecode2 = SWIG_AsVal_int(obj1, &val2);
5943 if (!SWIG_IsOK(ecode2)) {
5944 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5945 }
5946 arg2 = static_cast< int >(val2);
5947 }
5948 {
5949 PyThreadState* __tstate = wxPyBeginAllowThreads();
5950 (arg1)->RequestUserAttention(arg2);
5951 wxPyEndAllowThreads(__tstate);
5952 if (PyErr_Occurred()) SWIG_fail;
5953 }
5954 resultobj = SWIG_Py_Void();
5955 return resultobj;
5956 fail:
5957 return NULL;
5958 }
5959
5960
5961 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5962 PyObject *resultobj = 0;
5963 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5964 bool result;
5965 void *argp1 = 0 ;
5966 int res1 = 0 ;
5967 PyObject *swig_obj[1] ;
5968
5969 if (!args) SWIG_fail;
5970 swig_obj[0] = args;
5971 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5972 if (!SWIG_IsOK(res1)) {
5973 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5974 }
5975 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5976 {
5977 PyThreadState* __tstate = wxPyBeginAllowThreads();
5978 result = (bool)(arg1)->IsActive();
5979 wxPyEndAllowThreads(__tstate);
5980 if (PyErr_Occurred()) SWIG_fail;
5981 }
5982 {
5983 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5984 }
5985 return resultobj;
5986 fail:
5987 return NULL;
5988 }
5989
5990
5991 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5992 PyObject *resultobj = 0;
5993 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5994 bool arg2 ;
5995 void *argp1 = 0 ;
5996 int res1 = 0 ;
5997 bool val2 ;
5998 int ecode2 = 0 ;
5999 PyObject * obj0 = 0 ;
6000 PyObject * obj1 = 0 ;
6001 char * kwnames[] = {
6002 (char *) "self",(char *) "on", NULL
6003 };
6004
6005 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) SWIG_fail;
6006 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6007 if (!SWIG_IsOK(res1)) {
6008 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6009 }
6010 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6011 ecode2 = SWIG_AsVal_bool(obj1, &val2);
6012 if (!SWIG_IsOK(ecode2)) {
6013 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
6014 }
6015 arg2 = static_cast< bool >(val2);
6016 {
6017 PyThreadState* __tstate = wxPyBeginAllowThreads();
6018 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
6019 wxPyEndAllowThreads(__tstate);
6020 if (PyErr_Occurred()) SWIG_fail;
6021 }
6022 resultobj = SWIG_Py_Void();
6023 return resultobj;
6024 fail:
6025 return NULL;
6026 }
6027
6028
6029 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6030 PyObject *resultobj = 0;
6031 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6032 bool result;
6033 void *argp1 = 0 ;
6034 int res1 = 0 ;
6035 PyObject *swig_obj[1] ;
6036
6037 if (!args) SWIG_fail;
6038 swig_obj[0] = args;
6039 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6040 if (!SWIG_IsOK(res1)) {
6041 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6042 }
6043 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6044 {
6045 PyThreadState* __tstate = wxPyBeginAllowThreads();
6046 result = (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow const *)arg1);
6047 wxPyEndAllowThreads(__tstate);
6048 if (PyErr_Occurred()) SWIG_fail;
6049 }
6050 {
6051 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6052 }
6053 return resultobj;
6054 fail:
6055 return NULL;
6056 }
6057
6058
6059 SWIGINTERN PyObject *_wrap_TopLevelWindow_CenterOnScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6060 PyObject *resultobj = 0;
6061 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6062 int arg2 = (int) wxBOTH ;
6063 void *argp1 = 0 ;
6064 int res1 = 0 ;
6065 int val2 ;
6066 int ecode2 = 0 ;
6067 PyObject * obj0 = 0 ;
6068 PyObject * obj1 = 0 ;
6069 char * kwnames[] = {
6070 (char *) "self",(char *) "dir", NULL
6071 };
6072
6073 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames,&obj0,&obj1)) SWIG_fail;
6074 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6075 if (!SWIG_IsOK(res1)) {
6076 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6077 }
6078 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6079 if (obj1) {
6080 ecode2 = SWIG_AsVal_int(obj1, &val2);
6081 if (!SWIG_IsOK(ecode2)) {
6082 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6083 }
6084 arg2 = static_cast< int >(val2);
6085 }
6086 {
6087 PyThreadState* __tstate = wxPyBeginAllowThreads();
6088 (arg1)->CenterOnScreen(arg2);
6089 wxPyEndAllowThreads(__tstate);
6090 if (PyErr_Occurred()) SWIG_fail;
6091 }
6092 resultobj = SWIG_Py_Void();
6093 return resultobj;
6094 fail:
6095 return NULL;
6096 }
6097
6098
6099 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6100 PyObject *resultobj = 0;
6101 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6102 wxWindow *result = 0 ;
6103 void *argp1 = 0 ;
6104 int res1 = 0 ;
6105 PyObject *swig_obj[1] ;
6106
6107 if (!args) SWIG_fail;
6108 swig_obj[0] = args;
6109 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6110 if (!SWIG_IsOK(res1)) {
6111 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6112 }
6113 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6114 {
6115 PyThreadState* __tstate = wxPyBeginAllowThreads();
6116 result = (wxWindow *)((wxTopLevelWindow const *)arg1)->GetDefaultItem();
6117 wxPyEndAllowThreads(__tstate);
6118 if (PyErr_Occurred()) SWIG_fail;
6119 }
6120 {
6121 resultobj = wxPyMake_wxObject(result, 0);
6122 }
6123 return resultobj;
6124 fail:
6125 return NULL;
6126 }
6127
6128
6129 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6130 PyObject *resultobj = 0;
6131 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6132 wxWindow *arg2 = (wxWindow *) 0 ;
6133 wxWindow *result = 0 ;
6134 void *argp1 = 0 ;
6135 int res1 = 0 ;
6136 void *argp2 = 0 ;
6137 int res2 = 0 ;
6138 PyObject * obj0 = 0 ;
6139 PyObject * obj1 = 0 ;
6140 char * kwnames[] = {
6141 (char *) "self",(char *) "child", NULL
6142 };
6143
6144 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetDefaultItem",kwnames,&obj0,&obj1)) SWIG_fail;
6145 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6146 if (!SWIG_IsOK(res1)) {
6147 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6148 }
6149 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6150 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6151 if (!SWIG_IsOK(res2)) {
6152 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6153 }
6154 arg2 = reinterpret_cast< wxWindow * >(argp2);
6155 {
6156 PyThreadState* __tstate = wxPyBeginAllowThreads();
6157 result = (wxWindow *)(arg1)->SetDefaultItem(arg2);
6158 wxPyEndAllowThreads(__tstate);
6159 if (PyErr_Occurred()) SWIG_fail;
6160 }
6161 {
6162 resultobj = wxPyMake_wxObject(result, 0);
6163 }
6164 return resultobj;
6165 fail:
6166 return NULL;
6167 }
6168
6169
6170 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTmpDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6171 PyObject *resultobj = 0;
6172 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6173 wxWindow *arg2 = (wxWindow *) 0 ;
6174 void *argp1 = 0 ;
6175 int res1 = 0 ;
6176 void *argp2 = 0 ;
6177 int res2 = 0 ;
6178 PyObject * obj0 = 0 ;
6179 PyObject * obj1 = 0 ;
6180 char * kwnames[] = {
6181 (char *) "self",(char *) "win", NULL
6182 };
6183
6184 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTmpDefaultItem",kwnames,&obj0,&obj1)) SWIG_fail;
6185 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6186 if (!SWIG_IsOK(res1)) {
6187 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6188 }
6189 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6190 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6191 if (!SWIG_IsOK(res2)) {
6192 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6193 }
6194 arg2 = reinterpret_cast< wxWindow * >(argp2);
6195 {
6196 PyThreadState* __tstate = wxPyBeginAllowThreads();
6197 (arg1)->SetTmpDefaultItem(arg2);
6198 wxPyEndAllowThreads(__tstate);
6199 if (PyErr_Occurred()) SWIG_fail;
6200 }
6201 resultobj = SWIG_Py_Void();
6202 return resultobj;
6203 fail:
6204 return NULL;
6205 }
6206
6207
6208 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTmpDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6209 PyObject *resultobj = 0;
6210 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6211 wxWindow *result = 0 ;
6212 void *argp1 = 0 ;
6213 int res1 = 0 ;
6214 PyObject *swig_obj[1] ;
6215
6216 if (!args) SWIG_fail;
6217 swig_obj[0] = args;
6218 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6219 if (!SWIG_IsOK(res1)) {
6220 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6221 }
6222 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6223 {
6224 PyThreadState* __tstate = wxPyBeginAllowThreads();
6225 result = (wxWindow *)((wxTopLevelWindow const *)arg1)->GetTmpDefaultItem();
6226 wxPyEndAllowThreads(__tstate);
6227 if (PyErr_Occurred()) SWIG_fail;
6228 }
6229 {
6230 resultobj = wxPyMake_wxObject(result, 0);
6231 }
6232 return resultobj;
6233 fail:
6234 return NULL;
6235 }
6236
6237
6238 SWIGINTERN PyObject *TopLevelWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6239 PyObject *obj;
6240 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6241 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow, SWIG_NewClientData(obj));
6242 return SWIG_Py_Void();
6243 }
6244
6245 SWIGINTERN PyObject *_wrap_new_Frame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6246 PyObject *resultobj = 0;
6247 wxWindow *arg1 = (wxWindow *) 0 ;
6248 int arg2 = (int) (int)-1 ;
6249 wxString const &arg3_defvalue = wxPyEmptyString ;
6250 wxString *arg3 = (wxString *) &arg3_defvalue ;
6251 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6252 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6253 wxSize const &arg5_defvalue = wxDefaultSize ;
6254 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6255 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
6256 wxString const &arg7_defvalue = wxPyFrameNameStr ;
6257 wxString *arg7 = (wxString *) &arg7_defvalue ;
6258 wxFrame *result = 0 ;
6259 void *argp1 = 0 ;
6260 int res1 = 0 ;
6261 int val2 ;
6262 int ecode2 = 0 ;
6263 bool temp3 = false ;
6264 wxPoint temp4 ;
6265 wxSize temp5 ;
6266 long val6 ;
6267 int ecode6 = 0 ;
6268 bool temp7 = false ;
6269 PyObject * obj0 = 0 ;
6270 PyObject * obj1 = 0 ;
6271 PyObject * obj2 = 0 ;
6272 PyObject * obj3 = 0 ;
6273 PyObject * obj4 = 0 ;
6274 PyObject * obj5 = 0 ;
6275 PyObject * obj6 = 0 ;
6276 char * kwnames[] = {
6277 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6278 };
6279
6280 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
6281 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
6282 if (!SWIG_IsOK(res1)) {
6283 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6284 }
6285 arg1 = reinterpret_cast< wxWindow * >(argp1);
6286 if (obj1) {
6287 ecode2 = SWIG_AsVal_int(obj1, &val2);
6288 if (!SWIG_IsOK(ecode2)) {
6289 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6290 }
6291 arg2 = static_cast< int >(val2);
6292 }
6293 if (obj2) {
6294 {
6295 arg3 = wxString_in_helper(obj2);
6296 if (arg3 == NULL) SWIG_fail;
6297 temp3 = true;
6298 }
6299 }
6300 if (obj3) {
6301 {
6302 arg4 = &temp4;
6303 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6304 }
6305 }
6306 if (obj4) {
6307 {
6308 arg5 = &temp5;
6309 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6310 }
6311 }
6312 if (obj5) {
6313 ecode6 = SWIG_AsVal_long(obj5, &val6);
6314 if (!SWIG_IsOK(ecode6)) {
6315 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6316 }
6317 arg6 = static_cast< long >(val6);
6318 }
6319 if (obj6) {
6320 {
6321 arg7 = wxString_in_helper(obj6);
6322 if (arg7 == NULL) SWIG_fail;
6323 temp7 = true;
6324 }
6325 }
6326 {
6327 if (!wxPyCheckForApp()) SWIG_fail;
6328 PyThreadState* __tstate = wxPyBeginAllowThreads();
6329 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6330 wxPyEndAllowThreads(__tstate);
6331 if (PyErr_Occurred()) SWIG_fail;
6332 }
6333 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_NEW | 0 );
6334 {
6335 if (temp3)
6336 delete arg3;
6337 }
6338 {
6339 if (temp7)
6340 delete arg7;
6341 }
6342 return resultobj;
6343 fail:
6344 {
6345 if (temp3)
6346 delete arg3;
6347 }
6348 {
6349 if (temp7)
6350 delete arg7;
6351 }
6352 return NULL;
6353 }
6354
6355
6356 SWIGINTERN PyObject *_wrap_new_PreFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6357 PyObject *resultobj = 0;
6358 wxFrame *result = 0 ;
6359
6360 if (!SWIG_Python_UnpackTuple(args,"new_PreFrame",0,0,0)) SWIG_fail;
6361 {
6362 if (!wxPyCheckForApp()) SWIG_fail;
6363 PyThreadState* __tstate = wxPyBeginAllowThreads();
6364 result = (wxFrame *)new wxFrame();
6365 wxPyEndAllowThreads(__tstate);
6366 if (PyErr_Occurred()) SWIG_fail;
6367 }
6368 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_OWN | 0 );
6369 return resultobj;
6370 fail:
6371 return NULL;
6372 }
6373
6374
6375 SWIGINTERN PyObject *_wrap_Frame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6376 PyObject *resultobj = 0;
6377 wxFrame *arg1 = (wxFrame *) 0 ;
6378 wxWindow *arg2 = (wxWindow *) 0 ;
6379 int arg3 = (int) (int)-1 ;
6380 wxString const &arg4_defvalue = wxPyEmptyString ;
6381 wxString *arg4 = (wxString *) &arg4_defvalue ;
6382 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6383 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6384 wxSize const &arg6_defvalue = wxDefaultSize ;
6385 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6386 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6387 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6388 wxString *arg8 = (wxString *) &arg8_defvalue ;
6389 bool result;
6390 void *argp1 = 0 ;
6391 int res1 = 0 ;
6392 void *argp2 = 0 ;
6393 int res2 = 0 ;
6394 int val3 ;
6395 int ecode3 = 0 ;
6396 bool temp4 = false ;
6397 wxPoint temp5 ;
6398 wxSize temp6 ;
6399 long val7 ;
6400 int ecode7 = 0 ;
6401 bool temp8 = false ;
6402 PyObject * obj0 = 0 ;
6403 PyObject * obj1 = 0 ;
6404 PyObject * obj2 = 0 ;
6405 PyObject * obj3 = 0 ;
6406 PyObject * obj4 = 0 ;
6407 PyObject * obj5 = 0 ;
6408 PyObject * obj6 = 0 ;
6409 PyObject * obj7 = 0 ;
6410 char * kwnames[] = {
6411 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6412 };
6413
6414 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6415 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6416 if (!SWIG_IsOK(res1)) {
6417 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6418 }
6419 arg1 = reinterpret_cast< wxFrame * >(argp1);
6420 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6421 if (!SWIG_IsOK(res2)) {
6422 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6423 }
6424 arg2 = reinterpret_cast< wxWindow * >(argp2);
6425 if (obj2) {
6426 ecode3 = SWIG_AsVal_int(obj2, &val3);
6427 if (!SWIG_IsOK(ecode3)) {
6428 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6429 }
6430 arg3 = static_cast< int >(val3);
6431 }
6432 if (obj3) {
6433 {
6434 arg4 = wxString_in_helper(obj3);
6435 if (arg4 == NULL) SWIG_fail;
6436 temp4 = true;
6437 }
6438 }
6439 if (obj4) {
6440 {
6441 arg5 = &temp5;
6442 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6443 }
6444 }
6445 if (obj5) {
6446 {
6447 arg6 = &temp6;
6448 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6449 }
6450 }
6451 if (obj6) {
6452 ecode7 = SWIG_AsVal_long(obj6, &val7);
6453 if (!SWIG_IsOK(ecode7)) {
6454 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6455 }
6456 arg7 = static_cast< long >(val7);
6457 }
6458 if (obj7) {
6459 {
6460 arg8 = wxString_in_helper(obj7);
6461 if (arg8 == NULL) SWIG_fail;
6462 temp8 = true;
6463 }
6464 }
6465 {
6466 PyThreadState* __tstate = wxPyBeginAllowThreads();
6467 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6468 wxPyEndAllowThreads(__tstate);
6469 if (PyErr_Occurred()) SWIG_fail;
6470 }
6471 {
6472 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6473 }
6474 {
6475 if (temp4)
6476 delete arg4;
6477 }
6478 {
6479 if (temp8)
6480 delete arg8;
6481 }
6482 return resultobj;
6483 fail:
6484 {
6485 if (temp4)
6486 delete arg4;
6487 }
6488 {
6489 if (temp8)
6490 delete arg8;
6491 }
6492 return NULL;
6493 }
6494
6495
6496 SWIGINTERN PyObject *_wrap_Frame_SendSizeEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6497 PyObject *resultobj = 0;
6498 wxFrame *arg1 = (wxFrame *) 0 ;
6499 void *argp1 = 0 ;
6500 int res1 = 0 ;
6501 PyObject *swig_obj[1] ;
6502
6503 if (!args) SWIG_fail;
6504 swig_obj[0] = args;
6505 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6506 if (!SWIG_IsOK(res1)) {
6507 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6508 }
6509 arg1 = reinterpret_cast< wxFrame * >(argp1);
6510 {
6511 PyThreadState* __tstate = wxPyBeginAllowThreads();
6512 (arg1)->SendSizeEvent();
6513 wxPyEndAllowThreads(__tstate);
6514 if (PyErr_Occurred()) SWIG_fail;
6515 }
6516 resultobj = SWIG_Py_Void();
6517 return resultobj;
6518 fail:
6519 return NULL;
6520 }
6521
6522
6523 SWIGINTERN PyObject *_wrap_Frame_SetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6524 PyObject *resultobj = 0;
6525 wxFrame *arg1 = (wxFrame *) 0 ;
6526 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
6527 void *argp1 = 0 ;
6528 int res1 = 0 ;
6529 void *argp2 = 0 ;
6530 int res2 = 0 ;
6531 PyObject * obj0 = 0 ;
6532 PyObject * obj1 = 0 ;
6533 char * kwnames[] = {
6534 (char *) "self",(char *) "menubar", NULL
6535 };
6536
6537 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) SWIG_fail;
6538 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6539 if (!SWIG_IsOK(res1)) {
6540 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6541 }
6542 arg1 = reinterpret_cast< wxFrame * >(argp1);
6543 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenuBar, 0 | 0 );
6544 if (!SWIG_IsOK(res2)) {
6545 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6546 }
6547 arg2 = reinterpret_cast< wxMenuBar * >(argp2);
6548 {
6549 PyThreadState* __tstate = wxPyBeginAllowThreads();
6550 (arg1)->SetMenuBar(arg2);
6551 wxPyEndAllowThreads(__tstate);
6552 if (PyErr_Occurred()) SWIG_fail;
6553 }
6554 resultobj = SWIG_Py_Void();
6555 return resultobj;
6556 fail:
6557 return NULL;
6558 }
6559
6560
6561 SWIGINTERN PyObject *_wrap_Frame_GetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6562 PyObject *resultobj = 0;
6563 wxFrame *arg1 = (wxFrame *) 0 ;
6564 wxMenuBar *result = 0 ;
6565 void *argp1 = 0 ;
6566 int res1 = 0 ;
6567 PyObject *swig_obj[1] ;
6568
6569 if (!args) SWIG_fail;
6570 swig_obj[0] = args;
6571 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6572 if (!SWIG_IsOK(res1)) {
6573 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6574 }
6575 arg1 = reinterpret_cast< wxFrame * >(argp1);
6576 {
6577 PyThreadState* __tstate = wxPyBeginAllowThreads();
6578 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
6579 wxPyEndAllowThreads(__tstate);
6580 if (PyErr_Occurred()) SWIG_fail;
6581 }
6582 {
6583 resultobj = wxPyMake_wxObject(result, 0);
6584 }
6585 return resultobj;
6586 fail:
6587 return NULL;
6588 }
6589
6590
6591 SWIGINTERN PyObject *_wrap_Frame_ProcessCommand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6592 PyObject *resultobj = 0;
6593 wxFrame *arg1 = (wxFrame *) 0 ;
6594 int arg2 ;
6595 bool result;
6596 void *argp1 = 0 ;
6597 int res1 = 0 ;
6598 int val2 ;
6599 int ecode2 = 0 ;
6600 PyObject * obj0 = 0 ;
6601 PyObject * obj1 = 0 ;
6602 char * kwnames[] = {
6603 (char *) "self",(char *) "winid", NULL
6604 };
6605
6606 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) SWIG_fail;
6607 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6608 if (!SWIG_IsOK(res1)) {
6609 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6610 }
6611 arg1 = reinterpret_cast< wxFrame * >(argp1);
6612 ecode2 = SWIG_AsVal_int(obj1, &val2);
6613 if (!SWIG_IsOK(ecode2)) {
6614 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6615 }
6616 arg2 = static_cast< int >(val2);
6617 {
6618 PyThreadState* __tstate = wxPyBeginAllowThreads();
6619 result = (bool)(arg1)->ProcessCommand(arg2);
6620 wxPyEndAllowThreads(__tstate);
6621 if (PyErr_Occurred()) SWIG_fail;
6622 }
6623 {
6624 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6625 }
6626 return resultobj;
6627 fail:
6628 return NULL;
6629 }
6630
6631
6632 SWIGINTERN PyObject *_wrap_Frame_CreateStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6633 PyObject *resultobj = 0;
6634 wxFrame *arg1 = (wxFrame *) 0 ;
6635 int arg2 = (int) 1 ;
6636 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
6637 int arg4 = (int) 0 ;
6638 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
6639 wxString *arg5 = (wxString *) &arg5_defvalue ;
6640 wxStatusBar *result = 0 ;
6641 void *argp1 = 0 ;
6642 int res1 = 0 ;
6643 int val2 ;
6644 int ecode2 = 0 ;
6645 long val3 ;
6646 int ecode3 = 0 ;
6647 int val4 ;
6648 int ecode4 = 0 ;
6649 bool temp5 = false ;
6650 PyObject * obj0 = 0 ;
6651 PyObject * obj1 = 0 ;
6652 PyObject * obj2 = 0 ;
6653 PyObject * obj3 = 0 ;
6654 PyObject * obj4 = 0 ;
6655 char * kwnames[] = {
6656 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6657 };
6658
6659 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
6660 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6661 if (!SWIG_IsOK(res1)) {
6662 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6663 }
6664 arg1 = reinterpret_cast< wxFrame * >(argp1);
6665 if (obj1) {
6666 ecode2 = SWIG_AsVal_int(obj1, &val2);
6667 if (!SWIG_IsOK(ecode2)) {
6668 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6669 }
6670 arg2 = static_cast< int >(val2);
6671 }
6672 if (obj2) {
6673 ecode3 = SWIG_AsVal_long(obj2, &val3);
6674 if (!SWIG_IsOK(ecode3)) {
6675 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6676 }
6677 arg3 = static_cast< long >(val3);
6678 }
6679 if (obj3) {
6680 ecode4 = SWIG_AsVal_int(obj3, &val4);
6681 if (!SWIG_IsOK(ecode4)) {
6682 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6683 }
6684 arg4 = static_cast< int >(val4);
6685 }
6686 if (obj4) {
6687 {
6688 arg5 = wxString_in_helper(obj4);
6689 if (arg5 == NULL) SWIG_fail;
6690 temp5 = true;
6691 }
6692 }
6693 {
6694 PyThreadState* __tstate = wxPyBeginAllowThreads();
6695 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
6696 wxPyEndAllowThreads(__tstate);
6697 if (PyErr_Occurred()) SWIG_fail;
6698 }
6699 {
6700 resultobj = wxPyMake_wxObject(result, (bool)0);
6701 }
6702 {
6703 if (temp5)
6704 delete arg5;
6705 }
6706 return resultobj;
6707 fail:
6708 {
6709 if (temp5)
6710 delete arg5;
6711 }
6712 return NULL;
6713 }
6714
6715
6716 SWIGINTERN PyObject *_wrap_Frame_GetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6717 PyObject *resultobj = 0;
6718 wxFrame *arg1 = (wxFrame *) 0 ;
6719 wxStatusBar *result = 0 ;
6720 void *argp1 = 0 ;
6721 int res1 = 0 ;
6722 PyObject *swig_obj[1] ;
6723
6724 if (!args) SWIG_fail;
6725 swig_obj[0] = args;
6726 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6727 if (!SWIG_IsOK(res1)) {
6728 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6729 }
6730 arg1 = reinterpret_cast< wxFrame * >(argp1);
6731 {
6732 PyThreadState* __tstate = wxPyBeginAllowThreads();
6733 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
6734 wxPyEndAllowThreads(__tstate);
6735 if (PyErr_Occurred()) SWIG_fail;
6736 }
6737 {
6738 resultobj = wxPyMake_wxObject(result, (bool)0);
6739 }
6740 return resultobj;
6741 fail:
6742 return NULL;
6743 }
6744
6745
6746 SWIGINTERN PyObject *_wrap_Frame_SetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6747 PyObject *resultobj = 0;
6748 wxFrame *arg1 = (wxFrame *) 0 ;
6749 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
6750 void *argp1 = 0 ;
6751 int res1 = 0 ;
6752 void *argp2 = 0 ;
6753 int res2 = 0 ;
6754 PyObject * obj0 = 0 ;
6755 PyObject * obj1 = 0 ;
6756 char * kwnames[] = {
6757 (char *) "self",(char *) "statBar", NULL
6758 };
6759
6760 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) SWIG_fail;
6761 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6762 if (!SWIG_IsOK(res1)) {
6763 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6764 }
6765 arg1 = reinterpret_cast< wxFrame * >(argp1);
6766 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxStatusBar, 0 | 0 );
6767 if (!SWIG_IsOK(res2)) {
6768 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6769 }
6770 arg2 = reinterpret_cast< wxStatusBar * >(argp2);
6771 {
6772 PyThreadState* __tstate = wxPyBeginAllowThreads();
6773 (arg1)->SetStatusBar(arg2);
6774 wxPyEndAllowThreads(__tstate);
6775 if (PyErr_Occurred()) SWIG_fail;
6776 }
6777 resultobj = SWIG_Py_Void();
6778 return resultobj;
6779 fail:
6780 return NULL;
6781 }
6782
6783
6784 SWIGINTERN PyObject *_wrap_Frame_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6785 PyObject *resultobj = 0;
6786 wxFrame *arg1 = (wxFrame *) 0 ;
6787 wxString *arg2 = 0 ;
6788 int arg3 = (int) 0 ;
6789 void *argp1 = 0 ;
6790 int res1 = 0 ;
6791 bool temp2 = false ;
6792 int val3 ;
6793 int ecode3 = 0 ;
6794 PyObject * obj0 = 0 ;
6795 PyObject * obj1 = 0 ;
6796 PyObject * obj2 = 0 ;
6797 char * kwnames[] = {
6798 (char *) "self",(char *) "text",(char *) "number", NULL
6799 };
6800
6801 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6802 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6803 if (!SWIG_IsOK(res1)) {
6804 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6805 }
6806 arg1 = reinterpret_cast< wxFrame * >(argp1);
6807 {
6808 arg2 = wxString_in_helper(obj1);
6809 if (arg2 == NULL) SWIG_fail;
6810 temp2 = true;
6811 }
6812 if (obj2) {
6813 ecode3 = SWIG_AsVal_int(obj2, &val3);
6814 if (!SWIG_IsOK(ecode3)) {
6815 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6816 }
6817 arg3 = static_cast< int >(val3);
6818 }
6819 {
6820 PyThreadState* __tstate = wxPyBeginAllowThreads();
6821 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
6822 wxPyEndAllowThreads(__tstate);
6823 if (PyErr_Occurred()) SWIG_fail;
6824 }
6825 resultobj = SWIG_Py_Void();
6826 {
6827 if (temp2)
6828 delete arg2;
6829 }
6830 return resultobj;
6831 fail:
6832 {
6833 if (temp2)
6834 delete arg2;
6835 }
6836 return NULL;
6837 }
6838
6839
6840 SWIGINTERN PyObject *_wrap_Frame_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6841 PyObject *resultobj = 0;
6842 wxFrame *arg1 = (wxFrame *) 0 ;
6843 int arg2 ;
6844 int *arg3 = (int *) 0 ;
6845 void *argp1 = 0 ;
6846 int res1 = 0 ;
6847 PyObject * obj0 = 0 ;
6848 PyObject * obj1 = 0 ;
6849 char * kwnames[] = {
6850 (char *) "self",(char *) "widths", NULL
6851 };
6852
6853 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
6854 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6855 if (!SWIG_IsOK(res1)) {
6856 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6857 }
6858 arg1 = reinterpret_cast< wxFrame * >(argp1);
6859 {
6860 arg2 = PyList_Size(obj1);
6861 arg3 = int_LIST_helper(obj1);
6862 if (arg3 == NULL) SWIG_fail;
6863 }
6864 {
6865 PyThreadState* __tstate = wxPyBeginAllowThreads();
6866 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
6867 wxPyEndAllowThreads(__tstate);
6868 if (PyErr_Occurred()) SWIG_fail;
6869 }
6870 resultobj = SWIG_Py_Void();
6871 {
6872 if (arg3) delete [] arg3;
6873 }
6874 return resultobj;
6875 fail:
6876 {
6877 if (arg3) delete [] arg3;
6878 }
6879 return NULL;
6880 }
6881
6882
6883 SWIGINTERN PyObject *_wrap_Frame_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6884 PyObject *resultobj = 0;
6885 wxFrame *arg1 = (wxFrame *) 0 ;
6886 wxString *arg2 = 0 ;
6887 int arg3 = (int) 0 ;
6888 void *argp1 = 0 ;
6889 int res1 = 0 ;
6890 bool temp2 = false ;
6891 int val3 ;
6892 int ecode3 = 0 ;
6893 PyObject * obj0 = 0 ;
6894 PyObject * obj1 = 0 ;
6895 PyObject * obj2 = 0 ;
6896 char * kwnames[] = {
6897 (char *) "self",(char *) "text",(char *) "number", NULL
6898 };
6899
6900 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6901 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6902 if (!SWIG_IsOK(res1)) {
6903 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6904 }
6905 arg1 = reinterpret_cast< wxFrame * >(argp1);
6906 {
6907 arg2 = wxString_in_helper(obj1);
6908 if (arg2 == NULL) SWIG_fail;
6909 temp2 = true;
6910 }
6911 if (obj2) {
6912 ecode3 = SWIG_AsVal_int(obj2, &val3);
6913 if (!SWIG_IsOK(ecode3)) {
6914 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6915 }
6916 arg3 = static_cast< int >(val3);
6917 }
6918 {
6919 PyThreadState* __tstate = wxPyBeginAllowThreads();
6920 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
6921 wxPyEndAllowThreads(__tstate);
6922 if (PyErr_Occurred()) SWIG_fail;
6923 }
6924 resultobj = SWIG_Py_Void();
6925 {
6926 if (temp2)
6927 delete arg2;
6928 }
6929 return resultobj;
6930 fail:
6931 {
6932 if (temp2)
6933 delete arg2;
6934 }
6935 return NULL;
6936 }
6937
6938
6939 SWIGINTERN PyObject *_wrap_Frame_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6940 PyObject *resultobj = 0;
6941 wxFrame *arg1 = (wxFrame *) 0 ;
6942 int arg2 = (int) 0 ;
6943 void *argp1 = 0 ;
6944 int res1 = 0 ;
6945 int val2 ;
6946 int ecode2 = 0 ;
6947 PyObject * obj0 = 0 ;
6948 PyObject * obj1 = 0 ;
6949 char * kwnames[] = {
6950 (char *) "self",(char *) "number", NULL
6951 };
6952
6953 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
6954 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6955 if (!SWIG_IsOK(res1)) {
6956 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6957 }
6958 arg1 = reinterpret_cast< wxFrame * >(argp1);
6959 if (obj1) {
6960 ecode2 = SWIG_AsVal_int(obj1, &val2);
6961 if (!SWIG_IsOK(ecode2)) {
6962 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6963 }
6964 arg2 = static_cast< int >(val2);
6965 }
6966 {
6967 PyThreadState* __tstate = wxPyBeginAllowThreads();
6968 (arg1)->PopStatusText(arg2);
6969 wxPyEndAllowThreads(__tstate);
6970 if (PyErr_Occurred()) SWIG_fail;
6971 }
6972 resultobj = SWIG_Py_Void();
6973 return resultobj;
6974 fail:
6975 return NULL;
6976 }
6977
6978
6979 SWIGINTERN PyObject *_wrap_Frame_SetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6980 PyObject *resultobj = 0;
6981 wxFrame *arg1 = (wxFrame *) 0 ;
6982 int arg2 ;
6983 void *argp1 = 0 ;
6984 int res1 = 0 ;
6985 int val2 ;
6986 int ecode2 = 0 ;
6987 PyObject * obj0 = 0 ;
6988 PyObject * obj1 = 0 ;
6989 char * kwnames[] = {
6990 (char *) "self",(char *) "n", NULL
6991 };
6992
6993 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) SWIG_fail;
6994 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6995 if (!SWIG_IsOK(res1)) {
6996 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6997 }
6998 arg1 = reinterpret_cast< wxFrame * >(argp1);
6999 ecode2 = SWIG_AsVal_int(obj1, &val2);
7000 if (!SWIG_IsOK(ecode2)) {
7001 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
7002 }
7003 arg2 = static_cast< int >(val2);
7004 {
7005 PyThreadState* __tstate = wxPyBeginAllowThreads();
7006 (arg1)->SetStatusBarPane(arg2);
7007 wxPyEndAllowThreads(__tstate);
7008 if (PyErr_Occurred()) SWIG_fail;
7009 }
7010 resultobj = SWIG_Py_Void();
7011 return resultobj;
7012 fail:
7013 return NULL;
7014 }
7015
7016
7017 SWIGINTERN PyObject *_wrap_Frame_GetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7018 PyObject *resultobj = 0;
7019 wxFrame *arg1 = (wxFrame *) 0 ;
7020 int result;
7021 void *argp1 = 0 ;
7022 int res1 = 0 ;
7023 PyObject *swig_obj[1] ;
7024
7025 if (!args) SWIG_fail;
7026 swig_obj[0] = args;
7027 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7028 if (!SWIG_IsOK(res1)) {
7029 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
7030 }
7031 arg1 = reinterpret_cast< wxFrame * >(argp1);
7032 {
7033 PyThreadState* __tstate = wxPyBeginAllowThreads();
7034 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
7035 wxPyEndAllowThreads(__tstate);
7036 if (PyErr_Occurred()) SWIG_fail;
7037 }
7038 resultobj = SWIG_From_int(static_cast< int >(result));
7039 return resultobj;
7040 fail:
7041 return NULL;
7042 }
7043
7044
7045 SWIGINTERN PyObject *_wrap_Frame_CreateToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7046 PyObject *resultobj = 0;
7047 wxFrame *arg1 = (wxFrame *) 0 ;
7048 long arg2 = (long) -1 ;
7049 int arg3 = (int) -1 ;
7050 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
7051 wxString *arg4 = (wxString *) &arg4_defvalue ;
7052 wxToolBar *result = 0 ;
7053 void *argp1 = 0 ;
7054 int res1 = 0 ;
7055 long val2 ;
7056 int ecode2 = 0 ;
7057 int val3 ;
7058 int ecode3 = 0 ;
7059 bool temp4 = false ;
7060 PyObject * obj0 = 0 ;
7061 PyObject * obj1 = 0 ;
7062 PyObject * obj2 = 0 ;
7063 PyObject * obj3 = 0 ;
7064 char * kwnames[] = {
7065 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
7066 };
7067
7068 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7069 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7070 if (!SWIG_IsOK(res1)) {
7071 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7072 }
7073 arg1 = reinterpret_cast< wxFrame * >(argp1);
7074 if (obj1) {
7075 ecode2 = SWIG_AsVal_long(obj1, &val2);
7076 if (!SWIG_IsOK(ecode2)) {
7077 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
7078 }
7079 arg2 = static_cast< long >(val2);
7080 }
7081 if (obj2) {
7082 ecode3 = SWIG_AsVal_int(obj2, &val3);
7083 if (!SWIG_IsOK(ecode3)) {
7084 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
7085 }
7086 arg3 = static_cast< int >(val3);
7087 }
7088 if (obj3) {
7089 {
7090 arg4 = wxString_in_helper(obj3);
7091 if (arg4 == NULL) SWIG_fail;
7092 temp4 = true;
7093 }
7094 }
7095 {
7096 PyThreadState* __tstate = wxPyBeginAllowThreads();
7097 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
7098 wxPyEndAllowThreads(__tstate);
7099 if (PyErr_Occurred()) SWIG_fail;
7100 }
7101 {
7102 resultobj = wxPyMake_wxObject(result, (bool)0);
7103 }
7104 {
7105 if (temp4)
7106 delete arg4;
7107 }
7108 return resultobj;
7109 fail:
7110 {
7111 if (temp4)
7112 delete arg4;
7113 }
7114 return NULL;
7115 }
7116
7117
7118 SWIGINTERN PyObject *_wrap_Frame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7119 PyObject *resultobj = 0;
7120 wxFrame *arg1 = (wxFrame *) 0 ;
7121 wxToolBar *result = 0 ;
7122 void *argp1 = 0 ;
7123 int res1 = 0 ;
7124 PyObject *swig_obj[1] ;
7125
7126 if (!args) SWIG_fail;
7127 swig_obj[0] = args;
7128 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7129 if (!SWIG_IsOK(res1)) {
7130 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
7131 }
7132 arg1 = reinterpret_cast< wxFrame * >(argp1);
7133 {
7134 PyThreadState* __tstate = wxPyBeginAllowThreads();
7135 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
7136 wxPyEndAllowThreads(__tstate);
7137 if (PyErr_Occurred()) SWIG_fail;
7138 }
7139 {
7140 resultobj = wxPyMake_wxObject(result, (bool)0);
7141 }
7142 return resultobj;
7143 fail:
7144 return NULL;
7145 }
7146
7147
7148 SWIGINTERN PyObject *_wrap_Frame_SetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7149 PyObject *resultobj = 0;
7150 wxFrame *arg1 = (wxFrame *) 0 ;
7151 wxToolBar *arg2 = (wxToolBar *) 0 ;
7152 void *argp1 = 0 ;
7153 int res1 = 0 ;
7154 void *argp2 = 0 ;
7155 int res2 = 0 ;
7156 PyObject * obj0 = 0 ;
7157 PyObject * obj1 = 0 ;
7158 char * kwnames[] = {
7159 (char *) "self",(char *) "toolbar", NULL
7160 };
7161
7162 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) SWIG_fail;
7163 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7164 if (!SWIG_IsOK(res1)) {
7165 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7166 }
7167 arg1 = reinterpret_cast< wxFrame * >(argp1);
7168 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBar, 0 | 0 );
7169 if (!SWIG_IsOK(res2)) {
7170 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
7171 }
7172 arg2 = reinterpret_cast< wxToolBar * >(argp2);
7173 {
7174 PyThreadState* __tstate = wxPyBeginAllowThreads();
7175 (arg1)->SetToolBar(arg2);
7176 wxPyEndAllowThreads(__tstate);
7177 if (PyErr_Occurred()) SWIG_fail;
7178 }
7179 resultobj = SWIG_Py_Void();
7180 return resultobj;
7181 fail:
7182 return NULL;
7183 }
7184
7185
7186 SWIGINTERN PyObject *_wrap_Frame_DoGiveHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7187 PyObject *resultobj = 0;
7188 wxFrame *arg1 = (wxFrame *) 0 ;
7189 wxString *arg2 = 0 ;
7190 bool arg3 ;
7191 void *argp1 = 0 ;
7192 int res1 = 0 ;
7193 bool temp2 = false ;
7194 bool val3 ;
7195 int ecode3 = 0 ;
7196 PyObject * obj0 = 0 ;
7197 PyObject * obj1 = 0 ;
7198 PyObject * obj2 = 0 ;
7199 char * kwnames[] = {
7200 (char *) "self",(char *) "text",(char *) "show", NULL
7201 };
7202
7203 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7204 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7205 if (!SWIG_IsOK(res1)) {
7206 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7207 }
7208 arg1 = reinterpret_cast< wxFrame * >(argp1);
7209 {
7210 arg2 = wxString_in_helper(obj1);
7211 if (arg2 == NULL) SWIG_fail;
7212 temp2 = true;
7213 }
7214 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7215 if (!SWIG_IsOK(ecode3)) {
7216 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7217 }
7218 arg3 = static_cast< bool >(val3);
7219 {
7220 PyThreadState* __tstate = wxPyBeginAllowThreads();
7221 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
7222 wxPyEndAllowThreads(__tstate);
7223 if (PyErr_Occurred()) SWIG_fail;
7224 }
7225 resultobj = SWIG_Py_Void();
7226 {
7227 if (temp2)
7228 delete arg2;
7229 }
7230 return resultobj;
7231 fail:
7232 {
7233 if (temp2)
7234 delete arg2;
7235 }
7236 return NULL;
7237 }
7238
7239
7240 SWIGINTERN PyObject *_wrap_Frame_DoMenuUpdates(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7241 PyObject *resultobj = 0;
7242 wxFrame *arg1 = (wxFrame *) 0 ;
7243 wxMenu *arg2 = (wxMenu *) NULL ;
7244 void *argp1 = 0 ;
7245 int res1 = 0 ;
7246 void *argp2 = 0 ;
7247 int res2 = 0 ;
7248 PyObject * obj0 = 0 ;
7249 PyObject * obj1 = 0 ;
7250 char * kwnames[] = {
7251 (char *) "self",(char *) "menu", NULL
7252 };
7253
7254 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) SWIG_fail;
7255 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7256 if (!SWIG_IsOK(res1)) {
7257 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7258 }
7259 arg1 = reinterpret_cast< wxFrame * >(argp1);
7260 if (obj1) {
7261 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
7262 if (!SWIG_IsOK(res2)) {
7263 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7264 }
7265 arg2 = reinterpret_cast< wxMenu * >(argp2);
7266 }
7267 {
7268 PyThreadState* __tstate = wxPyBeginAllowThreads();
7269 (arg1)->DoMenuUpdates(arg2);
7270 wxPyEndAllowThreads(__tstate);
7271 if (PyErr_Occurred()) SWIG_fail;
7272 }
7273 resultobj = SWIG_Py_Void();
7274 return resultobj;
7275 fail:
7276 return NULL;
7277 }
7278
7279
7280 SWIGINTERN PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7281 PyObject *resultobj = 0;
7282 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7283 SwigValueWrapper<wxVisualAttributes > result;
7284 int val1 ;
7285 int ecode1 = 0 ;
7286 PyObject * obj0 = 0 ;
7287 char * kwnames[] = {
7288 (char *) "variant", NULL
7289 };
7290
7291 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7292 if (obj0) {
7293 ecode1 = SWIG_AsVal_int(obj0, &val1);
7294 if (!SWIG_IsOK(ecode1)) {
7295 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7296 }
7297 arg1 = static_cast< wxWindowVariant >(val1);
7298 }
7299 {
7300 if (!wxPyCheckForApp()) SWIG_fail;
7301 PyThreadState* __tstate = wxPyBeginAllowThreads();
7302 result = wxFrame::GetClassDefaultAttributes(arg1);
7303 wxPyEndAllowThreads(__tstate);
7304 if (PyErr_Occurred()) SWIG_fail;
7305 }
7306 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7307 return resultobj;
7308 fail:
7309 return NULL;
7310 }
7311
7312
7313 SWIGINTERN PyObject *Frame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7314 PyObject *obj;
7315 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7316 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame, SWIG_NewClientData(obj));
7317 return SWIG_Py_Void();
7318 }
7319
7320 SWIGINTERN PyObject *Frame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7321 return SWIG_Python_InitShadowInstance(args);
7322 }
7323
7324 SWIGINTERN PyObject *_wrap_new_Dialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7325 PyObject *resultobj = 0;
7326 wxWindow *arg1 = (wxWindow *) 0 ;
7327 int arg2 = (int) (int)-1 ;
7328 wxString const &arg3_defvalue = wxPyEmptyString ;
7329 wxString *arg3 = (wxString *) &arg3_defvalue ;
7330 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7331 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7332 wxSize const &arg5_defvalue = wxDefaultSize ;
7333 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7334 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
7335 wxString const &arg7_defvalue = wxPyDialogNameStr ;
7336 wxString *arg7 = (wxString *) &arg7_defvalue ;
7337 wxDialog *result = 0 ;
7338 void *argp1 = 0 ;
7339 int res1 = 0 ;
7340 int val2 ;
7341 int ecode2 = 0 ;
7342 bool temp3 = false ;
7343 wxPoint temp4 ;
7344 wxSize temp5 ;
7345 long val6 ;
7346 int ecode6 = 0 ;
7347 bool temp7 = false ;
7348 PyObject * obj0 = 0 ;
7349 PyObject * obj1 = 0 ;
7350 PyObject * obj2 = 0 ;
7351 PyObject * obj3 = 0 ;
7352 PyObject * obj4 = 0 ;
7353 PyObject * obj5 = 0 ;
7354 PyObject * obj6 = 0 ;
7355 char * kwnames[] = {
7356 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7357 };
7358
7359 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7360 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7361 if (!SWIG_IsOK(res1)) {
7362 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7363 }
7364 arg1 = reinterpret_cast< wxWindow * >(argp1);
7365 if (obj1) {
7366 ecode2 = SWIG_AsVal_int(obj1, &val2);
7367 if (!SWIG_IsOK(ecode2)) {
7368 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7369 }
7370 arg2 = static_cast< int >(val2);
7371 }
7372 if (obj2) {
7373 {
7374 arg3 = wxString_in_helper(obj2);
7375 if (arg3 == NULL) SWIG_fail;
7376 temp3 = true;
7377 }
7378 }
7379 if (obj3) {
7380 {
7381 arg4 = &temp4;
7382 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7383 }
7384 }
7385 if (obj4) {
7386 {
7387 arg5 = &temp5;
7388 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7389 }
7390 }
7391 if (obj5) {
7392 ecode6 = SWIG_AsVal_long(obj5, &val6);
7393 if (!SWIG_IsOK(ecode6)) {
7394 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7395 }
7396 arg6 = static_cast< long >(val6);
7397 }
7398 if (obj6) {
7399 {
7400 arg7 = wxString_in_helper(obj6);
7401 if (arg7 == NULL) SWIG_fail;
7402 temp7 = true;
7403 }
7404 }
7405 {
7406 if (!wxPyCheckForApp()) SWIG_fail;
7407 PyThreadState* __tstate = wxPyBeginAllowThreads();
7408 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7409 wxPyEndAllowThreads(__tstate);
7410 if (PyErr_Occurred()) SWIG_fail;
7411 }
7412 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_NEW | 0 );
7413 {
7414 if (temp3)
7415 delete arg3;
7416 }
7417 {
7418 if (temp7)
7419 delete arg7;
7420 }
7421 return resultobj;
7422 fail:
7423 {
7424 if (temp3)
7425 delete arg3;
7426 }
7427 {
7428 if (temp7)
7429 delete arg7;
7430 }
7431 return NULL;
7432 }
7433
7434
7435 SWIGINTERN PyObject *_wrap_new_PreDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7436 PyObject *resultobj = 0;
7437 wxDialog *result = 0 ;
7438
7439 if (!SWIG_Python_UnpackTuple(args,"new_PreDialog",0,0,0)) SWIG_fail;
7440 {
7441 if (!wxPyCheckForApp()) SWIG_fail;
7442 PyThreadState* __tstate = wxPyBeginAllowThreads();
7443 result = (wxDialog *)new wxDialog();
7444 wxPyEndAllowThreads(__tstate);
7445 if (PyErr_Occurred()) SWIG_fail;
7446 }
7447 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_OWN | 0 );
7448 return resultobj;
7449 fail:
7450 return NULL;
7451 }
7452
7453
7454 SWIGINTERN PyObject *_wrap_Dialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7455 PyObject *resultobj = 0;
7456 wxDialog *arg1 = (wxDialog *) 0 ;
7457 wxWindow *arg2 = (wxWindow *) 0 ;
7458 int arg3 = (int) (int)-1 ;
7459 wxString const &arg4_defvalue = wxPyEmptyString ;
7460 wxString *arg4 = (wxString *) &arg4_defvalue ;
7461 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7462 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7463 wxSize const &arg6_defvalue = wxDefaultSize ;
7464 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7465 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
7466 wxString const &arg8_defvalue = wxPyDialogNameStr ;
7467 wxString *arg8 = (wxString *) &arg8_defvalue ;
7468 bool result;
7469 void *argp1 = 0 ;
7470 int res1 = 0 ;
7471 void *argp2 = 0 ;
7472 int res2 = 0 ;
7473 int val3 ;
7474 int ecode3 = 0 ;
7475 bool temp4 = false ;
7476 wxPoint temp5 ;
7477 wxSize temp6 ;
7478 long val7 ;
7479 int ecode7 = 0 ;
7480 bool temp8 = false ;
7481 PyObject * obj0 = 0 ;
7482 PyObject * obj1 = 0 ;
7483 PyObject * obj2 = 0 ;
7484 PyObject * obj3 = 0 ;
7485 PyObject * obj4 = 0 ;
7486 PyObject * obj5 = 0 ;
7487 PyObject * obj6 = 0 ;
7488 PyObject * obj7 = 0 ;
7489 char * kwnames[] = {
7490 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7491 };
7492
7493 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7494 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7495 if (!SWIG_IsOK(res1)) {
7496 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7497 }
7498 arg1 = reinterpret_cast< wxDialog * >(argp1);
7499 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7500 if (!SWIG_IsOK(res2)) {
7501 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7502 }
7503 arg2 = reinterpret_cast< wxWindow * >(argp2);
7504 if (obj2) {
7505 ecode3 = SWIG_AsVal_int(obj2, &val3);
7506 if (!SWIG_IsOK(ecode3)) {
7507 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7508 }
7509 arg3 = static_cast< int >(val3);
7510 }
7511 if (obj3) {
7512 {
7513 arg4 = wxString_in_helper(obj3);
7514 if (arg4 == NULL) SWIG_fail;
7515 temp4 = true;
7516 }
7517 }
7518 if (obj4) {
7519 {
7520 arg5 = &temp5;
7521 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7522 }
7523 }
7524 if (obj5) {
7525 {
7526 arg6 = &temp6;
7527 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7528 }
7529 }
7530 if (obj6) {
7531 ecode7 = SWIG_AsVal_long(obj6, &val7);
7532 if (!SWIG_IsOK(ecode7)) {
7533 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7534 }
7535 arg7 = static_cast< long >(val7);
7536 }
7537 if (obj7) {
7538 {
7539 arg8 = wxString_in_helper(obj7);
7540 if (arg8 == NULL) SWIG_fail;
7541 temp8 = true;
7542 }
7543 }
7544 {
7545 PyThreadState* __tstate = wxPyBeginAllowThreads();
7546 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7547 wxPyEndAllowThreads(__tstate);
7548 if (PyErr_Occurred()) SWIG_fail;
7549 }
7550 {
7551 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7552 }
7553 {
7554 if (temp4)
7555 delete arg4;
7556 }
7557 {
7558 if (temp8)
7559 delete arg8;
7560 }
7561 return resultobj;
7562 fail:
7563 {
7564 if (temp4)
7565 delete arg4;
7566 }
7567 {
7568 if (temp8)
7569 delete arg8;
7570 }
7571 return NULL;
7572 }
7573
7574
7575 SWIGINTERN PyObject *_wrap_Dialog_SetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7576 PyObject *resultobj = 0;
7577 wxDialog *arg1 = (wxDialog *) 0 ;
7578 int arg2 ;
7579 void *argp1 = 0 ;
7580 int res1 = 0 ;
7581 int val2 ;
7582 int ecode2 = 0 ;
7583 PyObject * obj0 = 0 ;
7584 PyObject * obj1 = 0 ;
7585 char * kwnames[] = {
7586 (char *) "self",(char *) "returnCode", NULL
7587 };
7588
7589 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) SWIG_fail;
7590 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7591 if (!SWIG_IsOK(res1)) {
7592 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7593 }
7594 arg1 = reinterpret_cast< wxDialog * >(argp1);
7595 ecode2 = SWIG_AsVal_int(obj1, &val2);
7596 if (!SWIG_IsOK(ecode2)) {
7597 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7598 }
7599 arg2 = static_cast< int >(val2);
7600 {
7601 PyThreadState* __tstate = wxPyBeginAllowThreads();
7602 (arg1)->SetReturnCode(arg2);
7603 wxPyEndAllowThreads(__tstate);
7604 if (PyErr_Occurred()) SWIG_fail;
7605 }
7606 resultobj = SWIG_Py_Void();
7607 return resultobj;
7608 fail:
7609 return NULL;
7610 }
7611
7612
7613 SWIGINTERN PyObject *_wrap_Dialog_GetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7614 PyObject *resultobj = 0;
7615 wxDialog *arg1 = (wxDialog *) 0 ;
7616 int result;
7617 void *argp1 = 0 ;
7618 int res1 = 0 ;
7619 PyObject *swig_obj[1] ;
7620
7621 if (!args) SWIG_fail;
7622 swig_obj[0] = args;
7623 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7624 if (!SWIG_IsOK(res1)) {
7625 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7626 }
7627 arg1 = reinterpret_cast< wxDialog * >(argp1);
7628 {
7629 PyThreadState* __tstate = wxPyBeginAllowThreads();
7630 result = (int)((wxDialog const *)arg1)->GetReturnCode();
7631 wxPyEndAllowThreads(__tstate);
7632 if (PyErr_Occurred()) SWIG_fail;
7633 }
7634 resultobj = SWIG_From_int(static_cast< int >(result));
7635 return resultobj;
7636 fail:
7637 return NULL;
7638 }
7639
7640
7641 SWIGINTERN PyObject *_wrap_Dialog_SetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7642 PyObject *resultobj = 0;
7643 wxDialog *arg1 = (wxDialog *) 0 ;
7644 int arg2 ;
7645 void *argp1 = 0 ;
7646 int res1 = 0 ;
7647 int val2 ;
7648 int ecode2 = 0 ;
7649 PyObject * obj0 = 0 ;
7650 PyObject * obj1 = 0 ;
7651 char * kwnames[] = {
7652 (char *) "self",(char *) "affirmativeId", NULL
7653 };
7654
7655 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetAffirmativeId",kwnames,&obj0,&obj1)) SWIG_fail;
7656 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7657 if (!SWIG_IsOK(res1)) {
7658 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7659 }
7660 arg1 = reinterpret_cast< wxDialog * >(argp1);
7661 ecode2 = SWIG_AsVal_int(obj1, &val2);
7662 if (!SWIG_IsOK(ecode2)) {
7663 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7664 }
7665 arg2 = static_cast< int >(val2);
7666 {
7667 PyThreadState* __tstate = wxPyBeginAllowThreads();
7668 (arg1)->SetAffirmativeId(arg2);
7669 wxPyEndAllowThreads(__tstate);
7670 if (PyErr_Occurred()) SWIG_fail;
7671 }
7672 resultobj = SWIG_Py_Void();
7673 return resultobj;
7674 fail:
7675 return NULL;
7676 }
7677
7678
7679 SWIGINTERN PyObject *_wrap_Dialog_GetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7680 PyObject *resultobj = 0;
7681 wxDialog *arg1 = (wxDialog *) 0 ;
7682 int result;
7683 void *argp1 = 0 ;
7684 int res1 = 0 ;
7685 PyObject *swig_obj[1] ;
7686
7687 if (!args) SWIG_fail;
7688 swig_obj[0] = args;
7689 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7690 if (!SWIG_IsOK(res1)) {
7691 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7692 }
7693 arg1 = reinterpret_cast< wxDialog * >(argp1);
7694 {
7695 PyThreadState* __tstate = wxPyBeginAllowThreads();
7696 result = (int)((wxDialog const *)arg1)->GetAffirmativeId();
7697 wxPyEndAllowThreads(__tstate);
7698 if (PyErr_Occurred()) SWIG_fail;
7699 }
7700 resultobj = SWIG_From_int(static_cast< int >(result));
7701 return resultobj;
7702 fail:
7703 return NULL;
7704 }
7705
7706
7707 SWIGINTERN PyObject *_wrap_Dialog_SetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7708 PyObject *resultobj = 0;
7709 wxDialog *arg1 = (wxDialog *) 0 ;
7710 int arg2 ;
7711 void *argp1 = 0 ;
7712 int res1 = 0 ;
7713 int val2 ;
7714 int ecode2 = 0 ;
7715 PyObject * obj0 = 0 ;
7716 PyObject * obj1 = 0 ;
7717 char * kwnames[] = {
7718 (char *) "self",(char *) "escapeId", NULL
7719 };
7720
7721 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetEscapeId",kwnames,&obj0,&obj1)) SWIG_fail;
7722 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7723 if (!SWIG_IsOK(res1)) {
7724 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7725 }
7726 arg1 = reinterpret_cast< wxDialog * >(argp1);
7727 ecode2 = SWIG_AsVal_int(obj1, &val2);
7728 if (!SWIG_IsOK(ecode2)) {
7729 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7730 }
7731 arg2 = static_cast< int >(val2);
7732 {
7733 PyThreadState* __tstate = wxPyBeginAllowThreads();
7734 (arg1)->SetEscapeId(arg2);
7735 wxPyEndAllowThreads(__tstate);
7736 if (PyErr_Occurred()) SWIG_fail;
7737 }
7738 resultobj = SWIG_Py_Void();
7739 return resultobj;
7740 fail:
7741 return NULL;
7742 }
7743
7744
7745 SWIGINTERN PyObject *_wrap_Dialog_GetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7746 PyObject *resultobj = 0;
7747 wxDialog *arg1 = (wxDialog *) 0 ;
7748 int result;
7749 void *argp1 = 0 ;
7750 int res1 = 0 ;
7751 PyObject *swig_obj[1] ;
7752
7753 if (!args) SWIG_fail;
7754 swig_obj[0] = args;
7755 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7756 if (!SWIG_IsOK(res1)) {
7757 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7758 }
7759 arg1 = reinterpret_cast< wxDialog * >(argp1);
7760 {
7761 PyThreadState* __tstate = wxPyBeginAllowThreads();
7762 result = (int)((wxDialog const *)arg1)->GetEscapeId();
7763 wxPyEndAllowThreads(__tstate);
7764 if (PyErr_Occurred()) SWIG_fail;
7765 }
7766 resultobj = SWIG_From_int(static_cast< int >(result));
7767 return resultobj;
7768 fail:
7769 return NULL;
7770 }
7771
7772
7773 SWIGINTERN PyObject *_wrap_Dialog_CreateTextSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7774 PyObject *resultobj = 0;
7775 wxDialog *arg1 = (wxDialog *) 0 ;
7776 wxString *arg2 = 0 ;
7777 wxSizer *result = 0 ;
7778 void *argp1 = 0 ;
7779 int res1 = 0 ;
7780 bool temp2 = false ;
7781 PyObject * obj0 = 0 ;
7782 PyObject * obj1 = 0 ;
7783 char * kwnames[] = {
7784 (char *) "self",(char *) "message", NULL
7785 };
7786
7787 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7788 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7789 if (!SWIG_IsOK(res1)) {
7790 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7791 }
7792 arg1 = reinterpret_cast< wxDialog * >(argp1);
7793 {
7794 arg2 = wxString_in_helper(obj1);
7795 if (arg2 == NULL) SWIG_fail;
7796 temp2 = true;
7797 }
7798 {
7799 PyThreadState* __tstate = wxPyBeginAllowThreads();
7800 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
7801 wxPyEndAllowThreads(__tstate);
7802 if (PyErr_Occurred()) SWIG_fail;
7803 }
7804 {
7805 resultobj = wxPyMake_wxObject(result, (bool)0);
7806 }
7807 {
7808 if (temp2)
7809 delete arg2;
7810 }
7811 return resultobj;
7812 fail:
7813 {
7814 if (temp2)
7815 delete arg2;
7816 }
7817 return NULL;
7818 }
7819
7820
7821 SWIGINTERN PyObject *_wrap_Dialog__CreateButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7822 PyObject *resultobj = 0;
7823 wxDialog *arg1 = (wxDialog *) 0 ;
7824 long arg2 ;
7825 wxSizer *result = 0 ;
7826 void *argp1 = 0 ;
7827 int res1 = 0 ;
7828 long val2 ;
7829 int ecode2 = 0 ;
7830 PyObject * obj0 = 0 ;
7831 PyObject * obj1 = 0 ;
7832 char * kwnames[] = {
7833 (char *) "self",(char *) "flags", NULL
7834 };
7835
7836 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog__CreateButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7837 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7838 if (!SWIG_IsOK(res1)) {
7839 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7840 }
7841 arg1 = reinterpret_cast< wxDialog * >(argp1);
7842 ecode2 = SWIG_AsVal_long(obj1, &val2);
7843 if (!SWIG_IsOK(ecode2)) {
7844 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7845 }
7846 arg2 = static_cast< long >(val2);
7847 {
7848 PyThreadState* __tstate = wxPyBeginAllowThreads();
7849 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
7850 wxPyEndAllowThreads(__tstate);
7851 if (PyErr_Occurred()) SWIG_fail;
7852 }
7853 {
7854 resultobj = wxPyMake_wxObject(result, (bool)0);
7855 }
7856 return resultobj;
7857 fail:
7858 return NULL;
7859 }
7860
7861
7862 SWIGINTERN PyObject *_wrap_Dialog_CreateSeparatedButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7863 PyObject *resultobj = 0;
7864 wxDialog *arg1 = (wxDialog *) 0 ;
7865 long arg2 ;
7866 wxSizer *result = 0 ;
7867 void *argp1 = 0 ;
7868 int res1 = 0 ;
7869 long val2 ;
7870 int ecode2 = 0 ;
7871 PyObject * obj0 = 0 ;
7872 PyObject * obj1 = 0 ;
7873 char * kwnames[] = {
7874 (char *) "self",(char *) "flags", NULL
7875 };
7876
7877 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateSeparatedButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7878 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7879 if (!SWIG_IsOK(res1)) {
7880 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7881 }
7882 arg1 = reinterpret_cast< wxDialog * >(argp1);
7883 ecode2 = SWIG_AsVal_long(obj1, &val2);
7884 if (!SWIG_IsOK(ecode2)) {
7885 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "2"" of type '" "long""'");
7886 }
7887 arg2 = static_cast< long >(val2);
7888 {
7889 PyThreadState* __tstate = wxPyBeginAllowThreads();
7890 result = (wxSizer *)(arg1)->CreateSeparatedButtonSizer(arg2);
7891 wxPyEndAllowThreads(__tstate);
7892 if (PyErr_Occurred()) SWIG_fail;
7893 }
7894 {
7895 resultobj = wxPyMake_wxObject(result, (bool)0);
7896 }
7897 return resultobj;
7898 fail:
7899 return NULL;
7900 }
7901
7902
7903 SWIGINTERN PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7904 PyObject *resultobj = 0;
7905 wxDialog *arg1 = (wxDialog *) 0 ;
7906 long arg2 ;
7907 wxStdDialogButtonSizer *result = 0 ;
7908 void *argp1 = 0 ;
7909 int res1 = 0 ;
7910 long val2 ;
7911 int ecode2 = 0 ;
7912 PyObject * obj0 = 0 ;
7913 PyObject * obj1 = 0 ;
7914 char * kwnames[] = {
7915 (char *) "self",(char *) "flags", NULL
7916 };
7917
7918 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7919 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7920 if (!SWIG_IsOK(res1)) {
7921 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7922 }
7923 arg1 = reinterpret_cast< wxDialog * >(argp1);
7924 ecode2 = SWIG_AsVal_long(obj1, &val2);
7925 if (!SWIG_IsOK(ecode2)) {
7926 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7927 }
7928 arg2 = static_cast< long >(val2);
7929 {
7930 PyThreadState* __tstate = wxPyBeginAllowThreads();
7931 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
7932 wxPyEndAllowThreads(__tstate);
7933 if (PyErr_Occurred()) SWIG_fail;
7934 }
7935 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0 | 0 );
7936 return resultobj;
7937 fail:
7938 return NULL;
7939 }
7940
7941
7942 SWIGINTERN PyObject *_wrap_Dialog_IsModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7943 PyObject *resultobj = 0;
7944 wxDialog *arg1 = (wxDialog *) 0 ;
7945 bool result;
7946 void *argp1 = 0 ;
7947 int res1 = 0 ;
7948 PyObject *swig_obj[1] ;
7949
7950 if (!args) SWIG_fail;
7951 swig_obj[0] = args;
7952 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7953 if (!SWIG_IsOK(res1)) {
7954 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7955 }
7956 arg1 = reinterpret_cast< wxDialog * >(argp1);
7957 {
7958 PyThreadState* __tstate = wxPyBeginAllowThreads();
7959 result = (bool)((wxDialog const *)arg1)->IsModal();
7960 wxPyEndAllowThreads(__tstate);
7961 if (PyErr_Occurred()) SWIG_fail;
7962 }
7963 {
7964 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7965 }
7966 return resultobj;
7967 fail:
7968 return NULL;
7969 }
7970
7971
7972 SWIGINTERN PyObject *_wrap_Dialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7973 PyObject *resultobj = 0;
7974 wxDialog *arg1 = (wxDialog *) 0 ;
7975 int result;
7976 void *argp1 = 0 ;
7977 int res1 = 0 ;
7978 PyObject *swig_obj[1] ;
7979
7980 if (!args) SWIG_fail;
7981 swig_obj[0] = args;
7982 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7983 if (!SWIG_IsOK(res1)) {
7984 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7985 }
7986 arg1 = reinterpret_cast< wxDialog * >(argp1);
7987 {
7988 PyThreadState* __tstate = wxPyBeginAllowThreads();
7989 result = (int)(arg1)->ShowModal();
7990 wxPyEndAllowThreads(__tstate);
7991 if (PyErr_Occurred()) SWIG_fail;
7992 }
7993 resultobj = SWIG_From_int(static_cast< int >(result));
7994 return resultobj;
7995 fail:
7996 return NULL;
7997 }
7998
7999
8000 SWIGINTERN PyObject *_wrap_Dialog_EndModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8001 PyObject *resultobj = 0;
8002 wxDialog *arg1 = (wxDialog *) 0 ;
8003 int arg2 ;
8004 void *argp1 = 0 ;
8005 int res1 = 0 ;
8006 int val2 ;
8007 int ecode2 = 0 ;
8008 PyObject * obj0 = 0 ;
8009 PyObject * obj1 = 0 ;
8010 char * kwnames[] = {
8011 (char *) "self",(char *) "retCode", NULL
8012 };
8013
8014 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) SWIG_fail;
8015 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
8016 if (!SWIG_IsOK(res1)) {
8017 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
8018 }
8019 arg1 = reinterpret_cast< wxDialog * >(argp1);
8020 ecode2 = SWIG_AsVal_int(obj1, &val2);
8021 if (!SWIG_IsOK(ecode2)) {
8022 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
8023 }
8024 arg2 = static_cast< int >(val2);
8025 {
8026 PyThreadState* __tstate = wxPyBeginAllowThreads();
8027 (arg1)->EndModal(arg2);
8028 wxPyEndAllowThreads(__tstate);
8029 if (PyErr_Occurred()) SWIG_fail;
8030 }
8031 resultobj = SWIG_Py_Void();
8032 return resultobj;
8033 fail:
8034 return NULL;
8035 }
8036
8037
8038 SWIGINTERN PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8039 PyObject *resultobj = 0;
8040 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8041 SwigValueWrapper<wxVisualAttributes > result;
8042 int val1 ;
8043 int ecode1 = 0 ;
8044 PyObject * obj0 = 0 ;
8045 char * kwnames[] = {
8046 (char *) "variant", NULL
8047 };
8048
8049 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
8050 if (obj0) {
8051 ecode1 = SWIG_AsVal_int(obj0, &val1);
8052 if (!SWIG_IsOK(ecode1)) {
8053 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8054 }
8055 arg1 = static_cast< wxWindowVariant >(val1);
8056 }
8057 {
8058 if (!wxPyCheckForApp()) SWIG_fail;
8059 PyThreadState* __tstate = wxPyBeginAllowThreads();
8060 result = wxDialog::GetClassDefaultAttributes(arg1);
8061 wxPyEndAllowThreads(__tstate);
8062 if (PyErr_Occurred()) SWIG_fail;
8063 }
8064 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8065 return resultobj;
8066 fail:
8067 return NULL;
8068 }
8069
8070
8071 SWIGINTERN PyObject *Dialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8072 PyObject *obj;
8073 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8074 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog, SWIG_NewClientData(obj));
8075 return SWIG_Py_Void();
8076 }
8077
8078 SWIGINTERN PyObject *Dialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8079 return SWIG_Python_InitShadowInstance(args);
8080 }
8081
8082 SWIGINTERN PyObject *_wrap_new_MiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8083 PyObject *resultobj = 0;
8084 wxWindow *arg1 = (wxWindow *) 0 ;
8085 int arg2 = (int) (int)-1 ;
8086 wxString const &arg3_defvalue = wxPyEmptyString ;
8087 wxString *arg3 = (wxString *) &arg3_defvalue ;
8088 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8089 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8090 wxSize const &arg5_defvalue = wxDefaultSize ;
8091 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8092 long arg6 = (long) wxDEFAULT_MINIFRAME_STYLE ;
8093 wxString const &arg7_defvalue = wxPyFrameNameStr ;
8094 wxString *arg7 = (wxString *) &arg7_defvalue ;
8095 wxMiniFrame *result = 0 ;
8096 void *argp1 = 0 ;
8097 int res1 = 0 ;
8098 int val2 ;
8099 int ecode2 = 0 ;
8100 bool temp3 = false ;
8101 wxPoint temp4 ;
8102 wxSize temp5 ;
8103 long val6 ;
8104 int ecode6 = 0 ;
8105 bool temp7 = false ;
8106 PyObject * obj0 = 0 ;
8107 PyObject * obj1 = 0 ;
8108 PyObject * obj2 = 0 ;
8109 PyObject * obj3 = 0 ;
8110 PyObject * obj4 = 0 ;
8111 PyObject * obj5 = 0 ;
8112 PyObject * obj6 = 0 ;
8113 char * kwnames[] = {
8114 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8115 };
8116
8117 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
8118 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8119 if (!SWIG_IsOK(res1)) {
8120 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
8121 }
8122 arg1 = reinterpret_cast< wxWindow * >(argp1);
8123 if (obj1) {
8124 ecode2 = SWIG_AsVal_int(obj1, &val2);
8125 if (!SWIG_IsOK(ecode2)) {
8126 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
8127 }
8128 arg2 = static_cast< int >(val2);
8129 }
8130 if (obj2) {
8131 {
8132 arg3 = wxString_in_helper(obj2);
8133 if (arg3 == NULL) SWIG_fail;
8134 temp3 = true;
8135 }
8136 }
8137 if (obj3) {
8138 {
8139 arg4 = &temp4;
8140 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8141 }
8142 }
8143 if (obj4) {
8144 {
8145 arg5 = &temp5;
8146 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8147 }
8148 }
8149 if (obj5) {
8150 ecode6 = SWIG_AsVal_long(obj5, &val6);
8151 if (!SWIG_IsOK(ecode6)) {
8152 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
8153 }
8154 arg6 = static_cast< long >(val6);
8155 }
8156 if (obj6) {
8157 {
8158 arg7 = wxString_in_helper(obj6);
8159 if (arg7 == NULL) SWIG_fail;
8160 temp7 = true;
8161 }
8162 }
8163 {
8164 if (!wxPyCheckForApp()) SWIG_fail;
8165 PyThreadState* __tstate = wxPyBeginAllowThreads();
8166 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8167 wxPyEndAllowThreads(__tstate);
8168 if (PyErr_Occurred()) SWIG_fail;
8169 }
8170 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_NEW | 0 );
8171 {
8172 if (temp3)
8173 delete arg3;
8174 }
8175 {
8176 if (temp7)
8177 delete arg7;
8178 }
8179 return resultobj;
8180 fail:
8181 {
8182 if (temp3)
8183 delete arg3;
8184 }
8185 {
8186 if (temp7)
8187 delete arg7;
8188 }
8189 return NULL;
8190 }
8191
8192
8193 SWIGINTERN PyObject *_wrap_new_PreMiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8194 PyObject *resultobj = 0;
8195 wxMiniFrame *result = 0 ;
8196
8197 if (!SWIG_Python_UnpackTuple(args,"new_PreMiniFrame",0,0,0)) SWIG_fail;
8198 {
8199 if (!wxPyCheckForApp()) SWIG_fail;
8200 PyThreadState* __tstate = wxPyBeginAllowThreads();
8201 result = (wxMiniFrame *)new wxMiniFrame();
8202 wxPyEndAllowThreads(__tstate);
8203 if (PyErr_Occurred()) SWIG_fail;
8204 }
8205 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_OWN | 0 );
8206 return resultobj;
8207 fail:
8208 return NULL;
8209 }
8210
8211
8212 SWIGINTERN PyObject *_wrap_MiniFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8213 PyObject *resultobj = 0;
8214 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
8215 wxWindow *arg2 = (wxWindow *) 0 ;
8216 int arg3 = (int) (int)-1 ;
8217 wxString const &arg4_defvalue = wxPyEmptyString ;
8218 wxString *arg4 = (wxString *) &arg4_defvalue ;
8219 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8220 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8221 wxSize const &arg6_defvalue = wxDefaultSize ;
8222 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8223 long arg7 = (long) wxDEFAULT_MINIFRAME_STYLE ;
8224 wxString const &arg8_defvalue = wxPyFrameNameStr ;
8225 wxString *arg8 = (wxString *) &arg8_defvalue ;
8226 bool result;
8227 void *argp1 = 0 ;
8228 int res1 = 0 ;
8229 void *argp2 = 0 ;
8230 int res2 = 0 ;
8231 int val3 ;
8232 int ecode3 = 0 ;
8233 bool temp4 = false ;
8234 wxPoint temp5 ;
8235 wxSize temp6 ;
8236 long val7 ;
8237 int ecode7 = 0 ;
8238 bool temp8 = false ;
8239 PyObject * obj0 = 0 ;
8240 PyObject * obj1 = 0 ;
8241 PyObject * obj2 = 0 ;
8242 PyObject * obj3 = 0 ;
8243 PyObject * obj4 = 0 ;
8244 PyObject * obj5 = 0 ;
8245 PyObject * obj6 = 0 ;
8246 PyObject * obj7 = 0 ;
8247 char * kwnames[] = {
8248 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8249 };
8250
8251 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8252 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMiniFrame, 0 | 0 );
8253 if (!SWIG_IsOK(res1)) {
8254 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8255 }
8256 arg1 = reinterpret_cast< wxMiniFrame * >(argp1);
8257 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8258 if (!SWIG_IsOK(res2)) {
8259 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8260 }
8261 arg2 = reinterpret_cast< wxWindow * >(argp2);
8262 if (obj2) {
8263 ecode3 = SWIG_AsVal_int(obj2, &val3);
8264 if (!SWIG_IsOK(ecode3)) {
8265 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8266 }
8267 arg3 = static_cast< int >(val3);
8268 }
8269 if (obj3) {
8270 {
8271 arg4 = wxString_in_helper(obj3);
8272 if (arg4 == NULL) SWIG_fail;
8273 temp4 = true;
8274 }
8275 }
8276 if (obj4) {
8277 {
8278 arg5 = &temp5;
8279 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8280 }
8281 }
8282 if (obj5) {
8283 {
8284 arg6 = &temp6;
8285 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8286 }
8287 }
8288 if (obj6) {
8289 ecode7 = SWIG_AsVal_long(obj6, &val7);
8290 if (!SWIG_IsOK(ecode7)) {
8291 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8292 }
8293 arg7 = static_cast< long >(val7);
8294 }
8295 if (obj7) {
8296 {
8297 arg8 = wxString_in_helper(obj7);
8298 if (arg8 == NULL) SWIG_fail;
8299 temp8 = true;
8300 }
8301 }
8302 {
8303 PyThreadState* __tstate = wxPyBeginAllowThreads();
8304 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8305 wxPyEndAllowThreads(__tstate);
8306 if (PyErr_Occurred()) SWIG_fail;
8307 }
8308 {
8309 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8310 }
8311 {
8312 if (temp4)
8313 delete arg4;
8314 }
8315 {
8316 if (temp8)
8317 delete arg8;
8318 }
8319 return resultobj;
8320 fail:
8321 {
8322 if (temp4)
8323 delete arg4;
8324 }
8325 {
8326 if (temp8)
8327 delete arg8;
8328 }
8329 return NULL;
8330 }
8331
8332
8333 SWIGINTERN PyObject *MiniFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8334 PyObject *obj;
8335 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8336 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame, SWIG_NewClientData(obj));
8337 return SWIG_Py_Void();
8338 }
8339
8340 SWIGINTERN PyObject *MiniFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8341 return SWIG_Python_InitShadowInstance(args);
8342 }
8343
8344 SWIGINTERN PyObject *_wrap_new_SplashScreenWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8345 PyObject *resultobj = 0;
8346 wxBitmap *arg1 = 0 ;
8347 wxWindow *arg2 = (wxWindow *) 0 ;
8348 int arg3 ;
8349 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8350 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8351 wxSize const &arg5_defvalue = wxDefaultSize ;
8352 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8353 long arg6 = (long) wxNO_BORDER ;
8354 wxSplashScreenWindow *result = 0 ;
8355 void *argp1 = 0 ;
8356 int res1 = 0 ;
8357 void *argp2 = 0 ;
8358 int res2 = 0 ;
8359 int val3 ;
8360 int ecode3 = 0 ;
8361 wxPoint temp4 ;
8362 wxSize temp5 ;
8363 long val6 ;
8364 int ecode6 = 0 ;
8365 PyObject * obj0 = 0 ;
8366 PyObject * obj1 = 0 ;
8367 PyObject * obj2 = 0 ;
8368 PyObject * obj3 = 0 ;
8369 PyObject * obj4 = 0 ;
8370 PyObject * obj5 = 0 ;
8371 char * kwnames[] = {
8372 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8373 };
8374
8375 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
8376 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8377 if (!SWIG_IsOK(res1)) {
8378 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8379 }
8380 if (!argp1) {
8381 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8382 }
8383 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8384 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8385 if (!SWIG_IsOK(res2)) {
8386 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8387 }
8388 arg2 = reinterpret_cast< wxWindow * >(argp2);
8389 ecode3 = SWIG_AsVal_int(obj2, &val3);
8390 if (!SWIG_IsOK(ecode3)) {
8391 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8392 }
8393 arg3 = static_cast< int >(val3);
8394 if (obj3) {
8395 {
8396 arg4 = &temp4;
8397 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8398 }
8399 }
8400 if (obj4) {
8401 {
8402 arg5 = &temp5;
8403 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8404 }
8405 }
8406 if (obj5) {
8407 ecode6 = SWIG_AsVal_long(obj5, &val6);
8408 if (!SWIG_IsOK(ecode6)) {
8409 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8410 }
8411 arg6 = static_cast< long >(val6);
8412 }
8413 {
8414 if (!wxPyCheckForApp()) SWIG_fail;
8415 PyThreadState* __tstate = wxPyBeginAllowThreads();
8416 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
8417 wxPyEndAllowThreads(__tstate);
8418 if (PyErr_Occurred()) SWIG_fail;
8419 }
8420 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_NEW | 0 );
8421 return resultobj;
8422 fail:
8423 return NULL;
8424 }
8425
8426
8427 SWIGINTERN PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8428 PyObject *resultobj = 0;
8429 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8430 wxBitmap *arg2 = 0 ;
8431 void *argp1 = 0 ;
8432 int res1 = 0 ;
8433 void *argp2 = 0 ;
8434 int res2 = 0 ;
8435 PyObject * obj0 = 0 ;
8436 PyObject * obj1 = 0 ;
8437 char * kwnames[] = {
8438 (char *) "self",(char *) "bitmap", NULL
8439 };
8440
8441 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
8442 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8443 if (!SWIG_IsOK(res1)) {
8444 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8445 }
8446 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8447 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
8448 if (!SWIG_IsOK(res2)) {
8449 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8450 }
8451 if (!argp2) {
8452 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8453 }
8454 arg2 = reinterpret_cast< wxBitmap * >(argp2);
8455 {
8456 PyThreadState* __tstate = wxPyBeginAllowThreads();
8457 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8458 wxPyEndAllowThreads(__tstate);
8459 if (PyErr_Occurred()) SWIG_fail;
8460 }
8461 resultobj = SWIG_Py_Void();
8462 return resultobj;
8463 fail:
8464 return NULL;
8465 }
8466
8467
8468 SWIGINTERN PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8469 PyObject *resultobj = 0;
8470 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8471 wxBitmap *result = 0 ;
8472 void *argp1 = 0 ;
8473 int res1 = 0 ;
8474 PyObject *swig_obj[1] ;
8475
8476 if (!args) SWIG_fail;
8477 swig_obj[0] = args;
8478 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8479 if (!SWIG_IsOK(res1)) {
8480 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8481 }
8482 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8483 {
8484 PyThreadState* __tstate = wxPyBeginAllowThreads();
8485 {
8486 wxBitmap &_result_ref = (arg1)->GetBitmap();
8487 result = (wxBitmap *) &_result_ref;
8488 }
8489 wxPyEndAllowThreads(__tstate);
8490 if (PyErr_Occurred()) SWIG_fail;
8491 }
8492 {
8493 wxBitmap* resultptr = new wxBitmap(*result);
8494 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
8495 }
8496 return resultobj;
8497 fail:
8498 return NULL;
8499 }
8500
8501
8502 SWIGINTERN PyObject *SplashScreenWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8503 PyObject *obj;
8504 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8505 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow, SWIG_NewClientData(obj));
8506 return SWIG_Py_Void();
8507 }
8508
8509 SWIGINTERN PyObject *SplashScreenWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8510 return SWIG_Python_InitShadowInstance(args);
8511 }
8512
8513 SWIGINTERN PyObject *_wrap_new_SplashScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8514 PyObject *resultobj = 0;
8515 wxBitmap *arg1 = 0 ;
8516 long arg2 ;
8517 int arg3 ;
8518 wxWindow *arg4 = (wxWindow *) 0 ;
8519 int arg5 = (int) -1 ;
8520 wxPoint const &arg6_defvalue = wxDefaultPosition ;
8521 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
8522 wxSize const &arg7_defvalue = wxDefaultSize ;
8523 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
8524 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
8525 wxSplashScreen *result = 0 ;
8526 void *argp1 = 0 ;
8527 int res1 = 0 ;
8528 long val2 ;
8529 int ecode2 = 0 ;
8530 int val3 ;
8531 int ecode3 = 0 ;
8532 void *argp4 = 0 ;
8533 int res4 = 0 ;
8534 int val5 ;
8535 int ecode5 = 0 ;
8536 wxPoint temp6 ;
8537 wxSize temp7 ;
8538 long val8 ;
8539 int ecode8 = 0 ;
8540 PyObject * obj0 = 0 ;
8541 PyObject * obj1 = 0 ;
8542 PyObject * obj2 = 0 ;
8543 PyObject * obj3 = 0 ;
8544 PyObject * obj4 = 0 ;
8545 PyObject * obj5 = 0 ;
8546 PyObject * obj6 = 0 ;
8547 PyObject * obj7 = 0 ;
8548 char * kwnames[] = {
8549 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8550 };
8551
8552 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8553 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8554 if (!SWIG_IsOK(res1)) {
8555 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8556 }
8557 if (!argp1) {
8558 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8559 }
8560 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8561 ecode2 = SWIG_AsVal_long(obj1, &val2);
8562 if (!SWIG_IsOK(ecode2)) {
8563 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8564 }
8565 arg2 = static_cast< long >(val2);
8566 ecode3 = SWIG_AsVal_int(obj2, &val3);
8567 if (!SWIG_IsOK(ecode3)) {
8568 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8569 }
8570 arg3 = static_cast< int >(val3);
8571 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
8572 if (!SWIG_IsOK(res4)) {
8573 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8574 }
8575 arg4 = reinterpret_cast< wxWindow * >(argp4);
8576 if (obj4) {
8577 ecode5 = SWIG_AsVal_int(obj4, &val5);
8578 if (!SWIG_IsOK(ecode5)) {
8579 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8580 }
8581 arg5 = static_cast< int >(val5);
8582 }
8583 if (obj5) {
8584 {
8585 arg6 = &temp6;
8586 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
8587 }
8588 }
8589 if (obj6) {
8590 {
8591 arg7 = &temp7;
8592 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
8593 }
8594 }
8595 if (obj7) {
8596 ecode8 = SWIG_AsVal_long(obj7, &val8);
8597 if (!SWIG_IsOK(ecode8)) {
8598 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8599 }
8600 arg8 = static_cast< long >(val8);
8601 }
8602 {
8603 if (!wxPyCheckForApp()) SWIG_fail;
8604 PyThreadState* __tstate = wxPyBeginAllowThreads();
8605 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
8606 wxPyEndAllowThreads(__tstate);
8607 if (PyErr_Occurred()) SWIG_fail;
8608 }
8609 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_NEW | 0 );
8610 return resultobj;
8611 fail:
8612 return NULL;
8613 }
8614
8615
8616 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8617 PyObject *resultobj = 0;
8618 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8619 long result;
8620 void *argp1 = 0 ;
8621 int res1 = 0 ;
8622 PyObject *swig_obj[1] ;
8623
8624 if (!args) SWIG_fail;
8625 swig_obj[0] = args;
8626 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8627 if (!SWIG_IsOK(res1)) {
8628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8629 }
8630 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8631 {
8632 PyThreadState* __tstate = wxPyBeginAllowThreads();
8633 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
8634 wxPyEndAllowThreads(__tstate);
8635 if (PyErr_Occurred()) SWIG_fail;
8636 }
8637 resultobj = SWIG_From_long(static_cast< long >(result));
8638 return resultobj;
8639 fail:
8640 return NULL;
8641 }
8642
8643
8644 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8645 PyObject *resultobj = 0;
8646 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8647 wxSplashScreenWindow *result = 0 ;
8648 void *argp1 = 0 ;
8649 int res1 = 0 ;
8650 PyObject *swig_obj[1] ;
8651
8652 if (!args) SWIG_fail;
8653 swig_obj[0] = args;
8654 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8655 if (!SWIG_IsOK(res1)) {
8656 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8657 }
8658 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8659 {
8660 PyThreadState* __tstate = wxPyBeginAllowThreads();
8661 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
8662 wxPyEndAllowThreads(__tstate);
8663 if (PyErr_Occurred()) SWIG_fail;
8664 }
8665 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8666 return resultobj;
8667 fail:
8668 return NULL;
8669 }
8670
8671
8672 SWIGINTERN PyObject *_wrap_SplashScreen_GetTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8673 PyObject *resultobj = 0;
8674 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8675 int result;
8676 void *argp1 = 0 ;
8677 int res1 = 0 ;
8678 PyObject *swig_obj[1] ;
8679
8680 if (!args) SWIG_fail;
8681 swig_obj[0] = args;
8682 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8683 if (!SWIG_IsOK(res1)) {
8684 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8685 }
8686 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8687 {
8688 PyThreadState* __tstate = wxPyBeginAllowThreads();
8689 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
8690 wxPyEndAllowThreads(__tstate);
8691 if (PyErr_Occurred()) SWIG_fail;
8692 }
8693 resultobj = SWIG_From_int(static_cast< int >(result));
8694 return resultobj;
8695 fail:
8696 return NULL;
8697 }
8698
8699
8700 SWIGINTERN PyObject *SplashScreen_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8701 PyObject *obj;
8702 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8703 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen, SWIG_NewClientData(obj));
8704 return SWIG_Py_Void();
8705 }
8706
8707 SWIGINTERN PyObject *SplashScreen_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8708 return SWIG_Python_InitShadowInstance(args);
8709 }
8710
8711 SWIGINTERN PyObject *_wrap_new_StatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8712 PyObject *resultobj = 0;
8713 wxWindow *arg1 = (wxWindow *) 0 ;
8714 int arg2 = (int) -1 ;
8715 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
8716 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
8717 wxString *arg4 = (wxString *) &arg4_defvalue ;
8718 wxStatusBar *result = 0 ;
8719 void *argp1 = 0 ;
8720 int res1 = 0 ;
8721 int val2 ;
8722 int ecode2 = 0 ;
8723 long val3 ;
8724 int ecode3 = 0 ;
8725 bool temp4 = false ;
8726 PyObject * obj0 = 0 ;
8727 PyObject * obj1 = 0 ;
8728 PyObject * obj2 = 0 ;
8729 PyObject * obj3 = 0 ;
8730 char * kwnames[] = {
8731 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8732 };
8733
8734 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
8735 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8736 if (!SWIG_IsOK(res1)) {
8737 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8738 }
8739 arg1 = reinterpret_cast< wxWindow * >(argp1);
8740 if (obj1) {
8741 ecode2 = SWIG_AsVal_int(obj1, &val2);
8742 if (!SWIG_IsOK(ecode2)) {
8743 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8744 }
8745 arg2 = static_cast< int >(val2);
8746 }
8747 if (obj2) {
8748 ecode3 = SWIG_AsVal_long(obj2, &val3);
8749 if (!SWIG_IsOK(ecode3)) {
8750 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8751 }
8752 arg3 = static_cast< long >(val3);
8753 }
8754 if (obj3) {
8755 {
8756 arg4 = wxString_in_helper(obj3);
8757 if (arg4 == NULL) SWIG_fail;
8758 temp4 = true;
8759 }
8760 }
8761 {
8762 if (!wxPyCheckForApp()) SWIG_fail;
8763 PyThreadState* __tstate = wxPyBeginAllowThreads();
8764 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
8765 wxPyEndAllowThreads(__tstate);
8766 if (PyErr_Occurred()) SWIG_fail;
8767 }
8768 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_NEW | 0 );
8769 {
8770 if (temp4)
8771 delete arg4;
8772 }
8773 return resultobj;
8774 fail:
8775 {
8776 if (temp4)
8777 delete arg4;
8778 }
8779 return NULL;
8780 }
8781
8782
8783 SWIGINTERN PyObject *_wrap_new_PreStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8784 PyObject *resultobj = 0;
8785 wxStatusBar *result = 0 ;
8786
8787 if (!SWIG_Python_UnpackTuple(args,"new_PreStatusBar",0,0,0)) SWIG_fail;
8788 {
8789 if (!wxPyCheckForApp()) SWIG_fail;
8790 PyThreadState* __tstate = wxPyBeginAllowThreads();
8791 result = (wxStatusBar *)new wxStatusBar();
8792 wxPyEndAllowThreads(__tstate);
8793 if (PyErr_Occurred()) SWIG_fail;
8794 }
8795 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_OWN | 0 );
8796 return resultobj;
8797 fail:
8798 return NULL;
8799 }
8800
8801
8802 SWIGINTERN PyObject *_wrap_StatusBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8803 PyObject *resultobj = 0;
8804 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8805 wxWindow *arg2 = (wxWindow *) 0 ;
8806 int arg3 = (int) -1 ;
8807 long arg4 = (long) wxST_SIZEGRIP ;
8808 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
8809 wxString *arg5 = (wxString *) &arg5_defvalue ;
8810 bool result;
8811 void *argp1 = 0 ;
8812 int res1 = 0 ;
8813 void *argp2 = 0 ;
8814 int res2 = 0 ;
8815 int val3 ;
8816 int ecode3 = 0 ;
8817 long val4 ;
8818 int ecode4 = 0 ;
8819 bool temp5 = false ;
8820 PyObject * obj0 = 0 ;
8821 PyObject * obj1 = 0 ;
8822 PyObject * obj2 = 0 ;
8823 PyObject * obj3 = 0 ;
8824 PyObject * obj4 = 0 ;
8825 char * kwnames[] = {
8826 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8827 };
8828
8829 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
8830 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8831 if (!SWIG_IsOK(res1)) {
8832 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8833 }
8834 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8835 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8836 if (!SWIG_IsOK(res2)) {
8837 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8838 }
8839 arg2 = reinterpret_cast< wxWindow * >(argp2);
8840 if (obj2) {
8841 ecode3 = SWIG_AsVal_int(obj2, &val3);
8842 if (!SWIG_IsOK(ecode3)) {
8843 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8844 }
8845 arg3 = static_cast< int >(val3);
8846 }
8847 if (obj3) {
8848 ecode4 = SWIG_AsVal_long(obj3, &val4);
8849 if (!SWIG_IsOK(ecode4)) {
8850 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8851 }
8852 arg4 = static_cast< long >(val4);
8853 }
8854 if (obj4) {
8855 {
8856 arg5 = wxString_in_helper(obj4);
8857 if (arg5 == NULL) SWIG_fail;
8858 temp5 = true;
8859 }
8860 }
8861 {
8862 PyThreadState* __tstate = wxPyBeginAllowThreads();
8863 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
8864 wxPyEndAllowThreads(__tstate);
8865 if (PyErr_Occurred()) SWIG_fail;
8866 }
8867 {
8868 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8869 }
8870 {
8871 if (temp5)
8872 delete arg5;
8873 }
8874 return resultobj;
8875 fail:
8876 {
8877 if (temp5)
8878 delete arg5;
8879 }
8880 return NULL;
8881 }
8882
8883
8884 SWIGINTERN PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8885 PyObject *resultobj = 0;
8886 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8887 int arg2 = (int) 1 ;
8888 void *argp1 = 0 ;
8889 int res1 = 0 ;
8890 int val2 ;
8891 int ecode2 = 0 ;
8892 PyObject * obj0 = 0 ;
8893 PyObject * obj1 = 0 ;
8894 char * kwnames[] = {
8895 (char *) "self",(char *) "number", NULL
8896 };
8897
8898 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) SWIG_fail;
8899 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8900 if (!SWIG_IsOK(res1)) {
8901 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8902 }
8903 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8904 if (obj1) {
8905 ecode2 = SWIG_AsVal_int(obj1, &val2);
8906 if (!SWIG_IsOK(ecode2)) {
8907 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8908 }
8909 arg2 = static_cast< int >(val2);
8910 }
8911 {
8912 PyThreadState* __tstate = wxPyBeginAllowThreads();
8913 (arg1)->SetFieldsCount(arg2);
8914 wxPyEndAllowThreads(__tstate);
8915 if (PyErr_Occurred()) SWIG_fail;
8916 }
8917 resultobj = SWIG_Py_Void();
8918 return resultobj;
8919 fail:
8920 return NULL;
8921 }
8922
8923
8924 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8925 PyObject *resultobj = 0;
8926 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8927 int result;
8928 void *argp1 = 0 ;
8929 int res1 = 0 ;
8930 PyObject *swig_obj[1] ;
8931
8932 if (!args) SWIG_fail;
8933 swig_obj[0] = args;
8934 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8935 if (!SWIG_IsOK(res1)) {
8936 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8937 }
8938 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8939 {
8940 PyThreadState* __tstate = wxPyBeginAllowThreads();
8941 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
8942 wxPyEndAllowThreads(__tstate);
8943 if (PyErr_Occurred()) SWIG_fail;
8944 }
8945 resultobj = SWIG_From_int(static_cast< int >(result));
8946 return resultobj;
8947 fail:
8948 return NULL;
8949 }
8950
8951
8952 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8953 PyObject *resultobj = 0;
8954 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8955 wxString *arg2 = 0 ;
8956 int arg3 = (int) 0 ;
8957 void *argp1 = 0 ;
8958 int res1 = 0 ;
8959 bool temp2 = false ;
8960 int val3 ;
8961 int ecode3 = 0 ;
8962 PyObject * obj0 = 0 ;
8963 PyObject * obj1 = 0 ;
8964 PyObject * obj2 = 0 ;
8965 char * kwnames[] = {
8966 (char *) "self",(char *) "text",(char *) "number", NULL
8967 };
8968
8969 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8970 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8971 if (!SWIG_IsOK(res1)) {
8972 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8973 }
8974 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8975 {
8976 arg2 = wxString_in_helper(obj1);
8977 if (arg2 == NULL) SWIG_fail;
8978 temp2 = true;
8979 }
8980 if (obj2) {
8981 ecode3 = SWIG_AsVal_int(obj2, &val3);
8982 if (!SWIG_IsOK(ecode3)) {
8983 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8984 }
8985 arg3 = static_cast< int >(val3);
8986 }
8987 {
8988 PyThreadState* __tstate = wxPyBeginAllowThreads();
8989 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
8990 wxPyEndAllowThreads(__tstate);
8991 if (PyErr_Occurred()) SWIG_fail;
8992 }
8993 resultobj = SWIG_Py_Void();
8994 {
8995 if (temp2)
8996 delete arg2;
8997 }
8998 return resultobj;
8999 fail:
9000 {
9001 if (temp2)
9002 delete arg2;
9003 }
9004 return NULL;
9005 }
9006
9007
9008 SWIGINTERN PyObject *_wrap_StatusBar_GetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9009 PyObject *resultobj = 0;
9010 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9011 int arg2 = (int) 0 ;
9012 wxString result;
9013 void *argp1 = 0 ;
9014 int res1 = 0 ;
9015 int val2 ;
9016 int ecode2 = 0 ;
9017 PyObject * obj0 = 0 ;
9018 PyObject * obj1 = 0 ;
9019 char * kwnames[] = {
9020 (char *) "self",(char *) "number", NULL
9021 };
9022
9023 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
9024 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9025 if (!SWIG_IsOK(res1)) {
9026 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9027 }
9028 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9029 if (obj1) {
9030 ecode2 = SWIG_AsVal_int(obj1, &val2);
9031 if (!SWIG_IsOK(ecode2)) {
9032 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
9033 }
9034 arg2 = static_cast< int >(val2);
9035 }
9036 {
9037 PyThreadState* __tstate = wxPyBeginAllowThreads();
9038 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
9039 wxPyEndAllowThreads(__tstate);
9040 if (PyErr_Occurred()) SWIG_fail;
9041 }
9042 {
9043 #if wxUSE_UNICODE
9044 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9045 #else
9046 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9047 #endif
9048 }
9049 return resultobj;
9050 fail:
9051 return NULL;
9052 }
9053
9054
9055 SWIGINTERN PyObject *_wrap_StatusBar_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9056 PyObject *resultobj = 0;
9057 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9058 wxString *arg2 = 0 ;
9059 int arg3 = (int) 0 ;
9060 void *argp1 = 0 ;
9061 int res1 = 0 ;
9062 bool temp2 = false ;
9063 int val3 ;
9064 int ecode3 = 0 ;
9065 PyObject * obj0 = 0 ;
9066 PyObject * obj1 = 0 ;
9067 PyObject * obj2 = 0 ;
9068 char * kwnames[] = {
9069 (char *) "self",(char *) "text",(char *) "number", NULL
9070 };
9071
9072 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9073 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9074 if (!SWIG_IsOK(res1)) {
9075 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9076 }
9077 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9078 {
9079 arg2 = wxString_in_helper(obj1);
9080 if (arg2 == NULL) SWIG_fail;
9081 temp2 = true;
9082 }
9083 if (obj2) {
9084 ecode3 = SWIG_AsVal_int(obj2, &val3);
9085 if (!SWIG_IsOK(ecode3)) {
9086 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
9087 }
9088 arg3 = static_cast< int >(val3);
9089 }
9090 {
9091 PyThreadState* __tstate = wxPyBeginAllowThreads();
9092 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
9093 wxPyEndAllowThreads(__tstate);
9094 if (PyErr_Occurred()) SWIG_fail;
9095 }
9096 resultobj = SWIG_Py_Void();
9097 {
9098 if (temp2)
9099 delete arg2;
9100 }
9101 return resultobj;
9102 fail:
9103 {
9104 if (temp2)
9105 delete arg2;
9106 }
9107 return NULL;
9108 }
9109
9110
9111 SWIGINTERN PyObject *_wrap_StatusBar_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9112 PyObject *resultobj = 0;
9113 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9114 int arg2 = (int) 0 ;
9115 void *argp1 = 0 ;
9116 int res1 = 0 ;
9117 int val2 ;
9118 int ecode2 = 0 ;
9119 PyObject * obj0 = 0 ;
9120 PyObject * obj1 = 0 ;
9121 char * kwnames[] = {
9122 (char *) "self",(char *) "number", NULL
9123 };
9124
9125 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
9126 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9127 if (!SWIG_IsOK(res1)) {
9128 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9129 }
9130 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9131 if (obj1) {
9132 ecode2 = SWIG_AsVal_int(obj1, &val2);
9133 if (!SWIG_IsOK(ecode2)) {
9134 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
9135 }
9136 arg2 = static_cast< int >(val2);
9137 }
9138 {
9139 PyThreadState* __tstate = wxPyBeginAllowThreads();
9140 (arg1)->PopStatusText(arg2);
9141 wxPyEndAllowThreads(__tstate);
9142 if (PyErr_Occurred()) SWIG_fail;
9143 }
9144 resultobj = SWIG_Py_Void();
9145 return resultobj;
9146 fail:
9147 return NULL;
9148 }
9149
9150
9151 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9152 PyObject *resultobj = 0;
9153 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9154 int arg2 ;
9155 int *arg3 = (int *) 0 ;
9156 void *argp1 = 0 ;
9157 int res1 = 0 ;
9158 PyObject * obj0 = 0 ;
9159 PyObject * obj1 = 0 ;
9160 char * kwnames[] = {
9161 (char *) "self",(char *) "widths", NULL
9162 };
9163
9164 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
9165 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9166 if (!SWIG_IsOK(res1)) {
9167 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9168 }
9169 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9170 {
9171 arg2 = PyList_Size(obj1);
9172 arg3 = int_LIST_helper(obj1);
9173 if (arg3 == NULL) SWIG_fail;
9174 }
9175 {
9176 PyThreadState* __tstate = wxPyBeginAllowThreads();
9177 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
9178 wxPyEndAllowThreads(__tstate);
9179 if (PyErr_Occurred()) SWIG_fail;
9180 }
9181 resultobj = SWIG_Py_Void();
9182 {
9183 if (arg3) delete [] arg3;
9184 }
9185 return resultobj;
9186 fail:
9187 {
9188 if (arg3) delete [] arg3;
9189 }
9190 return NULL;
9191 }
9192
9193
9194 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9195 PyObject *resultobj = 0;
9196 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9197 int arg2 ;
9198 int *arg3 = (int *) 0 ;
9199 void *argp1 = 0 ;
9200 int res1 = 0 ;
9201 PyObject * obj0 = 0 ;
9202 PyObject * obj1 = 0 ;
9203 char * kwnames[] = {
9204 (char *) "self",(char *) "styles", NULL
9205 };
9206
9207 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) SWIG_fail;
9208 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9209 if (!SWIG_IsOK(res1)) {
9210 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9211 }
9212 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9213 {
9214 arg2 = PyList_Size(obj1);
9215 arg3 = int_LIST_helper(obj1);
9216 if (arg3 == NULL) SWIG_fail;
9217 }
9218 {
9219 PyThreadState* __tstate = wxPyBeginAllowThreads();
9220 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
9221 wxPyEndAllowThreads(__tstate);
9222 if (PyErr_Occurred()) SWIG_fail;
9223 }
9224 resultobj = SWIG_Py_Void();
9225 {
9226 if (arg3) delete [] arg3;
9227 }
9228 return resultobj;
9229 fail:
9230 {
9231 if (arg3) delete [] arg3;
9232 }
9233 return NULL;
9234 }
9235
9236
9237 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9238 PyObject *resultobj = 0;
9239 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9240 int arg2 ;
9241 wxRect result;
9242 void *argp1 = 0 ;
9243 int res1 = 0 ;
9244 int val2 ;
9245 int ecode2 = 0 ;
9246 PyObject * obj0 = 0 ;
9247 PyObject * obj1 = 0 ;
9248 char * kwnames[] = {
9249 (char *) "self",(char *) "i", NULL
9250 };
9251
9252 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) SWIG_fail;
9253 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9254 if (!SWIG_IsOK(res1)) {
9255 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9256 }
9257 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9258 ecode2 = SWIG_AsVal_int(obj1, &val2);
9259 if (!SWIG_IsOK(ecode2)) {
9260 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9261 }
9262 arg2 = static_cast< int >(val2);
9263 {
9264 PyThreadState* __tstate = wxPyBeginAllowThreads();
9265 result = wxStatusBar_GetFieldRect(arg1,arg2);
9266 wxPyEndAllowThreads(__tstate);
9267 if (PyErr_Occurred()) SWIG_fail;
9268 }
9269 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
9270 return resultobj;
9271 fail:
9272 return NULL;
9273 }
9274
9275
9276 SWIGINTERN PyObject *_wrap_StatusBar_SetMinHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9277 PyObject *resultobj = 0;
9278 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9279 int arg2 ;
9280 void *argp1 = 0 ;
9281 int res1 = 0 ;
9282 int val2 ;
9283 int ecode2 = 0 ;
9284 PyObject * obj0 = 0 ;
9285 PyObject * obj1 = 0 ;
9286 char * kwnames[] = {
9287 (char *) "self",(char *) "height", NULL
9288 };
9289
9290 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) SWIG_fail;
9291 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9292 if (!SWIG_IsOK(res1)) {
9293 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9294 }
9295 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9296 ecode2 = SWIG_AsVal_int(obj1, &val2);
9297 if (!SWIG_IsOK(ecode2)) {
9298 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9299 }
9300 arg2 = static_cast< int >(val2);
9301 {
9302 PyThreadState* __tstate = wxPyBeginAllowThreads();
9303 (arg1)->SetMinHeight(arg2);
9304 wxPyEndAllowThreads(__tstate);
9305 if (PyErr_Occurred()) SWIG_fail;
9306 }
9307 resultobj = SWIG_Py_Void();
9308 return resultobj;
9309 fail:
9310 return NULL;
9311 }
9312
9313
9314 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9315 PyObject *resultobj = 0;
9316 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9317 int result;
9318 void *argp1 = 0 ;
9319 int res1 = 0 ;
9320 PyObject *swig_obj[1] ;
9321
9322 if (!args) SWIG_fail;
9323 swig_obj[0] = args;
9324 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9325 if (!SWIG_IsOK(res1)) {
9326 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9327 }
9328 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9329 {
9330 PyThreadState* __tstate = wxPyBeginAllowThreads();
9331 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
9332 wxPyEndAllowThreads(__tstate);
9333 if (PyErr_Occurred()) SWIG_fail;
9334 }
9335 resultobj = SWIG_From_int(static_cast< int >(result));
9336 return resultobj;
9337 fail:
9338 return NULL;
9339 }
9340
9341
9342 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9343 PyObject *resultobj = 0;
9344 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9345 int result;
9346 void *argp1 = 0 ;
9347 int res1 = 0 ;
9348 PyObject *swig_obj[1] ;
9349
9350 if (!args) SWIG_fail;
9351 swig_obj[0] = args;
9352 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9353 if (!SWIG_IsOK(res1)) {
9354 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9355 }
9356 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9357 {
9358 PyThreadState* __tstate = wxPyBeginAllowThreads();
9359 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
9360 wxPyEndAllowThreads(__tstate);
9361 if (PyErr_Occurred()) SWIG_fail;
9362 }
9363 resultobj = SWIG_From_int(static_cast< int >(result));
9364 return resultobj;
9365 fail:
9366 return NULL;
9367 }
9368
9369
9370 SWIGINTERN PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9371 PyObject *resultobj = 0;
9372 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
9373 SwigValueWrapper<wxVisualAttributes > result;
9374 int val1 ;
9375 int ecode1 = 0 ;
9376 PyObject * obj0 = 0 ;
9377 char * kwnames[] = {
9378 (char *) "variant", NULL
9379 };
9380
9381 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
9382 if (obj0) {
9383 ecode1 = SWIG_AsVal_int(obj0, &val1);
9384 if (!SWIG_IsOK(ecode1)) {
9385 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9386 }
9387 arg1 = static_cast< wxWindowVariant >(val1);
9388 }
9389 {
9390 if (!wxPyCheckForApp()) SWIG_fail;
9391 PyThreadState* __tstate = wxPyBeginAllowThreads();
9392 result = wxStatusBar::GetClassDefaultAttributes(arg1);
9393 wxPyEndAllowThreads(__tstate);
9394 if (PyErr_Occurred()) SWIG_fail;
9395 }
9396 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
9397 return resultobj;
9398 fail:
9399 return NULL;
9400 }
9401
9402
9403 SWIGINTERN PyObject *StatusBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9404 PyObject *obj;
9405 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9406 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar, SWIG_NewClientData(obj));
9407 return SWIG_Py_Void();
9408 }
9409
9410 SWIGINTERN PyObject *StatusBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9411 return SWIG_Python_InitShadowInstance(args);
9412 }
9413
9414 SWIGINTERN int SplitterNameStr_set(PyObject *) {
9415 SWIG_Error(SWIG_AttributeError,"Variable SplitterNameStr is read-only.");
9416 return 1;
9417 }
9418
9419
9420 SWIGINTERN PyObject *SplitterNameStr_get(void) {
9421 PyObject *pyobj = 0;
9422
9423 {
9424 #if wxUSE_UNICODE
9425 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9426 #else
9427 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9428 #endif
9429 }
9430 return pyobj;
9431 }
9432
9433
9434 SWIGINTERN PyObject *_wrap_new_SplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9435 PyObject *resultobj = 0;
9436 wxWindow *arg1 = (wxWindow *) 0 ;
9437 int arg2 = (int) -1 ;
9438 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9439 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9440 wxSize const &arg4_defvalue = wxDefaultSize ;
9441 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9442 long arg5 = (long) wxSP_3D ;
9443 wxString const &arg6_defvalue = wxPySplitterNameStr ;
9444 wxString *arg6 = (wxString *) &arg6_defvalue ;
9445 wxSplitterWindow *result = 0 ;
9446 void *argp1 = 0 ;
9447 int res1 = 0 ;
9448 int val2 ;
9449 int ecode2 = 0 ;
9450 wxPoint temp3 ;
9451 wxSize temp4 ;
9452 long val5 ;
9453 int ecode5 = 0 ;
9454 bool temp6 = false ;
9455 PyObject * obj0 = 0 ;
9456 PyObject * obj1 = 0 ;
9457 PyObject * obj2 = 0 ;
9458 PyObject * obj3 = 0 ;
9459 PyObject * obj4 = 0 ;
9460 PyObject * obj5 = 0 ;
9461 char * kwnames[] = {
9462 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9463 };
9464
9465 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9466 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
9467 if (!SWIG_IsOK(res1)) {
9468 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9469 }
9470 arg1 = reinterpret_cast< wxWindow * >(argp1);
9471 if (obj1) {
9472 ecode2 = SWIG_AsVal_int(obj1, &val2);
9473 if (!SWIG_IsOK(ecode2)) {
9474 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9475 }
9476 arg2 = static_cast< int >(val2);
9477 }
9478 if (obj2) {
9479 {
9480 arg3 = &temp3;
9481 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9482 }
9483 }
9484 if (obj3) {
9485 {
9486 arg4 = &temp4;
9487 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9488 }
9489 }
9490 if (obj4) {
9491 ecode5 = SWIG_AsVal_long(obj4, &val5);
9492 if (!SWIG_IsOK(ecode5)) {
9493 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9494 }
9495 arg5 = static_cast< long >(val5);
9496 }
9497 if (obj5) {
9498 {
9499 arg6 = wxString_in_helper(obj5);
9500 if (arg6 == NULL) SWIG_fail;
9501 temp6 = true;
9502 }
9503 }
9504 {
9505 if (!wxPyCheckForApp()) SWIG_fail;
9506 PyThreadState* __tstate = wxPyBeginAllowThreads();
9507 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9508 wxPyEndAllowThreads(__tstate);
9509 if (PyErr_Occurred()) SWIG_fail;
9510 }
9511 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_NEW | 0 );
9512 {
9513 if (temp6)
9514 delete arg6;
9515 }
9516 return resultobj;
9517 fail:
9518 {
9519 if (temp6)
9520 delete arg6;
9521 }
9522 return NULL;
9523 }
9524
9525
9526 SWIGINTERN PyObject *_wrap_new_PreSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9527 PyObject *resultobj = 0;
9528 wxSplitterWindow *result = 0 ;
9529
9530 if (!SWIG_Python_UnpackTuple(args,"new_PreSplitterWindow",0,0,0)) SWIG_fail;
9531 {
9532 if (!wxPyCheckForApp()) SWIG_fail;
9533 PyThreadState* __tstate = wxPyBeginAllowThreads();
9534 result = (wxSplitterWindow *)new wxSplitterWindow();
9535 wxPyEndAllowThreads(__tstate);
9536 if (PyErr_Occurred()) SWIG_fail;
9537 }
9538 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_OWN | 0 );
9539 return resultobj;
9540 fail:
9541 return NULL;
9542 }
9543
9544
9545 SWIGINTERN PyObject *_wrap_SplitterWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9546 PyObject *resultobj = 0;
9547 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9548 wxWindow *arg2 = (wxWindow *) 0 ;
9549 int arg3 = (int) -1 ;
9550 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9551 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9552 wxSize const &arg5_defvalue = wxDefaultSize ;
9553 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9554 long arg6 = (long) wxSP_3D ;
9555 wxString const &arg7_defvalue = wxPySplitterNameStr ;
9556 wxString *arg7 = (wxString *) &arg7_defvalue ;
9557 bool result;
9558 void *argp1 = 0 ;
9559 int res1 = 0 ;
9560 void *argp2 = 0 ;
9561 int res2 = 0 ;
9562 int val3 ;
9563 int ecode3 = 0 ;
9564 wxPoint temp4 ;
9565 wxSize temp5 ;
9566 long val6 ;
9567 int ecode6 = 0 ;
9568 bool temp7 = false ;
9569 PyObject * obj0 = 0 ;
9570 PyObject * obj1 = 0 ;
9571 PyObject * obj2 = 0 ;
9572 PyObject * obj3 = 0 ;
9573 PyObject * obj4 = 0 ;
9574 PyObject * obj5 = 0 ;
9575 PyObject * obj6 = 0 ;
9576 char * kwnames[] = {
9577 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9578 };
9579
9580 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9581 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9582 if (!SWIG_IsOK(res1)) {
9583 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9584 }
9585 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9586 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9587 if (!SWIG_IsOK(res2)) {
9588 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9589 }
9590 arg2 = reinterpret_cast< wxWindow * >(argp2);
9591 if (obj2) {
9592 ecode3 = SWIG_AsVal_int(obj2, &val3);
9593 if (!SWIG_IsOK(ecode3)) {
9594 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9595 }
9596 arg3 = static_cast< int >(val3);
9597 }
9598 if (obj3) {
9599 {
9600 arg4 = &temp4;
9601 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9602 }
9603 }
9604 if (obj4) {
9605 {
9606 arg5 = &temp5;
9607 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9608 }
9609 }
9610 if (obj5) {
9611 ecode6 = SWIG_AsVal_long(obj5, &val6);
9612 if (!SWIG_IsOK(ecode6)) {
9613 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9614 }
9615 arg6 = static_cast< long >(val6);
9616 }
9617 if (obj6) {
9618 {
9619 arg7 = wxString_in_helper(obj6);
9620 if (arg7 == NULL) SWIG_fail;
9621 temp7 = true;
9622 }
9623 }
9624 {
9625 PyThreadState* __tstate = wxPyBeginAllowThreads();
9626 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9627 wxPyEndAllowThreads(__tstate);
9628 if (PyErr_Occurred()) SWIG_fail;
9629 }
9630 {
9631 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9632 }
9633 {
9634 if (temp7)
9635 delete arg7;
9636 }
9637 return resultobj;
9638 fail:
9639 {
9640 if (temp7)
9641 delete arg7;
9642 }
9643 return NULL;
9644 }
9645
9646
9647 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9648 PyObject *resultobj = 0;
9649 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9650 wxWindow *result = 0 ;
9651 void *argp1 = 0 ;
9652 int res1 = 0 ;
9653 PyObject *swig_obj[1] ;
9654
9655 if (!args) SWIG_fail;
9656 swig_obj[0] = args;
9657 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9658 if (!SWIG_IsOK(res1)) {
9659 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9660 }
9661 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9662 {
9663 PyThreadState* __tstate = wxPyBeginAllowThreads();
9664 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
9665 wxPyEndAllowThreads(__tstate);
9666 if (PyErr_Occurred()) SWIG_fail;
9667 }
9668 {
9669 resultobj = wxPyMake_wxObject(result, 0);
9670 }
9671 return resultobj;
9672 fail:
9673 return NULL;
9674 }
9675
9676
9677 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9678 PyObject *resultobj = 0;
9679 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9680 wxWindow *result = 0 ;
9681 void *argp1 = 0 ;
9682 int res1 = 0 ;
9683 PyObject *swig_obj[1] ;
9684
9685 if (!args) SWIG_fail;
9686 swig_obj[0] = args;
9687 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9688 if (!SWIG_IsOK(res1)) {
9689 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9690 }
9691 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9692 {
9693 PyThreadState* __tstate = wxPyBeginAllowThreads();
9694 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
9695 wxPyEndAllowThreads(__tstate);
9696 if (PyErr_Occurred()) SWIG_fail;
9697 }
9698 {
9699 resultobj = wxPyMake_wxObject(result, 0);
9700 }
9701 return resultobj;
9702 fail:
9703 return NULL;
9704 }
9705
9706
9707 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9708 PyObject *resultobj = 0;
9709 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9710 int arg2 ;
9711 void *argp1 = 0 ;
9712 int res1 = 0 ;
9713 int val2 ;
9714 int ecode2 = 0 ;
9715 PyObject * obj0 = 0 ;
9716 PyObject * obj1 = 0 ;
9717 char * kwnames[] = {
9718 (char *) "self",(char *) "mode", NULL
9719 };
9720
9721 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) SWIG_fail;
9722 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9723 if (!SWIG_IsOK(res1)) {
9724 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9725 }
9726 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9727 ecode2 = SWIG_AsVal_int(obj1, &val2);
9728 if (!SWIG_IsOK(ecode2)) {
9729 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9730 }
9731 arg2 = static_cast< int >(val2);
9732 {
9733 PyThreadState* __tstate = wxPyBeginAllowThreads();
9734 (arg1)->SetSplitMode(arg2);
9735 wxPyEndAllowThreads(__tstate);
9736 if (PyErr_Occurred()) SWIG_fail;
9737 }
9738 resultobj = SWIG_Py_Void();
9739 return resultobj;
9740 fail:
9741 return NULL;
9742 }
9743
9744
9745 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9746 PyObject *resultobj = 0;
9747 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9748 wxSplitMode result;
9749 void *argp1 = 0 ;
9750 int res1 = 0 ;
9751 PyObject *swig_obj[1] ;
9752
9753 if (!args) SWIG_fail;
9754 swig_obj[0] = args;
9755 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9756 if (!SWIG_IsOK(res1)) {
9757 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9758 }
9759 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9760 {
9761 PyThreadState* __tstate = wxPyBeginAllowThreads();
9762 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
9763 wxPyEndAllowThreads(__tstate);
9764 if (PyErr_Occurred()) SWIG_fail;
9765 }
9766 resultobj = SWIG_From_int(static_cast< int >(result));
9767 return resultobj;
9768 fail:
9769 return NULL;
9770 }
9771
9772
9773 SWIGINTERN PyObject *_wrap_SplitterWindow_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9774 PyObject *resultobj = 0;
9775 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9776 wxWindow *arg2 = (wxWindow *) 0 ;
9777 void *argp1 = 0 ;
9778 int res1 = 0 ;
9779 void *argp2 = 0 ;
9780 int res2 = 0 ;
9781 PyObject * obj0 = 0 ;
9782 PyObject * obj1 = 0 ;
9783 char * kwnames[] = {
9784 (char *) "self",(char *) "window", NULL
9785 };
9786
9787 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) SWIG_fail;
9788 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9789 if (!SWIG_IsOK(res1)) {
9790 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9791 }
9792 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9793 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9794 if (!SWIG_IsOK(res2)) {
9795 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9796 }
9797 arg2 = reinterpret_cast< wxWindow * >(argp2);
9798 {
9799 PyThreadState* __tstate = wxPyBeginAllowThreads();
9800 (arg1)->Initialize(arg2);
9801 wxPyEndAllowThreads(__tstate);
9802 if (PyErr_Occurred()) SWIG_fail;
9803 }
9804 resultobj = SWIG_Py_Void();
9805 return resultobj;
9806 fail:
9807 return NULL;
9808 }
9809
9810
9811 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9812 PyObject *resultobj = 0;
9813 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9814 wxWindow *arg2 = (wxWindow *) 0 ;
9815 wxWindow *arg3 = (wxWindow *) 0 ;
9816 int arg4 = (int) 0 ;
9817 bool result;
9818 void *argp1 = 0 ;
9819 int res1 = 0 ;
9820 void *argp2 = 0 ;
9821 int res2 = 0 ;
9822 void *argp3 = 0 ;
9823 int res3 = 0 ;
9824 int val4 ;
9825 int ecode4 = 0 ;
9826 PyObject * obj0 = 0 ;
9827 PyObject * obj1 = 0 ;
9828 PyObject * obj2 = 0 ;
9829 PyObject * obj3 = 0 ;
9830 char * kwnames[] = {
9831 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9832 };
9833
9834 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9835 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9836 if (!SWIG_IsOK(res1)) {
9837 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9838 }
9839 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9840 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9841 if (!SWIG_IsOK(res2)) {
9842 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9843 }
9844 arg2 = reinterpret_cast< wxWindow * >(argp2);
9845 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9846 if (!SWIG_IsOK(res3)) {
9847 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9848 }
9849 arg3 = reinterpret_cast< wxWindow * >(argp3);
9850 if (obj3) {
9851 ecode4 = SWIG_AsVal_int(obj3, &val4);
9852 if (!SWIG_IsOK(ecode4)) {
9853 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9854 }
9855 arg4 = static_cast< int >(val4);
9856 }
9857 {
9858 PyThreadState* __tstate = wxPyBeginAllowThreads();
9859 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
9860 wxPyEndAllowThreads(__tstate);
9861 if (PyErr_Occurred()) SWIG_fail;
9862 }
9863 {
9864 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9865 }
9866 return resultobj;
9867 fail:
9868 return NULL;
9869 }
9870
9871
9872 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9873 PyObject *resultobj = 0;
9874 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9875 wxWindow *arg2 = (wxWindow *) 0 ;
9876 wxWindow *arg3 = (wxWindow *) 0 ;
9877 int arg4 = (int) 0 ;
9878 bool result;
9879 void *argp1 = 0 ;
9880 int res1 = 0 ;
9881 void *argp2 = 0 ;
9882 int res2 = 0 ;
9883 void *argp3 = 0 ;
9884 int res3 = 0 ;
9885 int val4 ;
9886 int ecode4 = 0 ;
9887 PyObject * obj0 = 0 ;
9888 PyObject * obj1 = 0 ;
9889 PyObject * obj2 = 0 ;
9890 PyObject * obj3 = 0 ;
9891 char * kwnames[] = {
9892 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9893 };
9894
9895 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9896 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9897 if (!SWIG_IsOK(res1)) {
9898 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9899 }
9900 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9901 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9902 if (!SWIG_IsOK(res2)) {
9903 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9904 }
9905 arg2 = reinterpret_cast< wxWindow * >(argp2);
9906 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9907 if (!SWIG_IsOK(res3)) {
9908 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9909 }
9910 arg3 = reinterpret_cast< wxWindow * >(argp3);
9911 if (obj3) {
9912 ecode4 = SWIG_AsVal_int(obj3, &val4);
9913 if (!SWIG_IsOK(ecode4)) {
9914 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9915 }
9916 arg4 = static_cast< int >(val4);
9917 }
9918 {
9919 PyThreadState* __tstate = wxPyBeginAllowThreads();
9920 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
9921 wxPyEndAllowThreads(__tstate);
9922 if (PyErr_Occurred()) SWIG_fail;
9923 }
9924 {
9925 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9926 }
9927 return resultobj;
9928 fail:
9929 return NULL;
9930 }
9931
9932
9933 SWIGINTERN PyObject *_wrap_SplitterWindow_Unsplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9934 PyObject *resultobj = 0;
9935 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9936 wxWindow *arg2 = (wxWindow *) NULL ;
9937 bool result;
9938 void *argp1 = 0 ;
9939 int res1 = 0 ;
9940 void *argp2 = 0 ;
9941 int res2 = 0 ;
9942 PyObject * obj0 = 0 ;
9943 PyObject * obj1 = 0 ;
9944 char * kwnames[] = {
9945 (char *) "self",(char *) "toRemove", NULL
9946 };
9947
9948 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) SWIG_fail;
9949 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9950 if (!SWIG_IsOK(res1)) {
9951 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9952 }
9953 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9954 if (obj1) {
9955 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9956 if (!SWIG_IsOK(res2)) {
9957 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9958 }
9959 arg2 = reinterpret_cast< wxWindow * >(argp2);
9960 }
9961 {
9962 PyThreadState* __tstate = wxPyBeginAllowThreads();
9963 result = (bool)(arg1)->Unsplit(arg2);
9964 wxPyEndAllowThreads(__tstate);
9965 if (PyErr_Occurred()) SWIG_fail;
9966 }
9967 {
9968 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9969 }
9970 return resultobj;
9971 fail:
9972 return NULL;
9973 }
9974
9975
9976 SWIGINTERN PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9977 PyObject *resultobj = 0;
9978 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9979 wxWindow *arg2 = (wxWindow *) 0 ;
9980 wxWindow *arg3 = (wxWindow *) 0 ;
9981 bool result;
9982 void *argp1 = 0 ;
9983 int res1 = 0 ;
9984 void *argp2 = 0 ;
9985 int res2 = 0 ;
9986 void *argp3 = 0 ;
9987 int res3 = 0 ;
9988 PyObject * obj0 = 0 ;
9989 PyObject * obj1 = 0 ;
9990 PyObject * obj2 = 0 ;
9991 char * kwnames[] = {
9992 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9993 };
9994
9995 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9996 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9997 if (!SWIG_IsOK(res1)) {
9998 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9999 }
10000 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10001 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10002 if (!SWIG_IsOK(res2)) {
10003 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
10004 }
10005 arg2 = reinterpret_cast< wxWindow * >(argp2);
10006 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
10007 if (!SWIG_IsOK(res3)) {
10008 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
10009 }
10010 arg3 = reinterpret_cast< wxWindow * >(argp3);
10011 {
10012 PyThreadState* __tstate = wxPyBeginAllowThreads();
10013 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
10014 wxPyEndAllowThreads(__tstate);
10015 if (PyErr_Occurred()) SWIG_fail;
10016 }
10017 {
10018 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10019 }
10020 return resultobj;
10021 fail:
10022 return NULL;
10023 }
10024
10025
10026 SWIGINTERN PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10027 PyObject *resultobj = 0;
10028 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10029 void *argp1 = 0 ;
10030 int res1 = 0 ;
10031 PyObject *swig_obj[1] ;
10032
10033 if (!args) SWIG_fail;
10034 swig_obj[0] = args;
10035 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10036 if (!SWIG_IsOK(res1)) {
10037 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10038 }
10039 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10040 {
10041 PyThreadState* __tstate = wxPyBeginAllowThreads();
10042 (arg1)->UpdateSize();
10043 wxPyEndAllowThreads(__tstate);
10044 if (PyErr_Occurred()) SWIG_fail;
10045 }
10046 resultobj = SWIG_Py_Void();
10047 return resultobj;
10048 fail:
10049 return NULL;
10050 }
10051
10052
10053 SWIGINTERN PyObject *_wrap_SplitterWindow_IsSplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10054 PyObject *resultobj = 0;
10055 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10056 bool result;
10057 void *argp1 = 0 ;
10058 int res1 = 0 ;
10059 PyObject *swig_obj[1] ;
10060
10061 if (!args) SWIG_fail;
10062 swig_obj[0] = args;
10063 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10064 if (!SWIG_IsOK(res1)) {
10065 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10066 }
10067 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10068 {
10069 PyThreadState* __tstate = wxPyBeginAllowThreads();
10070 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
10071 wxPyEndAllowThreads(__tstate);
10072 if (PyErr_Occurred()) SWIG_fail;
10073 }
10074 {
10075 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10076 }
10077 return resultobj;
10078 fail:
10079 return NULL;
10080 }
10081
10082
10083 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10084 PyObject *resultobj = 0;
10085 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10086 int arg2 ;
10087 void *argp1 = 0 ;
10088 int res1 = 0 ;
10089 int val2 ;
10090 int ecode2 = 0 ;
10091 PyObject * obj0 = 0 ;
10092 PyObject * obj1 = 0 ;
10093 char * kwnames[] = {
10094 (char *) "self",(char *) "width", NULL
10095 };
10096
10097 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) SWIG_fail;
10098 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10099 if (!SWIG_IsOK(res1)) {
10100 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10101 }
10102 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10103 ecode2 = SWIG_AsVal_int(obj1, &val2);
10104 if (!SWIG_IsOK(ecode2)) {
10105 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
10106 }
10107 arg2 = static_cast< int >(val2);
10108 {
10109 PyThreadState* __tstate = wxPyBeginAllowThreads();
10110 (arg1)->SetSashSize(arg2);
10111 wxPyEndAllowThreads(__tstate);
10112 if (PyErr_Occurred()) SWIG_fail;
10113 }
10114 resultobj = SWIG_Py_Void();
10115 return resultobj;
10116 fail:
10117 return NULL;
10118 }
10119
10120
10121 SWIGINTERN PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10122 PyObject *resultobj = 0;
10123 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10124 int arg2 ;
10125 void *argp1 = 0 ;
10126 int res1 = 0 ;
10127 int val2 ;
10128 int ecode2 = 0 ;
10129 PyObject * obj0 = 0 ;
10130 PyObject * obj1 = 0 ;
10131 char * kwnames[] = {
10132 (char *) "self",(char *) "width", NULL
10133 };
10134
10135 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
10136 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10137 if (!SWIG_IsOK(res1)) {
10138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10139 }
10140 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10141 ecode2 = SWIG_AsVal_int(obj1, &val2);
10142 if (!SWIG_IsOK(ecode2)) {
10143 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
10144 }
10145 arg2 = static_cast< int >(val2);
10146 {
10147 PyThreadState* __tstate = wxPyBeginAllowThreads();
10148 (arg1)->SetBorderSize(arg2);
10149 wxPyEndAllowThreads(__tstate);
10150 if (PyErr_Occurred()) SWIG_fail;
10151 }
10152 resultobj = SWIG_Py_Void();
10153 return resultobj;
10154 fail:
10155 return NULL;
10156 }
10157
10158
10159 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10160 PyObject *resultobj = 0;
10161 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10162 int result;
10163 void *argp1 = 0 ;
10164 int res1 = 0 ;
10165 PyObject *swig_obj[1] ;
10166
10167 if (!args) SWIG_fail;
10168 swig_obj[0] = args;
10169 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10170 if (!SWIG_IsOK(res1)) {
10171 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10172 }
10173 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10174 {
10175 PyThreadState* __tstate = wxPyBeginAllowThreads();
10176 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
10177 wxPyEndAllowThreads(__tstate);
10178 if (PyErr_Occurred()) SWIG_fail;
10179 }
10180 resultobj = SWIG_From_int(static_cast< int >(result));
10181 return resultobj;
10182 fail:
10183 return NULL;
10184 }
10185
10186
10187 SWIGINTERN PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10188 PyObject *resultobj = 0;
10189 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10190 int result;
10191 void *argp1 = 0 ;
10192 int res1 = 0 ;
10193 PyObject *swig_obj[1] ;
10194
10195 if (!args) SWIG_fail;
10196 swig_obj[0] = args;
10197 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10198 if (!SWIG_IsOK(res1)) {
10199 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10200 }
10201 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10202 {
10203 PyThreadState* __tstate = wxPyBeginAllowThreads();
10204 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
10205 wxPyEndAllowThreads(__tstate);
10206 if (PyErr_Occurred()) SWIG_fail;
10207 }
10208 resultobj = SWIG_From_int(static_cast< int >(result));
10209 return resultobj;
10210 fail:
10211 return NULL;
10212 }
10213
10214
10215 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10216 PyObject *resultobj = 0;
10217 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10218 int arg2 ;
10219 bool arg3 = (bool) true ;
10220 void *argp1 = 0 ;
10221 int res1 = 0 ;
10222 int val2 ;
10223 int ecode2 = 0 ;
10224 bool val3 ;
10225 int ecode3 = 0 ;
10226 PyObject * obj0 = 0 ;
10227 PyObject * obj1 = 0 ;
10228 PyObject * obj2 = 0 ;
10229 char * kwnames[] = {
10230 (char *) "self",(char *) "position",(char *) "redraw", NULL
10231 };
10232
10233 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10234 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10235 if (!SWIG_IsOK(res1)) {
10236 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10237 }
10238 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10239 ecode2 = SWIG_AsVal_int(obj1, &val2);
10240 if (!SWIG_IsOK(ecode2)) {
10241 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10242 }
10243 arg2 = static_cast< int >(val2);
10244 if (obj2) {
10245 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10246 if (!SWIG_IsOK(ecode3)) {
10247 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10248 }
10249 arg3 = static_cast< bool >(val3);
10250 }
10251 {
10252 PyThreadState* __tstate = wxPyBeginAllowThreads();
10253 (arg1)->SetSashPosition(arg2,arg3);
10254 wxPyEndAllowThreads(__tstate);
10255 if (PyErr_Occurred()) SWIG_fail;
10256 }
10257 resultobj = SWIG_Py_Void();
10258 return resultobj;
10259 fail:
10260 return NULL;
10261 }
10262
10263
10264 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashPosition(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_GetSashPosition" "', 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)->GetSashPosition();
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_SetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10293 PyObject *resultobj = 0;
10294 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10295 double arg2 ;
10296 void *argp1 = 0 ;
10297 int res1 = 0 ;
10298 double val2 ;
10299 int ecode2 = 0 ;
10300 PyObject * obj0 = 0 ;
10301 PyObject * obj1 = 0 ;
10302 char * kwnames[] = {
10303 (char *) "self",(char *) "gravity", NULL
10304 };
10305
10306 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) SWIG_fail;
10307 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10308 if (!SWIG_IsOK(res1)) {
10309 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10310 }
10311 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10312 ecode2 = SWIG_AsVal_double(obj1, &val2);
10313 if (!SWIG_IsOK(ecode2)) {
10314 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10315 }
10316 arg2 = static_cast< double >(val2);
10317 {
10318 PyThreadState* __tstate = wxPyBeginAllowThreads();
10319 (arg1)->SetSashGravity(arg2);
10320 wxPyEndAllowThreads(__tstate);
10321 if (PyErr_Occurred()) SWIG_fail;
10322 }
10323 resultobj = SWIG_Py_Void();
10324 return resultobj;
10325 fail:
10326 return NULL;
10327 }
10328
10329
10330 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10331 PyObject *resultobj = 0;
10332 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10333 double result;
10334 void *argp1 = 0 ;
10335 int res1 = 0 ;
10336 PyObject *swig_obj[1] ;
10337
10338 if (!args) SWIG_fail;
10339 swig_obj[0] = args;
10340 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10341 if (!SWIG_IsOK(res1)) {
10342 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10343 }
10344 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10345 {
10346 PyThreadState* __tstate = wxPyBeginAllowThreads();
10347 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
10348 wxPyEndAllowThreads(__tstate);
10349 if (PyErr_Occurred()) SWIG_fail;
10350 }
10351 resultobj = SWIG_From_double(static_cast< double >(result));
10352 return resultobj;
10353 fail:
10354 return NULL;
10355 }
10356
10357
10358 SWIGINTERN PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10359 PyObject *resultobj = 0;
10360 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10361 int arg2 ;
10362 void *argp1 = 0 ;
10363 int res1 = 0 ;
10364 int val2 ;
10365 int ecode2 = 0 ;
10366 PyObject * obj0 = 0 ;
10367 PyObject * obj1 = 0 ;
10368 char * kwnames[] = {
10369 (char *) "self",(char *) "min", NULL
10370 };
10371
10372 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) SWIG_fail;
10373 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10374 if (!SWIG_IsOK(res1)) {
10375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10376 }
10377 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10378 ecode2 = SWIG_AsVal_int(obj1, &val2);
10379 if (!SWIG_IsOK(ecode2)) {
10380 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10381 }
10382 arg2 = static_cast< int >(val2);
10383 {
10384 PyThreadState* __tstate = wxPyBeginAllowThreads();
10385 (arg1)->SetMinimumPaneSize(arg2);
10386 wxPyEndAllowThreads(__tstate);
10387 if (PyErr_Occurred()) SWIG_fail;
10388 }
10389 resultobj = SWIG_Py_Void();
10390 return resultobj;
10391 fail:
10392 return NULL;
10393 }
10394
10395
10396 SWIGINTERN PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10397 PyObject *resultobj = 0;
10398 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10399 int result;
10400 void *argp1 = 0 ;
10401 int res1 = 0 ;
10402 PyObject *swig_obj[1] ;
10403
10404 if (!args) SWIG_fail;
10405 swig_obj[0] = args;
10406 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10407 if (!SWIG_IsOK(res1)) {
10408 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10409 }
10410 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10411 {
10412 PyThreadState* __tstate = wxPyBeginAllowThreads();
10413 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
10414 wxPyEndAllowThreads(__tstate);
10415 if (PyErr_Occurred()) SWIG_fail;
10416 }
10417 resultobj = SWIG_From_int(static_cast< int >(result));
10418 return resultobj;
10419 fail:
10420 return NULL;
10421 }
10422
10423
10424 SWIGINTERN PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10425 PyObject *resultobj = 0;
10426 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10427 int arg2 ;
10428 int arg3 ;
10429 int arg4 = (int) 5 ;
10430 bool result;
10431 void *argp1 = 0 ;
10432 int res1 = 0 ;
10433 int val2 ;
10434 int ecode2 = 0 ;
10435 int val3 ;
10436 int ecode3 = 0 ;
10437 int val4 ;
10438 int ecode4 = 0 ;
10439 PyObject * obj0 = 0 ;
10440 PyObject * obj1 = 0 ;
10441 PyObject * obj2 = 0 ;
10442 PyObject * obj3 = 0 ;
10443 char * kwnames[] = {
10444 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10445 };
10446
10447 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10448 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10449 if (!SWIG_IsOK(res1)) {
10450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10451 }
10452 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10453 ecode2 = SWIG_AsVal_int(obj1, &val2);
10454 if (!SWIG_IsOK(ecode2)) {
10455 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10456 }
10457 arg2 = static_cast< int >(val2);
10458 ecode3 = SWIG_AsVal_int(obj2, &val3);
10459 if (!SWIG_IsOK(ecode3)) {
10460 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10461 }
10462 arg3 = static_cast< int >(val3);
10463 if (obj3) {
10464 ecode4 = SWIG_AsVal_int(obj3, &val4);
10465 if (!SWIG_IsOK(ecode4)) {
10466 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10467 }
10468 arg4 = static_cast< int >(val4);
10469 }
10470 {
10471 PyThreadState* __tstate = wxPyBeginAllowThreads();
10472 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
10473 wxPyEndAllowThreads(__tstate);
10474 if (PyErr_Occurred()) SWIG_fail;
10475 }
10476 {
10477 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10478 }
10479 return resultobj;
10480 fail:
10481 return NULL;
10482 }
10483
10484
10485 SWIGINTERN PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10486 PyObject *resultobj = 0;
10487 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10488 void *argp1 = 0 ;
10489 int res1 = 0 ;
10490 PyObject *swig_obj[1] ;
10491
10492 if (!args) SWIG_fail;
10493 swig_obj[0] = args;
10494 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10495 if (!SWIG_IsOK(res1)) {
10496 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10497 }
10498 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10499 {
10500 PyThreadState* __tstate = wxPyBeginAllowThreads();
10501 (arg1)->SizeWindows();
10502 wxPyEndAllowThreads(__tstate);
10503 if (PyErr_Occurred()) SWIG_fail;
10504 }
10505 resultobj = SWIG_Py_Void();
10506 return resultobj;
10507 fail:
10508 return NULL;
10509 }
10510
10511
10512 SWIGINTERN PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10513 PyObject *resultobj = 0;
10514 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10515 bool arg2 ;
10516 void *argp1 = 0 ;
10517 int res1 = 0 ;
10518 bool val2 ;
10519 int ecode2 = 0 ;
10520 PyObject * obj0 = 0 ;
10521 PyObject * obj1 = 0 ;
10522 char * kwnames[] = {
10523 (char *) "self",(char *) "needUpdating", NULL
10524 };
10525
10526 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) SWIG_fail;
10527 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10528 if (!SWIG_IsOK(res1)) {
10529 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10530 }
10531 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10532 ecode2 = SWIG_AsVal_bool(obj1, &val2);
10533 if (!SWIG_IsOK(ecode2)) {
10534 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10535 }
10536 arg2 = static_cast< bool >(val2);
10537 {
10538 PyThreadState* __tstate = wxPyBeginAllowThreads();
10539 (arg1)->SetNeedUpdating(arg2);
10540 wxPyEndAllowThreads(__tstate);
10541 if (PyErr_Occurred()) SWIG_fail;
10542 }
10543 resultobj = SWIG_Py_Void();
10544 return resultobj;
10545 fail:
10546 return NULL;
10547 }
10548
10549
10550 SWIGINTERN PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10551 PyObject *resultobj = 0;
10552 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10553 bool result;
10554 void *argp1 = 0 ;
10555 int res1 = 0 ;
10556 PyObject *swig_obj[1] ;
10557
10558 if (!args) SWIG_fail;
10559 swig_obj[0] = args;
10560 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10561 if (!SWIG_IsOK(res1)) {
10562 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10563 }
10564 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10565 {
10566 PyThreadState* __tstate = wxPyBeginAllowThreads();
10567 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
10568 wxPyEndAllowThreads(__tstate);
10569 if (PyErr_Occurred()) SWIG_fail;
10570 }
10571 {
10572 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10573 }
10574 return resultobj;
10575 fail:
10576 return NULL;
10577 }
10578
10579
10580 SWIGINTERN PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10581 PyObject *resultobj = 0;
10582 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
10583 SwigValueWrapper<wxVisualAttributes > result;
10584 int val1 ;
10585 int ecode1 = 0 ;
10586 PyObject * obj0 = 0 ;
10587 char * kwnames[] = {
10588 (char *) "variant", NULL
10589 };
10590
10591 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
10592 if (obj0) {
10593 ecode1 = SWIG_AsVal_int(obj0, &val1);
10594 if (!SWIG_IsOK(ecode1)) {
10595 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10596 }
10597 arg1 = static_cast< wxWindowVariant >(val1);
10598 }
10599 {
10600 if (!wxPyCheckForApp()) SWIG_fail;
10601 PyThreadState* __tstate = wxPyBeginAllowThreads();
10602 result = wxSplitterWindow::GetClassDefaultAttributes(arg1);
10603 wxPyEndAllowThreads(__tstate);
10604 if (PyErr_Occurred()) SWIG_fail;
10605 }
10606 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
10607 return resultobj;
10608 fail:
10609 return NULL;
10610 }
10611
10612
10613 SWIGINTERN PyObject *SplitterWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10614 PyObject *obj;
10615 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10616 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow, SWIG_NewClientData(obj));
10617 return SWIG_Py_Void();
10618 }
10619
10620 SWIGINTERN PyObject *SplitterWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10621 return SWIG_Python_InitShadowInstance(args);
10622 }
10623
10624 SWIGINTERN PyObject *_wrap_new_SplitterEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10625 PyObject *resultobj = 0;
10626 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10627 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
10628 wxSplitterEvent *result = 0 ;
10629 int val1 ;
10630 int ecode1 = 0 ;
10631 void *argp2 = 0 ;
10632 int res2 = 0 ;
10633 PyObject * obj0 = 0 ;
10634 PyObject * obj1 = 0 ;
10635 char * kwnames[] = {
10636 (char *) "type",(char *) "splitter", NULL
10637 };
10638
10639 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) SWIG_fail;
10640 if (obj0) {
10641 ecode1 = SWIG_AsVal_int(obj0, &val1);
10642 if (!SWIG_IsOK(ecode1)) {
10643 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10644 }
10645 arg1 = static_cast< wxEventType >(val1);
10646 }
10647 if (obj1) {
10648 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10649 if (!SWIG_IsOK(res2)) {
10650 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10651 }
10652 arg2 = reinterpret_cast< wxSplitterWindow * >(argp2);
10653 }
10654 {
10655 PyThreadState* __tstate = wxPyBeginAllowThreads();
10656 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
10657 wxPyEndAllowThreads(__tstate);
10658 if (PyErr_Occurred()) SWIG_fail;
10659 }
10660 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_NEW | 0 );
10661 return resultobj;
10662 fail:
10663 return NULL;
10664 }
10665
10666
10667 SWIGINTERN PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10668 PyObject *resultobj = 0;
10669 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10670 int arg2 ;
10671 void *argp1 = 0 ;
10672 int res1 = 0 ;
10673 int val2 ;
10674 int ecode2 = 0 ;
10675 PyObject * obj0 = 0 ;
10676 PyObject * obj1 = 0 ;
10677 char * kwnames[] = {
10678 (char *) "self",(char *) "pos", NULL
10679 };
10680
10681 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) SWIG_fail;
10682 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10683 if (!SWIG_IsOK(res1)) {
10684 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10685 }
10686 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10687 ecode2 = SWIG_AsVal_int(obj1, &val2);
10688 if (!SWIG_IsOK(ecode2)) {
10689 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10690 }
10691 arg2 = static_cast< int >(val2);
10692 {
10693 PyThreadState* __tstate = wxPyBeginAllowThreads();
10694 (arg1)->SetSashPosition(arg2);
10695 wxPyEndAllowThreads(__tstate);
10696 if (PyErr_Occurred()) SWIG_fail;
10697 }
10698 resultobj = SWIG_Py_Void();
10699 return resultobj;
10700 fail:
10701 return NULL;
10702 }
10703
10704
10705 SWIGINTERN PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10706 PyObject *resultobj = 0;
10707 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10708 int result;
10709 void *argp1 = 0 ;
10710 int res1 = 0 ;
10711 PyObject *swig_obj[1] ;
10712
10713 if (!args) SWIG_fail;
10714 swig_obj[0] = args;
10715 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10716 if (!SWIG_IsOK(res1)) {
10717 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10718 }
10719 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10720 {
10721 PyThreadState* __tstate = wxPyBeginAllowThreads();
10722 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
10723 wxPyEndAllowThreads(__tstate);
10724 if (PyErr_Occurred()) SWIG_fail;
10725 }
10726 resultobj = SWIG_From_int(static_cast< int >(result));
10727 return resultobj;
10728 fail:
10729 return NULL;
10730 }
10731
10732
10733 SWIGINTERN PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10734 PyObject *resultobj = 0;
10735 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10736 wxWindow *result = 0 ;
10737 void *argp1 = 0 ;
10738 int res1 = 0 ;
10739 PyObject *swig_obj[1] ;
10740
10741 if (!args) SWIG_fail;
10742 swig_obj[0] = args;
10743 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10744 if (!SWIG_IsOK(res1)) {
10745 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10746 }
10747 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10748 {
10749 PyThreadState* __tstate = wxPyBeginAllowThreads();
10750 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
10751 wxPyEndAllowThreads(__tstate);
10752 if (PyErr_Occurred()) SWIG_fail;
10753 }
10754 {
10755 resultobj = wxPyMake_wxObject(result, 0);
10756 }
10757 return resultobj;
10758 fail:
10759 return NULL;
10760 }
10761
10762
10763 SWIGINTERN PyObject *_wrap_SplitterEvent_GetX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10764 PyObject *resultobj = 0;
10765 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10766 int result;
10767 void *argp1 = 0 ;
10768 int res1 = 0 ;
10769 PyObject *swig_obj[1] ;
10770
10771 if (!args) SWIG_fail;
10772 swig_obj[0] = args;
10773 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10774 if (!SWIG_IsOK(res1)) {
10775 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10776 }
10777 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10778 {
10779 PyThreadState* __tstate = wxPyBeginAllowThreads();
10780 result = (int)((wxSplitterEvent const *)arg1)->GetX();
10781 wxPyEndAllowThreads(__tstate);
10782 if (PyErr_Occurred()) SWIG_fail;
10783 }
10784 resultobj = SWIG_From_int(static_cast< int >(result));
10785 return resultobj;
10786 fail:
10787 return NULL;
10788 }
10789
10790
10791 SWIGINTERN PyObject *_wrap_SplitterEvent_GetY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10792 PyObject *resultobj = 0;
10793 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10794 int result;
10795 void *argp1 = 0 ;
10796 int res1 = 0 ;
10797 PyObject *swig_obj[1] ;
10798
10799 if (!args) SWIG_fail;
10800 swig_obj[0] = args;
10801 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10802 if (!SWIG_IsOK(res1)) {
10803 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10804 }
10805 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10806 {
10807 PyThreadState* __tstate = wxPyBeginAllowThreads();
10808 result = (int)((wxSplitterEvent const *)arg1)->GetY();
10809 wxPyEndAllowThreads(__tstate);
10810 if (PyErr_Occurred()) SWIG_fail;
10811 }
10812 resultobj = SWIG_From_int(static_cast< int >(result));
10813 return resultobj;
10814 fail:
10815 return NULL;
10816 }
10817
10818
10819 SWIGINTERN PyObject *SplitterEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10820 PyObject *obj;
10821 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10822 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent, SWIG_NewClientData(obj));
10823 return SWIG_Py_Void();
10824 }
10825
10826 SWIGINTERN PyObject *SplitterEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10827 return SWIG_Python_InitShadowInstance(args);
10828 }
10829
10830 SWIGINTERN int SashNameStr_set(PyObject *) {
10831 SWIG_Error(SWIG_AttributeError,"Variable SashNameStr is read-only.");
10832 return 1;
10833 }
10834
10835
10836 SWIGINTERN PyObject *SashNameStr_get(void) {
10837 PyObject *pyobj = 0;
10838
10839 {
10840 #if wxUSE_UNICODE
10841 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10842 #else
10843 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10844 #endif
10845 }
10846 return pyobj;
10847 }
10848
10849
10850 SWIGINTERN int SashLayoutNameStr_set(PyObject *) {
10851 SWIG_Error(SWIG_AttributeError,"Variable SashLayoutNameStr is read-only.");
10852 return 1;
10853 }
10854
10855
10856 SWIGINTERN PyObject *SashLayoutNameStr_get(void) {
10857 PyObject *pyobj = 0;
10858
10859 {
10860 #if wxUSE_UNICODE
10861 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10862 #else
10863 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10864 #endif
10865 }
10866 return pyobj;
10867 }
10868
10869
10870 SWIGINTERN PyObject *_wrap_new_SashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10871 PyObject *resultobj = 0;
10872 wxWindow *arg1 = (wxWindow *) 0 ;
10873 int arg2 = (int) -1 ;
10874 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10875 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10876 wxSize const &arg4_defvalue = wxDefaultSize ;
10877 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10878 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10879 wxString const &arg6_defvalue = wxPySashNameStr ;
10880 wxString *arg6 = (wxString *) &arg6_defvalue ;
10881 wxSashWindow *result = 0 ;
10882 void *argp1 = 0 ;
10883 int res1 = 0 ;
10884 int val2 ;
10885 int ecode2 = 0 ;
10886 wxPoint temp3 ;
10887 wxSize temp4 ;
10888 long val5 ;
10889 int ecode5 = 0 ;
10890 bool temp6 = false ;
10891 PyObject * obj0 = 0 ;
10892 PyObject * obj1 = 0 ;
10893 PyObject * obj2 = 0 ;
10894 PyObject * obj3 = 0 ;
10895 PyObject * obj4 = 0 ;
10896 PyObject * obj5 = 0 ;
10897 char * kwnames[] = {
10898 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10899 };
10900
10901 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
10902 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10903 if (!SWIG_IsOK(res1)) {
10904 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10905 }
10906 arg1 = reinterpret_cast< wxWindow * >(argp1);
10907 if (obj1) {
10908 ecode2 = SWIG_AsVal_int(obj1, &val2);
10909 if (!SWIG_IsOK(ecode2)) {
10910 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10911 }
10912 arg2 = static_cast< int >(val2);
10913 }
10914 if (obj2) {
10915 {
10916 arg3 = &temp3;
10917 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10918 }
10919 }
10920 if (obj3) {
10921 {
10922 arg4 = &temp4;
10923 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10924 }
10925 }
10926 if (obj4) {
10927 ecode5 = SWIG_AsVal_long(obj4, &val5);
10928 if (!SWIG_IsOK(ecode5)) {
10929 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10930 }
10931 arg5 = static_cast< long >(val5);
10932 }
10933 if (obj5) {
10934 {
10935 arg6 = wxString_in_helper(obj5);
10936 if (arg6 == NULL) SWIG_fail;
10937 temp6 = true;
10938 }
10939 }
10940 {
10941 if (!wxPyCheckForApp()) SWIG_fail;
10942 PyThreadState* __tstate = wxPyBeginAllowThreads();
10943 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10944 wxPyEndAllowThreads(__tstate);
10945 if (PyErr_Occurred()) SWIG_fail;
10946 }
10947 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_NEW | 0 );
10948 {
10949 if (temp6)
10950 delete arg6;
10951 }
10952 return resultobj;
10953 fail:
10954 {
10955 if (temp6)
10956 delete arg6;
10957 }
10958 return NULL;
10959 }
10960
10961
10962 SWIGINTERN PyObject *_wrap_new_PreSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10963 PyObject *resultobj = 0;
10964 wxSashWindow *result = 0 ;
10965
10966 if (!SWIG_Python_UnpackTuple(args,"new_PreSashWindow",0,0,0)) SWIG_fail;
10967 {
10968 if (!wxPyCheckForApp()) SWIG_fail;
10969 PyThreadState* __tstate = wxPyBeginAllowThreads();
10970 result = (wxSashWindow *)new wxSashWindow();
10971 wxPyEndAllowThreads(__tstate);
10972 if (PyErr_Occurred()) SWIG_fail;
10973 }
10974 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_OWN | 0 );
10975 return resultobj;
10976 fail:
10977 return NULL;
10978 }
10979
10980
10981 SWIGINTERN PyObject *_wrap_SashWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10982 PyObject *resultobj = 0;
10983 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10984 wxWindow *arg2 = (wxWindow *) 0 ;
10985 int arg3 = (int) -1 ;
10986 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10987 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10988 wxSize const &arg5_defvalue = wxDefaultSize ;
10989 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10990 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10991 wxString const &arg7_defvalue = wxPySashNameStr ;
10992 wxString *arg7 = (wxString *) &arg7_defvalue ;
10993 bool result;
10994 void *argp1 = 0 ;
10995 int res1 = 0 ;
10996 void *argp2 = 0 ;
10997 int res2 = 0 ;
10998 int val3 ;
10999 int ecode3 = 0 ;
11000 wxPoint temp4 ;
11001 wxSize temp5 ;
11002 long val6 ;
11003 int ecode6 = 0 ;
11004 bool temp7 = false ;
11005 PyObject * obj0 = 0 ;
11006 PyObject * obj1 = 0 ;
11007 PyObject * obj2 = 0 ;
11008 PyObject * obj3 = 0 ;
11009 PyObject * obj4 = 0 ;
11010 PyObject * obj5 = 0 ;
11011 PyObject * obj6 = 0 ;
11012 char * kwnames[] = {
11013 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11014 };
11015
11016 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
11017 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11018 if (!SWIG_IsOK(res1)) {
11019 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11020 }
11021 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11022 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
11023 if (!SWIG_IsOK(res2)) {
11024 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11025 }
11026 arg2 = reinterpret_cast< wxWindow * >(argp2);
11027 if (obj2) {
11028 ecode3 = SWIG_AsVal_int(obj2, &val3);
11029 if (!SWIG_IsOK(ecode3)) {
11030 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
11031 }
11032 arg3 = static_cast< int >(val3);
11033 }
11034 if (obj3) {
11035 {
11036 arg4 = &temp4;
11037 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11038 }
11039 }
11040 if (obj4) {
11041 {
11042 arg5 = &temp5;
11043 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11044 }
11045 }
11046 if (obj5) {
11047 ecode6 = SWIG_AsVal_long(obj5, &val6);
11048 if (!SWIG_IsOK(ecode6)) {
11049 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
11050 }
11051 arg6 = static_cast< long >(val6);
11052 }
11053 if (obj6) {
11054 {
11055 arg7 = wxString_in_helper(obj6);
11056 if (arg7 == NULL) SWIG_fail;
11057 temp7 = true;
11058 }
11059 }
11060 {
11061 PyThreadState* __tstate = wxPyBeginAllowThreads();
11062 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11063 wxPyEndAllowThreads(__tstate);
11064 if (PyErr_Occurred()) SWIG_fail;
11065 }
11066 {
11067 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11068 }
11069 {
11070 if (temp7)
11071 delete arg7;
11072 }
11073 return resultobj;
11074 fail:
11075 {
11076 if (temp7)
11077 delete arg7;
11078 }
11079 return NULL;
11080 }
11081
11082
11083 SWIGINTERN PyObject *_wrap_SashWindow_SetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11084 PyObject *resultobj = 0;
11085 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11086 wxSashEdgePosition arg2 ;
11087 bool arg3 ;
11088 void *argp1 = 0 ;
11089 int res1 = 0 ;
11090 int val2 ;
11091 int ecode2 = 0 ;
11092 bool val3 ;
11093 int ecode3 = 0 ;
11094 PyObject * obj0 = 0 ;
11095 PyObject * obj1 = 0 ;
11096 PyObject * obj2 = 0 ;
11097 char * kwnames[] = {
11098 (char *) "self",(char *) "edge",(char *) "sash", NULL
11099 };
11100
11101 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11102 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11103 if (!SWIG_IsOK(res1)) {
11104 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11105 }
11106 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11107 ecode2 = SWIG_AsVal_int(obj1, &val2);
11108 if (!SWIG_IsOK(ecode2)) {
11109 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11110 }
11111 arg2 = static_cast< wxSashEdgePosition >(val2);
11112 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11113 if (!SWIG_IsOK(ecode3)) {
11114 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
11115 }
11116 arg3 = static_cast< bool >(val3);
11117 {
11118 PyThreadState* __tstate = wxPyBeginAllowThreads();
11119 (arg1)->SetSashVisible(arg2,arg3);
11120 wxPyEndAllowThreads(__tstate);
11121 if (PyErr_Occurred()) SWIG_fail;
11122 }
11123 resultobj = SWIG_Py_Void();
11124 return resultobj;
11125 fail:
11126 return NULL;
11127 }
11128
11129
11130 SWIGINTERN PyObject *_wrap_SashWindow_GetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11131 PyObject *resultobj = 0;
11132 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11133 wxSashEdgePosition arg2 ;
11134 bool result;
11135 void *argp1 = 0 ;
11136 int res1 = 0 ;
11137 int val2 ;
11138 int ecode2 = 0 ;
11139 PyObject * obj0 = 0 ;
11140 PyObject * obj1 = 0 ;
11141 char * kwnames[] = {
11142 (char *) "self",(char *) "edge", NULL
11143 };
11144
11145 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) SWIG_fail;
11146 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11147 if (!SWIG_IsOK(res1)) {
11148 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11149 }
11150 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11151 ecode2 = SWIG_AsVal_int(obj1, &val2);
11152 if (!SWIG_IsOK(ecode2)) {
11153 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11154 }
11155 arg2 = static_cast< wxSashEdgePosition >(val2);
11156 {
11157 PyThreadState* __tstate = wxPyBeginAllowThreads();
11158 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible(arg2);
11159 wxPyEndAllowThreads(__tstate);
11160 if (PyErr_Occurred()) SWIG_fail;
11161 }
11162 {
11163 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11164 }
11165 return resultobj;
11166 fail:
11167 return NULL;
11168 }
11169
11170
11171 SWIGINTERN PyObject *_wrap_SashWindow_SetSashBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11172 PyObject *resultobj = 0;
11173 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11174 wxSashEdgePosition arg2 ;
11175 bool arg3 ;
11176 void *argp1 = 0 ;
11177 int res1 = 0 ;
11178 int val2 ;
11179 int ecode2 = 0 ;
11180 bool val3 ;
11181 int ecode3 = 0 ;
11182 PyObject * obj0 = 0 ;
11183 PyObject * obj1 = 0 ;
11184 PyObject * obj2 = 0 ;
11185 char * kwnames[] = {
11186 (char *) "self",(char *) "edge",(char *) "border", NULL
11187 };
11188
11189 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11190 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11191 if (!SWIG_IsOK(res1)) {
11192 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11193 }
11194 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11195 ecode2 = SWIG_AsVal_int(obj1, &val2);
11196 if (!SWIG_IsOK(ecode2)) {
11197 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11198 }
11199 arg2 = static_cast< wxSashEdgePosition >(val2);
11200 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11201 if (!SWIG_IsOK(ecode3)) {
11202 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
11203 }
11204 arg3 = static_cast< bool >(val3);
11205 {
11206 PyThreadState* __tstate = wxPyBeginAllowThreads();
11207 (arg1)->SetSashBorder(arg2,arg3);
11208 wxPyEndAllowThreads(__tstate);
11209 if (PyErr_Occurred()) SWIG_fail;
11210 }
11211 resultobj = SWIG_Py_Void();
11212 return resultobj;
11213 fail:
11214 return NULL;
11215 }
11216
11217
11218 SWIGINTERN PyObject *_wrap_SashWindow_HasBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11219 PyObject *resultobj = 0;
11220 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11221 wxSashEdgePosition arg2 ;
11222 bool result;
11223 void *argp1 = 0 ;
11224 int res1 = 0 ;
11225 int val2 ;
11226 int ecode2 = 0 ;
11227 PyObject * obj0 = 0 ;
11228 PyObject * obj1 = 0 ;
11229 char * kwnames[] = {
11230 (char *) "self",(char *) "edge", NULL
11231 };
11232
11233 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) SWIG_fail;
11234 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11235 if (!SWIG_IsOK(res1)) {
11236 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11237 }
11238 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11239 ecode2 = SWIG_AsVal_int(obj1, &val2);
11240 if (!SWIG_IsOK(ecode2)) {
11241 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11242 }
11243 arg2 = static_cast< wxSashEdgePosition >(val2);
11244 {
11245 PyThreadState* __tstate = wxPyBeginAllowThreads();
11246 result = (bool)((wxSashWindow const *)arg1)->HasBorder(arg2);
11247 wxPyEndAllowThreads(__tstate);
11248 if (PyErr_Occurred()) SWIG_fail;
11249 }
11250 {
11251 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11252 }
11253 return resultobj;
11254 fail:
11255 return NULL;
11256 }
11257
11258
11259 SWIGINTERN PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11260 PyObject *resultobj = 0;
11261 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11262 wxSashEdgePosition arg2 ;
11263 int result;
11264 void *argp1 = 0 ;
11265 int res1 = 0 ;
11266 int val2 ;
11267 int ecode2 = 0 ;
11268 PyObject * obj0 = 0 ;
11269 PyObject * obj1 = 0 ;
11270 char * kwnames[] = {
11271 (char *) "self",(char *) "edge", NULL
11272 };
11273
11274 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) SWIG_fail;
11275 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11276 if (!SWIG_IsOK(res1)) {
11277 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11278 }
11279 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11280 ecode2 = SWIG_AsVal_int(obj1, &val2);
11281 if (!SWIG_IsOK(ecode2)) {
11282 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11283 }
11284 arg2 = static_cast< wxSashEdgePosition >(val2);
11285 {
11286 PyThreadState* __tstate = wxPyBeginAllowThreads();
11287 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin(arg2);
11288 wxPyEndAllowThreads(__tstate);
11289 if (PyErr_Occurred()) SWIG_fail;
11290 }
11291 resultobj = SWIG_From_int(static_cast< int >(result));
11292 return resultobj;
11293 fail:
11294 return NULL;
11295 }
11296
11297
11298 SWIGINTERN PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11299 PyObject *resultobj = 0;
11300 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11301 int arg2 ;
11302 void *argp1 = 0 ;
11303 int res1 = 0 ;
11304 int val2 ;
11305 int ecode2 = 0 ;
11306 PyObject * obj0 = 0 ;
11307 PyObject * obj1 = 0 ;
11308 char * kwnames[] = {
11309 (char *) "self",(char *) "width", NULL
11310 };
11311
11312 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11313 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11314 if (!SWIG_IsOK(res1)) {
11315 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11316 }
11317 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11318 ecode2 = SWIG_AsVal_int(obj1, &val2);
11319 if (!SWIG_IsOK(ecode2)) {
11320 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11321 }
11322 arg2 = static_cast< int >(val2);
11323 {
11324 PyThreadState* __tstate = wxPyBeginAllowThreads();
11325 (arg1)->SetDefaultBorderSize(arg2);
11326 wxPyEndAllowThreads(__tstate);
11327 if (PyErr_Occurred()) SWIG_fail;
11328 }
11329 resultobj = SWIG_Py_Void();
11330 return resultobj;
11331 fail:
11332 return NULL;
11333 }
11334
11335
11336 SWIGINTERN PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11337 PyObject *resultobj = 0;
11338 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11339 int result;
11340 void *argp1 = 0 ;
11341 int res1 = 0 ;
11342 PyObject *swig_obj[1] ;
11343
11344 if (!args) SWIG_fail;
11345 swig_obj[0] = args;
11346 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11347 if (!SWIG_IsOK(res1)) {
11348 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11349 }
11350 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11351 {
11352 PyThreadState* __tstate = wxPyBeginAllowThreads();
11353 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
11354 wxPyEndAllowThreads(__tstate);
11355 if (PyErr_Occurred()) SWIG_fail;
11356 }
11357 resultobj = SWIG_From_int(static_cast< int >(result));
11358 return resultobj;
11359 fail:
11360 return NULL;
11361 }
11362
11363
11364 SWIGINTERN PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11365 PyObject *resultobj = 0;
11366 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11367 int arg2 ;
11368 void *argp1 = 0 ;
11369 int res1 = 0 ;
11370 int val2 ;
11371 int ecode2 = 0 ;
11372 PyObject * obj0 = 0 ;
11373 PyObject * obj1 = 0 ;
11374 char * kwnames[] = {
11375 (char *) "self",(char *) "width", NULL
11376 };
11377
11378 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11379 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11380 if (!SWIG_IsOK(res1)) {
11381 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11382 }
11383 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11384 ecode2 = SWIG_AsVal_int(obj1, &val2);
11385 if (!SWIG_IsOK(ecode2)) {
11386 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11387 }
11388 arg2 = static_cast< int >(val2);
11389 {
11390 PyThreadState* __tstate = wxPyBeginAllowThreads();
11391 (arg1)->SetExtraBorderSize(arg2);
11392 wxPyEndAllowThreads(__tstate);
11393 if (PyErr_Occurred()) SWIG_fail;
11394 }
11395 resultobj = SWIG_Py_Void();
11396 return resultobj;
11397 fail:
11398 return NULL;
11399 }
11400
11401
11402 SWIGINTERN PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11403 PyObject *resultobj = 0;
11404 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11405 int result;
11406 void *argp1 = 0 ;
11407 int res1 = 0 ;
11408 PyObject *swig_obj[1] ;
11409
11410 if (!args) SWIG_fail;
11411 swig_obj[0] = args;
11412 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11413 if (!SWIG_IsOK(res1)) {
11414 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11415 }
11416 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11417 {
11418 PyThreadState* __tstate = wxPyBeginAllowThreads();
11419 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
11420 wxPyEndAllowThreads(__tstate);
11421 if (PyErr_Occurred()) SWIG_fail;
11422 }
11423 resultobj = SWIG_From_int(static_cast< int >(result));
11424 return resultobj;
11425 fail:
11426 return NULL;
11427 }
11428
11429
11430 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11431 PyObject *resultobj = 0;
11432 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11433 int arg2 ;
11434 void *argp1 = 0 ;
11435 int res1 = 0 ;
11436 int val2 ;
11437 int ecode2 = 0 ;
11438 PyObject * obj0 = 0 ;
11439 PyObject * obj1 = 0 ;
11440 char * kwnames[] = {
11441 (char *) "self",(char *) "min", NULL
11442 };
11443
11444 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11445 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11446 if (!SWIG_IsOK(res1)) {
11447 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11448 }
11449 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11450 ecode2 = SWIG_AsVal_int(obj1, &val2);
11451 if (!SWIG_IsOK(ecode2)) {
11452 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11453 }
11454 arg2 = static_cast< int >(val2);
11455 {
11456 PyThreadState* __tstate = wxPyBeginAllowThreads();
11457 (arg1)->SetMinimumSizeX(arg2);
11458 wxPyEndAllowThreads(__tstate);
11459 if (PyErr_Occurred()) SWIG_fail;
11460 }
11461 resultobj = SWIG_Py_Void();
11462 return resultobj;
11463 fail:
11464 return NULL;
11465 }
11466
11467
11468 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11469 PyObject *resultobj = 0;
11470 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11471 int arg2 ;
11472 void *argp1 = 0 ;
11473 int res1 = 0 ;
11474 int val2 ;
11475 int ecode2 = 0 ;
11476 PyObject * obj0 = 0 ;
11477 PyObject * obj1 = 0 ;
11478 char * kwnames[] = {
11479 (char *) "self",(char *) "min", NULL
11480 };
11481
11482 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11483 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11484 if (!SWIG_IsOK(res1)) {
11485 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11486 }
11487 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11488 ecode2 = SWIG_AsVal_int(obj1, &val2);
11489 if (!SWIG_IsOK(ecode2)) {
11490 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11491 }
11492 arg2 = static_cast< int >(val2);
11493 {
11494 PyThreadState* __tstate = wxPyBeginAllowThreads();
11495 (arg1)->SetMinimumSizeY(arg2);
11496 wxPyEndAllowThreads(__tstate);
11497 if (PyErr_Occurred()) SWIG_fail;
11498 }
11499 resultobj = SWIG_Py_Void();
11500 return resultobj;
11501 fail:
11502 return NULL;
11503 }
11504
11505
11506 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11507 PyObject *resultobj = 0;
11508 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11509 int result;
11510 void *argp1 = 0 ;
11511 int res1 = 0 ;
11512 PyObject *swig_obj[1] ;
11513
11514 if (!args) SWIG_fail;
11515 swig_obj[0] = args;
11516 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11517 if (!SWIG_IsOK(res1)) {
11518 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11519 }
11520 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11521 {
11522 PyThreadState* __tstate = wxPyBeginAllowThreads();
11523 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
11524 wxPyEndAllowThreads(__tstate);
11525 if (PyErr_Occurred()) SWIG_fail;
11526 }
11527 resultobj = SWIG_From_int(static_cast< int >(result));
11528 return resultobj;
11529 fail:
11530 return NULL;
11531 }
11532
11533
11534 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11535 PyObject *resultobj = 0;
11536 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11537 int result;
11538 void *argp1 = 0 ;
11539 int res1 = 0 ;
11540 PyObject *swig_obj[1] ;
11541
11542 if (!args) SWIG_fail;
11543 swig_obj[0] = args;
11544 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11545 if (!SWIG_IsOK(res1)) {
11546 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11547 }
11548 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11549 {
11550 PyThreadState* __tstate = wxPyBeginAllowThreads();
11551 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
11552 wxPyEndAllowThreads(__tstate);
11553 if (PyErr_Occurred()) SWIG_fail;
11554 }
11555 resultobj = SWIG_From_int(static_cast< int >(result));
11556 return resultobj;
11557 fail:
11558 return NULL;
11559 }
11560
11561
11562 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11563 PyObject *resultobj = 0;
11564 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11565 int arg2 ;
11566 void *argp1 = 0 ;
11567 int res1 = 0 ;
11568 int val2 ;
11569 int ecode2 = 0 ;
11570 PyObject * obj0 = 0 ;
11571 PyObject * obj1 = 0 ;
11572 char * kwnames[] = {
11573 (char *) "self",(char *) "max", NULL
11574 };
11575
11576 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11577 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11578 if (!SWIG_IsOK(res1)) {
11579 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11580 }
11581 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11582 ecode2 = SWIG_AsVal_int(obj1, &val2);
11583 if (!SWIG_IsOK(ecode2)) {
11584 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11585 }
11586 arg2 = static_cast< int >(val2);
11587 {
11588 PyThreadState* __tstate = wxPyBeginAllowThreads();
11589 (arg1)->SetMaximumSizeX(arg2);
11590 wxPyEndAllowThreads(__tstate);
11591 if (PyErr_Occurred()) SWIG_fail;
11592 }
11593 resultobj = SWIG_Py_Void();
11594 return resultobj;
11595 fail:
11596 return NULL;
11597 }
11598
11599
11600 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11601 PyObject *resultobj = 0;
11602 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11603 int arg2 ;
11604 void *argp1 = 0 ;
11605 int res1 = 0 ;
11606 int val2 ;
11607 int ecode2 = 0 ;
11608 PyObject * obj0 = 0 ;
11609 PyObject * obj1 = 0 ;
11610 char * kwnames[] = {
11611 (char *) "self",(char *) "max", NULL
11612 };
11613
11614 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11615 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11616 if (!SWIG_IsOK(res1)) {
11617 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11618 }
11619 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11620 ecode2 = SWIG_AsVal_int(obj1, &val2);
11621 if (!SWIG_IsOK(ecode2)) {
11622 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11623 }
11624 arg2 = static_cast< int >(val2);
11625 {
11626 PyThreadState* __tstate = wxPyBeginAllowThreads();
11627 (arg1)->SetMaximumSizeY(arg2);
11628 wxPyEndAllowThreads(__tstate);
11629 if (PyErr_Occurred()) SWIG_fail;
11630 }
11631 resultobj = SWIG_Py_Void();
11632 return resultobj;
11633 fail:
11634 return NULL;
11635 }
11636
11637
11638 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11639 PyObject *resultobj = 0;
11640 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11641 int result;
11642 void *argp1 = 0 ;
11643 int res1 = 0 ;
11644 PyObject *swig_obj[1] ;
11645
11646 if (!args) SWIG_fail;
11647 swig_obj[0] = args;
11648 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11649 if (!SWIG_IsOK(res1)) {
11650 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11651 }
11652 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11653 {
11654 PyThreadState* __tstate = wxPyBeginAllowThreads();
11655 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
11656 wxPyEndAllowThreads(__tstate);
11657 if (PyErr_Occurred()) SWIG_fail;
11658 }
11659 resultobj = SWIG_From_int(static_cast< int >(result));
11660 return resultobj;
11661 fail:
11662 return NULL;
11663 }
11664
11665
11666 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11667 PyObject *resultobj = 0;
11668 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11669 int result;
11670 void *argp1 = 0 ;
11671 int res1 = 0 ;
11672 PyObject *swig_obj[1] ;
11673
11674 if (!args) SWIG_fail;
11675 swig_obj[0] = args;
11676 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11677 if (!SWIG_IsOK(res1)) {
11678 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11679 }
11680 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11681 {
11682 PyThreadState* __tstate = wxPyBeginAllowThreads();
11683 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
11684 wxPyEndAllowThreads(__tstate);
11685 if (PyErr_Occurred()) SWIG_fail;
11686 }
11687 resultobj = SWIG_From_int(static_cast< int >(result));
11688 return resultobj;
11689 fail:
11690 return NULL;
11691 }
11692
11693
11694 SWIGINTERN PyObject *_wrap_SashWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11695 PyObject *resultobj = 0;
11696 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11697 int arg2 ;
11698 int arg3 ;
11699 int arg4 = (int) 2 ;
11700 wxSashEdgePosition result;
11701 void *argp1 = 0 ;
11702 int res1 = 0 ;
11703 int val2 ;
11704 int ecode2 = 0 ;
11705 int val3 ;
11706 int ecode3 = 0 ;
11707 int val4 ;
11708 int ecode4 = 0 ;
11709 PyObject * obj0 = 0 ;
11710 PyObject * obj1 = 0 ;
11711 PyObject * obj2 = 0 ;
11712 PyObject * obj3 = 0 ;
11713 char * kwnames[] = {
11714 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11715 };
11716
11717 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11718 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11719 if (!SWIG_IsOK(res1)) {
11720 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11721 }
11722 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11723 ecode2 = SWIG_AsVal_int(obj1, &val2);
11724 if (!SWIG_IsOK(ecode2)) {
11725 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11726 }
11727 arg2 = static_cast< int >(val2);
11728 ecode3 = SWIG_AsVal_int(obj2, &val3);
11729 if (!SWIG_IsOK(ecode3)) {
11730 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11731 }
11732 arg3 = static_cast< int >(val3);
11733 if (obj3) {
11734 ecode4 = SWIG_AsVal_int(obj3, &val4);
11735 if (!SWIG_IsOK(ecode4)) {
11736 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11737 }
11738 arg4 = static_cast< int >(val4);
11739 }
11740 {
11741 PyThreadState* __tstate = wxPyBeginAllowThreads();
11742 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
11743 wxPyEndAllowThreads(__tstate);
11744 if (PyErr_Occurred()) SWIG_fail;
11745 }
11746 resultobj = SWIG_From_int(static_cast< int >(result));
11747 return resultobj;
11748 fail:
11749 return NULL;
11750 }
11751
11752
11753 SWIGINTERN PyObject *_wrap_SashWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11754 PyObject *resultobj = 0;
11755 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11756 void *argp1 = 0 ;
11757 int res1 = 0 ;
11758 PyObject *swig_obj[1] ;
11759
11760 if (!args) SWIG_fail;
11761 swig_obj[0] = args;
11762 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11763 if (!SWIG_IsOK(res1)) {
11764 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11765 }
11766 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11767 {
11768 PyThreadState* __tstate = wxPyBeginAllowThreads();
11769 (arg1)->SizeWindows();
11770 wxPyEndAllowThreads(__tstate);
11771 if (PyErr_Occurred()) SWIG_fail;
11772 }
11773 resultobj = SWIG_Py_Void();
11774 return resultobj;
11775 fail:
11776 return NULL;
11777 }
11778
11779
11780 SWIGINTERN PyObject *SashWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11781 PyObject *obj;
11782 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11783 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow, SWIG_NewClientData(obj));
11784 return SWIG_Py_Void();
11785 }
11786
11787 SWIGINTERN PyObject *SashWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11788 return SWIG_Python_InitShadowInstance(args);
11789 }
11790
11791 SWIGINTERN PyObject *_wrap_new_SashEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11792 PyObject *resultobj = 0;
11793 int arg1 = (int) 0 ;
11794 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
11795 wxSashEvent *result = 0 ;
11796 int val1 ;
11797 int ecode1 = 0 ;
11798 int val2 ;
11799 int ecode2 = 0 ;
11800 PyObject * obj0 = 0 ;
11801 PyObject * obj1 = 0 ;
11802 char * kwnames[] = {
11803 (char *) "id",(char *) "edge", NULL
11804 };
11805
11806 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) SWIG_fail;
11807 if (obj0) {
11808 ecode1 = SWIG_AsVal_int(obj0, &val1);
11809 if (!SWIG_IsOK(ecode1)) {
11810 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11811 }
11812 arg1 = static_cast< int >(val1);
11813 }
11814 if (obj1) {
11815 ecode2 = SWIG_AsVal_int(obj1, &val2);
11816 if (!SWIG_IsOK(ecode2)) {
11817 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11818 }
11819 arg2 = static_cast< wxSashEdgePosition >(val2);
11820 }
11821 {
11822 PyThreadState* __tstate = wxPyBeginAllowThreads();
11823 result = (wxSashEvent *)new wxSashEvent(arg1,arg2);
11824 wxPyEndAllowThreads(__tstate);
11825 if (PyErr_Occurred()) SWIG_fail;
11826 }
11827 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashEvent, SWIG_POINTER_NEW | 0 );
11828 return resultobj;
11829 fail:
11830 return NULL;
11831 }
11832
11833
11834 SWIGINTERN PyObject *_wrap_SashEvent_SetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11835 PyObject *resultobj = 0;
11836 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11837 wxSashEdgePosition arg2 ;
11838 void *argp1 = 0 ;
11839 int res1 = 0 ;
11840 int val2 ;
11841 int ecode2 = 0 ;
11842 PyObject * obj0 = 0 ;
11843 PyObject * obj1 = 0 ;
11844 char * kwnames[] = {
11845 (char *) "self",(char *) "edge", NULL
11846 };
11847
11848 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) SWIG_fail;
11849 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11850 if (!SWIG_IsOK(res1)) {
11851 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11852 }
11853 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11854 ecode2 = SWIG_AsVal_int(obj1, &val2);
11855 if (!SWIG_IsOK(ecode2)) {
11856 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11857 }
11858 arg2 = static_cast< wxSashEdgePosition >(val2);
11859 {
11860 PyThreadState* __tstate = wxPyBeginAllowThreads();
11861 (arg1)->SetEdge(arg2);
11862 wxPyEndAllowThreads(__tstate);
11863 if (PyErr_Occurred()) SWIG_fail;
11864 }
11865 resultobj = SWIG_Py_Void();
11866 return resultobj;
11867 fail:
11868 return NULL;
11869 }
11870
11871
11872 SWIGINTERN PyObject *_wrap_SashEvent_GetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11873 PyObject *resultobj = 0;
11874 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11875 wxSashEdgePosition result;
11876 void *argp1 = 0 ;
11877 int res1 = 0 ;
11878 PyObject *swig_obj[1] ;
11879
11880 if (!args) SWIG_fail;
11881 swig_obj[0] = args;
11882 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11883 if (!SWIG_IsOK(res1)) {
11884 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11885 }
11886 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11887 {
11888 PyThreadState* __tstate = wxPyBeginAllowThreads();
11889 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
11890 wxPyEndAllowThreads(__tstate);
11891 if (PyErr_Occurred()) SWIG_fail;
11892 }
11893 resultobj = SWIG_From_int(static_cast< int >(result));
11894 return resultobj;
11895 fail:
11896 return NULL;
11897 }
11898
11899
11900 SWIGINTERN PyObject *_wrap_SashEvent_SetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11901 PyObject *resultobj = 0;
11902 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11903 wxRect *arg2 = 0 ;
11904 void *argp1 = 0 ;
11905 int res1 = 0 ;
11906 wxRect temp2 ;
11907 PyObject * obj0 = 0 ;
11908 PyObject * obj1 = 0 ;
11909 char * kwnames[] = {
11910 (char *) "self",(char *) "rect", NULL
11911 };
11912
11913 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) SWIG_fail;
11914 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11915 if (!SWIG_IsOK(res1)) {
11916 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11917 }
11918 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11919 {
11920 arg2 = &temp2;
11921 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11922 }
11923 {
11924 PyThreadState* __tstate = wxPyBeginAllowThreads();
11925 (arg1)->SetDragRect((wxRect const &)*arg2);
11926 wxPyEndAllowThreads(__tstate);
11927 if (PyErr_Occurred()) SWIG_fail;
11928 }
11929 resultobj = SWIG_Py_Void();
11930 return resultobj;
11931 fail:
11932 return NULL;
11933 }
11934
11935
11936 SWIGINTERN PyObject *_wrap_SashEvent_GetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11937 PyObject *resultobj = 0;
11938 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11939 wxRect result;
11940 void *argp1 = 0 ;
11941 int res1 = 0 ;
11942 PyObject *swig_obj[1] ;
11943
11944 if (!args) SWIG_fail;
11945 swig_obj[0] = args;
11946 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11947 if (!SWIG_IsOK(res1)) {
11948 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11949 }
11950 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11951 {
11952 PyThreadState* __tstate = wxPyBeginAllowThreads();
11953 result = ((wxSashEvent const *)arg1)->GetDragRect();
11954 wxPyEndAllowThreads(__tstate);
11955 if (PyErr_Occurred()) SWIG_fail;
11956 }
11957 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
11958 return resultobj;
11959 fail:
11960 return NULL;
11961 }
11962
11963
11964 SWIGINTERN PyObject *_wrap_SashEvent_SetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11965 PyObject *resultobj = 0;
11966 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11967 wxSashDragStatus arg2 ;
11968 void *argp1 = 0 ;
11969 int res1 = 0 ;
11970 int val2 ;
11971 int ecode2 = 0 ;
11972 PyObject * obj0 = 0 ;
11973 PyObject * obj1 = 0 ;
11974 char * kwnames[] = {
11975 (char *) "self",(char *) "status", NULL
11976 };
11977
11978 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) SWIG_fail;
11979 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11980 if (!SWIG_IsOK(res1)) {
11981 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11982 }
11983 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11984 ecode2 = SWIG_AsVal_int(obj1, &val2);
11985 if (!SWIG_IsOK(ecode2)) {
11986 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11987 }
11988 arg2 = static_cast< wxSashDragStatus >(val2);
11989 {
11990 PyThreadState* __tstate = wxPyBeginAllowThreads();
11991 (arg1)->SetDragStatus(arg2);
11992 wxPyEndAllowThreads(__tstate);
11993 if (PyErr_Occurred()) SWIG_fail;
11994 }
11995 resultobj = SWIG_Py_Void();
11996 return resultobj;
11997 fail:
11998 return NULL;
11999 }
12000
12001
12002 SWIGINTERN PyObject *_wrap_SashEvent_GetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12003 PyObject *resultobj = 0;
12004 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
12005 wxSashDragStatus result;
12006 void *argp1 = 0 ;
12007 int res1 = 0 ;
12008 PyObject *swig_obj[1] ;
12009
12010 if (!args) SWIG_fail;
12011 swig_obj[0] = args;
12012 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
12013 if (!SWIG_IsOK(res1)) {
12014 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
12015 }
12016 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
12017 {
12018 PyThreadState* __tstate = wxPyBeginAllowThreads();
12019 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
12020 wxPyEndAllowThreads(__tstate);
12021 if (PyErr_Occurred()) SWIG_fail;
12022 }
12023 resultobj = SWIG_From_int(static_cast< int >(result));
12024 return resultobj;
12025 fail:
12026 return NULL;
12027 }
12028
12029
12030 SWIGINTERN PyObject *SashEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12031 PyObject *obj;
12032 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12033 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent, SWIG_NewClientData(obj));
12034 return SWIG_Py_Void();
12035 }
12036
12037 SWIGINTERN PyObject *SashEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12038 return SWIG_Python_InitShadowInstance(args);
12039 }
12040
12041 SWIGINTERN PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12042 PyObject *resultobj = 0;
12043 int arg1 = (int) 0 ;
12044 wxQueryLayoutInfoEvent *result = 0 ;
12045 int val1 ;
12046 int ecode1 = 0 ;
12047 PyObject * obj0 = 0 ;
12048 char * kwnames[] = {
12049 (char *) "id", NULL
12050 };
12051
12052 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) SWIG_fail;
12053 if (obj0) {
12054 ecode1 = SWIG_AsVal_int(obj0, &val1);
12055 if (!SWIG_IsOK(ecode1)) {
12056 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
12057 }
12058 arg1 = static_cast< int >(val1);
12059 }
12060 {
12061 PyThreadState* __tstate = wxPyBeginAllowThreads();
12062 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
12063 wxPyEndAllowThreads(__tstate);
12064 if (PyErr_Occurred()) SWIG_fail;
12065 }
12066 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_NEW | 0 );
12067 return resultobj;
12068 fail:
12069 return NULL;
12070 }
12071
12072
12073 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12074 PyObject *resultobj = 0;
12075 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12076 int arg2 ;
12077 void *argp1 = 0 ;
12078 int res1 = 0 ;
12079 int val2 ;
12080 int ecode2 = 0 ;
12081 PyObject * obj0 = 0 ;
12082 PyObject * obj1 = 0 ;
12083 char * kwnames[] = {
12084 (char *) "self",(char *) "length", NULL
12085 };
12086
12087 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) SWIG_fail;
12088 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12089 if (!SWIG_IsOK(res1)) {
12090 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12091 }
12092 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12093 ecode2 = SWIG_AsVal_int(obj1, &val2);
12094 if (!SWIG_IsOK(ecode2)) {
12095 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
12096 }
12097 arg2 = static_cast< int >(val2);
12098 {
12099 PyThreadState* __tstate = wxPyBeginAllowThreads();
12100 (arg1)->SetRequestedLength(arg2);
12101 wxPyEndAllowThreads(__tstate);
12102 if (PyErr_Occurred()) SWIG_fail;
12103 }
12104 resultobj = SWIG_Py_Void();
12105 return resultobj;
12106 fail:
12107 return NULL;
12108 }
12109
12110
12111 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12112 PyObject *resultobj = 0;
12113 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12114 int result;
12115 void *argp1 = 0 ;
12116 int res1 = 0 ;
12117 PyObject *swig_obj[1] ;
12118
12119 if (!args) SWIG_fail;
12120 swig_obj[0] = args;
12121 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12122 if (!SWIG_IsOK(res1)) {
12123 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12124 }
12125 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12126 {
12127 PyThreadState* __tstate = wxPyBeginAllowThreads();
12128 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
12129 wxPyEndAllowThreads(__tstate);
12130 if (PyErr_Occurred()) SWIG_fail;
12131 }
12132 resultobj = SWIG_From_int(static_cast< int >(result));
12133 return resultobj;
12134 fail:
12135 return NULL;
12136 }
12137
12138
12139 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12140 PyObject *resultobj = 0;
12141 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12142 int arg2 ;
12143 void *argp1 = 0 ;
12144 int res1 = 0 ;
12145 int val2 ;
12146 int ecode2 = 0 ;
12147 PyObject * obj0 = 0 ;
12148 PyObject * obj1 = 0 ;
12149 char * kwnames[] = {
12150 (char *) "self",(char *) "flags", NULL
12151 };
12152
12153 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12154 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12155 if (!SWIG_IsOK(res1)) {
12156 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12157 }
12158 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12159 ecode2 = SWIG_AsVal_int(obj1, &val2);
12160 if (!SWIG_IsOK(ecode2)) {
12161 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12162 }
12163 arg2 = static_cast< int >(val2);
12164 {
12165 PyThreadState* __tstate = wxPyBeginAllowThreads();
12166 (arg1)->SetFlags(arg2);
12167 wxPyEndAllowThreads(__tstate);
12168 if (PyErr_Occurred()) SWIG_fail;
12169 }
12170 resultobj = SWIG_Py_Void();
12171 return resultobj;
12172 fail:
12173 return NULL;
12174 }
12175
12176
12177 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12178 PyObject *resultobj = 0;
12179 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12180 int result;
12181 void *argp1 = 0 ;
12182 int res1 = 0 ;
12183 PyObject *swig_obj[1] ;
12184
12185 if (!args) SWIG_fail;
12186 swig_obj[0] = args;
12187 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12188 if (!SWIG_IsOK(res1)) {
12189 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12190 }
12191 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12192 {
12193 PyThreadState* __tstate = wxPyBeginAllowThreads();
12194 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
12195 wxPyEndAllowThreads(__tstate);
12196 if (PyErr_Occurred()) SWIG_fail;
12197 }
12198 resultobj = SWIG_From_int(static_cast< int >(result));
12199 return resultobj;
12200 fail:
12201 return NULL;
12202 }
12203
12204
12205 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12206 PyObject *resultobj = 0;
12207 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12208 wxSize *arg2 = 0 ;
12209 void *argp1 = 0 ;
12210 int res1 = 0 ;
12211 wxSize temp2 ;
12212 PyObject * obj0 = 0 ;
12213 PyObject * obj1 = 0 ;
12214 char * kwnames[] = {
12215 (char *) "self",(char *) "size", NULL
12216 };
12217
12218 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) SWIG_fail;
12219 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12220 if (!SWIG_IsOK(res1)) {
12221 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12222 }
12223 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12224 {
12225 arg2 = &temp2;
12226 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12227 }
12228 {
12229 PyThreadState* __tstate = wxPyBeginAllowThreads();
12230 (arg1)->SetSize((wxSize const &)*arg2);
12231 wxPyEndAllowThreads(__tstate);
12232 if (PyErr_Occurred()) SWIG_fail;
12233 }
12234 resultobj = SWIG_Py_Void();
12235 return resultobj;
12236 fail:
12237 return NULL;
12238 }
12239
12240
12241 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12242 PyObject *resultobj = 0;
12243 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12244 wxSize result;
12245 void *argp1 = 0 ;
12246 int res1 = 0 ;
12247 PyObject *swig_obj[1] ;
12248
12249 if (!args) SWIG_fail;
12250 swig_obj[0] = args;
12251 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12252 if (!SWIG_IsOK(res1)) {
12253 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12254 }
12255 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12256 {
12257 PyThreadState* __tstate = wxPyBeginAllowThreads();
12258 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
12259 wxPyEndAllowThreads(__tstate);
12260 if (PyErr_Occurred()) SWIG_fail;
12261 }
12262 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
12263 return resultobj;
12264 fail:
12265 return NULL;
12266 }
12267
12268
12269 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12270 PyObject *resultobj = 0;
12271 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12272 wxLayoutOrientation arg2 ;
12273 void *argp1 = 0 ;
12274 int res1 = 0 ;
12275 int val2 ;
12276 int ecode2 = 0 ;
12277 PyObject * obj0 = 0 ;
12278 PyObject * obj1 = 0 ;
12279 char * kwnames[] = {
12280 (char *) "self",(char *) "orient", NULL
12281 };
12282
12283 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12284 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12285 if (!SWIG_IsOK(res1)) {
12286 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12287 }
12288 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12289 ecode2 = SWIG_AsVal_int(obj1, &val2);
12290 if (!SWIG_IsOK(ecode2)) {
12291 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12292 }
12293 arg2 = static_cast< wxLayoutOrientation >(val2);
12294 {
12295 PyThreadState* __tstate = wxPyBeginAllowThreads();
12296 (arg1)->SetOrientation(arg2);
12297 wxPyEndAllowThreads(__tstate);
12298 if (PyErr_Occurred()) SWIG_fail;
12299 }
12300 resultobj = SWIG_Py_Void();
12301 return resultobj;
12302 fail:
12303 return NULL;
12304 }
12305
12306
12307 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12308 PyObject *resultobj = 0;
12309 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12310 wxLayoutOrientation result;
12311 void *argp1 = 0 ;
12312 int res1 = 0 ;
12313 PyObject *swig_obj[1] ;
12314
12315 if (!args) SWIG_fail;
12316 swig_obj[0] = args;
12317 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12318 if (!SWIG_IsOK(res1)) {
12319 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12320 }
12321 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12322 {
12323 PyThreadState* __tstate = wxPyBeginAllowThreads();
12324 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
12325 wxPyEndAllowThreads(__tstate);
12326 if (PyErr_Occurred()) SWIG_fail;
12327 }
12328 resultobj = SWIG_From_int(static_cast< int >(result));
12329 return resultobj;
12330 fail:
12331 return NULL;
12332 }
12333
12334
12335 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12336 PyObject *resultobj = 0;
12337 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12338 wxLayoutAlignment arg2 ;
12339 void *argp1 = 0 ;
12340 int res1 = 0 ;
12341 int val2 ;
12342 int ecode2 = 0 ;
12343 PyObject * obj0 = 0 ;
12344 PyObject * obj1 = 0 ;
12345 char * kwnames[] = {
12346 (char *) "self",(char *) "align", NULL
12347 };
12348
12349 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12350 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12351 if (!SWIG_IsOK(res1)) {
12352 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12353 }
12354 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12355 ecode2 = SWIG_AsVal_int(obj1, &val2);
12356 if (!SWIG_IsOK(ecode2)) {
12357 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12358 }
12359 arg2 = static_cast< wxLayoutAlignment >(val2);
12360 {
12361 PyThreadState* __tstate = wxPyBeginAllowThreads();
12362 (arg1)->SetAlignment(arg2);
12363 wxPyEndAllowThreads(__tstate);
12364 if (PyErr_Occurred()) SWIG_fail;
12365 }
12366 resultobj = SWIG_Py_Void();
12367 return resultobj;
12368 fail:
12369 return NULL;
12370 }
12371
12372
12373 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12374 PyObject *resultobj = 0;
12375 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12376 wxLayoutAlignment result;
12377 void *argp1 = 0 ;
12378 int res1 = 0 ;
12379 PyObject *swig_obj[1] ;
12380
12381 if (!args) SWIG_fail;
12382 swig_obj[0] = args;
12383 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12384 if (!SWIG_IsOK(res1)) {
12385 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12386 }
12387 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12388 {
12389 PyThreadState* __tstate = wxPyBeginAllowThreads();
12390 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
12391 wxPyEndAllowThreads(__tstate);
12392 if (PyErr_Occurred()) SWIG_fail;
12393 }
12394 resultobj = SWIG_From_int(static_cast< int >(result));
12395 return resultobj;
12396 fail:
12397 return NULL;
12398 }
12399
12400
12401 SWIGINTERN PyObject *QueryLayoutInfoEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12402 PyObject *obj;
12403 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12404 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_NewClientData(obj));
12405 return SWIG_Py_Void();
12406 }
12407
12408 SWIGINTERN PyObject *QueryLayoutInfoEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12409 return SWIG_Python_InitShadowInstance(args);
12410 }
12411
12412 SWIGINTERN PyObject *_wrap_new_CalculateLayoutEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12413 PyObject *resultobj = 0;
12414 int arg1 = (int) 0 ;
12415 wxCalculateLayoutEvent *result = 0 ;
12416 int val1 ;
12417 int ecode1 = 0 ;
12418 PyObject * obj0 = 0 ;
12419 char * kwnames[] = {
12420 (char *) "id", NULL
12421 };
12422
12423 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) SWIG_fail;
12424 if (obj0) {
12425 ecode1 = SWIG_AsVal_int(obj0, &val1);
12426 if (!SWIG_IsOK(ecode1)) {
12427 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12428 }
12429 arg1 = static_cast< int >(val1);
12430 }
12431 {
12432 PyThreadState* __tstate = wxPyBeginAllowThreads();
12433 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
12434 wxPyEndAllowThreads(__tstate);
12435 if (PyErr_Occurred()) SWIG_fail;
12436 }
12437 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_NEW | 0 );
12438 return resultobj;
12439 fail:
12440 return NULL;
12441 }
12442
12443
12444 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12445 PyObject *resultobj = 0;
12446 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12447 int arg2 ;
12448 void *argp1 = 0 ;
12449 int res1 = 0 ;
12450 int val2 ;
12451 int ecode2 = 0 ;
12452 PyObject * obj0 = 0 ;
12453 PyObject * obj1 = 0 ;
12454 char * kwnames[] = {
12455 (char *) "self",(char *) "flags", NULL
12456 };
12457
12458 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12459 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12460 if (!SWIG_IsOK(res1)) {
12461 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12462 }
12463 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12464 ecode2 = SWIG_AsVal_int(obj1, &val2);
12465 if (!SWIG_IsOK(ecode2)) {
12466 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12467 }
12468 arg2 = static_cast< int >(val2);
12469 {
12470 PyThreadState* __tstate = wxPyBeginAllowThreads();
12471 (arg1)->SetFlags(arg2);
12472 wxPyEndAllowThreads(__tstate);
12473 if (PyErr_Occurred()) SWIG_fail;
12474 }
12475 resultobj = SWIG_Py_Void();
12476 return resultobj;
12477 fail:
12478 return NULL;
12479 }
12480
12481
12482 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12483 PyObject *resultobj = 0;
12484 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12485 int result;
12486 void *argp1 = 0 ;
12487 int res1 = 0 ;
12488 PyObject *swig_obj[1] ;
12489
12490 if (!args) SWIG_fail;
12491 swig_obj[0] = args;
12492 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12493 if (!SWIG_IsOK(res1)) {
12494 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12495 }
12496 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12497 {
12498 PyThreadState* __tstate = wxPyBeginAllowThreads();
12499 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
12500 wxPyEndAllowThreads(__tstate);
12501 if (PyErr_Occurred()) SWIG_fail;
12502 }
12503 resultobj = SWIG_From_int(static_cast< int >(result));
12504 return resultobj;
12505 fail:
12506 return NULL;
12507 }
12508
12509
12510 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12511 PyObject *resultobj = 0;
12512 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12513 wxRect *arg2 = 0 ;
12514 void *argp1 = 0 ;
12515 int res1 = 0 ;
12516 wxRect temp2 ;
12517 PyObject * obj0 = 0 ;
12518 PyObject * obj1 = 0 ;
12519 char * kwnames[] = {
12520 (char *) "self",(char *) "rect", NULL
12521 };
12522
12523 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) SWIG_fail;
12524 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12525 if (!SWIG_IsOK(res1)) {
12526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12527 }
12528 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12529 {
12530 arg2 = &temp2;
12531 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12532 }
12533 {
12534 PyThreadState* __tstate = wxPyBeginAllowThreads();
12535 (arg1)->SetRect((wxRect const &)*arg2);
12536 wxPyEndAllowThreads(__tstate);
12537 if (PyErr_Occurred()) SWIG_fail;
12538 }
12539 resultobj = SWIG_Py_Void();
12540 return resultobj;
12541 fail:
12542 return NULL;
12543 }
12544
12545
12546 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12547 PyObject *resultobj = 0;
12548 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12549 wxRect result;
12550 void *argp1 = 0 ;
12551 int res1 = 0 ;
12552 PyObject *swig_obj[1] ;
12553
12554 if (!args) SWIG_fail;
12555 swig_obj[0] = args;
12556 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12557 if (!SWIG_IsOK(res1)) {
12558 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12559 }
12560 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12561 {
12562 PyThreadState* __tstate = wxPyBeginAllowThreads();
12563 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
12564 wxPyEndAllowThreads(__tstate);
12565 if (PyErr_Occurred()) SWIG_fail;
12566 }
12567 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
12568 return resultobj;
12569 fail:
12570 return NULL;
12571 }
12572
12573
12574 SWIGINTERN PyObject *CalculateLayoutEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12575 PyObject *obj;
12576 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12577 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_NewClientData(obj));
12578 return SWIG_Py_Void();
12579 }
12580
12581 SWIGINTERN PyObject *CalculateLayoutEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12582 return SWIG_Python_InitShadowInstance(args);
12583 }
12584
12585 SWIGINTERN PyObject *_wrap_new_SashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12586 PyObject *resultobj = 0;
12587 wxWindow *arg1 = (wxWindow *) 0 ;
12588 int arg2 = (int) -1 ;
12589 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12590 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12591 wxSize const &arg4_defvalue = wxDefaultSize ;
12592 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12593 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12594 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
12595 wxString *arg6 = (wxString *) &arg6_defvalue ;
12596 wxSashLayoutWindow *result = 0 ;
12597 void *argp1 = 0 ;
12598 int res1 = 0 ;
12599 int val2 ;
12600 int ecode2 = 0 ;
12601 wxPoint temp3 ;
12602 wxSize temp4 ;
12603 long val5 ;
12604 int ecode5 = 0 ;
12605 bool temp6 = false ;
12606 PyObject * obj0 = 0 ;
12607 PyObject * obj1 = 0 ;
12608 PyObject * obj2 = 0 ;
12609 PyObject * obj3 = 0 ;
12610 PyObject * obj4 = 0 ;
12611 PyObject * obj5 = 0 ;
12612 char * kwnames[] = {
12613 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12614 };
12615
12616 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
12617 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12618 if (!SWIG_IsOK(res1)) {
12619 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12620 }
12621 arg1 = reinterpret_cast< wxWindow * >(argp1);
12622 if (obj1) {
12623 ecode2 = SWIG_AsVal_int(obj1, &val2);
12624 if (!SWIG_IsOK(ecode2)) {
12625 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12626 }
12627 arg2 = static_cast< int >(val2);
12628 }
12629 if (obj2) {
12630 {
12631 arg3 = &temp3;
12632 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12633 }
12634 }
12635 if (obj3) {
12636 {
12637 arg4 = &temp4;
12638 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12639 }
12640 }
12641 if (obj4) {
12642 ecode5 = SWIG_AsVal_long(obj4, &val5);
12643 if (!SWIG_IsOK(ecode5)) {
12644 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12645 }
12646 arg5 = static_cast< long >(val5);
12647 }
12648 if (obj5) {
12649 {
12650 arg6 = wxString_in_helper(obj5);
12651 if (arg6 == NULL) SWIG_fail;
12652 temp6 = true;
12653 }
12654 }
12655 {
12656 if (!wxPyCheckForApp()) SWIG_fail;
12657 PyThreadState* __tstate = wxPyBeginAllowThreads();
12658 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12659 wxPyEndAllowThreads(__tstate);
12660 if (PyErr_Occurred()) SWIG_fail;
12661 }
12662 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_NEW | 0 );
12663 {
12664 if (temp6)
12665 delete arg6;
12666 }
12667 return resultobj;
12668 fail:
12669 {
12670 if (temp6)
12671 delete arg6;
12672 }
12673 return NULL;
12674 }
12675
12676
12677 SWIGINTERN PyObject *_wrap_new_PreSashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12678 PyObject *resultobj = 0;
12679 wxSashLayoutWindow *result = 0 ;
12680
12681 if (!SWIG_Python_UnpackTuple(args,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail;
12682 {
12683 if (!wxPyCheckForApp()) SWIG_fail;
12684 PyThreadState* __tstate = wxPyBeginAllowThreads();
12685 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
12686 wxPyEndAllowThreads(__tstate);
12687 if (PyErr_Occurred()) SWIG_fail;
12688 }
12689 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_OWN | 0 );
12690 return resultobj;
12691 fail:
12692 return NULL;
12693 }
12694
12695
12696 SWIGINTERN PyObject *_wrap_SashLayoutWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12697 PyObject *resultobj = 0;
12698 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12699 wxWindow *arg2 = (wxWindow *) 0 ;
12700 int arg3 = (int) -1 ;
12701 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12702 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12703 wxSize const &arg5_defvalue = wxDefaultSize ;
12704 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12705 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12706 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
12707 wxString *arg7 = (wxString *) &arg7_defvalue ;
12708 bool result;
12709 void *argp1 = 0 ;
12710 int res1 = 0 ;
12711 void *argp2 = 0 ;
12712 int res2 = 0 ;
12713 int val3 ;
12714 int ecode3 = 0 ;
12715 wxPoint temp4 ;
12716 wxSize temp5 ;
12717 long val6 ;
12718 int ecode6 = 0 ;
12719 bool temp7 = false ;
12720 PyObject * obj0 = 0 ;
12721 PyObject * obj1 = 0 ;
12722 PyObject * obj2 = 0 ;
12723 PyObject * obj3 = 0 ;
12724 PyObject * obj4 = 0 ;
12725 PyObject * obj5 = 0 ;
12726 PyObject * obj6 = 0 ;
12727 char * kwnames[] = {
12728 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12729 };
12730
12731 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
12732 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12733 if (!SWIG_IsOK(res1)) {
12734 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12735 }
12736 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12737 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12738 if (!SWIG_IsOK(res2)) {
12739 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12740 }
12741 arg2 = reinterpret_cast< wxWindow * >(argp2);
12742 if (obj2) {
12743 ecode3 = SWIG_AsVal_int(obj2, &val3);
12744 if (!SWIG_IsOK(ecode3)) {
12745 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12746 }
12747 arg3 = static_cast< int >(val3);
12748 }
12749 if (obj3) {
12750 {
12751 arg4 = &temp4;
12752 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12753 }
12754 }
12755 if (obj4) {
12756 {
12757 arg5 = &temp5;
12758 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12759 }
12760 }
12761 if (obj5) {
12762 ecode6 = SWIG_AsVal_long(obj5, &val6);
12763 if (!SWIG_IsOK(ecode6)) {
12764 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12765 }
12766 arg6 = static_cast< long >(val6);
12767 }
12768 if (obj6) {
12769 {
12770 arg7 = wxString_in_helper(obj6);
12771 if (arg7 == NULL) SWIG_fail;
12772 temp7 = true;
12773 }
12774 }
12775 {
12776 PyThreadState* __tstate = wxPyBeginAllowThreads();
12777 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12778 wxPyEndAllowThreads(__tstate);
12779 if (PyErr_Occurred()) SWIG_fail;
12780 }
12781 {
12782 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12783 }
12784 {
12785 if (temp7)
12786 delete arg7;
12787 }
12788 return resultobj;
12789 fail:
12790 {
12791 if (temp7)
12792 delete arg7;
12793 }
12794 return NULL;
12795 }
12796
12797
12798 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12799 PyObject *resultobj = 0;
12800 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12801 wxLayoutAlignment result;
12802 void *argp1 = 0 ;
12803 int res1 = 0 ;
12804 PyObject *swig_obj[1] ;
12805
12806 if (!args) SWIG_fail;
12807 swig_obj[0] = args;
12808 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12809 if (!SWIG_IsOK(res1)) {
12810 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12811 }
12812 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12813 {
12814 PyThreadState* __tstate = wxPyBeginAllowThreads();
12815 result = (wxLayoutAlignment)(arg1)->GetAlignment();
12816 wxPyEndAllowThreads(__tstate);
12817 if (PyErr_Occurred()) SWIG_fail;
12818 }
12819 resultobj = SWIG_From_int(static_cast< int >(result));
12820 return resultobj;
12821 fail:
12822 return NULL;
12823 }
12824
12825
12826 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12827 PyObject *resultobj = 0;
12828 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12829 wxLayoutOrientation result;
12830 void *argp1 = 0 ;
12831 int res1 = 0 ;
12832 PyObject *swig_obj[1] ;
12833
12834 if (!args) SWIG_fail;
12835 swig_obj[0] = args;
12836 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12837 if (!SWIG_IsOK(res1)) {
12838 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12839 }
12840 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12841 {
12842 PyThreadState* __tstate = wxPyBeginAllowThreads();
12843 result = (wxLayoutOrientation)(arg1)->GetOrientation();
12844 wxPyEndAllowThreads(__tstate);
12845 if (PyErr_Occurred()) SWIG_fail;
12846 }
12847 resultobj = SWIG_From_int(static_cast< int >(result));
12848 return resultobj;
12849 fail:
12850 return NULL;
12851 }
12852
12853
12854 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12855 PyObject *resultobj = 0;
12856 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12857 wxLayoutAlignment arg2 ;
12858 void *argp1 = 0 ;
12859 int res1 = 0 ;
12860 int val2 ;
12861 int ecode2 = 0 ;
12862 PyObject * obj0 = 0 ;
12863 PyObject * obj1 = 0 ;
12864 char * kwnames[] = {
12865 (char *) "self",(char *) "alignment", NULL
12866 };
12867
12868 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12869 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12870 if (!SWIG_IsOK(res1)) {
12871 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12872 }
12873 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12874 ecode2 = SWIG_AsVal_int(obj1, &val2);
12875 if (!SWIG_IsOK(ecode2)) {
12876 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12877 }
12878 arg2 = static_cast< wxLayoutAlignment >(val2);
12879 {
12880 PyThreadState* __tstate = wxPyBeginAllowThreads();
12881 (arg1)->SetAlignment(arg2);
12882 wxPyEndAllowThreads(__tstate);
12883 if (PyErr_Occurred()) SWIG_fail;
12884 }
12885 resultobj = SWIG_Py_Void();
12886 return resultobj;
12887 fail:
12888 return NULL;
12889 }
12890
12891
12892 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12893 PyObject *resultobj = 0;
12894 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12895 wxSize *arg2 = 0 ;
12896 void *argp1 = 0 ;
12897 int res1 = 0 ;
12898 wxSize temp2 ;
12899 PyObject * obj0 = 0 ;
12900 PyObject * obj1 = 0 ;
12901 char * kwnames[] = {
12902 (char *) "self",(char *) "size", NULL
12903 };
12904
12905 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) SWIG_fail;
12906 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12907 if (!SWIG_IsOK(res1)) {
12908 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12909 }
12910 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12911 {
12912 arg2 = &temp2;
12913 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12914 }
12915 {
12916 PyThreadState* __tstate = wxPyBeginAllowThreads();
12917 (arg1)->SetDefaultSize((wxSize const &)*arg2);
12918 wxPyEndAllowThreads(__tstate);
12919 if (PyErr_Occurred()) SWIG_fail;
12920 }
12921 resultobj = SWIG_Py_Void();
12922 return resultobj;
12923 fail:
12924 return NULL;
12925 }
12926
12927
12928 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12929 PyObject *resultobj = 0;
12930 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12931 wxLayoutOrientation arg2 ;
12932 void *argp1 = 0 ;
12933 int res1 = 0 ;
12934 int val2 ;
12935 int ecode2 = 0 ;
12936 PyObject * obj0 = 0 ;
12937 PyObject * obj1 = 0 ;
12938 char * kwnames[] = {
12939 (char *) "self",(char *) "orientation", NULL
12940 };
12941
12942 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12943 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12944 if (!SWIG_IsOK(res1)) {
12945 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12946 }
12947 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12948 ecode2 = SWIG_AsVal_int(obj1, &val2);
12949 if (!SWIG_IsOK(ecode2)) {
12950 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12951 }
12952 arg2 = static_cast< wxLayoutOrientation >(val2);
12953 {
12954 PyThreadState* __tstate = wxPyBeginAllowThreads();
12955 (arg1)->SetOrientation(arg2);
12956 wxPyEndAllowThreads(__tstate);
12957 if (PyErr_Occurred()) SWIG_fail;
12958 }
12959 resultobj = SWIG_Py_Void();
12960 return resultobj;
12961 fail:
12962 return NULL;
12963 }
12964
12965
12966 SWIGINTERN PyObject *SashLayoutWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12967 PyObject *obj;
12968 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12969 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow, SWIG_NewClientData(obj));
12970 return SWIG_Py_Void();
12971 }
12972
12973 SWIGINTERN PyObject *SashLayoutWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12974 return SWIG_Python_InitShadowInstance(args);
12975 }
12976
12977 SWIGINTERN PyObject *_wrap_new_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12978 PyObject *resultobj = 0;
12979 wxLayoutAlgorithm *result = 0 ;
12980
12981 if (!SWIG_Python_UnpackTuple(args,"new_LayoutAlgorithm",0,0,0)) SWIG_fail;
12982 {
12983 PyThreadState* __tstate = wxPyBeginAllowThreads();
12984 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
12985 wxPyEndAllowThreads(__tstate);
12986 if (PyErr_Occurred()) SWIG_fail;
12987 }
12988 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_NEW | 0 );
12989 return resultobj;
12990 fail:
12991 return NULL;
12992 }
12993
12994
12995 SWIGINTERN PyObject *_wrap_delete_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12996 PyObject *resultobj = 0;
12997 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12998 void *argp1 = 0 ;
12999 int res1 = 0 ;
13000 PyObject *swig_obj[1] ;
13001
13002 if (!args) SWIG_fail;
13003 swig_obj[0] = args;
13004 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_DISOWN | 0 );
13005 if (!SWIG_IsOK(res1)) {
13006 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13007 }
13008 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13009 {
13010 PyThreadState* __tstate = wxPyBeginAllowThreads();
13011 delete arg1;
13012
13013 wxPyEndAllowThreads(__tstate);
13014 if (PyErr_Occurred()) SWIG_fail;
13015 }
13016 resultobj = SWIG_Py_Void();
13017 return resultobj;
13018 fail:
13019 return NULL;
13020 }
13021
13022
13023 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13024 PyObject *resultobj = 0;
13025 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13026 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
13027 wxRect *arg3 = (wxRect *) NULL ;
13028 bool result;
13029 void *argp1 = 0 ;
13030 int res1 = 0 ;
13031 void *argp2 = 0 ;
13032 int res2 = 0 ;
13033 void *argp3 = 0 ;
13034 int res3 = 0 ;
13035 PyObject * obj0 = 0 ;
13036 PyObject * obj1 = 0 ;
13037 PyObject * obj2 = 0 ;
13038 char * kwnames[] = {
13039 (char *) "self",(char *) "frame",(char *) "rect", NULL
13040 };
13041
13042 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13043 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13044 if (!SWIG_IsOK(res1)) {
13045 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13046 }
13047 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13048 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
13049 if (!SWIG_IsOK(res2)) {
13050 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
13051 }
13052 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
13053 if (obj2) {
13054 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxRect, 0 | 0 );
13055 if (!SWIG_IsOK(res3)) {
13056 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
13057 }
13058 arg3 = reinterpret_cast< wxRect * >(argp3);
13059 }
13060 {
13061 PyThreadState* __tstate = wxPyBeginAllowThreads();
13062 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
13063 wxPyEndAllowThreads(__tstate);
13064 if (PyErr_Occurred()) SWIG_fail;
13065 }
13066 {
13067 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13068 }
13069 return resultobj;
13070 fail:
13071 return NULL;
13072 }
13073
13074
13075 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13076 PyObject *resultobj = 0;
13077 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13078 wxFrame *arg2 = (wxFrame *) 0 ;
13079 wxWindow *arg3 = (wxWindow *) NULL ;
13080 bool result;
13081 void *argp1 = 0 ;
13082 int res1 = 0 ;
13083 void *argp2 = 0 ;
13084 int res2 = 0 ;
13085 void *argp3 = 0 ;
13086 int res3 = 0 ;
13087 PyObject * obj0 = 0 ;
13088 PyObject * obj1 = 0 ;
13089 PyObject * obj2 = 0 ;
13090 char * kwnames[] = {
13091 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
13092 };
13093
13094 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13095 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13096 if (!SWIG_IsOK(res1)) {
13097 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13098 }
13099 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13100 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
13101 if (!SWIG_IsOK(res2)) {
13102 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
13103 }
13104 arg2 = reinterpret_cast< wxFrame * >(argp2);
13105 if (obj2) {
13106 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13107 if (!SWIG_IsOK(res3)) {
13108 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
13109 }
13110 arg3 = reinterpret_cast< wxWindow * >(argp3);
13111 }
13112 {
13113 PyThreadState* __tstate = wxPyBeginAllowThreads();
13114 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
13115 wxPyEndAllowThreads(__tstate);
13116 if (PyErr_Occurred()) SWIG_fail;
13117 }
13118 {
13119 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13120 }
13121 return resultobj;
13122 fail:
13123 return NULL;
13124 }
13125
13126
13127 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13128 PyObject *resultobj = 0;
13129 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13130 wxWindow *arg2 = (wxWindow *) 0 ;
13131 wxWindow *arg3 = (wxWindow *) NULL ;
13132 bool result;
13133 void *argp1 = 0 ;
13134 int res1 = 0 ;
13135 void *argp2 = 0 ;
13136 int res2 = 0 ;
13137 void *argp3 = 0 ;
13138 int res3 = 0 ;
13139 PyObject * obj0 = 0 ;
13140 PyObject * obj1 = 0 ;
13141 PyObject * obj2 = 0 ;
13142 char * kwnames[] = {
13143 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
13144 };
13145
13146 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13147 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13148 if (!SWIG_IsOK(res1)) {
13149 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13150 }
13151 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13152 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13153 if (!SWIG_IsOK(res2)) {
13154 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13155 }
13156 arg2 = reinterpret_cast< wxWindow * >(argp2);
13157 if (obj2) {
13158 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13159 if (!SWIG_IsOK(res3)) {
13160 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
13161 }
13162 arg3 = reinterpret_cast< wxWindow * >(argp3);
13163 }
13164 {
13165 PyThreadState* __tstate = wxPyBeginAllowThreads();
13166 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
13167 wxPyEndAllowThreads(__tstate);
13168 if (PyErr_Occurred()) SWIG_fail;
13169 }
13170 {
13171 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13172 }
13173 return resultobj;
13174 fail:
13175 return NULL;
13176 }
13177
13178
13179 SWIGINTERN PyObject *LayoutAlgorithm_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13180 PyObject *obj;
13181 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13182 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm, SWIG_NewClientData(obj));
13183 return SWIG_Py_Void();
13184 }
13185
13186 SWIGINTERN PyObject *LayoutAlgorithm_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13187 return SWIG_Python_InitShadowInstance(args);
13188 }
13189
13190 SWIGINTERN PyObject *_wrap_new_PopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13191 PyObject *resultobj = 0;
13192 wxWindow *arg1 = (wxWindow *) 0 ;
13193 int arg2 = (int) wxBORDER_NONE ;
13194 wxPopupWindow *result = 0 ;
13195 void *argp1 = 0 ;
13196 int res1 = 0 ;
13197 int val2 ;
13198 int ecode2 = 0 ;
13199 PyObject * obj0 = 0 ;
13200 PyObject * obj1 = 0 ;
13201 char * kwnames[] = {
13202 (char *) "parent",(char *) "flags", NULL
13203 };
13204
13205 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13206 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13207 if (!SWIG_IsOK(res1)) {
13208 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13209 }
13210 arg1 = reinterpret_cast< wxWindow * >(argp1);
13211 if (obj1) {
13212 ecode2 = SWIG_AsVal_int(obj1, &val2);
13213 if (!SWIG_IsOK(ecode2)) {
13214 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13215 }
13216 arg2 = static_cast< int >(val2);
13217 }
13218 {
13219 if (!wxPyCheckForApp()) SWIG_fail;
13220 PyThreadState* __tstate = wxPyBeginAllowThreads();
13221 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
13222 wxPyEndAllowThreads(__tstate);
13223 if (PyErr_Occurred()) SWIG_fail;
13224 }
13225 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_NEW | 0 );
13226 return resultobj;
13227 fail:
13228 return NULL;
13229 }
13230
13231
13232 SWIGINTERN PyObject *_wrap_new_PrePopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13233 PyObject *resultobj = 0;
13234 wxPopupWindow *result = 0 ;
13235
13236 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupWindow",0,0,0)) SWIG_fail;
13237 {
13238 if (!wxPyCheckForApp()) SWIG_fail;
13239 PyThreadState* __tstate = wxPyBeginAllowThreads();
13240 result = (wxPopupWindow *)new wxPopupWindow();
13241 wxPyEndAllowThreads(__tstate);
13242 if (PyErr_Occurred()) SWIG_fail;
13243 }
13244 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_OWN | 0 );
13245 return resultobj;
13246 fail:
13247 return NULL;
13248 }
13249
13250
13251 SWIGINTERN PyObject *_wrap_PopupWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13252 PyObject *resultobj = 0;
13253 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
13254 wxWindow *arg2 = (wxWindow *) 0 ;
13255 int arg3 = (int) wxBORDER_NONE ;
13256 bool result;
13257 void *argp1 = 0 ;
13258 int res1 = 0 ;
13259 void *argp2 = 0 ;
13260 int res2 = 0 ;
13261 int val3 ;
13262 int ecode3 = 0 ;
13263 PyObject * obj0 = 0 ;
13264 PyObject * obj1 = 0 ;
13265 PyObject * obj2 = 0 ;
13266 char * kwnames[] = {
13267 (char *) "self",(char *) "parent",(char *) "flags", NULL
13268 };
13269
13270 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13271 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
13272 if (!SWIG_IsOK(res1)) {
13273 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13274 }
13275 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
13276 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13277 if (!SWIG_IsOK(res2)) {
13278 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13279 }
13280 arg2 = reinterpret_cast< wxWindow * >(argp2);
13281 if (obj2) {
13282 ecode3 = SWIG_AsVal_int(obj2, &val3);
13283 if (!SWIG_IsOK(ecode3)) {
13284 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'");
13285 }
13286 arg3 = static_cast< int >(val3);
13287 }
13288 {
13289 PyThreadState* __tstate = wxPyBeginAllowThreads();
13290 result = (bool)(arg1)->Create(arg2,arg3);
13291 wxPyEndAllowThreads(__tstate);
13292 if (PyErr_Occurred()) SWIG_fail;
13293 }
13294 {
13295 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13296 }
13297 return resultobj;
13298 fail:
13299 return NULL;
13300 }
13301
13302
13303 SWIGINTERN PyObject *_wrap_PopupWindow_Position(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13304 PyObject *resultobj = 0;
13305 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
13306 wxPoint *arg2 = 0 ;
13307 wxSize *arg3 = 0 ;
13308 void *argp1 = 0 ;
13309 int res1 = 0 ;
13310 wxPoint temp2 ;
13311 wxSize temp3 ;
13312 PyObject * obj0 = 0 ;
13313 PyObject * obj1 = 0 ;
13314 PyObject * obj2 = 0 ;
13315 char * kwnames[] = {
13316 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
13317 };
13318
13319 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13320 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
13321 if (!SWIG_IsOK(res1)) {
13322 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13323 }
13324 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
13325 {
13326 arg2 = &temp2;
13327 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13328 }
13329 {
13330 arg3 = &temp3;
13331 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
13332 }
13333 {
13334 PyThreadState* __tstate = wxPyBeginAllowThreads();
13335 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
13336 wxPyEndAllowThreads(__tstate);
13337 if (PyErr_Occurred()) SWIG_fail;
13338 }
13339 resultobj = SWIG_Py_Void();
13340 return resultobj;
13341 fail:
13342 return NULL;
13343 }
13344
13345
13346 SWIGINTERN PyObject *PopupWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13347 PyObject *obj;
13348 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13349 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow, SWIG_NewClientData(obj));
13350 return SWIG_Py_Void();
13351 }
13352
13353 SWIGINTERN PyObject *PopupWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13354 return SWIG_Python_InitShadowInstance(args);
13355 }
13356
13357 SWIGINTERN PyObject *_wrap_new_PopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13358 PyObject *resultobj = 0;
13359 wxWindow *arg1 = (wxWindow *) 0 ;
13360 int arg2 = (int) wxBORDER_NONE ;
13361 wxPyPopupTransientWindow *result = 0 ;
13362 void *argp1 = 0 ;
13363 int res1 = 0 ;
13364 int val2 ;
13365 int ecode2 = 0 ;
13366 PyObject * obj0 = 0 ;
13367 PyObject * obj1 = 0 ;
13368 char * kwnames[] = {
13369 (char *) "parent",(char *) "style", NULL
13370 };
13371
13372 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13373 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13374 if (!SWIG_IsOK(res1)) {
13375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13376 }
13377 arg1 = reinterpret_cast< wxWindow * >(argp1);
13378 if (obj1) {
13379 ecode2 = SWIG_AsVal_int(obj1, &val2);
13380 if (!SWIG_IsOK(ecode2)) {
13381 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13382 }
13383 arg2 = static_cast< int >(val2);
13384 }
13385 {
13386 if (!wxPyCheckForApp()) SWIG_fail;
13387 PyThreadState* __tstate = wxPyBeginAllowThreads();
13388 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
13389 wxPyEndAllowThreads(__tstate);
13390 if (PyErr_Occurred()) SWIG_fail;
13391 }
13392 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_NEW | 0 );
13393 return resultobj;
13394 fail:
13395 return NULL;
13396 }
13397
13398
13399 SWIGINTERN PyObject *_wrap_new_PrePopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13400 PyObject *resultobj = 0;
13401 wxPyPopupTransientWindow *result = 0 ;
13402
13403 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail;
13404 {
13405 if (!wxPyCheckForApp()) SWIG_fail;
13406 PyThreadState* __tstate = wxPyBeginAllowThreads();
13407 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
13408 wxPyEndAllowThreads(__tstate);
13409 if (PyErr_Occurred()) SWIG_fail;
13410 }
13411 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_OWN | 0 );
13412 return resultobj;
13413 fail:
13414 return NULL;
13415 }
13416
13417
13418 SWIGINTERN PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13419 PyObject *resultobj = 0;
13420 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13421 PyObject *arg2 = (PyObject *) 0 ;
13422 PyObject *arg3 = (PyObject *) 0 ;
13423 void *argp1 = 0 ;
13424 int res1 = 0 ;
13425 PyObject * obj0 = 0 ;
13426 PyObject * obj1 = 0 ;
13427 PyObject * obj2 = 0 ;
13428 char * kwnames[] = {
13429 (char *) "self",(char *) "self",(char *) "_class", NULL
13430 };
13431
13432 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13433 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13434 if (!SWIG_IsOK(res1)) {
13435 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13436 }
13437 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13438 arg2 = obj1;
13439 arg3 = obj2;
13440 {
13441 PyThreadState* __tstate = wxPyBeginAllowThreads();
13442 (arg1)->_setCallbackInfo(arg2,arg3);
13443 wxPyEndAllowThreads(__tstate);
13444 if (PyErr_Occurred()) SWIG_fail;
13445 }
13446 resultobj = SWIG_Py_Void();
13447 return resultobj;
13448 fail:
13449 return NULL;
13450 }
13451
13452
13453 SWIGINTERN PyObject *_wrap_PopupTransientWindow_Popup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13454 PyObject *resultobj = 0;
13455 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13456 wxWindow *arg2 = (wxWindow *) NULL ;
13457 void *argp1 = 0 ;
13458 int res1 = 0 ;
13459 void *argp2 = 0 ;
13460 int res2 = 0 ;
13461 PyObject * obj0 = 0 ;
13462 PyObject * obj1 = 0 ;
13463 char * kwnames[] = {
13464 (char *) "self",(char *) "focus", NULL
13465 };
13466
13467 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) SWIG_fail;
13468 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13469 if (!SWIG_IsOK(res1)) {
13470 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13471 }
13472 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13473 if (obj1) {
13474 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13475 if (!SWIG_IsOK(res2)) {
13476 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");
13477 }
13478 arg2 = reinterpret_cast< wxWindow * >(argp2);
13479 }
13480 {
13481 PyThreadState* __tstate = wxPyBeginAllowThreads();
13482 (arg1)->Popup(arg2);
13483 wxPyEndAllowThreads(__tstate);
13484 if (PyErr_Occurred()) SWIG_fail;
13485 }
13486 resultobj = SWIG_Py_Void();
13487 return resultobj;
13488 fail:
13489 return NULL;
13490 }
13491
13492
13493 SWIGINTERN PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13494 PyObject *resultobj = 0;
13495 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13496 void *argp1 = 0 ;
13497 int res1 = 0 ;
13498 PyObject *swig_obj[1] ;
13499
13500 if (!args) SWIG_fail;
13501 swig_obj[0] = args;
13502 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13503 if (!SWIG_IsOK(res1)) {
13504 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13505 }
13506 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13507 {
13508 PyThreadState* __tstate = wxPyBeginAllowThreads();
13509 (arg1)->Dismiss();
13510 wxPyEndAllowThreads(__tstate);
13511 if (PyErr_Occurred()) SWIG_fail;
13512 }
13513 resultobj = SWIG_Py_Void();
13514 return resultobj;
13515 fail:
13516 return NULL;
13517 }
13518
13519
13520 SWIGINTERN PyObject *PopupTransientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13521 PyObject *obj;
13522 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13523 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_NewClientData(obj));
13524 return SWIG_Py_Void();
13525 }
13526
13527 SWIGINTERN PyObject *PopupTransientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13528 return SWIG_Python_InitShadowInstance(args);
13529 }
13530
13531 SWIGINTERN PyObject *_wrap_new_TipWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13532 PyObject *resultobj = 0;
13533 wxWindow *arg1 = (wxWindow *) 0 ;
13534 wxString *arg2 = 0 ;
13535 int arg3 = (int) 100 ;
13536 wxRect *arg4 = (wxRect *) NULL ;
13537 wxTipWindow *result = 0 ;
13538 void *argp1 = 0 ;
13539 int res1 = 0 ;
13540 bool temp2 = false ;
13541 int val3 ;
13542 int ecode3 = 0 ;
13543 void *argp4 = 0 ;
13544 int res4 = 0 ;
13545 PyObject * obj0 = 0 ;
13546 PyObject * obj1 = 0 ;
13547 PyObject * obj2 = 0 ;
13548 PyObject * obj3 = 0 ;
13549 char * kwnames[] = {
13550 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13551 };
13552
13553 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13554 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13555 if (!SWIG_IsOK(res1)) {
13556 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13557 }
13558 arg1 = reinterpret_cast< wxWindow * >(argp1);
13559 {
13560 arg2 = wxString_in_helper(obj1);
13561 if (arg2 == NULL) SWIG_fail;
13562 temp2 = true;
13563 }
13564 if (obj2) {
13565 ecode3 = SWIG_AsVal_int(obj2, &val3);
13566 if (!SWIG_IsOK(ecode3)) {
13567 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13568 }
13569 arg3 = static_cast< int >(val3);
13570 }
13571 if (obj3) {
13572 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxRect, 0 | 0 );
13573 if (!SWIG_IsOK(res4)) {
13574 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13575 }
13576 arg4 = reinterpret_cast< wxRect * >(argp4);
13577 }
13578 {
13579 if (!wxPyCheckForApp()) SWIG_fail;
13580 PyThreadState* __tstate = wxPyBeginAllowThreads();
13581 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
13582 wxPyEndAllowThreads(__tstate);
13583 if (PyErr_Occurred()) SWIG_fail;
13584 }
13585 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTipWindow, SWIG_POINTER_NEW | 0 );
13586 {
13587 if (temp2)
13588 delete arg2;
13589 }
13590 return resultobj;
13591 fail:
13592 {
13593 if (temp2)
13594 delete arg2;
13595 }
13596 return NULL;
13597 }
13598
13599
13600 SWIGINTERN PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13601 PyObject *resultobj = 0;
13602 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13603 wxRect *arg2 = 0 ;
13604 void *argp1 = 0 ;
13605 int res1 = 0 ;
13606 wxRect temp2 ;
13607 PyObject * obj0 = 0 ;
13608 PyObject * obj1 = 0 ;
13609 char * kwnames[] = {
13610 (char *) "self",(char *) "rectBound", NULL
13611 };
13612
13613 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) SWIG_fail;
13614 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13615 if (!SWIG_IsOK(res1)) {
13616 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13617 }
13618 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13619 {
13620 arg2 = &temp2;
13621 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
13622 }
13623 {
13624 PyThreadState* __tstate = wxPyBeginAllowThreads();
13625 (arg1)->SetBoundingRect((wxRect const &)*arg2);
13626 wxPyEndAllowThreads(__tstate);
13627 if (PyErr_Occurred()) SWIG_fail;
13628 }
13629 resultobj = SWIG_Py_Void();
13630 return resultobj;
13631 fail:
13632 return NULL;
13633 }
13634
13635
13636 SWIGINTERN PyObject *_wrap_TipWindow_Close(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13637 PyObject *resultobj = 0;
13638 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13639 void *argp1 = 0 ;
13640 int res1 = 0 ;
13641 PyObject *swig_obj[1] ;
13642
13643 if (!args) SWIG_fail;
13644 swig_obj[0] = args;
13645 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13646 if (!SWIG_IsOK(res1)) {
13647 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13648 }
13649 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13650 {
13651 PyThreadState* __tstate = wxPyBeginAllowThreads();
13652 (arg1)->Close();
13653 wxPyEndAllowThreads(__tstate);
13654 if (PyErr_Occurred()) SWIG_fail;
13655 }
13656 resultobj = SWIG_Py_Void();
13657 return resultobj;
13658 fail:
13659 return NULL;
13660 }
13661
13662
13663 SWIGINTERN PyObject *TipWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13664 PyObject *obj;
13665 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13666 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow, SWIG_NewClientData(obj));
13667 return SWIG_Py_Void();
13668 }
13669
13670 SWIGINTERN PyObject *TipWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13671 return SWIG_Python_InitShadowInstance(args);
13672 }
13673
13674 SWIGINTERN PyObject *_wrap_new_VScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13675 PyObject *resultobj = 0;
13676 wxWindow *arg1 = (wxWindow *) 0 ;
13677 int arg2 = (int) wxID_ANY ;
13678 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13679 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13680 wxSize const &arg4_defvalue = wxDefaultSize ;
13681 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13682 long arg5 = (long) 0 ;
13683 wxString const &arg6_defvalue = wxPyPanelNameStr ;
13684 wxString *arg6 = (wxString *) &arg6_defvalue ;
13685 wxPyVScrolledWindow *result = 0 ;
13686 void *argp1 = 0 ;
13687 int res1 = 0 ;
13688 int val2 ;
13689 int ecode2 = 0 ;
13690 wxPoint temp3 ;
13691 wxSize temp4 ;
13692 long val5 ;
13693 int ecode5 = 0 ;
13694 bool temp6 = false ;
13695 PyObject * obj0 = 0 ;
13696 PyObject * obj1 = 0 ;
13697 PyObject * obj2 = 0 ;
13698 PyObject * obj3 = 0 ;
13699 PyObject * obj4 = 0 ;
13700 PyObject * obj5 = 0 ;
13701 char * kwnames[] = {
13702 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13703 };
13704
13705 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
13706 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13707 if (!SWIG_IsOK(res1)) {
13708 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13709 }
13710 arg1 = reinterpret_cast< wxWindow * >(argp1);
13711 if (obj1) {
13712 ecode2 = SWIG_AsVal_int(obj1, &val2);
13713 if (!SWIG_IsOK(ecode2)) {
13714 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13715 }
13716 arg2 = static_cast< int >(val2);
13717 }
13718 if (obj2) {
13719 {
13720 arg3 = &temp3;
13721 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13722 }
13723 }
13724 if (obj3) {
13725 {
13726 arg4 = &temp4;
13727 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13728 }
13729 }
13730 if (obj4) {
13731 ecode5 = SWIG_AsVal_long(obj4, &val5);
13732 if (!SWIG_IsOK(ecode5)) {
13733 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13734 }
13735 arg5 = static_cast< long >(val5);
13736 }
13737 if (obj5) {
13738 {
13739 arg6 = wxString_in_helper(obj5);
13740 if (arg6 == NULL) SWIG_fail;
13741 temp6 = true;
13742 }
13743 }
13744 {
13745 if (!wxPyCheckForApp()) SWIG_fail;
13746 PyThreadState* __tstate = wxPyBeginAllowThreads();
13747 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13748 wxPyEndAllowThreads(__tstate);
13749 if (PyErr_Occurred()) SWIG_fail;
13750 }
13751 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_NEW | 0 );
13752 {
13753 if (temp6)
13754 delete arg6;
13755 }
13756 return resultobj;
13757 fail:
13758 {
13759 if (temp6)
13760 delete arg6;
13761 }
13762 return NULL;
13763 }
13764
13765
13766 SWIGINTERN PyObject *_wrap_new_PreVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13767 PyObject *resultobj = 0;
13768 wxPyVScrolledWindow *result = 0 ;
13769
13770 if (!SWIG_Python_UnpackTuple(args,"new_PreVScrolledWindow",0,0,0)) SWIG_fail;
13771 {
13772 if (!wxPyCheckForApp()) SWIG_fail;
13773 PyThreadState* __tstate = wxPyBeginAllowThreads();
13774 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
13775 wxPyEndAllowThreads(__tstate);
13776 if (PyErr_Occurred()) SWIG_fail;
13777 }
13778 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_OWN | 0 );
13779 return resultobj;
13780 fail:
13781 return NULL;
13782 }
13783
13784
13785 SWIGINTERN PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13786 PyObject *resultobj = 0;
13787 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13788 PyObject *arg2 = (PyObject *) 0 ;
13789 PyObject *arg3 = (PyObject *) 0 ;
13790 void *argp1 = 0 ;
13791 int res1 = 0 ;
13792 PyObject * obj0 = 0 ;
13793 PyObject * obj1 = 0 ;
13794 PyObject * obj2 = 0 ;
13795 char * kwnames[] = {
13796 (char *) "self",(char *) "self",(char *) "_class", NULL
13797 };
13798
13799 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13800 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13801 if (!SWIG_IsOK(res1)) {
13802 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13803 }
13804 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13805 arg2 = obj1;
13806 arg3 = obj2;
13807 {
13808 PyThreadState* __tstate = wxPyBeginAllowThreads();
13809 (arg1)->_setCallbackInfo(arg2,arg3);
13810 wxPyEndAllowThreads(__tstate);
13811 if (PyErr_Occurred()) SWIG_fail;
13812 }
13813 resultobj = SWIG_Py_Void();
13814 return resultobj;
13815 fail:
13816 return NULL;
13817 }
13818
13819
13820 SWIGINTERN PyObject *_wrap_VScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13821 PyObject *resultobj = 0;
13822 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13823 wxWindow *arg2 = (wxWindow *) 0 ;
13824 int arg3 = (int) wxID_ANY ;
13825 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13826 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13827 wxSize const &arg5_defvalue = wxDefaultSize ;
13828 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13829 long arg6 = (long) 0 ;
13830 wxString const &arg7_defvalue = wxPyPanelNameStr ;
13831 wxString *arg7 = (wxString *) &arg7_defvalue ;
13832 bool result;
13833 void *argp1 = 0 ;
13834 int res1 = 0 ;
13835 void *argp2 = 0 ;
13836 int res2 = 0 ;
13837 int val3 ;
13838 int ecode3 = 0 ;
13839 wxPoint temp4 ;
13840 wxSize temp5 ;
13841 long val6 ;
13842 int ecode6 = 0 ;
13843 bool temp7 = false ;
13844 PyObject * obj0 = 0 ;
13845 PyObject * obj1 = 0 ;
13846 PyObject * obj2 = 0 ;
13847 PyObject * obj3 = 0 ;
13848 PyObject * obj4 = 0 ;
13849 PyObject * obj5 = 0 ;
13850 PyObject * obj6 = 0 ;
13851 char * kwnames[] = {
13852 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13853 };
13854
13855 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
13856 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13857 if (!SWIG_IsOK(res1)) {
13858 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13859 }
13860 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13861 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13862 if (!SWIG_IsOK(res2)) {
13863 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13864 }
13865 arg2 = reinterpret_cast< wxWindow * >(argp2);
13866 if (obj2) {
13867 ecode3 = SWIG_AsVal_int(obj2, &val3);
13868 if (!SWIG_IsOK(ecode3)) {
13869 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13870 }
13871 arg3 = static_cast< int >(val3);
13872 }
13873 if (obj3) {
13874 {
13875 arg4 = &temp4;
13876 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13877 }
13878 }
13879 if (obj4) {
13880 {
13881 arg5 = &temp5;
13882 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13883 }
13884 }
13885 if (obj5) {
13886 ecode6 = SWIG_AsVal_long(obj5, &val6);
13887 if (!SWIG_IsOK(ecode6)) {
13888 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13889 }
13890 arg6 = static_cast< long >(val6);
13891 }
13892 if (obj6) {
13893 {
13894 arg7 = wxString_in_helper(obj6);
13895 if (arg7 == NULL) SWIG_fail;
13896 temp7 = true;
13897 }
13898 }
13899 {
13900 PyThreadState* __tstate = wxPyBeginAllowThreads();
13901 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13902 wxPyEndAllowThreads(__tstate);
13903 if (PyErr_Occurred()) SWIG_fail;
13904 }
13905 {
13906 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13907 }
13908 {
13909 if (temp7)
13910 delete arg7;
13911 }
13912 return resultobj;
13913 fail:
13914 {
13915 if (temp7)
13916 delete arg7;
13917 }
13918 return NULL;
13919 }
13920
13921
13922 SWIGINTERN PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13923 PyObject *resultobj = 0;
13924 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13925 size_t arg2 ;
13926 void *argp1 = 0 ;
13927 int res1 = 0 ;
13928 size_t val2 ;
13929 int ecode2 = 0 ;
13930 PyObject * obj0 = 0 ;
13931 PyObject * obj1 = 0 ;
13932 char * kwnames[] = {
13933 (char *) "self",(char *) "count", NULL
13934 };
13935
13936 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) SWIG_fail;
13937 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13938 if (!SWIG_IsOK(res1)) {
13939 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13940 }
13941 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13942 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13943 if (!SWIG_IsOK(ecode2)) {
13944 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13945 }
13946 arg2 = static_cast< size_t >(val2);
13947 {
13948 PyThreadState* __tstate = wxPyBeginAllowThreads();
13949 (arg1)->SetLineCount(arg2);
13950 wxPyEndAllowThreads(__tstate);
13951 if (PyErr_Occurred()) SWIG_fail;
13952 }
13953 resultobj = SWIG_Py_Void();
13954 return resultobj;
13955 fail:
13956 return NULL;
13957 }
13958
13959
13960 SWIGINTERN PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13961 PyObject *resultobj = 0;
13962 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13963 size_t arg2 ;
13964 bool result;
13965 void *argp1 = 0 ;
13966 int res1 = 0 ;
13967 size_t val2 ;
13968 int ecode2 = 0 ;
13969 PyObject * obj0 = 0 ;
13970 PyObject * obj1 = 0 ;
13971 char * kwnames[] = {
13972 (char *) "self",(char *) "line", NULL
13973 };
13974
13975 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) SWIG_fail;
13976 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13977 if (!SWIG_IsOK(res1)) {
13978 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13979 }
13980 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13981 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13982 if (!SWIG_IsOK(ecode2)) {
13983 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13984 }
13985 arg2 = static_cast< size_t >(val2);
13986 {
13987 PyThreadState* __tstate = wxPyBeginAllowThreads();
13988 result = (bool)(arg1)->ScrollToLine(arg2);
13989 wxPyEndAllowThreads(__tstate);
13990 if (PyErr_Occurred()) SWIG_fail;
13991 }
13992 {
13993 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13994 }
13995 return resultobj;
13996 fail:
13997 return NULL;
13998 }
13999
14000
14001 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14002 PyObject *resultobj = 0;
14003 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14004 size_t arg2 ;
14005 void *argp1 = 0 ;
14006 int res1 = 0 ;
14007 size_t val2 ;
14008 int ecode2 = 0 ;
14009 PyObject * obj0 = 0 ;
14010 PyObject * obj1 = 0 ;
14011 char * kwnames[] = {
14012 (char *) "self",(char *) "line", NULL
14013 };
14014
14015 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) SWIG_fail;
14016 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14017 if (!SWIG_IsOK(res1)) {
14018 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14019 }
14020 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14021 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14022 if (!SWIG_IsOK(ecode2)) {
14023 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
14024 }
14025 arg2 = static_cast< size_t >(val2);
14026 {
14027 PyThreadState* __tstate = wxPyBeginAllowThreads();
14028 (arg1)->RefreshLine(arg2);
14029 wxPyEndAllowThreads(__tstate);
14030 if (PyErr_Occurred()) SWIG_fail;
14031 }
14032 resultobj = SWIG_Py_Void();
14033 return resultobj;
14034 fail:
14035 return NULL;
14036 }
14037
14038
14039 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14040 PyObject *resultobj = 0;
14041 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14042 size_t arg2 ;
14043 size_t arg3 ;
14044 void *argp1 = 0 ;
14045 int res1 = 0 ;
14046 size_t val2 ;
14047 int ecode2 = 0 ;
14048 size_t val3 ;
14049 int ecode3 = 0 ;
14050 PyObject * obj0 = 0 ;
14051 PyObject * obj1 = 0 ;
14052 PyObject * obj2 = 0 ;
14053 char * kwnames[] = {
14054 (char *) "self",(char *) "from",(char *) "to", NULL
14055 };
14056
14057 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14058 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14059 if (!SWIG_IsOK(res1)) {
14060 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14061 }
14062 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14063 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14064 if (!SWIG_IsOK(ecode2)) {
14065 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
14066 }
14067 arg2 = static_cast< size_t >(val2);
14068 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14069 if (!SWIG_IsOK(ecode3)) {
14070 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
14071 }
14072 arg3 = static_cast< size_t >(val3);
14073 {
14074 PyThreadState* __tstate = wxPyBeginAllowThreads();
14075 (arg1)->RefreshLines(arg2,arg3);
14076 wxPyEndAllowThreads(__tstate);
14077 if (PyErr_Occurred()) SWIG_fail;
14078 }
14079 resultobj = SWIG_Py_Void();
14080 return resultobj;
14081 fail:
14082 return NULL;
14083 }
14084
14085
14086 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14087 PyObject *resultobj = 0;
14088 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14089 int arg2 ;
14090 int arg3 ;
14091 int result;
14092 void *argp1 = 0 ;
14093 int res1 = 0 ;
14094 int val2 ;
14095 int ecode2 = 0 ;
14096 int val3 ;
14097 int ecode3 = 0 ;
14098 PyObject * obj0 = 0 ;
14099 PyObject * obj1 = 0 ;
14100 PyObject * obj2 = 0 ;
14101 char * kwnames[] = {
14102 (char *) "self",(char *) "x",(char *) "y", NULL
14103 };
14104
14105 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14106 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14107 if (!SWIG_IsOK(res1)) {
14108 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14109 }
14110 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14111 ecode2 = SWIG_AsVal_int(obj1, &val2);
14112 if (!SWIG_IsOK(ecode2)) {
14113 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
14114 }
14115 arg2 = static_cast< int >(val2);
14116 ecode3 = SWIG_AsVal_int(obj2, &val3);
14117 if (!SWIG_IsOK(ecode3)) {
14118 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
14119 }
14120 arg3 = static_cast< int >(val3);
14121 {
14122 PyThreadState* __tstate = wxPyBeginAllowThreads();
14123 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
14124 wxPyEndAllowThreads(__tstate);
14125 if (PyErr_Occurred()) SWIG_fail;
14126 }
14127 resultobj = SWIG_From_int(static_cast< int >(result));
14128 return resultobj;
14129 fail:
14130 return NULL;
14131 }
14132
14133
14134 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14135 PyObject *resultobj = 0;
14136 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14137 wxPoint *arg2 = 0 ;
14138 int result;
14139 void *argp1 = 0 ;
14140 int res1 = 0 ;
14141 wxPoint temp2 ;
14142 PyObject * obj0 = 0 ;
14143 PyObject * obj1 = 0 ;
14144 char * kwnames[] = {
14145 (char *) "self",(char *) "pt", NULL
14146 };
14147
14148 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
14149 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14150 if (!SWIG_IsOK(res1)) {
14151 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14152 }
14153 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14154 {
14155 arg2 = &temp2;
14156 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14157 }
14158 {
14159 PyThreadState* __tstate = wxPyBeginAllowThreads();
14160 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
14161 wxPyEndAllowThreads(__tstate);
14162 if (PyErr_Occurred()) SWIG_fail;
14163 }
14164 resultobj = SWIG_From_int(static_cast< int >(result));
14165 return resultobj;
14166 fail:
14167 return NULL;
14168 }
14169
14170
14171 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14172 PyObject *resultobj = 0;
14173 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14174 void *argp1 = 0 ;
14175 int res1 = 0 ;
14176 PyObject *swig_obj[1] ;
14177
14178 if (!args) SWIG_fail;
14179 swig_obj[0] = args;
14180 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14181 if (!SWIG_IsOK(res1)) {
14182 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14183 }
14184 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14185 {
14186 PyThreadState* __tstate = wxPyBeginAllowThreads();
14187 (arg1)->RefreshAll();
14188 wxPyEndAllowThreads(__tstate);
14189 if (PyErr_Occurred()) SWIG_fail;
14190 }
14191 resultobj = SWIG_Py_Void();
14192 return resultobj;
14193 fail:
14194 return NULL;
14195 }
14196
14197
14198 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14199 PyObject *resultobj = 0;
14200 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14201 size_t result;
14202 void *argp1 = 0 ;
14203 int res1 = 0 ;
14204 PyObject *swig_obj[1] ;
14205
14206 if (!args) SWIG_fail;
14207 swig_obj[0] = args;
14208 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14209 if (!SWIG_IsOK(res1)) {
14210 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14211 }
14212 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14213 {
14214 PyThreadState* __tstate = wxPyBeginAllowThreads();
14215 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
14216 wxPyEndAllowThreads(__tstate);
14217 if (PyErr_Occurred()) SWIG_fail;
14218 }
14219 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14220 return resultobj;
14221 fail:
14222 return NULL;
14223 }
14224
14225
14226 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14227 PyObject *resultobj = 0;
14228 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14229 size_t result;
14230 void *argp1 = 0 ;
14231 int res1 = 0 ;
14232 PyObject *swig_obj[1] ;
14233
14234 if (!args) SWIG_fail;
14235 swig_obj[0] = args;
14236 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14237 if (!SWIG_IsOK(res1)) {
14238 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14239 }
14240 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14241 {
14242 PyThreadState* __tstate = wxPyBeginAllowThreads();
14243 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleBegin();
14244 wxPyEndAllowThreads(__tstate);
14245 if (PyErr_Occurred()) SWIG_fail;
14246 }
14247 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14248 return resultobj;
14249 fail:
14250 return NULL;
14251 }
14252
14253
14254 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14255 PyObject *resultobj = 0;
14256 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14257 size_t result;
14258 void *argp1 = 0 ;
14259 int res1 = 0 ;
14260 PyObject *swig_obj[1] ;
14261
14262 if (!args) SWIG_fail;
14263 swig_obj[0] = args;
14264 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14265 if (!SWIG_IsOK(res1)) {
14266 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14267 }
14268 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14269 {
14270 PyThreadState* __tstate = wxPyBeginAllowThreads();
14271 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleEnd();
14272 wxPyEndAllowThreads(__tstate);
14273 if (PyErr_Occurred()) SWIG_fail;
14274 }
14275 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14276 return resultobj;
14277 fail:
14278 return NULL;
14279 }
14280
14281
14282 SWIGINTERN PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14283 PyObject *resultobj = 0;
14284 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14285 size_t arg2 ;
14286 bool result;
14287 void *argp1 = 0 ;
14288 int res1 = 0 ;
14289 size_t val2 ;
14290 int ecode2 = 0 ;
14291 PyObject * obj0 = 0 ;
14292 PyObject * obj1 = 0 ;
14293 char * kwnames[] = {
14294 (char *) "self",(char *) "line", NULL
14295 };
14296
14297 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
14298 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14299 if (!SWIG_IsOK(res1)) {
14300 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14301 }
14302 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14303 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14304 if (!SWIG_IsOK(ecode2)) {
14305 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14306 }
14307 arg2 = static_cast< size_t >(val2);
14308 {
14309 PyThreadState* __tstate = wxPyBeginAllowThreads();
14310 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
14311 wxPyEndAllowThreads(__tstate);
14312 if (PyErr_Occurred()) SWIG_fail;
14313 }
14314 {
14315 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14316 }
14317 return resultobj;
14318 fail:
14319 return NULL;
14320 }
14321
14322
14323 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14324 PyObject *resultobj = 0;
14325 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14326 size_t result;
14327 void *argp1 = 0 ;
14328 int res1 = 0 ;
14329 PyObject *swig_obj[1] ;
14330
14331 if (!args) SWIG_fail;
14332 swig_obj[0] = args;
14333 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14334 if (!SWIG_IsOK(res1)) {
14335 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14336 }
14337 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14338 {
14339 PyThreadState* __tstate = wxPyBeginAllowThreads();
14340 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
14341 wxPyEndAllowThreads(__tstate);
14342 if (PyErr_Occurred()) SWIG_fail;
14343 }
14344 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14345 return resultobj;
14346 fail:
14347 return NULL;
14348 }
14349
14350
14351 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14352 PyObject *resultobj = 0;
14353 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14354 size_t result;
14355 void *argp1 = 0 ;
14356 int res1 = 0 ;
14357 PyObject *swig_obj[1] ;
14358
14359 if (!args) SWIG_fail;
14360 swig_obj[0] = args;
14361 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14362 if (!SWIG_IsOK(res1)) {
14363 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14364 }
14365 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14366 {
14367 PyThreadState* __tstate = wxPyBeginAllowThreads();
14368 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
14369 wxPyEndAllowThreads(__tstate);
14370 if (PyErr_Occurred()) SWIG_fail;
14371 }
14372 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14373 return resultobj;
14374 fail:
14375 return NULL;
14376 }
14377
14378
14379 SWIGINTERN PyObject *_wrap_VScrolledWindow_FindFirstFromBottom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14380 PyObject *resultobj = 0;
14381 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14382 size_t arg2 ;
14383 bool arg3 = (bool) false ;
14384 size_t result;
14385 void *argp1 = 0 ;
14386 int res1 = 0 ;
14387 size_t val2 ;
14388 int ecode2 = 0 ;
14389 bool val3 ;
14390 int ecode3 = 0 ;
14391 PyObject * obj0 = 0 ;
14392 PyObject * obj1 = 0 ;
14393 PyObject * obj2 = 0 ;
14394 char * kwnames[] = {
14395 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14396 };
14397
14398 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14399 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14400 if (!SWIG_IsOK(res1)) {
14401 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14402 }
14403 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14404 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14405 if (!SWIG_IsOK(ecode2)) {
14406 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14407 }
14408 arg2 = static_cast< size_t >(val2);
14409 if (obj2) {
14410 ecode3 = SWIG_AsVal_bool(obj2, &val3);
14411 if (!SWIG_IsOK(ecode3)) {
14412 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14413 }
14414 arg3 = static_cast< bool >(val3);
14415 }
14416 {
14417 PyThreadState* __tstate = wxPyBeginAllowThreads();
14418 result = (size_t)(arg1)->FindFirstFromBottom(arg2,arg3);
14419 wxPyEndAllowThreads(__tstate);
14420 if (PyErr_Occurred()) SWIG_fail;
14421 }
14422 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14423 return resultobj;
14424 fail:
14425 return NULL;
14426 }
14427
14428
14429 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLinesHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14430 PyObject *resultobj = 0;
14431 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14432 size_t arg2 ;
14433 size_t arg3 ;
14434 int result;
14435 void *argp1 = 0 ;
14436 int res1 = 0 ;
14437 size_t val2 ;
14438 int ecode2 = 0 ;
14439 size_t val3 ;
14440 int ecode3 = 0 ;
14441 PyObject * obj0 = 0 ;
14442 PyObject * obj1 = 0 ;
14443 PyObject * obj2 = 0 ;
14444 char * kwnames[] = {
14445 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14446 };
14447
14448 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14449 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14450 if (!SWIG_IsOK(res1)) {
14451 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14452 }
14453 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14454 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14455 if (!SWIG_IsOK(ecode2)) {
14456 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14457 }
14458 arg2 = static_cast< size_t >(val2);
14459 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14460 if (!SWIG_IsOK(ecode3)) {
14461 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14462 }
14463 arg3 = static_cast< size_t >(val3);
14464 {
14465 PyThreadState* __tstate = wxPyBeginAllowThreads();
14466 result = (int)((wxPyVScrolledWindow const *)arg1)->GetLinesHeight(arg2,arg3);
14467 wxPyEndAllowThreads(__tstate);
14468 if (PyErr_Occurred()) SWIG_fail;
14469 }
14470 resultobj = SWIG_From_int(static_cast< int >(result));
14471 return resultobj;
14472 fail:
14473 return NULL;
14474 }
14475
14476
14477 SWIGINTERN PyObject *VScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14478 PyObject *obj;
14479 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14480 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow, SWIG_NewClientData(obj));
14481 return SWIG_Py_Void();
14482 }
14483
14484 SWIGINTERN PyObject *VScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14485 return SWIG_Python_InitShadowInstance(args);
14486 }
14487
14488 SWIGINTERN int VListBoxNameStr_set(PyObject *) {
14489 SWIG_Error(SWIG_AttributeError,"Variable VListBoxNameStr is read-only.");
14490 return 1;
14491 }
14492
14493
14494 SWIGINTERN PyObject *VListBoxNameStr_get(void) {
14495 PyObject *pyobj = 0;
14496
14497 {
14498 #if wxUSE_UNICODE
14499 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14500 #else
14501 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14502 #endif
14503 }
14504 return pyobj;
14505 }
14506
14507
14508 SWIGINTERN PyObject *_wrap_new_VListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14509 PyObject *resultobj = 0;
14510 wxWindow *arg1 = (wxWindow *) 0 ;
14511 int arg2 = (int) wxID_ANY ;
14512 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14513 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14514 wxSize const &arg4_defvalue = wxDefaultSize ;
14515 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14516 long arg5 = (long) 0 ;
14517 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
14518 wxString *arg6 = (wxString *) &arg6_defvalue ;
14519 wxPyVListBox *result = 0 ;
14520 void *argp1 = 0 ;
14521 int res1 = 0 ;
14522 int val2 ;
14523 int ecode2 = 0 ;
14524 wxPoint temp3 ;
14525 wxSize temp4 ;
14526 long val5 ;
14527 int ecode5 = 0 ;
14528 bool temp6 = false ;
14529 PyObject * obj0 = 0 ;
14530 PyObject * obj1 = 0 ;
14531 PyObject * obj2 = 0 ;
14532 PyObject * obj3 = 0 ;
14533 PyObject * obj4 = 0 ;
14534 PyObject * obj5 = 0 ;
14535 char * kwnames[] = {
14536 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14537 };
14538
14539 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
14540 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14541 if (!SWIG_IsOK(res1)) {
14542 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14543 }
14544 arg1 = reinterpret_cast< wxWindow * >(argp1);
14545 if (obj1) {
14546 ecode2 = SWIG_AsVal_int(obj1, &val2);
14547 if (!SWIG_IsOK(ecode2)) {
14548 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14549 }
14550 arg2 = static_cast< int >(val2);
14551 }
14552 if (obj2) {
14553 {
14554 arg3 = &temp3;
14555 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14556 }
14557 }
14558 if (obj3) {
14559 {
14560 arg4 = &temp4;
14561 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14562 }
14563 }
14564 if (obj4) {
14565 ecode5 = SWIG_AsVal_long(obj4, &val5);
14566 if (!SWIG_IsOK(ecode5)) {
14567 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14568 }
14569 arg5 = static_cast< long >(val5);
14570 }
14571 if (obj5) {
14572 {
14573 arg6 = wxString_in_helper(obj5);
14574 if (arg6 == NULL) SWIG_fail;
14575 temp6 = true;
14576 }
14577 }
14578 {
14579 if (!wxPyCheckForApp()) SWIG_fail;
14580 PyThreadState* __tstate = wxPyBeginAllowThreads();
14581 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14582 wxPyEndAllowThreads(__tstate);
14583 if (PyErr_Occurred()) SWIG_fail;
14584 }
14585 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_NEW | 0 );
14586 {
14587 if (temp6)
14588 delete arg6;
14589 }
14590 return resultobj;
14591 fail:
14592 {
14593 if (temp6)
14594 delete arg6;
14595 }
14596 return NULL;
14597 }
14598
14599
14600 SWIGINTERN PyObject *_wrap_new_PreVListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14601 PyObject *resultobj = 0;
14602 wxPyVListBox *result = 0 ;
14603
14604 if (!SWIG_Python_UnpackTuple(args,"new_PreVListBox",0,0,0)) SWIG_fail;
14605 {
14606 if (!wxPyCheckForApp()) SWIG_fail;
14607 PyThreadState* __tstate = wxPyBeginAllowThreads();
14608 result = (wxPyVListBox *)new wxPyVListBox();
14609 wxPyEndAllowThreads(__tstate);
14610 if (PyErr_Occurred()) SWIG_fail;
14611 }
14612 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_OWN | 0 );
14613 return resultobj;
14614 fail:
14615 return NULL;
14616 }
14617
14618
14619 SWIGINTERN PyObject *_wrap_VListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14620 PyObject *resultobj = 0;
14621 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14622 PyObject *arg2 = (PyObject *) 0 ;
14623 PyObject *arg3 = (PyObject *) 0 ;
14624 void *argp1 = 0 ;
14625 int res1 = 0 ;
14626 PyObject * obj0 = 0 ;
14627 PyObject * obj1 = 0 ;
14628 PyObject * obj2 = 0 ;
14629 char * kwnames[] = {
14630 (char *) "self",(char *) "self",(char *) "_class", NULL
14631 };
14632
14633 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14634 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14635 if (!SWIG_IsOK(res1)) {
14636 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14637 }
14638 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14639 arg2 = obj1;
14640 arg3 = obj2;
14641 {
14642 PyThreadState* __tstate = wxPyBeginAllowThreads();
14643 (arg1)->_setCallbackInfo(arg2,arg3);
14644 wxPyEndAllowThreads(__tstate);
14645 if (PyErr_Occurred()) SWIG_fail;
14646 }
14647 resultobj = SWIG_Py_Void();
14648 return resultobj;
14649 fail:
14650 return NULL;
14651 }
14652
14653
14654 SWIGINTERN PyObject *_wrap_VListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14655 PyObject *resultobj = 0;
14656 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14657 wxWindow *arg2 = (wxWindow *) 0 ;
14658 int arg3 = (int) wxID_ANY ;
14659 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14660 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14661 wxSize const &arg5_defvalue = wxDefaultSize ;
14662 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14663 long arg6 = (long) 0 ;
14664 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
14665 wxString *arg7 = (wxString *) &arg7_defvalue ;
14666 bool result;
14667 void *argp1 = 0 ;
14668 int res1 = 0 ;
14669 void *argp2 = 0 ;
14670 int res2 = 0 ;
14671 int val3 ;
14672 int ecode3 = 0 ;
14673 wxPoint temp4 ;
14674 wxSize temp5 ;
14675 long val6 ;
14676 int ecode6 = 0 ;
14677 bool temp7 = false ;
14678 PyObject * obj0 = 0 ;
14679 PyObject * obj1 = 0 ;
14680 PyObject * obj2 = 0 ;
14681 PyObject * obj3 = 0 ;
14682 PyObject * obj4 = 0 ;
14683 PyObject * obj5 = 0 ;
14684 PyObject * obj6 = 0 ;
14685 char * kwnames[] = {
14686 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14687 };
14688
14689 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14690 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14691 if (!SWIG_IsOK(res1)) {
14692 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14693 }
14694 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14695 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14696 if (!SWIG_IsOK(res2)) {
14697 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14698 }
14699 arg2 = reinterpret_cast< wxWindow * >(argp2);
14700 if (obj2) {
14701 ecode3 = SWIG_AsVal_int(obj2, &val3);
14702 if (!SWIG_IsOK(ecode3)) {
14703 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14704 }
14705 arg3 = static_cast< int >(val3);
14706 }
14707 if (obj3) {
14708 {
14709 arg4 = &temp4;
14710 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14711 }
14712 }
14713 if (obj4) {
14714 {
14715 arg5 = &temp5;
14716 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14717 }
14718 }
14719 if (obj5) {
14720 ecode6 = SWIG_AsVal_long(obj5, &val6);
14721 if (!SWIG_IsOK(ecode6)) {
14722 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14723 }
14724 arg6 = static_cast< long >(val6);
14725 }
14726 if (obj6) {
14727 {
14728 arg7 = wxString_in_helper(obj6);
14729 if (arg7 == NULL) SWIG_fail;
14730 temp7 = true;
14731 }
14732 }
14733 {
14734 PyThreadState* __tstate = wxPyBeginAllowThreads();
14735 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14736 wxPyEndAllowThreads(__tstate);
14737 if (PyErr_Occurred()) SWIG_fail;
14738 }
14739 {
14740 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14741 }
14742 {
14743 if (temp7)
14744 delete arg7;
14745 }
14746 return resultobj;
14747 fail:
14748 {
14749 if (temp7)
14750 delete arg7;
14751 }
14752 return NULL;
14753 }
14754
14755
14756 SWIGINTERN PyObject *_wrap_VListBox_GetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14757 PyObject *resultobj = 0;
14758 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14759 size_t result;
14760 void *argp1 = 0 ;
14761 int res1 = 0 ;
14762 PyObject *swig_obj[1] ;
14763
14764 if (!args) SWIG_fail;
14765 swig_obj[0] = args;
14766 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14767 if (!SWIG_IsOK(res1)) {
14768 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14769 }
14770 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14771 {
14772 PyThreadState* __tstate = wxPyBeginAllowThreads();
14773 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
14774 wxPyEndAllowThreads(__tstate);
14775 if (PyErr_Occurred()) SWIG_fail;
14776 }
14777 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14778 return resultobj;
14779 fail:
14780 return NULL;
14781 }
14782
14783
14784 SWIGINTERN PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14785 PyObject *resultobj = 0;
14786 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14787 bool result;
14788 void *argp1 = 0 ;
14789 int res1 = 0 ;
14790 PyObject *swig_obj[1] ;
14791
14792 if (!args) SWIG_fail;
14793 swig_obj[0] = args;
14794 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14795 if (!SWIG_IsOK(res1)) {
14796 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14797 }
14798 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14799 {
14800 PyThreadState* __tstate = wxPyBeginAllowThreads();
14801 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
14802 wxPyEndAllowThreads(__tstate);
14803 if (PyErr_Occurred()) SWIG_fail;
14804 }
14805 {
14806 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14807 }
14808 return resultobj;
14809 fail:
14810 return NULL;
14811 }
14812
14813
14814 SWIGINTERN PyObject *_wrap_VListBox_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14815 PyObject *resultobj = 0;
14816 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14817 int result;
14818 void *argp1 = 0 ;
14819 int res1 = 0 ;
14820 PyObject *swig_obj[1] ;
14821
14822 if (!args) SWIG_fail;
14823 swig_obj[0] = args;
14824 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14825 if (!SWIG_IsOK(res1)) {
14826 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14827 }
14828 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14829 {
14830 PyThreadState* __tstate = wxPyBeginAllowThreads();
14831 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
14832 wxPyEndAllowThreads(__tstate);
14833 if (PyErr_Occurred()) SWIG_fail;
14834 }
14835 resultobj = SWIG_From_int(static_cast< int >(result));
14836 return resultobj;
14837 fail:
14838 return NULL;
14839 }
14840
14841
14842 SWIGINTERN PyObject *_wrap_VListBox_IsCurrent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14843 PyObject *resultobj = 0;
14844 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14845 size_t arg2 ;
14846 bool result;
14847 void *argp1 = 0 ;
14848 int res1 = 0 ;
14849 size_t val2 ;
14850 int ecode2 = 0 ;
14851 PyObject * obj0 = 0 ;
14852 PyObject * obj1 = 0 ;
14853 char * kwnames[] = {
14854 (char *) "self",(char *) "item", NULL
14855 };
14856
14857 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) SWIG_fail;
14858 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14859 if (!SWIG_IsOK(res1)) {
14860 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14861 }
14862 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14863 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14864 if (!SWIG_IsOK(ecode2)) {
14865 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14866 }
14867 arg2 = static_cast< size_t >(val2);
14868 {
14869 PyThreadState* __tstate = wxPyBeginAllowThreads();
14870 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
14871 wxPyEndAllowThreads(__tstate);
14872 if (PyErr_Occurred()) SWIG_fail;
14873 }
14874 {
14875 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14876 }
14877 return resultobj;
14878 fail:
14879 return NULL;
14880 }
14881
14882
14883 SWIGINTERN PyObject *_wrap_VListBox_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14884 PyObject *resultobj = 0;
14885 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14886 size_t arg2 ;
14887 bool result;
14888 void *argp1 = 0 ;
14889 int res1 = 0 ;
14890 size_t val2 ;
14891 int ecode2 = 0 ;
14892 PyObject * obj0 = 0 ;
14893 PyObject * obj1 = 0 ;
14894 char * kwnames[] = {
14895 (char *) "self",(char *) "item", NULL
14896 };
14897
14898 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14899 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14900 if (!SWIG_IsOK(res1)) {
14901 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14902 }
14903 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14904 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14905 if (!SWIG_IsOK(ecode2)) {
14906 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14907 }
14908 arg2 = static_cast< size_t >(val2);
14909 {
14910 PyThreadState* __tstate = wxPyBeginAllowThreads();
14911 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
14912 wxPyEndAllowThreads(__tstate);
14913 if (PyErr_Occurred()) SWIG_fail;
14914 }
14915 {
14916 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14917 }
14918 return resultobj;
14919 fail:
14920 return NULL;
14921 }
14922
14923
14924 SWIGINTERN PyObject *_wrap_VListBox_GetSelectedCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14925 PyObject *resultobj = 0;
14926 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14927 size_t result;
14928 void *argp1 = 0 ;
14929 int res1 = 0 ;
14930 PyObject *swig_obj[1] ;
14931
14932 if (!args) SWIG_fail;
14933 swig_obj[0] = args;
14934 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14935 if (!SWIG_IsOK(res1)) {
14936 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14937 }
14938 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14939 {
14940 PyThreadState* __tstate = wxPyBeginAllowThreads();
14941 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
14942 wxPyEndAllowThreads(__tstate);
14943 if (PyErr_Occurred()) SWIG_fail;
14944 }
14945 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14946 return resultobj;
14947 fail:
14948 return NULL;
14949 }
14950
14951
14952 SWIGINTERN PyObject *_wrap_VListBox_GetFirstSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14953 PyObject *resultobj = 0;
14954 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14955 PyObject *result = 0 ;
14956 void *argp1 = 0 ;
14957 int res1 = 0 ;
14958 PyObject *swig_obj[1] ;
14959
14960 if (!args) SWIG_fail;
14961 swig_obj[0] = args;
14962 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14963 if (!SWIG_IsOK(res1)) {
14964 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14965 }
14966 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14967 {
14968 PyThreadState* __tstate = wxPyBeginAllowThreads();
14969 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
14970 wxPyEndAllowThreads(__tstate);
14971 if (PyErr_Occurred()) SWIG_fail;
14972 }
14973 resultobj = result;
14974 return resultobj;
14975 fail:
14976 return NULL;
14977 }
14978
14979
14980 SWIGINTERN PyObject *_wrap_VListBox_GetNextSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14981 PyObject *resultobj = 0;
14982 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14983 unsigned long arg2 ;
14984 PyObject *result = 0 ;
14985 void *argp1 = 0 ;
14986 int res1 = 0 ;
14987 unsigned long val2 ;
14988 int ecode2 = 0 ;
14989 PyObject * obj0 = 0 ;
14990 PyObject * obj1 = 0 ;
14991 char * kwnames[] = {
14992 (char *) "self",(char *) "cookie", NULL
14993 };
14994
14995 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14996 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14997 if (!SWIG_IsOK(res1)) {
14998 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14999 }
15000 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15001 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
15002 if (!SWIG_IsOK(ecode2)) {
15003 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
15004 }
15005 arg2 = static_cast< unsigned long >(val2);
15006 {
15007 PyThreadState* __tstate = wxPyBeginAllowThreads();
15008 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
15009 wxPyEndAllowThreads(__tstate);
15010 if (PyErr_Occurred()) SWIG_fail;
15011 }
15012 resultobj = result;
15013 return resultobj;
15014 fail:
15015 return NULL;
15016 }
15017
15018
15019 SWIGINTERN PyObject *_wrap_VListBox_GetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15020 PyObject *resultobj = 0;
15021 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15022 wxPoint result;
15023 void *argp1 = 0 ;
15024 int res1 = 0 ;
15025 PyObject *swig_obj[1] ;
15026
15027 if (!args) SWIG_fail;
15028 swig_obj[0] = args;
15029 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15030 if (!SWIG_IsOK(res1)) {
15031 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15032 }
15033 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15034 {
15035 PyThreadState* __tstate = wxPyBeginAllowThreads();
15036 result = ((wxPyVListBox const *)arg1)->GetMargins();
15037 wxPyEndAllowThreads(__tstate);
15038 if (PyErr_Occurred()) SWIG_fail;
15039 }
15040 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
15041 return resultobj;
15042 fail:
15043 return NULL;
15044 }
15045
15046
15047 SWIGINTERN PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15048 PyObject *resultobj = 0;
15049 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15050 wxColour *result = 0 ;
15051 void *argp1 = 0 ;
15052 int res1 = 0 ;
15053 PyObject *swig_obj[1] ;
15054
15055 if (!args) SWIG_fail;
15056 swig_obj[0] = args;
15057 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15058 if (!SWIG_IsOK(res1)) {
15059 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15060 }
15061 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15062 {
15063 PyThreadState* __tstate = wxPyBeginAllowThreads();
15064 {
15065 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
15066 result = (wxColour *) &_result_ref;
15067 }
15068 wxPyEndAllowThreads(__tstate);
15069 if (PyErr_Occurred()) SWIG_fail;
15070 }
15071 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
15072 return resultobj;
15073 fail:
15074 return NULL;
15075 }
15076
15077
15078 SWIGINTERN PyObject *_wrap_VListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15079 PyObject *resultobj = 0;
15080 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15081 size_t arg2 ;
15082 void *argp1 = 0 ;
15083 int res1 = 0 ;
15084 size_t val2 ;
15085 int ecode2 = 0 ;
15086 PyObject * obj0 = 0 ;
15087 PyObject * obj1 = 0 ;
15088 char * kwnames[] = {
15089 (char *) "self",(char *) "count", NULL
15090 };
15091
15092 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
15093 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15094 if (!SWIG_IsOK(res1)) {
15095 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15096 }
15097 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15098 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15099 if (!SWIG_IsOK(ecode2)) {
15100 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15101 }
15102 arg2 = static_cast< size_t >(val2);
15103 {
15104 PyThreadState* __tstate = wxPyBeginAllowThreads();
15105 (arg1)->SetItemCount(arg2);
15106 wxPyEndAllowThreads(__tstate);
15107 if (PyErr_Occurred()) SWIG_fail;
15108 }
15109 resultobj = SWIG_Py_Void();
15110 return resultobj;
15111 fail:
15112 return NULL;
15113 }
15114
15115
15116 SWIGINTERN PyObject *_wrap_VListBox_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15117 PyObject *resultobj = 0;
15118 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15119 void *argp1 = 0 ;
15120 int res1 = 0 ;
15121 PyObject *swig_obj[1] ;
15122
15123 if (!args) SWIG_fail;
15124 swig_obj[0] = args;
15125 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15126 if (!SWIG_IsOK(res1)) {
15127 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15128 }
15129 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15130 {
15131 PyThreadState* __tstate = wxPyBeginAllowThreads();
15132 (arg1)->Clear();
15133 wxPyEndAllowThreads(__tstate);
15134 if (PyErr_Occurred()) SWIG_fail;
15135 }
15136 resultobj = SWIG_Py_Void();
15137 return resultobj;
15138 fail:
15139 return NULL;
15140 }
15141
15142
15143 SWIGINTERN PyObject *_wrap_VListBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15144 PyObject *resultobj = 0;
15145 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15146 int arg2 ;
15147 void *argp1 = 0 ;
15148 int res1 = 0 ;
15149 int val2 ;
15150 int ecode2 = 0 ;
15151 PyObject * obj0 = 0 ;
15152 PyObject * obj1 = 0 ;
15153 char * kwnames[] = {
15154 (char *) "self",(char *) "selection", NULL
15155 };
15156
15157 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
15158 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15159 if (!SWIG_IsOK(res1)) {
15160 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15161 }
15162 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15163 ecode2 = SWIG_AsVal_int(obj1, &val2);
15164 if (!SWIG_IsOK(ecode2)) {
15165 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
15166 }
15167 arg2 = static_cast< int >(val2);
15168 {
15169 PyThreadState* __tstate = wxPyBeginAllowThreads();
15170 (arg1)->SetSelection(arg2);
15171 wxPyEndAllowThreads(__tstate);
15172 if (PyErr_Occurred()) SWIG_fail;
15173 }
15174 resultobj = SWIG_Py_Void();
15175 return resultobj;
15176 fail:
15177 return NULL;
15178 }
15179
15180
15181 SWIGINTERN PyObject *_wrap_VListBox_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15182 PyObject *resultobj = 0;
15183 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15184 size_t arg2 ;
15185 bool arg3 = (bool) true ;
15186 bool result;
15187 void *argp1 = 0 ;
15188 int res1 = 0 ;
15189 size_t val2 ;
15190 int ecode2 = 0 ;
15191 bool val3 ;
15192 int ecode3 = 0 ;
15193 PyObject * obj0 = 0 ;
15194 PyObject * obj1 = 0 ;
15195 PyObject * obj2 = 0 ;
15196 char * kwnames[] = {
15197 (char *) "self",(char *) "item",(char *) "select", NULL
15198 };
15199
15200 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15201 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15202 if (!SWIG_IsOK(res1)) {
15203 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15204 }
15205 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15206 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15207 if (!SWIG_IsOK(ecode2)) {
15208 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
15209 }
15210 arg2 = static_cast< size_t >(val2);
15211 if (obj2) {
15212 ecode3 = SWIG_AsVal_bool(obj2, &val3);
15213 if (!SWIG_IsOK(ecode3)) {
15214 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
15215 }
15216 arg3 = static_cast< bool >(val3);
15217 }
15218 {
15219 PyThreadState* __tstate = wxPyBeginAllowThreads();
15220 result = (bool)(arg1)->Select(arg2,arg3);
15221 wxPyEndAllowThreads(__tstate);
15222 if (PyErr_Occurred()) SWIG_fail;
15223 }
15224 {
15225 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15226 }
15227 return resultobj;
15228 fail:
15229 return NULL;
15230 }
15231
15232
15233 SWIGINTERN PyObject *_wrap_VListBox_SelectRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15234 PyObject *resultobj = 0;
15235 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15236 size_t arg2 ;
15237 size_t arg3 ;
15238 bool result;
15239 void *argp1 = 0 ;
15240 int res1 = 0 ;
15241 size_t val2 ;
15242 int ecode2 = 0 ;
15243 size_t val3 ;
15244 int ecode3 = 0 ;
15245 PyObject * obj0 = 0 ;
15246 PyObject * obj1 = 0 ;
15247 PyObject * obj2 = 0 ;
15248 char * kwnames[] = {
15249 (char *) "self",(char *) "from",(char *) "to", NULL
15250 };
15251
15252 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15253 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15254 if (!SWIG_IsOK(res1)) {
15255 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15256 }
15257 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15258 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15259 if (!SWIG_IsOK(ecode2)) {
15260 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
15261 }
15262 arg2 = static_cast< size_t >(val2);
15263 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
15264 if (!SWIG_IsOK(ecode3)) {
15265 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
15266 }
15267 arg3 = static_cast< size_t >(val3);
15268 {
15269 PyThreadState* __tstate = wxPyBeginAllowThreads();
15270 result = (bool)(arg1)->SelectRange(arg2,arg3);
15271 wxPyEndAllowThreads(__tstate);
15272 if (PyErr_Occurred()) SWIG_fail;
15273 }
15274 {
15275 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15276 }
15277 return resultobj;
15278 fail:
15279 return NULL;
15280 }
15281
15282
15283 SWIGINTERN PyObject *_wrap_VListBox_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15284 PyObject *resultobj = 0;
15285 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15286 size_t arg2 ;
15287 void *argp1 = 0 ;
15288 int res1 = 0 ;
15289 size_t val2 ;
15290 int ecode2 = 0 ;
15291 PyObject * obj0 = 0 ;
15292 PyObject * obj1 = 0 ;
15293 char * kwnames[] = {
15294 (char *) "self",(char *) "item", NULL
15295 };
15296
15297 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
15298 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15299 if (!SWIG_IsOK(res1)) {
15300 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15301 }
15302 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15303 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15304 if (!SWIG_IsOK(ecode2)) {
15305 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15306 }
15307 arg2 = static_cast< size_t >(val2);
15308 {
15309 PyThreadState* __tstate = wxPyBeginAllowThreads();
15310 (arg1)->Toggle(arg2);
15311 wxPyEndAllowThreads(__tstate);
15312 if (PyErr_Occurred()) SWIG_fail;
15313 }
15314 resultobj = SWIG_Py_Void();
15315 return resultobj;
15316 fail:
15317 return NULL;
15318 }
15319
15320
15321 SWIGINTERN PyObject *_wrap_VListBox_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15322 PyObject *resultobj = 0;
15323 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15324 bool result;
15325 void *argp1 = 0 ;
15326 int res1 = 0 ;
15327 PyObject *swig_obj[1] ;
15328
15329 if (!args) SWIG_fail;
15330 swig_obj[0] = args;
15331 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15332 if (!SWIG_IsOK(res1)) {
15333 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15334 }
15335 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15336 {
15337 PyThreadState* __tstate = wxPyBeginAllowThreads();
15338 result = (bool)(arg1)->SelectAll();
15339 wxPyEndAllowThreads(__tstate);
15340 if (PyErr_Occurred()) SWIG_fail;
15341 }
15342 {
15343 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15344 }
15345 return resultobj;
15346 fail:
15347 return NULL;
15348 }
15349
15350
15351 SWIGINTERN PyObject *_wrap_VListBox_DeselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15352 PyObject *resultobj = 0;
15353 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15354 bool result;
15355 void *argp1 = 0 ;
15356 int res1 = 0 ;
15357 PyObject *swig_obj[1] ;
15358
15359 if (!args) SWIG_fail;
15360 swig_obj[0] = args;
15361 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15362 if (!SWIG_IsOK(res1)) {
15363 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15364 }
15365 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15366 {
15367 PyThreadState* __tstate = wxPyBeginAllowThreads();
15368 result = (bool)(arg1)->DeselectAll();
15369 wxPyEndAllowThreads(__tstate);
15370 if (PyErr_Occurred()) SWIG_fail;
15371 }
15372 {
15373 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15374 }
15375 return resultobj;
15376 fail:
15377 return NULL;
15378 }
15379
15380
15381 SWIGINTERN PyObject *_wrap_VListBox_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15382 PyObject *resultobj = 0;
15383 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15384 wxPoint *arg2 = 0 ;
15385 void *argp1 = 0 ;
15386 int res1 = 0 ;
15387 wxPoint temp2 ;
15388 PyObject * obj0 = 0 ;
15389 PyObject * obj1 = 0 ;
15390 char * kwnames[] = {
15391 (char *) "self",(char *) "pt", NULL
15392 };
15393
15394 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) SWIG_fail;
15395 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15396 if (!SWIG_IsOK(res1)) {
15397 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15398 }
15399 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15400 {
15401 arg2 = &temp2;
15402 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15403 }
15404 {
15405 PyThreadState* __tstate = wxPyBeginAllowThreads();
15406 (arg1)->SetMargins((wxPoint const &)*arg2);
15407 wxPyEndAllowThreads(__tstate);
15408 if (PyErr_Occurred()) SWIG_fail;
15409 }
15410 resultobj = SWIG_Py_Void();
15411 return resultobj;
15412 fail:
15413 return NULL;
15414 }
15415
15416
15417 SWIGINTERN PyObject *_wrap_VListBox_SetMarginsXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15418 PyObject *resultobj = 0;
15419 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15420 int arg2 ;
15421 int arg3 ;
15422 void *argp1 = 0 ;
15423 int res1 = 0 ;
15424 int val2 ;
15425 int ecode2 = 0 ;
15426 int val3 ;
15427 int ecode3 = 0 ;
15428 PyObject * obj0 = 0 ;
15429 PyObject * obj1 = 0 ;
15430 PyObject * obj2 = 0 ;
15431 char * kwnames[] = {
15432 (char *) "self",(char *) "x",(char *) "y", NULL
15433 };
15434
15435 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15436 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15437 if (!SWIG_IsOK(res1)) {
15438 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15439 }
15440 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15441 ecode2 = SWIG_AsVal_int(obj1, &val2);
15442 if (!SWIG_IsOK(ecode2)) {
15443 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15444 }
15445 arg2 = static_cast< int >(val2);
15446 ecode3 = SWIG_AsVal_int(obj2, &val3);
15447 if (!SWIG_IsOK(ecode3)) {
15448 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15449 }
15450 arg3 = static_cast< int >(val3);
15451 {
15452 PyThreadState* __tstate = wxPyBeginAllowThreads();
15453 (arg1)->SetMargins(arg2,arg3);
15454 wxPyEndAllowThreads(__tstate);
15455 if (PyErr_Occurred()) SWIG_fail;
15456 }
15457 resultobj = SWIG_Py_Void();
15458 return resultobj;
15459 fail:
15460 return NULL;
15461 }
15462
15463
15464 SWIGINTERN PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15465 PyObject *resultobj = 0;
15466 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15467 wxColour *arg2 = 0 ;
15468 void *argp1 = 0 ;
15469 int res1 = 0 ;
15470 wxColour temp2 ;
15471 PyObject * obj0 = 0 ;
15472 PyObject * obj1 = 0 ;
15473 char * kwnames[] = {
15474 (char *) "self",(char *) "col", NULL
15475 };
15476
15477 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) SWIG_fail;
15478 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15479 if (!SWIG_IsOK(res1)) {
15480 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15481 }
15482 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15483 {
15484 arg2 = &temp2;
15485 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15486 }
15487 {
15488 PyThreadState* __tstate = wxPyBeginAllowThreads();
15489 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
15490 wxPyEndAllowThreads(__tstate);
15491 if (PyErr_Occurred()) SWIG_fail;
15492 }
15493 resultobj = SWIG_Py_Void();
15494 return resultobj;
15495 fail:
15496 return NULL;
15497 }
15498
15499
15500 SWIGINTERN PyObject *_wrap_VListBox_OnDrawSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15501 PyObject *resultobj = 0;
15502 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15503 wxDC *arg2 = 0 ;
15504 wxRect *arg3 = 0 ;
15505 size_t arg4 ;
15506 void *argp1 = 0 ;
15507 int res1 = 0 ;
15508 void *argp2 = 0 ;
15509 int res2 = 0 ;
15510 wxRect temp3 ;
15511 size_t val4 ;
15512 int ecode4 = 0 ;
15513 PyObject * obj0 = 0 ;
15514 PyObject * obj1 = 0 ;
15515 PyObject * obj2 = 0 ;
15516 PyObject * obj3 = 0 ;
15517 char * kwnames[] = {
15518 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15519 };
15520
15521 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15522 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15523 if (!SWIG_IsOK(res1)) {
15524 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15525 }
15526 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15527 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15528 if (!SWIG_IsOK(res2)) {
15529 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15530 }
15531 if (!argp2) {
15532 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15533 }
15534 arg2 = reinterpret_cast< wxDC * >(argp2);
15535 {
15536 arg3 = &temp3;
15537 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15538 }
15539 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15540 if (!SWIG_IsOK(ecode4)) {
15541 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15542 }
15543 arg4 = static_cast< size_t >(val4);
15544 {
15545 PyThreadState* __tstate = wxPyBeginAllowThreads();
15546 ((wxPyVListBox const *)arg1)->OnDrawSeparator(*arg2,*arg3,arg4);
15547 wxPyEndAllowThreads(__tstate);
15548 if (PyErr_Occurred()) SWIG_fail;
15549 }
15550 resultobj = SWIG_Py_Void();
15551 return resultobj;
15552 fail:
15553 return NULL;
15554 }
15555
15556
15557 SWIGINTERN PyObject *_wrap_VListBox_OnDrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15558 PyObject *resultobj = 0;
15559 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15560 wxDC *arg2 = 0 ;
15561 wxRect *arg3 = 0 ;
15562 size_t arg4 ;
15563 void *argp1 = 0 ;
15564 int res1 = 0 ;
15565 void *argp2 = 0 ;
15566 int res2 = 0 ;
15567 wxRect temp3 ;
15568 size_t val4 ;
15569 int ecode4 = 0 ;
15570 PyObject * obj0 = 0 ;
15571 PyObject * obj1 = 0 ;
15572 PyObject * obj2 = 0 ;
15573 PyObject * obj3 = 0 ;
15574 char * kwnames[] = {
15575 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15576 };
15577
15578 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15579 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15580 if (!SWIG_IsOK(res1)) {
15581 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15582 }
15583 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15584 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15585 if (!SWIG_IsOK(res2)) {
15586 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15587 }
15588 if (!argp2) {
15589 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15590 }
15591 arg2 = reinterpret_cast< wxDC * >(argp2);
15592 {
15593 arg3 = &temp3;
15594 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15595 }
15596 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15597 if (!SWIG_IsOK(ecode4)) {
15598 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15599 }
15600 arg4 = static_cast< size_t >(val4);
15601 {
15602 PyThreadState* __tstate = wxPyBeginAllowThreads();
15603 ((wxPyVListBox const *)arg1)->OnDrawBackground(*arg2,(wxRect const &)*arg3,arg4);
15604 wxPyEndAllowThreads(__tstate);
15605 if (PyErr_Occurred()) SWIG_fail;
15606 }
15607 resultobj = SWIG_Py_Void();
15608 return resultobj;
15609 fail:
15610 return NULL;
15611 }
15612
15613
15614 SWIGINTERN PyObject *VListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15615 PyObject *obj;
15616 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15617 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox, SWIG_NewClientData(obj));
15618 return SWIG_Py_Void();
15619 }
15620
15621 SWIGINTERN PyObject *VListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15622 return SWIG_Python_InitShadowInstance(args);
15623 }
15624
15625 SWIGINTERN PyObject *_wrap_new_HtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15626 PyObject *resultobj = 0;
15627 wxWindow *arg1 = (wxWindow *) 0 ;
15628 int arg2 = (int) wxID_ANY ;
15629 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15630 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15631 wxSize const &arg4_defvalue = wxDefaultSize ;
15632 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15633 long arg5 = (long) 0 ;
15634 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
15635 wxString *arg6 = (wxString *) &arg6_defvalue ;
15636 wxPyHtmlListBox *result = 0 ;
15637 void *argp1 = 0 ;
15638 int res1 = 0 ;
15639 int val2 ;
15640 int ecode2 = 0 ;
15641 wxPoint temp3 ;
15642 wxSize temp4 ;
15643 long val5 ;
15644 int ecode5 = 0 ;
15645 bool temp6 = false ;
15646 PyObject * obj0 = 0 ;
15647 PyObject * obj1 = 0 ;
15648 PyObject * obj2 = 0 ;
15649 PyObject * obj3 = 0 ;
15650 PyObject * obj4 = 0 ;
15651 PyObject * obj5 = 0 ;
15652 char * kwnames[] = {
15653 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15654 };
15655
15656 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
15657 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15658 if (!SWIG_IsOK(res1)) {
15659 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15660 }
15661 arg1 = reinterpret_cast< wxWindow * >(argp1);
15662 if (obj1) {
15663 ecode2 = SWIG_AsVal_int(obj1, &val2);
15664 if (!SWIG_IsOK(ecode2)) {
15665 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15666 }
15667 arg2 = static_cast< int >(val2);
15668 }
15669 if (obj2) {
15670 {
15671 arg3 = &temp3;
15672 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15673 }
15674 }
15675 if (obj3) {
15676 {
15677 arg4 = &temp4;
15678 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15679 }
15680 }
15681 if (obj4) {
15682 ecode5 = SWIG_AsVal_long(obj4, &val5);
15683 if (!SWIG_IsOK(ecode5)) {
15684 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15685 }
15686 arg5 = static_cast< long >(val5);
15687 }
15688 if (obj5) {
15689 {
15690 arg6 = wxString_in_helper(obj5);
15691 if (arg6 == NULL) SWIG_fail;
15692 temp6 = true;
15693 }
15694 }
15695 {
15696 if (!wxPyCheckForApp()) SWIG_fail;
15697 PyThreadState* __tstate = wxPyBeginAllowThreads();
15698 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15699 wxPyEndAllowThreads(__tstate);
15700 if (PyErr_Occurred()) SWIG_fail;
15701 }
15702 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_NEW | 0 );
15703 {
15704 if (temp6)
15705 delete arg6;
15706 }
15707 return resultobj;
15708 fail:
15709 {
15710 if (temp6)
15711 delete arg6;
15712 }
15713 return NULL;
15714 }
15715
15716
15717 SWIGINTERN PyObject *_wrap_new_PreHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15718 PyObject *resultobj = 0;
15719 wxPyHtmlListBox *result = 0 ;
15720
15721 if (!SWIG_Python_UnpackTuple(args,"new_PreHtmlListBox",0,0,0)) SWIG_fail;
15722 {
15723 if (!wxPyCheckForApp()) SWIG_fail;
15724 PyThreadState* __tstate = wxPyBeginAllowThreads();
15725 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
15726 wxPyEndAllowThreads(__tstate);
15727 if (PyErr_Occurred()) SWIG_fail;
15728 }
15729 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_OWN | 0 );
15730 return resultobj;
15731 fail:
15732 return NULL;
15733 }
15734
15735
15736 SWIGINTERN PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15737 PyObject *resultobj = 0;
15738 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15739 PyObject *arg2 = (PyObject *) 0 ;
15740 PyObject *arg3 = (PyObject *) 0 ;
15741 void *argp1 = 0 ;
15742 int res1 = 0 ;
15743 PyObject * obj0 = 0 ;
15744 PyObject * obj1 = 0 ;
15745 PyObject * obj2 = 0 ;
15746 char * kwnames[] = {
15747 (char *) "self",(char *) "self",(char *) "_class", NULL
15748 };
15749
15750 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15751 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15752 if (!SWIG_IsOK(res1)) {
15753 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15754 }
15755 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15756 arg2 = obj1;
15757 arg3 = obj2;
15758 {
15759 PyThreadState* __tstate = wxPyBeginAllowThreads();
15760 (arg1)->_setCallbackInfo(arg2,arg3);
15761 wxPyEndAllowThreads(__tstate);
15762 if (PyErr_Occurred()) SWIG_fail;
15763 }
15764 resultobj = SWIG_Py_Void();
15765 return resultobj;
15766 fail:
15767 return NULL;
15768 }
15769
15770
15771 SWIGINTERN PyObject *_wrap_HtmlListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15772 PyObject *resultobj = 0;
15773 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15774 wxWindow *arg2 = (wxWindow *) 0 ;
15775 int arg3 = (int) wxID_ANY ;
15776 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15777 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15778 wxSize const &arg5_defvalue = wxDefaultSize ;
15779 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15780 long arg6 = (long) 0 ;
15781 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
15782 wxString *arg7 = (wxString *) &arg7_defvalue ;
15783 bool result;
15784 void *argp1 = 0 ;
15785 int res1 = 0 ;
15786 void *argp2 = 0 ;
15787 int res2 = 0 ;
15788 int val3 ;
15789 int ecode3 = 0 ;
15790 wxPoint temp4 ;
15791 wxSize temp5 ;
15792 long val6 ;
15793 int ecode6 = 0 ;
15794 bool temp7 = false ;
15795 PyObject * obj0 = 0 ;
15796 PyObject * obj1 = 0 ;
15797 PyObject * obj2 = 0 ;
15798 PyObject * obj3 = 0 ;
15799 PyObject * obj4 = 0 ;
15800 PyObject * obj5 = 0 ;
15801 PyObject * obj6 = 0 ;
15802 char * kwnames[] = {
15803 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15804 };
15805
15806 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
15807 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15808 if (!SWIG_IsOK(res1)) {
15809 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15810 }
15811 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15812 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15813 if (!SWIG_IsOK(res2)) {
15814 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15815 }
15816 arg2 = reinterpret_cast< wxWindow * >(argp2);
15817 if (obj2) {
15818 ecode3 = SWIG_AsVal_int(obj2, &val3);
15819 if (!SWIG_IsOK(ecode3)) {
15820 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15821 }
15822 arg3 = static_cast< int >(val3);
15823 }
15824 if (obj3) {
15825 {
15826 arg4 = &temp4;
15827 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15828 }
15829 }
15830 if (obj4) {
15831 {
15832 arg5 = &temp5;
15833 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15834 }
15835 }
15836 if (obj5) {
15837 ecode6 = SWIG_AsVal_long(obj5, &val6);
15838 if (!SWIG_IsOK(ecode6)) {
15839 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15840 }
15841 arg6 = static_cast< long >(val6);
15842 }
15843 if (obj6) {
15844 {
15845 arg7 = wxString_in_helper(obj6);
15846 if (arg7 == NULL) SWIG_fail;
15847 temp7 = true;
15848 }
15849 }
15850 {
15851 PyThreadState* __tstate = wxPyBeginAllowThreads();
15852 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15853 wxPyEndAllowThreads(__tstate);
15854 if (PyErr_Occurred()) SWIG_fail;
15855 }
15856 {
15857 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15858 }
15859 {
15860 if (temp7)
15861 delete arg7;
15862 }
15863 return resultobj;
15864 fail:
15865 {
15866 if (temp7)
15867 delete arg7;
15868 }
15869 return NULL;
15870 }
15871
15872
15873 SWIGINTERN PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15874 PyObject *resultobj = 0;
15875 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15876 size_t arg2 ;
15877 void *argp1 = 0 ;
15878 int res1 = 0 ;
15879 size_t val2 ;
15880 int ecode2 = 0 ;
15881 PyObject * obj0 = 0 ;
15882 PyObject * obj1 = 0 ;
15883 char * kwnames[] = {
15884 (char *) "self",(char *) "count", NULL
15885 };
15886
15887 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
15888 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15889 if (!SWIG_IsOK(res1)) {
15890 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15891 }
15892 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15893 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15894 if (!SWIG_IsOK(ecode2)) {
15895 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15896 }
15897 arg2 = static_cast< size_t >(val2);
15898 {
15899 PyThreadState* __tstate = wxPyBeginAllowThreads();
15900 (arg1)->SetItemCount(arg2);
15901 wxPyEndAllowThreads(__tstate);
15902 if (PyErr_Occurred()) SWIG_fail;
15903 }
15904 resultobj = SWIG_Py_Void();
15905 return resultobj;
15906 fail:
15907 return NULL;
15908 }
15909
15910
15911 SWIGINTERN PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15912 PyObject *resultobj = 0;
15913 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15914 wxFileSystem *result = 0 ;
15915 void *argp1 = 0 ;
15916 int res1 = 0 ;
15917 PyObject *swig_obj[1] ;
15918
15919 if (!args) SWIG_fail;
15920 swig_obj[0] = args;
15921 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15922 if (!SWIG_IsOK(res1)) {
15923 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15924 }
15925 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15926 {
15927 PyThreadState* __tstate = wxPyBeginAllowThreads();
15928 {
15929 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
15930 result = (wxFileSystem *) &_result_ref;
15931 }
15932 wxPyEndAllowThreads(__tstate);
15933 if (PyErr_Occurred()) SWIG_fail;
15934 }
15935 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileSystem, 0 | 0 );
15936 return resultobj;
15937 fail:
15938 return NULL;
15939 }
15940
15941
15942 SWIGINTERN PyObject *_wrap_HtmlListBox_OnLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15943 PyObject *resultobj = 0;
15944 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15945 size_t arg2 ;
15946 wxHtmlLinkInfo *arg3 = 0 ;
15947 void *argp1 = 0 ;
15948 int res1 = 0 ;
15949 size_t val2 ;
15950 int ecode2 = 0 ;
15951 void *argp3 = 0 ;
15952 int res3 = 0 ;
15953 PyObject * obj0 = 0 ;
15954 PyObject * obj1 = 0 ;
15955 PyObject * obj2 = 0 ;
15956 char * kwnames[] = {
15957 (char *) "self",(char *) "n",(char *) "link", NULL
15958 };
15959
15960 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15961 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15962 if (!SWIG_IsOK(res1)) {
15963 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15964 }
15965 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15966 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15967 if (!SWIG_IsOK(ecode2)) {
15968 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15969 }
15970 arg2 = static_cast< size_t >(val2);
15971 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0);
15972 if (!SWIG_IsOK(res3)) {
15973 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15974 }
15975 if (!argp3) {
15976 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15977 }
15978 arg3 = reinterpret_cast< wxHtmlLinkInfo * >(argp3);
15979 {
15980 PyThreadState* __tstate = wxPyBeginAllowThreads();
15981 (arg1)->OnLinkClicked(arg2,(wxHtmlLinkInfo const &)*arg3);
15982 wxPyEndAllowThreads(__tstate);
15983 if (PyErr_Occurred()) SWIG_fail;
15984 }
15985 resultobj = SWIG_Py_Void();
15986 return resultobj;
15987 fail:
15988 return NULL;
15989 }
15990
15991
15992 SWIGINTERN PyObject *HtmlListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15993 PyObject *obj;
15994 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15995 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox, SWIG_NewClientData(obj));
15996 return SWIG_Py_Void();
15997 }
15998
15999 SWIGINTERN PyObject *HtmlListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16000 return SWIG_Python_InitShadowInstance(args);
16001 }
16002
16003 SWIGINTERN int SimpleHtmlListBoxNameStr_set(PyObject *) {
16004 SWIG_Error(SWIG_AttributeError,"Variable SimpleHtmlListBoxNameStr is read-only.");
16005 return 1;
16006 }
16007
16008
16009 SWIGINTERN PyObject *SimpleHtmlListBoxNameStr_get(void) {
16010 PyObject *pyobj = 0;
16011
16012 {
16013 #if wxUSE_UNICODE
16014 pyobj = PyUnicode_FromWideChar((&wxPySimpleHtmlListBoxNameStr)->c_str(), (&wxPySimpleHtmlListBoxNameStr)->Len());
16015 #else
16016 pyobj = PyString_FromStringAndSize((&wxPySimpleHtmlListBoxNameStr)->c_str(), (&wxPySimpleHtmlListBoxNameStr)->Len());
16017 #endif
16018 }
16019 return pyobj;
16020 }
16021
16022
16023 SWIGINTERN PyObject *_wrap_new_SimpleHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16024 PyObject *resultobj = 0;
16025 wxWindow *arg1 = (wxWindow *) 0 ;
16026 int arg2 = (int) -1 ;
16027 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16028 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16029 wxSize const &arg4_defvalue = wxDefaultSize ;
16030 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
16031 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
16032 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
16033 long arg6 = (long) wxHLB_DEFAULT_STYLE ;
16034 wxValidator const &arg7_defvalue = wxDefaultValidator ;
16035 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
16036 wxString const &arg8_defvalue = wxPySimpleHtmlListBoxNameStr ;
16037 wxString *arg8 = (wxString *) &arg8_defvalue ;
16038 wxSimpleHtmlListBox *result = 0 ;
16039 void *argp1 = 0 ;
16040 int res1 = 0 ;
16041 int val2 ;
16042 int ecode2 = 0 ;
16043 wxPoint temp3 ;
16044 wxSize temp4 ;
16045 bool temp5 = false ;
16046 long val6 ;
16047 int ecode6 = 0 ;
16048 void *argp7 = 0 ;
16049 int res7 = 0 ;
16050 bool temp8 = false ;
16051 PyObject * obj0 = 0 ;
16052 PyObject * obj1 = 0 ;
16053 PyObject * obj2 = 0 ;
16054 PyObject * obj3 = 0 ;
16055 PyObject * obj4 = 0 ;
16056 PyObject * obj5 = 0 ;
16057 PyObject * obj6 = 0 ;
16058 PyObject * obj7 = 0 ;
16059 char * kwnames[] = {
16060 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
16061 };
16062
16063 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_SimpleHtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
16064 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16065 if (!SWIG_IsOK(res1)) {
16066 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SimpleHtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
16067 }
16068 arg1 = reinterpret_cast< wxWindow * >(argp1);
16069 if (obj1) {
16070 ecode2 = SWIG_AsVal_int(obj1, &val2);
16071 if (!SWIG_IsOK(ecode2)) {
16072 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SimpleHtmlListBox" "', expected argument " "2"" of type '" "int""'");
16073 }
16074 arg2 = static_cast< int >(val2);
16075 }
16076 if (obj2) {
16077 {
16078 arg3 = &temp3;
16079 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16080 }
16081 }
16082 if (obj3) {
16083 {
16084 arg4 = &temp4;
16085 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
16086 }
16087 }
16088 if (obj4) {
16089 {
16090 if (! PySequence_Check(obj4)) {
16091 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
16092 SWIG_fail;
16093 }
16094 arg5 = new wxArrayString;
16095 temp5 = true;
16096 int i, len=PySequence_Length(obj4);
16097 for (i=0; i<len; i++) {
16098 PyObject* item = PySequence_GetItem(obj4, i);
16099 wxString* s = wxString_in_helper(item);
16100 if (PyErr_Occurred()) SWIG_fail;
16101 arg5->Add(*s);
16102 delete s;
16103 Py_DECREF(item);
16104 }
16105 }
16106 }
16107 if (obj5) {
16108 ecode6 = SWIG_AsVal_long(obj5, &val6);
16109 if (!SWIG_IsOK(ecode6)) {
16110 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SimpleHtmlListBox" "', expected argument " "6"" of type '" "long""'");
16111 }
16112 arg6 = static_cast< long >(val6);
16113 }
16114 if (obj6) {
16115 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
16116 if (!SWIG_IsOK(res7)) {
16117 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_SimpleHtmlListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
16118 }
16119 if (!argp7) {
16120 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SimpleHtmlListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
16121 }
16122 arg7 = reinterpret_cast< wxValidator * >(argp7);
16123 }
16124 if (obj7) {
16125 {
16126 arg8 = wxString_in_helper(obj7);
16127 if (arg8 == NULL) SWIG_fail;
16128 temp8 = true;
16129 }
16130 }
16131 {
16132 if (!wxPyCheckForApp()) SWIG_fail;
16133 PyThreadState* __tstate = wxPyBeginAllowThreads();
16134 result = (wxSimpleHtmlListBox *)new wxSimpleHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
16135 wxPyEndAllowThreads(__tstate);
16136 if (PyErr_Occurred()) SWIG_fail;
16137 }
16138 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSimpleHtmlListBox, SWIG_POINTER_NEW | 0 );
16139 {
16140 if (temp5) delete arg5;
16141 }
16142 {
16143 if (temp8)
16144 delete arg8;
16145 }
16146 return resultobj;
16147 fail:
16148 {
16149 if (temp5) delete arg5;
16150 }
16151 {
16152 if (temp8)
16153 delete arg8;
16154 }
16155 return NULL;
16156 }
16157
16158
16159 SWIGINTERN PyObject *_wrap_new_PreSimpleHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16160 PyObject *resultobj = 0;
16161 wxSimpleHtmlListBox *result = 0 ;
16162
16163 if (!SWIG_Python_UnpackTuple(args,"new_PreSimpleHtmlListBox",0,0,0)) SWIG_fail;
16164 {
16165 if (!wxPyCheckForApp()) SWIG_fail;
16166 PyThreadState* __tstate = wxPyBeginAllowThreads();
16167 result = (wxSimpleHtmlListBox *)new wxSimpleHtmlListBox();
16168 wxPyEndAllowThreads(__tstate);
16169 if (PyErr_Occurred()) SWIG_fail;
16170 }
16171 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSimpleHtmlListBox, SWIG_POINTER_OWN | 0 );
16172 return resultobj;
16173 fail:
16174 return NULL;
16175 }
16176
16177
16178 SWIGINTERN PyObject *_wrap_SimpleHtmlListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16179 PyObject *resultobj = 0;
16180 wxSimpleHtmlListBox *arg1 = (wxSimpleHtmlListBox *) 0 ;
16181 wxWindow *arg2 = (wxWindow *) 0 ;
16182 int arg3 = (int) -1 ;
16183 wxPoint const &arg4_defvalue = wxDefaultPosition ;
16184 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
16185 wxSize const &arg5_defvalue = wxDefaultSize ;
16186 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
16187 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
16188 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
16189 long arg7 = (long) wxHLB_DEFAULT_STYLE ;
16190 wxValidator const &arg8_defvalue = wxDefaultValidator ;
16191 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
16192 wxString const &arg9_defvalue = wxPySimpleHtmlListBoxNameStr ;
16193 wxString *arg9 = (wxString *) &arg9_defvalue ;
16194 bool result;
16195 void *argp1 = 0 ;
16196 int res1 = 0 ;
16197 void *argp2 = 0 ;
16198 int res2 = 0 ;
16199 int val3 ;
16200 int ecode3 = 0 ;
16201 wxPoint temp4 ;
16202 wxSize temp5 ;
16203 bool temp6 = false ;
16204 long val7 ;
16205 int ecode7 = 0 ;
16206 void *argp8 = 0 ;
16207 int res8 = 0 ;
16208 bool temp9 = false ;
16209 PyObject * obj0 = 0 ;
16210 PyObject * obj1 = 0 ;
16211 PyObject * obj2 = 0 ;
16212 PyObject * obj3 = 0 ;
16213 PyObject * obj4 = 0 ;
16214 PyObject * obj5 = 0 ;
16215 PyObject * obj6 = 0 ;
16216 PyObject * obj7 = 0 ;
16217 PyObject * obj8 = 0 ;
16218 char * kwnames[] = {
16219 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
16220 };
16221
16222 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:SimpleHtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
16223 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSimpleHtmlListBox, 0 | 0 );
16224 if (!SWIG_IsOK(res1)) {
16225 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "1"" of type '" "wxSimpleHtmlListBox *""'");
16226 }
16227 arg1 = reinterpret_cast< wxSimpleHtmlListBox * >(argp1);
16228 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
16229 if (!SWIG_IsOK(res2)) {
16230 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16231 }
16232 arg2 = reinterpret_cast< wxWindow * >(argp2);
16233 if (obj2) {
16234 ecode3 = SWIG_AsVal_int(obj2, &val3);
16235 if (!SWIG_IsOK(ecode3)) {
16236 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
16237 }
16238 arg3 = static_cast< int >(val3);
16239 }
16240 if (obj3) {
16241 {
16242 arg4 = &temp4;
16243 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
16244 }
16245 }
16246 if (obj4) {
16247 {
16248 arg5 = &temp5;
16249 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
16250 }
16251 }
16252 if (obj5) {
16253 {
16254 if (! PySequence_Check(obj5)) {
16255 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
16256 SWIG_fail;
16257 }
16258 arg6 = new wxArrayString;
16259 temp6 = true;
16260 int i, len=PySequence_Length(obj5);
16261 for (i=0; i<len; i++) {
16262 PyObject* item = PySequence_GetItem(obj5, i);
16263 wxString* s = wxString_in_helper(item);
16264 if (PyErr_Occurred()) SWIG_fail;
16265 arg6->Add(*s);
16266 delete s;
16267 Py_DECREF(item);
16268 }
16269 }
16270 }
16271 if (obj6) {
16272 ecode7 = SWIG_AsVal_long(obj6, &val7);
16273 if (!SWIG_IsOK(ecode7)) {
16274 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "7"" of type '" "long""'");
16275 }
16276 arg7 = static_cast< long >(val7);
16277 }
16278 if (obj7) {
16279 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
16280 if (!SWIG_IsOK(res8)) {
16281 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
16282 }
16283 if (!argp8) {
16284 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SimpleHtmlListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
16285 }
16286 arg8 = reinterpret_cast< wxValidator * >(argp8);
16287 }
16288 if (obj8) {
16289 {
16290 arg9 = wxString_in_helper(obj8);
16291 if (arg9 == NULL) SWIG_fail;
16292 temp9 = true;
16293 }
16294 }
16295 {
16296 PyThreadState* __tstate = wxPyBeginAllowThreads();
16297 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
16298 wxPyEndAllowThreads(__tstate);
16299 if (PyErr_Occurred()) SWIG_fail;
16300 }
16301 {
16302 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16303 }
16304 {
16305 if (temp6) delete arg6;
16306 }
16307 {
16308 if (temp9)
16309 delete arg9;
16310 }
16311 return resultobj;
16312 fail:
16313 {
16314 if (temp6) delete arg6;
16315 }
16316 {
16317 if (temp9)
16318 delete arg9;
16319 }
16320 return NULL;
16321 }
16322
16323
16324 SWIGINTERN PyObject *SimpleHtmlListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16325 PyObject *obj;
16326 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16327 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHtmlListBox, SWIG_NewClientData(obj));
16328 return SWIG_Py_Void();
16329 }
16330
16331 SWIGINTERN PyObject *SimpleHtmlListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16332 return SWIG_Python_InitShadowInstance(args);
16333 }
16334
16335 SWIGINTERN PyObject *_wrap_new_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16336 PyObject *resultobj = 0;
16337 wxPyTaskBarIcon *result = 0 ;
16338
16339 if (!SWIG_Python_UnpackTuple(args,"new_TaskBarIcon",0,0,0)) SWIG_fail;
16340 {
16341 if (!wxPyCheckForApp()) SWIG_fail;
16342 PyThreadState* __tstate = wxPyBeginAllowThreads();
16343 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
16344 wxPyEndAllowThreads(__tstate);
16345 if (PyErr_Occurred()) SWIG_fail;
16346 }
16347 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_NEW | 0 );
16348 return resultobj;
16349 fail:
16350 return NULL;
16351 }
16352
16353
16354 SWIGINTERN PyObject *_wrap_delete_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16355 PyObject *resultobj = 0;
16356 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16357 void *argp1 = 0 ;
16358 int res1 = 0 ;
16359 PyObject *swig_obj[1] ;
16360
16361 if (!args) SWIG_fail;
16362 swig_obj[0] = args;
16363 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_DISOWN | 0 );
16364 if (!SWIG_IsOK(res1)) {
16365 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16366 }
16367 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16368 {
16369 PyThreadState* __tstate = wxPyBeginAllowThreads();
16370 delete arg1;
16371
16372 wxPyEndAllowThreads(__tstate);
16373 if (PyErr_Occurred()) SWIG_fail;
16374 }
16375 resultobj = SWIG_Py_Void();
16376 return resultobj;
16377 fail:
16378 return NULL;
16379 }
16380
16381
16382 SWIGINTERN PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16383 PyObject *resultobj = 0;
16384 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16385 PyObject *arg2 = (PyObject *) 0 ;
16386 PyObject *arg3 = (PyObject *) 0 ;
16387 int arg4 = (int) 0 ;
16388 void *argp1 = 0 ;
16389 int res1 = 0 ;
16390 int val4 ;
16391 int ecode4 = 0 ;
16392 PyObject * obj0 = 0 ;
16393 PyObject * obj1 = 0 ;
16394 PyObject * obj2 = 0 ;
16395 PyObject * obj3 = 0 ;
16396 char * kwnames[] = {
16397 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
16398 };
16399
16400 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
16401 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16402 if (!SWIG_IsOK(res1)) {
16403 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16404 }
16405 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16406 arg2 = obj1;
16407 arg3 = obj2;
16408 if (obj3) {
16409 ecode4 = SWIG_AsVal_int(obj3, &val4);
16410 if (!SWIG_IsOK(ecode4)) {
16411 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
16412 }
16413 arg4 = static_cast< int >(val4);
16414 }
16415 {
16416 PyThreadState* __tstate = wxPyBeginAllowThreads();
16417 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
16418 wxPyEndAllowThreads(__tstate);
16419 if (PyErr_Occurred()) SWIG_fail;
16420 }
16421 resultobj = SWIG_Py_Void();
16422 return resultobj;
16423 fail:
16424 return NULL;
16425 }
16426
16427
16428 SWIGINTERN PyObject *_wrap_TaskBarIcon_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16429 PyObject *resultobj = 0;
16430 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16431 void *argp1 = 0 ;
16432 int res1 = 0 ;
16433 PyObject *swig_obj[1] ;
16434
16435 if (!args) SWIG_fail;
16436 swig_obj[0] = args;
16437 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16438 if (!SWIG_IsOK(res1)) {
16439 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16440 }
16441 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16442 {
16443 PyThreadState* __tstate = wxPyBeginAllowThreads();
16444 wxPyTaskBarIcon_Destroy(arg1);
16445 wxPyEndAllowThreads(__tstate);
16446 if (PyErr_Occurred()) SWIG_fail;
16447 }
16448 resultobj = SWIG_Py_Void();
16449 return resultobj;
16450 fail:
16451 return NULL;
16452 }
16453
16454
16455 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16456 PyObject *resultobj = 0;
16457 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16458 bool result;
16459 void *argp1 = 0 ;
16460 int res1 = 0 ;
16461 PyObject *swig_obj[1] ;
16462
16463 if (!args) SWIG_fail;
16464 swig_obj[0] = args;
16465 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16466 if (!SWIG_IsOK(res1)) {
16467 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16468 }
16469 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16470 {
16471 PyThreadState* __tstate = wxPyBeginAllowThreads();
16472 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
16473 wxPyEndAllowThreads(__tstate);
16474 if (PyErr_Occurred()) SWIG_fail;
16475 }
16476 {
16477 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16478 }
16479 return resultobj;
16480 fail:
16481 return NULL;
16482 }
16483
16484
16485 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16486 PyObject *resultobj = 0;
16487 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16488 bool result;
16489 void *argp1 = 0 ;
16490 int res1 = 0 ;
16491 PyObject *swig_obj[1] ;
16492
16493 if (!args) SWIG_fail;
16494 swig_obj[0] = args;
16495 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16496 if (!SWIG_IsOK(res1)) {
16497 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16498 }
16499 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16500 {
16501 PyThreadState* __tstate = wxPyBeginAllowThreads();
16502 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
16503 wxPyEndAllowThreads(__tstate);
16504 if (PyErr_Occurred()) SWIG_fail;
16505 }
16506 {
16507 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16508 }
16509 return resultobj;
16510 fail:
16511 return NULL;
16512 }
16513
16514
16515 SWIGINTERN PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16516 PyObject *resultobj = 0;
16517 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16518 wxIcon *arg2 = 0 ;
16519 wxString const &arg3_defvalue = wxPyEmptyString ;
16520 wxString *arg3 = (wxString *) &arg3_defvalue ;
16521 bool result;
16522 void *argp1 = 0 ;
16523 int res1 = 0 ;
16524 void *argp2 = 0 ;
16525 int res2 = 0 ;
16526 bool temp3 = false ;
16527 PyObject * obj0 = 0 ;
16528 PyObject * obj1 = 0 ;
16529 PyObject * obj2 = 0 ;
16530 char * kwnames[] = {
16531 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
16532 };
16533
16534 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16535 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16536 if (!SWIG_IsOK(res1)) {
16537 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16538 }
16539 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16540 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
16541 if (!SWIG_IsOK(res2)) {
16542 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16543 }
16544 if (!argp2) {
16545 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16546 }
16547 arg2 = reinterpret_cast< wxIcon * >(argp2);
16548 if (obj2) {
16549 {
16550 arg3 = wxString_in_helper(obj2);
16551 if (arg3 == NULL) SWIG_fail;
16552 temp3 = true;
16553 }
16554 }
16555 {
16556 PyThreadState* __tstate = wxPyBeginAllowThreads();
16557 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
16558 wxPyEndAllowThreads(__tstate);
16559 if (PyErr_Occurred()) SWIG_fail;
16560 }
16561 {
16562 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16563 }
16564 {
16565 if (temp3)
16566 delete arg3;
16567 }
16568 return resultobj;
16569 fail:
16570 {
16571 if (temp3)
16572 delete arg3;
16573 }
16574 return NULL;
16575 }
16576
16577
16578 SWIGINTERN PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16579 PyObject *resultobj = 0;
16580 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16581 bool result;
16582 void *argp1 = 0 ;
16583 int res1 = 0 ;
16584 PyObject *swig_obj[1] ;
16585
16586 if (!args) SWIG_fail;
16587 swig_obj[0] = args;
16588 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16589 if (!SWIG_IsOK(res1)) {
16590 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16591 }
16592 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16593 {
16594 PyThreadState* __tstate = wxPyBeginAllowThreads();
16595 result = (bool)(arg1)->RemoveIcon();
16596 wxPyEndAllowThreads(__tstate);
16597 if (PyErr_Occurred()) SWIG_fail;
16598 }
16599 {
16600 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16601 }
16602 return resultobj;
16603 fail:
16604 return NULL;
16605 }
16606
16607
16608 SWIGINTERN PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16609 PyObject *resultobj = 0;
16610 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16611 wxMenu *arg2 = (wxMenu *) 0 ;
16612 bool result;
16613 void *argp1 = 0 ;
16614 int res1 = 0 ;
16615 void *argp2 = 0 ;
16616 int res2 = 0 ;
16617 PyObject * obj0 = 0 ;
16618 PyObject * obj1 = 0 ;
16619 char * kwnames[] = {
16620 (char *) "self",(char *) "menu", NULL
16621 };
16622
16623 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) SWIG_fail;
16624 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16625 if (!SWIG_IsOK(res1)) {
16626 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16627 }
16628 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16629 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
16630 if (!SWIG_IsOK(res2)) {
16631 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16632 }
16633 arg2 = reinterpret_cast< wxMenu * >(argp2);
16634 {
16635 PyThreadState* __tstate = wxPyBeginAllowThreads();
16636 result = (bool)(arg1)->PopupMenu(arg2);
16637 wxPyEndAllowThreads(__tstate);
16638 if (PyErr_Occurred()) SWIG_fail;
16639 }
16640 {
16641 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16642 }
16643 return resultobj;
16644 fail:
16645 return NULL;
16646 }
16647
16648
16649 SWIGINTERN PyObject *TaskBarIcon_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16650 PyObject *obj;
16651 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16652 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon, SWIG_NewClientData(obj));
16653 return SWIG_Py_Void();
16654 }
16655
16656 SWIGINTERN PyObject *TaskBarIcon_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16657 return SWIG_Python_InitShadowInstance(args);
16658 }
16659
16660 SWIGINTERN PyObject *_wrap_new_TaskBarIconEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16661 PyObject *resultobj = 0;
16662 wxEventType arg1 ;
16663 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
16664 wxTaskBarIconEvent *result = 0 ;
16665 int val1 ;
16666 int ecode1 = 0 ;
16667 void *argp2 = 0 ;
16668 int res2 = 0 ;
16669 PyObject * obj0 = 0 ;
16670 PyObject * obj1 = 0 ;
16671 char * kwnames[] = {
16672 (char *) "evtType",(char *) "tbIcon", NULL
16673 };
16674
16675 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) SWIG_fail;
16676 ecode1 = SWIG_AsVal_int(obj0, &val1);
16677 if (!SWIG_IsOK(ecode1)) {
16678 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16679 }
16680 arg1 = static_cast< wxEventType >(val1);
16681 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTaskBarIcon, 0 | 0 );
16682 if (!SWIG_IsOK(res2)) {
16683 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16684 }
16685 arg2 = reinterpret_cast< wxTaskBarIcon * >(argp2);
16686 {
16687 PyThreadState* __tstate = wxPyBeginAllowThreads();
16688 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
16689 wxPyEndAllowThreads(__tstate);
16690 if (PyErr_Occurred()) SWIG_fail;
16691 }
16692 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTaskBarIconEvent, SWIG_POINTER_NEW | 0 );
16693 return resultobj;
16694 fail:
16695 return NULL;
16696 }
16697
16698
16699 SWIGINTERN PyObject *TaskBarIconEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16700 PyObject *obj;
16701 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16702 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent, SWIG_NewClientData(obj));
16703 return SWIG_Py_Void();
16704 }
16705
16706 SWIGINTERN PyObject *TaskBarIconEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16707 return SWIG_Python_InitShadowInstance(args);
16708 }
16709
16710 SWIGINTERN int FileSelectorPromptStr_set(PyObject *) {
16711 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorPromptStr is read-only.");
16712 return 1;
16713 }
16714
16715
16716 SWIGINTERN PyObject *FileSelectorPromptStr_get(void) {
16717 PyObject *pyobj = 0;
16718
16719 {
16720 #if wxUSE_UNICODE
16721 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16722 #else
16723 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16724 #endif
16725 }
16726 return pyobj;
16727 }
16728
16729
16730 SWIGINTERN int DirSelectorPromptStr_set(PyObject *) {
16731 SWIG_Error(SWIG_AttributeError,"Variable DirSelectorPromptStr is read-only.");
16732 return 1;
16733 }
16734
16735
16736 SWIGINTERN PyObject *DirSelectorPromptStr_get(void) {
16737 PyObject *pyobj = 0;
16738
16739 {
16740 #if wxUSE_UNICODE
16741 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16742 #else
16743 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16744 #endif
16745 }
16746 return pyobj;
16747 }
16748
16749
16750 SWIGINTERN int DirDialogNameStr_set(PyObject *) {
16751 SWIG_Error(SWIG_AttributeError,"Variable DirDialogNameStr is read-only.");
16752 return 1;
16753 }
16754
16755
16756 SWIGINTERN PyObject *DirDialogNameStr_get(void) {
16757 PyObject *pyobj = 0;
16758
16759 {
16760 #if wxUSE_UNICODE
16761 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16762 #else
16763 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16764 #endif
16765 }
16766 return pyobj;
16767 }
16768
16769
16770 SWIGINTERN int FileSelectorDefaultWildcardStr_set(PyObject *) {
16771 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
16772 return 1;
16773 }
16774
16775
16776 SWIGINTERN PyObject *FileSelectorDefaultWildcardStr_get(void) {
16777 PyObject *pyobj = 0;
16778
16779 {
16780 #if wxUSE_UNICODE
16781 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16782 #else
16783 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16784 #endif
16785 }
16786 return pyobj;
16787 }
16788
16789
16790 SWIGINTERN int GetTextFromUserPromptStr_set(PyObject *) {
16791 SWIG_Error(SWIG_AttributeError,"Variable GetTextFromUserPromptStr is read-only.");
16792 return 1;
16793 }
16794
16795
16796 SWIGINTERN PyObject *GetTextFromUserPromptStr_get(void) {
16797 PyObject *pyobj = 0;
16798
16799 {
16800 #if wxUSE_UNICODE
16801 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16802 #else
16803 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16804 #endif
16805 }
16806 return pyobj;
16807 }
16808
16809
16810 SWIGINTERN int MessageBoxCaptionStr_set(PyObject *) {
16811 SWIG_Error(SWIG_AttributeError,"Variable MessageBoxCaptionStr is read-only.");
16812 return 1;
16813 }
16814
16815
16816 SWIGINTERN PyObject *MessageBoxCaptionStr_get(void) {
16817 PyObject *pyobj = 0;
16818
16819 {
16820 #if wxUSE_UNICODE
16821 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16822 #else
16823 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16824 #endif
16825 }
16826 return pyobj;
16827 }
16828
16829
16830 SWIGINTERN PyObject *_wrap_new_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16831 PyObject *resultobj = 0;
16832 wxColourData *result = 0 ;
16833
16834 if (!SWIG_Python_UnpackTuple(args,"new_ColourData",0,0,0)) SWIG_fail;
16835 {
16836 PyThreadState* __tstate = wxPyBeginAllowThreads();
16837 result = (wxColourData *)new wxColourData();
16838 wxPyEndAllowThreads(__tstate);
16839 if (PyErr_Occurred()) SWIG_fail;
16840 }
16841 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, SWIG_POINTER_NEW | 0 );
16842 return resultobj;
16843 fail:
16844 return NULL;
16845 }
16846
16847
16848 SWIGINTERN PyObject *_wrap_delete_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16849 PyObject *resultobj = 0;
16850 wxColourData *arg1 = (wxColourData *) 0 ;
16851 void *argp1 = 0 ;
16852 int res1 = 0 ;
16853 PyObject *swig_obj[1] ;
16854
16855 if (!args) SWIG_fail;
16856 swig_obj[0] = args;
16857 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, SWIG_POINTER_DISOWN | 0 );
16858 if (!SWIG_IsOK(res1)) {
16859 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16860 }
16861 arg1 = reinterpret_cast< wxColourData * >(argp1);
16862 {
16863 PyThreadState* __tstate = wxPyBeginAllowThreads();
16864 delete arg1;
16865
16866 wxPyEndAllowThreads(__tstate);
16867 if (PyErr_Occurred()) SWIG_fail;
16868 }
16869 resultobj = SWIG_Py_Void();
16870 return resultobj;
16871 fail:
16872 return NULL;
16873 }
16874
16875
16876 SWIGINTERN PyObject *_wrap_ColourData_GetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16877 PyObject *resultobj = 0;
16878 wxColourData *arg1 = (wxColourData *) 0 ;
16879 bool result;
16880 void *argp1 = 0 ;
16881 int res1 = 0 ;
16882 PyObject *swig_obj[1] ;
16883
16884 if (!args) SWIG_fail;
16885 swig_obj[0] = args;
16886 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16887 if (!SWIG_IsOK(res1)) {
16888 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16889 }
16890 arg1 = reinterpret_cast< wxColourData * >(argp1);
16891 {
16892 PyThreadState* __tstate = wxPyBeginAllowThreads();
16893 result = (bool)(arg1)->GetChooseFull();
16894 wxPyEndAllowThreads(__tstate);
16895 if (PyErr_Occurred()) SWIG_fail;
16896 }
16897 {
16898 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16899 }
16900 return resultobj;
16901 fail:
16902 return NULL;
16903 }
16904
16905
16906 SWIGINTERN PyObject *_wrap_ColourData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16907 PyObject *resultobj = 0;
16908 wxColourData *arg1 = (wxColourData *) 0 ;
16909 wxColour result;
16910 void *argp1 = 0 ;
16911 int res1 = 0 ;
16912 PyObject *swig_obj[1] ;
16913
16914 if (!args) SWIG_fail;
16915 swig_obj[0] = args;
16916 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16917 if (!SWIG_IsOK(res1)) {
16918 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16919 }
16920 arg1 = reinterpret_cast< wxColourData * >(argp1);
16921 {
16922 PyThreadState* __tstate = wxPyBeginAllowThreads();
16923 result = (arg1)->GetColour();
16924 wxPyEndAllowThreads(__tstate);
16925 if (PyErr_Occurred()) SWIG_fail;
16926 }
16927 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16928 return resultobj;
16929 fail:
16930 return NULL;
16931 }
16932
16933
16934 SWIGINTERN PyObject *_wrap_ColourData_GetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16935 PyObject *resultobj = 0;
16936 wxColourData *arg1 = (wxColourData *) 0 ;
16937 int arg2 ;
16938 wxColour result;
16939 void *argp1 = 0 ;
16940 int res1 = 0 ;
16941 int val2 ;
16942 int ecode2 = 0 ;
16943 PyObject * obj0 = 0 ;
16944 PyObject * obj1 = 0 ;
16945 char * kwnames[] = {
16946 (char *) "self",(char *) "i", NULL
16947 };
16948
16949 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) SWIG_fail;
16950 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16951 if (!SWIG_IsOK(res1)) {
16952 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16953 }
16954 arg1 = reinterpret_cast< wxColourData * >(argp1);
16955 ecode2 = SWIG_AsVal_int(obj1, &val2);
16956 if (!SWIG_IsOK(ecode2)) {
16957 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16958 }
16959 arg2 = static_cast< int >(val2);
16960 {
16961 PyThreadState* __tstate = wxPyBeginAllowThreads();
16962 result = (arg1)->GetCustomColour(arg2);
16963 wxPyEndAllowThreads(__tstate);
16964 if (PyErr_Occurred()) SWIG_fail;
16965 }
16966 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16967 return resultobj;
16968 fail:
16969 return NULL;
16970 }
16971
16972
16973 SWIGINTERN PyObject *_wrap_ColourData_SetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16974 PyObject *resultobj = 0;
16975 wxColourData *arg1 = (wxColourData *) 0 ;
16976 int arg2 ;
16977 void *argp1 = 0 ;
16978 int res1 = 0 ;
16979 int val2 ;
16980 int ecode2 = 0 ;
16981 PyObject * obj0 = 0 ;
16982 PyObject * obj1 = 0 ;
16983 char * kwnames[] = {
16984 (char *) "self",(char *) "flag", NULL
16985 };
16986
16987 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) SWIG_fail;
16988 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16989 if (!SWIG_IsOK(res1)) {
16990 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16991 }
16992 arg1 = reinterpret_cast< wxColourData * >(argp1);
16993 ecode2 = SWIG_AsVal_int(obj1, &val2);
16994 if (!SWIG_IsOK(ecode2)) {
16995 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16996 }
16997 arg2 = static_cast< int >(val2);
16998 {
16999 PyThreadState* __tstate = wxPyBeginAllowThreads();
17000 (arg1)->SetChooseFull(arg2);
17001 wxPyEndAllowThreads(__tstate);
17002 if (PyErr_Occurred()) SWIG_fail;
17003 }
17004 resultobj = SWIG_Py_Void();
17005 return resultobj;
17006 fail:
17007 return NULL;
17008 }
17009
17010
17011 SWIGINTERN PyObject *_wrap_ColourData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17012 PyObject *resultobj = 0;
17013 wxColourData *arg1 = (wxColourData *) 0 ;
17014 wxColour *arg2 = 0 ;
17015 void *argp1 = 0 ;
17016 int res1 = 0 ;
17017 wxColour temp2 ;
17018 PyObject * obj0 = 0 ;
17019 PyObject * obj1 = 0 ;
17020 char * kwnames[] = {
17021 (char *) "self",(char *) "colour", NULL
17022 };
17023
17024 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
17025 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
17026 if (!SWIG_IsOK(res1)) {
17027 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
17028 }
17029 arg1 = reinterpret_cast< wxColourData * >(argp1);
17030 {
17031 arg2 = &temp2;
17032 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17033 }
17034 {
17035 PyThreadState* __tstate = wxPyBeginAllowThreads();
17036 (arg1)->SetColour((wxColour const &)*arg2);
17037 wxPyEndAllowThreads(__tstate);
17038 if (PyErr_Occurred()) SWIG_fail;
17039 }
17040 resultobj = SWIG_Py_Void();
17041 return resultobj;
17042 fail:
17043 return NULL;
17044 }
17045
17046
17047 SWIGINTERN PyObject *_wrap_ColourData_SetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17048 PyObject *resultobj = 0;
17049 wxColourData *arg1 = (wxColourData *) 0 ;
17050 int arg2 ;
17051 wxColour *arg3 = 0 ;
17052 void *argp1 = 0 ;
17053 int res1 = 0 ;
17054 int val2 ;
17055 int ecode2 = 0 ;
17056 wxColour temp3 ;
17057 PyObject * obj0 = 0 ;
17058 PyObject * obj1 = 0 ;
17059 PyObject * obj2 = 0 ;
17060 char * kwnames[] = {
17061 (char *) "self",(char *) "i",(char *) "colour", NULL
17062 };
17063
17064 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17065 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
17066 if (!SWIG_IsOK(res1)) {
17067 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
17068 }
17069 arg1 = reinterpret_cast< wxColourData * >(argp1);
17070 ecode2 = SWIG_AsVal_int(obj1, &val2);
17071 if (!SWIG_IsOK(ecode2)) {
17072 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
17073 }
17074 arg2 = static_cast< int >(val2);
17075 {
17076 arg3 = &temp3;
17077 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
17078 }
17079 {
17080 PyThreadState* __tstate = wxPyBeginAllowThreads();
17081 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
17082 wxPyEndAllowThreads(__tstate);
17083 if (PyErr_Occurred()) SWIG_fail;
17084 }
17085 resultobj = SWIG_Py_Void();
17086 return resultobj;
17087 fail:
17088 return NULL;
17089 }
17090
17091
17092 SWIGINTERN PyObject *ColourData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17093 PyObject *obj;
17094 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17095 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData, SWIG_NewClientData(obj));
17096 return SWIG_Py_Void();
17097 }
17098
17099 SWIGINTERN PyObject *ColourData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17100 return SWIG_Python_InitShadowInstance(args);
17101 }
17102
17103 SWIGINTERN PyObject *_wrap_new_ColourDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17104 PyObject *resultobj = 0;
17105 wxWindow *arg1 = (wxWindow *) 0 ;
17106 wxColourData *arg2 = (wxColourData *) NULL ;
17107 wxColourDialog *result = 0 ;
17108 void *argp1 = 0 ;
17109 int res1 = 0 ;
17110 void *argp2 = 0 ;
17111 int res2 = 0 ;
17112 PyObject * obj0 = 0 ;
17113 PyObject * obj1 = 0 ;
17114 char * kwnames[] = {
17115 (char *) "parent",(char *) "data", NULL
17116 };
17117
17118 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) SWIG_fail;
17119 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17120 if (!SWIG_IsOK(res1)) {
17121 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17122 }
17123 arg1 = reinterpret_cast< wxWindow * >(argp1);
17124 if (obj1) {
17125 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxColourData, 0 | 0 );
17126 if (!SWIG_IsOK(res2)) {
17127 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
17128 }
17129 arg2 = reinterpret_cast< wxColourData * >(argp2);
17130 }
17131 {
17132 if (!wxPyCheckForApp()) SWIG_fail;
17133 PyThreadState* __tstate = wxPyBeginAllowThreads();
17134 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
17135 wxPyEndAllowThreads(__tstate);
17136 if (PyErr_Occurred()) SWIG_fail;
17137 }
17138 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourDialog, SWIG_POINTER_NEW | 0 );
17139 return resultobj;
17140 fail:
17141 return NULL;
17142 }
17143
17144
17145 SWIGINTERN PyObject *_wrap_ColourDialog_GetColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17146 PyObject *resultobj = 0;
17147 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
17148 wxColourData *result = 0 ;
17149 void *argp1 = 0 ;
17150 int res1 = 0 ;
17151 PyObject *swig_obj[1] ;
17152
17153 if (!args) SWIG_fail;
17154 swig_obj[0] = args;
17155 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourDialog, 0 | 0 );
17156 if (!SWIG_IsOK(res1)) {
17157 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
17158 }
17159 arg1 = reinterpret_cast< wxColourDialog * >(argp1);
17160 {
17161 PyThreadState* __tstate = wxPyBeginAllowThreads();
17162 {
17163 wxColourData &_result_ref = (arg1)->GetColourData();
17164 result = (wxColourData *) &_result_ref;
17165 }
17166 wxPyEndAllowThreads(__tstate);
17167 if (PyErr_Occurred()) SWIG_fail;
17168 }
17169 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, 0 | 0 );
17170 return resultobj;
17171 fail:
17172 return NULL;
17173 }
17174
17175
17176 SWIGINTERN PyObject *ColourDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17177 PyObject *obj;
17178 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17179 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog, SWIG_NewClientData(obj));
17180 return SWIG_Py_Void();
17181 }
17182
17183 SWIGINTERN PyObject *ColourDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17184 return SWIG_Python_InitShadowInstance(args);
17185 }
17186
17187 SWIGINTERN PyObject *_wrap_GetColourFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17188 PyObject *resultobj = 0;
17189 wxWindow *arg1 = (wxWindow *) (wxWindow *) NULL ;
17190 wxColour const &arg2_defvalue = wxNullColour ;
17191 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
17192 wxString const &arg3_defvalue = wxPyEmptyString ;
17193 wxString *arg3 = (wxString *) &arg3_defvalue ;
17194 wxColour result;
17195 void *argp1 = 0 ;
17196 int res1 = 0 ;
17197 wxColour temp2 ;
17198 bool temp3 = false ;
17199 PyObject * obj0 = 0 ;
17200 PyObject * obj1 = 0 ;
17201 PyObject * obj2 = 0 ;
17202 char * kwnames[] = {
17203 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
17204 };
17205
17206 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetColourFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17207 if (obj0) {
17208 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17209 if (!SWIG_IsOK(res1)) {
17210 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
17211 }
17212 arg1 = reinterpret_cast< wxWindow * >(argp1);
17213 }
17214 if (obj1) {
17215 {
17216 arg2 = &temp2;
17217 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17218 }
17219 }
17220 if (obj2) {
17221 {
17222 arg3 = wxString_in_helper(obj2);
17223 if (arg3 == NULL) SWIG_fail;
17224 temp3 = true;
17225 }
17226 }
17227 {
17228 PyThreadState* __tstate = wxPyBeginAllowThreads();
17229 result = wxGetColourFromUser(arg1,(wxColour const &)*arg2,(wxString const &)*arg3);
17230 wxPyEndAllowThreads(__tstate);
17231 if (PyErr_Occurred()) SWIG_fail;
17232 }
17233 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
17234 {
17235 if (temp3)
17236 delete arg3;
17237 }
17238 return resultobj;
17239 fail:
17240 {
17241 if (temp3)
17242 delete arg3;
17243 }
17244 return NULL;
17245 }
17246
17247
17248 SWIGINTERN PyObject *_wrap_new_DirDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17249 PyObject *resultobj = 0;
17250 wxWindow *arg1 = (wxWindow *) 0 ;
17251 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
17252 wxString *arg2 = (wxString *) &arg2_defvalue ;
17253 wxString const &arg3_defvalue = wxPyEmptyString ;
17254 wxString *arg3 = (wxString *) &arg3_defvalue ;
17255 long arg4 = (long) wxDD_DEFAULT_STYLE ;
17256 wxPoint const &arg5_defvalue = wxDefaultPosition ;
17257 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
17258 wxSize const &arg6_defvalue = wxDefaultSize ;
17259 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
17260 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
17261 wxString *arg7 = (wxString *) &arg7_defvalue ;
17262 wxDirDialog *result = 0 ;
17263 void *argp1 = 0 ;
17264 int res1 = 0 ;
17265 bool temp2 = false ;
17266 bool temp3 = false ;
17267 long val4 ;
17268 int ecode4 = 0 ;
17269 wxPoint temp5 ;
17270 wxSize temp6 ;
17271 bool temp7 = false ;
17272 PyObject * obj0 = 0 ;
17273 PyObject * obj1 = 0 ;
17274 PyObject * obj2 = 0 ;
17275 PyObject * obj3 = 0 ;
17276 PyObject * obj4 = 0 ;
17277 PyObject * obj5 = 0 ;
17278 PyObject * obj6 = 0 ;
17279 char * kwnames[] = {
17280 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
17281 };
17282
17283 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
17284 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17285 if (!SWIG_IsOK(res1)) {
17286 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17287 }
17288 arg1 = reinterpret_cast< wxWindow * >(argp1);
17289 if (obj1) {
17290 {
17291 arg2 = wxString_in_helper(obj1);
17292 if (arg2 == NULL) SWIG_fail;
17293 temp2 = true;
17294 }
17295 }
17296 if (obj2) {
17297 {
17298 arg3 = wxString_in_helper(obj2);
17299 if (arg3 == NULL) SWIG_fail;
17300 temp3 = true;
17301 }
17302 }
17303 if (obj3) {
17304 ecode4 = SWIG_AsVal_long(obj3, &val4);
17305 if (!SWIG_IsOK(ecode4)) {
17306 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
17307 }
17308 arg4 = static_cast< long >(val4);
17309 }
17310 if (obj4) {
17311 {
17312 arg5 = &temp5;
17313 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
17314 }
17315 }
17316 if (obj5) {
17317 {
17318 arg6 = &temp6;
17319 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
17320 }
17321 }
17322 if (obj6) {
17323 {
17324 arg7 = wxString_in_helper(obj6);
17325 if (arg7 == NULL) SWIG_fail;
17326 temp7 = true;
17327 }
17328 }
17329 {
17330 if (!wxPyCheckForApp()) SWIG_fail;
17331 PyThreadState* __tstate = wxPyBeginAllowThreads();
17332 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
17333 wxPyEndAllowThreads(__tstate);
17334 if (PyErr_Occurred()) SWIG_fail;
17335 }
17336 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirDialog, SWIG_POINTER_NEW | 0 );
17337 {
17338 if (temp2)
17339 delete arg2;
17340 }
17341 {
17342 if (temp3)
17343 delete arg3;
17344 }
17345 {
17346 if (temp7)
17347 delete arg7;
17348 }
17349 return resultobj;
17350 fail:
17351 {
17352 if (temp2)
17353 delete arg2;
17354 }
17355 {
17356 if (temp3)
17357 delete arg3;
17358 }
17359 {
17360 if (temp7)
17361 delete arg7;
17362 }
17363 return NULL;
17364 }
17365
17366
17367 SWIGINTERN PyObject *_wrap_DirDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17368 PyObject *resultobj = 0;
17369 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17370 wxString result;
17371 void *argp1 = 0 ;
17372 int res1 = 0 ;
17373 PyObject *swig_obj[1] ;
17374
17375 if (!args) SWIG_fail;
17376 swig_obj[0] = args;
17377 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17378 if (!SWIG_IsOK(res1)) {
17379 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17380 }
17381 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17382 {
17383 PyThreadState* __tstate = wxPyBeginAllowThreads();
17384 result = (arg1)->GetPath();
17385 wxPyEndAllowThreads(__tstate);
17386 if (PyErr_Occurred()) SWIG_fail;
17387 }
17388 {
17389 #if wxUSE_UNICODE
17390 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17391 #else
17392 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17393 #endif
17394 }
17395 return resultobj;
17396 fail:
17397 return NULL;
17398 }
17399
17400
17401 SWIGINTERN PyObject *_wrap_DirDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17402 PyObject *resultobj = 0;
17403 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17404 wxString result;
17405 void *argp1 = 0 ;
17406 int res1 = 0 ;
17407 PyObject *swig_obj[1] ;
17408
17409 if (!args) SWIG_fail;
17410 swig_obj[0] = args;
17411 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17412 if (!SWIG_IsOK(res1)) {
17413 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17414 }
17415 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17416 {
17417 PyThreadState* __tstate = wxPyBeginAllowThreads();
17418 result = (arg1)->GetMessage();
17419 wxPyEndAllowThreads(__tstate);
17420 if (PyErr_Occurred()) SWIG_fail;
17421 }
17422 {
17423 #if wxUSE_UNICODE
17424 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17425 #else
17426 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17427 #endif
17428 }
17429 return resultobj;
17430 fail:
17431 return NULL;
17432 }
17433
17434
17435 SWIGINTERN PyObject *_wrap_DirDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17436 PyObject *resultobj = 0;
17437 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17438 wxString *arg2 = 0 ;
17439 void *argp1 = 0 ;
17440 int res1 = 0 ;
17441 bool temp2 = false ;
17442 PyObject * obj0 = 0 ;
17443 PyObject * obj1 = 0 ;
17444 char * kwnames[] = {
17445 (char *) "self",(char *) "message", NULL
17446 };
17447
17448 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
17449 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17450 if (!SWIG_IsOK(res1)) {
17451 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17452 }
17453 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17454 {
17455 arg2 = wxString_in_helper(obj1);
17456 if (arg2 == NULL) SWIG_fail;
17457 temp2 = true;
17458 }
17459 {
17460 PyThreadState* __tstate = wxPyBeginAllowThreads();
17461 (arg1)->SetMessage((wxString const &)*arg2);
17462 wxPyEndAllowThreads(__tstate);
17463 if (PyErr_Occurred()) SWIG_fail;
17464 }
17465 resultobj = SWIG_Py_Void();
17466 {
17467 if (temp2)
17468 delete arg2;
17469 }
17470 return resultobj;
17471 fail:
17472 {
17473 if (temp2)
17474 delete arg2;
17475 }
17476 return NULL;
17477 }
17478
17479
17480 SWIGINTERN PyObject *_wrap_DirDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17481 PyObject *resultobj = 0;
17482 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17483 wxString *arg2 = 0 ;
17484 void *argp1 = 0 ;
17485 int res1 = 0 ;
17486 bool temp2 = false ;
17487 PyObject * obj0 = 0 ;
17488 PyObject * obj1 = 0 ;
17489 char * kwnames[] = {
17490 (char *) "self",(char *) "path", NULL
17491 };
17492
17493 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
17494 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17495 if (!SWIG_IsOK(res1)) {
17496 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17497 }
17498 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17499 {
17500 arg2 = wxString_in_helper(obj1);
17501 if (arg2 == NULL) SWIG_fail;
17502 temp2 = true;
17503 }
17504 {
17505 PyThreadState* __tstate = wxPyBeginAllowThreads();
17506 (arg1)->SetPath((wxString const &)*arg2);
17507 wxPyEndAllowThreads(__tstate);
17508 if (PyErr_Occurred()) SWIG_fail;
17509 }
17510 resultobj = SWIG_Py_Void();
17511 {
17512 if (temp2)
17513 delete arg2;
17514 }
17515 return resultobj;
17516 fail:
17517 {
17518 if (temp2)
17519 delete arg2;
17520 }
17521 return NULL;
17522 }
17523
17524
17525 SWIGINTERN PyObject *DirDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17526 PyObject *obj;
17527 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17528 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog, SWIG_NewClientData(obj));
17529 return SWIG_Py_Void();
17530 }
17531
17532 SWIGINTERN PyObject *DirDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17533 return SWIG_Python_InitShadowInstance(args);
17534 }
17535
17536 SWIGINTERN PyObject *_wrap_new_FileDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17537 PyObject *resultobj = 0;
17538 wxWindow *arg1 = (wxWindow *) 0 ;
17539 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
17540 wxString *arg2 = (wxString *) &arg2_defvalue ;
17541 wxString const &arg3_defvalue = wxPyEmptyString ;
17542 wxString *arg3 = (wxString *) &arg3_defvalue ;
17543 wxString const &arg4_defvalue = wxPyEmptyString ;
17544 wxString *arg4 = (wxString *) &arg4_defvalue ;
17545 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
17546 wxString *arg5 = (wxString *) &arg5_defvalue ;
17547 long arg6 = (long) wxFD_DEFAULT_STYLE ;
17548 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17549 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17550 wxFileDialog *result = 0 ;
17551 void *argp1 = 0 ;
17552 int res1 = 0 ;
17553 bool temp2 = false ;
17554 bool temp3 = false ;
17555 bool temp4 = false ;
17556 bool temp5 = false ;
17557 long val6 ;
17558 int ecode6 = 0 ;
17559 wxPoint temp7 ;
17560 PyObject * obj0 = 0 ;
17561 PyObject * obj1 = 0 ;
17562 PyObject * obj2 = 0 ;
17563 PyObject * obj3 = 0 ;
17564 PyObject * obj4 = 0 ;
17565 PyObject * obj5 = 0 ;
17566 PyObject * obj6 = 0 ;
17567 char * kwnames[] = {
17568 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
17569 };
17570
17571 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
17572 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17573 if (!SWIG_IsOK(res1)) {
17574 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17575 }
17576 arg1 = reinterpret_cast< wxWindow * >(argp1);
17577 if (obj1) {
17578 {
17579 arg2 = wxString_in_helper(obj1);
17580 if (arg2 == NULL) SWIG_fail;
17581 temp2 = true;
17582 }
17583 }
17584 if (obj2) {
17585 {
17586 arg3 = wxString_in_helper(obj2);
17587 if (arg3 == NULL) SWIG_fail;
17588 temp3 = true;
17589 }
17590 }
17591 if (obj3) {
17592 {
17593 arg4 = wxString_in_helper(obj3);
17594 if (arg4 == NULL) SWIG_fail;
17595 temp4 = true;
17596 }
17597 }
17598 if (obj4) {
17599 {
17600 arg5 = wxString_in_helper(obj4);
17601 if (arg5 == NULL) SWIG_fail;
17602 temp5 = true;
17603 }
17604 }
17605 if (obj5) {
17606 ecode6 = SWIG_AsVal_long(obj5, &val6);
17607 if (!SWIG_IsOK(ecode6)) {
17608 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
17609 }
17610 arg6 = static_cast< long >(val6);
17611 }
17612 if (obj6) {
17613 {
17614 arg7 = &temp7;
17615 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
17616 }
17617 }
17618 {
17619 if (!wxPyCheckForApp()) SWIG_fail;
17620 PyThreadState* __tstate = wxPyBeginAllowThreads();
17621 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
17622 wxPyEndAllowThreads(__tstate);
17623 if (PyErr_Occurred()) SWIG_fail;
17624 }
17625 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileDialog, SWIG_POINTER_NEW | 0 );
17626 {
17627 if (temp2)
17628 delete arg2;
17629 }
17630 {
17631 if (temp3)
17632 delete arg3;
17633 }
17634 {
17635 if (temp4)
17636 delete arg4;
17637 }
17638 {
17639 if (temp5)
17640 delete arg5;
17641 }
17642 return resultobj;
17643 fail:
17644 {
17645 if (temp2)
17646 delete arg2;
17647 }
17648 {
17649 if (temp3)
17650 delete arg3;
17651 }
17652 {
17653 if (temp4)
17654 delete arg4;
17655 }
17656 {
17657 if (temp5)
17658 delete arg5;
17659 }
17660 return NULL;
17661 }
17662
17663
17664 SWIGINTERN PyObject *_wrap_FileDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17665 PyObject *resultobj = 0;
17666 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17667 wxString *arg2 = 0 ;
17668 void *argp1 = 0 ;
17669 int res1 = 0 ;
17670 bool temp2 = false ;
17671 PyObject * obj0 = 0 ;
17672 PyObject * obj1 = 0 ;
17673 char * kwnames[] = {
17674 (char *) "self",(char *) "message", NULL
17675 };
17676
17677 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
17678 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17679 if (!SWIG_IsOK(res1)) {
17680 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17681 }
17682 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17683 {
17684 arg2 = wxString_in_helper(obj1);
17685 if (arg2 == NULL) SWIG_fail;
17686 temp2 = true;
17687 }
17688 {
17689 PyThreadState* __tstate = wxPyBeginAllowThreads();
17690 (arg1)->SetMessage((wxString const &)*arg2);
17691 wxPyEndAllowThreads(__tstate);
17692 if (PyErr_Occurred()) SWIG_fail;
17693 }
17694 resultobj = SWIG_Py_Void();
17695 {
17696 if (temp2)
17697 delete arg2;
17698 }
17699 return resultobj;
17700 fail:
17701 {
17702 if (temp2)
17703 delete arg2;
17704 }
17705 return NULL;
17706 }
17707
17708
17709 SWIGINTERN PyObject *_wrap_FileDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17710 PyObject *resultobj = 0;
17711 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17712 wxString *arg2 = 0 ;
17713 void *argp1 = 0 ;
17714 int res1 = 0 ;
17715 bool temp2 = false ;
17716 PyObject * obj0 = 0 ;
17717 PyObject * obj1 = 0 ;
17718 char * kwnames[] = {
17719 (char *) "self",(char *) "path", NULL
17720 };
17721
17722 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
17723 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17724 if (!SWIG_IsOK(res1)) {
17725 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17726 }
17727 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17728 {
17729 arg2 = wxString_in_helper(obj1);
17730 if (arg2 == NULL) SWIG_fail;
17731 temp2 = true;
17732 }
17733 {
17734 PyThreadState* __tstate = wxPyBeginAllowThreads();
17735 (arg1)->SetPath((wxString const &)*arg2);
17736 wxPyEndAllowThreads(__tstate);
17737 if (PyErr_Occurred()) SWIG_fail;
17738 }
17739 resultobj = SWIG_Py_Void();
17740 {
17741 if (temp2)
17742 delete arg2;
17743 }
17744 return resultobj;
17745 fail:
17746 {
17747 if (temp2)
17748 delete arg2;
17749 }
17750 return NULL;
17751 }
17752
17753
17754 SWIGINTERN PyObject *_wrap_FileDialog_SetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17755 PyObject *resultobj = 0;
17756 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17757 wxString *arg2 = 0 ;
17758 void *argp1 = 0 ;
17759 int res1 = 0 ;
17760 bool temp2 = false ;
17761 PyObject * obj0 = 0 ;
17762 PyObject * obj1 = 0 ;
17763 char * kwnames[] = {
17764 (char *) "self",(char *) "dir", NULL
17765 };
17766
17767 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) SWIG_fail;
17768 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17769 if (!SWIG_IsOK(res1)) {
17770 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17771 }
17772 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17773 {
17774 arg2 = wxString_in_helper(obj1);
17775 if (arg2 == NULL) SWIG_fail;
17776 temp2 = true;
17777 }
17778 {
17779 PyThreadState* __tstate = wxPyBeginAllowThreads();
17780 (arg1)->SetDirectory((wxString const &)*arg2);
17781 wxPyEndAllowThreads(__tstate);
17782 if (PyErr_Occurred()) SWIG_fail;
17783 }
17784 resultobj = SWIG_Py_Void();
17785 {
17786 if (temp2)
17787 delete arg2;
17788 }
17789 return resultobj;
17790 fail:
17791 {
17792 if (temp2)
17793 delete arg2;
17794 }
17795 return NULL;
17796 }
17797
17798
17799 SWIGINTERN PyObject *_wrap_FileDialog_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17800 PyObject *resultobj = 0;
17801 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17802 wxString *arg2 = 0 ;
17803 void *argp1 = 0 ;
17804 int res1 = 0 ;
17805 bool temp2 = false ;
17806 PyObject * obj0 = 0 ;
17807 PyObject * obj1 = 0 ;
17808 char * kwnames[] = {
17809 (char *) "self",(char *) "name", NULL
17810 };
17811
17812 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
17813 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17814 if (!SWIG_IsOK(res1)) {
17815 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17816 }
17817 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17818 {
17819 arg2 = wxString_in_helper(obj1);
17820 if (arg2 == NULL) SWIG_fail;
17821 temp2 = true;
17822 }
17823 {
17824 PyThreadState* __tstate = wxPyBeginAllowThreads();
17825 (arg1)->SetFilename((wxString const &)*arg2);
17826 wxPyEndAllowThreads(__tstate);
17827 if (PyErr_Occurred()) SWIG_fail;
17828 }
17829 resultobj = SWIG_Py_Void();
17830 {
17831 if (temp2)
17832 delete arg2;
17833 }
17834 return resultobj;
17835 fail:
17836 {
17837 if (temp2)
17838 delete arg2;
17839 }
17840 return NULL;
17841 }
17842
17843
17844 SWIGINTERN PyObject *_wrap_FileDialog_SetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17845 PyObject *resultobj = 0;
17846 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17847 wxString *arg2 = 0 ;
17848 void *argp1 = 0 ;
17849 int res1 = 0 ;
17850 bool temp2 = false ;
17851 PyObject * obj0 = 0 ;
17852 PyObject * obj1 = 0 ;
17853 char * kwnames[] = {
17854 (char *) "self",(char *) "wildCard", NULL
17855 };
17856
17857 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) SWIG_fail;
17858 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17859 if (!SWIG_IsOK(res1)) {
17860 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17861 }
17862 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17863 {
17864 arg2 = wxString_in_helper(obj1);
17865 if (arg2 == NULL) SWIG_fail;
17866 temp2 = true;
17867 }
17868 {
17869 PyThreadState* __tstate = wxPyBeginAllowThreads();
17870 (arg1)->SetWildcard((wxString const &)*arg2);
17871 wxPyEndAllowThreads(__tstate);
17872 if (PyErr_Occurred()) SWIG_fail;
17873 }
17874 resultobj = SWIG_Py_Void();
17875 {
17876 if (temp2)
17877 delete arg2;
17878 }
17879 return resultobj;
17880 fail:
17881 {
17882 if (temp2)
17883 delete arg2;
17884 }
17885 return NULL;
17886 }
17887
17888
17889 SWIGINTERN PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17890 PyObject *resultobj = 0;
17891 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17892 int arg2 ;
17893 void *argp1 = 0 ;
17894 int res1 = 0 ;
17895 int val2 ;
17896 int ecode2 = 0 ;
17897 PyObject * obj0 = 0 ;
17898 PyObject * obj1 = 0 ;
17899 char * kwnames[] = {
17900 (char *) "self",(char *) "filterIndex", NULL
17901 };
17902
17903 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) SWIG_fail;
17904 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17905 if (!SWIG_IsOK(res1)) {
17906 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17907 }
17908 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17909 ecode2 = SWIG_AsVal_int(obj1, &val2);
17910 if (!SWIG_IsOK(ecode2)) {
17911 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17912 }
17913 arg2 = static_cast< int >(val2);
17914 {
17915 PyThreadState* __tstate = wxPyBeginAllowThreads();
17916 (arg1)->SetFilterIndex(arg2);
17917 wxPyEndAllowThreads(__tstate);
17918 if (PyErr_Occurred()) SWIG_fail;
17919 }
17920 resultobj = SWIG_Py_Void();
17921 return resultobj;
17922 fail:
17923 return NULL;
17924 }
17925
17926
17927 SWIGINTERN PyObject *_wrap_FileDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17928 PyObject *resultobj = 0;
17929 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17930 wxString result;
17931 void *argp1 = 0 ;
17932 int res1 = 0 ;
17933 PyObject *swig_obj[1] ;
17934
17935 if (!args) SWIG_fail;
17936 swig_obj[0] = args;
17937 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17938 if (!SWIG_IsOK(res1)) {
17939 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17940 }
17941 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17942 {
17943 PyThreadState* __tstate = wxPyBeginAllowThreads();
17944 result = ((wxFileDialog const *)arg1)->GetMessage();
17945 wxPyEndAllowThreads(__tstate);
17946 if (PyErr_Occurred()) SWIG_fail;
17947 }
17948 {
17949 #if wxUSE_UNICODE
17950 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17951 #else
17952 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17953 #endif
17954 }
17955 return resultobj;
17956 fail:
17957 return NULL;
17958 }
17959
17960
17961 SWIGINTERN PyObject *_wrap_FileDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17962 PyObject *resultobj = 0;
17963 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17964 wxString result;
17965 void *argp1 = 0 ;
17966 int res1 = 0 ;
17967 PyObject *swig_obj[1] ;
17968
17969 if (!args) SWIG_fail;
17970 swig_obj[0] = args;
17971 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17972 if (!SWIG_IsOK(res1)) {
17973 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17974 }
17975 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17976 {
17977 PyThreadState* __tstate = wxPyBeginAllowThreads();
17978 result = ((wxFileDialog const *)arg1)->GetPath();
17979 wxPyEndAllowThreads(__tstate);
17980 if (PyErr_Occurred()) SWIG_fail;
17981 }
17982 {
17983 #if wxUSE_UNICODE
17984 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17985 #else
17986 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17987 #endif
17988 }
17989 return resultobj;
17990 fail:
17991 return NULL;
17992 }
17993
17994
17995 SWIGINTERN PyObject *_wrap_FileDialog_GetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17996 PyObject *resultobj = 0;
17997 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17998 wxString result;
17999 void *argp1 = 0 ;
18000 int res1 = 0 ;
18001 PyObject *swig_obj[1] ;
18002
18003 if (!args) SWIG_fail;
18004 swig_obj[0] = args;
18005 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
18006 if (!SWIG_IsOK(res1)) {
18007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
18008 }
18009 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
18010 {
18011 PyThreadState* __tstate = wxPyBeginAllowThreads();
18012 result = ((wxFileDialog const *)arg1)->GetDirectory();
18013 wxPyEndAllowThreads(__tstate);
18014 if (PyErr_Occurred()) SWIG_fail;
18015 }
18016 {
18017 #if wxUSE_UNICODE
18018 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18019 #else
18020 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18021 #endif
18022 }
18023 return resultobj;
18024 fail:
18025 return NULL;
18026 }
18027
18028
18029 SWIGINTERN PyObject *_wrap_FileDialog_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18030 PyObject *resultobj = 0;
18031 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
18032 wxString result;
18033 void *argp1 = 0 ;
18034 int res1 = 0 ;
18035 PyObject *swig_obj[1] ;
18036
18037 if (!args) SWIG_fail;
18038 swig_obj[0] = args;
18039 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
18040 if (!SWIG_IsOK(res1)) {
18041 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
18042 }
18043 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
18044 {
18045 PyThreadState* __tstate = wxPyBeginAllowThreads();
18046 result = ((wxFileDialog const *)arg1)->GetFilename();
18047 wxPyEndAllowThreads(__tstate);
18048 if (PyErr_Occurred()) SWIG_fail;
18049 }
18050 {
18051 #if wxUSE_UNICODE
18052 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18053 #else
18054 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18055 #endif
18056 }
18057 return resultobj;
18058 fail:
18059 return NULL;
18060 }
18061
18062
18063 SWIGINTERN PyObject *_wrap_FileDialog_GetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18064 PyObject *resultobj = 0;
18065 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
18066 wxString result;
18067 void *argp1 = 0 ;
18068 int res1 = 0 ;
18069 PyObject *swig_obj[1] ;
18070
18071 if (!args) SWIG_fail;
18072 swig_obj[0] = args;
18073 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
18074 if (!SWIG_IsOK(res1)) {
18075 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
18076 }
18077 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
18078 {
18079 PyThreadState* __tstate = wxPyBeginAllowThreads();
18080 result = ((wxFileDialog const *)arg1)->GetWildcard();
18081 wxPyEndAllowThreads(__tstate);
18082 if (PyErr_Occurred()) SWIG_fail;
18083 }
18084 {
18085 #if wxUSE_UNICODE
18086 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18087 #else
18088 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18089 #endif
18090 }
18091 return resultobj;
18092 fail:
18093 return NULL;
18094 }
18095
18096
18097 SWIGINTERN PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18098 PyObject *resultobj = 0;
18099 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
18100 int result;
18101 void *argp1 = 0 ;
18102 int res1 = 0 ;
18103 PyObject *swig_obj[1] ;
18104
18105 if (!args) SWIG_fail;
18106 swig_obj[0] = args;
18107 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
18108 if (!SWIG_IsOK(res1)) {
18109 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
18110 }
18111 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
18112 {
18113 PyThreadState* __tstate = wxPyBeginAllowThreads();
18114 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
18115 wxPyEndAllowThreads(__tstate);
18116 if (PyErr_Occurred()) SWIG_fail;
18117 }
18118 resultobj = SWIG_From_int(static_cast< int >(result));
18119 return resultobj;
18120 fail:
18121 return NULL;
18122 }
18123
18124
18125 SWIGINTERN PyObject *_wrap_FileDialog_GetFilenames(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18126 PyObject *resultobj = 0;
18127 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
18128 PyObject *result = 0 ;
18129 void *argp1 = 0 ;
18130 int res1 = 0 ;
18131 PyObject *swig_obj[1] ;
18132
18133 if (!args) SWIG_fail;
18134 swig_obj[0] = args;
18135 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
18136 if (!SWIG_IsOK(res1)) {
18137 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
18138 }
18139 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
18140 {
18141 PyThreadState* __tstate = wxPyBeginAllowThreads();
18142 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
18143 wxPyEndAllowThreads(__tstate);
18144 if (PyErr_Occurred()) SWIG_fail;
18145 }
18146 resultobj = result;
18147 return resultobj;
18148 fail:
18149 return NULL;
18150 }
18151
18152
18153 SWIGINTERN PyObject *_wrap_FileDialog_GetPaths(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18154 PyObject *resultobj = 0;
18155 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
18156 PyObject *result = 0 ;
18157 void *argp1 = 0 ;
18158 int res1 = 0 ;
18159 PyObject *swig_obj[1] ;
18160
18161 if (!args) SWIG_fail;
18162 swig_obj[0] = args;
18163 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
18164 if (!SWIG_IsOK(res1)) {
18165 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
18166 }
18167 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
18168 {
18169 PyThreadState* __tstate = wxPyBeginAllowThreads();
18170 result = (PyObject *)wxFileDialog_GetPaths(arg1);
18171 wxPyEndAllowThreads(__tstate);
18172 if (PyErr_Occurred()) SWIG_fail;
18173 }
18174 resultobj = result;
18175 return resultobj;
18176 fail:
18177 return NULL;
18178 }
18179
18180
18181 SWIGINTERN PyObject *FileDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18182 PyObject *obj;
18183 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18184 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog, SWIG_NewClientData(obj));
18185 return SWIG_Py_Void();
18186 }
18187
18188 SWIGINTERN PyObject *FileDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18189 return SWIG_Python_InitShadowInstance(args);
18190 }
18191
18192 SWIGINTERN PyObject *_wrap_new_MultiChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18193 PyObject *resultobj = 0;
18194 wxWindow *arg1 = (wxWindow *) 0 ;
18195 wxString *arg2 = 0 ;
18196 wxString *arg3 = 0 ;
18197 int arg4 = (int) 0 ;
18198 wxString *arg5 = (wxString *) NULL ;
18199 long arg6 = (long) wxCHOICEDLG_STYLE ;
18200 wxPoint const &arg7_defvalue = wxDefaultPosition ;
18201 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
18202 wxMultiChoiceDialog *result = 0 ;
18203 void *argp1 = 0 ;
18204 int res1 = 0 ;
18205 bool temp2 = false ;
18206 bool temp3 = false ;
18207 long val6 ;
18208 int ecode6 = 0 ;
18209 wxPoint temp7 ;
18210 PyObject * obj0 = 0 ;
18211 PyObject * obj1 = 0 ;
18212 PyObject * obj2 = 0 ;
18213 PyObject * obj3 = 0 ;
18214 PyObject * obj4 = 0 ;
18215 PyObject * obj5 = 0 ;
18216 char * kwnames[] = {
18217 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
18218 };
18219
18220 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18221 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18222 if (!SWIG_IsOK(res1)) {
18223 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18224 }
18225 arg1 = reinterpret_cast< wxWindow * >(argp1);
18226 {
18227 arg2 = wxString_in_helper(obj1);
18228 if (arg2 == NULL) SWIG_fail;
18229 temp2 = true;
18230 }
18231 {
18232 arg3 = wxString_in_helper(obj2);
18233 if (arg3 == NULL) SWIG_fail;
18234 temp3 = true;
18235 }
18236 if (obj3) {
18237 {
18238 arg4 = PyList_Size(obj3);
18239 arg5 = wxString_LIST_helper(obj3);
18240 if (arg5 == NULL) SWIG_fail;
18241 }
18242 }
18243 if (obj4) {
18244 ecode6 = SWIG_AsVal_long(obj4, &val6);
18245 if (!SWIG_IsOK(ecode6)) {
18246 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
18247 }
18248 arg6 = static_cast< long >(val6);
18249 }
18250 if (obj5) {
18251 {
18252 arg7 = &temp7;
18253 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
18254 }
18255 }
18256 {
18257 if (!wxPyCheckForApp()) SWIG_fail;
18258 PyThreadState* __tstate = wxPyBeginAllowThreads();
18259 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
18260 wxPyEndAllowThreads(__tstate);
18261 if (PyErr_Occurred()) SWIG_fail;
18262 }
18263 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_NEW | 0 );
18264 {
18265 if (temp2)
18266 delete arg2;
18267 }
18268 {
18269 if (temp3)
18270 delete arg3;
18271 }
18272 {
18273 if (arg5) delete [] arg5;
18274 }
18275 return resultobj;
18276 fail:
18277 {
18278 if (temp2)
18279 delete arg2;
18280 }
18281 {
18282 if (temp3)
18283 delete arg3;
18284 }
18285 {
18286 if (arg5) delete [] arg5;
18287 }
18288 return NULL;
18289 }
18290
18291
18292 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18293 PyObject *resultobj = 0;
18294 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
18295 wxArrayInt *arg2 = 0 ;
18296 void *argp1 = 0 ;
18297 int res1 = 0 ;
18298 bool temp2 = false ;
18299 PyObject * obj0 = 0 ;
18300 PyObject * obj1 = 0 ;
18301 char * kwnames[] = {
18302 (char *) "self",(char *) "selections", NULL
18303 };
18304
18305 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) SWIG_fail;
18306 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
18307 if (!SWIG_IsOK(res1)) {
18308 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
18309 }
18310 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
18311 {
18312 if (! PySequence_Check(obj1)) {
18313 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
18314 SWIG_fail;
18315 }
18316 arg2 = new wxArrayInt;
18317 temp2 = true;
18318 int i, len=PySequence_Length(obj1);
18319 for (i=0; i<len; i++) {
18320 PyObject* item = PySequence_GetItem(obj1, i);
18321 PyObject* number = PyNumber_Int(item);
18322 if (!number) {
18323 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
18324 SWIG_fail;
18325 }
18326 arg2->Add(PyInt_AS_LONG(number));
18327 Py_DECREF(item);
18328 Py_DECREF(number);
18329 }
18330 }
18331 {
18332 PyThreadState* __tstate = wxPyBeginAllowThreads();
18333 (arg1)->SetSelections((wxArrayInt const &)*arg2);
18334 wxPyEndAllowThreads(__tstate);
18335 if (PyErr_Occurred()) SWIG_fail;
18336 }
18337 resultobj = SWIG_Py_Void();
18338 {
18339 if (temp2) delete arg2;
18340 }
18341 return resultobj;
18342 fail:
18343 {
18344 if (temp2) delete arg2;
18345 }
18346 return NULL;
18347 }
18348
18349
18350 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18351 PyObject *resultobj = 0;
18352 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
18353 PyObject *result = 0 ;
18354 void *argp1 = 0 ;
18355 int res1 = 0 ;
18356 PyObject *swig_obj[1] ;
18357
18358 if (!args) SWIG_fail;
18359 swig_obj[0] = args;
18360 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
18361 if (!SWIG_IsOK(res1)) {
18362 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
18363 }
18364 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
18365 {
18366 PyThreadState* __tstate = wxPyBeginAllowThreads();
18367 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
18368 wxPyEndAllowThreads(__tstate);
18369 if (PyErr_Occurred()) SWIG_fail;
18370 }
18371 resultobj = result;
18372 return resultobj;
18373 fail:
18374 return NULL;
18375 }
18376
18377
18378 SWIGINTERN PyObject *MultiChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18379 PyObject *obj;
18380 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18381 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog, SWIG_NewClientData(obj));
18382 return SWIG_Py_Void();
18383 }
18384
18385 SWIGINTERN PyObject *MultiChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18386 return SWIG_Python_InitShadowInstance(args);
18387 }
18388
18389 SWIGINTERN PyObject *_wrap_new_SingleChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18390 PyObject *resultobj = 0;
18391 wxWindow *arg1 = (wxWindow *) 0 ;
18392 wxString *arg2 = 0 ;
18393 wxString *arg3 = 0 ;
18394 int arg4 ;
18395 wxString *arg5 = (wxString *) 0 ;
18396 long arg6 = (long) wxCHOICEDLG_STYLE ;
18397 wxPoint const &arg7_defvalue = wxDefaultPosition ;
18398 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
18399 wxSingleChoiceDialog *result = 0 ;
18400 void *argp1 = 0 ;
18401 int res1 = 0 ;
18402 bool temp2 = false ;
18403 bool temp3 = false ;
18404 long val6 ;
18405 int ecode6 = 0 ;
18406 wxPoint temp7 ;
18407 PyObject * obj0 = 0 ;
18408 PyObject * obj1 = 0 ;
18409 PyObject * obj2 = 0 ;
18410 PyObject * obj3 = 0 ;
18411 PyObject * obj4 = 0 ;
18412 PyObject * obj5 = 0 ;
18413 char * kwnames[] = {
18414 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
18415 };
18416
18417 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18418 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18419 if (!SWIG_IsOK(res1)) {
18420 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18421 }
18422 arg1 = reinterpret_cast< wxWindow * >(argp1);
18423 {
18424 arg2 = wxString_in_helper(obj1);
18425 if (arg2 == NULL) SWIG_fail;
18426 temp2 = true;
18427 }
18428 {
18429 arg3 = wxString_in_helper(obj2);
18430 if (arg3 == NULL) SWIG_fail;
18431 temp3 = true;
18432 }
18433 {
18434 arg4 = PyList_Size(obj3);
18435 arg5 = wxString_LIST_helper(obj3);
18436 if (arg5 == NULL) SWIG_fail;
18437 }
18438 if (obj4) {
18439 ecode6 = SWIG_AsVal_long(obj4, &val6);
18440 if (!SWIG_IsOK(ecode6)) {
18441 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
18442 }
18443 arg6 = static_cast< long >(val6);
18444 }
18445 if (obj5) {
18446 {
18447 arg7 = &temp7;
18448 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
18449 }
18450 }
18451 {
18452 if (!wxPyCheckForApp()) SWIG_fail;
18453 PyThreadState* __tstate = wxPyBeginAllowThreads();
18454 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
18455 wxPyEndAllowThreads(__tstate);
18456 if (PyErr_Occurred()) SWIG_fail;
18457 }
18458 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_NEW | 0 );
18459 {
18460 if (temp2)
18461 delete arg2;
18462 }
18463 {
18464 if (temp3)
18465 delete arg3;
18466 }
18467 {
18468 if (arg5) delete [] arg5;
18469 }
18470 return resultobj;
18471 fail:
18472 {
18473 if (temp2)
18474 delete arg2;
18475 }
18476 {
18477 if (temp3)
18478 delete arg3;
18479 }
18480 {
18481 if (arg5) delete [] arg5;
18482 }
18483 return NULL;
18484 }
18485
18486
18487 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18488 PyObject *resultobj = 0;
18489 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18490 int result;
18491 void *argp1 = 0 ;
18492 int res1 = 0 ;
18493 PyObject *swig_obj[1] ;
18494
18495 if (!args) SWIG_fail;
18496 swig_obj[0] = args;
18497 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18498 if (!SWIG_IsOK(res1)) {
18499 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18500 }
18501 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18502 {
18503 PyThreadState* __tstate = wxPyBeginAllowThreads();
18504 result = (int)(arg1)->GetSelection();
18505 wxPyEndAllowThreads(__tstate);
18506 if (PyErr_Occurred()) SWIG_fail;
18507 }
18508 resultobj = SWIG_From_int(static_cast< int >(result));
18509 return resultobj;
18510 fail:
18511 return NULL;
18512 }
18513
18514
18515 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18516 PyObject *resultobj = 0;
18517 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18518 wxString result;
18519 void *argp1 = 0 ;
18520 int res1 = 0 ;
18521 PyObject *swig_obj[1] ;
18522
18523 if (!args) SWIG_fail;
18524 swig_obj[0] = args;
18525 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18526 if (!SWIG_IsOK(res1)) {
18527 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18528 }
18529 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18530 {
18531 PyThreadState* __tstate = wxPyBeginAllowThreads();
18532 result = (arg1)->GetStringSelection();
18533 wxPyEndAllowThreads(__tstate);
18534 if (PyErr_Occurred()) SWIG_fail;
18535 }
18536 {
18537 #if wxUSE_UNICODE
18538 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18539 #else
18540 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18541 #endif
18542 }
18543 return resultobj;
18544 fail:
18545 return NULL;
18546 }
18547
18548
18549 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18550 PyObject *resultobj = 0;
18551 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18552 int arg2 ;
18553 void *argp1 = 0 ;
18554 int res1 = 0 ;
18555 int val2 ;
18556 int ecode2 = 0 ;
18557 PyObject * obj0 = 0 ;
18558 PyObject * obj1 = 0 ;
18559 char * kwnames[] = {
18560 (char *) "self",(char *) "sel", NULL
18561 };
18562
18563 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
18564 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18565 if (!SWIG_IsOK(res1)) {
18566 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18567 }
18568 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18569 ecode2 = SWIG_AsVal_int(obj1, &val2);
18570 if (!SWIG_IsOK(ecode2)) {
18571 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
18572 }
18573 arg2 = static_cast< int >(val2);
18574 {
18575 PyThreadState* __tstate = wxPyBeginAllowThreads();
18576 (arg1)->SetSelection(arg2);
18577 wxPyEndAllowThreads(__tstate);
18578 if (PyErr_Occurred()) SWIG_fail;
18579 }
18580 resultobj = SWIG_Py_Void();
18581 return resultobj;
18582 fail:
18583 return NULL;
18584 }
18585
18586
18587 SWIGINTERN PyObject *SingleChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18588 PyObject *obj;
18589 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18590 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog, SWIG_NewClientData(obj));
18591 return SWIG_Py_Void();
18592 }
18593
18594 SWIGINTERN PyObject *SingleChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18595 return SWIG_Python_InitShadowInstance(args);
18596 }
18597
18598 SWIGINTERN PyObject *_wrap_new_TextEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18599 PyObject *resultobj = 0;
18600 wxWindow *arg1 = (wxWindow *) 0 ;
18601 wxString *arg2 = 0 ;
18602 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
18603 wxString *arg3 = (wxString *) &arg3_defvalue ;
18604 wxString const &arg4_defvalue = wxPyEmptyString ;
18605 wxString *arg4 = (wxString *) &arg4_defvalue ;
18606 long arg5 = (long) wxTextEntryDialogStyle ;
18607 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18608 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18609 wxTextEntryDialog *result = 0 ;
18610 void *argp1 = 0 ;
18611 int res1 = 0 ;
18612 bool temp2 = false ;
18613 bool temp3 = false ;
18614 bool temp4 = false ;
18615 long val5 ;
18616 int ecode5 = 0 ;
18617 wxPoint temp6 ;
18618 PyObject * obj0 = 0 ;
18619 PyObject * obj1 = 0 ;
18620 PyObject * obj2 = 0 ;
18621 PyObject * obj3 = 0 ;
18622 PyObject * obj4 = 0 ;
18623 PyObject * obj5 = 0 ;
18624 char * kwnames[] = {
18625 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18626 };
18627
18628 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18629 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18630 if (!SWIG_IsOK(res1)) {
18631 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18632 }
18633 arg1 = reinterpret_cast< wxWindow * >(argp1);
18634 {
18635 arg2 = wxString_in_helper(obj1);
18636 if (arg2 == NULL) SWIG_fail;
18637 temp2 = true;
18638 }
18639 if (obj2) {
18640 {
18641 arg3 = wxString_in_helper(obj2);
18642 if (arg3 == NULL) SWIG_fail;
18643 temp3 = true;
18644 }
18645 }
18646 if (obj3) {
18647 {
18648 arg4 = wxString_in_helper(obj3);
18649 if (arg4 == NULL) SWIG_fail;
18650 temp4 = true;
18651 }
18652 }
18653 if (obj4) {
18654 ecode5 = SWIG_AsVal_long(obj4, &val5);
18655 if (!SWIG_IsOK(ecode5)) {
18656 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18657 }
18658 arg5 = static_cast< long >(val5);
18659 }
18660 if (obj5) {
18661 {
18662 arg6 = &temp6;
18663 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18664 }
18665 }
18666 {
18667 if (!wxPyCheckForApp()) SWIG_fail;
18668 PyThreadState* __tstate = wxPyBeginAllowThreads();
18669 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18670 wxPyEndAllowThreads(__tstate);
18671 if (PyErr_Occurred()) SWIG_fail;
18672 }
18673 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_NEW | 0 );
18674 {
18675 if (temp2)
18676 delete arg2;
18677 }
18678 {
18679 if (temp3)
18680 delete arg3;
18681 }
18682 {
18683 if (temp4)
18684 delete arg4;
18685 }
18686 return resultobj;
18687 fail:
18688 {
18689 if (temp2)
18690 delete arg2;
18691 }
18692 {
18693 if (temp3)
18694 delete arg3;
18695 }
18696 {
18697 if (temp4)
18698 delete arg4;
18699 }
18700 return NULL;
18701 }
18702
18703
18704 SWIGINTERN PyObject *_wrap_TextEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18705 PyObject *resultobj = 0;
18706 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18707 wxString result;
18708 void *argp1 = 0 ;
18709 int res1 = 0 ;
18710 PyObject *swig_obj[1] ;
18711
18712 if (!args) SWIG_fail;
18713 swig_obj[0] = args;
18714 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18715 if (!SWIG_IsOK(res1)) {
18716 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18717 }
18718 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18719 {
18720 PyThreadState* __tstate = wxPyBeginAllowThreads();
18721 result = (arg1)->GetValue();
18722 wxPyEndAllowThreads(__tstate);
18723 if (PyErr_Occurred()) SWIG_fail;
18724 }
18725 {
18726 #if wxUSE_UNICODE
18727 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18728 #else
18729 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18730 #endif
18731 }
18732 return resultobj;
18733 fail:
18734 return NULL;
18735 }
18736
18737
18738 SWIGINTERN PyObject *_wrap_TextEntryDialog_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18739 PyObject *resultobj = 0;
18740 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18741 wxString *arg2 = 0 ;
18742 void *argp1 = 0 ;
18743 int res1 = 0 ;
18744 bool temp2 = false ;
18745 PyObject * obj0 = 0 ;
18746 PyObject * obj1 = 0 ;
18747 char * kwnames[] = {
18748 (char *) "self",(char *) "value", NULL
18749 };
18750
18751 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
18752 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18753 if (!SWIG_IsOK(res1)) {
18754 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18755 }
18756 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18757 {
18758 arg2 = wxString_in_helper(obj1);
18759 if (arg2 == NULL) SWIG_fail;
18760 temp2 = true;
18761 }
18762 {
18763 PyThreadState* __tstate = wxPyBeginAllowThreads();
18764 (arg1)->SetValue((wxString const &)*arg2);
18765 wxPyEndAllowThreads(__tstate);
18766 if (PyErr_Occurred()) SWIG_fail;
18767 }
18768 resultobj = SWIG_Py_Void();
18769 {
18770 if (temp2)
18771 delete arg2;
18772 }
18773 return resultobj;
18774 fail:
18775 {
18776 if (temp2)
18777 delete arg2;
18778 }
18779 return NULL;
18780 }
18781
18782
18783 SWIGINTERN PyObject *TextEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18784 PyObject *obj;
18785 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18786 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog, SWIG_NewClientData(obj));
18787 return SWIG_Py_Void();
18788 }
18789
18790 SWIGINTERN PyObject *TextEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18791 return SWIG_Python_InitShadowInstance(args);
18792 }
18793
18794 SWIGINTERN int GetPasswordFromUserPromptStr_set(PyObject *) {
18795 SWIG_Error(SWIG_AttributeError,"Variable GetPasswordFromUserPromptStr is read-only.");
18796 return 1;
18797 }
18798
18799
18800 SWIGINTERN PyObject *GetPasswordFromUserPromptStr_get(void) {
18801 PyObject *pyobj = 0;
18802
18803 {
18804 #if wxUSE_UNICODE
18805 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18806 #else
18807 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18808 #endif
18809 }
18810 return pyobj;
18811 }
18812
18813
18814 SWIGINTERN PyObject *_wrap_new_PasswordEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18815 PyObject *resultobj = 0;
18816 wxWindow *arg1 = (wxWindow *) 0 ;
18817 wxString *arg2 = 0 ;
18818 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
18819 wxString *arg3 = (wxString *) &arg3_defvalue ;
18820 wxString const &arg4_defvalue = wxPyEmptyString ;
18821 wxString *arg4 = (wxString *) &arg4_defvalue ;
18822 long arg5 = (long) wxTextEntryDialogStyle ;
18823 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18824 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18825 wxPasswordEntryDialog *result = 0 ;
18826 void *argp1 = 0 ;
18827 int res1 = 0 ;
18828 bool temp2 = false ;
18829 bool temp3 = false ;
18830 bool temp4 = false ;
18831 long val5 ;
18832 int ecode5 = 0 ;
18833 wxPoint temp6 ;
18834 PyObject * obj0 = 0 ;
18835 PyObject * obj1 = 0 ;
18836 PyObject * obj2 = 0 ;
18837 PyObject * obj3 = 0 ;
18838 PyObject * obj4 = 0 ;
18839 PyObject * obj5 = 0 ;
18840 char * kwnames[] = {
18841 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18842 };
18843
18844 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18845 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18846 if (!SWIG_IsOK(res1)) {
18847 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18848 }
18849 arg1 = reinterpret_cast< wxWindow * >(argp1);
18850 {
18851 arg2 = wxString_in_helper(obj1);
18852 if (arg2 == NULL) SWIG_fail;
18853 temp2 = true;
18854 }
18855 if (obj2) {
18856 {
18857 arg3 = wxString_in_helper(obj2);
18858 if (arg3 == NULL) SWIG_fail;
18859 temp3 = true;
18860 }
18861 }
18862 if (obj3) {
18863 {
18864 arg4 = wxString_in_helper(obj3);
18865 if (arg4 == NULL) SWIG_fail;
18866 temp4 = true;
18867 }
18868 }
18869 if (obj4) {
18870 ecode5 = SWIG_AsVal_long(obj4, &val5);
18871 if (!SWIG_IsOK(ecode5)) {
18872 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18873 }
18874 arg5 = static_cast< long >(val5);
18875 }
18876 if (obj5) {
18877 {
18878 arg6 = &temp6;
18879 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18880 }
18881 }
18882 {
18883 PyThreadState* __tstate = wxPyBeginAllowThreads();
18884 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18885 wxPyEndAllowThreads(__tstate);
18886 if (PyErr_Occurred()) SWIG_fail;
18887 }
18888 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPasswordEntryDialog, SWIG_POINTER_NEW | 0 );
18889 {
18890 if (temp2)
18891 delete arg2;
18892 }
18893 {
18894 if (temp3)
18895 delete arg3;
18896 }
18897 {
18898 if (temp4)
18899 delete arg4;
18900 }
18901 return resultobj;
18902 fail:
18903 {
18904 if (temp2)
18905 delete arg2;
18906 }
18907 {
18908 if (temp3)
18909 delete arg3;
18910 }
18911 {
18912 if (temp4)
18913 delete arg4;
18914 }
18915 return NULL;
18916 }
18917
18918
18919 SWIGINTERN PyObject *PasswordEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18920 PyObject *obj;
18921 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18922 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog, SWIG_NewClientData(obj));
18923 return SWIG_Py_Void();
18924 }
18925
18926 SWIGINTERN PyObject *PasswordEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18927 return SWIG_Python_InitShadowInstance(args);
18928 }
18929
18930 SWIGINTERN PyObject *_wrap_new_NumberEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18931 PyObject *resultobj = 0;
18932 wxWindow *arg1 = (wxWindow *) 0 ;
18933 wxString *arg2 = 0 ;
18934 wxString *arg3 = 0 ;
18935 wxString *arg4 = 0 ;
18936 long arg5 ;
18937 long arg6 ;
18938 long arg7 ;
18939 wxPoint const &arg8_defvalue = wxDefaultPosition ;
18940 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
18941 wxNumberEntryDialog *result = 0 ;
18942 void *argp1 = 0 ;
18943 int res1 = 0 ;
18944 bool temp2 = false ;
18945 bool temp3 = false ;
18946 bool temp4 = false ;
18947 long val5 ;
18948 int ecode5 = 0 ;
18949 long val6 ;
18950 int ecode6 = 0 ;
18951 long val7 ;
18952 int ecode7 = 0 ;
18953 wxPoint temp8 ;
18954 PyObject * obj0 = 0 ;
18955 PyObject * obj1 = 0 ;
18956 PyObject * obj2 = 0 ;
18957 PyObject * obj3 = 0 ;
18958 PyObject * obj4 = 0 ;
18959 PyObject * obj5 = 0 ;
18960 PyObject * obj6 = 0 ;
18961 PyObject * obj7 = 0 ;
18962 char * kwnames[] = {
18963 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
18964 };
18965
18966 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
18967 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18968 if (!SWIG_IsOK(res1)) {
18969 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18970 }
18971 arg1 = reinterpret_cast< wxWindow * >(argp1);
18972 {
18973 arg2 = wxString_in_helper(obj1);
18974 if (arg2 == NULL) SWIG_fail;
18975 temp2 = true;
18976 }
18977 {
18978 arg3 = wxString_in_helper(obj2);
18979 if (arg3 == NULL) SWIG_fail;
18980 temp3 = true;
18981 }
18982 {
18983 arg4 = wxString_in_helper(obj3);
18984 if (arg4 == NULL) SWIG_fail;
18985 temp4 = true;
18986 }
18987 ecode5 = SWIG_AsVal_long(obj4, &val5);
18988 if (!SWIG_IsOK(ecode5)) {
18989 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
18990 }
18991 arg5 = static_cast< long >(val5);
18992 ecode6 = SWIG_AsVal_long(obj5, &val6);
18993 if (!SWIG_IsOK(ecode6)) {
18994 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
18995 }
18996 arg6 = static_cast< long >(val6);
18997 ecode7 = SWIG_AsVal_long(obj6, &val7);
18998 if (!SWIG_IsOK(ecode7)) {
18999 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
19000 }
19001 arg7 = static_cast< long >(val7);
19002 if (obj7) {
19003 {
19004 arg8 = &temp8;
19005 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
19006 }
19007 }
19008 {
19009 if (!wxPyCheckForApp()) SWIG_fail;
19010 PyThreadState* __tstate = wxPyBeginAllowThreads();
19011 result = (wxNumberEntryDialog *)new wxNumberEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
19012 wxPyEndAllowThreads(__tstate);
19013 if (PyErr_Occurred()) SWIG_fail;
19014 }
19015 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNumberEntryDialog, SWIG_POINTER_NEW | 0 );
19016 {
19017 if (temp2)
19018 delete arg2;
19019 }
19020 {
19021 if (temp3)
19022 delete arg3;
19023 }
19024 {
19025 if (temp4)
19026 delete arg4;
19027 }
19028 return resultobj;
19029 fail:
19030 {
19031 if (temp2)
19032 delete arg2;
19033 }
19034 {
19035 if (temp3)
19036 delete arg3;
19037 }
19038 {
19039 if (temp4)
19040 delete arg4;
19041 }
19042 return NULL;
19043 }
19044
19045
19046 SWIGINTERN PyObject *_wrap_NumberEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19047 PyObject *resultobj = 0;
19048 wxNumberEntryDialog *arg1 = (wxNumberEntryDialog *) 0 ;
19049 long result;
19050 void *argp1 = 0 ;
19051 int res1 = 0 ;
19052 PyObject *swig_obj[1] ;
19053
19054 if (!args) SWIG_fail;
19055 swig_obj[0] = args;
19056 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxNumberEntryDialog, 0 | 0 );
19057 if (!SWIG_IsOK(res1)) {
19058 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
19059 }
19060 arg1 = reinterpret_cast< wxNumberEntryDialog * >(argp1);
19061 {
19062 PyThreadState* __tstate = wxPyBeginAllowThreads();
19063 result = (long)(arg1)->GetValue();
19064 wxPyEndAllowThreads(__tstate);
19065 if (PyErr_Occurred()) SWIG_fail;
19066 }
19067 resultobj = SWIG_From_long(static_cast< long >(result));
19068 return resultobj;
19069 fail:
19070 return NULL;
19071 }
19072
19073
19074 SWIGINTERN PyObject *NumberEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19075 PyObject *obj;
19076 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19077 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog, SWIG_NewClientData(obj));
19078 return SWIG_Py_Void();
19079 }
19080
19081 SWIGINTERN PyObject *NumberEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19082 return SWIG_Python_InitShadowInstance(args);
19083 }
19084
19085 SWIGINTERN PyObject *_wrap_new_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19086 PyObject *resultobj = 0;
19087 wxFontData *result = 0 ;
19088
19089 if (!SWIG_Python_UnpackTuple(args,"new_FontData",0,0,0)) SWIG_fail;
19090 {
19091 PyThreadState* __tstate = wxPyBeginAllowThreads();
19092 result = (wxFontData *)new wxFontData();
19093 wxPyEndAllowThreads(__tstate);
19094 if (PyErr_Occurred()) SWIG_fail;
19095 }
19096 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, SWIG_POINTER_NEW | 0 );
19097 return resultobj;
19098 fail:
19099 return NULL;
19100 }
19101
19102
19103 SWIGINTERN PyObject *_wrap_delete_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19104 PyObject *resultobj = 0;
19105 wxFontData *arg1 = (wxFontData *) 0 ;
19106 void *argp1 = 0 ;
19107 int res1 = 0 ;
19108 PyObject *swig_obj[1] ;
19109
19110 if (!args) SWIG_fail;
19111 swig_obj[0] = args;
19112 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, SWIG_POINTER_DISOWN | 0 );
19113 if (!SWIG_IsOK(res1)) {
19114 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
19115 }
19116 arg1 = reinterpret_cast< wxFontData * >(argp1);
19117 {
19118 PyThreadState* __tstate = wxPyBeginAllowThreads();
19119 delete arg1;
19120
19121 wxPyEndAllowThreads(__tstate);
19122 if (PyErr_Occurred()) SWIG_fail;
19123 }
19124 resultobj = SWIG_Py_Void();
19125 return resultobj;
19126 fail:
19127 return NULL;
19128 }
19129
19130
19131 SWIGINTERN PyObject *_wrap_FontData_EnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19132 PyObject *resultobj = 0;
19133 wxFontData *arg1 = (wxFontData *) 0 ;
19134 bool arg2 ;
19135 void *argp1 = 0 ;
19136 int res1 = 0 ;
19137 bool val2 ;
19138 int ecode2 = 0 ;
19139 PyObject * obj0 = 0 ;
19140 PyObject * obj1 = 0 ;
19141 char * kwnames[] = {
19142 (char *) "self",(char *) "enable", NULL
19143 };
19144
19145 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) SWIG_fail;
19146 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19147 if (!SWIG_IsOK(res1)) {
19148 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
19149 }
19150 arg1 = reinterpret_cast< wxFontData * >(argp1);
19151 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19152 if (!SWIG_IsOK(ecode2)) {
19153 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
19154 }
19155 arg2 = static_cast< bool >(val2);
19156 {
19157 PyThreadState* __tstate = wxPyBeginAllowThreads();
19158 (arg1)->EnableEffects(arg2);
19159 wxPyEndAllowThreads(__tstate);
19160 if (PyErr_Occurred()) SWIG_fail;
19161 }
19162 resultobj = SWIG_Py_Void();
19163 return resultobj;
19164 fail:
19165 return NULL;
19166 }
19167
19168
19169 SWIGINTERN PyObject *_wrap_FontData_GetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19170 PyObject *resultobj = 0;
19171 wxFontData *arg1 = (wxFontData *) 0 ;
19172 bool result;
19173 void *argp1 = 0 ;
19174 int res1 = 0 ;
19175 PyObject *swig_obj[1] ;
19176
19177 if (!args) SWIG_fail;
19178 swig_obj[0] = args;
19179 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19180 if (!SWIG_IsOK(res1)) {
19181 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
19182 }
19183 arg1 = reinterpret_cast< wxFontData * >(argp1);
19184 {
19185 PyThreadState* __tstate = wxPyBeginAllowThreads();
19186 result = (bool)(arg1)->GetAllowSymbols();
19187 wxPyEndAllowThreads(__tstate);
19188 if (PyErr_Occurred()) SWIG_fail;
19189 }
19190 {
19191 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19192 }
19193 return resultobj;
19194 fail:
19195 return NULL;
19196 }
19197
19198
19199 SWIGINTERN PyObject *_wrap_FontData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19200 PyObject *resultobj = 0;
19201 wxFontData *arg1 = (wxFontData *) 0 ;
19202 wxColour result;
19203 void *argp1 = 0 ;
19204 int res1 = 0 ;
19205 PyObject *swig_obj[1] ;
19206
19207 if (!args) SWIG_fail;
19208 swig_obj[0] = args;
19209 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19210 if (!SWIG_IsOK(res1)) {
19211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
19212 }
19213 arg1 = reinterpret_cast< wxFontData * >(argp1);
19214 {
19215 PyThreadState* __tstate = wxPyBeginAllowThreads();
19216 result = (arg1)->GetColour();
19217 wxPyEndAllowThreads(__tstate);
19218 if (PyErr_Occurred()) SWIG_fail;
19219 }
19220 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
19221 return resultobj;
19222 fail:
19223 return NULL;
19224 }
19225
19226
19227 SWIGINTERN PyObject *_wrap_FontData_GetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19228 PyObject *resultobj = 0;
19229 wxFontData *arg1 = (wxFontData *) 0 ;
19230 wxFont result;
19231 void *argp1 = 0 ;
19232 int res1 = 0 ;
19233 PyObject *swig_obj[1] ;
19234
19235 if (!args) SWIG_fail;
19236 swig_obj[0] = args;
19237 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19238 if (!SWIG_IsOK(res1)) {
19239 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19240 }
19241 arg1 = reinterpret_cast< wxFontData * >(argp1);
19242 {
19243 PyThreadState* __tstate = wxPyBeginAllowThreads();
19244 result = (arg1)->GetChosenFont();
19245 wxPyEndAllowThreads(__tstate);
19246 if (PyErr_Occurred()) SWIG_fail;
19247 }
19248 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
19249 return resultobj;
19250 fail:
19251 return NULL;
19252 }
19253
19254
19255 SWIGINTERN PyObject *_wrap_FontData_GetEnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19256 PyObject *resultobj = 0;
19257 wxFontData *arg1 = (wxFontData *) 0 ;
19258 bool result;
19259 void *argp1 = 0 ;
19260 int res1 = 0 ;
19261 PyObject *swig_obj[1] ;
19262
19263 if (!args) SWIG_fail;
19264 swig_obj[0] = args;
19265 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19266 if (!SWIG_IsOK(res1)) {
19267 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
19268 }
19269 arg1 = reinterpret_cast< wxFontData * >(argp1);
19270 {
19271 PyThreadState* __tstate = wxPyBeginAllowThreads();
19272 result = (bool)(arg1)->GetEnableEffects();
19273 wxPyEndAllowThreads(__tstate);
19274 if (PyErr_Occurred()) SWIG_fail;
19275 }
19276 {
19277 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19278 }
19279 return resultobj;
19280 fail:
19281 return NULL;
19282 }
19283
19284
19285 SWIGINTERN PyObject *_wrap_FontData_GetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19286 PyObject *resultobj = 0;
19287 wxFontData *arg1 = (wxFontData *) 0 ;
19288 wxFont result;
19289 void *argp1 = 0 ;
19290 int res1 = 0 ;
19291 PyObject *swig_obj[1] ;
19292
19293 if (!args) SWIG_fail;
19294 swig_obj[0] = args;
19295 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19296 if (!SWIG_IsOK(res1)) {
19297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19298 }
19299 arg1 = reinterpret_cast< wxFontData * >(argp1);
19300 {
19301 PyThreadState* __tstate = wxPyBeginAllowThreads();
19302 result = (arg1)->GetInitialFont();
19303 wxPyEndAllowThreads(__tstate);
19304 if (PyErr_Occurred()) SWIG_fail;
19305 }
19306 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
19307 return resultobj;
19308 fail:
19309 return NULL;
19310 }
19311
19312
19313 SWIGINTERN PyObject *_wrap_FontData_GetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19314 PyObject *resultobj = 0;
19315 wxFontData *arg1 = (wxFontData *) 0 ;
19316 bool result;
19317 void *argp1 = 0 ;
19318 int res1 = 0 ;
19319 PyObject *swig_obj[1] ;
19320
19321 if (!args) SWIG_fail;
19322 swig_obj[0] = args;
19323 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19324 if (!SWIG_IsOK(res1)) {
19325 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19326 }
19327 arg1 = reinterpret_cast< wxFontData * >(argp1);
19328 {
19329 PyThreadState* __tstate = wxPyBeginAllowThreads();
19330 result = (bool)(arg1)->GetShowHelp();
19331 wxPyEndAllowThreads(__tstate);
19332 if (PyErr_Occurred()) SWIG_fail;
19333 }
19334 {
19335 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19336 }
19337 return resultobj;
19338 fail:
19339 return NULL;
19340 }
19341
19342
19343 SWIGINTERN PyObject *_wrap_FontData_SetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19344 PyObject *resultobj = 0;
19345 wxFontData *arg1 = (wxFontData *) 0 ;
19346 bool arg2 ;
19347 void *argp1 = 0 ;
19348 int res1 = 0 ;
19349 bool val2 ;
19350 int ecode2 = 0 ;
19351 PyObject * obj0 = 0 ;
19352 PyObject * obj1 = 0 ;
19353 char * kwnames[] = {
19354 (char *) "self",(char *) "allowSymbols", NULL
19355 };
19356
19357 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) SWIG_fail;
19358 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19359 if (!SWIG_IsOK(res1)) {
19360 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
19361 }
19362 arg1 = reinterpret_cast< wxFontData * >(argp1);
19363 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19364 if (!SWIG_IsOK(ecode2)) {
19365 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
19366 }
19367 arg2 = static_cast< bool >(val2);
19368 {
19369 PyThreadState* __tstate = wxPyBeginAllowThreads();
19370 (arg1)->SetAllowSymbols(arg2);
19371 wxPyEndAllowThreads(__tstate);
19372 if (PyErr_Occurred()) SWIG_fail;
19373 }
19374 resultobj = SWIG_Py_Void();
19375 return resultobj;
19376 fail:
19377 return NULL;
19378 }
19379
19380
19381 SWIGINTERN PyObject *_wrap_FontData_SetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19382 PyObject *resultobj = 0;
19383 wxFontData *arg1 = (wxFontData *) 0 ;
19384 wxFont *arg2 = 0 ;
19385 void *argp1 = 0 ;
19386 int res1 = 0 ;
19387 void *argp2 = 0 ;
19388 int res2 = 0 ;
19389 PyObject * obj0 = 0 ;
19390 PyObject * obj1 = 0 ;
19391 char * kwnames[] = {
19392 (char *) "self",(char *) "font", NULL
19393 };
19394
19395 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) SWIG_fail;
19396 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19397 if (!SWIG_IsOK(res1)) {
19398 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19399 }
19400 arg1 = reinterpret_cast< wxFontData * >(argp1);
19401 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19402 if (!SWIG_IsOK(res2)) {
19403 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19404 }
19405 if (!argp2) {
19406 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19407 }
19408 arg2 = reinterpret_cast< wxFont * >(argp2);
19409 {
19410 PyThreadState* __tstate = wxPyBeginAllowThreads();
19411 (arg1)->SetChosenFont((wxFont const &)*arg2);
19412 wxPyEndAllowThreads(__tstate);
19413 if (PyErr_Occurred()) SWIG_fail;
19414 }
19415 resultobj = SWIG_Py_Void();
19416 return resultobj;
19417 fail:
19418 return NULL;
19419 }
19420
19421
19422 SWIGINTERN PyObject *_wrap_FontData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19423 PyObject *resultobj = 0;
19424 wxFontData *arg1 = (wxFontData *) 0 ;
19425 wxColour *arg2 = 0 ;
19426 void *argp1 = 0 ;
19427 int res1 = 0 ;
19428 wxColour temp2 ;
19429 PyObject * obj0 = 0 ;
19430 PyObject * obj1 = 0 ;
19431 char * kwnames[] = {
19432 (char *) "self",(char *) "colour", NULL
19433 };
19434
19435 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
19436 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19437 if (!SWIG_IsOK(res1)) {
19438 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
19439 }
19440 arg1 = reinterpret_cast< wxFontData * >(argp1);
19441 {
19442 arg2 = &temp2;
19443 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19444 }
19445 {
19446 PyThreadState* __tstate = wxPyBeginAllowThreads();
19447 (arg1)->SetColour((wxColour const &)*arg2);
19448 wxPyEndAllowThreads(__tstate);
19449 if (PyErr_Occurred()) SWIG_fail;
19450 }
19451 resultobj = SWIG_Py_Void();
19452 return resultobj;
19453 fail:
19454 return NULL;
19455 }
19456
19457
19458 SWIGINTERN PyObject *_wrap_FontData_SetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19459 PyObject *resultobj = 0;
19460 wxFontData *arg1 = (wxFontData *) 0 ;
19461 wxFont *arg2 = 0 ;
19462 void *argp1 = 0 ;
19463 int res1 = 0 ;
19464 void *argp2 = 0 ;
19465 int res2 = 0 ;
19466 PyObject * obj0 = 0 ;
19467 PyObject * obj1 = 0 ;
19468 char * kwnames[] = {
19469 (char *) "self",(char *) "font", NULL
19470 };
19471
19472 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) SWIG_fail;
19473 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19474 if (!SWIG_IsOK(res1)) {
19475 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19476 }
19477 arg1 = reinterpret_cast< wxFontData * >(argp1);
19478 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19479 if (!SWIG_IsOK(res2)) {
19480 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19481 }
19482 if (!argp2) {
19483 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19484 }
19485 arg2 = reinterpret_cast< wxFont * >(argp2);
19486 {
19487 PyThreadState* __tstate = wxPyBeginAllowThreads();
19488 (arg1)->SetInitialFont((wxFont const &)*arg2);
19489 wxPyEndAllowThreads(__tstate);
19490 if (PyErr_Occurred()) SWIG_fail;
19491 }
19492 resultobj = SWIG_Py_Void();
19493 return resultobj;
19494 fail:
19495 return NULL;
19496 }
19497
19498
19499 SWIGINTERN PyObject *_wrap_FontData_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19500 PyObject *resultobj = 0;
19501 wxFontData *arg1 = (wxFontData *) 0 ;
19502 int arg2 ;
19503 int arg3 ;
19504 void *argp1 = 0 ;
19505 int res1 = 0 ;
19506 int val2 ;
19507 int ecode2 = 0 ;
19508 int val3 ;
19509 int ecode3 = 0 ;
19510 PyObject * obj0 = 0 ;
19511 PyObject * obj1 = 0 ;
19512 PyObject * obj2 = 0 ;
19513 char * kwnames[] = {
19514 (char *) "self",(char *) "min",(char *) "max", NULL
19515 };
19516
19517 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19518 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19519 if (!SWIG_IsOK(res1)) {
19520 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
19521 }
19522 arg1 = reinterpret_cast< wxFontData * >(argp1);
19523 ecode2 = SWIG_AsVal_int(obj1, &val2);
19524 if (!SWIG_IsOK(ecode2)) {
19525 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
19526 }
19527 arg2 = static_cast< int >(val2);
19528 ecode3 = SWIG_AsVal_int(obj2, &val3);
19529 if (!SWIG_IsOK(ecode3)) {
19530 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
19531 }
19532 arg3 = static_cast< int >(val3);
19533 {
19534 PyThreadState* __tstate = wxPyBeginAllowThreads();
19535 (arg1)->SetRange(arg2,arg3);
19536 wxPyEndAllowThreads(__tstate);
19537 if (PyErr_Occurred()) SWIG_fail;
19538 }
19539 resultobj = SWIG_Py_Void();
19540 return resultobj;
19541 fail:
19542 return NULL;
19543 }
19544
19545
19546 SWIGINTERN PyObject *_wrap_FontData_SetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19547 PyObject *resultobj = 0;
19548 wxFontData *arg1 = (wxFontData *) 0 ;
19549 bool arg2 ;
19550 void *argp1 = 0 ;
19551 int res1 = 0 ;
19552 bool val2 ;
19553 int ecode2 = 0 ;
19554 PyObject * obj0 = 0 ;
19555 PyObject * obj1 = 0 ;
19556 char * kwnames[] = {
19557 (char *) "self",(char *) "showHelp", NULL
19558 };
19559
19560 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) SWIG_fail;
19561 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19562 if (!SWIG_IsOK(res1)) {
19563 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19564 }
19565 arg1 = reinterpret_cast< wxFontData * >(argp1);
19566 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19567 if (!SWIG_IsOK(ecode2)) {
19568 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
19569 }
19570 arg2 = static_cast< bool >(val2);
19571 {
19572 PyThreadState* __tstate = wxPyBeginAllowThreads();
19573 (arg1)->SetShowHelp(arg2);
19574 wxPyEndAllowThreads(__tstate);
19575 if (PyErr_Occurred()) SWIG_fail;
19576 }
19577 resultobj = SWIG_Py_Void();
19578 return resultobj;
19579 fail:
19580 return NULL;
19581 }
19582
19583
19584 SWIGINTERN PyObject *FontData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19585 PyObject *obj;
19586 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19587 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData, SWIG_NewClientData(obj));
19588 return SWIG_Py_Void();
19589 }
19590
19591 SWIGINTERN PyObject *FontData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19592 return SWIG_Python_InitShadowInstance(args);
19593 }
19594
19595 SWIGINTERN PyObject *_wrap_new_FontDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19596 PyObject *resultobj = 0;
19597 wxWindow *arg1 = (wxWindow *) 0 ;
19598 wxFontData *arg2 = 0 ;
19599 wxFontDialog *result = 0 ;
19600 void *argp1 = 0 ;
19601 int res1 = 0 ;
19602 void *argp2 = 0 ;
19603 int res2 = 0 ;
19604 PyObject * obj0 = 0 ;
19605 PyObject * obj1 = 0 ;
19606 char * kwnames[] = {
19607 (char *) "parent",(char *) "data", NULL
19608 };
19609
19610 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) SWIG_fail;
19611 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19612 if (!SWIG_IsOK(res1)) {
19613 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19614 }
19615 arg1 = reinterpret_cast< wxWindow * >(argp1);
19616 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFontData, 0 | 0);
19617 if (!SWIG_IsOK(res2)) {
19618 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19619 }
19620 if (!argp2) {
19621 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19622 }
19623 arg2 = reinterpret_cast< wxFontData * >(argp2);
19624 {
19625 if (!wxPyCheckForApp()) SWIG_fail;
19626 PyThreadState* __tstate = wxPyBeginAllowThreads();
19627 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
19628 wxPyEndAllowThreads(__tstate);
19629 if (PyErr_Occurred()) SWIG_fail;
19630 }
19631 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontDialog, SWIG_POINTER_NEW | 0 );
19632 return resultobj;
19633 fail:
19634 return NULL;
19635 }
19636
19637
19638 SWIGINTERN PyObject *_wrap_FontDialog_GetFontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19639 PyObject *resultobj = 0;
19640 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
19641 wxFontData *result = 0 ;
19642 void *argp1 = 0 ;
19643 int res1 = 0 ;
19644 PyObject *swig_obj[1] ;
19645
19646 if (!args) SWIG_fail;
19647 swig_obj[0] = args;
19648 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontDialog, 0 | 0 );
19649 if (!SWIG_IsOK(res1)) {
19650 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
19651 }
19652 arg1 = reinterpret_cast< wxFontDialog * >(argp1);
19653 {
19654 PyThreadState* __tstate = wxPyBeginAllowThreads();
19655 {
19656 wxFontData &_result_ref = (arg1)->GetFontData();
19657 result = (wxFontData *) &_result_ref;
19658 }
19659 wxPyEndAllowThreads(__tstate);
19660 if (PyErr_Occurred()) SWIG_fail;
19661 }
19662 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, 0 | 0 );
19663 return resultobj;
19664 fail:
19665 return NULL;
19666 }
19667
19668
19669 SWIGINTERN PyObject *FontDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19670 PyObject *obj;
19671 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19672 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog, SWIG_NewClientData(obj));
19673 return SWIG_Py_Void();
19674 }
19675
19676 SWIGINTERN PyObject *FontDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19677 return SWIG_Python_InitShadowInstance(args);
19678 }
19679
19680 SWIGINTERN PyObject *_wrap_GetFontFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19681 PyObject *resultobj = 0;
19682 wxWindow *arg1 = (wxWindow *) NULL ;
19683 wxFont const &arg2_defvalue = wxNullFont ;
19684 wxFont *arg2 = (wxFont *) &arg2_defvalue ;
19685 wxString const &arg3_defvalue = wxPyEmptyString ;
19686 wxString *arg3 = (wxString *) &arg3_defvalue ;
19687 wxFont result;
19688 void *argp1 = 0 ;
19689 int res1 = 0 ;
19690 void *argp2 = 0 ;
19691 int res2 = 0 ;
19692 bool temp3 = false ;
19693 PyObject * obj0 = 0 ;
19694 PyObject * obj1 = 0 ;
19695 PyObject * obj2 = 0 ;
19696 char * kwnames[] = {
19697 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
19698 };
19699
19700 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetFontFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19701 if (obj0) {
19702 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19703 if (!SWIG_IsOK(res1)) {
19704 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
19705 }
19706 arg1 = reinterpret_cast< wxWindow * >(argp1);
19707 }
19708 if (obj1) {
19709 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19710 if (!SWIG_IsOK(res2)) {
19711 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19712 }
19713 if (!argp2) {
19714 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19715 }
19716 arg2 = reinterpret_cast< wxFont * >(argp2);
19717 }
19718 if (obj2) {
19719 {
19720 arg3 = wxString_in_helper(obj2);
19721 if (arg3 == NULL) SWIG_fail;
19722 temp3 = true;
19723 }
19724 }
19725 {
19726 PyThreadState* __tstate = wxPyBeginAllowThreads();
19727 result = wxGetFontFromUser(arg1,(wxFont const &)*arg2,(wxString const &)*arg3);
19728 wxPyEndAllowThreads(__tstate);
19729 if (PyErr_Occurred()) SWIG_fail;
19730 }
19731 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
19732 {
19733 if (temp3)
19734 delete arg3;
19735 }
19736 return resultobj;
19737 fail:
19738 {
19739 if (temp3)
19740 delete arg3;
19741 }
19742 return NULL;
19743 }
19744
19745
19746 SWIGINTERN PyObject *_wrap_new_MessageDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19747 PyObject *resultobj = 0;
19748 wxWindow *arg1 = (wxWindow *) 0 ;
19749 wxString *arg2 = 0 ;
19750 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
19751 wxString *arg3 = (wxString *) &arg3_defvalue ;
19752 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
19753 wxPoint const &arg5_defvalue = wxDefaultPosition ;
19754 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
19755 wxMessageDialog *result = 0 ;
19756 void *argp1 = 0 ;
19757 int res1 = 0 ;
19758 bool temp2 = false ;
19759 bool temp3 = false ;
19760 long val4 ;
19761 int ecode4 = 0 ;
19762 wxPoint temp5 ;
19763 PyObject * obj0 = 0 ;
19764 PyObject * obj1 = 0 ;
19765 PyObject * obj2 = 0 ;
19766 PyObject * obj3 = 0 ;
19767 PyObject * obj4 = 0 ;
19768 char * kwnames[] = {
19769 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19770 };
19771
19772 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19773 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19774 if (!SWIG_IsOK(res1)) {
19775 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19776 }
19777 arg1 = reinterpret_cast< wxWindow * >(argp1);
19778 {
19779 arg2 = wxString_in_helper(obj1);
19780 if (arg2 == NULL) SWIG_fail;
19781 temp2 = true;
19782 }
19783 if (obj2) {
19784 {
19785 arg3 = wxString_in_helper(obj2);
19786 if (arg3 == NULL) SWIG_fail;
19787 temp3 = true;
19788 }
19789 }
19790 if (obj3) {
19791 ecode4 = SWIG_AsVal_long(obj3, &val4);
19792 if (!SWIG_IsOK(ecode4)) {
19793 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19794 }
19795 arg4 = static_cast< long >(val4);
19796 }
19797 if (obj4) {
19798 {
19799 arg5 = &temp5;
19800 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
19801 }
19802 }
19803 {
19804 if (!wxPyCheckForApp()) SWIG_fail;
19805 PyThreadState* __tstate = wxPyBeginAllowThreads();
19806 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
19807 wxPyEndAllowThreads(__tstate);
19808 if (PyErr_Occurred()) SWIG_fail;
19809 }
19810 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMessageDialog, SWIG_POINTER_NEW | 0 );
19811 {
19812 if (temp2)
19813 delete arg2;
19814 }
19815 {
19816 if (temp3)
19817 delete arg3;
19818 }
19819 return resultobj;
19820 fail:
19821 {
19822 if (temp2)
19823 delete arg2;
19824 }
19825 {
19826 if (temp3)
19827 delete arg3;
19828 }
19829 return NULL;
19830 }
19831
19832
19833 SWIGINTERN PyObject *MessageDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19834 PyObject *obj;
19835 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19836 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog, SWIG_NewClientData(obj));
19837 return SWIG_Py_Void();
19838 }
19839
19840 SWIGINTERN PyObject *MessageDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19841 return SWIG_Python_InitShadowInstance(args);
19842 }
19843
19844 SWIGINTERN PyObject *_wrap_new_ProgressDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19845 PyObject *resultobj = 0;
19846 wxString *arg1 = 0 ;
19847 wxString *arg2 = 0 ;
19848 int arg3 = (int) 100 ;
19849 wxWindow *arg4 = (wxWindow *) NULL ;
19850 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
19851 wxProgressDialog *result = 0 ;
19852 bool temp1 = false ;
19853 bool temp2 = false ;
19854 int val3 ;
19855 int ecode3 = 0 ;
19856 void *argp4 = 0 ;
19857 int res4 = 0 ;
19858 int val5 ;
19859 int ecode5 = 0 ;
19860 PyObject * obj0 = 0 ;
19861 PyObject * obj1 = 0 ;
19862 PyObject * obj2 = 0 ;
19863 PyObject * obj3 = 0 ;
19864 PyObject * obj4 = 0 ;
19865 char * kwnames[] = {
19866 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19867 };
19868
19869 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19870 {
19871 arg1 = wxString_in_helper(obj0);
19872 if (arg1 == NULL) SWIG_fail;
19873 temp1 = true;
19874 }
19875 {
19876 arg2 = wxString_in_helper(obj1);
19877 if (arg2 == NULL) SWIG_fail;
19878 temp2 = true;
19879 }
19880 if (obj2) {
19881 ecode3 = SWIG_AsVal_int(obj2, &val3);
19882 if (!SWIG_IsOK(ecode3)) {
19883 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19884 }
19885 arg3 = static_cast< int >(val3);
19886 }
19887 if (obj3) {
19888 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
19889 if (!SWIG_IsOK(res4)) {
19890 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19891 }
19892 arg4 = reinterpret_cast< wxWindow * >(argp4);
19893 }
19894 if (obj4) {
19895 ecode5 = SWIG_AsVal_int(obj4, &val5);
19896 if (!SWIG_IsOK(ecode5)) {
19897 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19898 }
19899 arg5 = static_cast< int >(val5);
19900 }
19901 {
19902 if (!wxPyCheckForApp()) SWIG_fail;
19903 PyThreadState* __tstate = wxPyBeginAllowThreads();
19904 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
19905 wxPyEndAllowThreads(__tstate);
19906 if (PyErr_Occurred()) SWIG_fail;
19907 }
19908 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_NEW | 0 );
19909 {
19910 if (temp1)
19911 delete arg1;
19912 }
19913 {
19914 if (temp2)
19915 delete arg2;
19916 }
19917 return resultobj;
19918 fail:
19919 {
19920 if (temp1)
19921 delete arg1;
19922 }
19923 {
19924 if (temp2)
19925 delete arg2;
19926 }
19927 return NULL;
19928 }
19929
19930
19931 SWIGINTERN PyObject *_wrap_ProgressDialog_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19932 PyObject *resultobj = 0;
19933 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19934 int arg2 ;
19935 wxString const &arg3_defvalue = wxPyEmptyString ;
19936 wxString *arg3 = (wxString *) &arg3_defvalue ;
19937 bool *arg4 = (bool *) 0 ;
19938 bool result;
19939 void *argp1 = 0 ;
19940 int res1 = 0 ;
19941 int val2 ;
19942 int ecode2 = 0 ;
19943 bool temp3 = false ;
19944 bool temp4 ;
19945 int res4 = SWIG_TMPOBJ ;
19946 PyObject * obj0 = 0 ;
19947 PyObject * obj1 = 0 ;
19948 PyObject * obj2 = 0 ;
19949 char * kwnames[] = {
19950 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19951 };
19952
19953 arg4 = &temp4;
19954 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19955 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19956 if (!SWIG_IsOK(res1)) {
19957 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19958 }
19959 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19960 ecode2 = SWIG_AsVal_int(obj1, &val2);
19961 if (!SWIG_IsOK(ecode2)) {
19962 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19963 }
19964 arg2 = static_cast< int >(val2);
19965 if (obj2) {
19966 {
19967 arg3 = wxString_in_helper(obj2);
19968 if (arg3 == NULL) SWIG_fail;
19969 temp3 = true;
19970 }
19971 }
19972 {
19973 PyThreadState* __tstate = wxPyBeginAllowThreads();
19974 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3,arg4);
19975 wxPyEndAllowThreads(__tstate);
19976 if (PyErr_Occurred()) SWIG_fail;
19977 }
19978 {
19979 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19980 }
19981 if (SWIG_IsTmpObj(res4)) {
19982 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg4)));
19983 } else {
19984 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19985 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, new_flags));
19986 }
19987 {
19988 if (temp3)
19989 delete arg3;
19990 }
19991 return resultobj;
19992 fail:
19993 {
19994 if (temp3)
19995 delete arg3;
19996 }
19997 return NULL;
19998 }
19999
20000
20001 SWIGINTERN PyObject *_wrap_ProgressDialog_Pulse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20002 PyObject *resultobj = 0;
20003 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
20004 wxString const &arg2_defvalue = wxPyEmptyString ;
20005 wxString *arg2 = (wxString *) &arg2_defvalue ;
20006 bool *arg3 = (bool *) 0 ;
20007 bool result;
20008 void *argp1 = 0 ;
20009 int res1 = 0 ;
20010 bool temp2 = false ;
20011 bool temp3 ;
20012 int res3 = SWIG_TMPOBJ ;
20013 PyObject * obj0 = 0 ;
20014 PyObject * obj1 = 0 ;
20015 char * kwnames[] = {
20016 (char *) "self",(char *) "newmsg", NULL
20017 };
20018
20019 arg3 = &temp3;
20020 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ProgressDialog_Pulse",kwnames,&obj0,&obj1)) SWIG_fail;
20021 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
20022 if (!SWIG_IsOK(res1)) {
20023 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Pulse" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
20024 }
20025 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
20026 if (obj1) {
20027 {
20028 arg2 = wxString_in_helper(obj1);
20029 if (arg2 == NULL) SWIG_fail;
20030 temp2 = true;
20031 }
20032 }
20033 {
20034 PyThreadState* __tstate = wxPyBeginAllowThreads();
20035 result = (bool)(arg1)->Pulse((wxString const &)*arg2,arg3);
20036 wxPyEndAllowThreads(__tstate);
20037 if (PyErr_Occurred()) SWIG_fail;
20038 }
20039 {
20040 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20041 }
20042 if (SWIG_IsTmpObj(res3)) {
20043 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg3)));
20044 } else {
20045 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
20046 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_bool, new_flags));
20047 }
20048 {
20049 if (temp2)
20050 delete arg2;
20051 }
20052 return resultobj;
20053 fail:
20054 {
20055 if (temp2)
20056 delete arg2;
20057 }
20058 return NULL;
20059 }
20060
20061
20062 SWIGINTERN PyObject *_wrap_ProgressDialog_Resume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20063 PyObject *resultobj = 0;
20064 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
20065 void *argp1 = 0 ;
20066 int res1 = 0 ;
20067 PyObject *swig_obj[1] ;
20068
20069 if (!args) SWIG_fail;
20070 swig_obj[0] = args;
20071 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
20072 if (!SWIG_IsOK(res1)) {
20073 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
20074 }
20075 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
20076 {
20077 PyThreadState* __tstate = wxPyBeginAllowThreads();
20078 (arg1)->Resume();
20079 wxPyEndAllowThreads(__tstate);
20080 if (PyErr_Occurred()) SWIG_fail;
20081 }
20082 resultobj = SWIG_Py_Void();
20083 return resultobj;
20084 fail:
20085 return NULL;
20086 }
20087
20088
20089 SWIGINTERN PyObject *ProgressDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20090 PyObject *obj;
20091 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20092 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog, SWIG_NewClientData(obj));
20093 return SWIG_Py_Void();
20094 }
20095
20096 SWIGINTERN PyObject *ProgressDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20097 return SWIG_Python_InitShadowInstance(args);
20098 }
20099
20100 SWIGINTERN PyObject *_wrap_new_FindDialogEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20101 PyObject *resultobj = 0;
20102 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
20103 int arg2 = (int) 0 ;
20104 wxFindDialogEvent *result = 0 ;
20105 int val1 ;
20106 int ecode1 = 0 ;
20107 int val2 ;
20108 int ecode2 = 0 ;
20109 PyObject * obj0 = 0 ;
20110 PyObject * obj1 = 0 ;
20111 char * kwnames[] = {
20112 (char *) "commandType",(char *) "id", NULL
20113 };
20114
20115 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) SWIG_fail;
20116 if (obj0) {
20117 ecode1 = SWIG_AsVal_int(obj0, &val1);
20118 if (!SWIG_IsOK(ecode1)) {
20119 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20120 }
20121 arg1 = static_cast< wxEventType >(val1);
20122 }
20123 if (obj1) {
20124 ecode2 = SWIG_AsVal_int(obj1, &val2);
20125 if (!SWIG_IsOK(ecode2)) {
20126 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
20127 }
20128 arg2 = static_cast< int >(val2);
20129 }
20130 {
20131 PyThreadState* __tstate = wxPyBeginAllowThreads();
20132 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
20133 wxPyEndAllowThreads(__tstate);
20134 if (PyErr_Occurred()) SWIG_fail;
20135 }
20136 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_NEW | 0 );
20137 return resultobj;
20138 fail:
20139 return NULL;
20140 }
20141
20142
20143 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20144 PyObject *resultobj = 0;
20145 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
20146 int result;
20147 void *argp1 = 0 ;
20148 int res1 = 0 ;
20149 PyObject *swig_obj[1] ;
20150
20151 if (!args) SWIG_fail;
20152 swig_obj[0] = args;
20153 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
20154 if (!SWIG_IsOK(res1)) {
20155 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20156 }
20157 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
20158 {
20159 PyThreadState* __tstate = wxPyBeginAllowThreads();
20160 result = (int)(arg1)->GetFlags();
20161 wxPyEndAllowThreads(__tstate);
20162 if (PyErr_Occurred()) SWIG_fail;
20163 }
20164 resultobj = SWIG_From_int(static_cast< int >(result));
20165 return resultobj;
20166 fail:
20167 return NULL;
20168 }
20169
20170
20171 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20172 PyObject *resultobj = 0;
20173 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
20174 wxString *result = 0 ;
20175 void *argp1 = 0 ;
20176 int res1 = 0 ;
20177 PyObject *swig_obj[1] ;
20178
20179 if (!args) SWIG_fail;
20180 swig_obj[0] = args;
20181 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
20182 if (!SWIG_IsOK(res1)) {
20183 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20184 }
20185 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
20186 {
20187 PyThreadState* __tstate = wxPyBeginAllowThreads();
20188 {
20189 wxString const &_result_ref = (arg1)->GetFindString();
20190 result = (wxString *) &_result_ref;
20191 }
20192 wxPyEndAllowThreads(__tstate);
20193 if (PyErr_Occurred()) SWIG_fail;
20194 }
20195 {
20196 #if wxUSE_UNICODE
20197 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20198 #else
20199 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20200 #endif
20201 }
20202 return resultobj;
20203 fail:
20204 return NULL;
20205 }
20206
20207
20208 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20209 PyObject *resultobj = 0;
20210 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
20211 wxString *result = 0 ;
20212 void *argp1 = 0 ;
20213 int res1 = 0 ;
20214 PyObject *swig_obj[1] ;
20215
20216 if (!args) SWIG_fail;
20217 swig_obj[0] = args;
20218 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
20219 if (!SWIG_IsOK(res1)) {
20220 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20221 }
20222 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
20223 {
20224 PyThreadState* __tstate = wxPyBeginAllowThreads();
20225 {
20226 wxString const &_result_ref = (arg1)->GetReplaceString();
20227 result = (wxString *) &_result_ref;
20228 }
20229 wxPyEndAllowThreads(__tstate);
20230 if (PyErr_Occurred()) SWIG_fail;
20231 }
20232 {
20233 #if wxUSE_UNICODE
20234 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20235 #else
20236 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20237 #endif
20238 }
20239 return resultobj;
20240 fail:
20241 return NULL;
20242 }
20243
20244
20245 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20246 PyObject *resultobj = 0;
20247 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
20248 wxFindReplaceDialog *result = 0 ;
20249 void *argp1 = 0 ;
20250 int res1 = 0 ;
20251 PyObject *swig_obj[1] ;
20252
20253 if (!args) SWIG_fail;
20254 swig_obj[0] = args;
20255 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
20256 if (!SWIG_IsOK(res1)) {
20257 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20258 }
20259 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
20260 {
20261 PyThreadState* __tstate = wxPyBeginAllowThreads();
20262 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
20263 wxPyEndAllowThreads(__tstate);
20264 if (PyErr_Occurred()) SWIG_fail;
20265 }
20266 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20267 return resultobj;
20268 fail:
20269 return NULL;
20270 }
20271
20272
20273 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20274 PyObject *resultobj = 0;
20275 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
20276 int arg2 ;
20277 void *argp1 = 0 ;
20278 int res1 = 0 ;
20279 int val2 ;
20280 int ecode2 = 0 ;
20281 PyObject * obj0 = 0 ;
20282 PyObject * obj1 = 0 ;
20283 char * kwnames[] = {
20284 (char *) "self",(char *) "flags", NULL
20285 };
20286
20287 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
20288 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
20289 if (!SWIG_IsOK(res1)) {
20290 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20291 }
20292 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
20293 ecode2 = SWIG_AsVal_int(obj1, &val2);
20294 if (!SWIG_IsOK(ecode2)) {
20295 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
20296 }
20297 arg2 = static_cast< int >(val2);
20298 {
20299 PyThreadState* __tstate = wxPyBeginAllowThreads();
20300 (arg1)->SetFlags(arg2);
20301 wxPyEndAllowThreads(__tstate);
20302 if (PyErr_Occurred()) SWIG_fail;
20303 }
20304 resultobj = SWIG_Py_Void();
20305 return resultobj;
20306 fail:
20307 return NULL;
20308 }
20309
20310
20311 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20312 PyObject *resultobj = 0;
20313 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
20314 wxString *arg2 = 0 ;
20315 void *argp1 = 0 ;
20316 int res1 = 0 ;
20317 bool temp2 = false ;
20318 PyObject * obj0 = 0 ;
20319 PyObject * obj1 = 0 ;
20320 char * kwnames[] = {
20321 (char *) "self",(char *) "str", NULL
20322 };
20323
20324 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
20325 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
20326 if (!SWIG_IsOK(res1)) {
20327 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20328 }
20329 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
20330 {
20331 arg2 = wxString_in_helper(obj1);
20332 if (arg2 == NULL) SWIG_fail;
20333 temp2 = true;
20334 }
20335 {
20336 PyThreadState* __tstate = wxPyBeginAllowThreads();
20337 (arg1)->SetFindString((wxString const &)*arg2);
20338 wxPyEndAllowThreads(__tstate);
20339 if (PyErr_Occurred()) SWIG_fail;
20340 }
20341 resultobj = SWIG_Py_Void();
20342 {
20343 if (temp2)
20344 delete arg2;
20345 }
20346 return resultobj;
20347 fail:
20348 {
20349 if (temp2)
20350 delete arg2;
20351 }
20352 return NULL;
20353 }
20354
20355
20356 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20357 PyObject *resultobj = 0;
20358 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
20359 wxString *arg2 = 0 ;
20360 void *argp1 = 0 ;
20361 int res1 = 0 ;
20362 bool temp2 = false ;
20363 PyObject * obj0 = 0 ;
20364 PyObject * obj1 = 0 ;
20365 char * kwnames[] = {
20366 (char *) "self",(char *) "str", NULL
20367 };
20368
20369 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
20370 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
20371 if (!SWIG_IsOK(res1)) {
20372 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20373 }
20374 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
20375 {
20376 arg2 = wxString_in_helper(obj1);
20377 if (arg2 == NULL) SWIG_fail;
20378 temp2 = true;
20379 }
20380 {
20381 PyThreadState* __tstate = wxPyBeginAllowThreads();
20382 (arg1)->SetReplaceString((wxString const &)*arg2);
20383 wxPyEndAllowThreads(__tstate);
20384 if (PyErr_Occurred()) SWIG_fail;
20385 }
20386 resultobj = SWIG_Py_Void();
20387 {
20388 if (temp2)
20389 delete arg2;
20390 }
20391 return resultobj;
20392 fail:
20393 {
20394 if (temp2)
20395 delete arg2;
20396 }
20397 return NULL;
20398 }
20399
20400
20401 SWIGINTERN PyObject *FindDialogEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20402 PyObject *obj;
20403 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20404 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent, SWIG_NewClientData(obj));
20405 return SWIG_Py_Void();
20406 }
20407
20408 SWIGINTERN PyObject *FindDialogEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20409 return SWIG_Python_InitShadowInstance(args);
20410 }
20411
20412 SWIGINTERN PyObject *_wrap_new_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20413 PyObject *resultobj = 0;
20414 int arg1 = (int) 0 ;
20415 wxFindReplaceData *result = 0 ;
20416 int val1 ;
20417 int ecode1 = 0 ;
20418 PyObject * obj0 = 0 ;
20419 char * kwnames[] = {
20420 (char *) "flags", NULL
20421 };
20422
20423 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) SWIG_fail;
20424 if (obj0) {
20425 ecode1 = SWIG_AsVal_int(obj0, &val1);
20426 if (!SWIG_IsOK(ecode1)) {
20427 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
20428 }
20429 arg1 = static_cast< int >(val1);
20430 }
20431 {
20432 PyThreadState* __tstate = wxPyBeginAllowThreads();
20433 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
20434 wxPyEndAllowThreads(__tstate);
20435 if (PyErr_Occurred()) SWIG_fail;
20436 }
20437 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_NEW | 0 );
20438 return resultobj;
20439 fail:
20440 return NULL;
20441 }
20442
20443
20444 SWIGINTERN PyObject *_wrap_delete_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20445 PyObject *resultobj = 0;
20446 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20447 void *argp1 = 0 ;
20448 int res1 = 0 ;
20449 PyObject *swig_obj[1] ;
20450
20451 if (!args) SWIG_fail;
20452 swig_obj[0] = args;
20453 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_DISOWN | 0 );
20454 if (!SWIG_IsOK(res1)) {
20455 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20456 }
20457 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20458 {
20459 PyThreadState* __tstate = wxPyBeginAllowThreads();
20460 delete arg1;
20461
20462 wxPyEndAllowThreads(__tstate);
20463 if (PyErr_Occurred()) SWIG_fail;
20464 }
20465 resultobj = SWIG_Py_Void();
20466 return resultobj;
20467 fail:
20468 return NULL;
20469 }
20470
20471
20472 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20473 PyObject *resultobj = 0;
20474 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20475 wxString *result = 0 ;
20476 void *argp1 = 0 ;
20477 int res1 = 0 ;
20478 PyObject *swig_obj[1] ;
20479
20480 if (!args) SWIG_fail;
20481 swig_obj[0] = args;
20482 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20483 if (!SWIG_IsOK(res1)) {
20484 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20485 }
20486 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20487 {
20488 PyThreadState* __tstate = wxPyBeginAllowThreads();
20489 {
20490 wxString const &_result_ref = (arg1)->GetFindString();
20491 result = (wxString *) &_result_ref;
20492 }
20493 wxPyEndAllowThreads(__tstate);
20494 if (PyErr_Occurred()) SWIG_fail;
20495 }
20496 {
20497 #if wxUSE_UNICODE
20498 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20499 #else
20500 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20501 #endif
20502 }
20503 return resultobj;
20504 fail:
20505 return NULL;
20506 }
20507
20508
20509 SWIGINTERN PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20510 PyObject *resultobj = 0;
20511 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20512 wxString *result = 0 ;
20513 void *argp1 = 0 ;
20514 int res1 = 0 ;
20515 PyObject *swig_obj[1] ;
20516
20517 if (!args) SWIG_fail;
20518 swig_obj[0] = args;
20519 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20520 if (!SWIG_IsOK(res1)) {
20521 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20522 }
20523 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20524 {
20525 PyThreadState* __tstate = wxPyBeginAllowThreads();
20526 {
20527 wxString const &_result_ref = (arg1)->GetReplaceString();
20528 result = (wxString *) &_result_ref;
20529 }
20530 wxPyEndAllowThreads(__tstate);
20531 if (PyErr_Occurred()) SWIG_fail;
20532 }
20533 {
20534 #if wxUSE_UNICODE
20535 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20536 #else
20537 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20538 #endif
20539 }
20540 return resultobj;
20541 fail:
20542 return NULL;
20543 }
20544
20545
20546 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20547 PyObject *resultobj = 0;
20548 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20549 int result;
20550 void *argp1 = 0 ;
20551 int res1 = 0 ;
20552 PyObject *swig_obj[1] ;
20553
20554 if (!args) SWIG_fail;
20555 swig_obj[0] = args;
20556 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20557 if (!SWIG_IsOK(res1)) {
20558 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20559 }
20560 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20561 {
20562 PyThreadState* __tstate = wxPyBeginAllowThreads();
20563 result = (int)(arg1)->GetFlags();
20564 wxPyEndAllowThreads(__tstate);
20565 if (PyErr_Occurred()) SWIG_fail;
20566 }
20567 resultobj = SWIG_From_int(static_cast< int >(result));
20568 return resultobj;
20569 fail:
20570 return NULL;
20571 }
20572
20573
20574 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20575 PyObject *resultobj = 0;
20576 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20577 int arg2 ;
20578 void *argp1 = 0 ;
20579 int res1 = 0 ;
20580 int val2 ;
20581 int ecode2 = 0 ;
20582 PyObject * obj0 = 0 ;
20583 PyObject * obj1 = 0 ;
20584 char * kwnames[] = {
20585 (char *) "self",(char *) "flags", NULL
20586 };
20587
20588 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
20589 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20590 if (!SWIG_IsOK(res1)) {
20591 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20592 }
20593 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20594 ecode2 = SWIG_AsVal_int(obj1, &val2);
20595 if (!SWIG_IsOK(ecode2)) {
20596 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
20597 }
20598 arg2 = static_cast< int >(val2);
20599 {
20600 PyThreadState* __tstate = wxPyBeginAllowThreads();
20601 (arg1)->SetFlags(arg2);
20602 wxPyEndAllowThreads(__tstate);
20603 if (PyErr_Occurred()) SWIG_fail;
20604 }
20605 resultobj = SWIG_Py_Void();
20606 return resultobj;
20607 fail:
20608 return NULL;
20609 }
20610
20611
20612 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20613 PyObject *resultobj = 0;
20614 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20615 wxString *arg2 = 0 ;
20616 void *argp1 = 0 ;
20617 int res1 = 0 ;
20618 bool temp2 = false ;
20619 PyObject * obj0 = 0 ;
20620 PyObject * obj1 = 0 ;
20621 char * kwnames[] = {
20622 (char *) "self",(char *) "str", NULL
20623 };
20624
20625 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
20626 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20627 if (!SWIG_IsOK(res1)) {
20628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20629 }
20630 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20631 {
20632 arg2 = wxString_in_helper(obj1);
20633 if (arg2 == NULL) SWIG_fail;
20634 temp2 = true;
20635 }
20636 {
20637 PyThreadState* __tstate = wxPyBeginAllowThreads();
20638 (arg1)->SetFindString((wxString const &)*arg2);
20639 wxPyEndAllowThreads(__tstate);
20640 if (PyErr_Occurred()) SWIG_fail;
20641 }
20642 resultobj = SWIG_Py_Void();
20643 {
20644 if (temp2)
20645 delete arg2;
20646 }
20647 return resultobj;
20648 fail:
20649 {
20650 if (temp2)
20651 delete arg2;
20652 }
20653 return NULL;
20654 }
20655
20656
20657 SWIGINTERN PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20658 PyObject *resultobj = 0;
20659 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20660 wxString *arg2 = 0 ;
20661 void *argp1 = 0 ;
20662 int res1 = 0 ;
20663 bool temp2 = false ;
20664 PyObject * obj0 = 0 ;
20665 PyObject * obj1 = 0 ;
20666 char * kwnames[] = {
20667 (char *) "self",(char *) "str", NULL
20668 };
20669
20670 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
20671 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20672 if (!SWIG_IsOK(res1)) {
20673 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20674 }
20675 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20676 {
20677 arg2 = wxString_in_helper(obj1);
20678 if (arg2 == NULL) SWIG_fail;
20679 temp2 = true;
20680 }
20681 {
20682 PyThreadState* __tstate = wxPyBeginAllowThreads();
20683 (arg1)->SetReplaceString((wxString const &)*arg2);
20684 wxPyEndAllowThreads(__tstate);
20685 if (PyErr_Occurred()) SWIG_fail;
20686 }
20687 resultobj = SWIG_Py_Void();
20688 {
20689 if (temp2)
20690 delete arg2;
20691 }
20692 return resultobj;
20693 fail:
20694 {
20695 if (temp2)
20696 delete arg2;
20697 }
20698 return NULL;
20699 }
20700
20701
20702 SWIGINTERN PyObject *FindReplaceData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20703 PyObject *obj;
20704 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20705 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData, SWIG_NewClientData(obj));
20706 return SWIG_Py_Void();
20707 }
20708
20709 SWIGINTERN PyObject *FindReplaceData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20710 return SWIG_Python_InitShadowInstance(args);
20711 }
20712
20713 SWIGINTERN PyObject *_wrap_new_FindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20714 PyObject *resultobj = 0;
20715 wxWindow *arg1 = (wxWindow *) 0 ;
20716 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20717 wxString *arg3 = 0 ;
20718 int arg4 = (int) 0 ;
20719 wxFindReplaceDialog *result = 0 ;
20720 void *argp1 = 0 ;
20721 int res1 = 0 ;
20722 void *argp2 = 0 ;
20723 int res2 = 0 ;
20724 bool temp3 = false ;
20725 int val4 ;
20726 int ecode4 = 0 ;
20727 PyObject * obj0 = 0 ;
20728 PyObject * obj1 = 0 ;
20729 PyObject * obj2 = 0 ;
20730 PyObject * obj3 = 0 ;
20731 char * kwnames[] = {
20732 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20733 };
20734
20735 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
20736 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20737 if (!SWIG_IsOK(res1)) {
20738 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20739 }
20740 arg1 = reinterpret_cast< wxWindow * >(argp1);
20741 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20742 if (!SWIG_IsOK(res2)) {
20743 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20744 }
20745 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20746 {
20747 arg3 = wxString_in_helper(obj2);
20748 if (arg3 == NULL) SWIG_fail;
20749 temp3 = true;
20750 }
20751 if (obj3) {
20752 ecode4 = SWIG_AsVal_int(obj3, &val4);
20753 if (!SWIG_IsOK(ecode4)) {
20754 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
20755 }
20756 arg4 = static_cast< int >(val4);
20757 }
20758 {
20759 if (!wxPyCheckForApp()) SWIG_fail;
20760 PyThreadState* __tstate = wxPyBeginAllowThreads();
20761 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
20762 wxPyEndAllowThreads(__tstate);
20763 if (PyErr_Occurred()) SWIG_fail;
20764 }
20765 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_NEW | 0 );
20766 {
20767 if (temp3)
20768 delete arg3;
20769 }
20770 return resultobj;
20771 fail:
20772 {
20773 if (temp3)
20774 delete arg3;
20775 }
20776 return NULL;
20777 }
20778
20779
20780 SWIGINTERN PyObject *_wrap_new_PreFindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20781 PyObject *resultobj = 0;
20782 wxFindReplaceDialog *result = 0 ;
20783
20784 if (!SWIG_Python_UnpackTuple(args,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail;
20785 {
20786 if (!wxPyCheckForApp()) SWIG_fail;
20787 PyThreadState* __tstate = wxPyBeginAllowThreads();
20788 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
20789 wxPyEndAllowThreads(__tstate);
20790 if (PyErr_Occurred()) SWIG_fail;
20791 }
20792 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_OWN | 0 );
20793 return resultobj;
20794 fail:
20795 return NULL;
20796 }
20797
20798
20799 SWIGINTERN PyObject *_wrap_FindReplaceDialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20800 PyObject *resultobj = 0;
20801 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20802 wxWindow *arg2 = (wxWindow *) 0 ;
20803 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
20804 wxString *arg4 = 0 ;
20805 int arg5 = (int) 0 ;
20806 bool result;
20807 void *argp1 = 0 ;
20808 int res1 = 0 ;
20809 void *argp2 = 0 ;
20810 int res2 = 0 ;
20811 void *argp3 = 0 ;
20812 int res3 = 0 ;
20813 bool temp4 = false ;
20814 int val5 ;
20815 int ecode5 = 0 ;
20816 PyObject * obj0 = 0 ;
20817 PyObject * obj1 = 0 ;
20818 PyObject * obj2 = 0 ;
20819 PyObject * obj3 = 0 ;
20820 PyObject * obj4 = 0 ;
20821 char * kwnames[] = {
20822 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20823 };
20824
20825 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
20826 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20827 if (!SWIG_IsOK(res1)) {
20828 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20829 }
20830 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20831 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20832 if (!SWIG_IsOK(res2)) {
20833 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20834 }
20835 arg2 = reinterpret_cast< wxWindow * >(argp2);
20836 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20837 if (!SWIG_IsOK(res3)) {
20838 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20839 }
20840 arg3 = reinterpret_cast< wxFindReplaceData * >(argp3);
20841 {
20842 arg4 = wxString_in_helper(obj3);
20843 if (arg4 == NULL) SWIG_fail;
20844 temp4 = true;
20845 }
20846 if (obj4) {
20847 ecode5 = SWIG_AsVal_int(obj4, &val5);
20848 if (!SWIG_IsOK(ecode5)) {
20849 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20850 }
20851 arg5 = static_cast< int >(val5);
20852 }
20853 {
20854 PyThreadState* __tstate = wxPyBeginAllowThreads();
20855 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
20856 wxPyEndAllowThreads(__tstate);
20857 if (PyErr_Occurred()) SWIG_fail;
20858 }
20859 {
20860 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20861 }
20862 {
20863 if (temp4)
20864 delete arg4;
20865 }
20866 return resultobj;
20867 fail:
20868 {
20869 if (temp4)
20870 delete arg4;
20871 }
20872 return NULL;
20873 }
20874
20875
20876 SWIGINTERN PyObject *_wrap_FindReplaceDialog_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20877 PyObject *resultobj = 0;
20878 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20879 wxFindReplaceData *result = 0 ;
20880 void *argp1 = 0 ;
20881 int res1 = 0 ;
20882 PyObject *swig_obj[1] ;
20883
20884 if (!args) SWIG_fail;
20885 swig_obj[0] = args;
20886 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20887 if (!SWIG_IsOK(res1)) {
20888 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20889 }
20890 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20891 {
20892 PyThreadState* __tstate = wxPyBeginAllowThreads();
20893 result = (wxFindReplaceData *)(arg1)->GetData();
20894 wxPyEndAllowThreads(__tstate);
20895 if (PyErr_Occurred()) SWIG_fail;
20896 }
20897 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20898 return resultobj;
20899 fail:
20900 return NULL;
20901 }
20902
20903
20904 SWIGINTERN PyObject *_wrap_FindReplaceDialog_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20905 PyObject *resultobj = 0;
20906 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20907 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20908 void *argp1 = 0 ;
20909 int res1 = 0 ;
20910 void *argp2 = 0 ;
20911 int res2 = 0 ;
20912 PyObject * obj0 = 0 ;
20913 PyObject * obj1 = 0 ;
20914 char * kwnames[] = {
20915 (char *) "self",(char *) "data", NULL
20916 };
20917
20918 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
20919 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20920 if (!SWIG_IsOK(res1)) {
20921 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20922 }
20923 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20924 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20925 if (!SWIG_IsOK(res2)) {
20926 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20927 }
20928 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20929 {
20930 PyThreadState* __tstate = wxPyBeginAllowThreads();
20931 (arg1)->SetData(arg2);
20932 wxPyEndAllowThreads(__tstate);
20933 if (PyErr_Occurred()) SWIG_fail;
20934 }
20935 resultobj = SWIG_Py_Void();
20936 return resultobj;
20937 fail:
20938 return NULL;
20939 }
20940
20941
20942 SWIGINTERN PyObject *FindReplaceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20943 PyObject *obj;
20944 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20945 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog, SWIG_NewClientData(obj));
20946 return SWIG_Py_Void();
20947 }
20948
20949 SWIGINTERN PyObject *FindReplaceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20950 return SWIG_Python_InitShadowInstance(args);
20951 }
20952
20953 SWIGINTERN PyObject *_wrap_new_MDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20954 PyObject *resultobj = 0;
20955 wxWindow *arg1 = (wxWindow *) 0 ;
20956 int arg2 = (int) (int)-1 ;
20957 wxString const &arg3_defvalue = wxPyEmptyString ;
20958 wxString *arg3 = (wxString *) &arg3_defvalue ;
20959 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20960 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20961 wxSize const &arg5_defvalue = wxDefaultSize ;
20962 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20963 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20964 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20965 wxString *arg7 = (wxString *) &arg7_defvalue ;
20966 wxMDIParentFrame *result = 0 ;
20967 void *argp1 = 0 ;
20968 int res1 = 0 ;
20969 int val2 ;
20970 int ecode2 = 0 ;
20971 bool temp3 = false ;
20972 wxPoint temp4 ;
20973 wxSize temp5 ;
20974 long val6 ;
20975 int ecode6 = 0 ;
20976 bool temp7 = false ;
20977 PyObject * obj0 = 0 ;
20978 PyObject * obj1 = 0 ;
20979 PyObject * obj2 = 0 ;
20980 PyObject * obj3 = 0 ;
20981 PyObject * obj4 = 0 ;
20982 PyObject * obj5 = 0 ;
20983 PyObject * obj6 = 0 ;
20984 char * kwnames[] = {
20985 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20986 };
20987
20988 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20989 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20990 if (!SWIG_IsOK(res1)) {
20991 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20992 }
20993 arg1 = reinterpret_cast< wxWindow * >(argp1);
20994 if (obj1) {
20995 ecode2 = SWIG_AsVal_int(obj1, &val2);
20996 if (!SWIG_IsOK(ecode2)) {
20997 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20998 }
20999 arg2 = static_cast< int >(val2);
21000 }
21001 if (obj2) {
21002 {
21003 arg3 = wxString_in_helper(obj2);
21004 if (arg3 == NULL) SWIG_fail;
21005 temp3 = true;
21006 }
21007 }
21008 if (obj3) {
21009 {
21010 arg4 = &temp4;
21011 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21012 }
21013 }
21014 if (obj4) {
21015 {
21016 arg5 = &temp5;
21017 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21018 }
21019 }
21020 if (obj5) {
21021 ecode6 = SWIG_AsVal_long(obj5, &val6);
21022 if (!SWIG_IsOK(ecode6)) {
21023 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
21024 }
21025 arg6 = static_cast< long >(val6);
21026 }
21027 if (obj6) {
21028 {
21029 arg7 = wxString_in_helper(obj6);
21030 if (arg7 == NULL) SWIG_fail;
21031 temp7 = true;
21032 }
21033 }
21034 {
21035 if (!wxPyCheckForApp()) SWIG_fail;
21036 PyThreadState* __tstate = wxPyBeginAllowThreads();
21037 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21038 wxPyEndAllowThreads(__tstate);
21039 if (PyErr_Occurred()) SWIG_fail;
21040 }
21041 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_NEW | 0 );
21042 {
21043 if (temp3)
21044 delete arg3;
21045 }
21046 {
21047 if (temp7)
21048 delete arg7;
21049 }
21050 return resultobj;
21051 fail:
21052 {
21053 if (temp3)
21054 delete arg3;
21055 }
21056 {
21057 if (temp7)
21058 delete arg7;
21059 }
21060 return NULL;
21061 }
21062
21063
21064 SWIGINTERN PyObject *_wrap_new_PreMDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21065 PyObject *resultobj = 0;
21066 wxMDIParentFrame *result = 0 ;
21067
21068 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIParentFrame",0,0,0)) SWIG_fail;
21069 {
21070 if (!wxPyCheckForApp()) SWIG_fail;
21071 PyThreadState* __tstate = wxPyBeginAllowThreads();
21072 result = (wxMDIParentFrame *)new wxMDIParentFrame();
21073 wxPyEndAllowThreads(__tstate);
21074 if (PyErr_Occurred()) SWIG_fail;
21075 }
21076 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_OWN | 0 );
21077 return resultobj;
21078 fail:
21079 return NULL;
21080 }
21081
21082
21083 SWIGINTERN PyObject *_wrap_MDIParentFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21084 PyObject *resultobj = 0;
21085 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21086 wxWindow *arg2 = (wxWindow *) 0 ;
21087 int arg3 = (int) (int)-1 ;
21088 wxString const &arg4_defvalue = wxPyEmptyString ;
21089 wxString *arg4 = (wxString *) &arg4_defvalue ;
21090 wxPoint const &arg5_defvalue = wxDefaultPosition ;
21091 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
21092 wxSize const &arg6_defvalue = wxDefaultSize ;
21093 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
21094 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
21095 wxString const &arg8_defvalue = wxPyFrameNameStr ;
21096 wxString *arg8 = (wxString *) &arg8_defvalue ;
21097 bool result;
21098 void *argp1 = 0 ;
21099 int res1 = 0 ;
21100 void *argp2 = 0 ;
21101 int res2 = 0 ;
21102 int val3 ;
21103 int ecode3 = 0 ;
21104 bool temp4 = false ;
21105 wxPoint temp5 ;
21106 wxSize temp6 ;
21107 long val7 ;
21108 int ecode7 = 0 ;
21109 bool temp8 = false ;
21110 PyObject * obj0 = 0 ;
21111 PyObject * obj1 = 0 ;
21112 PyObject * obj2 = 0 ;
21113 PyObject * obj3 = 0 ;
21114 PyObject * obj4 = 0 ;
21115 PyObject * obj5 = 0 ;
21116 PyObject * obj6 = 0 ;
21117 PyObject * obj7 = 0 ;
21118 char * kwnames[] = {
21119 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21120 };
21121
21122 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
21123 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21124 if (!SWIG_IsOK(res1)) {
21125 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21126 }
21127 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21128 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
21129 if (!SWIG_IsOK(res2)) {
21130 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21131 }
21132 arg2 = reinterpret_cast< wxWindow * >(argp2);
21133 if (obj2) {
21134 ecode3 = SWIG_AsVal_int(obj2, &val3);
21135 if (!SWIG_IsOK(ecode3)) {
21136 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
21137 }
21138 arg3 = static_cast< int >(val3);
21139 }
21140 if (obj3) {
21141 {
21142 arg4 = wxString_in_helper(obj3);
21143 if (arg4 == NULL) SWIG_fail;
21144 temp4 = true;
21145 }
21146 }
21147 if (obj4) {
21148 {
21149 arg5 = &temp5;
21150 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
21151 }
21152 }
21153 if (obj5) {
21154 {
21155 arg6 = &temp6;
21156 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
21157 }
21158 }
21159 if (obj6) {
21160 ecode7 = SWIG_AsVal_long(obj6, &val7);
21161 if (!SWIG_IsOK(ecode7)) {
21162 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
21163 }
21164 arg7 = static_cast< long >(val7);
21165 }
21166 if (obj7) {
21167 {
21168 arg8 = wxString_in_helper(obj7);
21169 if (arg8 == NULL) SWIG_fail;
21170 temp8 = true;
21171 }
21172 }
21173 {
21174 PyThreadState* __tstate = wxPyBeginAllowThreads();
21175 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
21176 wxPyEndAllowThreads(__tstate);
21177 if (PyErr_Occurred()) SWIG_fail;
21178 }
21179 {
21180 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21181 }
21182 {
21183 if (temp4)
21184 delete arg4;
21185 }
21186 {
21187 if (temp8)
21188 delete arg8;
21189 }
21190 return resultobj;
21191 fail:
21192 {
21193 if (temp4)
21194 delete arg4;
21195 }
21196 {
21197 if (temp8)
21198 delete arg8;
21199 }
21200 return NULL;
21201 }
21202
21203
21204 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21205 PyObject *resultobj = 0;
21206 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21207 void *argp1 = 0 ;
21208 int res1 = 0 ;
21209 PyObject *swig_obj[1] ;
21210
21211 if (!args) SWIG_fail;
21212 swig_obj[0] = args;
21213 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21214 if (!SWIG_IsOK(res1)) {
21215 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21216 }
21217 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21218 {
21219 PyThreadState* __tstate = wxPyBeginAllowThreads();
21220 (arg1)->ActivateNext();
21221 wxPyEndAllowThreads(__tstate);
21222 if (PyErr_Occurred()) SWIG_fail;
21223 }
21224 resultobj = SWIG_Py_Void();
21225 return resultobj;
21226 fail:
21227 return NULL;
21228 }
21229
21230
21231 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21232 PyObject *resultobj = 0;
21233 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21234 void *argp1 = 0 ;
21235 int res1 = 0 ;
21236 PyObject *swig_obj[1] ;
21237
21238 if (!args) SWIG_fail;
21239 swig_obj[0] = args;
21240 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21241 if (!SWIG_IsOK(res1)) {
21242 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21243 }
21244 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21245 {
21246 PyThreadState* __tstate = wxPyBeginAllowThreads();
21247 (arg1)->ActivatePrevious();
21248 wxPyEndAllowThreads(__tstate);
21249 if (PyErr_Occurred()) SWIG_fail;
21250 }
21251 resultobj = SWIG_Py_Void();
21252 return resultobj;
21253 fail:
21254 return NULL;
21255 }
21256
21257
21258 SWIGINTERN PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21259 PyObject *resultobj = 0;
21260 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21261 void *argp1 = 0 ;
21262 int res1 = 0 ;
21263 PyObject *swig_obj[1] ;
21264
21265 if (!args) SWIG_fail;
21266 swig_obj[0] = args;
21267 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21268 if (!SWIG_IsOK(res1)) {
21269 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21270 }
21271 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21272 {
21273 PyThreadState* __tstate = wxPyBeginAllowThreads();
21274 (arg1)->ArrangeIcons();
21275 wxPyEndAllowThreads(__tstate);
21276 if (PyErr_Occurred()) SWIG_fail;
21277 }
21278 resultobj = SWIG_Py_Void();
21279 return resultobj;
21280 fail:
21281 return NULL;
21282 }
21283
21284
21285 SWIGINTERN PyObject *_wrap_MDIParentFrame_Cascade(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21286 PyObject *resultobj = 0;
21287 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21288 void *argp1 = 0 ;
21289 int res1 = 0 ;
21290 PyObject *swig_obj[1] ;
21291
21292 if (!args) SWIG_fail;
21293 swig_obj[0] = args;
21294 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21295 if (!SWIG_IsOK(res1)) {
21296 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21297 }
21298 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21299 {
21300 PyThreadState* __tstate = wxPyBeginAllowThreads();
21301 (arg1)->Cascade();
21302 wxPyEndAllowThreads(__tstate);
21303 if (PyErr_Occurred()) SWIG_fail;
21304 }
21305 resultobj = SWIG_Py_Void();
21306 return resultobj;
21307 fail:
21308 return NULL;
21309 }
21310
21311
21312 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21313 PyObject *resultobj = 0;
21314 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21315 wxMDIChildFrame *result = 0 ;
21316 void *argp1 = 0 ;
21317 int res1 = 0 ;
21318 PyObject *swig_obj[1] ;
21319
21320 if (!args) SWIG_fail;
21321 swig_obj[0] = args;
21322 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21323 if (!SWIG_IsOK(res1)) {
21324 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21325 }
21326 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21327 {
21328 PyThreadState* __tstate = wxPyBeginAllowThreads();
21329 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
21330 wxPyEndAllowThreads(__tstate);
21331 if (PyErr_Occurred()) SWIG_fail;
21332 }
21333 {
21334 resultobj = wxPyMake_wxObject(result, (bool)0);
21335 }
21336 return resultobj;
21337 fail:
21338 return NULL;
21339 }
21340
21341
21342 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21343 PyObject *resultobj = 0;
21344 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21345 wxMDIClientWindow *result = 0 ;
21346 void *argp1 = 0 ;
21347 int res1 = 0 ;
21348 PyObject *swig_obj[1] ;
21349
21350 if (!args) SWIG_fail;
21351 swig_obj[0] = args;
21352 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21353 if (!SWIG_IsOK(res1)) {
21354 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21355 }
21356 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21357 {
21358 PyThreadState* __tstate = wxPyBeginAllowThreads();
21359 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
21360 wxPyEndAllowThreads(__tstate);
21361 if (PyErr_Occurred()) SWIG_fail;
21362 }
21363 {
21364 resultobj = wxPyMake_wxObject(result, (bool)0);
21365 }
21366 return resultobj;
21367 fail:
21368 return NULL;
21369 }
21370
21371
21372 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetWindowMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21373 PyObject *resultobj = 0;
21374 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21375 wxMenu *result = 0 ;
21376 void *argp1 = 0 ;
21377 int res1 = 0 ;
21378 PyObject *swig_obj[1] ;
21379
21380 if (!args) SWIG_fail;
21381 swig_obj[0] = args;
21382 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21383 if (!SWIG_IsOK(res1)) {
21384 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21385 }
21386 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21387 {
21388 PyThreadState* __tstate = wxPyBeginAllowThreads();
21389 result = (wxMenu *)(arg1)->GetWindowMenu();
21390 wxPyEndAllowThreads(__tstate);
21391 if (PyErr_Occurred()) SWIG_fail;
21392 }
21393 {
21394 resultobj = wxPyMake_wxObject(result, 0);
21395 }
21396 return resultobj;
21397 fail:
21398 return NULL;
21399 }
21400
21401
21402 SWIGINTERN PyObject *_wrap_MDIParentFrame_SetWindowMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21403 PyObject *resultobj = 0;
21404 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21405 wxMenu *arg2 = (wxMenu *) 0 ;
21406 void *argp1 = 0 ;
21407 int res1 = 0 ;
21408 void *argp2 = 0 ;
21409 int res2 = 0 ;
21410 PyObject * obj0 = 0 ;
21411 PyObject * obj1 = 0 ;
21412 char * kwnames[] = {
21413 (char *) "self",(char *) "menu", NULL
21414 };
21415
21416 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames,&obj0,&obj1)) SWIG_fail;
21417 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21418 if (!SWIG_IsOK(res1)) {
21419 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21420 }
21421 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21422 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
21423 if (!SWIG_IsOK(res2)) {
21424 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
21425 }
21426 arg2 = reinterpret_cast< wxMenu * >(argp2);
21427 {
21428 PyThreadState* __tstate = wxPyBeginAllowThreads();
21429 (arg1)->SetWindowMenu(arg2);
21430 wxPyEndAllowThreads(__tstate);
21431 if (PyErr_Occurred()) SWIG_fail;
21432 }
21433 resultobj = SWIG_Py_Void();
21434 return resultobj;
21435 fail:
21436 return NULL;
21437 }
21438
21439
21440 SWIGINTERN PyObject *_wrap_MDIParentFrame_Tile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21441 PyObject *resultobj = 0;
21442 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21443 wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ;
21444 void *argp1 = 0 ;
21445 int res1 = 0 ;
21446 int val2 ;
21447 int ecode2 = 0 ;
21448 PyObject * obj0 = 0 ;
21449 PyObject * obj1 = 0 ;
21450 char * kwnames[] = {
21451 (char *) "self",(char *) "orient", NULL
21452 };
21453
21454 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) SWIG_fail;
21455 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21456 if (!SWIG_IsOK(res1)) {
21457 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21458 }
21459 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21460 if (obj1) {
21461 ecode2 = SWIG_AsVal_int(obj1, &val2);
21462 if (!SWIG_IsOK(ecode2)) {
21463 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
21464 }
21465 arg2 = static_cast< wxOrientation >(val2);
21466 }
21467 {
21468 PyThreadState* __tstate = wxPyBeginAllowThreads();
21469 (arg1)->Tile(arg2);
21470 wxPyEndAllowThreads(__tstate);
21471 if (PyErr_Occurred()) SWIG_fail;
21472 }
21473 resultobj = SWIG_Py_Void();
21474 return resultobj;
21475 fail:
21476 return NULL;
21477 }
21478
21479
21480 SWIGINTERN PyObject *MDIParentFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21481 PyObject *obj;
21482 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21483 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame, SWIG_NewClientData(obj));
21484 return SWIG_Py_Void();
21485 }
21486
21487 SWIGINTERN PyObject *MDIParentFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21488 return SWIG_Python_InitShadowInstance(args);
21489 }
21490
21491 SWIGINTERN PyObject *_wrap_new_MDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21492 PyObject *resultobj = 0;
21493 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21494 int arg2 = (int) (int)-1 ;
21495 wxString const &arg3_defvalue = wxPyEmptyString ;
21496 wxString *arg3 = (wxString *) &arg3_defvalue ;
21497 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21498 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21499 wxSize const &arg5_defvalue = wxDefaultSize ;
21500 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21501 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
21502 wxString const &arg7_defvalue = wxPyFrameNameStr ;
21503 wxString *arg7 = (wxString *) &arg7_defvalue ;
21504 wxMDIChildFrame *result = 0 ;
21505 void *argp1 = 0 ;
21506 int res1 = 0 ;
21507 int val2 ;
21508 int ecode2 = 0 ;
21509 bool temp3 = false ;
21510 wxPoint temp4 ;
21511 wxSize temp5 ;
21512 long val6 ;
21513 int ecode6 = 0 ;
21514 bool temp7 = false ;
21515 PyObject * obj0 = 0 ;
21516 PyObject * obj1 = 0 ;
21517 PyObject * obj2 = 0 ;
21518 PyObject * obj3 = 0 ;
21519 PyObject * obj4 = 0 ;
21520 PyObject * obj5 = 0 ;
21521 PyObject * obj6 = 0 ;
21522 char * kwnames[] = {
21523 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21524 };
21525
21526 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
21527 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21528 if (!SWIG_IsOK(res1)) {
21529 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21530 }
21531 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21532 if (obj1) {
21533 ecode2 = SWIG_AsVal_int(obj1, &val2);
21534 if (!SWIG_IsOK(ecode2)) {
21535 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
21536 }
21537 arg2 = static_cast< int >(val2);
21538 }
21539 if (obj2) {
21540 {
21541 arg3 = wxString_in_helper(obj2);
21542 if (arg3 == NULL) SWIG_fail;
21543 temp3 = true;
21544 }
21545 }
21546 if (obj3) {
21547 {
21548 arg4 = &temp4;
21549 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21550 }
21551 }
21552 if (obj4) {
21553 {
21554 arg5 = &temp5;
21555 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21556 }
21557 }
21558 if (obj5) {
21559 ecode6 = SWIG_AsVal_long(obj5, &val6);
21560 if (!SWIG_IsOK(ecode6)) {
21561 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
21562 }
21563 arg6 = static_cast< long >(val6);
21564 }
21565 if (obj6) {
21566 {
21567 arg7 = wxString_in_helper(obj6);
21568 if (arg7 == NULL) SWIG_fail;
21569 temp7 = true;
21570 }
21571 }
21572 {
21573 if (!wxPyCheckForApp()) SWIG_fail;
21574 PyThreadState* __tstate = wxPyBeginAllowThreads();
21575 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21576 wxPyEndAllowThreads(__tstate);
21577 if (PyErr_Occurred()) SWIG_fail;
21578 }
21579 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_NEW | 0 );
21580 {
21581 if (temp3)
21582 delete arg3;
21583 }
21584 {
21585 if (temp7)
21586 delete arg7;
21587 }
21588 return resultobj;
21589 fail:
21590 {
21591 if (temp3)
21592 delete arg3;
21593 }
21594 {
21595 if (temp7)
21596 delete arg7;
21597 }
21598 return NULL;
21599 }
21600
21601
21602 SWIGINTERN PyObject *_wrap_new_PreMDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21603 PyObject *resultobj = 0;
21604 wxMDIChildFrame *result = 0 ;
21605
21606 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIChildFrame",0,0,0)) SWIG_fail;
21607 {
21608 if (!wxPyCheckForApp()) SWIG_fail;
21609 PyThreadState* __tstate = wxPyBeginAllowThreads();
21610 result = (wxMDIChildFrame *)new wxMDIChildFrame();
21611 wxPyEndAllowThreads(__tstate);
21612 if (PyErr_Occurred()) SWIG_fail;
21613 }
21614 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_OWN | 0 );
21615 return resultobj;
21616 fail:
21617 return NULL;
21618 }
21619
21620
21621 SWIGINTERN PyObject *_wrap_MDIChildFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21622 PyObject *resultobj = 0;
21623 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
21624 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
21625 int arg3 = (int) (int)-1 ;
21626 wxString const &arg4_defvalue = wxPyEmptyString ;
21627 wxString *arg4 = (wxString *) &arg4_defvalue ;
21628 wxPoint const &arg5_defvalue = wxDefaultPosition ;
21629 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
21630 wxSize const &arg6_defvalue = wxDefaultSize ;
21631 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
21632 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
21633 wxString const &arg8_defvalue = wxPyFrameNameStr ;
21634 wxString *arg8 = (wxString *) &arg8_defvalue ;
21635 bool result;
21636 void *argp1 = 0 ;
21637 int res1 = 0 ;
21638 void *argp2 = 0 ;
21639 int res2 = 0 ;
21640 int val3 ;
21641 int ecode3 = 0 ;
21642 bool temp4 = false ;
21643 wxPoint temp5 ;
21644 wxSize temp6 ;
21645 long val7 ;
21646 int ecode7 = 0 ;
21647 bool temp8 = false ;
21648 PyObject * obj0 = 0 ;
21649 PyObject * obj1 = 0 ;
21650 PyObject * obj2 = 0 ;
21651 PyObject * obj3 = 0 ;
21652 PyObject * obj4 = 0 ;
21653 PyObject * obj5 = 0 ;
21654 PyObject * obj6 = 0 ;
21655 PyObject * obj7 = 0 ;
21656 char * kwnames[] = {
21657 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21658 };
21659
21660 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
21661 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
21662 if (!SWIG_IsOK(res1)) {
21663 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21664 }
21665 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
21666 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21667 if (!SWIG_IsOK(res2)) {
21668 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21669 }
21670 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21671 if (obj2) {
21672 ecode3 = SWIG_AsVal_int(obj2, &val3);
21673 if (!SWIG_IsOK(ecode3)) {
21674 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
21675 }
21676 arg3 = static_cast< int >(val3);
21677 }
21678 if (obj3) {
21679 {
21680 arg4 = wxString_in_helper(obj3);
21681 if (arg4 == NULL) SWIG_fail;
21682 temp4 = true;
21683 }
21684 }
21685 if (obj4) {
21686 {
21687 arg5 = &temp5;
21688 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
21689 }
21690 }
21691 if (obj5) {
21692 {
21693 arg6 = &temp6;
21694 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
21695 }
21696 }
21697 if (obj6) {
21698 ecode7 = SWIG_AsVal_long(obj6, &val7);
21699 if (!SWIG_IsOK(ecode7)) {
21700 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
21701 }
21702 arg7 = static_cast< long >(val7);
21703 }
21704 if (obj7) {
21705 {
21706 arg8 = wxString_in_helper(obj7);
21707 if (arg8 == NULL) SWIG_fail;
21708 temp8 = true;
21709 }
21710 }
21711 {
21712 PyThreadState* __tstate = wxPyBeginAllowThreads();
21713 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
21714 wxPyEndAllowThreads(__tstate);
21715 if (PyErr_Occurred()) SWIG_fail;
21716 }
21717 {
21718 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21719 }
21720 {
21721 if (temp4)
21722 delete arg4;
21723 }
21724 {
21725 if (temp8)
21726 delete arg8;
21727 }
21728 return resultobj;
21729 fail:
21730 {
21731 if (temp4)
21732 delete arg4;
21733 }
21734 {
21735 if (temp8)
21736 delete arg8;
21737 }
21738 return NULL;
21739 }
21740
21741
21742 SWIGINTERN PyObject *_wrap_MDIChildFrame_Activate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21743 PyObject *resultobj = 0;
21744 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
21745 void *argp1 = 0 ;
21746 int res1 = 0 ;
21747 PyObject *swig_obj[1] ;
21748
21749 if (!args) SWIG_fail;
21750 swig_obj[0] = args;
21751 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
21752 if (!SWIG_IsOK(res1)) {
21753 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21754 }
21755 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
21756 {
21757 PyThreadState* __tstate = wxPyBeginAllowThreads();
21758 (arg1)->Activate();
21759 wxPyEndAllowThreads(__tstate);
21760 if (PyErr_Occurred()) SWIG_fail;
21761 }
21762 resultobj = SWIG_Py_Void();
21763 return resultobj;
21764 fail:
21765 return NULL;
21766 }
21767
21768
21769 SWIGINTERN PyObject *MDIChildFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21770 PyObject *obj;
21771 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21772 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame, SWIG_NewClientData(obj));
21773 return SWIG_Py_Void();
21774 }
21775
21776 SWIGINTERN PyObject *MDIChildFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21777 return SWIG_Python_InitShadowInstance(args);
21778 }
21779
21780 SWIGINTERN PyObject *_wrap_new_MDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21781 PyObject *resultobj = 0;
21782 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21783 long arg2 = (long) 0 ;
21784 wxMDIClientWindow *result = 0 ;
21785 void *argp1 = 0 ;
21786 int res1 = 0 ;
21787 long val2 ;
21788 int ecode2 = 0 ;
21789 PyObject * obj0 = 0 ;
21790 PyObject * obj1 = 0 ;
21791 char * kwnames[] = {
21792 (char *) "parent",(char *) "style", NULL
21793 };
21794
21795 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
21796 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21797 if (!SWIG_IsOK(res1)) {
21798 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21799 }
21800 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21801 if (obj1) {
21802 ecode2 = SWIG_AsVal_long(obj1, &val2);
21803 if (!SWIG_IsOK(ecode2)) {
21804 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
21805 }
21806 arg2 = static_cast< long >(val2);
21807 }
21808 {
21809 if (!wxPyCheckForApp()) SWIG_fail;
21810 PyThreadState* __tstate = wxPyBeginAllowThreads();
21811 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
21812 wxPyEndAllowThreads(__tstate);
21813 if (PyErr_Occurred()) SWIG_fail;
21814 }
21815 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_NEW | 0 );
21816 return resultobj;
21817 fail:
21818 return NULL;
21819 }
21820
21821
21822 SWIGINTERN PyObject *_wrap_new_PreMDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21823 PyObject *resultobj = 0;
21824 wxMDIClientWindow *result = 0 ;
21825
21826 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIClientWindow",0,0,0)) SWIG_fail;
21827 {
21828 if (!wxPyCheckForApp()) SWIG_fail;
21829 PyThreadState* __tstate = wxPyBeginAllowThreads();
21830 result = (wxMDIClientWindow *)new wxMDIClientWindow();
21831 wxPyEndAllowThreads(__tstate);
21832 if (PyErr_Occurred()) SWIG_fail;
21833 }
21834 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_OWN | 0 );
21835 return resultobj;
21836 fail:
21837 return NULL;
21838 }
21839
21840
21841 SWIGINTERN PyObject *_wrap_MDIClientWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21842 PyObject *resultobj = 0;
21843 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
21844 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
21845 long arg3 = (long) 0 ;
21846 bool result;
21847 void *argp1 = 0 ;
21848 int res1 = 0 ;
21849 void *argp2 = 0 ;
21850 int res2 = 0 ;
21851 long val3 ;
21852 int ecode3 = 0 ;
21853 PyObject * obj0 = 0 ;
21854 PyObject * obj1 = 0 ;
21855 PyObject * obj2 = 0 ;
21856 char * kwnames[] = {
21857 (char *) "self",(char *) "parent",(char *) "style", NULL
21858 };
21859
21860 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21861 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIClientWindow, 0 | 0 );
21862 if (!SWIG_IsOK(res1)) {
21863 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21864 }
21865 arg1 = reinterpret_cast< wxMDIClientWindow * >(argp1);
21866 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21867 if (!SWIG_IsOK(res2)) {
21868 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21869 }
21870 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21871 if (obj2) {
21872 ecode3 = SWIG_AsVal_long(obj2, &val3);
21873 if (!SWIG_IsOK(ecode3)) {
21874 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21875 }
21876 arg3 = static_cast< long >(val3);
21877 }
21878 {
21879 PyThreadState* __tstate = wxPyBeginAllowThreads();
21880 result = (bool)(arg1)->Create(arg2,arg3);
21881 wxPyEndAllowThreads(__tstate);
21882 if (PyErr_Occurred()) SWIG_fail;
21883 }
21884 {
21885 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21886 }
21887 return resultobj;
21888 fail:
21889 return NULL;
21890 }
21891
21892
21893 SWIGINTERN PyObject *MDIClientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21894 PyObject *obj;
21895 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21896 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow, SWIG_NewClientData(obj));
21897 return SWIG_Py_Void();
21898 }
21899
21900 SWIGINTERN PyObject *MDIClientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21901 return SWIG_Python_InitShadowInstance(args);
21902 }
21903
21904 SWIGINTERN PyObject *_wrap_new_PyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21905 PyObject *resultobj = 0;
21906 wxWindow *arg1 = (wxWindow *) 0 ;
21907 int arg2 = (int) (int)-1 ;
21908 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21909 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21910 wxSize const &arg4_defvalue = wxDefaultSize ;
21911 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21912 long arg5 = (long) 0 ;
21913 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21914 wxString *arg6 = (wxString *) &arg6_defvalue ;
21915 wxPyWindow *result = 0 ;
21916 void *argp1 = 0 ;
21917 int res1 = 0 ;
21918 int val2 ;
21919 int ecode2 = 0 ;
21920 wxPoint temp3 ;
21921 wxSize temp4 ;
21922 long val5 ;
21923 int ecode5 = 0 ;
21924 bool temp6 = false ;
21925 PyObject * obj0 = 0 ;
21926 PyObject * obj1 = 0 ;
21927 PyObject * obj2 = 0 ;
21928 PyObject * obj3 = 0 ;
21929 PyObject * obj4 = 0 ;
21930 PyObject * obj5 = 0 ;
21931 char * kwnames[] = {
21932 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21933 };
21934
21935 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21936 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21937 if (!SWIG_IsOK(res1)) {
21938 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21939 }
21940 arg1 = reinterpret_cast< wxWindow * >(argp1);
21941 if (obj1) {
21942 ecode2 = SWIG_AsVal_int(obj1, &val2);
21943 if (!SWIG_IsOK(ecode2)) {
21944 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21945 }
21946 arg2 = static_cast< int >(val2);
21947 }
21948 if (obj2) {
21949 {
21950 arg3 = &temp3;
21951 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21952 }
21953 }
21954 if (obj3) {
21955 {
21956 arg4 = &temp4;
21957 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21958 }
21959 }
21960 if (obj4) {
21961 ecode5 = SWIG_AsVal_long(obj4, &val5);
21962 if (!SWIG_IsOK(ecode5)) {
21963 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21964 }
21965 arg5 = static_cast< long >(val5);
21966 }
21967 if (obj5) {
21968 {
21969 arg6 = wxString_in_helper(obj5);
21970 if (arg6 == NULL) SWIG_fail;
21971 temp6 = true;
21972 }
21973 }
21974 {
21975 if (!wxPyCheckForApp()) SWIG_fail;
21976 PyThreadState* __tstate = wxPyBeginAllowThreads();
21977 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21978 wxPyEndAllowThreads(__tstate);
21979 if (PyErr_Occurred()) SWIG_fail;
21980 }
21981 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_NEW | 0 );
21982 {
21983 if (temp6)
21984 delete arg6;
21985 }
21986 return resultobj;
21987 fail:
21988 {
21989 if (temp6)
21990 delete arg6;
21991 }
21992 return NULL;
21993 }
21994
21995
21996 SWIGINTERN PyObject *_wrap_new_PrePyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21997 PyObject *resultobj = 0;
21998 wxPyWindow *result = 0 ;
21999
22000 if (!SWIG_Python_UnpackTuple(args,"new_PrePyWindow",0,0,0)) SWIG_fail;
22001 {
22002 if (!wxPyCheckForApp()) SWIG_fail;
22003 PyThreadState* __tstate = wxPyBeginAllowThreads();
22004 result = (wxPyWindow *)new wxPyWindow();
22005 wxPyEndAllowThreads(__tstate);
22006 if (PyErr_Occurred()) SWIG_fail;
22007 }
22008 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_OWN | 0 );
22009 return resultobj;
22010 fail:
22011 return NULL;
22012 }
22013
22014
22015 SWIGINTERN PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22016 PyObject *resultobj = 0;
22017 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22018 PyObject *arg2 = (PyObject *) 0 ;
22019 PyObject *arg3 = (PyObject *) 0 ;
22020 void *argp1 = 0 ;
22021 int res1 = 0 ;
22022 PyObject * obj0 = 0 ;
22023 PyObject * obj1 = 0 ;
22024 PyObject * obj2 = 0 ;
22025 char * kwnames[] = {
22026 (char *) "self",(char *) "self",(char *) "_class", NULL
22027 };
22028
22029 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22030 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22031 if (!SWIG_IsOK(res1)) {
22032 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22033 }
22034 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22035 arg2 = obj1;
22036 arg3 = obj2;
22037 {
22038 PyThreadState* __tstate = wxPyBeginAllowThreads();
22039 (arg1)->_setCallbackInfo(arg2,arg3);
22040 wxPyEndAllowThreads(__tstate);
22041 if (PyErr_Occurred()) SWIG_fail;
22042 }
22043 resultobj = SWIG_Py_Void();
22044 return resultobj;
22045 fail:
22046 return NULL;
22047 }
22048
22049
22050 SWIGINTERN PyObject *_wrap_PyWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22051 PyObject *resultobj = 0;
22052 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22053 wxDC *arg2 = (wxDC *) 0 ;
22054 bool result;
22055 void *argp1 = 0 ;
22056 int res1 = 0 ;
22057 void *argp2 = 0 ;
22058 int res2 = 0 ;
22059 PyObject * obj0 = 0 ;
22060 PyObject * obj1 = 0 ;
22061 char * kwnames[] = {
22062 (char *) "self",(char *) "dc", NULL
22063 };
22064
22065 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
22066 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22067 if (!SWIG_IsOK(res1)) {
22068 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22069 }
22070 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22071 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
22072 if (!SWIG_IsOK(res2)) {
22073 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22074 }
22075 arg2 = reinterpret_cast< wxDC * >(argp2);
22076 {
22077 PyThreadState* __tstate = wxPyBeginAllowThreads();
22078 result = (bool)(arg1)->DoEraseBackground(arg2);
22079 wxPyEndAllowThreads(__tstate);
22080 if (PyErr_Occurred()) SWIG_fail;
22081 }
22082 {
22083 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22084 }
22085 return resultobj;
22086 fail:
22087 return NULL;
22088 }
22089
22090
22091 SWIGINTERN PyObject *_wrap_PyWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22092 PyObject *resultobj = 0;
22093 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22094 int arg2 ;
22095 int arg3 ;
22096 int arg4 ;
22097 int arg5 ;
22098 void *argp1 = 0 ;
22099 int res1 = 0 ;
22100 int val2 ;
22101 int ecode2 = 0 ;
22102 int val3 ;
22103 int ecode3 = 0 ;
22104 int val4 ;
22105 int ecode4 = 0 ;
22106 int val5 ;
22107 int ecode5 = 0 ;
22108 PyObject * obj0 = 0 ;
22109 PyObject * obj1 = 0 ;
22110 PyObject * obj2 = 0 ;
22111 PyObject * obj3 = 0 ;
22112 PyObject * obj4 = 0 ;
22113 char * kwnames[] = {
22114 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22115 };
22116
22117 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22118 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22119 if (!SWIG_IsOK(res1)) {
22120 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22121 }
22122 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22123 ecode2 = SWIG_AsVal_int(obj1, &val2);
22124 if (!SWIG_IsOK(ecode2)) {
22125 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22126 }
22127 arg2 = static_cast< int >(val2);
22128 ecode3 = SWIG_AsVal_int(obj2, &val3);
22129 if (!SWIG_IsOK(ecode3)) {
22130 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22131 }
22132 arg3 = static_cast< int >(val3);
22133 ecode4 = SWIG_AsVal_int(obj3, &val4);
22134 if (!SWIG_IsOK(ecode4)) {
22135 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22136 }
22137 arg4 = static_cast< int >(val4);
22138 ecode5 = SWIG_AsVal_int(obj4, &val5);
22139 if (!SWIG_IsOK(ecode5)) {
22140 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22141 }
22142 arg5 = static_cast< int >(val5);
22143 {
22144 PyThreadState* __tstate = wxPyBeginAllowThreads();
22145 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
22146 wxPyEndAllowThreads(__tstate);
22147 if (PyErr_Occurred()) SWIG_fail;
22148 }
22149 resultobj = SWIG_Py_Void();
22150 return resultobj;
22151 fail:
22152 return NULL;
22153 }
22154
22155
22156 SWIGINTERN PyObject *_wrap_PyWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22157 PyObject *resultobj = 0;
22158 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22159 int arg2 ;
22160 int arg3 ;
22161 int arg4 ;
22162 int arg5 ;
22163 int arg6 = (int) wxSIZE_AUTO ;
22164 void *argp1 = 0 ;
22165 int res1 = 0 ;
22166 int val2 ;
22167 int ecode2 = 0 ;
22168 int val3 ;
22169 int ecode3 = 0 ;
22170 int val4 ;
22171 int ecode4 = 0 ;
22172 int val5 ;
22173 int ecode5 = 0 ;
22174 int val6 ;
22175 int ecode6 = 0 ;
22176 PyObject * obj0 = 0 ;
22177 PyObject * obj1 = 0 ;
22178 PyObject * obj2 = 0 ;
22179 PyObject * obj3 = 0 ;
22180 PyObject * obj4 = 0 ;
22181 PyObject * obj5 = 0 ;
22182 char * kwnames[] = {
22183 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22184 };
22185
22186 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22187 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22188 if (!SWIG_IsOK(res1)) {
22189 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22190 }
22191 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22192 ecode2 = SWIG_AsVal_int(obj1, &val2);
22193 if (!SWIG_IsOK(ecode2)) {
22194 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22195 }
22196 arg2 = static_cast< int >(val2);
22197 ecode3 = SWIG_AsVal_int(obj2, &val3);
22198 if (!SWIG_IsOK(ecode3)) {
22199 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22200 }
22201 arg3 = static_cast< int >(val3);
22202 ecode4 = SWIG_AsVal_int(obj3, &val4);
22203 if (!SWIG_IsOK(ecode4)) {
22204 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22205 }
22206 arg4 = static_cast< int >(val4);
22207 ecode5 = SWIG_AsVal_int(obj4, &val5);
22208 if (!SWIG_IsOK(ecode5)) {
22209 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22210 }
22211 arg5 = static_cast< int >(val5);
22212 if (obj5) {
22213 ecode6 = SWIG_AsVal_int(obj5, &val6);
22214 if (!SWIG_IsOK(ecode6)) {
22215 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22216 }
22217 arg6 = static_cast< int >(val6);
22218 }
22219 {
22220 PyThreadState* __tstate = wxPyBeginAllowThreads();
22221 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
22222 wxPyEndAllowThreads(__tstate);
22223 if (PyErr_Occurred()) SWIG_fail;
22224 }
22225 resultobj = SWIG_Py_Void();
22226 return resultobj;
22227 fail:
22228 return NULL;
22229 }
22230
22231
22232 SWIGINTERN PyObject *_wrap_PyWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22233 PyObject *resultobj = 0;
22234 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22235 int arg2 ;
22236 int arg3 ;
22237 void *argp1 = 0 ;
22238 int res1 = 0 ;
22239 int val2 ;
22240 int ecode2 = 0 ;
22241 int val3 ;
22242 int ecode3 = 0 ;
22243 PyObject * obj0 = 0 ;
22244 PyObject * obj1 = 0 ;
22245 PyObject * obj2 = 0 ;
22246 char * kwnames[] = {
22247 (char *) "self",(char *) "width",(char *) "height", NULL
22248 };
22249
22250 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22251 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22252 if (!SWIG_IsOK(res1)) {
22253 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22254 }
22255 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22256 ecode2 = SWIG_AsVal_int(obj1, &val2);
22257 if (!SWIG_IsOK(ecode2)) {
22258 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22259 }
22260 arg2 = static_cast< int >(val2);
22261 ecode3 = SWIG_AsVal_int(obj2, &val3);
22262 if (!SWIG_IsOK(ecode3)) {
22263 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22264 }
22265 arg3 = static_cast< int >(val3);
22266 {
22267 PyThreadState* __tstate = wxPyBeginAllowThreads();
22268 (arg1)->DoSetClientSize(arg2,arg3);
22269 wxPyEndAllowThreads(__tstate);
22270 if (PyErr_Occurred()) SWIG_fail;
22271 }
22272 resultobj = SWIG_Py_Void();
22273 return resultobj;
22274 fail:
22275 return NULL;
22276 }
22277
22278
22279 SWIGINTERN PyObject *_wrap_PyWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22280 PyObject *resultobj = 0;
22281 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22282 int arg2 ;
22283 int arg3 ;
22284 void *argp1 = 0 ;
22285 int res1 = 0 ;
22286 int val2 ;
22287 int ecode2 = 0 ;
22288 int val3 ;
22289 int ecode3 = 0 ;
22290 PyObject * obj0 = 0 ;
22291 PyObject * obj1 = 0 ;
22292 PyObject * obj2 = 0 ;
22293 char * kwnames[] = {
22294 (char *) "self",(char *) "x",(char *) "y", NULL
22295 };
22296
22297 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22298 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22299 if (!SWIG_IsOK(res1)) {
22300 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22301 }
22302 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22303 ecode2 = SWIG_AsVal_int(obj1, &val2);
22304 if (!SWIG_IsOK(ecode2)) {
22305 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22306 }
22307 arg2 = static_cast< int >(val2);
22308 ecode3 = SWIG_AsVal_int(obj2, &val3);
22309 if (!SWIG_IsOK(ecode3)) {
22310 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22311 }
22312 arg3 = static_cast< int >(val3);
22313 {
22314 PyThreadState* __tstate = wxPyBeginAllowThreads();
22315 (arg1)->DoSetVirtualSize(arg2,arg3);
22316 wxPyEndAllowThreads(__tstate);
22317 if (PyErr_Occurred()) SWIG_fail;
22318 }
22319 resultobj = SWIG_Py_Void();
22320 return resultobj;
22321 fail:
22322 return NULL;
22323 }
22324
22325
22326 SWIGINTERN PyObject *_wrap_PyWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22327 PyObject *resultobj = 0;
22328 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22329 int *arg2 = (int *) 0 ;
22330 int *arg3 = (int *) 0 ;
22331 void *argp1 = 0 ;
22332 int res1 = 0 ;
22333 int temp2 ;
22334 int res2 = SWIG_TMPOBJ ;
22335 int temp3 ;
22336 int res3 = SWIG_TMPOBJ ;
22337 PyObject *swig_obj[1] ;
22338
22339 arg2 = &temp2;
22340 arg3 = &temp3;
22341 if (!args) SWIG_fail;
22342 swig_obj[0] = args;
22343 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22344 if (!SWIG_IsOK(res1)) {
22345 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22346 }
22347 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22348 {
22349 PyThreadState* __tstate = wxPyBeginAllowThreads();
22350 ((wxPyWindow const *)arg1)->DoGetSize(arg2,arg3);
22351 wxPyEndAllowThreads(__tstate);
22352 if (PyErr_Occurred()) SWIG_fail;
22353 }
22354 resultobj = SWIG_Py_Void();
22355 if (SWIG_IsTmpObj(res2)) {
22356 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22357 } else {
22358 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22359 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22360 }
22361 if (SWIG_IsTmpObj(res3)) {
22362 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22363 } else {
22364 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22365 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22366 }
22367 return resultobj;
22368 fail:
22369 return NULL;
22370 }
22371
22372
22373 SWIGINTERN PyObject *_wrap_PyWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22374 PyObject *resultobj = 0;
22375 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22376 int *arg2 = (int *) 0 ;
22377 int *arg3 = (int *) 0 ;
22378 void *argp1 = 0 ;
22379 int res1 = 0 ;
22380 int temp2 ;
22381 int res2 = SWIG_TMPOBJ ;
22382 int temp3 ;
22383 int res3 = SWIG_TMPOBJ ;
22384 PyObject *swig_obj[1] ;
22385
22386 arg2 = &temp2;
22387 arg3 = &temp3;
22388 if (!args) SWIG_fail;
22389 swig_obj[0] = args;
22390 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22391 if (!SWIG_IsOK(res1)) {
22392 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22393 }
22394 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22395 {
22396 PyThreadState* __tstate = wxPyBeginAllowThreads();
22397 ((wxPyWindow const *)arg1)->DoGetClientSize(arg2,arg3);
22398 wxPyEndAllowThreads(__tstate);
22399 if (PyErr_Occurred()) SWIG_fail;
22400 }
22401 resultobj = SWIG_Py_Void();
22402 if (SWIG_IsTmpObj(res2)) {
22403 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22404 } else {
22405 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22406 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22407 }
22408 if (SWIG_IsTmpObj(res3)) {
22409 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22410 } else {
22411 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22412 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22413 }
22414 return resultobj;
22415 fail:
22416 return NULL;
22417 }
22418
22419
22420 SWIGINTERN PyObject *_wrap_PyWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22421 PyObject *resultobj = 0;
22422 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22423 int *arg2 = (int *) 0 ;
22424 int *arg3 = (int *) 0 ;
22425 void *argp1 = 0 ;
22426 int res1 = 0 ;
22427 int temp2 ;
22428 int res2 = SWIG_TMPOBJ ;
22429 int temp3 ;
22430 int res3 = SWIG_TMPOBJ ;
22431 PyObject *swig_obj[1] ;
22432
22433 arg2 = &temp2;
22434 arg3 = &temp3;
22435 if (!args) SWIG_fail;
22436 swig_obj[0] = args;
22437 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22438 if (!SWIG_IsOK(res1)) {
22439 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22440 }
22441 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22442 {
22443 PyThreadState* __tstate = wxPyBeginAllowThreads();
22444 ((wxPyWindow const *)arg1)->DoGetPosition(arg2,arg3);
22445 wxPyEndAllowThreads(__tstate);
22446 if (PyErr_Occurred()) SWIG_fail;
22447 }
22448 resultobj = SWIG_Py_Void();
22449 if (SWIG_IsTmpObj(res2)) {
22450 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22451 } else {
22452 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22453 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22454 }
22455 if (SWIG_IsTmpObj(res3)) {
22456 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22457 } else {
22458 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22459 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22460 }
22461 return resultobj;
22462 fail:
22463 return NULL;
22464 }
22465
22466
22467 SWIGINTERN PyObject *_wrap_PyWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22468 PyObject *resultobj = 0;
22469 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22470 wxSize result;
22471 void *argp1 = 0 ;
22472 int res1 = 0 ;
22473 PyObject *swig_obj[1] ;
22474
22475 if (!args) SWIG_fail;
22476 swig_obj[0] = args;
22477 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22478 if (!SWIG_IsOK(res1)) {
22479 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22480 }
22481 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22482 {
22483 PyThreadState* __tstate = wxPyBeginAllowThreads();
22484 result = ((wxPyWindow const *)arg1)->DoGetVirtualSize();
22485 wxPyEndAllowThreads(__tstate);
22486 if (PyErr_Occurred()) SWIG_fail;
22487 }
22488 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22489 return resultobj;
22490 fail:
22491 return NULL;
22492 }
22493
22494
22495 SWIGINTERN PyObject *_wrap_PyWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22496 PyObject *resultobj = 0;
22497 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22498 wxSize result;
22499 void *argp1 = 0 ;
22500 int res1 = 0 ;
22501 PyObject *swig_obj[1] ;
22502
22503 if (!args) SWIG_fail;
22504 swig_obj[0] = args;
22505 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22506 if (!SWIG_IsOK(res1)) {
22507 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22508 }
22509 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22510 {
22511 PyThreadState* __tstate = wxPyBeginAllowThreads();
22512 result = ((wxPyWindow const *)arg1)->DoGetBestSize();
22513 wxPyEndAllowThreads(__tstate);
22514 if (PyErr_Occurred()) SWIG_fail;
22515 }
22516 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22517 return resultobj;
22518 fail:
22519 return NULL;
22520 }
22521
22522
22523 SWIGINTERN PyObject *_wrap_PyWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22524 PyObject *resultobj = 0;
22525 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22526 SwigValueWrapper<wxVisualAttributes > result;
22527 void *argp1 = 0 ;
22528 int res1 = 0 ;
22529 PyObject *swig_obj[1] ;
22530
22531 if (!args) SWIG_fail;
22532 swig_obj[0] = args;
22533 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22534 if (!SWIG_IsOK(res1)) {
22535 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22536 }
22537 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22538 {
22539 PyThreadState* __tstate = wxPyBeginAllowThreads();
22540 result = (arg1)->GetDefaultAttributes();
22541 wxPyEndAllowThreads(__tstate);
22542 if (PyErr_Occurred()) SWIG_fail;
22543 }
22544 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
22545 return resultobj;
22546 fail:
22547 return NULL;
22548 }
22549
22550
22551 SWIGINTERN PyObject *_wrap_PyWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22552 PyObject *resultobj = 0;
22553 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22554 void *argp1 = 0 ;
22555 int res1 = 0 ;
22556 PyObject *swig_obj[1] ;
22557
22558 if (!args) SWIG_fail;
22559 swig_obj[0] = args;
22560 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22561 if (!SWIG_IsOK(res1)) {
22562 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22563 }
22564 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22565 {
22566 PyThreadState* __tstate = wxPyBeginAllowThreads();
22567 (arg1)->OnInternalIdle();
22568 wxPyEndAllowThreads(__tstate);
22569 if (PyErr_Occurred()) SWIG_fail;
22570 }
22571 resultobj = SWIG_Py_Void();
22572 return resultobj;
22573 fail:
22574 return NULL;
22575 }
22576
22577
22578 SWIGINTERN PyObject *PyWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22579 PyObject *obj;
22580 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22581 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow, SWIG_NewClientData(obj));
22582 return SWIG_Py_Void();
22583 }
22584
22585 SWIGINTERN PyObject *PyWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22586 return SWIG_Python_InitShadowInstance(args);
22587 }
22588
22589 SWIGINTERN PyObject *_wrap_new_PyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22590 PyObject *resultobj = 0;
22591 wxWindow *arg1 = (wxWindow *) 0 ;
22592 int arg2 = (int) (int)-1 ;
22593 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22594 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22595 wxSize const &arg4_defvalue = wxDefaultSize ;
22596 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22597 long arg5 = (long) 0 ;
22598 wxString const &arg6_defvalue = wxPyPanelNameStr ;
22599 wxString *arg6 = (wxString *) &arg6_defvalue ;
22600 wxPyPanel *result = 0 ;
22601 void *argp1 = 0 ;
22602 int res1 = 0 ;
22603 int val2 ;
22604 int ecode2 = 0 ;
22605 wxPoint temp3 ;
22606 wxSize temp4 ;
22607 long val5 ;
22608 int ecode5 = 0 ;
22609 bool temp6 = false ;
22610 PyObject * obj0 = 0 ;
22611 PyObject * obj1 = 0 ;
22612 PyObject * obj2 = 0 ;
22613 PyObject * obj3 = 0 ;
22614 PyObject * obj4 = 0 ;
22615 PyObject * obj5 = 0 ;
22616 char * kwnames[] = {
22617 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22618 };
22619
22620 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22621 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22622 if (!SWIG_IsOK(res1)) {
22623 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
22624 }
22625 arg1 = reinterpret_cast< wxWindow * >(argp1);
22626 if (obj1) {
22627 ecode2 = SWIG_AsVal_int(obj1, &val2);
22628 if (!SWIG_IsOK(ecode2)) {
22629 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
22630 }
22631 arg2 = static_cast< int >(val2);
22632 }
22633 if (obj2) {
22634 {
22635 arg3 = &temp3;
22636 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22637 }
22638 }
22639 if (obj3) {
22640 {
22641 arg4 = &temp4;
22642 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22643 }
22644 }
22645 if (obj4) {
22646 ecode5 = SWIG_AsVal_long(obj4, &val5);
22647 if (!SWIG_IsOK(ecode5)) {
22648 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
22649 }
22650 arg5 = static_cast< long >(val5);
22651 }
22652 if (obj5) {
22653 {
22654 arg6 = wxString_in_helper(obj5);
22655 if (arg6 == NULL) SWIG_fail;
22656 temp6 = true;
22657 }
22658 }
22659 {
22660 if (!wxPyCheckForApp()) SWIG_fail;
22661 PyThreadState* __tstate = wxPyBeginAllowThreads();
22662 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22663 wxPyEndAllowThreads(__tstate);
22664 if (PyErr_Occurred()) SWIG_fail;
22665 }
22666 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_NEW | 0 );
22667 {
22668 if (temp6)
22669 delete arg6;
22670 }
22671 return resultobj;
22672 fail:
22673 {
22674 if (temp6)
22675 delete arg6;
22676 }
22677 return NULL;
22678 }
22679
22680
22681 SWIGINTERN PyObject *_wrap_new_PrePyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22682 PyObject *resultobj = 0;
22683 wxPyPanel *result = 0 ;
22684
22685 if (!SWIG_Python_UnpackTuple(args,"new_PrePyPanel",0,0,0)) SWIG_fail;
22686 {
22687 if (!wxPyCheckForApp()) SWIG_fail;
22688 PyThreadState* __tstate = wxPyBeginAllowThreads();
22689 result = (wxPyPanel *)new wxPyPanel();
22690 wxPyEndAllowThreads(__tstate);
22691 if (PyErr_Occurred()) SWIG_fail;
22692 }
22693 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_OWN | 0 );
22694 return resultobj;
22695 fail:
22696 return NULL;
22697 }
22698
22699
22700 SWIGINTERN PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22701 PyObject *resultobj = 0;
22702 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22703 PyObject *arg2 = (PyObject *) 0 ;
22704 PyObject *arg3 = (PyObject *) 0 ;
22705 void *argp1 = 0 ;
22706 int res1 = 0 ;
22707 PyObject * obj0 = 0 ;
22708 PyObject * obj1 = 0 ;
22709 PyObject * obj2 = 0 ;
22710 char * kwnames[] = {
22711 (char *) "self",(char *) "self",(char *) "_class", NULL
22712 };
22713
22714 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22715 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22716 if (!SWIG_IsOK(res1)) {
22717 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22718 }
22719 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22720 arg2 = obj1;
22721 arg3 = obj2;
22722 {
22723 PyThreadState* __tstate = wxPyBeginAllowThreads();
22724 (arg1)->_setCallbackInfo(arg2,arg3);
22725 wxPyEndAllowThreads(__tstate);
22726 if (PyErr_Occurred()) SWIG_fail;
22727 }
22728 resultobj = SWIG_Py_Void();
22729 return resultobj;
22730 fail:
22731 return NULL;
22732 }
22733
22734
22735 SWIGINTERN PyObject *_wrap_PyPanel_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22736 PyObject *resultobj = 0;
22737 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22738 wxDC *arg2 = (wxDC *) 0 ;
22739 bool result;
22740 void *argp1 = 0 ;
22741 int res1 = 0 ;
22742 void *argp2 = 0 ;
22743 int res2 = 0 ;
22744 PyObject * obj0 = 0 ;
22745 PyObject * obj1 = 0 ;
22746 char * kwnames[] = {
22747 (char *) "self",(char *) "dc", NULL
22748 };
22749
22750 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
22751 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22752 if (!SWIG_IsOK(res1)) {
22753 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22754 }
22755 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22756 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
22757 if (!SWIG_IsOK(res2)) {
22758 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22759 }
22760 arg2 = reinterpret_cast< wxDC * >(argp2);
22761 {
22762 PyThreadState* __tstate = wxPyBeginAllowThreads();
22763 result = (bool)(arg1)->DoEraseBackground(arg2);
22764 wxPyEndAllowThreads(__tstate);
22765 if (PyErr_Occurred()) SWIG_fail;
22766 }
22767 {
22768 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22769 }
22770 return resultobj;
22771 fail:
22772 return NULL;
22773 }
22774
22775
22776 SWIGINTERN PyObject *_wrap_PyPanel_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22777 PyObject *resultobj = 0;
22778 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22779 int arg2 ;
22780 int arg3 ;
22781 int arg4 ;
22782 int arg5 ;
22783 void *argp1 = 0 ;
22784 int res1 = 0 ;
22785 int val2 ;
22786 int ecode2 = 0 ;
22787 int val3 ;
22788 int ecode3 = 0 ;
22789 int val4 ;
22790 int ecode4 = 0 ;
22791 int val5 ;
22792 int ecode5 = 0 ;
22793 PyObject * obj0 = 0 ;
22794 PyObject * obj1 = 0 ;
22795 PyObject * obj2 = 0 ;
22796 PyObject * obj3 = 0 ;
22797 PyObject * obj4 = 0 ;
22798 char * kwnames[] = {
22799 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22800 };
22801
22802 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22803 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22804 if (!SWIG_IsOK(res1)) {
22805 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22806 }
22807 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22808 ecode2 = SWIG_AsVal_int(obj1, &val2);
22809 if (!SWIG_IsOK(ecode2)) {
22810 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22811 }
22812 arg2 = static_cast< int >(val2);
22813 ecode3 = SWIG_AsVal_int(obj2, &val3);
22814 if (!SWIG_IsOK(ecode3)) {
22815 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22816 }
22817 arg3 = static_cast< int >(val3);
22818 ecode4 = SWIG_AsVal_int(obj3, &val4);
22819 if (!SWIG_IsOK(ecode4)) {
22820 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22821 }
22822 arg4 = static_cast< int >(val4);
22823 ecode5 = SWIG_AsVal_int(obj4, &val5);
22824 if (!SWIG_IsOK(ecode5)) {
22825 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22826 }
22827 arg5 = static_cast< int >(val5);
22828 {
22829 PyThreadState* __tstate = wxPyBeginAllowThreads();
22830 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
22831 wxPyEndAllowThreads(__tstate);
22832 if (PyErr_Occurred()) SWIG_fail;
22833 }
22834 resultobj = SWIG_Py_Void();
22835 return resultobj;
22836 fail:
22837 return NULL;
22838 }
22839
22840
22841 SWIGINTERN PyObject *_wrap_PyPanel_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22842 PyObject *resultobj = 0;
22843 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22844 int arg2 ;
22845 int arg3 ;
22846 int arg4 ;
22847 int arg5 ;
22848 int arg6 = (int) wxSIZE_AUTO ;
22849 void *argp1 = 0 ;
22850 int res1 = 0 ;
22851 int val2 ;
22852 int ecode2 = 0 ;
22853 int val3 ;
22854 int ecode3 = 0 ;
22855 int val4 ;
22856 int ecode4 = 0 ;
22857 int val5 ;
22858 int ecode5 = 0 ;
22859 int val6 ;
22860 int ecode6 = 0 ;
22861 PyObject * obj0 = 0 ;
22862 PyObject * obj1 = 0 ;
22863 PyObject * obj2 = 0 ;
22864 PyObject * obj3 = 0 ;
22865 PyObject * obj4 = 0 ;
22866 PyObject * obj5 = 0 ;
22867 char * kwnames[] = {
22868 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22869 };
22870
22871 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22872 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22873 if (!SWIG_IsOK(res1)) {
22874 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22875 }
22876 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22877 ecode2 = SWIG_AsVal_int(obj1, &val2);
22878 if (!SWIG_IsOK(ecode2)) {
22879 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22880 }
22881 arg2 = static_cast< int >(val2);
22882 ecode3 = SWIG_AsVal_int(obj2, &val3);
22883 if (!SWIG_IsOK(ecode3)) {
22884 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22885 }
22886 arg3 = static_cast< int >(val3);
22887 ecode4 = SWIG_AsVal_int(obj3, &val4);
22888 if (!SWIG_IsOK(ecode4)) {
22889 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22890 }
22891 arg4 = static_cast< int >(val4);
22892 ecode5 = SWIG_AsVal_int(obj4, &val5);
22893 if (!SWIG_IsOK(ecode5)) {
22894 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22895 }
22896 arg5 = static_cast< int >(val5);
22897 if (obj5) {
22898 ecode6 = SWIG_AsVal_int(obj5, &val6);
22899 if (!SWIG_IsOK(ecode6)) {
22900 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22901 }
22902 arg6 = static_cast< int >(val6);
22903 }
22904 {
22905 PyThreadState* __tstate = wxPyBeginAllowThreads();
22906 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
22907 wxPyEndAllowThreads(__tstate);
22908 if (PyErr_Occurred()) SWIG_fail;
22909 }
22910 resultobj = SWIG_Py_Void();
22911 return resultobj;
22912 fail:
22913 return NULL;
22914 }
22915
22916
22917 SWIGINTERN PyObject *_wrap_PyPanel_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22918 PyObject *resultobj = 0;
22919 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22920 int arg2 ;
22921 int arg3 ;
22922 void *argp1 = 0 ;
22923 int res1 = 0 ;
22924 int val2 ;
22925 int ecode2 = 0 ;
22926 int val3 ;
22927 int ecode3 = 0 ;
22928 PyObject * obj0 = 0 ;
22929 PyObject * obj1 = 0 ;
22930 PyObject * obj2 = 0 ;
22931 char * kwnames[] = {
22932 (char *) "self",(char *) "width",(char *) "height", NULL
22933 };
22934
22935 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22936 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22937 if (!SWIG_IsOK(res1)) {
22938 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22939 }
22940 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22941 ecode2 = SWIG_AsVal_int(obj1, &val2);
22942 if (!SWIG_IsOK(ecode2)) {
22943 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22944 }
22945 arg2 = static_cast< int >(val2);
22946 ecode3 = SWIG_AsVal_int(obj2, &val3);
22947 if (!SWIG_IsOK(ecode3)) {
22948 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22949 }
22950 arg3 = static_cast< int >(val3);
22951 {
22952 PyThreadState* __tstate = wxPyBeginAllowThreads();
22953 (arg1)->DoSetClientSize(arg2,arg3);
22954 wxPyEndAllowThreads(__tstate);
22955 if (PyErr_Occurred()) SWIG_fail;
22956 }
22957 resultobj = SWIG_Py_Void();
22958 return resultobj;
22959 fail:
22960 return NULL;
22961 }
22962
22963
22964 SWIGINTERN PyObject *_wrap_PyPanel_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22965 PyObject *resultobj = 0;
22966 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22967 int arg2 ;
22968 int arg3 ;
22969 void *argp1 = 0 ;
22970 int res1 = 0 ;
22971 int val2 ;
22972 int ecode2 = 0 ;
22973 int val3 ;
22974 int ecode3 = 0 ;
22975 PyObject * obj0 = 0 ;
22976 PyObject * obj1 = 0 ;
22977 PyObject * obj2 = 0 ;
22978 char * kwnames[] = {
22979 (char *) "self",(char *) "x",(char *) "y", NULL
22980 };
22981
22982 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22983 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22984 if (!SWIG_IsOK(res1)) {
22985 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22986 }
22987 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22988 ecode2 = SWIG_AsVal_int(obj1, &val2);
22989 if (!SWIG_IsOK(ecode2)) {
22990 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22991 }
22992 arg2 = static_cast< int >(val2);
22993 ecode3 = SWIG_AsVal_int(obj2, &val3);
22994 if (!SWIG_IsOK(ecode3)) {
22995 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22996 }
22997 arg3 = static_cast< int >(val3);
22998 {
22999 PyThreadState* __tstate = wxPyBeginAllowThreads();
23000 (arg1)->DoSetVirtualSize(arg2,arg3);
23001 wxPyEndAllowThreads(__tstate);
23002 if (PyErr_Occurred()) SWIG_fail;
23003 }
23004 resultobj = SWIG_Py_Void();
23005 return resultobj;
23006 fail:
23007 return NULL;
23008 }
23009
23010
23011 SWIGINTERN PyObject *_wrap_PyPanel_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23012 PyObject *resultobj = 0;
23013 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
23014 int *arg2 = (int *) 0 ;
23015 int *arg3 = (int *) 0 ;
23016 void *argp1 = 0 ;
23017 int res1 = 0 ;
23018 int temp2 ;
23019 int res2 = SWIG_TMPOBJ ;
23020 int temp3 ;
23021 int res3 = SWIG_TMPOBJ ;
23022 PyObject *swig_obj[1] ;
23023
23024 arg2 = &temp2;
23025 arg3 = &temp3;
23026 if (!args) SWIG_fail;
23027 swig_obj[0] = args;
23028 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
23029 if (!SWIG_IsOK(res1)) {
23030 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
23031 }
23032 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
23033 {
23034 PyThreadState* __tstate = wxPyBeginAllowThreads();
23035 ((wxPyPanel const *)arg1)->DoGetSize(arg2,arg3);
23036 wxPyEndAllowThreads(__tstate);
23037 if (PyErr_Occurred()) SWIG_fail;
23038 }
23039 resultobj = SWIG_Py_Void();
23040 if (SWIG_IsTmpObj(res2)) {
23041 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23042 } else {
23043 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23044 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23045 }
23046 if (SWIG_IsTmpObj(res3)) {
23047 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23048 } else {
23049 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23050 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23051 }
23052 return resultobj;
23053 fail:
23054 return NULL;
23055 }
23056
23057
23058 SWIGINTERN PyObject *_wrap_PyPanel_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23059 PyObject *resultobj = 0;
23060 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
23061 int *arg2 = (int *) 0 ;
23062 int *arg3 = (int *) 0 ;
23063 void *argp1 = 0 ;
23064 int res1 = 0 ;
23065 int temp2 ;
23066 int res2 = SWIG_TMPOBJ ;
23067 int temp3 ;
23068 int res3 = SWIG_TMPOBJ ;
23069 PyObject *swig_obj[1] ;
23070
23071 arg2 = &temp2;
23072 arg3 = &temp3;
23073 if (!args) SWIG_fail;
23074 swig_obj[0] = args;
23075 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
23076 if (!SWIG_IsOK(res1)) {
23077 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
23078 }
23079 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
23080 {
23081 PyThreadState* __tstate = wxPyBeginAllowThreads();
23082 ((wxPyPanel const *)arg1)->DoGetClientSize(arg2,arg3);
23083 wxPyEndAllowThreads(__tstate);
23084 if (PyErr_Occurred()) SWIG_fail;
23085 }
23086 resultobj = SWIG_Py_Void();
23087 if (SWIG_IsTmpObj(res2)) {
23088 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23089 } else {
23090 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23091 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23092 }
23093 if (SWIG_IsTmpObj(res3)) {
23094 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23095 } else {
23096 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23097 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23098 }
23099 return resultobj;
23100 fail:
23101 return NULL;
23102 }
23103
23104
23105 SWIGINTERN PyObject *_wrap_PyPanel_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23106 PyObject *resultobj = 0;
23107 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
23108 int *arg2 = (int *) 0 ;
23109 int *arg3 = (int *) 0 ;
23110 void *argp1 = 0 ;
23111 int res1 = 0 ;
23112 int temp2 ;
23113 int res2 = SWIG_TMPOBJ ;
23114 int temp3 ;
23115 int res3 = SWIG_TMPOBJ ;
23116 PyObject *swig_obj[1] ;
23117
23118 arg2 = &temp2;
23119 arg3 = &temp3;
23120 if (!args) SWIG_fail;
23121 swig_obj[0] = args;
23122 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
23123 if (!SWIG_IsOK(res1)) {
23124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
23125 }
23126 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
23127 {
23128 PyThreadState* __tstate = wxPyBeginAllowThreads();
23129 ((wxPyPanel const *)arg1)->DoGetPosition(arg2,arg3);
23130 wxPyEndAllowThreads(__tstate);
23131 if (PyErr_Occurred()) SWIG_fail;
23132 }
23133 resultobj = SWIG_Py_Void();
23134 if (SWIG_IsTmpObj(res2)) {
23135 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23136 } else {
23137 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23138 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23139 }
23140 if (SWIG_IsTmpObj(res3)) {
23141 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23142 } else {
23143 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23144 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23145 }
23146 return resultobj;
23147 fail:
23148 return NULL;
23149 }
23150
23151
23152 SWIGINTERN PyObject *_wrap_PyPanel_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23153 PyObject *resultobj = 0;
23154 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
23155 wxSize result;
23156 void *argp1 = 0 ;
23157 int res1 = 0 ;
23158 PyObject *swig_obj[1] ;
23159
23160 if (!args) SWIG_fail;
23161 swig_obj[0] = args;
23162 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
23163 if (!SWIG_IsOK(res1)) {
23164 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
23165 }
23166 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
23167 {
23168 PyThreadState* __tstate = wxPyBeginAllowThreads();
23169 result = ((wxPyPanel const *)arg1)->DoGetVirtualSize();
23170 wxPyEndAllowThreads(__tstate);
23171 if (PyErr_Occurred()) SWIG_fail;
23172 }
23173 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23174 return resultobj;
23175 fail:
23176 return NULL;
23177 }
23178
23179
23180 SWIGINTERN PyObject *_wrap_PyPanel_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23181 PyObject *resultobj = 0;
23182 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
23183 wxSize result;
23184 void *argp1 = 0 ;
23185 int res1 = 0 ;
23186 PyObject *swig_obj[1] ;
23187
23188 if (!args) SWIG_fail;
23189 swig_obj[0] = args;
23190 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
23191 if (!SWIG_IsOK(res1)) {
23192 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
23193 }
23194 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
23195 {
23196 PyThreadState* __tstate = wxPyBeginAllowThreads();
23197 result = ((wxPyPanel const *)arg1)->DoGetBestSize();
23198 wxPyEndAllowThreads(__tstate);
23199 if (PyErr_Occurred()) SWIG_fail;
23200 }
23201 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23202 return resultobj;
23203 fail:
23204 return NULL;
23205 }
23206
23207
23208 SWIGINTERN PyObject *_wrap_PyPanel_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23209 PyObject *resultobj = 0;
23210 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
23211 SwigValueWrapper<wxVisualAttributes > result;
23212 void *argp1 = 0 ;
23213 int res1 = 0 ;
23214 PyObject *swig_obj[1] ;
23215
23216 if (!args) SWIG_fail;
23217 swig_obj[0] = args;
23218 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
23219 if (!SWIG_IsOK(res1)) {
23220 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
23221 }
23222 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
23223 {
23224 PyThreadState* __tstate = wxPyBeginAllowThreads();
23225 result = (arg1)->GetDefaultAttributes();
23226 wxPyEndAllowThreads(__tstate);
23227 if (PyErr_Occurred()) SWIG_fail;
23228 }
23229 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
23230 return resultobj;
23231 fail:
23232 return NULL;
23233 }
23234
23235
23236 SWIGINTERN PyObject *_wrap_PyPanel_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23237 PyObject *resultobj = 0;
23238 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
23239 void *argp1 = 0 ;
23240 int res1 = 0 ;
23241 PyObject *swig_obj[1] ;
23242
23243 if (!args) SWIG_fail;
23244 swig_obj[0] = args;
23245 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
23246 if (!SWIG_IsOK(res1)) {
23247 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
23248 }
23249 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
23250 {
23251 PyThreadState* __tstate = wxPyBeginAllowThreads();
23252 (arg1)->OnInternalIdle();
23253 wxPyEndAllowThreads(__tstate);
23254 if (PyErr_Occurred()) SWIG_fail;
23255 }
23256 resultobj = SWIG_Py_Void();
23257 return resultobj;
23258 fail:
23259 return NULL;
23260 }
23261
23262
23263 SWIGINTERN PyObject *PyPanel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23264 PyObject *obj;
23265 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23266 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel, SWIG_NewClientData(obj));
23267 return SWIG_Py_Void();
23268 }
23269
23270 SWIGINTERN PyObject *PyPanel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23271 return SWIG_Python_InitShadowInstance(args);
23272 }
23273
23274 SWIGINTERN PyObject *_wrap_new_PyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23275 PyObject *resultobj = 0;
23276 wxWindow *arg1 = (wxWindow *) 0 ;
23277 int arg2 = (int) (int)-1 ;
23278 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23279 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23280 wxSize const &arg4_defvalue = wxDefaultSize ;
23281 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23282 long arg5 = (long) 0 ;
23283 wxString const &arg6_defvalue = wxPyPanelNameStr ;
23284 wxString *arg6 = (wxString *) &arg6_defvalue ;
23285 wxPyScrolledWindow *result = 0 ;
23286 void *argp1 = 0 ;
23287 int res1 = 0 ;
23288 int val2 ;
23289 int ecode2 = 0 ;
23290 wxPoint temp3 ;
23291 wxSize temp4 ;
23292 long val5 ;
23293 int ecode5 = 0 ;
23294 bool temp6 = false ;
23295 PyObject * obj0 = 0 ;
23296 PyObject * obj1 = 0 ;
23297 PyObject * obj2 = 0 ;
23298 PyObject * obj3 = 0 ;
23299 PyObject * obj4 = 0 ;
23300 PyObject * obj5 = 0 ;
23301 char * kwnames[] = {
23302 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23303 };
23304
23305 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
23306 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
23307 if (!SWIG_IsOK(res1)) {
23308 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
23309 }
23310 arg1 = reinterpret_cast< wxWindow * >(argp1);
23311 if (obj1) {
23312 ecode2 = SWIG_AsVal_int(obj1, &val2);
23313 if (!SWIG_IsOK(ecode2)) {
23314 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
23315 }
23316 arg2 = static_cast< int >(val2);
23317 }
23318 if (obj2) {
23319 {
23320 arg3 = &temp3;
23321 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23322 }
23323 }
23324 if (obj3) {
23325 {
23326 arg4 = &temp4;
23327 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23328 }
23329 }
23330 if (obj4) {
23331 ecode5 = SWIG_AsVal_long(obj4, &val5);
23332 if (!SWIG_IsOK(ecode5)) {
23333 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
23334 }
23335 arg5 = static_cast< long >(val5);
23336 }
23337 if (obj5) {
23338 {
23339 arg6 = wxString_in_helper(obj5);
23340 if (arg6 == NULL) SWIG_fail;
23341 temp6 = true;
23342 }
23343 }
23344 {
23345 if (!wxPyCheckForApp()) SWIG_fail;
23346 PyThreadState* __tstate = wxPyBeginAllowThreads();
23347 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
23348 wxPyEndAllowThreads(__tstate);
23349 if (PyErr_Occurred()) SWIG_fail;
23350 }
23351 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_NEW | 0 );
23352 {
23353 if (temp6)
23354 delete arg6;
23355 }
23356 return resultobj;
23357 fail:
23358 {
23359 if (temp6)
23360 delete arg6;
23361 }
23362 return NULL;
23363 }
23364
23365
23366 SWIGINTERN PyObject *_wrap_new_PrePyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23367 PyObject *resultobj = 0;
23368 wxPyScrolledWindow *result = 0 ;
23369
23370 if (!SWIG_Python_UnpackTuple(args,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail;
23371 {
23372 if (!wxPyCheckForApp()) SWIG_fail;
23373 PyThreadState* __tstate = wxPyBeginAllowThreads();
23374 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
23375 wxPyEndAllowThreads(__tstate);
23376 if (PyErr_Occurred()) SWIG_fail;
23377 }
23378 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_OWN | 0 );
23379 return resultobj;
23380 fail:
23381 return NULL;
23382 }
23383
23384
23385 SWIGINTERN PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23386 PyObject *resultobj = 0;
23387 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23388 PyObject *arg2 = (PyObject *) 0 ;
23389 PyObject *arg3 = (PyObject *) 0 ;
23390 void *argp1 = 0 ;
23391 int res1 = 0 ;
23392 PyObject * obj0 = 0 ;
23393 PyObject * obj1 = 0 ;
23394 PyObject * obj2 = 0 ;
23395 char * kwnames[] = {
23396 (char *) "self",(char *) "self",(char *) "_class", NULL
23397 };
23398
23399 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23400 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23401 if (!SWIG_IsOK(res1)) {
23402 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23403 }
23404 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23405 arg2 = obj1;
23406 arg3 = obj2;
23407 {
23408 PyThreadState* __tstate = wxPyBeginAllowThreads();
23409 (arg1)->_setCallbackInfo(arg2,arg3);
23410 wxPyEndAllowThreads(__tstate);
23411 if (PyErr_Occurred()) SWIG_fail;
23412 }
23413 resultobj = SWIG_Py_Void();
23414 return resultobj;
23415 fail:
23416 return NULL;
23417 }
23418
23419
23420 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23421 PyObject *resultobj = 0;
23422 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23423 wxDC *arg2 = (wxDC *) 0 ;
23424 bool result;
23425 void *argp1 = 0 ;
23426 int res1 = 0 ;
23427 void *argp2 = 0 ;
23428 int res2 = 0 ;
23429 PyObject * obj0 = 0 ;
23430 PyObject * obj1 = 0 ;
23431 char * kwnames[] = {
23432 (char *) "self",(char *) "dc", NULL
23433 };
23434
23435 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
23436 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23437 if (!SWIG_IsOK(res1)) {
23438 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23439 }
23440 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23441 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
23442 if (!SWIG_IsOK(res2)) {
23443 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
23444 }
23445 arg2 = reinterpret_cast< wxDC * >(argp2);
23446 {
23447 PyThreadState* __tstate = wxPyBeginAllowThreads();
23448 result = (bool)(arg1)->DoEraseBackground(arg2);
23449 wxPyEndAllowThreads(__tstate);
23450 if (PyErr_Occurred()) SWIG_fail;
23451 }
23452 {
23453 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23454 }
23455 return resultobj;
23456 fail:
23457 return NULL;
23458 }
23459
23460
23461 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23462 PyObject *resultobj = 0;
23463 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23464 int arg2 ;
23465 int arg3 ;
23466 int arg4 ;
23467 int arg5 ;
23468 void *argp1 = 0 ;
23469 int res1 = 0 ;
23470 int val2 ;
23471 int ecode2 = 0 ;
23472 int val3 ;
23473 int ecode3 = 0 ;
23474 int val4 ;
23475 int ecode4 = 0 ;
23476 int val5 ;
23477 int ecode5 = 0 ;
23478 PyObject * obj0 = 0 ;
23479 PyObject * obj1 = 0 ;
23480 PyObject * obj2 = 0 ;
23481 PyObject * obj3 = 0 ;
23482 PyObject * obj4 = 0 ;
23483 char * kwnames[] = {
23484 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
23485 };
23486
23487 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
23488 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23489 if (!SWIG_IsOK(res1)) {
23490 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23491 }
23492 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23493 ecode2 = SWIG_AsVal_int(obj1, &val2);
23494 if (!SWIG_IsOK(ecode2)) {
23495 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
23496 }
23497 arg2 = static_cast< int >(val2);
23498 ecode3 = SWIG_AsVal_int(obj2, &val3);
23499 if (!SWIG_IsOK(ecode3)) {
23500 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
23501 }
23502 arg3 = static_cast< int >(val3);
23503 ecode4 = SWIG_AsVal_int(obj3, &val4);
23504 if (!SWIG_IsOK(ecode4)) {
23505 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
23506 }
23507 arg4 = static_cast< int >(val4);
23508 ecode5 = SWIG_AsVal_int(obj4, &val5);
23509 if (!SWIG_IsOK(ecode5)) {
23510 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
23511 }
23512 arg5 = static_cast< int >(val5);
23513 {
23514 PyThreadState* __tstate = wxPyBeginAllowThreads();
23515 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
23516 wxPyEndAllowThreads(__tstate);
23517 if (PyErr_Occurred()) SWIG_fail;
23518 }
23519 resultobj = SWIG_Py_Void();
23520 return resultobj;
23521 fail:
23522 return NULL;
23523 }
23524
23525
23526 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23527 PyObject *resultobj = 0;
23528 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23529 int arg2 ;
23530 int arg3 ;
23531 int arg4 ;
23532 int arg5 ;
23533 int arg6 = (int) wxSIZE_AUTO ;
23534 void *argp1 = 0 ;
23535 int res1 = 0 ;
23536 int val2 ;
23537 int ecode2 = 0 ;
23538 int val3 ;
23539 int ecode3 = 0 ;
23540 int val4 ;
23541 int ecode4 = 0 ;
23542 int val5 ;
23543 int ecode5 = 0 ;
23544 int val6 ;
23545 int ecode6 = 0 ;
23546 PyObject * obj0 = 0 ;
23547 PyObject * obj1 = 0 ;
23548 PyObject * obj2 = 0 ;
23549 PyObject * obj3 = 0 ;
23550 PyObject * obj4 = 0 ;
23551 PyObject * obj5 = 0 ;
23552 char * kwnames[] = {
23553 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
23554 };
23555
23556 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
23557 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23558 if (!SWIG_IsOK(res1)) {
23559 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23560 }
23561 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23562 ecode2 = SWIG_AsVal_int(obj1, &val2);
23563 if (!SWIG_IsOK(ecode2)) {
23564 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
23565 }
23566 arg2 = static_cast< int >(val2);
23567 ecode3 = SWIG_AsVal_int(obj2, &val3);
23568 if (!SWIG_IsOK(ecode3)) {
23569 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
23570 }
23571 arg3 = static_cast< int >(val3);
23572 ecode4 = SWIG_AsVal_int(obj3, &val4);
23573 if (!SWIG_IsOK(ecode4)) {
23574 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
23575 }
23576 arg4 = static_cast< int >(val4);
23577 ecode5 = SWIG_AsVal_int(obj4, &val5);
23578 if (!SWIG_IsOK(ecode5)) {
23579 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
23580 }
23581 arg5 = static_cast< int >(val5);
23582 if (obj5) {
23583 ecode6 = SWIG_AsVal_int(obj5, &val6);
23584 if (!SWIG_IsOK(ecode6)) {
23585 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
23586 }
23587 arg6 = static_cast< int >(val6);
23588 }
23589 {
23590 PyThreadState* __tstate = wxPyBeginAllowThreads();
23591 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
23592 wxPyEndAllowThreads(__tstate);
23593 if (PyErr_Occurred()) SWIG_fail;
23594 }
23595 resultobj = SWIG_Py_Void();
23596 return resultobj;
23597 fail:
23598 return NULL;
23599 }
23600
23601
23602 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23603 PyObject *resultobj = 0;
23604 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23605 int arg2 ;
23606 int arg3 ;
23607 void *argp1 = 0 ;
23608 int res1 = 0 ;
23609 int val2 ;
23610 int ecode2 = 0 ;
23611 int val3 ;
23612 int ecode3 = 0 ;
23613 PyObject * obj0 = 0 ;
23614 PyObject * obj1 = 0 ;
23615 PyObject * obj2 = 0 ;
23616 char * kwnames[] = {
23617 (char *) "self",(char *) "width",(char *) "height", NULL
23618 };
23619
23620 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23621 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23622 if (!SWIG_IsOK(res1)) {
23623 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23624 }
23625 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23626 ecode2 = SWIG_AsVal_int(obj1, &val2);
23627 if (!SWIG_IsOK(ecode2)) {
23628 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
23629 }
23630 arg2 = static_cast< int >(val2);
23631 ecode3 = SWIG_AsVal_int(obj2, &val3);
23632 if (!SWIG_IsOK(ecode3)) {
23633 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
23634 }
23635 arg3 = static_cast< int >(val3);
23636 {
23637 PyThreadState* __tstate = wxPyBeginAllowThreads();
23638 (arg1)->DoSetClientSize(arg2,arg3);
23639 wxPyEndAllowThreads(__tstate);
23640 if (PyErr_Occurred()) SWIG_fail;
23641 }
23642 resultobj = SWIG_Py_Void();
23643 return resultobj;
23644 fail:
23645 return NULL;
23646 }
23647
23648
23649 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23650 PyObject *resultobj = 0;
23651 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23652 int arg2 ;
23653 int arg3 ;
23654 void *argp1 = 0 ;
23655 int res1 = 0 ;
23656 int val2 ;
23657 int ecode2 = 0 ;
23658 int val3 ;
23659 int ecode3 = 0 ;
23660 PyObject * obj0 = 0 ;
23661 PyObject * obj1 = 0 ;
23662 PyObject * obj2 = 0 ;
23663 char * kwnames[] = {
23664 (char *) "self",(char *) "x",(char *) "y", NULL
23665 };
23666
23667 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23668 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23669 if (!SWIG_IsOK(res1)) {
23670 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23671 }
23672 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23673 ecode2 = SWIG_AsVal_int(obj1, &val2);
23674 if (!SWIG_IsOK(ecode2)) {
23675 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
23676 }
23677 arg2 = static_cast< int >(val2);
23678 ecode3 = SWIG_AsVal_int(obj2, &val3);
23679 if (!SWIG_IsOK(ecode3)) {
23680 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
23681 }
23682 arg3 = static_cast< int >(val3);
23683 {
23684 PyThreadState* __tstate = wxPyBeginAllowThreads();
23685 (arg1)->DoSetVirtualSize(arg2,arg3);
23686 wxPyEndAllowThreads(__tstate);
23687 if (PyErr_Occurred()) SWIG_fail;
23688 }
23689 resultobj = SWIG_Py_Void();
23690 return resultobj;
23691 fail:
23692 return NULL;
23693 }
23694
23695
23696 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23697 PyObject *resultobj = 0;
23698 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23699 int *arg2 = (int *) 0 ;
23700 int *arg3 = (int *) 0 ;
23701 void *argp1 = 0 ;
23702 int res1 = 0 ;
23703 int temp2 ;
23704 int res2 = SWIG_TMPOBJ ;
23705 int temp3 ;
23706 int res3 = SWIG_TMPOBJ ;
23707 PyObject *swig_obj[1] ;
23708
23709 arg2 = &temp2;
23710 arg3 = &temp3;
23711 if (!args) SWIG_fail;
23712 swig_obj[0] = args;
23713 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23714 if (!SWIG_IsOK(res1)) {
23715 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23716 }
23717 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23718 {
23719 PyThreadState* __tstate = wxPyBeginAllowThreads();
23720 ((wxPyScrolledWindow const *)arg1)->DoGetSize(arg2,arg3);
23721 wxPyEndAllowThreads(__tstate);
23722 if (PyErr_Occurred()) SWIG_fail;
23723 }
23724 resultobj = SWIG_Py_Void();
23725 if (SWIG_IsTmpObj(res2)) {
23726 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23727 } else {
23728 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23729 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23730 }
23731 if (SWIG_IsTmpObj(res3)) {
23732 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23733 } else {
23734 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23735 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23736 }
23737 return resultobj;
23738 fail:
23739 return NULL;
23740 }
23741
23742
23743 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23744 PyObject *resultobj = 0;
23745 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23746 int *arg2 = (int *) 0 ;
23747 int *arg3 = (int *) 0 ;
23748 void *argp1 = 0 ;
23749 int res1 = 0 ;
23750 int temp2 ;
23751 int res2 = SWIG_TMPOBJ ;
23752 int temp3 ;
23753 int res3 = SWIG_TMPOBJ ;
23754 PyObject *swig_obj[1] ;
23755
23756 arg2 = &temp2;
23757 arg3 = &temp3;
23758 if (!args) SWIG_fail;
23759 swig_obj[0] = args;
23760 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23761 if (!SWIG_IsOK(res1)) {
23762 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23763 }
23764 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23765 {
23766 PyThreadState* __tstate = wxPyBeginAllowThreads();
23767 ((wxPyScrolledWindow const *)arg1)->DoGetClientSize(arg2,arg3);
23768 wxPyEndAllowThreads(__tstate);
23769 if (PyErr_Occurred()) SWIG_fail;
23770 }
23771 resultobj = SWIG_Py_Void();
23772 if (SWIG_IsTmpObj(res2)) {
23773 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23774 } else {
23775 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23776 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23777 }
23778 if (SWIG_IsTmpObj(res3)) {
23779 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23780 } else {
23781 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23782 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23783 }
23784 return resultobj;
23785 fail:
23786 return NULL;
23787 }
23788
23789
23790 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23791 PyObject *resultobj = 0;
23792 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23793 int *arg2 = (int *) 0 ;
23794 int *arg3 = (int *) 0 ;
23795 void *argp1 = 0 ;
23796 int res1 = 0 ;
23797 int temp2 ;
23798 int res2 = SWIG_TMPOBJ ;
23799 int temp3 ;
23800 int res3 = SWIG_TMPOBJ ;
23801 PyObject *swig_obj[1] ;
23802
23803 arg2 = &temp2;
23804 arg3 = &temp3;
23805 if (!args) SWIG_fail;
23806 swig_obj[0] = args;
23807 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23808 if (!SWIG_IsOK(res1)) {
23809 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23810 }
23811 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23812 {
23813 PyThreadState* __tstate = wxPyBeginAllowThreads();
23814 ((wxPyScrolledWindow const *)arg1)->DoGetPosition(arg2,arg3);
23815 wxPyEndAllowThreads(__tstate);
23816 if (PyErr_Occurred()) SWIG_fail;
23817 }
23818 resultobj = SWIG_Py_Void();
23819 if (SWIG_IsTmpObj(res2)) {
23820 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23821 } else {
23822 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23823 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23824 }
23825 if (SWIG_IsTmpObj(res3)) {
23826 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23827 } else {
23828 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23829 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23830 }
23831 return resultobj;
23832 fail:
23833 return NULL;
23834 }
23835
23836
23837 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23838 PyObject *resultobj = 0;
23839 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23840 wxSize result;
23841 void *argp1 = 0 ;
23842 int res1 = 0 ;
23843 PyObject *swig_obj[1] ;
23844
23845 if (!args) SWIG_fail;
23846 swig_obj[0] = args;
23847 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23848 if (!SWIG_IsOK(res1)) {
23849 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23850 }
23851 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23852 {
23853 PyThreadState* __tstate = wxPyBeginAllowThreads();
23854 result = ((wxPyScrolledWindow const *)arg1)->DoGetVirtualSize();
23855 wxPyEndAllowThreads(__tstate);
23856 if (PyErr_Occurred()) SWIG_fail;
23857 }
23858 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23859 return resultobj;
23860 fail:
23861 return NULL;
23862 }
23863
23864
23865 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23866 PyObject *resultobj = 0;
23867 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23868 wxSize result;
23869 void *argp1 = 0 ;
23870 int res1 = 0 ;
23871 PyObject *swig_obj[1] ;
23872
23873 if (!args) SWIG_fail;
23874 swig_obj[0] = args;
23875 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23876 if (!SWIG_IsOK(res1)) {
23877 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23878 }
23879 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23880 {
23881 PyThreadState* __tstate = wxPyBeginAllowThreads();
23882 result = ((wxPyScrolledWindow const *)arg1)->DoGetBestSize();
23883 wxPyEndAllowThreads(__tstate);
23884 if (PyErr_Occurred()) SWIG_fail;
23885 }
23886 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23887 return resultobj;
23888 fail:
23889 return NULL;
23890 }
23891
23892
23893 SWIGINTERN PyObject *_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23894 PyObject *resultobj = 0;
23895 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23896 SwigValueWrapper<wxVisualAttributes > result;
23897 void *argp1 = 0 ;
23898 int res1 = 0 ;
23899 PyObject *swig_obj[1] ;
23900
23901 if (!args) SWIG_fail;
23902 swig_obj[0] = args;
23903 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23904 if (!SWIG_IsOK(res1)) {
23905 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23906 }
23907 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23908 {
23909 PyThreadState* __tstate = wxPyBeginAllowThreads();
23910 result = (arg1)->GetDefaultAttributes();
23911 wxPyEndAllowThreads(__tstate);
23912 if (PyErr_Occurred()) SWIG_fail;
23913 }
23914 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
23915 return resultobj;
23916 fail:
23917 return NULL;
23918 }
23919
23920
23921 SWIGINTERN PyObject *_wrap_PyScrolledWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23922 PyObject *resultobj = 0;
23923 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23924 void *argp1 = 0 ;
23925 int res1 = 0 ;
23926 PyObject *swig_obj[1] ;
23927
23928 if (!args) SWIG_fail;
23929 swig_obj[0] = args;
23930 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23931 if (!SWIG_IsOK(res1)) {
23932 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23933 }
23934 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23935 {
23936 PyThreadState* __tstate = wxPyBeginAllowThreads();
23937 (arg1)->OnInternalIdle();
23938 wxPyEndAllowThreads(__tstate);
23939 if (PyErr_Occurred()) SWIG_fail;
23940 }
23941 resultobj = SWIG_Py_Void();
23942 return resultobj;
23943 fail:
23944 return NULL;
23945 }
23946
23947
23948 SWIGINTERN PyObject *PyScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23949 PyObject *obj;
23950 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23951 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow, SWIG_NewClientData(obj));
23952 return SWIG_Py_Void();
23953 }
23954
23955 SWIGINTERN PyObject *PyScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23956 return SWIG_Python_InitShadowInstance(args);
23957 }
23958
23959 SWIGINTERN int PrintoutTitleStr_set(PyObject *) {
23960 SWIG_Error(SWIG_AttributeError,"Variable PrintoutTitleStr is read-only.");
23961 return 1;
23962 }
23963
23964
23965 SWIGINTERN PyObject *PrintoutTitleStr_get(void) {
23966 PyObject *pyobj = 0;
23967
23968 {
23969 #if wxUSE_UNICODE
23970 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23971 #else
23972 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23973 #endif
23974 }
23975 return pyobj;
23976 }
23977
23978
23979 SWIGINTERN int PreviewCanvasNameStr_set(PyObject *) {
23980 SWIG_Error(SWIG_AttributeError,"Variable PreviewCanvasNameStr is read-only.");
23981 return 1;
23982 }
23983
23984
23985 SWIGINTERN PyObject *PreviewCanvasNameStr_get(void) {
23986 PyObject *pyobj = 0;
23987
23988 {
23989 #if wxUSE_UNICODE
23990 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23991 #else
23992 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23993 #endif
23994 }
23995 return pyobj;
23996 }
23997
23998
23999 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
24000 PyObject *resultobj = 0;
24001 wxPrintData *result = 0 ;
24002
24003 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
24004 {
24005 PyThreadState* __tstate = wxPyBeginAllowThreads();
24006 result = (wxPrintData *)new wxPrintData();
24007 wxPyEndAllowThreads(__tstate);
24008 if (PyErr_Occurred()) SWIG_fail;
24009 }
24010 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
24011 return resultobj;
24012 fail:
24013 return NULL;
24014 }
24015
24016
24017 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24018 PyObject *resultobj = 0;
24019 wxPrintData *arg1 = 0 ;
24020 wxPrintData *result = 0 ;
24021 void *argp1 = 0 ;
24022 int res1 = 0 ;
24023
24024 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24025 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
24026 if (!SWIG_IsOK(res1)) {
24027 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24028 }
24029 if (!argp1) {
24030 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24031 }
24032 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24033 {
24034 PyThreadState* __tstate = wxPyBeginAllowThreads();
24035 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
24036 wxPyEndAllowThreads(__tstate);
24037 if (PyErr_Occurred()) SWIG_fail;
24038 }
24039 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
24040 return resultobj;
24041 fail:
24042 return NULL;
24043 }
24044
24045
24046 SWIGINTERN PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
24047 int argc;
24048 PyObject *argv[2];
24049
24050 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintData",0,1,argv))) SWIG_fail;
24051 --argc;
24052 if (argc == 0) {
24053 return _wrap_new_PrintData__SWIG_0(self, argc, argv);
24054 }
24055 if (argc == 1) {
24056 return _wrap_new_PrintData__SWIG_1(self, argc, argv);
24057 }
24058
24059 fail:
24060 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
24061 return NULL;
24062 }
24063
24064
24065 SWIGINTERN PyObject *_wrap_delete_PrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24066 PyObject *resultobj = 0;
24067 wxPrintData *arg1 = (wxPrintData *) 0 ;
24068 void *argp1 = 0 ;
24069 int res1 = 0 ;
24070 PyObject *swig_obj[1] ;
24071
24072 if (!args) SWIG_fail;
24073 swig_obj[0] = args;
24074 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, SWIG_POINTER_DISOWN | 0 );
24075 if (!SWIG_IsOK(res1)) {
24076 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24077 }
24078 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24079 {
24080 PyThreadState* __tstate = wxPyBeginAllowThreads();
24081 delete arg1;
24082
24083 wxPyEndAllowThreads(__tstate);
24084 if (PyErr_Occurred()) SWIG_fail;
24085 }
24086 resultobj = SWIG_Py_Void();
24087 return resultobj;
24088 fail:
24089 return NULL;
24090 }
24091
24092
24093 SWIGINTERN PyObject *_wrap_PrintData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24094 PyObject *resultobj = 0;
24095 wxPrintData *arg1 = (wxPrintData *) 0 ;
24096 int result;
24097 void *argp1 = 0 ;
24098 int res1 = 0 ;
24099 PyObject *swig_obj[1] ;
24100
24101 if (!args) SWIG_fail;
24102 swig_obj[0] = args;
24103 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24104 if (!SWIG_IsOK(res1)) {
24105 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
24106 }
24107 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24108 {
24109 PyThreadState* __tstate = wxPyBeginAllowThreads();
24110 result = (int)(arg1)->GetNoCopies();
24111 wxPyEndAllowThreads(__tstate);
24112 if (PyErr_Occurred()) SWIG_fail;
24113 }
24114 resultobj = SWIG_From_int(static_cast< int >(result));
24115 return resultobj;
24116 fail:
24117 return NULL;
24118 }
24119
24120
24121 SWIGINTERN PyObject *_wrap_PrintData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24122 PyObject *resultobj = 0;
24123 wxPrintData *arg1 = (wxPrintData *) 0 ;
24124 bool result;
24125 void *argp1 = 0 ;
24126 int res1 = 0 ;
24127 PyObject *swig_obj[1] ;
24128
24129 if (!args) SWIG_fail;
24130 swig_obj[0] = args;
24131 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24132 if (!SWIG_IsOK(res1)) {
24133 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
24134 }
24135 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24136 {
24137 PyThreadState* __tstate = wxPyBeginAllowThreads();
24138 result = (bool)(arg1)->GetCollate();
24139 wxPyEndAllowThreads(__tstate);
24140 if (PyErr_Occurred()) SWIG_fail;
24141 }
24142 {
24143 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24144 }
24145 return resultobj;
24146 fail:
24147 return NULL;
24148 }
24149
24150
24151 SWIGINTERN PyObject *_wrap_PrintData_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24152 PyObject *resultobj = 0;
24153 wxPrintData *arg1 = (wxPrintData *) 0 ;
24154 int result;
24155 void *argp1 = 0 ;
24156 int res1 = 0 ;
24157 PyObject *swig_obj[1] ;
24158
24159 if (!args) SWIG_fail;
24160 swig_obj[0] = args;
24161 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24162 if (!SWIG_IsOK(res1)) {
24163 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
24164 }
24165 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24166 {
24167 PyThreadState* __tstate = wxPyBeginAllowThreads();
24168 result = (int)(arg1)->GetOrientation();
24169 wxPyEndAllowThreads(__tstate);
24170 if (PyErr_Occurred()) SWIG_fail;
24171 }
24172 resultobj = SWIG_From_int(static_cast< int >(result));
24173 return resultobj;
24174 fail:
24175 return NULL;
24176 }
24177
24178
24179 SWIGINTERN PyObject *_wrap_PrintData_IsOrientationReversed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24180 PyObject *resultobj = 0;
24181 wxPrintData *arg1 = (wxPrintData *) 0 ;
24182 bool result;
24183 void *argp1 = 0 ;
24184 int res1 = 0 ;
24185 PyObject *swig_obj[1] ;
24186
24187 if (!args) SWIG_fail;
24188 swig_obj[0] = args;
24189 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24190 if (!SWIG_IsOK(res1)) {
24191 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_IsOrientationReversed" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24192 }
24193 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24194 {
24195 PyThreadState* __tstate = wxPyBeginAllowThreads();
24196 result = (bool)((wxPrintData const *)arg1)->IsOrientationReversed();
24197 wxPyEndAllowThreads(__tstate);
24198 if (PyErr_Occurred()) SWIG_fail;
24199 }
24200 {
24201 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24202 }
24203 return resultobj;
24204 fail:
24205 return NULL;
24206 }
24207
24208
24209 SWIGINTERN PyObject *_wrap_PrintData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24210 PyObject *resultobj = 0;
24211 wxPrintData *arg1 = (wxPrintData *) 0 ;
24212 bool result;
24213 void *argp1 = 0 ;
24214 int res1 = 0 ;
24215 PyObject *swig_obj[1] ;
24216
24217 if (!args) SWIG_fail;
24218 swig_obj[0] = args;
24219 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24220 if (!SWIG_IsOK(res1)) {
24221 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_IsOk" "', expected argument " "1"" of type '" "wxPrintData *""'");
24222 }
24223 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24224 {
24225 PyThreadState* __tstate = wxPyBeginAllowThreads();
24226 result = (bool)(arg1)->IsOk();
24227 wxPyEndAllowThreads(__tstate);
24228 if (PyErr_Occurred()) SWIG_fail;
24229 }
24230 {
24231 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24232 }
24233 return resultobj;
24234 fail:
24235 return NULL;
24236 }
24237
24238
24239 SWIGINTERN PyObject *_wrap_PrintData_GetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24240 PyObject *resultobj = 0;
24241 wxPrintData *arg1 = (wxPrintData *) 0 ;
24242 wxString *result = 0 ;
24243 void *argp1 = 0 ;
24244 int res1 = 0 ;
24245 PyObject *swig_obj[1] ;
24246
24247 if (!args) SWIG_fail;
24248 swig_obj[0] = args;
24249 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24250 if (!SWIG_IsOK(res1)) {
24251 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24252 }
24253 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24254 {
24255 PyThreadState* __tstate = wxPyBeginAllowThreads();
24256 {
24257 wxString const &_result_ref = (arg1)->GetPrinterName();
24258 result = (wxString *) &_result_ref;
24259 }
24260 wxPyEndAllowThreads(__tstate);
24261 if (PyErr_Occurred()) SWIG_fail;
24262 }
24263 {
24264 #if wxUSE_UNICODE
24265 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
24266 #else
24267 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
24268 #endif
24269 }
24270 return resultobj;
24271 fail:
24272 return NULL;
24273 }
24274
24275
24276 SWIGINTERN PyObject *_wrap_PrintData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24277 PyObject *resultobj = 0;
24278 wxPrintData *arg1 = (wxPrintData *) 0 ;
24279 bool result;
24280 void *argp1 = 0 ;
24281 int res1 = 0 ;
24282 PyObject *swig_obj[1] ;
24283
24284 if (!args) SWIG_fail;
24285 swig_obj[0] = args;
24286 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24287 if (!SWIG_IsOK(res1)) {
24288 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24289 }
24290 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24291 {
24292 PyThreadState* __tstate = wxPyBeginAllowThreads();
24293 result = (bool)(arg1)->GetColour();
24294 wxPyEndAllowThreads(__tstate);
24295 if (PyErr_Occurred()) SWIG_fail;
24296 }
24297 {
24298 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24299 }
24300 return resultobj;
24301 fail:
24302 return NULL;
24303 }
24304
24305
24306 SWIGINTERN PyObject *_wrap_PrintData_GetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24307 PyObject *resultobj = 0;
24308 wxPrintData *arg1 = (wxPrintData *) 0 ;
24309 wxDuplexMode result;
24310 void *argp1 = 0 ;
24311 int res1 = 0 ;
24312 PyObject *swig_obj[1] ;
24313
24314 if (!args) SWIG_fail;
24315 swig_obj[0] = args;
24316 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24317 if (!SWIG_IsOK(res1)) {
24318 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24319 }
24320 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24321 {
24322 PyThreadState* __tstate = wxPyBeginAllowThreads();
24323 result = (wxDuplexMode)(arg1)->GetDuplex();
24324 wxPyEndAllowThreads(__tstate);
24325 if (PyErr_Occurred()) SWIG_fail;
24326 }
24327 resultobj = SWIG_From_int(static_cast< int >(result));
24328 return resultobj;
24329 fail:
24330 return NULL;
24331 }
24332
24333
24334 SWIGINTERN PyObject *_wrap_PrintData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24335 PyObject *resultobj = 0;
24336 wxPrintData *arg1 = (wxPrintData *) 0 ;
24337 wxPaperSize result;
24338 void *argp1 = 0 ;
24339 int res1 = 0 ;
24340 PyObject *swig_obj[1] ;
24341
24342 if (!args) SWIG_fail;
24343 swig_obj[0] = args;
24344 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24345 if (!SWIG_IsOK(res1)) {
24346 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24347 }
24348 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24349 {
24350 PyThreadState* __tstate = wxPyBeginAllowThreads();
24351 result = (wxPaperSize)(arg1)->GetPaperId();
24352 wxPyEndAllowThreads(__tstate);
24353 if (PyErr_Occurred()) SWIG_fail;
24354 }
24355 resultobj = SWIG_From_int(static_cast< int >(result));
24356 return resultobj;
24357 fail:
24358 return NULL;
24359 }
24360
24361
24362 SWIGINTERN PyObject *_wrap_PrintData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24363 PyObject *resultobj = 0;
24364 wxPrintData *arg1 = (wxPrintData *) 0 ;
24365 wxSize *result = 0 ;
24366 void *argp1 = 0 ;
24367 int res1 = 0 ;
24368 PyObject *swig_obj[1] ;
24369
24370 if (!args) SWIG_fail;
24371 swig_obj[0] = args;
24372 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24373 if (!SWIG_IsOK(res1)) {
24374 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24375 }
24376 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24377 {
24378 PyThreadState* __tstate = wxPyBeginAllowThreads();
24379 {
24380 wxSize const &_result_ref = (arg1)->GetPaperSize();
24381 result = (wxSize *) &_result_ref;
24382 }
24383 wxPyEndAllowThreads(__tstate);
24384 if (PyErr_Occurred()) SWIG_fail;
24385 }
24386 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
24387 return resultobj;
24388 fail:
24389 return NULL;
24390 }
24391
24392
24393 SWIGINTERN PyObject *_wrap_PrintData_GetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24394 PyObject *resultobj = 0;
24395 wxPrintData *arg1 = (wxPrintData *) 0 ;
24396 int result;
24397 void *argp1 = 0 ;
24398 int res1 = 0 ;
24399 PyObject *swig_obj[1] ;
24400
24401 if (!args) SWIG_fail;
24402 swig_obj[0] = args;
24403 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24404 if (!SWIG_IsOK(res1)) {
24405 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24406 }
24407 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24408 {
24409 PyThreadState* __tstate = wxPyBeginAllowThreads();
24410 result = (int)(arg1)->GetQuality();
24411 wxPyEndAllowThreads(__tstate);
24412 if (PyErr_Occurred()) SWIG_fail;
24413 }
24414 resultobj = SWIG_From_int(static_cast< int >(result));
24415 return resultobj;
24416 fail:
24417 return NULL;
24418 }
24419
24420
24421 SWIGINTERN PyObject *_wrap_PrintData_GetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24422 PyObject *resultobj = 0;
24423 wxPrintData *arg1 = (wxPrintData *) 0 ;
24424 wxPrintBin result;
24425 void *argp1 = 0 ;
24426 int res1 = 0 ;
24427 PyObject *swig_obj[1] ;
24428
24429 if (!args) SWIG_fail;
24430 swig_obj[0] = args;
24431 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24432 if (!SWIG_IsOK(res1)) {
24433 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24434 }
24435 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24436 {
24437 PyThreadState* __tstate = wxPyBeginAllowThreads();
24438 result = (wxPrintBin)(arg1)->GetBin();
24439 wxPyEndAllowThreads(__tstate);
24440 if (PyErr_Occurred()) SWIG_fail;
24441 }
24442 resultobj = SWIG_From_int(static_cast< int >(result));
24443 return resultobj;
24444 fail:
24445 return NULL;
24446 }
24447
24448
24449 SWIGINTERN PyObject *_wrap_PrintData_GetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24450 PyObject *resultobj = 0;
24451 wxPrintData *arg1 = (wxPrintData *) 0 ;
24452 wxPrintMode result;
24453 void *argp1 = 0 ;
24454 int res1 = 0 ;
24455 PyObject *swig_obj[1] ;
24456
24457 if (!args) SWIG_fail;
24458 swig_obj[0] = args;
24459 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24460 if (!SWIG_IsOK(res1)) {
24461 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24462 }
24463 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24464 {
24465 PyThreadState* __tstate = wxPyBeginAllowThreads();
24466 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
24467 wxPyEndAllowThreads(__tstate);
24468 if (PyErr_Occurred()) SWIG_fail;
24469 }
24470 resultobj = SWIG_From_int(static_cast< int >(result));
24471 return resultobj;
24472 fail:
24473 return NULL;
24474 }
24475
24476
24477 SWIGINTERN PyObject *_wrap_PrintData_GetMedia(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24478 PyObject *resultobj = 0;
24479 wxPrintData *arg1 = (wxPrintData *) 0 ;
24480 int result;
24481 void *argp1 = 0 ;
24482 int res1 = 0 ;
24483 PyObject *swig_obj[1] ;
24484
24485 if (!args) SWIG_fail;
24486 swig_obj[0] = args;
24487 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24488 if (!SWIG_IsOK(res1)) {
24489 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetMedia" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24490 }
24491 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24492 {
24493 PyThreadState* __tstate = wxPyBeginAllowThreads();
24494 result = (int)((wxPrintData const *)arg1)->GetMedia();
24495 wxPyEndAllowThreads(__tstate);
24496 if (PyErr_Occurred()) SWIG_fail;
24497 }
24498 resultobj = SWIG_From_int(static_cast< int >(result));
24499 return resultobj;
24500 fail:
24501 return NULL;
24502 }
24503
24504
24505 SWIGINTERN PyObject *_wrap_PrintData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24506 PyObject *resultobj = 0;
24507 wxPrintData *arg1 = (wxPrintData *) 0 ;
24508 int arg2 ;
24509 void *argp1 = 0 ;
24510 int res1 = 0 ;
24511 int val2 ;
24512 int ecode2 = 0 ;
24513 PyObject * obj0 = 0 ;
24514 PyObject * obj1 = 0 ;
24515 char * kwnames[] = {
24516 (char *) "self",(char *) "v", NULL
24517 };
24518
24519 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
24520 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24521 if (!SWIG_IsOK(res1)) {
24522 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
24523 }
24524 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24525 ecode2 = SWIG_AsVal_int(obj1, &val2);
24526 if (!SWIG_IsOK(ecode2)) {
24527 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
24528 }
24529 arg2 = static_cast< int >(val2);
24530 {
24531 PyThreadState* __tstate = wxPyBeginAllowThreads();
24532 (arg1)->SetNoCopies(arg2);
24533 wxPyEndAllowThreads(__tstate);
24534 if (PyErr_Occurred()) SWIG_fail;
24535 }
24536 resultobj = SWIG_Py_Void();
24537 return resultobj;
24538 fail:
24539 return NULL;
24540 }
24541
24542
24543 SWIGINTERN PyObject *_wrap_PrintData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24544 PyObject *resultobj = 0;
24545 wxPrintData *arg1 = (wxPrintData *) 0 ;
24546 bool arg2 ;
24547 void *argp1 = 0 ;
24548 int res1 = 0 ;
24549 bool val2 ;
24550 int ecode2 = 0 ;
24551 PyObject * obj0 = 0 ;
24552 PyObject * obj1 = 0 ;
24553 char * kwnames[] = {
24554 (char *) "self",(char *) "flag", NULL
24555 };
24556
24557 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
24558 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24559 if (!SWIG_IsOK(res1)) {
24560 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
24561 }
24562 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24563 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24564 if (!SWIG_IsOK(ecode2)) {
24565 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
24566 }
24567 arg2 = static_cast< bool >(val2);
24568 {
24569 PyThreadState* __tstate = wxPyBeginAllowThreads();
24570 (arg1)->SetCollate(arg2);
24571 wxPyEndAllowThreads(__tstate);
24572 if (PyErr_Occurred()) SWIG_fail;
24573 }
24574 resultobj = SWIG_Py_Void();
24575 return resultobj;
24576 fail:
24577 return NULL;
24578 }
24579
24580
24581 SWIGINTERN PyObject *_wrap_PrintData_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24582 PyObject *resultobj = 0;
24583 wxPrintData *arg1 = (wxPrintData *) 0 ;
24584 int arg2 ;
24585 void *argp1 = 0 ;
24586 int res1 = 0 ;
24587 int val2 ;
24588 int ecode2 = 0 ;
24589 PyObject * obj0 = 0 ;
24590 PyObject * obj1 = 0 ;
24591 char * kwnames[] = {
24592 (char *) "self",(char *) "orient", NULL
24593 };
24594
24595 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
24596 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24597 if (!SWIG_IsOK(res1)) {
24598 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
24599 }
24600 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24601 ecode2 = SWIG_AsVal_int(obj1, &val2);
24602 if (!SWIG_IsOK(ecode2)) {
24603 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
24604 }
24605 arg2 = static_cast< int >(val2);
24606 {
24607 PyThreadState* __tstate = wxPyBeginAllowThreads();
24608 (arg1)->SetOrientation(arg2);
24609 wxPyEndAllowThreads(__tstate);
24610 if (PyErr_Occurred()) SWIG_fail;
24611 }
24612 resultobj = SWIG_Py_Void();
24613 return resultobj;
24614 fail:
24615 return NULL;
24616 }
24617
24618
24619 SWIGINTERN PyObject *_wrap_PrintData_SetOrientationReversed(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24620 PyObject *resultobj = 0;
24621 wxPrintData *arg1 = (wxPrintData *) 0 ;
24622 bool arg2 ;
24623 void *argp1 = 0 ;
24624 int res1 = 0 ;
24625 bool val2 ;
24626 int ecode2 = 0 ;
24627 PyObject * obj0 = 0 ;
24628 PyObject * obj1 = 0 ;
24629 char * kwnames[] = {
24630 (char *) "self",(char *) "reversed", NULL
24631 };
24632
24633 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientationReversed",kwnames,&obj0,&obj1)) SWIG_fail;
24634 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24635 if (!SWIG_IsOK(res1)) {
24636 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetOrientationReversed" "', expected argument " "1"" of type '" "wxPrintData *""'");
24637 }
24638 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24639 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24640 if (!SWIG_IsOK(ecode2)) {
24641 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetOrientationReversed" "', expected argument " "2"" of type '" "bool""'");
24642 }
24643 arg2 = static_cast< bool >(val2);
24644 {
24645 PyThreadState* __tstate = wxPyBeginAllowThreads();
24646 (arg1)->SetOrientationReversed(arg2);
24647 wxPyEndAllowThreads(__tstate);
24648 if (PyErr_Occurred()) SWIG_fail;
24649 }
24650 resultobj = SWIG_Py_Void();
24651 return resultobj;
24652 fail:
24653 return NULL;
24654 }
24655
24656
24657 SWIGINTERN PyObject *_wrap_PrintData_SetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24658 PyObject *resultobj = 0;
24659 wxPrintData *arg1 = (wxPrintData *) 0 ;
24660 wxString *arg2 = 0 ;
24661 void *argp1 = 0 ;
24662 int res1 = 0 ;
24663 bool temp2 = false ;
24664 PyObject * obj0 = 0 ;
24665 PyObject * obj1 = 0 ;
24666 char * kwnames[] = {
24667 (char *) "self",(char *) "name", NULL
24668 };
24669
24670 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) SWIG_fail;
24671 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24672 if (!SWIG_IsOK(res1)) {
24673 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24674 }
24675 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24676 {
24677 arg2 = wxString_in_helper(obj1);
24678 if (arg2 == NULL) SWIG_fail;
24679 temp2 = true;
24680 }
24681 {
24682 PyThreadState* __tstate = wxPyBeginAllowThreads();
24683 (arg1)->SetPrinterName((wxString const &)*arg2);
24684 wxPyEndAllowThreads(__tstate);
24685 if (PyErr_Occurred()) SWIG_fail;
24686 }
24687 resultobj = SWIG_Py_Void();
24688 {
24689 if (temp2)
24690 delete arg2;
24691 }
24692 return resultobj;
24693 fail:
24694 {
24695 if (temp2)
24696 delete arg2;
24697 }
24698 return NULL;
24699 }
24700
24701
24702 SWIGINTERN PyObject *_wrap_PrintData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24703 PyObject *resultobj = 0;
24704 wxPrintData *arg1 = (wxPrintData *) 0 ;
24705 bool arg2 ;
24706 void *argp1 = 0 ;
24707 int res1 = 0 ;
24708 bool val2 ;
24709 int ecode2 = 0 ;
24710 PyObject * obj0 = 0 ;
24711 PyObject * obj1 = 0 ;
24712 char * kwnames[] = {
24713 (char *) "self",(char *) "colour", NULL
24714 };
24715
24716 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
24717 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24718 if (!SWIG_IsOK(res1)) {
24719 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24720 }
24721 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24722 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24723 if (!SWIG_IsOK(ecode2)) {
24724 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
24725 }
24726 arg2 = static_cast< bool >(val2);
24727 {
24728 PyThreadState* __tstate = wxPyBeginAllowThreads();
24729 (arg1)->SetColour(arg2);
24730 wxPyEndAllowThreads(__tstate);
24731 if (PyErr_Occurred()) SWIG_fail;
24732 }
24733 resultobj = SWIG_Py_Void();
24734 return resultobj;
24735 fail:
24736 return NULL;
24737 }
24738
24739
24740 SWIGINTERN PyObject *_wrap_PrintData_SetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24741 PyObject *resultobj = 0;
24742 wxPrintData *arg1 = (wxPrintData *) 0 ;
24743 wxDuplexMode arg2 ;
24744 void *argp1 = 0 ;
24745 int res1 = 0 ;
24746 int val2 ;
24747 int ecode2 = 0 ;
24748 PyObject * obj0 = 0 ;
24749 PyObject * obj1 = 0 ;
24750 char * kwnames[] = {
24751 (char *) "self",(char *) "duplex", NULL
24752 };
24753
24754 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) SWIG_fail;
24755 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24756 if (!SWIG_IsOK(res1)) {
24757 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24758 }
24759 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24760 ecode2 = SWIG_AsVal_int(obj1, &val2);
24761 if (!SWIG_IsOK(ecode2)) {
24762 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
24763 }
24764 arg2 = static_cast< wxDuplexMode >(val2);
24765 {
24766 PyThreadState* __tstate = wxPyBeginAllowThreads();
24767 (arg1)->SetDuplex(arg2);
24768 wxPyEndAllowThreads(__tstate);
24769 if (PyErr_Occurred()) SWIG_fail;
24770 }
24771 resultobj = SWIG_Py_Void();
24772 return resultobj;
24773 fail:
24774 return NULL;
24775 }
24776
24777
24778 SWIGINTERN PyObject *_wrap_PrintData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24779 PyObject *resultobj = 0;
24780 wxPrintData *arg1 = (wxPrintData *) 0 ;
24781 wxPaperSize arg2 ;
24782 void *argp1 = 0 ;
24783 int res1 = 0 ;
24784 int val2 ;
24785 int ecode2 = 0 ;
24786 PyObject * obj0 = 0 ;
24787 PyObject * obj1 = 0 ;
24788 char * kwnames[] = {
24789 (char *) "self",(char *) "sizeId", NULL
24790 };
24791
24792 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
24793 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24794 if (!SWIG_IsOK(res1)) {
24795 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24796 }
24797 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24798 ecode2 = SWIG_AsVal_int(obj1, &val2);
24799 if (!SWIG_IsOK(ecode2)) {
24800 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24801 }
24802 arg2 = static_cast< wxPaperSize >(val2);
24803 {
24804 PyThreadState* __tstate = wxPyBeginAllowThreads();
24805 (arg1)->SetPaperId(arg2);
24806 wxPyEndAllowThreads(__tstate);
24807 if (PyErr_Occurred()) SWIG_fail;
24808 }
24809 resultobj = SWIG_Py_Void();
24810 return resultobj;
24811 fail:
24812 return NULL;
24813 }
24814
24815
24816 SWIGINTERN PyObject *_wrap_PrintData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24817 PyObject *resultobj = 0;
24818 wxPrintData *arg1 = (wxPrintData *) 0 ;
24819 wxSize *arg2 = 0 ;
24820 void *argp1 = 0 ;
24821 int res1 = 0 ;
24822 wxSize temp2 ;
24823 PyObject * obj0 = 0 ;
24824 PyObject * obj1 = 0 ;
24825 char * kwnames[] = {
24826 (char *) "self",(char *) "sz", NULL
24827 };
24828
24829 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
24830 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24831 if (!SWIG_IsOK(res1)) {
24832 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24833 }
24834 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24835 {
24836 arg2 = &temp2;
24837 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
24838 }
24839 {
24840 PyThreadState* __tstate = wxPyBeginAllowThreads();
24841 (arg1)->SetPaperSize((wxSize const &)*arg2);
24842 wxPyEndAllowThreads(__tstate);
24843 if (PyErr_Occurred()) SWIG_fail;
24844 }
24845 resultobj = SWIG_Py_Void();
24846 return resultobj;
24847 fail:
24848 return NULL;
24849 }
24850
24851
24852 SWIGINTERN PyObject *_wrap_PrintData_SetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24853 PyObject *resultobj = 0;
24854 wxPrintData *arg1 = (wxPrintData *) 0 ;
24855 int arg2 ;
24856 void *argp1 = 0 ;
24857 int res1 = 0 ;
24858 int val2 ;
24859 int ecode2 = 0 ;
24860 PyObject * obj0 = 0 ;
24861 PyObject * obj1 = 0 ;
24862 char * kwnames[] = {
24863 (char *) "self",(char *) "quality", NULL
24864 };
24865
24866 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) SWIG_fail;
24867 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24868 if (!SWIG_IsOK(res1)) {
24869 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24870 }
24871 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24872 ecode2 = SWIG_AsVal_int(obj1, &val2);
24873 if (!SWIG_IsOK(ecode2)) {
24874 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24875 }
24876 arg2 = static_cast< int >(val2);
24877 {
24878 PyThreadState* __tstate = wxPyBeginAllowThreads();
24879 (arg1)->SetQuality(arg2);
24880 wxPyEndAllowThreads(__tstate);
24881 if (PyErr_Occurred()) SWIG_fail;
24882 }
24883 resultobj = SWIG_Py_Void();
24884 return resultobj;
24885 fail:
24886 return NULL;
24887 }
24888
24889
24890 SWIGINTERN PyObject *_wrap_PrintData_SetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24891 PyObject *resultobj = 0;
24892 wxPrintData *arg1 = (wxPrintData *) 0 ;
24893 wxPrintBin arg2 ;
24894 void *argp1 = 0 ;
24895 int res1 = 0 ;
24896 int val2 ;
24897 int ecode2 = 0 ;
24898 PyObject * obj0 = 0 ;
24899 PyObject * obj1 = 0 ;
24900 char * kwnames[] = {
24901 (char *) "self",(char *) "bin", NULL
24902 };
24903
24904 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) SWIG_fail;
24905 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24906 if (!SWIG_IsOK(res1)) {
24907 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24908 }
24909 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24910 ecode2 = SWIG_AsVal_int(obj1, &val2);
24911 if (!SWIG_IsOK(ecode2)) {
24912 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24913 }
24914 arg2 = static_cast< wxPrintBin >(val2);
24915 {
24916 PyThreadState* __tstate = wxPyBeginAllowThreads();
24917 (arg1)->SetBin(arg2);
24918 wxPyEndAllowThreads(__tstate);
24919 if (PyErr_Occurred()) SWIG_fail;
24920 }
24921 resultobj = SWIG_Py_Void();
24922 return resultobj;
24923 fail:
24924 return NULL;
24925 }
24926
24927
24928 SWIGINTERN PyObject *_wrap_PrintData_SetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24929 PyObject *resultobj = 0;
24930 wxPrintData *arg1 = (wxPrintData *) 0 ;
24931 wxPrintMode arg2 ;
24932 void *argp1 = 0 ;
24933 int res1 = 0 ;
24934 int val2 ;
24935 int ecode2 = 0 ;
24936 PyObject * obj0 = 0 ;
24937 PyObject * obj1 = 0 ;
24938 char * kwnames[] = {
24939 (char *) "self",(char *) "printMode", NULL
24940 };
24941
24942 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) SWIG_fail;
24943 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24944 if (!SWIG_IsOK(res1)) {
24945 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24946 }
24947 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24948 ecode2 = SWIG_AsVal_int(obj1, &val2);
24949 if (!SWIG_IsOK(ecode2)) {
24950 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24951 }
24952 arg2 = static_cast< wxPrintMode >(val2);
24953 {
24954 PyThreadState* __tstate = wxPyBeginAllowThreads();
24955 (arg1)->SetPrintMode(arg2);
24956 wxPyEndAllowThreads(__tstate);
24957 if (PyErr_Occurred()) SWIG_fail;
24958 }
24959 resultobj = SWIG_Py_Void();
24960 return resultobj;
24961 fail:
24962 return NULL;
24963 }
24964
24965
24966 SWIGINTERN PyObject *_wrap_PrintData_SetMedia(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24967 PyObject *resultobj = 0;
24968 wxPrintData *arg1 = (wxPrintData *) 0 ;
24969 int arg2 ;
24970 void *argp1 = 0 ;
24971 int res1 = 0 ;
24972 int val2 ;
24973 int ecode2 = 0 ;
24974 PyObject * obj0 = 0 ;
24975 PyObject * obj1 = 0 ;
24976 char * kwnames[] = {
24977 (char *) "self",(char *) "media", NULL
24978 };
24979
24980 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetMedia",kwnames,&obj0,&obj1)) SWIG_fail;
24981 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24982 if (!SWIG_IsOK(res1)) {
24983 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetMedia" "', expected argument " "1"" of type '" "wxPrintData *""'");
24984 }
24985 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24986 ecode2 = SWIG_AsVal_int(obj1, &val2);
24987 if (!SWIG_IsOK(ecode2)) {
24988 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetMedia" "', expected argument " "2"" of type '" "int""'");
24989 }
24990 arg2 = static_cast< int >(val2);
24991 {
24992 PyThreadState* __tstate = wxPyBeginAllowThreads();
24993 (arg1)->SetMedia(arg2);
24994 wxPyEndAllowThreads(__tstate);
24995 if (PyErr_Occurred()) SWIG_fail;
24996 }
24997 resultobj = SWIG_Py_Void();
24998 return resultobj;
24999 fail:
25000 return NULL;
25001 }
25002
25003
25004 SWIGINTERN PyObject *_wrap_PrintData_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25005 PyObject *resultobj = 0;
25006 wxPrintData *arg1 = (wxPrintData *) 0 ;
25007 wxString result;
25008 void *argp1 = 0 ;
25009 int res1 = 0 ;
25010 PyObject *swig_obj[1] ;
25011
25012 if (!args) SWIG_fail;
25013 swig_obj[0] = args;
25014 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
25015 if (!SWIG_IsOK(res1)) {
25016 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
25017 }
25018 arg1 = reinterpret_cast< wxPrintData * >(argp1);
25019 {
25020 PyThreadState* __tstate = wxPyBeginAllowThreads();
25021 result = ((wxPrintData const *)arg1)->GetFilename();
25022 wxPyEndAllowThreads(__tstate);
25023 if (PyErr_Occurred()) SWIG_fail;
25024 }
25025 {
25026 #if wxUSE_UNICODE
25027 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25028 #else
25029 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25030 #endif
25031 }
25032 return resultobj;
25033 fail:
25034 return NULL;
25035 }
25036
25037
25038 SWIGINTERN PyObject *_wrap_PrintData_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25039 PyObject *resultobj = 0;
25040 wxPrintData *arg1 = (wxPrintData *) 0 ;
25041 wxString *arg2 = 0 ;
25042 void *argp1 = 0 ;
25043 int res1 = 0 ;
25044 bool temp2 = false ;
25045 PyObject * obj0 = 0 ;
25046 PyObject * obj1 = 0 ;
25047 char * kwnames[] = {
25048 (char *) "self",(char *) "filename", NULL
25049 };
25050
25051 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
25052 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
25053 if (!SWIG_IsOK(res1)) {
25054 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
25055 }
25056 arg1 = reinterpret_cast< wxPrintData * >(argp1);
25057 {
25058 arg2 = wxString_in_helper(obj1);
25059 if (arg2 == NULL) SWIG_fail;
25060 temp2 = true;
25061 }
25062 {
25063 PyThreadState* __tstate = wxPyBeginAllowThreads();
25064 (arg1)->SetFilename((wxString const &)*arg2);
25065 wxPyEndAllowThreads(__tstate);
25066 if (PyErr_Occurred()) SWIG_fail;
25067 }
25068 resultobj = SWIG_Py_Void();
25069 {
25070 if (temp2)
25071 delete arg2;
25072 }
25073 return resultobj;
25074 fail:
25075 {
25076 if (temp2)
25077 delete arg2;
25078 }
25079 return NULL;
25080 }
25081
25082
25083 SWIGINTERN PyObject *_wrap_PrintData_GetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25084 PyObject *resultobj = 0;
25085 wxPrintData *arg1 = (wxPrintData *) 0 ;
25086 PyObject *result = 0 ;
25087 void *argp1 = 0 ;
25088 int res1 = 0 ;
25089 PyObject *swig_obj[1] ;
25090
25091 if (!args) SWIG_fail;
25092 swig_obj[0] = args;
25093 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
25094 if (!SWIG_IsOK(res1)) {
25095 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
25096 }
25097 arg1 = reinterpret_cast< wxPrintData * >(argp1);
25098 {
25099 PyThreadState* __tstate = wxPyBeginAllowThreads();
25100 result = (PyObject *)wxPrintData_GetPrivData(arg1);
25101 wxPyEndAllowThreads(__tstate);
25102 if (PyErr_Occurred()) SWIG_fail;
25103 }
25104 resultobj = result;
25105 return resultobj;
25106 fail:
25107 return NULL;
25108 }
25109
25110
25111 SWIGINTERN PyObject *_wrap_PrintData_SetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25112 PyObject *resultobj = 0;
25113 wxPrintData *arg1 = (wxPrintData *) 0 ;
25114 PyObject *arg2 = (PyObject *) 0 ;
25115 void *argp1 = 0 ;
25116 int res1 = 0 ;
25117 PyObject * obj0 = 0 ;
25118 PyObject * obj1 = 0 ;
25119 char * kwnames[] = {
25120 (char *) "self",(char *) "data", NULL
25121 };
25122
25123 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) SWIG_fail;
25124 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
25125 if (!SWIG_IsOK(res1)) {
25126 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
25127 }
25128 arg1 = reinterpret_cast< wxPrintData * >(argp1);
25129 arg2 = obj1;
25130 {
25131 PyThreadState* __tstate = wxPyBeginAllowThreads();
25132 wxPrintData_SetPrivData(arg1,arg2);
25133 wxPyEndAllowThreads(__tstate);
25134 if (PyErr_Occurred()) SWIG_fail;
25135 }
25136 resultobj = SWIG_Py_Void();
25137 return resultobj;
25138 fail:
25139 return NULL;
25140 }
25141
25142
25143 SWIGINTERN PyObject *PrintData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25144 PyObject *obj;
25145 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25146 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData, SWIG_NewClientData(obj));
25147 return SWIG_Py_Void();
25148 }
25149
25150 SWIGINTERN PyObject *PrintData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25151 return SWIG_Python_InitShadowInstance(args);
25152 }
25153
25154 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
25155 PyObject *resultobj = 0;
25156 wxPageSetupDialogData *result = 0 ;
25157
25158 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
25159 {
25160 PyThreadState* __tstate = wxPyBeginAllowThreads();
25161 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
25162 wxPyEndAllowThreads(__tstate);
25163 if (PyErr_Occurred()) SWIG_fail;
25164 }
25165 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
25166 return resultobj;
25167 fail:
25168 return NULL;
25169 }
25170
25171
25172 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
25173 PyObject *resultobj = 0;
25174 wxPageSetupDialogData *arg1 = 0 ;
25175 wxPageSetupDialogData *result = 0 ;
25176 void *argp1 = 0 ;
25177 int res1 = 0 ;
25178
25179 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
25180 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
25181 if (!SWIG_IsOK(res1)) {
25182 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
25183 }
25184 if (!argp1) {
25185 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
25186 }
25187 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25188 {
25189 PyThreadState* __tstate = wxPyBeginAllowThreads();
25190 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
25191 wxPyEndAllowThreads(__tstate);
25192 if (PyErr_Occurred()) SWIG_fail;
25193 }
25194 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
25195 return resultobj;
25196 fail:
25197 return NULL;
25198 }
25199
25200
25201 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
25202 PyObject *resultobj = 0;
25203 wxPrintData *arg1 = 0 ;
25204 wxPageSetupDialogData *result = 0 ;
25205 void *argp1 = 0 ;
25206 int res1 = 0 ;
25207
25208 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
25209 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
25210 if (!SWIG_IsOK(res1)) {
25211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25212 }
25213 if (!argp1) {
25214 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25215 }
25216 arg1 = reinterpret_cast< wxPrintData * >(argp1);
25217 {
25218 PyThreadState* __tstate = wxPyBeginAllowThreads();
25219 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
25220 wxPyEndAllowThreads(__tstate);
25221 if (PyErr_Occurred()) SWIG_fail;
25222 }
25223 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
25224 return resultobj;
25225 fail:
25226 return NULL;
25227 }
25228
25229
25230 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
25231 int argc;
25232 PyObject *argv[2];
25233
25234 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PageSetupDialogData",0,1,argv))) SWIG_fail;
25235 --argc;
25236 if (argc == 0) {
25237 return _wrap_new_PageSetupDialogData__SWIG_0(self, argc, argv);
25238 }
25239 if (argc == 1) {
25240 int _v = 0;
25241 {
25242 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPageSetupDialogData, 0);
25243 _v = SWIG_CheckState(res);
25244 }
25245 if (!_v) goto check_2;
25246 return _wrap_new_PageSetupDialogData__SWIG_1(self, argc, argv);
25247 }
25248 check_2:
25249
25250 if (argc == 1) {
25251 return _wrap_new_PageSetupDialogData__SWIG_2(self, argc, argv);
25252 }
25253
25254 fail:
25255 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
25256 return NULL;
25257 }
25258
25259
25260 SWIGINTERN PyObject *_wrap_delete_PageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25261 PyObject *resultobj = 0;
25262 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25263 void *argp1 = 0 ;
25264 int res1 = 0 ;
25265 PyObject *swig_obj[1] ;
25266
25267 if (!args) SWIG_fail;
25268 swig_obj[0] = args;
25269 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_DISOWN | 0 );
25270 if (!SWIG_IsOK(res1)) {
25271 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25272 }
25273 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25274 {
25275 PyThreadState* __tstate = wxPyBeginAllowThreads();
25276 delete arg1;
25277
25278 wxPyEndAllowThreads(__tstate);
25279 if (PyErr_Occurred()) SWIG_fail;
25280 }
25281 resultobj = SWIG_Py_Void();
25282 return resultobj;
25283 fail:
25284 return NULL;
25285 }
25286
25287
25288 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25289 PyObject *resultobj = 0;
25290 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25291 bool arg2 ;
25292 void *argp1 = 0 ;
25293 int res1 = 0 ;
25294 bool val2 ;
25295 int ecode2 = 0 ;
25296 PyObject * obj0 = 0 ;
25297 PyObject * obj1 = 0 ;
25298 char * kwnames[] = {
25299 (char *) "self",(char *) "flag", NULL
25300 };
25301
25302 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
25303 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25304 if (!SWIG_IsOK(res1)) {
25305 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25306 }
25307 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25308 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25309 if (!SWIG_IsOK(ecode2)) {
25310 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
25311 }
25312 arg2 = static_cast< bool >(val2);
25313 {
25314 PyThreadState* __tstate = wxPyBeginAllowThreads();
25315 (arg1)->EnableHelp(arg2);
25316 wxPyEndAllowThreads(__tstate);
25317 if (PyErr_Occurred()) SWIG_fail;
25318 }
25319 resultobj = SWIG_Py_Void();
25320 return resultobj;
25321 fail:
25322 return NULL;
25323 }
25324
25325
25326 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25327 PyObject *resultobj = 0;
25328 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25329 bool arg2 ;
25330 void *argp1 = 0 ;
25331 int res1 = 0 ;
25332 bool val2 ;
25333 int ecode2 = 0 ;
25334 PyObject * obj0 = 0 ;
25335 PyObject * obj1 = 0 ;
25336 char * kwnames[] = {
25337 (char *) "self",(char *) "flag", NULL
25338 };
25339
25340 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) SWIG_fail;
25341 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25342 if (!SWIG_IsOK(res1)) {
25343 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25344 }
25345 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25346 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25347 if (!SWIG_IsOK(ecode2)) {
25348 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
25349 }
25350 arg2 = static_cast< bool >(val2);
25351 {
25352 PyThreadState* __tstate = wxPyBeginAllowThreads();
25353 (arg1)->EnableMargins(arg2);
25354 wxPyEndAllowThreads(__tstate);
25355 if (PyErr_Occurred()) SWIG_fail;
25356 }
25357 resultobj = SWIG_Py_Void();
25358 return resultobj;
25359 fail:
25360 return NULL;
25361 }
25362
25363
25364 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25365 PyObject *resultobj = 0;
25366 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25367 bool arg2 ;
25368 void *argp1 = 0 ;
25369 int res1 = 0 ;
25370 bool val2 ;
25371 int ecode2 = 0 ;
25372 PyObject * obj0 = 0 ;
25373 PyObject * obj1 = 0 ;
25374 char * kwnames[] = {
25375 (char *) "self",(char *) "flag", NULL
25376 };
25377
25378 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
25379 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25380 if (!SWIG_IsOK(res1)) {
25381 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25382 }
25383 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25384 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25385 if (!SWIG_IsOK(ecode2)) {
25386 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
25387 }
25388 arg2 = static_cast< bool >(val2);
25389 {
25390 PyThreadState* __tstate = wxPyBeginAllowThreads();
25391 (arg1)->EnableOrientation(arg2);
25392 wxPyEndAllowThreads(__tstate);
25393 if (PyErr_Occurred()) SWIG_fail;
25394 }
25395 resultobj = SWIG_Py_Void();
25396 return resultobj;
25397 fail:
25398 return NULL;
25399 }
25400
25401
25402 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25403 PyObject *resultobj = 0;
25404 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25405 bool arg2 ;
25406 void *argp1 = 0 ;
25407 int res1 = 0 ;
25408 bool val2 ;
25409 int ecode2 = 0 ;
25410 PyObject * obj0 = 0 ;
25411 PyObject * obj1 = 0 ;
25412 char * kwnames[] = {
25413 (char *) "self",(char *) "flag", NULL
25414 };
25415
25416 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) SWIG_fail;
25417 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25418 if (!SWIG_IsOK(res1)) {
25419 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25420 }
25421 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25422 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25423 if (!SWIG_IsOK(ecode2)) {
25424 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
25425 }
25426 arg2 = static_cast< bool >(val2);
25427 {
25428 PyThreadState* __tstate = wxPyBeginAllowThreads();
25429 (arg1)->EnablePaper(arg2);
25430 wxPyEndAllowThreads(__tstate);
25431 if (PyErr_Occurred()) SWIG_fail;
25432 }
25433 resultobj = SWIG_Py_Void();
25434 return resultobj;
25435 fail:
25436 return NULL;
25437 }
25438
25439
25440 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25441 PyObject *resultobj = 0;
25442 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25443 bool arg2 ;
25444 void *argp1 = 0 ;
25445 int res1 = 0 ;
25446 bool val2 ;
25447 int ecode2 = 0 ;
25448 PyObject * obj0 = 0 ;
25449 PyObject * obj1 = 0 ;
25450 char * kwnames[] = {
25451 (char *) "self",(char *) "flag", NULL
25452 };
25453
25454 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) SWIG_fail;
25455 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25456 if (!SWIG_IsOK(res1)) {
25457 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25458 }
25459 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25460 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25461 if (!SWIG_IsOK(ecode2)) {
25462 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
25463 }
25464 arg2 = static_cast< bool >(val2);
25465 {
25466 PyThreadState* __tstate = wxPyBeginAllowThreads();
25467 (arg1)->EnablePrinter(arg2);
25468 wxPyEndAllowThreads(__tstate);
25469 if (PyErr_Occurred()) SWIG_fail;
25470 }
25471 resultobj = SWIG_Py_Void();
25472 return resultobj;
25473 fail:
25474 return NULL;
25475 }
25476
25477
25478 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25479 PyObject *resultobj = 0;
25480 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25481 bool result;
25482 void *argp1 = 0 ;
25483 int res1 = 0 ;
25484 PyObject *swig_obj[1] ;
25485
25486 if (!args) SWIG_fail;
25487 swig_obj[0] = args;
25488 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25489 if (!SWIG_IsOK(res1)) {
25490 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25491 }
25492 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25493 {
25494 PyThreadState* __tstate = wxPyBeginAllowThreads();
25495 result = (bool)(arg1)->GetDefaultMinMargins();
25496 wxPyEndAllowThreads(__tstate);
25497 if (PyErr_Occurred()) SWIG_fail;
25498 }
25499 {
25500 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25501 }
25502 return resultobj;
25503 fail:
25504 return NULL;
25505 }
25506
25507
25508 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25509 PyObject *resultobj = 0;
25510 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25511 bool result;
25512 void *argp1 = 0 ;
25513 int res1 = 0 ;
25514 PyObject *swig_obj[1] ;
25515
25516 if (!args) SWIG_fail;
25517 swig_obj[0] = args;
25518 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25519 if (!SWIG_IsOK(res1)) {
25520 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25521 }
25522 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25523 {
25524 PyThreadState* __tstate = wxPyBeginAllowThreads();
25525 result = (bool)(arg1)->GetEnableMargins();
25526 wxPyEndAllowThreads(__tstate);
25527 if (PyErr_Occurred()) SWIG_fail;
25528 }
25529 {
25530 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25531 }
25532 return resultobj;
25533 fail:
25534 return NULL;
25535 }
25536
25537
25538 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25539 PyObject *resultobj = 0;
25540 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25541 bool result;
25542 void *argp1 = 0 ;
25543 int res1 = 0 ;
25544 PyObject *swig_obj[1] ;
25545
25546 if (!args) SWIG_fail;
25547 swig_obj[0] = args;
25548 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25549 if (!SWIG_IsOK(res1)) {
25550 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25551 }
25552 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25553 {
25554 PyThreadState* __tstate = wxPyBeginAllowThreads();
25555 result = (bool)(arg1)->GetEnableOrientation();
25556 wxPyEndAllowThreads(__tstate);
25557 if (PyErr_Occurred()) SWIG_fail;
25558 }
25559 {
25560 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25561 }
25562 return resultobj;
25563 fail:
25564 return NULL;
25565 }
25566
25567
25568 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25569 PyObject *resultobj = 0;
25570 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25571 bool result;
25572 void *argp1 = 0 ;
25573 int res1 = 0 ;
25574 PyObject *swig_obj[1] ;
25575
25576 if (!args) SWIG_fail;
25577 swig_obj[0] = args;
25578 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25579 if (!SWIG_IsOK(res1)) {
25580 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25581 }
25582 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25583 {
25584 PyThreadState* __tstate = wxPyBeginAllowThreads();
25585 result = (bool)(arg1)->GetEnablePaper();
25586 wxPyEndAllowThreads(__tstate);
25587 if (PyErr_Occurred()) SWIG_fail;
25588 }
25589 {
25590 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25591 }
25592 return resultobj;
25593 fail:
25594 return NULL;
25595 }
25596
25597
25598 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25599 PyObject *resultobj = 0;
25600 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25601 bool result;
25602 void *argp1 = 0 ;
25603 int res1 = 0 ;
25604 PyObject *swig_obj[1] ;
25605
25606 if (!args) SWIG_fail;
25607 swig_obj[0] = args;
25608 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25609 if (!SWIG_IsOK(res1)) {
25610 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25611 }
25612 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25613 {
25614 PyThreadState* __tstate = wxPyBeginAllowThreads();
25615 result = (bool)(arg1)->GetEnablePrinter();
25616 wxPyEndAllowThreads(__tstate);
25617 if (PyErr_Occurred()) SWIG_fail;
25618 }
25619 {
25620 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25621 }
25622 return resultobj;
25623 fail:
25624 return NULL;
25625 }
25626
25627
25628 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25629 PyObject *resultobj = 0;
25630 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25631 bool result;
25632 void *argp1 = 0 ;
25633 int res1 = 0 ;
25634 PyObject *swig_obj[1] ;
25635
25636 if (!args) SWIG_fail;
25637 swig_obj[0] = args;
25638 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25639 if (!SWIG_IsOK(res1)) {
25640 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25641 }
25642 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25643 {
25644 PyThreadState* __tstate = wxPyBeginAllowThreads();
25645 result = (bool)(arg1)->GetEnableHelp();
25646 wxPyEndAllowThreads(__tstate);
25647 if (PyErr_Occurred()) SWIG_fail;
25648 }
25649 {
25650 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25651 }
25652 return resultobj;
25653 fail:
25654 return NULL;
25655 }
25656
25657
25658 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25659 PyObject *resultobj = 0;
25660 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25661 bool result;
25662 void *argp1 = 0 ;
25663 int res1 = 0 ;
25664 PyObject *swig_obj[1] ;
25665
25666 if (!args) SWIG_fail;
25667 swig_obj[0] = args;
25668 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25669 if (!SWIG_IsOK(res1)) {
25670 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25671 }
25672 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25673 {
25674 PyThreadState* __tstate = wxPyBeginAllowThreads();
25675 result = (bool)(arg1)->GetDefaultInfo();
25676 wxPyEndAllowThreads(__tstate);
25677 if (PyErr_Occurred()) SWIG_fail;
25678 }
25679 {
25680 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25681 }
25682 return resultobj;
25683 fail:
25684 return NULL;
25685 }
25686
25687
25688 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25689 PyObject *resultobj = 0;
25690 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25691 wxPoint result;
25692 void *argp1 = 0 ;
25693 int res1 = 0 ;
25694 PyObject *swig_obj[1] ;
25695
25696 if (!args) SWIG_fail;
25697 swig_obj[0] = args;
25698 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25699 if (!SWIG_IsOK(res1)) {
25700 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25701 }
25702 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25703 {
25704 PyThreadState* __tstate = wxPyBeginAllowThreads();
25705 result = (arg1)->GetMarginTopLeft();
25706 wxPyEndAllowThreads(__tstate);
25707 if (PyErr_Occurred()) SWIG_fail;
25708 }
25709 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25710 return resultobj;
25711 fail:
25712 return NULL;
25713 }
25714
25715
25716 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25717 PyObject *resultobj = 0;
25718 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25719 wxPoint result;
25720 void *argp1 = 0 ;
25721 int res1 = 0 ;
25722 PyObject *swig_obj[1] ;
25723
25724 if (!args) SWIG_fail;
25725 swig_obj[0] = args;
25726 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25727 if (!SWIG_IsOK(res1)) {
25728 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25729 }
25730 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25731 {
25732 PyThreadState* __tstate = wxPyBeginAllowThreads();
25733 result = (arg1)->GetMarginBottomRight();
25734 wxPyEndAllowThreads(__tstate);
25735 if (PyErr_Occurred()) SWIG_fail;
25736 }
25737 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25738 return resultobj;
25739 fail:
25740 return NULL;
25741 }
25742
25743
25744 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25745 PyObject *resultobj = 0;
25746 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25747 wxPoint result;
25748 void *argp1 = 0 ;
25749 int res1 = 0 ;
25750 PyObject *swig_obj[1] ;
25751
25752 if (!args) SWIG_fail;
25753 swig_obj[0] = args;
25754 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25755 if (!SWIG_IsOK(res1)) {
25756 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25757 }
25758 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25759 {
25760 PyThreadState* __tstate = wxPyBeginAllowThreads();
25761 result = (arg1)->GetMinMarginTopLeft();
25762 wxPyEndAllowThreads(__tstate);
25763 if (PyErr_Occurred()) SWIG_fail;
25764 }
25765 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25766 return resultobj;
25767 fail:
25768 return NULL;
25769 }
25770
25771
25772 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25773 PyObject *resultobj = 0;
25774 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25775 wxPoint result;
25776 void *argp1 = 0 ;
25777 int res1 = 0 ;
25778 PyObject *swig_obj[1] ;
25779
25780 if (!args) SWIG_fail;
25781 swig_obj[0] = args;
25782 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25783 if (!SWIG_IsOK(res1)) {
25784 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25785 }
25786 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25787 {
25788 PyThreadState* __tstate = wxPyBeginAllowThreads();
25789 result = (arg1)->GetMinMarginBottomRight();
25790 wxPyEndAllowThreads(__tstate);
25791 if (PyErr_Occurred()) SWIG_fail;
25792 }
25793 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25794 return resultobj;
25795 fail:
25796 return NULL;
25797 }
25798
25799
25800 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25801 PyObject *resultobj = 0;
25802 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25803 wxPaperSize result;
25804 void *argp1 = 0 ;
25805 int res1 = 0 ;
25806 PyObject *swig_obj[1] ;
25807
25808 if (!args) SWIG_fail;
25809 swig_obj[0] = args;
25810 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25811 if (!SWIG_IsOK(res1)) {
25812 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25813 }
25814 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25815 {
25816 PyThreadState* __tstate = wxPyBeginAllowThreads();
25817 result = (wxPaperSize)(arg1)->GetPaperId();
25818 wxPyEndAllowThreads(__tstate);
25819 if (PyErr_Occurred()) SWIG_fail;
25820 }
25821 resultobj = SWIG_From_int(static_cast< int >(result));
25822 return resultobj;
25823 fail:
25824 return NULL;
25825 }
25826
25827
25828 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25829 PyObject *resultobj = 0;
25830 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25831 wxSize result;
25832 void *argp1 = 0 ;
25833 int res1 = 0 ;
25834 PyObject *swig_obj[1] ;
25835
25836 if (!args) SWIG_fail;
25837 swig_obj[0] = args;
25838 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25839 if (!SWIG_IsOK(res1)) {
25840 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25841 }
25842 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25843 {
25844 PyThreadState* __tstate = wxPyBeginAllowThreads();
25845 result = (arg1)->GetPaperSize();
25846 wxPyEndAllowThreads(__tstate);
25847 if (PyErr_Occurred()) SWIG_fail;
25848 }
25849 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25850 return resultobj;
25851 fail:
25852 return NULL;
25853 }
25854
25855
25856 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25857 PyObject *resultobj = 0;
25858 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25859 wxPrintData *result = 0 ;
25860 void *argp1 = 0 ;
25861 int res1 = 0 ;
25862 PyObject *swig_obj[1] ;
25863
25864 if (!args) SWIG_fail;
25865 swig_obj[0] = args;
25866 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25867 if (!SWIG_IsOK(res1)) {
25868 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25869 }
25870 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25871 {
25872 PyThreadState* __tstate = wxPyBeginAllowThreads();
25873 {
25874 wxPrintData &_result_ref = (arg1)->GetPrintData();
25875 result = (wxPrintData *) &_result_ref;
25876 }
25877 wxPyEndAllowThreads(__tstate);
25878 if (PyErr_Occurred()) SWIG_fail;
25879 }
25880 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
25881 return resultobj;
25882 fail:
25883 return NULL;
25884 }
25885
25886
25887 SWIGINTERN PyObject *_wrap_PageSetupDialogData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25888 PyObject *resultobj = 0;
25889 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25890 bool result;
25891 void *argp1 = 0 ;
25892 int res1 = 0 ;
25893 PyObject *swig_obj[1] ;
25894
25895 if (!args) SWIG_fail;
25896 swig_obj[0] = args;
25897 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25898 if (!SWIG_IsOK(res1)) {
25899 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_IsOk" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25900 }
25901 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25902 {
25903 PyThreadState* __tstate = wxPyBeginAllowThreads();
25904 result = (bool)(arg1)->IsOk();
25905 wxPyEndAllowThreads(__tstate);
25906 if (PyErr_Occurred()) SWIG_fail;
25907 }
25908 {
25909 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25910 }
25911 return resultobj;
25912 fail:
25913 return NULL;
25914 }
25915
25916
25917 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25918 PyObject *resultobj = 0;
25919 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25920 bool arg2 ;
25921 void *argp1 = 0 ;
25922 int res1 = 0 ;
25923 bool val2 ;
25924 int ecode2 = 0 ;
25925 PyObject * obj0 = 0 ;
25926 PyObject * obj1 = 0 ;
25927 char * kwnames[] = {
25928 (char *) "self",(char *) "flag", NULL
25929 };
25930
25931 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) SWIG_fail;
25932 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25933 if (!SWIG_IsOK(res1)) {
25934 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25935 }
25936 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25937 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25938 if (!SWIG_IsOK(ecode2)) {
25939 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25940 }
25941 arg2 = static_cast< bool >(val2);
25942 {
25943 PyThreadState* __tstate = wxPyBeginAllowThreads();
25944 (arg1)->SetDefaultInfo(arg2);
25945 wxPyEndAllowThreads(__tstate);
25946 if (PyErr_Occurred()) SWIG_fail;
25947 }
25948 resultobj = SWIG_Py_Void();
25949 return resultobj;
25950 fail:
25951 return NULL;
25952 }
25953
25954
25955 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25956 PyObject *resultobj = 0;
25957 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25958 bool arg2 ;
25959 void *argp1 = 0 ;
25960 int res1 = 0 ;
25961 bool val2 ;
25962 int ecode2 = 0 ;
25963 PyObject * obj0 = 0 ;
25964 PyObject * obj1 = 0 ;
25965 char * kwnames[] = {
25966 (char *) "self",(char *) "flag", NULL
25967 };
25968
25969 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) SWIG_fail;
25970 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25971 if (!SWIG_IsOK(res1)) {
25972 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25973 }
25974 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25975 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25976 if (!SWIG_IsOK(ecode2)) {
25977 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25978 }
25979 arg2 = static_cast< bool >(val2);
25980 {
25981 PyThreadState* __tstate = wxPyBeginAllowThreads();
25982 (arg1)->SetDefaultMinMargins(arg2);
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 *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25994 PyObject *resultobj = 0;
25995 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25996 wxPoint *arg2 = 0 ;
25997 void *argp1 = 0 ;
25998 int res1 = 0 ;
25999 wxPoint temp2 ;
26000 PyObject * obj0 = 0 ;
26001 PyObject * obj1 = 0 ;
26002 char * kwnames[] = {
26003 (char *) "self",(char *) "pt", NULL
26004 };
26005
26006 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
26007 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26008 if (!SWIG_IsOK(res1)) {
26009 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26010 }
26011 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
26012 {
26013 arg2 = &temp2;
26014 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26015 }
26016 {
26017 PyThreadState* __tstate = wxPyBeginAllowThreads();
26018 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
26019 wxPyEndAllowThreads(__tstate);
26020 if (PyErr_Occurred()) SWIG_fail;
26021 }
26022 resultobj = SWIG_Py_Void();
26023 return resultobj;
26024 fail:
26025 return NULL;
26026 }
26027
26028
26029 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26030 PyObject *resultobj = 0;
26031 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
26032 wxPoint *arg2 = 0 ;
26033 void *argp1 = 0 ;
26034 int res1 = 0 ;
26035 wxPoint temp2 ;
26036 PyObject * obj0 = 0 ;
26037 PyObject * obj1 = 0 ;
26038 char * kwnames[] = {
26039 (char *) "self",(char *) "pt", NULL
26040 };
26041
26042 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
26043 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26044 if (!SWIG_IsOK(res1)) {
26045 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26046 }
26047 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
26048 {
26049 arg2 = &temp2;
26050 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26051 }
26052 {
26053 PyThreadState* __tstate = wxPyBeginAllowThreads();
26054 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
26055 wxPyEndAllowThreads(__tstate);
26056 if (PyErr_Occurred()) SWIG_fail;
26057 }
26058 resultobj = SWIG_Py_Void();
26059 return resultobj;
26060 fail:
26061 return NULL;
26062 }
26063
26064
26065 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26066 PyObject *resultobj = 0;
26067 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
26068 wxPoint *arg2 = 0 ;
26069 void *argp1 = 0 ;
26070 int res1 = 0 ;
26071 wxPoint temp2 ;
26072 PyObject * obj0 = 0 ;
26073 PyObject * obj1 = 0 ;
26074 char * kwnames[] = {
26075 (char *) "self",(char *) "pt", NULL
26076 };
26077
26078 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
26079 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26080 if (!SWIG_IsOK(res1)) {
26081 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26082 }
26083 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
26084 {
26085 arg2 = &temp2;
26086 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26087 }
26088 {
26089 PyThreadState* __tstate = wxPyBeginAllowThreads();
26090 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
26091 wxPyEndAllowThreads(__tstate);
26092 if (PyErr_Occurred()) SWIG_fail;
26093 }
26094 resultobj = SWIG_Py_Void();
26095 return resultobj;
26096 fail:
26097 return NULL;
26098 }
26099
26100
26101 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26102 PyObject *resultobj = 0;
26103 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
26104 wxPoint *arg2 = 0 ;
26105 void *argp1 = 0 ;
26106 int res1 = 0 ;
26107 wxPoint temp2 ;
26108 PyObject * obj0 = 0 ;
26109 PyObject * obj1 = 0 ;
26110 char * kwnames[] = {
26111 (char *) "self",(char *) "pt", NULL
26112 };
26113
26114 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
26115 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26116 if (!SWIG_IsOK(res1)) {
26117 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26118 }
26119 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
26120 {
26121 arg2 = &temp2;
26122 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26123 }
26124 {
26125 PyThreadState* __tstate = wxPyBeginAllowThreads();
26126 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
26127 wxPyEndAllowThreads(__tstate);
26128 if (PyErr_Occurred()) SWIG_fail;
26129 }
26130 resultobj = SWIG_Py_Void();
26131 return resultobj;
26132 fail:
26133 return NULL;
26134 }
26135
26136
26137 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26138 PyObject *resultobj = 0;
26139 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
26140 wxPaperSize arg2 ;
26141 void *argp1 = 0 ;
26142 int res1 = 0 ;
26143 int val2 ;
26144 int ecode2 = 0 ;
26145 PyObject * obj0 = 0 ;
26146 PyObject * obj1 = 0 ;
26147 char * kwnames[] = {
26148 (char *) "self",(char *) "id", NULL
26149 };
26150
26151 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
26152 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26153 if (!SWIG_IsOK(res1)) {
26154 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26155 }
26156 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
26157 ecode2 = SWIG_AsVal_int(obj1, &val2);
26158 if (!SWIG_IsOK(ecode2)) {
26159 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
26160 }
26161 arg2 = static_cast< wxPaperSize >(val2);
26162 {
26163 PyThreadState* __tstate = wxPyBeginAllowThreads();
26164 (arg1)->SetPaperId(arg2);
26165 wxPyEndAllowThreads(__tstate);
26166 if (PyErr_Occurred()) SWIG_fail;
26167 }
26168 resultobj = SWIG_Py_Void();
26169 return resultobj;
26170 fail:
26171 return NULL;
26172 }
26173
26174
26175 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26176 PyObject *resultobj = 0;
26177 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
26178 wxSize *arg2 = 0 ;
26179 void *argp1 = 0 ;
26180 int res1 = 0 ;
26181 wxSize temp2 ;
26182 PyObject * obj0 = 0 ;
26183 PyObject * obj1 = 0 ;
26184 char * kwnames[] = {
26185 (char *) "self",(char *) "size", NULL
26186 };
26187
26188 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
26189 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26190 if (!SWIG_IsOK(res1)) {
26191 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26192 }
26193 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
26194 {
26195 arg2 = &temp2;
26196 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
26197 }
26198 {
26199 PyThreadState* __tstate = wxPyBeginAllowThreads();
26200 (arg1)->SetPaperSize((wxSize const &)*arg2);
26201 wxPyEndAllowThreads(__tstate);
26202 if (PyErr_Occurred()) SWIG_fail;
26203 }
26204 resultobj = SWIG_Py_Void();
26205 return resultobj;
26206 fail:
26207 return NULL;
26208 }
26209
26210
26211 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26212 PyObject *resultobj = 0;
26213 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
26214 wxPrintData *arg2 = 0 ;
26215 void *argp1 = 0 ;
26216 int res1 = 0 ;
26217 void *argp2 = 0 ;
26218 int res2 = 0 ;
26219 PyObject * obj0 = 0 ;
26220 PyObject * obj1 = 0 ;
26221 char * kwnames[] = {
26222 (char *) "self",(char *) "printData", NULL
26223 };
26224
26225 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
26226 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26227 if (!SWIG_IsOK(res1)) {
26228 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26229 }
26230 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
26231 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
26232 if (!SWIG_IsOK(res2)) {
26233 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26234 }
26235 if (!argp2) {
26236 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26237 }
26238 arg2 = reinterpret_cast< wxPrintData * >(argp2);
26239 {
26240 PyThreadState* __tstate = wxPyBeginAllowThreads();
26241 (arg1)->SetPrintData((wxPrintData const &)*arg2);
26242 wxPyEndAllowThreads(__tstate);
26243 if (PyErr_Occurred()) SWIG_fail;
26244 }
26245 resultobj = SWIG_Py_Void();
26246 return resultobj;
26247 fail:
26248 return NULL;
26249 }
26250
26251
26252 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26253 PyObject *resultobj = 0;
26254 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
26255 void *argp1 = 0 ;
26256 int res1 = 0 ;
26257 PyObject *swig_obj[1] ;
26258
26259 if (!args) SWIG_fail;
26260 swig_obj[0] = args;
26261 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26262 if (!SWIG_IsOK(res1)) {
26263 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26264 }
26265 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
26266 {
26267 PyThreadState* __tstate = wxPyBeginAllowThreads();
26268 (arg1)->CalculateIdFromPaperSize();
26269 wxPyEndAllowThreads(__tstate);
26270 if (PyErr_Occurred()) SWIG_fail;
26271 }
26272 resultobj = SWIG_Py_Void();
26273 return resultobj;
26274 fail:
26275 return NULL;
26276 }
26277
26278
26279 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26280 PyObject *resultobj = 0;
26281 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
26282 void *argp1 = 0 ;
26283 int res1 = 0 ;
26284 PyObject *swig_obj[1] ;
26285
26286 if (!args) SWIG_fail;
26287 swig_obj[0] = args;
26288 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26289 if (!SWIG_IsOK(res1)) {
26290 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26291 }
26292 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
26293 {
26294 PyThreadState* __tstate = wxPyBeginAllowThreads();
26295 (arg1)->CalculatePaperSizeFromId();
26296 wxPyEndAllowThreads(__tstate);
26297 if (PyErr_Occurred()) SWIG_fail;
26298 }
26299 resultobj = SWIG_Py_Void();
26300 return resultobj;
26301 fail:
26302 return NULL;
26303 }
26304
26305
26306 SWIGINTERN PyObject *PageSetupDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26307 PyObject *obj;
26308 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26309 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData, SWIG_NewClientData(obj));
26310 return SWIG_Py_Void();
26311 }
26312
26313 SWIGINTERN PyObject *PageSetupDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26314 return SWIG_Python_InitShadowInstance(args);
26315 }
26316
26317 SWIGINTERN PyObject *_wrap_new_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26318 PyObject *resultobj = 0;
26319 wxWindow *arg1 = (wxWindow *) 0 ;
26320 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
26321 wxPageSetupDialog *result = 0 ;
26322 void *argp1 = 0 ;
26323 int res1 = 0 ;
26324 void *argp2 = 0 ;
26325 int res2 = 0 ;
26326 PyObject * obj0 = 0 ;
26327 PyObject * obj1 = 0 ;
26328 char * kwnames[] = {
26329 (char *) "parent",(char *) "data", NULL
26330 };
26331
26332 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) SWIG_fail;
26333 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
26334 if (!SWIG_IsOK(res1)) {
26335 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
26336 }
26337 arg1 = reinterpret_cast< wxWindow * >(argp1);
26338 if (obj1) {
26339 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26340 if (!SWIG_IsOK(res2)) {
26341 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
26342 }
26343 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
26344 }
26345 {
26346 if (!wxPyCheckForApp()) SWIG_fail;
26347 PyThreadState* __tstate = wxPyBeginAllowThreads();
26348 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
26349 wxPyEndAllowThreads(__tstate);
26350 if (PyErr_Occurred()) SWIG_fail;
26351 }
26352 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_NEW | 0 );
26353 return resultobj;
26354 fail:
26355 return NULL;
26356 }
26357
26358
26359 SWIGINTERN PyObject *_wrap_delete_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26360 PyObject *resultobj = 0;
26361 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
26362 void *argp1 = 0 ;
26363 int res1 = 0 ;
26364 PyObject *swig_obj[1] ;
26365
26366 if (!args) SWIG_fail;
26367 swig_obj[0] = args;
26368 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_DISOWN | 0 );
26369 if (!SWIG_IsOK(res1)) {
26370 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26371 }
26372 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
26373 {
26374 PyThreadState* __tstate = wxPyBeginAllowThreads();
26375 delete arg1;
26376
26377 wxPyEndAllowThreads(__tstate);
26378 if (PyErr_Occurred()) SWIG_fail;
26379 }
26380 resultobj = SWIG_Py_Void();
26381 return resultobj;
26382 fail:
26383 return NULL;
26384 }
26385
26386
26387 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26388 PyObject *resultobj = 0;
26389 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
26390 wxPageSetupDialogData *result = 0 ;
26391 void *argp1 = 0 ;
26392 int res1 = 0 ;
26393 PyObject *swig_obj[1] ;
26394
26395 if (!args) SWIG_fail;
26396 swig_obj[0] = args;
26397 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
26398 if (!SWIG_IsOK(res1)) {
26399 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26400 }
26401 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
26402 {
26403 PyThreadState* __tstate = wxPyBeginAllowThreads();
26404 {
26405 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
26406 result = (wxPageSetupDialogData *) &_result_ref;
26407 }
26408 wxPyEndAllowThreads(__tstate);
26409 if (PyErr_Occurred()) SWIG_fail;
26410 }
26411 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26412 return resultobj;
26413 fail:
26414 return NULL;
26415 }
26416
26417
26418 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26419 PyObject *resultobj = 0;
26420 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
26421 wxPageSetupDialogData *result = 0 ;
26422 void *argp1 = 0 ;
26423 int res1 = 0 ;
26424 PyObject *swig_obj[1] ;
26425
26426 if (!args) SWIG_fail;
26427 swig_obj[0] = args;
26428 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
26429 if (!SWIG_IsOK(res1)) {
26430 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26431 }
26432 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
26433 {
26434 PyThreadState* __tstate = wxPyBeginAllowThreads();
26435 {
26436 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
26437 result = (wxPageSetupDialogData *) &_result_ref;
26438 }
26439 wxPyEndAllowThreads(__tstate);
26440 if (PyErr_Occurred()) SWIG_fail;
26441 }
26442 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26443 return resultobj;
26444 fail:
26445 return NULL;
26446 }
26447
26448
26449 SWIGINTERN PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26450 PyObject *resultobj = 0;
26451 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
26452 int result;
26453 void *argp1 = 0 ;
26454 int res1 = 0 ;
26455 PyObject *swig_obj[1] ;
26456
26457 if (!args) SWIG_fail;
26458 swig_obj[0] = args;
26459 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
26460 if (!SWIG_IsOK(res1)) {
26461 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26462 }
26463 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
26464 {
26465 PyThreadState* __tstate = wxPyBeginAllowThreads();
26466 result = (int)(arg1)->ShowModal();
26467 wxPyEndAllowThreads(__tstate);
26468 if (PyErr_Occurred()) SWIG_fail;
26469 }
26470 resultobj = SWIG_From_int(static_cast< int >(result));
26471 return resultobj;
26472 fail:
26473 return NULL;
26474 }
26475
26476
26477 SWIGINTERN PyObject *PageSetupDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26478 PyObject *obj;
26479 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26480 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog, SWIG_NewClientData(obj));
26481 return SWIG_Py_Void();
26482 }
26483
26484 SWIGINTERN PyObject *PageSetupDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26485 return SWIG_Python_InitShadowInstance(args);
26486 }
26487
26488 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
26489 PyObject *resultobj = 0;
26490 wxPrintDialogData *result = 0 ;
26491
26492 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
26493 {
26494 PyThreadState* __tstate = wxPyBeginAllowThreads();
26495 result = (wxPrintDialogData *)new wxPrintDialogData();
26496 wxPyEndAllowThreads(__tstate);
26497 if (PyErr_Occurred()) SWIG_fail;
26498 }
26499 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
26500 return resultobj;
26501 fail:
26502 return NULL;
26503 }
26504
26505
26506 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
26507 PyObject *resultobj = 0;
26508 wxPrintData *arg1 = 0 ;
26509 wxPrintDialogData *result = 0 ;
26510 void *argp1 = 0 ;
26511 int res1 = 0 ;
26512
26513 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
26514 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
26515 if (!SWIG_IsOK(res1)) {
26516 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26517 }
26518 if (!argp1) {
26519 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26520 }
26521 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26522 {
26523 PyThreadState* __tstate = wxPyBeginAllowThreads();
26524 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
26525 wxPyEndAllowThreads(__tstate);
26526 if (PyErr_Occurred()) SWIG_fail;
26527 }
26528 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
26529 return resultobj;
26530 fail:
26531 return NULL;
26532 }
26533
26534
26535 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
26536 PyObject *resultobj = 0;
26537 wxPrintDialogData *arg1 = 0 ;
26538 wxPrintDialogData *result = 0 ;
26539 void *argp1 = 0 ;
26540 int res1 = 0 ;
26541
26542 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
26543 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintDialogData, 0 | 0);
26544 if (!SWIG_IsOK(res1)) {
26545 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26546 }
26547 if (!argp1) {
26548 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26549 }
26550 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26551 {
26552 PyThreadState* __tstate = wxPyBeginAllowThreads();
26553 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
26554 wxPyEndAllowThreads(__tstate);
26555 if (PyErr_Occurred()) SWIG_fail;
26556 }
26557 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
26558 return resultobj;
26559 fail:
26560 return NULL;
26561 }
26562
26563
26564 SWIGINTERN PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
26565 int argc;
26566 PyObject *argv[2];
26567
26568 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintDialogData",0,1,argv))) SWIG_fail;
26569 --argc;
26570 if (argc == 0) {
26571 return _wrap_new_PrintDialogData__SWIG_0(self, argc, argv);
26572 }
26573 if (argc == 1) {
26574 int _v = 0;
26575 {
26576 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPrintData, 0);
26577 _v = SWIG_CheckState(res);
26578 }
26579 if (!_v) goto check_2;
26580 return _wrap_new_PrintDialogData__SWIG_1(self, argc, argv);
26581 }
26582 check_2:
26583
26584 if (argc == 1) {
26585 return _wrap_new_PrintDialogData__SWIG_2(self, argc, argv);
26586 }
26587
26588 fail:
26589 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
26590 return NULL;
26591 }
26592
26593
26594 SWIGINTERN PyObject *_wrap_delete_PrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26595 PyObject *resultobj = 0;
26596 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26597 void *argp1 = 0 ;
26598 int res1 = 0 ;
26599 PyObject *swig_obj[1] ;
26600
26601 if (!args) SWIG_fail;
26602 swig_obj[0] = args;
26603 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_DISOWN | 0 );
26604 if (!SWIG_IsOK(res1)) {
26605 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26606 }
26607 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26608 {
26609 PyThreadState* __tstate = wxPyBeginAllowThreads();
26610 delete arg1;
26611
26612 wxPyEndAllowThreads(__tstate);
26613 if (PyErr_Occurred()) SWIG_fail;
26614 }
26615 resultobj = SWIG_Py_Void();
26616 return resultobj;
26617 fail:
26618 return NULL;
26619 }
26620
26621
26622 SWIGINTERN PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26623 PyObject *resultobj = 0;
26624 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26625 int result;
26626 void *argp1 = 0 ;
26627 int res1 = 0 ;
26628 PyObject *swig_obj[1] ;
26629
26630 if (!args) SWIG_fail;
26631 swig_obj[0] = args;
26632 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26633 if (!SWIG_IsOK(res1)) {
26634 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26635 }
26636 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26637 {
26638 PyThreadState* __tstate = wxPyBeginAllowThreads();
26639 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
26640 wxPyEndAllowThreads(__tstate);
26641 if (PyErr_Occurred()) SWIG_fail;
26642 }
26643 resultobj = SWIG_From_int(static_cast< int >(result));
26644 return resultobj;
26645 fail:
26646 return NULL;
26647 }
26648
26649
26650 SWIGINTERN PyObject *_wrap_PrintDialogData_GetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26651 PyObject *resultobj = 0;
26652 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26653 int result;
26654 void *argp1 = 0 ;
26655 int res1 = 0 ;
26656 PyObject *swig_obj[1] ;
26657
26658 if (!args) SWIG_fail;
26659 swig_obj[0] = args;
26660 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26661 if (!SWIG_IsOK(res1)) {
26662 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26663 }
26664 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26665 {
26666 PyThreadState* __tstate = wxPyBeginAllowThreads();
26667 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
26668 wxPyEndAllowThreads(__tstate);
26669 if (PyErr_Occurred()) SWIG_fail;
26670 }
26671 resultobj = SWIG_From_int(static_cast< int >(result));
26672 return resultobj;
26673 fail:
26674 return NULL;
26675 }
26676
26677
26678 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26679 PyObject *resultobj = 0;
26680 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26681 int result;
26682 void *argp1 = 0 ;
26683 int res1 = 0 ;
26684 PyObject *swig_obj[1] ;
26685
26686 if (!args) SWIG_fail;
26687 swig_obj[0] = args;
26688 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26689 if (!SWIG_IsOK(res1)) {
26690 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26691 }
26692 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26693 {
26694 PyThreadState* __tstate = wxPyBeginAllowThreads();
26695 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
26696 wxPyEndAllowThreads(__tstate);
26697 if (PyErr_Occurred()) SWIG_fail;
26698 }
26699 resultobj = SWIG_From_int(static_cast< int >(result));
26700 return resultobj;
26701 fail:
26702 return NULL;
26703 }
26704
26705
26706 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26707 PyObject *resultobj = 0;
26708 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26709 int result;
26710 void *argp1 = 0 ;
26711 int res1 = 0 ;
26712 PyObject *swig_obj[1] ;
26713
26714 if (!args) SWIG_fail;
26715 swig_obj[0] = args;
26716 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26717 if (!SWIG_IsOK(res1)) {
26718 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26719 }
26720 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26721 {
26722 PyThreadState* __tstate = wxPyBeginAllowThreads();
26723 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
26724 wxPyEndAllowThreads(__tstate);
26725 if (PyErr_Occurred()) SWIG_fail;
26726 }
26727 resultobj = SWIG_From_int(static_cast< int >(result));
26728 return resultobj;
26729 fail:
26730 return NULL;
26731 }
26732
26733
26734 SWIGINTERN PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26735 PyObject *resultobj = 0;
26736 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26737 int result;
26738 void *argp1 = 0 ;
26739 int res1 = 0 ;
26740 PyObject *swig_obj[1] ;
26741
26742 if (!args) SWIG_fail;
26743 swig_obj[0] = args;
26744 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26745 if (!SWIG_IsOK(res1)) {
26746 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26747 }
26748 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26749 {
26750 PyThreadState* __tstate = wxPyBeginAllowThreads();
26751 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
26752 wxPyEndAllowThreads(__tstate);
26753 if (PyErr_Occurred()) SWIG_fail;
26754 }
26755 resultobj = SWIG_From_int(static_cast< int >(result));
26756 return resultobj;
26757 fail:
26758 return NULL;
26759 }
26760
26761
26762 SWIGINTERN PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26763 PyObject *resultobj = 0;
26764 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26765 bool result;
26766 void *argp1 = 0 ;
26767 int res1 = 0 ;
26768 PyObject *swig_obj[1] ;
26769
26770 if (!args) SWIG_fail;
26771 swig_obj[0] = args;
26772 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26773 if (!SWIG_IsOK(res1)) {
26774 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26775 }
26776 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26777 {
26778 PyThreadState* __tstate = wxPyBeginAllowThreads();
26779 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
26780 wxPyEndAllowThreads(__tstate);
26781 if (PyErr_Occurred()) SWIG_fail;
26782 }
26783 {
26784 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26785 }
26786 return resultobj;
26787 fail:
26788 return NULL;
26789 }
26790
26791
26792 SWIGINTERN PyObject *_wrap_PrintDialogData_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26793 PyObject *resultobj = 0;
26794 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26795 bool result;
26796 void *argp1 = 0 ;
26797 int res1 = 0 ;
26798 PyObject *swig_obj[1] ;
26799
26800 if (!args) SWIG_fail;
26801 swig_obj[0] = args;
26802 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26803 if (!SWIG_IsOK(res1)) {
26804 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26805 }
26806 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26807 {
26808 PyThreadState* __tstate = wxPyBeginAllowThreads();
26809 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
26810 wxPyEndAllowThreads(__tstate);
26811 if (PyErr_Occurred()) SWIG_fail;
26812 }
26813 {
26814 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26815 }
26816 return resultobj;
26817 fail:
26818 return NULL;
26819 }
26820
26821
26822 SWIGINTERN PyObject *_wrap_PrintDialogData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26823 PyObject *resultobj = 0;
26824 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26825 bool result;
26826 void *argp1 = 0 ;
26827 int res1 = 0 ;
26828 PyObject *swig_obj[1] ;
26829
26830 if (!args) SWIG_fail;
26831 swig_obj[0] = args;
26832 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26833 if (!SWIG_IsOK(res1)) {
26834 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26835 }
26836 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26837 {
26838 PyThreadState* __tstate = wxPyBeginAllowThreads();
26839 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
26840 wxPyEndAllowThreads(__tstate);
26841 if (PyErr_Occurred()) SWIG_fail;
26842 }
26843 {
26844 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26845 }
26846 return resultobj;
26847 fail:
26848 return NULL;
26849 }
26850
26851
26852 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26853 PyObject *resultobj = 0;
26854 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26855 bool result;
26856 void *argp1 = 0 ;
26857 int res1 = 0 ;
26858 PyObject *swig_obj[1] ;
26859
26860 if (!args) SWIG_fail;
26861 swig_obj[0] = args;
26862 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26863 if (!SWIG_IsOK(res1)) {
26864 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26865 }
26866 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26867 {
26868 PyThreadState* __tstate = wxPyBeginAllowThreads();
26869 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
26870 wxPyEndAllowThreads(__tstate);
26871 if (PyErr_Occurred()) SWIG_fail;
26872 }
26873 {
26874 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26875 }
26876 return resultobj;
26877 fail:
26878 return NULL;
26879 }
26880
26881
26882 SWIGINTERN PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26883 PyObject *resultobj = 0;
26884 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26885 int arg2 ;
26886 void *argp1 = 0 ;
26887 int res1 = 0 ;
26888 int val2 ;
26889 int ecode2 = 0 ;
26890 PyObject * obj0 = 0 ;
26891 PyObject * obj1 = 0 ;
26892 char * kwnames[] = {
26893 (char *) "self",(char *) "v", NULL
26894 };
26895
26896 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) SWIG_fail;
26897 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26898 if (!SWIG_IsOK(res1)) {
26899 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26900 }
26901 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26902 ecode2 = SWIG_AsVal_int(obj1, &val2);
26903 if (!SWIG_IsOK(ecode2)) {
26904 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26905 }
26906 arg2 = static_cast< int >(val2);
26907 {
26908 PyThreadState* __tstate = wxPyBeginAllowThreads();
26909 (arg1)->SetFromPage(arg2);
26910 wxPyEndAllowThreads(__tstate);
26911 if (PyErr_Occurred()) SWIG_fail;
26912 }
26913 resultobj = SWIG_Py_Void();
26914 return resultobj;
26915 fail:
26916 return NULL;
26917 }
26918
26919
26920 SWIGINTERN PyObject *_wrap_PrintDialogData_SetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26921 PyObject *resultobj = 0;
26922 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26923 int arg2 ;
26924 void *argp1 = 0 ;
26925 int res1 = 0 ;
26926 int val2 ;
26927 int ecode2 = 0 ;
26928 PyObject * obj0 = 0 ;
26929 PyObject * obj1 = 0 ;
26930 char * kwnames[] = {
26931 (char *) "self",(char *) "v", NULL
26932 };
26933
26934 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) SWIG_fail;
26935 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26936 if (!SWIG_IsOK(res1)) {
26937 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26938 }
26939 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26940 ecode2 = SWIG_AsVal_int(obj1, &val2);
26941 if (!SWIG_IsOK(ecode2)) {
26942 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26943 }
26944 arg2 = static_cast< int >(val2);
26945 {
26946 PyThreadState* __tstate = wxPyBeginAllowThreads();
26947 (arg1)->SetToPage(arg2);
26948 wxPyEndAllowThreads(__tstate);
26949 if (PyErr_Occurred()) SWIG_fail;
26950 }
26951 resultobj = SWIG_Py_Void();
26952 return resultobj;
26953 fail:
26954 return NULL;
26955 }
26956
26957
26958 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26959 PyObject *resultobj = 0;
26960 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26961 int arg2 ;
26962 void *argp1 = 0 ;
26963 int res1 = 0 ;
26964 int val2 ;
26965 int ecode2 = 0 ;
26966 PyObject * obj0 = 0 ;
26967 PyObject * obj1 = 0 ;
26968 char * kwnames[] = {
26969 (char *) "self",(char *) "v", NULL
26970 };
26971
26972 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) SWIG_fail;
26973 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26974 if (!SWIG_IsOK(res1)) {
26975 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26976 }
26977 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26978 ecode2 = SWIG_AsVal_int(obj1, &val2);
26979 if (!SWIG_IsOK(ecode2)) {
26980 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26981 }
26982 arg2 = static_cast< int >(val2);
26983 {
26984 PyThreadState* __tstate = wxPyBeginAllowThreads();
26985 (arg1)->SetMinPage(arg2);
26986 wxPyEndAllowThreads(__tstate);
26987 if (PyErr_Occurred()) SWIG_fail;
26988 }
26989 resultobj = SWIG_Py_Void();
26990 return resultobj;
26991 fail:
26992 return NULL;
26993 }
26994
26995
26996 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26997 PyObject *resultobj = 0;
26998 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26999 int arg2 ;
27000 void *argp1 = 0 ;
27001 int res1 = 0 ;
27002 int val2 ;
27003 int ecode2 = 0 ;
27004 PyObject * obj0 = 0 ;
27005 PyObject * obj1 = 0 ;
27006 char * kwnames[] = {
27007 (char *) "self",(char *) "v", NULL
27008 };
27009
27010 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) SWIG_fail;
27011 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27012 if (!SWIG_IsOK(res1)) {
27013 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27014 }
27015 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27016 ecode2 = SWIG_AsVal_int(obj1, &val2);
27017 if (!SWIG_IsOK(ecode2)) {
27018 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
27019 }
27020 arg2 = static_cast< int >(val2);
27021 {
27022 PyThreadState* __tstate = wxPyBeginAllowThreads();
27023 (arg1)->SetMaxPage(arg2);
27024 wxPyEndAllowThreads(__tstate);
27025 if (PyErr_Occurred()) SWIG_fail;
27026 }
27027 resultobj = SWIG_Py_Void();
27028 return resultobj;
27029 fail:
27030 return NULL;
27031 }
27032
27033
27034 SWIGINTERN PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27035 PyObject *resultobj = 0;
27036 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27037 int arg2 ;
27038 void *argp1 = 0 ;
27039 int res1 = 0 ;
27040 int val2 ;
27041 int ecode2 = 0 ;
27042 PyObject * obj0 = 0 ;
27043 PyObject * obj1 = 0 ;
27044 char * kwnames[] = {
27045 (char *) "self",(char *) "v", NULL
27046 };
27047
27048 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
27049 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27050 if (!SWIG_IsOK(res1)) {
27051 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27052 }
27053 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27054 ecode2 = SWIG_AsVal_int(obj1, &val2);
27055 if (!SWIG_IsOK(ecode2)) {
27056 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
27057 }
27058 arg2 = static_cast< int >(val2);
27059 {
27060 PyThreadState* __tstate = wxPyBeginAllowThreads();
27061 (arg1)->SetNoCopies(arg2);
27062 wxPyEndAllowThreads(__tstate);
27063 if (PyErr_Occurred()) SWIG_fail;
27064 }
27065 resultobj = SWIG_Py_Void();
27066 return resultobj;
27067 fail:
27068 return NULL;
27069 }
27070
27071
27072 SWIGINTERN PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27073 PyObject *resultobj = 0;
27074 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27075 bool arg2 ;
27076 void *argp1 = 0 ;
27077 int res1 = 0 ;
27078 bool val2 ;
27079 int ecode2 = 0 ;
27080 PyObject * obj0 = 0 ;
27081 PyObject * obj1 = 0 ;
27082 char * kwnames[] = {
27083 (char *) "self",(char *) "flag", NULL
27084 };
27085
27086 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) SWIG_fail;
27087 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27088 if (!SWIG_IsOK(res1)) {
27089 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27090 }
27091 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27092 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27093 if (!SWIG_IsOK(ecode2)) {
27094 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
27095 }
27096 arg2 = static_cast< bool >(val2);
27097 {
27098 PyThreadState* __tstate = wxPyBeginAllowThreads();
27099 (arg1)->SetAllPages(arg2);
27100 wxPyEndAllowThreads(__tstate);
27101 if (PyErr_Occurred()) SWIG_fail;
27102 }
27103 resultobj = SWIG_Py_Void();
27104 return resultobj;
27105 fail:
27106 return NULL;
27107 }
27108
27109
27110 SWIGINTERN PyObject *_wrap_PrintDialogData_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27111 PyObject *resultobj = 0;
27112 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27113 bool arg2 ;
27114 void *argp1 = 0 ;
27115 int res1 = 0 ;
27116 bool val2 ;
27117 int ecode2 = 0 ;
27118 PyObject * obj0 = 0 ;
27119 PyObject * obj1 = 0 ;
27120 char * kwnames[] = {
27121 (char *) "self",(char *) "flag", NULL
27122 };
27123
27124 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
27125 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27126 if (!SWIG_IsOK(res1)) {
27127 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27128 }
27129 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27130 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27131 if (!SWIG_IsOK(ecode2)) {
27132 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
27133 }
27134 arg2 = static_cast< bool >(val2);
27135 {
27136 PyThreadState* __tstate = wxPyBeginAllowThreads();
27137 (arg1)->SetSelection(arg2);
27138 wxPyEndAllowThreads(__tstate);
27139 if (PyErr_Occurred()) SWIG_fail;
27140 }
27141 resultobj = SWIG_Py_Void();
27142 return resultobj;
27143 fail:
27144 return NULL;
27145 }
27146
27147
27148 SWIGINTERN PyObject *_wrap_PrintDialogData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27149 PyObject *resultobj = 0;
27150 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27151 bool arg2 ;
27152 void *argp1 = 0 ;
27153 int res1 = 0 ;
27154 bool val2 ;
27155 int ecode2 = 0 ;
27156 PyObject * obj0 = 0 ;
27157 PyObject * obj1 = 0 ;
27158 char * kwnames[] = {
27159 (char *) "self",(char *) "flag", NULL
27160 };
27161
27162 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
27163 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27164 if (!SWIG_IsOK(res1)) {
27165 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27166 }
27167 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27168 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27169 if (!SWIG_IsOK(ecode2)) {
27170 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
27171 }
27172 arg2 = static_cast< bool >(val2);
27173 {
27174 PyThreadState* __tstate = wxPyBeginAllowThreads();
27175 (arg1)->SetCollate(arg2);
27176 wxPyEndAllowThreads(__tstate);
27177 if (PyErr_Occurred()) SWIG_fail;
27178 }
27179 resultobj = SWIG_Py_Void();
27180 return resultobj;
27181 fail:
27182 return NULL;
27183 }
27184
27185
27186 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27187 PyObject *resultobj = 0;
27188 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27189 bool arg2 ;
27190 void *argp1 = 0 ;
27191 int res1 = 0 ;
27192 bool val2 ;
27193 int ecode2 = 0 ;
27194 PyObject * obj0 = 0 ;
27195 PyObject * obj1 = 0 ;
27196 char * kwnames[] = {
27197 (char *) "self",(char *) "flag", NULL
27198 };
27199
27200 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
27201 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27202 if (!SWIG_IsOK(res1)) {
27203 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27204 }
27205 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27206 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27207 if (!SWIG_IsOK(ecode2)) {
27208 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
27209 }
27210 arg2 = static_cast< bool >(val2);
27211 {
27212 PyThreadState* __tstate = wxPyBeginAllowThreads();
27213 (arg1)->SetPrintToFile(arg2);
27214 wxPyEndAllowThreads(__tstate);
27215 if (PyErr_Occurred()) SWIG_fail;
27216 }
27217 resultobj = SWIG_Py_Void();
27218 return resultobj;
27219 fail:
27220 return NULL;
27221 }
27222
27223
27224 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27225 PyObject *resultobj = 0;
27226 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27227 bool arg2 ;
27228 void *argp1 = 0 ;
27229 int res1 = 0 ;
27230 bool val2 ;
27231 int ecode2 = 0 ;
27232 PyObject * obj0 = 0 ;
27233 PyObject * obj1 = 0 ;
27234 char * kwnames[] = {
27235 (char *) "self",(char *) "flag", NULL
27236 };
27237
27238 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
27239 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27240 if (!SWIG_IsOK(res1)) {
27241 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27242 }
27243 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27244 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27245 if (!SWIG_IsOK(ecode2)) {
27246 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
27247 }
27248 arg2 = static_cast< bool >(val2);
27249 {
27250 PyThreadState* __tstate = wxPyBeginAllowThreads();
27251 (arg1)->EnablePrintToFile(arg2);
27252 wxPyEndAllowThreads(__tstate);
27253 if (PyErr_Occurred()) SWIG_fail;
27254 }
27255 resultobj = SWIG_Py_Void();
27256 return resultobj;
27257 fail:
27258 return NULL;
27259 }
27260
27261
27262 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27263 PyObject *resultobj = 0;
27264 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27265 bool arg2 ;
27266 void *argp1 = 0 ;
27267 int res1 = 0 ;
27268 bool val2 ;
27269 int ecode2 = 0 ;
27270 PyObject * obj0 = 0 ;
27271 PyObject * obj1 = 0 ;
27272 char * kwnames[] = {
27273 (char *) "self",(char *) "flag", NULL
27274 };
27275
27276 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) SWIG_fail;
27277 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27278 if (!SWIG_IsOK(res1)) {
27279 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27280 }
27281 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27282 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27283 if (!SWIG_IsOK(ecode2)) {
27284 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
27285 }
27286 arg2 = static_cast< bool >(val2);
27287 {
27288 PyThreadState* __tstate = wxPyBeginAllowThreads();
27289 (arg1)->EnableSelection(arg2);
27290 wxPyEndAllowThreads(__tstate);
27291 if (PyErr_Occurred()) SWIG_fail;
27292 }
27293 resultobj = SWIG_Py_Void();
27294 return resultobj;
27295 fail:
27296 return NULL;
27297 }
27298
27299
27300 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27301 PyObject *resultobj = 0;
27302 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27303 bool arg2 ;
27304 void *argp1 = 0 ;
27305 int res1 = 0 ;
27306 bool val2 ;
27307 int ecode2 = 0 ;
27308 PyObject * obj0 = 0 ;
27309 PyObject * obj1 = 0 ;
27310 char * kwnames[] = {
27311 (char *) "self",(char *) "flag", NULL
27312 };
27313
27314 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) SWIG_fail;
27315 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27316 if (!SWIG_IsOK(res1)) {
27317 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27318 }
27319 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27320 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27321 if (!SWIG_IsOK(ecode2)) {
27322 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
27323 }
27324 arg2 = static_cast< bool >(val2);
27325 {
27326 PyThreadState* __tstate = wxPyBeginAllowThreads();
27327 (arg1)->EnablePageNumbers(arg2);
27328 wxPyEndAllowThreads(__tstate);
27329 if (PyErr_Occurred()) SWIG_fail;
27330 }
27331 resultobj = SWIG_Py_Void();
27332 return resultobj;
27333 fail:
27334 return NULL;
27335 }
27336
27337
27338 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27339 PyObject *resultobj = 0;
27340 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27341 bool arg2 ;
27342 void *argp1 = 0 ;
27343 int res1 = 0 ;
27344 bool val2 ;
27345 int ecode2 = 0 ;
27346 PyObject * obj0 = 0 ;
27347 PyObject * obj1 = 0 ;
27348 char * kwnames[] = {
27349 (char *) "self",(char *) "flag", NULL
27350 };
27351
27352 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
27353 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27354 if (!SWIG_IsOK(res1)) {
27355 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27356 }
27357 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27358 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27359 if (!SWIG_IsOK(ecode2)) {
27360 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
27361 }
27362 arg2 = static_cast< bool >(val2);
27363 {
27364 PyThreadState* __tstate = wxPyBeginAllowThreads();
27365 (arg1)->EnableHelp(arg2);
27366 wxPyEndAllowThreads(__tstate);
27367 if (PyErr_Occurred()) SWIG_fail;
27368 }
27369 resultobj = SWIG_Py_Void();
27370 return resultobj;
27371 fail:
27372 return NULL;
27373 }
27374
27375
27376 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27377 PyObject *resultobj = 0;
27378 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27379 bool result;
27380 void *argp1 = 0 ;
27381 int res1 = 0 ;
27382 PyObject *swig_obj[1] ;
27383
27384 if (!args) SWIG_fail;
27385 swig_obj[0] = args;
27386 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27387 if (!SWIG_IsOK(res1)) {
27388 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27389 }
27390 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27391 {
27392 PyThreadState* __tstate = wxPyBeginAllowThreads();
27393 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
27394 wxPyEndAllowThreads(__tstate);
27395 if (PyErr_Occurred()) SWIG_fail;
27396 }
27397 {
27398 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27399 }
27400 return resultobj;
27401 fail:
27402 return NULL;
27403 }
27404
27405
27406 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27407 PyObject *resultobj = 0;
27408 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27409 bool result;
27410 void *argp1 = 0 ;
27411 int res1 = 0 ;
27412 PyObject *swig_obj[1] ;
27413
27414 if (!args) SWIG_fail;
27415 swig_obj[0] = args;
27416 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27417 if (!SWIG_IsOK(res1)) {
27418 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27419 }
27420 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27421 {
27422 PyThreadState* __tstate = wxPyBeginAllowThreads();
27423 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
27424 wxPyEndAllowThreads(__tstate);
27425 if (PyErr_Occurred()) SWIG_fail;
27426 }
27427 {
27428 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27429 }
27430 return resultobj;
27431 fail:
27432 return NULL;
27433 }
27434
27435
27436 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27437 PyObject *resultobj = 0;
27438 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27439 bool result;
27440 void *argp1 = 0 ;
27441 int res1 = 0 ;
27442 PyObject *swig_obj[1] ;
27443
27444 if (!args) SWIG_fail;
27445 swig_obj[0] = args;
27446 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27447 if (!SWIG_IsOK(res1)) {
27448 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27449 }
27450 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27451 {
27452 PyThreadState* __tstate = wxPyBeginAllowThreads();
27453 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
27454 wxPyEndAllowThreads(__tstate);
27455 if (PyErr_Occurred()) SWIG_fail;
27456 }
27457 {
27458 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27459 }
27460 return resultobj;
27461 fail:
27462 return NULL;
27463 }
27464
27465
27466 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27467 PyObject *resultobj = 0;
27468 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27469 bool result;
27470 void *argp1 = 0 ;
27471 int res1 = 0 ;
27472 PyObject *swig_obj[1] ;
27473
27474 if (!args) SWIG_fail;
27475 swig_obj[0] = args;
27476 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27477 if (!SWIG_IsOK(res1)) {
27478 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27479 }
27480 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27481 {
27482 PyThreadState* __tstate = wxPyBeginAllowThreads();
27483 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
27484 wxPyEndAllowThreads(__tstate);
27485 if (PyErr_Occurred()) SWIG_fail;
27486 }
27487 {
27488 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27489 }
27490 return resultobj;
27491 fail:
27492 return NULL;
27493 }
27494
27495
27496 SWIGINTERN PyObject *_wrap_PrintDialogData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27497 PyObject *resultobj = 0;
27498 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27499 bool result;
27500 void *argp1 = 0 ;
27501 int res1 = 0 ;
27502 PyObject *swig_obj[1] ;
27503
27504 if (!args) SWIG_fail;
27505 swig_obj[0] = args;
27506 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27507 if (!SWIG_IsOK(res1)) {
27508 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_IsOk" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27509 }
27510 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27511 {
27512 PyThreadState* __tstate = wxPyBeginAllowThreads();
27513 result = (bool)((wxPrintDialogData const *)arg1)->IsOk();
27514 wxPyEndAllowThreads(__tstate);
27515 if (PyErr_Occurred()) SWIG_fail;
27516 }
27517 {
27518 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27519 }
27520 return resultobj;
27521 fail:
27522 return NULL;
27523 }
27524
27525
27526 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27527 PyObject *resultobj = 0;
27528 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27529 wxPrintData *result = 0 ;
27530 void *argp1 = 0 ;
27531 int res1 = 0 ;
27532 PyObject *swig_obj[1] ;
27533
27534 if (!args) SWIG_fail;
27535 swig_obj[0] = args;
27536 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27537 if (!SWIG_IsOK(res1)) {
27538 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27539 }
27540 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27541 {
27542 PyThreadState* __tstate = wxPyBeginAllowThreads();
27543 {
27544 wxPrintData &_result_ref = (arg1)->GetPrintData();
27545 result = (wxPrintData *) &_result_ref;
27546 }
27547 wxPyEndAllowThreads(__tstate);
27548 if (PyErr_Occurred()) SWIG_fail;
27549 }
27550 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
27551 return resultobj;
27552 fail:
27553 return NULL;
27554 }
27555
27556
27557 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27558 PyObject *resultobj = 0;
27559 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27560 wxPrintData *arg2 = 0 ;
27561 void *argp1 = 0 ;
27562 int res1 = 0 ;
27563 void *argp2 = 0 ;
27564 int res2 = 0 ;
27565 PyObject * obj0 = 0 ;
27566 PyObject * obj1 = 0 ;
27567 char * kwnames[] = {
27568 (char *) "self",(char *) "printData", NULL
27569 };
27570
27571 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
27572 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27573 if (!SWIG_IsOK(res1)) {
27574 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27575 }
27576 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27577 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
27578 if (!SWIG_IsOK(res2)) {
27579 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27580 }
27581 if (!argp2) {
27582 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27583 }
27584 arg2 = reinterpret_cast< wxPrintData * >(argp2);
27585 {
27586 PyThreadState* __tstate = wxPyBeginAllowThreads();
27587 (arg1)->SetPrintData((wxPrintData const &)*arg2);
27588 wxPyEndAllowThreads(__tstate);
27589 if (PyErr_Occurred()) SWIG_fail;
27590 }
27591 resultobj = SWIG_Py_Void();
27592 return resultobj;
27593 fail:
27594 return NULL;
27595 }
27596
27597
27598 SWIGINTERN PyObject *PrintDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27599 PyObject *obj;
27600 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27601 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData, SWIG_NewClientData(obj));
27602 return SWIG_Py_Void();
27603 }
27604
27605 SWIGINTERN PyObject *PrintDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27606 return SWIG_Python_InitShadowInstance(args);
27607 }
27608
27609 SWIGINTERN PyObject *_wrap_new_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27610 PyObject *resultobj = 0;
27611 wxWindow *arg1 = (wxWindow *) 0 ;
27612 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
27613 wxPrintDialog *result = 0 ;
27614 void *argp1 = 0 ;
27615 int res1 = 0 ;
27616 void *argp2 = 0 ;
27617 int res2 = 0 ;
27618 PyObject * obj0 = 0 ;
27619 PyObject * obj1 = 0 ;
27620 char * kwnames[] = {
27621 (char *) "parent",(char *) "data", NULL
27622 };
27623
27624 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
27625 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
27626 if (!SWIG_IsOK(res1)) {
27627 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
27628 }
27629 arg1 = reinterpret_cast< wxWindow * >(argp1);
27630 if (obj1) {
27631 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27632 if (!SWIG_IsOK(res2)) {
27633 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
27634 }
27635 arg2 = reinterpret_cast< wxPrintDialogData * >(argp2);
27636 }
27637 {
27638 if (!wxPyCheckForApp()) SWIG_fail;
27639 PyThreadState* __tstate = wxPyBeginAllowThreads();
27640 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
27641 wxPyEndAllowThreads(__tstate);
27642 if (PyErr_Occurred()) SWIG_fail;
27643 }
27644 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_NEW | 0 );
27645 return resultobj;
27646 fail:
27647 return NULL;
27648 }
27649
27650
27651 SWIGINTERN PyObject *_wrap_delete_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27652 PyObject *resultobj = 0;
27653 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27654 void *argp1 = 0 ;
27655 int res1 = 0 ;
27656 PyObject *swig_obj[1] ;
27657
27658 if (!args) SWIG_fail;
27659 swig_obj[0] = args;
27660 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_DISOWN | 0 );
27661 if (!SWIG_IsOK(res1)) {
27662 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27663 }
27664 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27665 {
27666 PyThreadState* __tstate = wxPyBeginAllowThreads();
27667 delete arg1;
27668
27669 wxPyEndAllowThreads(__tstate);
27670 if (PyErr_Occurred()) SWIG_fail;
27671 }
27672 resultobj = SWIG_Py_Void();
27673 return resultobj;
27674 fail:
27675 return NULL;
27676 }
27677
27678
27679 SWIGINTERN PyObject *_wrap_PrintDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27680 PyObject *resultobj = 0;
27681 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27682 int result;
27683 void *argp1 = 0 ;
27684 int res1 = 0 ;
27685 PyObject *swig_obj[1] ;
27686
27687 if (!args) SWIG_fail;
27688 swig_obj[0] = args;
27689 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27690 if (!SWIG_IsOK(res1)) {
27691 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27692 }
27693 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27694 {
27695 PyThreadState* __tstate = wxPyBeginAllowThreads();
27696 result = (int)(arg1)->ShowModal();
27697 wxPyEndAllowThreads(__tstate);
27698 if (PyErr_Occurred()) SWIG_fail;
27699 }
27700 resultobj = SWIG_From_int(static_cast< int >(result));
27701 return resultobj;
27702 fail:
27703 return NULL;
27704 }
27705
27706
27707 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27708 PyObject *resultobj = 0;
27709 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27710 wxPrintDialogData *result = 0 ;
27711 void *argp1 = 0 ;
27712 int res1 = 0 ;
27713 PyObject *swig_obj[1] ;
27714
27715 if (!args) SWIG_fail;
27716 swig_obj[0] = args;
27717 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27718 if (!SWIG_IsOK(res1)) {
27719 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27720 }
27721 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27722 {
27723 PyThreadState* __tstate = wxPyBeginAllowThreads();
27724 {
27725 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
27726 result = (wxPrintDialogData *) &_result_ref;
27727 }
27728 wxPyEndAllowThreads(__tstate);
27729 if (PyErr_Occurred()) SWIG_fail;
27730 }
27731 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27732 return resultobj;
27733 fail:
27734 return NULL;
27735 }
27736
27737
27738 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27739 PyObject *resultobj = 0;
27740 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27741 wxPrintData *result = 0 ;
27742 void *argp1 = 0 ;
27743 int res1 = 0 ;
27744 PyObject *swig_obj[1] ;
27745
27746 if (!args) SWIG_fail;
27747 swig_obj[0] = args;
27748 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27749 if (!SWIG_IsOK(res1)) {
27750 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27751 }
27752 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27753 {
27754 PyThreadState* __tstate = wxPyBeginAllowThreads();
27755 {
27756 wxPrintData &_result_ref = (arg1)->GetPrintData();
27757 result = (wxPrintData *) &_result_ref;
27758 }
27759 wxPyEndAllowThreads(__tstate);
27760 if (PyErr_Occurred()) SWIG_fail;
27761 }
27762 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
27763 return resultobj;
27764 fail:
27765 return NULL;
27766 }
27767
27768
27769 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27770 PyObject *resultobj = 0;
27771 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27772 wxDC *result = 0 ;
27773 void *argp1 = 0 ;
27774 int res1 = 0 ;
27775 PyObject *swig_obj[1] ;
27776
27777 if (!args) SWIG_fail;
27778 swig_obj[0] = args;
27779 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27780 if (!SWIG_IsOK(res1)) {
27781 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27782 }
27783 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27784 {
27785 PyThreadState* __tstate = wxPyBeginAllowThreads();
27786 result = (wxDC *)(arg1)->GetPrintDC();
27787 wxPyEndAllowThreads(__tstate);
27788 if (PyErr_Occurred()) SWIG_fail;
27789 }
27790 {
27791 resultobj = wxPyMake_wxObject(result, (bool)SWIG_POINTER_OWN);
27792 }
27793 return resultobj;
27794 fail:
27795 return NULL;
27796 }
27797
27798
27799 SWIGINTERN PyObject *PrintDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27800 PyObject *obj;
27801 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27802 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog, SWIG_NewClientData(obj));
27803 return SWIG_Py_Void();
27804 }
27805
27806 SWIGINTERN PyObject *PrintDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27807 return SWIG_Python_InitShadowInstance(args);
27808 }
27809
27810 SWIGINTERN PyObject *_wrap_new_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27811 PyObject *resultobj = 0;
27812 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
27813 wxPrinter *result = 0 ;
27814 void *argp1 = 0 ;
27815 int res1 = 0 ;
27816 PyObject * obj0 = 0 ;
27817 char * kwnames[] = {
27818 (char *) "data", NULL
27819 };
27820
27821 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) SWIG_fail;
27822 if (obj0) {
27823 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27824 if (!SWIG_IsOK(res1)) {
27825 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27826 }
27827 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27828 }
27829 {
27830 if (!wxPyCheckForApp()) SWIG_fail;
27831 PyThreadState* __tstate = wxPyBeginAllowThreads();
27832 result = (wxPrinter *)new wxPrinter(arg1);
27833 wxPyEndAllowThreads(__tstate);
27834 if (PyErr_Occurred()) SWIG_fail;
27835 }
27836 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrinter, SWIG_POINTER_NEW | 0 );
27837 return resultobj;
27838 fail:
27839 return NULL;
27840 }
27841
27842
27843 SWIGINTERN PyObject *_wrap_delete_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27844 PyObject *resultobj = 0;
27845 wxPrinter *arg1 = (wxPrinter *) 0 ;
27846 void *argp1 = 0 ;
27847 int res1 = 0 ;
27848 PyObject *swig_obj[1] ;
27849
27850 if (!args) SWIG_fail;
27851 swig_obj[0] = args;
27852 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, SWIG_POINTER_DISOWN | 0 );
27853 if (!SWIG_IsOK(res1)) {
27854 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27855 }
27856 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27857 {
27858 PyThreadState* __tstate = wxPyBeginAllowThreads();
27859 delete arg1;
27860
27861 wxPyEndAllowThreads(__tstate);
27862 if (PyErr_Occurred()) SWIG_fail;
27863 }
27864 resultobj = SWIG_Py_Void();
27865 return resultobj;
27866 fail:
27867 return NULL;
27868 }
27869
27870
27871 SWIGINTERN PyObject *_wrap_Printer_CreateAbortWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27872 PyObject *resultobj = 0;
27873 wxPrinter *arg1 = (wxPrinter *) 0 ;
27874 wxWindow *arg2 = (wxWindow *) 0 ;
27875 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27876 wxWindow *result = 0 ;
27877 void *argp1 = 0 ;
27878 int res1 = 0 ;
27879 void *argp2 = 0 ;
27880 int res2 = 0 ;
27881 void *argp3 = 0 ;
27882 int res3 = 0 ;
27883 PyObject * obj0 = 0 ;
27884 PyObject * obj1 = 0 ;
27885 PyObject * obj2 = 0 ;
27886 char * kwnames[] = {
27887 (char *) "self",(char *) "parent",(char *) "printout", NULL
27888 };
27889
27890 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27891 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27892 if (!SWIG_IsOK(res1)) {
27893 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27894 }
27895 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27896 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27897 if (!SWIG_IsOK(res2)) {
27898 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27899 }
27900 arg2 = reinterpret_cast< wxWindow * >(argp2);
27901 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27902 if (!SWIG_IsOK(res3)) {
27903 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27904 }
27905 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27906 {
27907 PyThreadState* __tstate = wxPyBeginAllowThreads();
27908 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
27909 wxPyEndAllowThreads(__tstate);
27910 if (PyErr_Occurred()) SWIG_fail;
27911 }
27912 {
27913 resultobj = wxPyMake_wxObject(result, 0);
27914 }
27915 return resultobj;
27916 fail:
27917 return NULL;
27918 }
27919
27920
27921 SWIGINTERN PyObject *_wrap_Printer_ReportError(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27922 PyObject *resultobj = 0;
27923 wxPrinter *arg1 = (wxPrinter *) 0 ;
27924 wxWindow *arg2 = (wxWindow *) 0 ;
27925 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27926 wxString *arg4 = 0 ;
27927 void *argp1 = 0 ;
27928 int res1 = 0 ;
27929 void *argp2 = 0 ;
27930 int res2 = 0 ;
27931 void *argp3 = 0 ;
27932 int res3 = 0 ;
27933 bool temp4 = false ;
27934 PyObject * obj0 = 0 ;
27935 PyObject * obj1 = 0 ;
27936 PyObject * obj2 = 0 ;
27937 PyObject * obj3 = 0 ;
27938 char * kwnames[] = {
27939 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27940 };
27941
27942 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27943 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27944 if (!SWIG_IsOK(res1)) {
27945 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27946 }
27947 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27948 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27949 if (!SWIG_IsOK(res2)) {
27950 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27951 }
27952 arg2 = reinterpret_cast< wxWindow * >(argp2);
27953 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27954 if (!SWIG_IsOK(res3)) {
27955 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27956 }
27957 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27958 {
27959 arg4 = wxString_in_helper(obj3);
27960 if (arg4 == NULL) SWIG_fail;
27961 temp4 = true;
27962 }
27963 {
27964 PyThreadState* __tstate = wxPyBeginAllowThreads();
27965 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
27966 wxPyEndAllowThreads(__tstate);
27967 if (PyErr_Occurred()) SWIG_fail;
27968 }
27969 resultobj = SWIG_Py_Void();
27970 {
27971 if (temp4)
27972 delete arg4;
27973 }
27974 return resultobj;
27975 fail:
27976 {
27977 if (temp4)
27978 delete arg4;
27979 }
27980 return NULL;
27981 }
27982
27983
27984 SWIGINTERN PyObject *_wrap_Printer_Setup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27985 PyObject *resultobj = 0;
27986 wxPrinter *arg1 = (wxPrinter *) 0 ;
27987 wxWindow *arg2 = (wxWindow *) 0 ;
27988 bool result;
27989 void *argp1 = 0 ;
27990 int res1 = 0 ;
27991 void *argp2 = 0 ;
27992 int res2 = 0 ;
27993 PyObject * obj0 = 0 ;
27994 PyObject * obj1 = 0 ;
27995 char * kwnames[] = {
27996 (char *) "self",(char *) "parent", NULL
27997 };
27998
27999 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) SWIG_fail;
28000 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
28001 if (!SWIG_IsOK(res1)) {
28002 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
28003 }
28004 arg1 = reinterpret_cast< wxPrinter * >(argp1);
28005 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
28006 if (!SWIG_IsOK(res2)) {
28007 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
28008 }
28009 arg2 = reinterpret_cast< wxWindow * >(argp2);
28010 {
28011 PyThreadState* __tstate = wxPyBeginAllowThreads();
28012 result = (bool)(arg1)->Setup(arg2);
28013 wxPyEndAllowThreads(__tstate);
28014 if (PyErr_Occurred()) SWIG_fail;
28015 }
28016 {
28017 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28018 }
28019 return resultobj;
28020 fail:
28021 return NULL;
28022 }
28023
28024
28025 SWIGINTERN PyObject *_wrap_Printer_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28026 PyObject *resultobj = 0;
28027 wxPrinter *arg1 = (wxPrinter *) 0 ;
28028 wxWindow *arg2 = (wxWindow *) 0 ;
28029 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
28030 bool arg4 = (bool) true ;
28031 bool result;
28032 void *argp1 = 0 ;
28033 int res1 = 0 ;
28034 void *argp2 = 0 ;
28035 int res2 = 0 ;
28036 void *argp3 = 0 ;
28037 int res3 = 0 ;
28038 bool val4 ;
28039 int ecode4 = 0 ;
28040 PyObject * obj0 = 0 ;
28041 PyObject * obj1 = 0 ;
28042 PyObject * obj2 = 0 ;
28043 PyObject * obj3 = 0 ;
28044 char * kwnames[] = {
28045 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
28046 };
28047
28048 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
28049 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
28050 if (!SWIG_IsOK(res1)) {
28051 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
28052 }
28053 arg1 = reinterpret_cast< wxPrinter * >(argp1);
28054 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
28055 if (!SWIG_IsOK(res2)) {
28056 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
28057 }
28058 arg2 = reinterpret_cast< wxWindow * >(argp2);
28059 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28060 if (!SWIG_IsOK(res3)) {
28061 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
28062 }
28063 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
28064 if (obj3) {
28065 ecode4 = SWIG_AsVal_bool(obj3, &val4);
28066 if (!SWIG_IsOK(ecode4)) {
28067 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
28068 }
28069 arg4 = static_cast< bool >(val4);
28070 }
28071 {
28072 PyThreadState* __tstate = wxPyBeginAllowThreads();
28073 result = (bool)(arg1)->Print(arg2,arg3,arg4);
28074 wxPyEndAllowThreads(__tstate);
28075 if (PyErr_Occurred()) SWIG_fail;
28076 }
28077 {
28078 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28079 }
28080 return resultobj;
28081 fail:
28082 return NULL;
28083 }
28084
28085
28086 SWIGINTERN PyObject *_wrap_Printer_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28087 PyObject *resultobj = 0;
28088 wxPrinter *arg1 = (wxPrinter *) 0 ;
28089 wxWindow *arg2 = (wxWindow *) 0 ;
28090 wxDC *result = 0 ;
28091 void *argp1 = 0 ;
28092 int res1 = 0 ;
28093 void *argp2 = 0 ;
28094 int res2 = 0 ;
28095 PyObject * obj0 = 0 ;
28096 PyObject * obj1 = 0 ;
28097 char * kwnames[] = {
28098 (char *) "self",(char *) "parent", NULL
28099 };
28100
28101 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
28102 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
28103 if (!SWIG_IsOK(res1)) {
28104 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
28105 }
28106 arg1 = reinterpret_cast< wxPrinter * >(argp1);
28107 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
28108 if (!SWIG_IsOK(res2)) {
28109 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
28110 }
28111 arg2 = reinterpret_cast< wxWindow * >(argp2);
28112 {
28113 PyThreadState* __tstate = wxPyBeginAllowThreads();
28114 result = (wxDC *)(arg1)->PrintDialog(arg2);
28115 wxPyEndAllowThreads(__tstate);
28116 if (PyErr_Occurred()) SWIG_fail;
28117 }
28118 {
28119 resultobj = wxPyMake_wxObject(result, (bool)0);
28120 }
28121 return resultobj;
28122 fail:
28123 return NULL;
28124 }
28125
28126
28127 SWIGINTERN PyObject *_wrap_Printer_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28128 PyObject *resultobj = 0;
28129 wxPrinter *arg1 = (wxPrinter *) 0 ;
28130 wxPrintDialogData *result = 0 ;
28131 void *argp1 = 0 ;
28132 int res1 = 0 ;
28133 PyObject *swig_obj[1] ;
28134
28135 if (!args) SWIG_fail;
28136 swig_obj[0] = args;
28137 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
28138 if (!SWIG_IsOK(res1)) {
28139 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
28140 }
28141 arg1 = reinterpret_cast< wxPrinter * >(argp1);
28142 {
28143 PyThreadState* __tstate = wxPyBeginAllowThreads();
28144 {
28145 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
28146 result = (wxPrintDialogData *) &_result_ref;
28147 }
28148 wxPyEndAllowThreads(__tstate);
28149 if (PyErr_Occurred()) SWIG_fail;
28150 }
28151 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28152 return resultobj;
28153 fail:
28154 return NULL;
28155 }
28156
28157
28158 SWIGINTERN PyObject *_wrap_Printer_GetAbort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28159 PyObject *resultobj = 0;
28160 wxPrinter *arg1 = (wxPrinter *) 0 ;
28161 bool result;
28162 void *argp1 = 0 ;
28163 int res1 = 0 ;
28164 PyObject *swig_obj[1] ;
28165
28166 if (!args) SWIG_fail;
28167 swig_obj[0] = args;
28168 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
28169 if (!SWIG_IsOK(res1)) {
28170 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
28171 }
28172 arg1 = reinterpret_cast< wxPrinter * >(argp1);
28173 {
28174 PyThreadState* __tstate = wxPyBeginAllowThreads();
28175 result = (bool)(arg1)->GetAbort();
28176 wxPyEndAllowThreads(__tstate);
28177 if (PyErr_Occurred()) SWIG_fail;
28178 }
28179 {
28180 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28181 }
28182 return resultobj;
28183 fail:
28184 return NULL;
28185 }
28186
28187
28188 SWIGINTERN PyObject *_wrap_Printer_GetLastError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28189 PyObject *resultobj = 0;
28190 wxPrinterError result;
28191
28192 if (!SWIG_Python_UnpackTuple(args,"Printer_GetLastError",0,0,0)) SWIG_fail;
28193 {
28194 PyThreadState* __tstate = wxPyBeginAllowThreads();
28195 result = (wxPrinterError)wxPrinter::GetLastError();
28196 wxPyEndAllowThreads(__tstate);
28197 if (PyErr_Occurred()) SWIG_fail;
28198 }
28199 resultobj = SWIG_From_int(static_cast< int >(result));
28200 return resultobj;
28201 fail:
28202 return NULL;
28203 }
28204
28205
28206 SWIGINTERN PyObject *Printer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28207 PyObject *obj;
28208 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28209 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter, SWIG_NewClientData(obj));
28210 return SWIG_Py_Void();
28211 }
28212
28213 SWIGINTERN PyObject *Printer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28214 return SWIG_Python_InitShadowInstance(args);
28215 }
28216
28217 SWIGINTERN PyObject *_wrap_new_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28218 PyObject *resultobj = 0;
28219 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
28220 wxString *arg1 = (wxString *) &arg1_defvalue ;
28221 wxPyPrintout *result = 0 ;
28222 bool temp1 = false ;
28223 PyObject * obj0 = 0 ;
28224 char * kwnames[] = {
28225 (char *) "title", NULL
28226 };
28227
28228 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) SWIG_fail;
28229 if (obj0) {
28230 {
28231 arg1 = wxString_in_helper(obj0);
28232 if (arg1 == NULL) SWIG_fail;
28233 temp1 = true;
28234 }
28235 }
28236 {
28237 if (!wxPyCheckForApp()) SWIG_fail;
28238 PyThreadState* __tstate = wxPyBeginAllowThreads();
28239 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
28240 wxPyEndAllowThreads(__tstate);
28241 if (PyErr_Occurred()) SWIG_fail;
28242 }
28243 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_NEW | 0 );
28244 {
28245 if (temp1)
28246 delete arg1;
28247 }
28248 return resultobj;
28249 fail:
28250 {
28251 if (temp1)
28252 delete arg1;
28253 }
28254 return NULL;
28255 }
28256
28257
28258 SWIGINTERN PyObject *_wrap_delete_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28259 PyObject *resultobj = 0;
28260 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28261 void *argp1 = 0 ;
28262 int res1 = 0 ;
28263 PyObject *swig_obj[1] ;
28264
28265 if (!args) SWIG_fail;
28266 swig_obj[0] = args;
28267 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
28268 if (!SWIG_IsOK(res1)) {
28269 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28270 }
28271 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28272 {
28273 PyThreadState* __tstate = wxPyBeginAllowThreads();
28274 delete arg1;
28275
28276 wxPyEndAllowThreads(__tstate);
28277 if (PyErr_Occurred()) SWIG_fail;
28278 }
28279 resultobj = SWIG_Py_Void();
28280 return resultobj;
28281 fail:
28282 return NULL;
28283 }
28284
28285
28286 SWIGINTERN PyObject *_wrap_Printout__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28287 PyObject *resultobj = 0;
28288 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28289 PyObject *arg2 = (PyObject *) 0 ;
28290 PyObject *arg3 = (PyObject *) 0 ;
28291 void *argp1 = 0 ;
28292 int res1 = 0 ;
28293 PyObject * obj0 = 0 ;
28294 PyObject * obj1 = 0 ;
28295 PyObject * obj2 = 0 ;
28296 char * kwnames[] = {
28297 (char *) "self",(char *) "self",(char *) "_class", NULL
28298 };
28299
28300 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28301 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28302 if (!SWIG_IsOK(res1)) {
28303 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28304 }
28305 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28306 arg2 = obj1;
28307 arg3 = obj2;
28308 {
28309 PyThreadState* __tstate = wxPyBeginAllowThreads();
28310 (arg1)->_setCallbackInfo(arg2,arg3);
28311 wxPyEndAllowThreads(__tstate);
28312 if (PyErr_Occurred()) SWIG_fail;
28313 }
28314 resultobj = SWIG_Py_Void();
28315 return resultobj;
28316 fail:
28317 return NULL;
28318 }
28319
28320
28321 SWIGINTERN PyObject *_wrap_Printout_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28322 PyObject *resultobj = 0;
28323 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28324 wxString result;
28325 void *argp1 = 0 ;
28326 int res1 = 0 ;
28327 PyObject *swig_obj[1] ;
28328
28329 if (!args) SWIG_fail;
28330 swig_obj[0] = args;
28331 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28332 if (!SWIG_IsOK(res1)) {
28333 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28334 }
28335 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28336 {
28337 PyThreadState* __tstate = wxPyBeginAllowThreads();
28338 result = ((wxPyPrintout const *)arg1)->GetTitle();
28339 wxPyEndAllowThreads(__tstate);
28340 if (PyErr_Occurred()) SWIG_fail;
28341 }
28342 {
28343 #if wxUSE_UNICODE
28344 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28345 #else
28346 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28347 #endif
28348 }
28349 return resultobj;
28350 fail:
28351 return NULL;
28352 }
28353
28354
28355 SWIGINTERN PyObject *_wrap_Printout_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28356 PyObject *resultobj = 0;
28357 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28358 wxDC *result = 0 ;
28359 void *argp1 = 0 ;
28360 int res1 = 0 ;
28361 PyObject *swig_obj[1] ;
28362
28363 if (!args) SWIG_fail;
28364 swig_obj[0] = args;
28365 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28366 if (!SWIG_IsOK(res1)) {
28367 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28368 }
28369 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28370 {
28371 PyThreadState* __tstate = wxPyBeginAllowThreads();
28372 result = (wxDC *)(arg1)->GetDC();
28373 wxPyEndAllowThreads(__tstate);
28374 if (PyErr_Occurred()) SWIG_fail;
28375 }
28376 {
28377 resultobj = wxPyMake_wxObject(result, (bool)0);
28378 }
28379 return resultobj;
28380 fail:
28381 return NULL;
28382 }
28383
28384
28385 SWIGINTERN PyObject *_wrap_Printout_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28386 PyObject *resultobj = 0;
28387 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28388 wxDC *arg2 = (wxDC *) 0 ;
28389 void *argp1 = 0 ;
28390 int res1 = 0 ;
28391 void *argp2 = 0 ;
28392 int res2 = 0 ;
28393 PyObject * obj0 = 0 ;
28394 PyObject * obj1 = 0 ;
28395 char * kwnames[] = {
28396 (char *) "self",(char *) "dc", NULL
28397 };
28398
28399 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) SWIG_fail;
28400 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28401 if (!SWIG_IsOK(res1)) {
28402 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28403 }
28404 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28405 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
28406 if (!SWIG_IsOK(res2)) {
28407 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
28408 }
28409 arg2 = reinterpret_cast< wxDC * >(argp2);
28410 {
28411 PyThreadState* __tstate = wxPyBeginAllowThreads();
28412 (arg1)->SetDC(arg2);
28413 wxPyEndAllowThreads(__tstate);
28414 if (PyErr_Occurred()) SWIG_fail;
28415 }
28416 resultobj = SWIG_Py_Void();
28417 return resultobj;
28418 fail:
28419 return NULL;
28420 }
28421
28422
28423 SWIGINTERN PyObject *_wrap_Printout_FitThisSizeToPaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28424 PyObject *resultobj = 0;
28425 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28426 wxSize *arg2 = 0 ;
28427 void *argp1 = 0 ;
28428 int res1 = 0 ;
28429 wxSize temp2 ;
28430 PyObject * obj0 = 0 ;
28431 PyObject * obj1 = 0 ;
28432 char * kwnames[] = {
28433 (char *) "self",(char *) "imageSize", NULL
28434 };
28435
28436 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_FitThisSizeToPaper",kwnames,&obj0,&obj1)) SWIG_fail;
28437 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28438 if (!SWIG_IsOK(res1)) {
28439 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_FitThisSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28440 }
28441 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28442 {
28443 arg2 = &temp2;
28444 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
28445 }
28446 {
28447 PyThreadState* __tstate = wxPyBeginAllowThreads();
28448 (arg1)->FitThisSizeToPaper((wxSize const &)*arg2);
28449 wxPyEndAllowThreads(__tstate);
28450 if (PyErr_Occurred()) SWIG_fail;
28451 }
28452 resultobj = SWIG_Py_Void();
28453 return resultobj;
28454 fail:
28455 return NULL;
28456 }
28457
28458
28459 SWIGINTERN PyObject *_wrap_Printout_FitThisSizeToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28460 PyObject *resultobj = 0;
28461 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28462 wxSize *arg2 = 0 ;
28463 void *argp1 = 0 ;
28464 int res1 = 0 ;
28465 wxSize temp2 ;
28466 PyObject * obj0 = 0 ;
28467 PyObject * obj1 = 0 ;
28468 char * kwnames[] = {
28469 (char *) "self",(char *) "imageSize", NULL
28470 };
28471
28472 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_FitThisSizeToPage",kwnames,&obj0,&obj1)) SWIG_fail;
28473 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28474 if (!SWIG_IsOK(res1)) {
28475 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_FitThisSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28476 }
28477 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28478 {
28479 arg2 = &temp2;
28480 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
28481 }
28482 {
28483 PyThreadState* __tstate = wxPyBeginAllowThreads();
28484 (arg1)->FitThisSizeToPage((wxSize const &)*arg2);
28485 wxPyEndAllowThreads(__tstate);
28486 if (PyErr_Occurred()) SWIG_fail;
28487 }
28488 resultobj = SWIG_Py_Void();
28489 return resultobj;
28490 fail:
28491 return NULL;
28492 }
28493
28494
28495 SWIGINTERN PyObject *_wrap_Printout_FitThisSizeToPageMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28496 PyObject *resultobj = 0;
28497 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28498 wxSize *arg2 = 0 ;
28499 wxPageSetupDialogData *arg3 = 0 ;
28500 void *argp1 = 0 ;
28501 int res1 = 0 ;
28502 wxSize temp2 ;
28503 void *argp3 = 0 ;
28504 int res3 = 0 ;
28505 PyObject * obj0 = 0 ;
28506 PyObject * obj1 = 0 ;
28507 PyObject * obj2 = 0 ;
28508 char * kwnames[] = {
28509 (char *) "self",(char *) "imageSize",(char *) "pageSetupData", NULL
28510 };
28511
28512 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_FitThisSizeToPageMargins",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28513 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28514 if (!SWIG_IsOK(res1)) {
28515 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28516 }
28517 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28518 {
28519 arg2 = &temp2;
28520 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
28521 }
28522 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
28523 if (!SWIG_IsOK(res3)) {
28524 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
28525 }
28526 if (!argp3) {
28527 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
28528 }
28529 arg3 = reinterpret_cast< wxPageSetupDialogData * >(argp3);
28530 {
28531 PyThreadState* __tstate = wxPyBeginAllowThreads();
28532 (arg1)->FitThisSizeToPageMargins((wxSize const &)*arg2,(wxPageSetupDialogData const &)*arg3);
28533 wxPyEndAllowThreads(__tstate);
28534 if (PyErr_Occurred()) SWIG_fail;
28535 }
28536 resultobj = SWIG_Py_Void();
28537 return resultobj;
28538 fail:
28539 return NULL;
28540 }
28541
28542
28543 SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToPaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28544 PyObject *resultobj = 0;
28545 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28546 void *argp1 = 0 ;
28547 int res1 = 0 ;
28548 PyObject *swig_obj[1] ;
28549
28550 if (!args) SWIG_fail;
28551 swig_obj[0] = args;
28552 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28553 if (!SWIG_IsOK(res1)) {
28554 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28555 }
28556 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28557 {
28558 PyThreadState* __tstate = wxPyBeginAllowThreads();
28559 (arg1)->MapScreenSizeToPaper();
28560 wxPyEndAllowThreads(__tstate);
28561 if (PyErr_Occurred()) SWIG_fail;
28562 }
28563 resultobj = SWIG_Py_Void();
28564 return resultobj;
28565 fail:
28566 return NULL;
28567 }
28568
28569
28570 SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28571 PyObject *resultobj = 0;
28572 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28573 void *argp1 = 0 ;
28574 int res1 = 0 ;
28575 PyObject *swig_obj[1] ;
28576
28577 if (!args) SWIG_fail;
28578 swig_obj[0] = args;
28579 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28580 if (!SWIG_IsOK(res1)) {
28581 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28582 }
28583 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28584 {
28585 PyThreadState* __tstate = wxPyBeginAllowThreads();
28586 (arg1)->MapScreenSizeToPage();
28587 wxPyEndAllowThreads(__tstate);
28588 if (PyErr_Occurred()) SWIG_fail;
28589 }
28590 resultobj = SWIG_Py_Void();
28591 return resultobj;
28592 fail:
28593 return NULL;
28594 }
28595
28596
28597 SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToPageMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28598 PyObject *resultobj = 0;
28599 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28600 wxPageSetupDialogData *arg2 = 0 ;
28601 void *argp1 = 0 ;
28602 int res1 = 0 ;
28603 void *argp2 = 0 ;
28604 int res2 = 0 ;
28605 PyObject * obj0 = 0 ;
28606 PyObject * obj1 = 0 ;
28607 char * kwnames[] = {
28608 (char *) "self",(char *) "pageSetupData", NULL
28609 };
28610
28611 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_MapScreenSizeToPageMargins",kwnames,&obj0,&obj1)) SWIG_fail;
28612 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28613 if (!SWIG_IsOK(res1)) {
28614 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28615 }
28616 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28617 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
28618 if (!SWIG_IsOK(res2)) {
28619 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28620 }
28621 if (!argp2) {
28622 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28623 }
28624 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
28625 {
28626 PyThreadState* __tstate = wxPyBeginAllowThreads();
28627 (arg1)->MapScreenSizeToPageMargins((wxPageSetupDialogData const &)*arg2);
28628 wxPyEndAllowThreads(__tstate);
28629 if (PyErr_Occurred()) SWIG_fail;
28630 }
28631 resultobj = SWIG_Py_Void();
28632 return resultobj;
28633 fail:
28634 return NULL;
28635 }
28636
28637
28638 SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToDevice(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28639 PyObject *resultobj = 0;
28640 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28641 void *argp1 = 0 ;
28642 int res1 = 0 ;
28643 PyObject *swig_obj[1] ;
28644
28645 if (!args) SWIG_fail;
28646 swig_obj[0] = args;
28647 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28648 if (!SWIG_IsOK(res1)) {
28649 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToDevice" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28650 }
28651 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28652 {
28653 PyThreadState* __tstate = wxPyBeginAllowThreads();
28654 (arg1)->MapScreenSizeToDevice();
28655 wxPyEndAllowThreads(__tstate);
28656 if (PyErr_Occurred()) SWIG_fail;
28657 }
28658 resultobj = SWIG_Py_Void();
28659 return resultobj;
28660 fail:
28661 return NULL;
28662 }
28663
28664
28665 SWIGINTERN PyObject *_wrap_Printout_GetLogicalPaperRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28666 PyObject *resultobj = 0;
28667 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28668 wxRect result;
28669 void *argp1 = 0 ;
28670 int res1 = 0 ;
28671 PyObject *swig_obj[1] ;
28672
28673 if (!args) SWIG_fail;
28674 swig_obj[0] = args;
28675 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28676 if (!SWIG_IsOK(res1)) {
28677 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetLogicalPaperRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28678 }
28679 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28680 {
28681 PyThreadState* __tstate = wxPyBeginAllowThreads();
28682 result = ((wxPyPrintout const *)arg1)->GetLogicalPaperRect();
28683 wxPyEndAllowThreads(__tstate);
28684 if (PyErr_Occurred()) SWIG_fail;
28685 }
28686 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
28687 return resultobj;
28688 fail:
28689 return NULL;
28690 }
28691
28692
28693 SWIGINTERN PyObject *_wrap_Printout_GetLogicalPageRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28694 PyObject *resultobj = 0;
28695 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28696 wxRect result;
28697 void *argp1 = 0 ;
28698 int res1 = 0 ;
28699 PyObject *swig_obj[1] ;
28700
28701 if (!args) SWIG_fail;
28702 swig_obj[0] = args;
28703 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28704 if (!SWIG_IsOK(res1)) {
28705 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetLogicalPageRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28706 }
28707 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28708 {
28709 PyThreadState* __tstate = wxPyBeginAllowThreads();
28710 result = ((wxPyPrintout const *)arg1)->GetLogicalPageRect();
28711 wxPyEndAllowThreads(__tstate);
28712 if (PyErr_Occurred()) SWIG_fail;
28713 }
28714 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
28715 return resultobj;
28716 fail:
28717 return NULL;
28718 }
28719
28720
28721 SWIGINTERN PyObject *_wrap_Printout_GetLogicalPageMarginsRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28722 PyObject *resultobj = 0;
28723 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28724 wxPageSetupDialogData *arg2 = 0 ;
28725 wxRect result;
28726 void *argp1 = 0 ;
28727 int res1 = 0 ;
28728 void *argp2 = 0 ;
28729 int res2 = 0 ;
28730 PyObject * obj0 = 0 ;
28731 PyObject * obj1 = 0 ;
28732 char * kwnames[] = {
28733 (char *) "self",(char *) "pageSetupData", NULL
28734 };
28735
28736 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_GetLogicalPageMarginsRect",kwnames,&obj0,&obj1)) SWIG_fail;
28737 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28738 if (!SWIG_IsOK(res1)) {
28739 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28740 }
28741 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28742 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
28743 if (!SWIG_IsOK(res2)) {
28744 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28745 }
28746 if (!argp2) {
28747 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28748 }
28749 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
28750 {
28751 PyThreadState* __tstate = wxPyBeginAllowThreads();
28752 result = ((wxPyPrintout const *)arg1)->GetLogicalPageMarginsRect((wxPageSetupDialogData const &)*arg2);
28753 wxPyEndAllowThreads(__tstate);
28754 if (PyErr_Occurred()) SWIG_fail;
28755 }
28756 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
28757 return resultobj;
28758 fail:
28759 return NULL;
28760 }
28761
28762
28763 SWIGINTERN PyObject *_wrap_Printout_SetLogicalOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28764 PyObject *resultobj = 0;
28765 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28766 int arg2 ;
28767 int arg3 ;
28768 void *argp1 = 0 ;
28769 int res1 = 0 ;
28770 int val2 ;
28771 int ecode2 = 0 ;
28772 int val3 ;
28773 int ecode3 = 0 ;
28774 PyObject * obj0 = 0 ;
28775 PyObject * obj1 = 0 ;
28776 PyObject * obj2 = 0 ;
28777 char * kwnames[] = {
28778 (char *) "self",(char *) "x",(char *) "y", NULL
28779 };
28780
28781 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetLogicalOrigin",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28782 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28783 if (!SWIG_IsOK(res1)) {
28784 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28785 }
28786 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28787 ecode2 = SWIG_AsVal_int(obj1, &val2);
28788 if (!SWIG_IsOK(ecode2)) {
28789 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
28790 }
28791 arg2 = static_cast< int >(val2);
28792 ecode3 = SWIG_AsVal_int(obj2, &val3);
28793 if (!SWIG_IsOK(ecode3)) {
28794 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
28795 }
28796 arg3 = static_cast< int >(val3);
28797 {
28798 PyThreadState* __tstate = wxPyBeginAllowThreads();
28799 (arg1)->SetLogicalOrigin(arg2,arg3);
28800 wxPyEndAllowThreads(__tstate);
28801 if (PyErr_Occurred()) SWIG_fail;
28802 }
28803 resultobj = SWIG_Py_Void();
28804 return resultobj;
28805 fail:
28806 return NULL;
28807 }
28808
28809
28810 SWIGINTERN PyObject *_wrap_Printout_OffsetLogicalOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28811 PyObject *resultobj = 0;
28812 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28813 int arg2 ;
28814 int arg3 ;
28815 void *argp1 = 0 ;
28816 int res1 = 0 ;
28817 int val2 ;
28818 int ecode2 = 0 ;
28819 int val3 ;
28820 int ecode3 = 0 ;
28821 PyObject * obj0 = 0 ;
28822 PyObject * obj1 = 0 ;
28823 PyObject * obj2 = 0 ;
28824 char * kwnames[] = {
28825 (char *) "self",(char *) "xoff",(char *) "yoff", NULL
28826 };
28827
28828 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OffsetLogicalOrigin",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28829 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28830 if (!SWIG_IsOK(res1)) {
28831 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28832 }
28833 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28834 ecode2 = SWIG_AsVal_int(obj1, &val2);
28835 if (!SWIG_IsOK(ecode2)) {
28836 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
28837 }
28838 arg2 = static_cast< int >(val2);
28839 ecode3 = SWIG_AsVal_int(obj2, &val3);
28840 if (!SWIG_IsOK(ecode3)) {
28841 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
28842 }
28843 arg3 = static_cast< int >(val3);
28844 {
28845 PyThreadState* __tstate = wxPyBeginAllowThreads();
28846 (arg1)->OffsetLogicalOrigin(arg2,arg3);
28847 wxPyEndAllowThreads(__tstate);
28848 if (PyErr_Occurred()) SWIG_fail;
28849 }
28850 resultobj = SWIG_Py_Void();
28851 return resultobj;
28852 fail:
28853 return NULL;
28854 }
28855
28856
28857 SWIGINTERN PyObject *_wrap_Printout_SetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28858 PyObject *resultobj = 0;
28859 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28860 int arg2 ;
28861 int arg3 ;
28862 void *argp1 = 0 ;
28863 int res1 = 0 ;
28864 int val2 ;
28865 int ecode2 = 0 ;
28866 int val3 ;
28867 int ecode3 = 0 ;
28868 PyObject * obj0 = 0 ;
28869 PyObject * obj1 = 0 ;
28870 PyObject * obj2 = 0 ;
28871 char * kwnames[] = {
28872 (char *) "self",(char *) "w",(char *) "h", NULL
28873 };
28874
28875 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28876 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28877 if (!SWIG_IsOK(res1)) {
28878 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28879 }
28880 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28881 ecode2 = SWIG_AsVal_int(obj1, &val2);
28882 if (!SWIG_IsOK(ecode2)) {
28883 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
28884 }
28885 arg2 = static_cast< int >(val2);
28886 ecode3 = SWIG_AsVal_int(obj2, &val3);
28887 if (!SWIG_IsOK(ecode3)) {
28888 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
28889 }
28890 arg3 = static_cast< int >(val3);
28891 {
28892 PyThreadState* __tstate = wxPyBeginAllowThreads();
28893 (arg1)->SetPageSizePixels(arg2,arg3);
28894 wxPyEndAllowThreads(__tstate);
28895 if (PyErr_Occurred()) SWIG_fail;
28896 }
28897 resultobj = SWIG_Py_Void();
28898 return resultobj;
28899 fail:
28900 return NULL;
28901 }
28902
28903
28904 SWIGINTERN PyObject *_wrap_Printout_GetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28905 PyObject *resultobj = 0;
28906 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28907 int *arg2 = (int *) 0 ;
28908 int *arg3 = (int *) 0 ;
28909 void *argp1 = 0 ;
28910 int res1 = 0 ;
28911 int temp2 ;
28912 int res2 = SWIG_TMPOBJ ;
28913 int temp3 ;
28914 int res3 = SWIG_TMPOBJ ;
28915 PyObject *swig_obj[1] ;
28916
28917 arg2 = &temp2;
28918 arg3 = &temp3;
28919 if (!args) SWIG_fail;
28920 swig_obj[0] = args;
28921 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28922 if (!SWIG_IsOK(res1)) {
28923 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28924 }
28925 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28926 {
28927 PyThreadState* __tstate = wxPyBeginAllowThreads();
28928 (arg1)->GetPageSizePixels(arg2,arg3);
28929 wxPyEndAllowThreads(__tstate);
28930 if (PyErr_Occurred()) SWIG_fail;
28931 }
28932 resultobj = SWIG_Py_Void();
28933 if (SWIG_IsTmpObj(res2)) {
28934 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28935 } else {
28936 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28937 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28938 }
28939 if (SWIG_IsTmpObj(res3)) {
28940 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28941 } else {
28942 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28943 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28944 }
28945 return resultobj;
28946 fail:
28947 return NULL;
28948 }
28949
28950
28951 SWIGINTERN PyObject *_wrap_Printout_SetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28952 PyObject *resultobj = 0;
28953 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28954 int arg2 ;
28955 int arg3 ;
28956 void *argp1 = 0 ;
28957 int res1 = 0 ;
28958 int val2 ;
28959 int ecode2 = 0 ;
28960 int val3 ;
28961 int ecode3 = 0 ;
28962 PyObject * obj0 = 0 ;
28963 PyObject * obj1 = 0 ;
28964 PyObject * obj2 = 0 ;
28965 char * kwnames[] = {
28966 (char *) "self",(char *) "w",(char *) "h", NULL
28967 };
28968
28969 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28970 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28971 if (!SWIG_IsOK(res1)) {
28972 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28973 }
28974 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28975 ecode2 = SWIG_AsVal_int(obj1, &val2);
28976 if (!SWIG_IsOK(ecode2)) {
28977 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
28978 }
28979 arg2 = static_cast< int >(val2);
28980 ecode3 = SWIG_AsVal_int(obj2, &val3);
28981 if (!SWIG_IsOK(ecode3)) {
28982 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
28983 }
28984 arg3 = static_cast< int >(val3);
28985 {
28986 PyThreadState* __tstate = wxPyBeginAllowThreads();
28987 (arg1)->SetPageSizeMM(arg2,arg3);
28988 wxPyEndAllowThreads(__tstate);
28989 if (PyErr_Occurred()) SWIG_fail;
28990 }
28991 resultobj = SWIG_Py_Void();
28992 return resultobj;
28993 fail:
28994 return NULL;
28995 }
28996
28997
28998 SWIGINTERN PyObject *_wrap_Printout_GetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28999 PyObject *resultobj = 0;
29000 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29001 int *arg2 = (int *) 0 ;
29002 int *arg3 = (int *) 0 ;
29003 void *argp1 = 0 ;
29004 int res1 = 0 ;
29005 int temp2 ;
29006 int res2 = SWIG_TMPOBJ ;
29007 int temp3 ;
29008 int res3 = SWIG_TMPOBJ ;
29009 PyObject *swig_obj[1] ;
29010
29011 arg2 = &temp2;
29012 arg3 = &temp3;
29013 if (!args) SWIG_fail;
29014 swig_obj[0] = args;
29015 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29016 if (!SWIG_IsOK(res1)) {
29017 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29018 }
29019 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29020 {
29021 PyThreadState* __tstate = wxPyBeginAllowThreads();
29022 (arg1)->GetPageSizeMM(arg2,arg3);
29023 wxPyEndAllowThreads(__tstate);
29024 if (PyErr_Occurred()) SWIG_fail;
29025 }
29026 resultobj = SWIG_Py_Void();
29027 if (SWIG_IsTmpObj(res2)) {
29028 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
29029 } else {
29030 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29031 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
29032 }
29033 if (SWIG_IsTmpObj(res3)) {
29034 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
29035 } else {
29036 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29037 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
29038 }
29039 return resultobj;
29040 fail:
29041 return NULL;
29042 }
29043
29044
29045 SWIGINTERN PyObject *_wrap_Printout_SetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29046 PyObject *resultobj = 0;
29047 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29048 int arg2 ;
29049 int arg3 ;
29050 void *argp1 = 0 ;
29051 int res1 = 0 ;
29052 int val2 ;
29053 int ecode2 = 0 ;
29054 int val3 ;
29055 int ecode3 = 0 ;
29056 PyObject * obj0 = 0 ;
29057 PyObject * obj1 = 0 ;
29058 PyObject * obj2 = 0 ;
29059 char * kwnames[] = {
29060 (char *) "self",(char *) "x",(char *) "y", NULL
29061 };
29062
29063 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29064 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29065 if (!SWIG_IsOK(res1)) {
29066 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29067 }
29068 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29069 ecode2 = SWIG_AsVal_int(obj1, &val2);
29070 if (!SWIG_IsOK(ecode2)) {
29071 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
29072 }
29073 arg2 = static_cast< int >(val2);
29074 ecode3 = SWIG_AsVal_int(obj2, &val3);
29075 if (!SWIG_IsOK(ecode3)) {
29076 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
29077 }
29078 arg3 = static_cast< int >(val3);
29079 {
29080 PyThreadState* __tstate = wxPyBeginAllowThreads();
29081 (arg1)->SetPPIScreen(arg2,arg3);
29082 wxPyEndAllowThreads(__tstate);
29083 if (PyErr_Occurred()) SWIG_fail;
29084 }
29085 resultobj = SWIG_Py_Void();
29086 return resultobj;
29087 fail:
29088 return NULL;
29089 }
29090
29091
29092 SWIGINTERN PyObject *_wrap_Printout_GetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29093 PyObject *resultobj = 0;
29094 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29095 int *arg2 = (int *) 0 ;
29096 int *arg3 = (int *) 0 ;
29097 void *argp1 = 0 ;
29098 int res1 = 0 ;
29099 int temp2 ;
29100 int res2 = SWIG_TMPOBJ ;
29101 int temp3 ;
29102 int res3 = SWIG_TMPOBJ ;
29103 PyObject *swig_obj[1] ;
29104
29105 arg2 = &temp2;
29106 arg3 = &temp3;
29107 if (!args) SWIG_fail;
29108 swig_obj[0] = args;
29109 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29110 if (!SWIG_IsOK(res1)) {
29111 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29112 }
29113 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29114 {
29115 PyThreadState* __tstate = wxPyBeginAllowThreads();
29116 (arg1)->GetPPIScreen(arg2,arg3);
29117 wxPyEndAllowThreads(__tstate);
29118 if (PyErr_Occurred()) SWIG_fail;
29119 }
29120 resultobj = SWIG_Py_Void();
29121 if (SWIG_IsTmpObj(res2)) {
29122 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
29123 } else {
29124 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29125 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
29126 }
29127 if (SWIG_IsTmpObj(res3)) {
29128 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
29129 } else {
29130 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29131 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
29132 }
29133 return resultobj;
29134 fail:
29135 return NULL;
29136 }
29137
29138
29139 SWIGINTERN PyObject *_wrap_Printout_SetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29140 PyObject *resultobj = 0;
29141 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29142 int arg2 ;
29143 int arg3 ;
29144 void *argp1 = 0 ;
29145 int res1 = 0 ;
29146 int val2 ;
29147 int ecode2 = 0 ;
29148 int val3 ;
29149 int ecode3 = 0 ;
29150 PyObject * obj0 = 0 ;
29151 PyObject * obj1 = 0 ;
29152 PyObject * obj2 = 0 ;
29153 char * kwnames[] = {
29154 (char *) "self",(char *) "x",(char *) "y", NULL
29155 };
29156
29157 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29158 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29159 if (!SWIG_IsOK(res1)) {
29160 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29161 }
29162 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29163 ecode2 = SWIG_AsVal_int(obj1, &val2);
29164 if (!SWIG_IsOK(ecode2)) {
29165 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
29166 }
29167 arg2 = static_cast< int >(val2);
29168 ecode3 = SWIG_AsVal_int(obj2, &val3);
29169 if (!SWIG_IsOK(ecode3)) {
29170 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
29171 }
29172 arg3 = static_cast< int >(val3);
29173 {
29174 PyThreadState* __tstate = wxPyBeginAllowThreads();
29175 (arg1)->SetPPIPrinter(arg2,arg3);
29176 wxPyEndAllowThreads(__tstate);
29177 if (PyErr_Occurred()) SWIG_fail;
29178 }
29179 resultobj = SWIG_Py_Void();
29180 return resultobj;
29181 fail:
29182 return NULL;
29183 }
29184
29185
29186 SWIGINTERN PyObject *_wrap_Printout_GetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29187 PyObject *resultobj = 0;
29188 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29189 int *arg2 = (int *) 0 ;
29190 int *arg3 = (int *) 0 ;
29191 void *argp1 = 0 ;
29192 int res1 = 0 ;
29193 int temp2 ;
29194 int res2 = SWIG_TMPOBJ ;
29195 int temp3 ;
29196 int res3 = SWIG_TMPOBJ ;
29197 PyObject *swig_obj[1] ;
29198
29199 arg2 = &temp2;
29200 arg3 = &temp3;
29201 if (!args) SWIG_fail;
29202 swig_obj[0] = args;
29203 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29204 if (!SWIG_IsOK(res1)) {
29205 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29206 }
29207 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29208 {
29209 PyThreadState* __tstate = wxPyBeginAllowThreads();
29210 (arg1)->GetPPIPrinter(arg2,arg3);
29211 wxPyEndAllowThreads(__tstate);
29212 if (PyErr_Occurred()) SWIG_fail;
29213 }
29214 resultobj = SWIG_Py_Void();
29215 if (SWIG_IsTmpObj(res2)) {
29216 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
29217 } else {
29218 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29219 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
29220 }
29221 if (SWIG_IsTmpObj(res3)) {
29222 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
29223 } else {
29224 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29225 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
29226 }
29227 return resultobj;
29228 fail:
29229 return NULL;
29230 }
29231
29232
29233 SWIGINTERN PyObject *_wrap_Printout_SetPaperRectPixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29234 PyObject *resultobj = 0;
29235 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29236 wxRect *arg2 = 0 ;
29237 void *argp1 = 0 ;
29238 int res1 = 0 ;
29239 wxRect temp2 ;
29240 PyObject * obj0 = 0 ;
29241 PyObject * obj1 = 0 ;
29242 char * kwnames[] = {
29243 (char *) "self",(char *) "paperRectPixels", NULL
29244 };
29245
29246 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetPaperRectPixels",kwnames,&obj0,&obj1)) SWIG_fail;
29247 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29248 if (!SWIG_IsOK(res1)) {
29249 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29250 }
29251 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29252 {
29253 arg2 = &temp2;
29254 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
29255 }
29256 {
29257 PyThreadState* __tstate = wxPyBeginAllowThreads();
29258 (arg1)->SetPaperRectPixels((wxRect const &)*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_Printout_GetPaperRectPixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29270 PyObject *resultobj = 0;
29271 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29272 wxRect result;
29273 void *argp1 = 0 ;
29274 int res1 = 0 ;
29275 PyObject *swig_obj[1] ;
29276
29277 if (!args) SWIG_fail;
29278 swig_obj[0] = args;
29279 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29280 if (!SWIG_IsOK(res1)) {
29281 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
29282 }
29283 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29284 {
29285 PyThreadState* __tstate = wxPyBeginAllowThreads();
29286 result = ((wxPyPrintout const *)arg1)->GetPaperRectPixels();
29287 wxPyEndAllowThreads(__tstate);
29288 if (PyErr_Occurred()) SWIG_fail;
29289 }
29290 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
29291 return resultobj;
29292 fail:
29293 return NULL;
29294 }
29295
29296
29297 SWIGINTERN PyObject *_wrap_Printout_IsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29298 PyObject *resultobj = 0;
29299 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29300 bool result;
29301 void *argp1 = 0 ;
29302 int res1 = 0 ;
29303 PyObject *swig_obj[1] ;
29304
29305 if (!args) SWIG_fail;
29306 swig_obj[0] = args;
29307 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29308 if (!SWIG_IsOK(res1)) {
29309 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29310 }
29311 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29312 {
29313 PyThreadState* __tstate = wxPyBeginAllowThreads();
29314 result = (bool)(arg1)->IsPreview();
29315 wxPyEndAllowThreads(__tstate);
29316 if (PyErr_Occurred()) SWIG_fail;
29317 }
29318 {
29319 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29320 }
29321 return resultobj;
29322 fail:
29323 return NULL;
29324 }
29325
29326
29327 SWIGINTERN PyObject *_wrap_Printout_SetIsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29328 PyObject *resultobj = 0;
29329 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29330 bool arg2 ;
29331 void *argp1 = 0 ;
29332 int res1 = 0 ;
29333 bool val2 ;
29334 int ecode2 = 0 ;
29335 PyObject * obj0 = 0 ;
29336 PyObject * obj1 = 0 ;
29337 char * kwnames[] = {
29338 (char *) "self",(char *) "p", NULL
29339 };
29340
29341 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) SWIG_fail;
29342 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29343 if (!SWIG_IsOK(res1)) {
29344 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29345 }
29346 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29347 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29348 if (!SWIG_IsOK(ecode2)) {
29349 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
29350 }
29351 arg2 = static_cast< bool >(val2);
29352 {
29353 PyThreadState* __tstate = wxPyBeginAllowThreads();
29354 (arg1)->SetIsPreview(arg2);
29355 wxPyEndAllowThreads(__tstate);
29356 if (PyErr_Occurred()) SWIG_fail;
29357 }
29358 resultobj = SWIG_Py_Void();
29359 return resultobj;
29360 fail:
29361 return NULL;
29362 }
29363
29364
29365 SWIGINTERN PyObject *_wrap_Printout_OnBeginDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29366 PyObject *resultobj = 0;
29367 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29368 int arg2 ;
29369 int arg3 ;
29370 bool result;
29371 void *argp1 = 0 ;
29372 int res1 = 0 ;
29373 int val2 ;
29374 int ecode2 = 0 ;
29375 int val3 ;
29376 int ecode3 = 0 ;
29377 PyObject * obj0 = 0 ;
29378 PyObject * obj1 = 0 ;
29379 PyObject * obj2 = 0 ;
29380 char * kwnames[] = {
29381 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
29382 };
29383
29384 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29385 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29386 if (!SWIG_IsOK(res1)) {
29387 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29388 }
29389 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29390 ecode2 = SWIG_AsVal_int(obj1, &val2);
29391 if (!SWIG_IsOK(ecode2)) {
29392 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
29393 }
29394 arg2 = static_cast< int >(val2);
29395 ecode3 = SWIG_AsVal_int(obj2, &val3);
29396 if (!SWIG_IsOK(ecode3)) {
29397 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
29398 }
29399 arg3 = static_cast< int >(val3);
29400 {
29401 PyThreadState* __tstate = wxPyBeginAllowThreads();
29402 result = (bool)(arg1)->OnBeginDocument(arg2,arg3);
29403 wxPyEndAllowThreads(__tstate);
29404 if (PyErr_Occurred()) SWIG_fail;
29405 }
29406 {
29407 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29408 }
29409 return resultobj;
29410 fail:
29411 return NULL;
29412 }
29413
29414
29415 SWIGINTERN PyObject *_wrap_Printout_OnEndDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29416 PyObject *resultobj = 0;
29417 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29418 void *argp1 = 0 ;
29419 int res1 = 0 ;
29420 PyObject *swig_obj[1] ;
29421
29422 if (!args) SWIG_fail;
29423 swig_obj[0] = args;
29424 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29425 if (!SWIG_IsOK(res1)) {
29426 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29427 }
29428 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29429 {
29430 PyThreadState* __tstate = wxPyBeginAllowThreads();
29431 (arg1)->OnEndDocument();
29432 wxPyEndAllowThreads(__tstate);
29433 if (PyErr_Occurred()) SWIG_fail;
29434 }
29435 resultobj = SWIG_Py_Void();
29436 return resultobj;
29437 fail:
29438 return NULL;
29439 }
29440
29441
29442 SWIGINTERN PyObject *_wrap_Printout_OnBeginPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29443 PyObject *resultobj = 0;
29444 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29445 void *argp1 = 0 ;
29446 int res1 = 0 ;
29447 PyObject *swig_obj[1] ;
29448
29449 if (!args) SWIG_fail;
29450 swig_obj[0] = args;
29451 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29452 if (!SWIG_IsOK(res1)) {
29453 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29454 }
29455 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29456 {
29457 PyThreadState* __tstate = wxPyBeginAllowThreads();
29458 (arg1)->OnBeginPrinting();
29459 wxPyEndAllowThreads(__tstate);
29460 if (PyErr_Occurred()) SWIG_fail;
29461 }
29462 resultobj = SWIG_Py_Void();
29463 return resultobj;
29464 fail:
29465 return NULL;
29466 }
29467
29468
29469 SWIGINTERN PyObject *_wrap_Printout_OnEndPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29470 PyObject *resultobj = 0;
29471 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29472 void *argp1 = 0 ;
29473 int res1 = 0 ;
29474 PyObject *swig_obj[1] ;
29475
29476 if (!args) SWIG_fail;
29477 swig_obj[0] = args;
29478 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29479 if (!SWIG_IsOK(res1)) {
29480 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29481 }
29482 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29483 {
29484 PyThreadState* __tstate = wxPyBeginAllowThreads();
29485 (arg1)->OnEndPrinting();
29486 wxPyEndAllowThreads(__tstate);
29487 if (PyErr_Occurred()) SWIG_fail;
29488 }
29489 resultobj = SWIG_Py_Void();
29490 return resultobj;
29491 fail:
29492 return NULL;
29493 }
29494
29495
29496 SWIGINTERN PyObject *_wrap_Printout_OnPreparePrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29497 PyObject *resultobj = 0;
29498 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29499 void *argp1 = 0 ;
29500 int res1 = 0 ;
29501 PyObject *swig_obj[1] ;
29502
29503 if (!args) SWIG_fail;
29504 swig_obj[0] = args;
29505 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29506 if (!SWIG_IsOK(res1)) {
29507 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29508 }
29509 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29510 {
29511 PyThreadState* __tstate = wxPyBeginAllowThreads();
29512 (arg1)->OnPreparePrinting();
29513 wxPyEndAllowThreads(__tstate);
29514 if (PyErr_Occurred()) SWIG_fail;
29515 }
29516 resultobj = SWIG_Py_Void();
29517 return resultobj;
29518 fail:
29519 return NULL;
29520 }
29521
29522
29523 SWIGINTERN PyObject *_wrap_Printout_HasPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29524 PyObject *resultobj = 0;
29525 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29526 int arg2 ;
29527 bool result;
29528 void *argp1 = 0 ;
29529 int res1 = 0 ;
29530 int val2 ;
29531 int ecode2 = 0 ;
29532 PyObject * obj0 = 0 ;
29533 PyObject * obj1 = 0 ;
29534 char * kwnames[] = {
29535 (char *) "self",(char *) "page", NULL
29536 };
29537
29538 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_HasPage",kwnames,&obj0,&obj1)) SWIG_fail;
29539 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29540 if (!SWIG_IsOK(res1)) {
29541 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29542 }
29543 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29544 ecode2 = SWIG_AsVal_int(obj1, &val2);
29545 if (!SWIG_IsOK(ecode2)) {
29546 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
29547 }
29548 arg2 = static_cast< int >(val2);
29549 {
29550 PyThreadState* __tstate = wxPyBeginAllowThreads();
29551 result = (bool)(arg1)->HasPage(arg2);
29552 wxPyEndAllowThreads(__tstate);
29553 if (PyErr_Occurred()) SWIG_fail;
29554 }
29555 {
29556 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29557 }
29558 return resultobj;
29559 fail:
29560 return NULL;
29561 }
29562
29563
29564 SWIGINTERN PyObject *_wrap_Printout_GetPageInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29565 PyObject *resultobj = 0;
29566 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29567 int *arg2 = (int *) 0 ;
29568 int *arg3 = (int *) 0 ;
29569 int *arg4 = (int *) 0 ;
29570 int *arg5 = (int *) 0 ;
29571 void *argp1 = 0 ;
29572 int res1 = 0 ;
29573 int temp2 ;
29574 int res2 = SWIG_TMPOBJ ;
29575 int temp3 ;
29576 int res3 = SWIG_TMPOBJ ;
29577 int temp4 ;
29578 int res4 = SWIG_TMPOBJ ;
29579 int temp5 ;
29580 int res5 = SWIG_TMPOBJ ;
29581 PyObject *swig_obj[1] ;
29582
29583 arg2 = &temp2;
29584 arg3 = &temp3;
29585 arg4 = &temp4;
29586 arg5 = &temp5;
29587 if (!args) SWIG_fail;
29588 swig_obj[0] = args;
29589 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29590 if (!SWIG_IsOK(res1)) {
29591 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29592 }
29593 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29594 {
29595 PyThreadState* __tstate = wxPyBeginAllowThreads();
29596 (arg1)->GetPageInfo(arg2,arg3,arg4,arg5);
29597 wxPyEndAllowThreads(__tstate);
29598 if (PyErr_Occurred()) SWIG_fail;
29599 }
29600 resultobj = SWIG_Py_Void();
29601 if (SWIG_IsTmpObj(res2)) {
29602 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
29603 } else {
29604 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29605 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
29606 }
29607 if (SWIG_IsTmpObj(res3)) {
29608 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
29609 } else {
29610 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29611 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
29612 }
29613 if (SWIG_IsTmpObj(res4)) {
29614 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
29615 } else {
29616 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29617 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
29618 }
29619 if (SWIG_IsTmpObj(res5)) {
29620 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
29621 } else {
29622 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29623 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
29624 }
29625 return resultobj;
29626 fail:
29627 return NULL;
29628 }
29629
29630
29631 SWIGINTERN PyObject *Printout_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29632 PyObject *obj;
29633 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29634 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout, SWIG_NewClientData(obj));
29635 return SWIG_Py_Void();
29636 }
29637
29638 SWIGINTERN PyObject *Printout_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29639 return SWIG_Python_InitShadowInstance(args);
29640 }
29641
29642 SWIGINTERN PyObject *_wrap_new_PreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29643 PyObject *resultobj = 0;
29644 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29645 wxWindow *arg2 = (wxWindow *) 0 ;
29646 wxPoint const &arg3_defvalue = wxDefaultPosition ;
29647 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
29648 wxSize const &arg4_defvalue = wxDefaultSize ;
29649 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
29650 long arg5 = (long) 0 ;
29651 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
29652 wxString *arg6 = (wxString *) &arg6_defvalue ;
29653 wxPreviewCanvas *result = 0 ;
29654 void *argp1 = 0 ;
29655 int res1 = 0 ;
29656 void *argp2 = 0 ;
29657 int res2 = 0 ;
29658 wxPoint temp3 ;
29659 wxSize temp4 ;
29660 long val5 ;
29661 int ecode5 = 0 ;
29662 bool temp6 = false ;
29663 PyObject * obj0 = 0 ;
29664 PyObject * obj1 = 0 ;
29665 PyObject * obj2 = 0 ;
29666 PyObject * obj3 = 0 ;
29667 PyObject * obj4 = 0 ;
29668 PyObject * obj5 = 0 ;
29669 char * kwnames[] = {
29670 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29671 };
29672
29673 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
29674 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29675 if (!SWIG_IsOK(res1)) {
29676 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29677 }
29678 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29679 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
29680 if (!SWIG_IsOK(res2)) {
29681 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
29682 }
29683 arg2 = reinterpret_cast< wxWindow * >(argp2);
29684 if (obj2) {
29685 {
29686 arg3 = &temp3;
29687 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29688 }
29689 }
29690 if (obj3) {
29691 {
29692 arg4 = &temp4;
29693 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
29694 }
29695 }
29696 if (obj4) {
29697 ecode5 = SWIG_AsVal_long(obj4, &val5);
29698 if (!SWIG_IsOK(ecode5)) {
29699 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
29700 }
29701 arg5 = static_cast< long >(val5);
29702 }
29703 if (obj5) {
29704 {
29705 arg6 = wxString_in_helper(obj5);
29706 if (arg6 == NULL) SWIG_fail;
29707 temp6 = true;
29708 }
29709 }
29710 {
29711 if (!wxPyCheckForApp()) SWIG_fail;
29712 PyThreadState* __tstate = wxPyBeginAllowThreads();
29713 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
29714 wxPyEndAllowThreads(__tstate);
29715 if (PyErr_Occurred()) SWIG_fail;
29716 }
29717 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_NEW | 0 );
29718 {
29719 if (temp6)
29720 delete arg6;
29721 }
29722 return resultobj;
29723 fail:
29724 {
29725 if (temp6)
29726 delete arg6;
29727 }
29728 return NULL;
29729 }
29730
29731
29732 SWIGINTERN PyObject *PreviewCanvas_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29733 PyObject *obj;
29734 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29735 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas, SWIG_NewClientData(obj));
29736 return SWIG_Py_Void();
29737 }
29738
29739 SWIGINTERN PyObject *PreviewCanvas_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29740 return SWIG_Python_InitShadowInstance(args);
29741 }
29742
29743 SWIGINTERN PyObject *_wrap_new_PreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29744 PyObject *resultobj = 0;
29745 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29746 wxFrame *arg2 = (wxFrame *) 0 ;
29747 wxString *arg3 = 0 ;
29748 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29749 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29750 wxSize const &arg5_defvalue = wxDefaultSize ;
29751 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29752 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
29753 wxString const &arg7_defvalue = wxPyFrameNameStr ;
29754 wxString *arg7 = (wxString *) &arg7_defvalue ;
29755 wxPreviewFrame *result = 0 ;
29756 int res1 = 0 ;
29757 void *argp2 = 0 ;
29758 int res2 = 0 ;
29759 bool temp3 = false ;
29760 wxPoint temp4 ;
29761 wxSize temp5 ;
29762 long val6 ;
29763 int ecode6 = 0 ;
29764 bool temp7 = false ;
29765 PyObject * obj0 = 0 ;
29766 PyObject * obj1 = 0 ;
29767 PyObject * obj2 = 0 ;
29768 PyObject * obj3 = 0 ;
29769 PyObject * obj4 = 0 ;
29770 PyObject * obj5 = 0 ;
29771 PyObject * obj6 = 0 ;
29772 char * kwnames[] = {
29773 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29774 };
29775
29776 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
29777 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
29778 if (!SWIG_IsOK(res1)) {
29779 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29780 }
29781 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
29782 if (!SWIG_IsOK(res2)) {
29783 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29784 }
29785 arg2 = reinterpret_cast< wxFrame * >(argp2);
29786 {
29787 arg3 = wxString_in_helper(obj2);
29788 if (arg3 == NULL) SWIG_fail;
29789 temp3 = true;
29790 }
29791 if (obj3) {
29792 {
29793 arg4 = &temp4;
29794 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
29795 }
29796 }
29797 if (obj4) {
29798 {
29799 arg5 = &temp5;
29800 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
29801 }
29802 }
29803 if (obj5) {
29804 ecode6 = SWIG_AsVal_long(obj5, &val6);
29805 if (!SWIG_IsOK(ecode6)) {
29806 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
29807 }
29808 arg6 = static_cast< long >(val6);
29809 }
29810 if (obj6) {
29811 {
29812 arg7 = wxString_in_helper(obj6);
29813 if (arg7 == NULL) SWIG_fail;
29814 temp7 = true;
29815 }
29816 }
29817 {
29818 if (!wxPyCheckForApp()) SWIG_fail;
29819 PyThreadState* __tstate = wxPyBeginAllowThreads();
29820 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
29821 wxPyEndAllowThreads(__tstate);
29822 if (PyErr_Occurred()) SWIG_fail;
29823 }
29824 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_NEW | 0 );
29825 {
29826 if (temp3)
29827 delete arg3;
29828 }
29829 {
29830 if (temp7)
29831 delete arg7;
29832 }
29833 return resultobj;
29834 fail:
29835 {
29836 if (temp3)
29837 delete arg3;
29838 }
29839 {
29840 if (temp7)
29841 delete arg7;
29842 }
29843 return NULL;
29844 }
29845
29846
29847 SWIGINTERN PyObject *_wrap_PreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29848 PyObject *resultobj = 0;
29849 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29850 void *argp1 = 0 ;
29851 int res1 = 0 ;
29852 PyObject *swig_obj[1] ;
29853
29854 if (!args) SWIG_fail;
29855 swig_obj[0] = args;
29856 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29857 if (!SWIG_IsOK(res1)) {
29858 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29859 }
29860 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29861 {
29862 PyThreadState* __tstate = wxPyBeginAllowThreads();
29863 (arg1)->Initialize();
29864 wxPyEndAllowThreads(__tstate);
29865 if (PyErr_Occurred()) SWIG_fail;
29866 }
29867 resultobj = SWIG_Py_Void();
29868 return resultobj;
29869 fail:
29870 return NULL;
29871 }
29872
29873
29874 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29875 PyObject *resultobj = 0;
29876 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29877 void *argp1 = 0 ;
29878 int res1 = 0 ;
29879 PyObject *swig_obj[1] ;
29880
29881 if (!args) SWIG_fail;
29882 swig_obj[0] = args;
29883 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29884 if (!SWIG_IsOK(res1)) {
29885 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29886 }
29887 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29888 {
29889 PyThreadState* __tstate = wxPyBeginAllowThreads();
29890 (arg1)->CreateControlBar();
29891 wxPyEndAllowThreads(__tstate);
29892 if (PyErr_Occurred()) SWIG_fail;
29893 }
29894 resultobj = SWIG_Py_Void();
29895 return resultobj;
29896 fail:
29897 return NULL;
29898 }
29899
29900
29901 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29902 PyObject *resultobj = 0;
29903 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29904 void *argp1 = 0 ;
29905 int res1 = 0 ;
29906 PyObject *swig_obj[1] ;
29907
29908 if (!args) SWIG_fail;
29909 swig_obj[0] = args;
29910 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29911 if (!SWIG_IsOK(res1)) {
29912 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29913 }
29914 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29915 {
29916 PyThreadState* __tstate = wxPyBeginAllowThreads();
29917 (arg1)->CreateCanvas();
29918 wxPyEndAllowThreads(__tstate);
29919 if (PyErr_Occurred()) SWIG_fail;
29920 }
29921 resultobj = SWIG_Py_Void();
29922 return resultobj;
29923 fail:
29924 return NULL;
29925 }
29926
29927
29928 SWIGINTERN PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29929 PyObject *resultobj = 0;
29930 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29931 wxPreviewControlBar *result = 0 ;
29932 void *argp1 = 0 ;
29933 int res1 = 0 ;
29934 PyObject *swig_obj[1] ;
29935
29936 if (!args) SWIG_fail;
29937 swig_obj[0] = args;
29938 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29939 if (!SWIG_IsOK(res1)) {
29940 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
29941 }
29942 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29943 {
29944 PyThreadState* __tstate = wxPyBeginAllowThreads();
29945 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
29946 wxPyEndAllowThreads(__tstate);
29947 if (PyErr_Occurred()) SWIG_fail;
29948 }
29949 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29950 return resultobj;
29951 fail:
29952 return NULL;
29953 }
29954
29955
29956 SWIGINTERN PyObject *PreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29957 PyObject *obj;
29958 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29959 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame, SWIG_NewClientData(obj));
29960 return SWIG_Py_Void();
29961 }
29962
29963 SWIGINTERN PyObject *PreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29964 return SWIG_Python_InitShadowInstance(args);
29965 }
29966
29967 SWIGINTERN PyObject *_wrap_new_PreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29968 PyObject *resultobj = 0;
29969 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29970 long arg2 ;
29971 wxWindow *arg3 = (wxWindow *) 0 ;
29972 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29973 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29974 wxSize const &arg5_defvalue = wxDefaultSize ;
29975 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29976 long arg6 = (long) wxTAB_TRAVERSAL ;
29977 wxString const &arg7_defvalue = wxPyPanelNameStr ;
29978 wxString *arg7 = (wxString *) &arg7_defvalue ;
29979 wxPreviewControlBar *result = 0 ;
29980 void *argp1 = 0 ;
29981 int res1 = 0 ;
29982 long val2 ;
29983 int ecode2 = 0 ;
29984 void *argp3 = 0 ;
29985 int res3 = 0 ;
29986 wxPoint temp4 ;
29987 wxSize temp5 ;
29988 long val6 ;
29989 int ecode6 = 0 ;
29990 bool temp7 = false ;
29991 PyObject * obj0 = 0 ;
29992 PyObject * obj1 = 0 ;
29993 PyObject * obj2 = 0 ;
29994 PyObject * obj3 = 0 ;
29995 PyObject * obj4 = 0 ;
29996 PyObject * obj5 = 0 ;
29997 PyObject * obj6 = 0 ;
29998 char * kwnames[] = {
29999 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30000 };
30001
30002 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
30003 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30004 if (!SWIG_IsOK(res1)) {
30005 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30006 }
30007 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30008 ecode2 = SWIG_AsVal_long(obj1, &val2);
30009 if (!SWIG_IsOK(ecode2)) {
30010 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
30011 }
30012 arg2 = static_cast< long >(val2);
30013 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
30014 if (!SWIG_IsOK(res3)) {
30015 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
30016 }
30017 arg3 = reinterpret_cast< wxWindow * >(argp3);
30018 if (obj3) {
30019 {
30020 arg4 = &temp4;
30021 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
30022 }
30023 }
30024 if (obj4) {
30025 {
30026 arg5 = &temp5;
30027 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
30028 }
30029 }
30030 if (obj5) {
30031 ecode6 = SWIG_AsVal_long(obj5, &val6);
30032 if (!SWIG_IsOK(ecode6)) {
30033 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
30034 }
30035 arg6 = static_cast< long >(val6);
30036 }
30037 if (obj6) {
30038 {
30039 arg7 = wxString_in_helper(obj6);
30040 if (arg7 == NULL) SWIG_fail;
30041 temp7 = true;
30042 }
30043 }
30044 {
30045 if (!wxPyCheckForApp()) SWIG_fail;
30046 PyThreadState* __tstate = wxPyBeginAllowThreads();
30047 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
30048 wxPyEndAllowThreads(__tstate);
30049 if (PyErr_Occurred()) SWIG_fail;
30050 }
30051 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_NEW | 0 );
30052 {
30053 if (temp7)
30054 delete arg7;
30055 }
30056 return resultobj;
30057 fail:
30058 {
30059 if (temp7)
30060 delete arg7;
30061 }
30062 return NULL;
30063 }
30064
30065
30066 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30067 PyObject *resultobj = 0;
30068 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
30069 int result;
30070 void *argp1 = 0 ;
30071 int res1 = 0 ;
30072 PyObject *swig_obj[1] ;
30073
30074 if (!args) SWIG_fail;
30075 swig_obj[0] = args;
30076 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30077 if (!SWIG_IsOK(res1)) {
30078 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30079 }
30080 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
30081 {
30082 PyThreadState* __tstate = wxPyBeginAllowThreads();
30083 result = (int)(arg1)->GetZoomControl();
30084 wxPyEndAllowThreads(__tstate);
30085 if (PyErr_Occurred()) SWIG_fail;
30086 }
30087 resultobj = SWIG_From_int(static_cast< int >(result));
30088 return resultobj;
30089 fail:
30090 return NULL;
30091 }
30092
30093
30094 SWIGINTERN PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30095 PyObject *resultobj = 0;
30096 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
30097 int arg2 ;
30098 void *argp1 = 0 ;
30099 int res1 = 0 ;
30100 int val2 ;
30101 int ecode2 = 0 ;
30102 PyObject * obj0 = 0 ;
30103 PyObject * obj1 = 0 ;
30104 char * kwnames[] = {
30105 (char *) "self",(char *) "zoom", NULL
30106 };
30107
30108 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
30109 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30110 if (!SWIG_IsOK(res1)) {
30111 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30112 }
30113 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
30114 ecode2 = SWIG_AsVal_int(obj1, &val2);
30115 if (!SWIG_IsOK(ecode2)) {
30116 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
30117 }
30118 arg2 = static_cast< int >(val2);
30119 {
30120 PyThreadState* __tstate = wxPyBeginAllowThreads();
30121 (arg1)->SetZoomControl(arg2);
30122 wxPyEndAllowThreads(__tstate);
30123 if (PyErr_Occurred()) SWIG_fail;
30124 }
30125 resultobj = SWIG_Py_Void();
30126 return resultobj;
30127 fail:
30128 return NULL;
30129 }
30130
30131
30132 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30133 PyObject *resultobj = 0;
30134 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
30135 wxPrintPreview *result = 0 ;
30136 void *argp1 = 0 ;
30137 int res1 = 0 ;
30138 PyObject *swig_obj[1] ;
30139
30140 if (!args) SWIG_fail;
30141 swig_obj[0] = args;
30142 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30143 if (!SWIG_IsOK(res1)) {
30144 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30145 }
30146 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
30147 {
30148 PyThreadState* __tstate = wxPyBeginAllowThreads();
30149 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
30150 wxPyEndAllowThreads(__tstate);
30151 if (PyErr_Occurred()) SWIG_fail;
30152 }
30153 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30154 return resultobj;
30155 fail:
30156 return NULL;
30157 }
30158
30159
30160 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30161 PyObject *resultobj = 0;
30162 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
30163 void *argp1 = 0 ;
30164 int res1 = 0 ;
30165 PyObject *swig_obj[1] ;
30166
30167 if (!args) SWIG_fail;
30168 swig_obj[0] = args;
30169 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30170 if (!SWIG_IsOK(res1)) {
30171 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30172 }
30173 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
30174 {
30175 PyThreadState* __tstate = wxPyBeginAllowThreads();
30176 (arg1)->OnNext();
30177 wxPyEndAllowThreads(__tstate);
30178 if (PyErr_Occurred()) SWIG_fail;
30179 }
30180 resultobj = SWIG_Py_Void();
30181 return resultobj;
30182 fail:
30183 return NULL;
30184 }
30185
30186
30187 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30188 PyObject *resultobj = 0;
30189 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
30190 void *argp1 = 0 ;
30191 int res1 = 0 ;
30192 PyObject *swig_obj[1] ;
30193
30194 if (!args) SWIG_fail;
30195 swig_obj[0] = args;
30196 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30197 if (!SWIG_IsOK(res1)) {
30198 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30199 }
30200 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
30201 {
30202 PyThreadState* __tstate = wxPyBeginAllowThreads();
30203 (arg1)->OnPrevious();
30204 wxPyEndAllowThreads(__tstate);
30205 if (PyErr_Occurred()) SWIG_fail;
30206 }
30207 resultobj = SWIG_Py_Void();
30208 return resultobj;
30209 fail:
30210 return NULL;
30211 }
30212
30213
30214 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30215 PyObject *resultobj = 0;
30216 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
30217 void *argp1 = 0 ;
30218 int res1 = 0 ;
30219 PyObject *swig_obj[1] ;
30220
30221 if (!args) SWIG_fail;
30222 swig_obj[0] = args;
30223 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30224 if (!SWIG_IsOK(res1)) {
30225 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30226 }
30227 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
30228 {
30229 PyThreadState* __tstate = wxPyBeginAllowThreads();
30230 (arg1)->OnFirst();
30231 wxPyEndAllowThreads(__tstate);
30232 if (PyErr_Occurred()) SWIG_fail;
30233 }
30234 resultobj = SWIG_Py_Void();
30235 return resultobj;
30236 fail:
30237 return NULL;
30238 }
30239
30240
30241 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnLast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30242 PyObject *resultobj = 0;
30243 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
30244 void *argp1 = 0 ;
30245 int res1 = 0 ;
30246 PyObject *swig_obj[1] ;
30247
30248 if (!args) SWIG_fail;
30249 swig_obj[0] = args;
30250 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30251 if (!SWIG_IsOK(res1)) {
30252 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30253 }
30254 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
30255 {
30256 PyThreadState* __tstate = wxPyBeginAllowThreads();
30257 (arg1)->OnLast();
30258 wxPyEndAllowThreads(__tstate);
30259 if (PyErr_Occurred()) SWIG_fail;
30260 }
30261 resultobj = SWIG_Py_Void();
30262 return resultobj;
30263 fail:
30264 return NULL;
30265 }
30266
30267
30268 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30269 PyObject *resultobj = 0;
30270 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
30271 void *argp1 = 0 ;
30272 int res1 = 0 ;
30273 PyObject *swig_obj[1] ;
30274
30275 if (!args) SWIG_fail;
30276 swig_obj[0] = args;
30277 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30278 if (!SWIG_IsOK(res1)) {
30279 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30280 }
30281 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
30282 {
30283 PyThreadState* __tstate = wxPyBeginAllowThreads();
30284 (arg1)->OnGoto();
30285 wxPyEndAllowThreads(__tstate);
30286 if (PyErr_Occurred()) SWIG_fail;
30287 }
30288 resultobj = SWIG_Py_Void();
30289 return resultobj;
30290 fail:
30291 return NULL;
30292 }
30293
30294
30295 SWIGINTERN PyObject *PreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30296 PyObject *obj;
30297 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30298 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar, SWIG_NewClientData(obj));
30299 return SWIG_Py_Void();
30300 }
30301
30302 SWIGINTERN PyObject *PreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30303 return SWIG_Python_InitShadowInstance(args);
30304 }
30305
30306 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30307 PyObject *resultobj = 0;
30308 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30309 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30310 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
30311 wxPrintPreview *result = 0 ;
30312 int res1 = 0 ;
30313 int res2 = 0 ;
30314 void *argp3 = 0 ;
30315 int res3 = 0 ;
30316
30317 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
30318 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30319 if (!SWIG_IsOK(res1)) {
30320 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30321 }
30322 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30323 if (!SWIG_IsOK(res2)) {
30324 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30325 }
30326 if (swig_obj[2]) {
30327 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
30328 if (!SWIG_IsOK(res3)) {
30329 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
30330 }
30331 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
30332 }
30333 {
30334 if (!wxPyCheckForApp()) SWIG_fail;
30335 PyThreadState* __tstate = wxPyBeginAllowThreads();
30336 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
30337 wxPyEndAllowThreads(__tstate);
30338 if (PyErr_Occurred()) SWIG_fail;
30339 }
30340 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
30341 return resultobj;
30342 fail:
30343 return NULL;
30344 }
30345
30346
30347 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30348 PyObject *resultobj = 0;
30349 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30350 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30351 wxPrintData *arg3 = (wxPrintData *) 0 ;
30352 wxPrintPreview *result = 0 ;
30353 int res1 = 0 ;
30354 int res2 = 0 ;
30355 void *argp3 = 0 ;
30356 int res3 = 0 ;
30357
30358 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
30359 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30360 if (!SWIG_IsOK(res1)) {
30361 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30362 }
30363 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30364 if (!SWIG_IsOK(res2)) {
30365 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30366 }
30367 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
30368 if (!SWIG_IsOK(res3)) {
30369 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30370 }
30371 arg3 = reinterpret_cast< wxPrintData * >(argp3);
30372 {
30373 if (!wxPyCheckForApp()) SWIG_fail;
30374 PyThreadState* __tstate = wxPyBeginAllowThreads();
30375 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
30376 wxPyEndAllowThreads(__tstate);
30377 if (PyErr_Occurred()) SWIG_fail;
30378 }
30379 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
30380 return resultobj;
30381 fail:
30382 return NULL;
30383 }
30384
30385
30386 SWIGINTERN PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
30387 int argc;
30388 PyObject *argv[4];
30389
30390 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintPreview",0,3,argv))) SWIG_fail;
30391 --argc;
30392 if ((argc >= 2) && (argc <= 3)) {
30393 int _v = 0;
30394 if (argc > 2) {
30395 {
30396 void *vptr = 0;
30397 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
30398 _v = SWIG_CheckState(res);
30399 }
30400 if (!_v) goto check_1;
30401 }
30402 return _wrap_new_PrintPreview__SWIG_0(self, argc, argv);
30403 }
30404 check_1:
30405
30406 if (argc == 3) {
30407 return _wrap_new_PrintPreview__SWIG_1(self, argc, argv);
30408 }
30409
30410 fail:
30411 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
30412 return NULL;
30413 }
30414
30415
30416 SWIGINTERN PyObject *_wrap_delete_PrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30417 PyObject *resultobj = 0;
30418 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30419 void *argp1 = 0 ;
30420 int res1 = 0 ;
30421 PyObject *swig_obj[1] ;
30422
30423 if (!args) SWIG_fail;
30424 swig_obj[0] = args;
30425 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
30426 if (!SWIG_IsOK(res1)) {
30427 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30428 }
30429 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30430 {
30431 PyThreadState* __tstate = wxPyBeginAllowThreads();
30432 delete arg1;
30433
30434 wxPyEndAllowThreads(__tstate);
30435 if (PyErr_Occurred()) SWIG_fail;
30436 }
30437 resultobj = SWIG_Py_Void();
30438 return resultobj;
30439 fail:
30440 return NULL;
30441 }
30442
30443
30444 SWIGINTERN PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30445 PyObject *resultobj = 0;
30446 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30447 int arg2 ;
30448 bool result;
30449 void *argp1 = 0 ;
30450 int res1 = 0 ;
30451 int val2 ;
30452 int ecode2 = 0 ;
30453 PyObject * obj0 = 0 ;
30454 PyObject * obj1 = 0 ;
30455 char * kwnames[] = {
30456 (char *) "self",(char *) "pageNum", NULL
30457 };
30458
30459 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) SWIG_fail;
30460 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30461 if (!SWIG_IsOK(res1)) {
30462 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30463 }
30464 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30465 ecode2 = SWIG_AsVal_int(obj1, &val2);
30466 if (!SWIG_IsOK(ecode2)) {
30467 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
30468 }
30469 arg2 = static_cast< int >(val2);
30470 {
30471 PyThreadState* __tstate = wxPyBeginAllowThreads();
30472 result = (bool)(arg1)->SetCurrentPage(arg2);
30473 wxPyEndAllowThreads(__tstate);
30474 if (PyErr_Occurred()) SWIG_fail;
30475 }
30476 {
30477 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30478 }
30479 return resultobj;
30480 fail:
30481 return NULL;
30482 }
30483
30484
30485 SWIGINTERN PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30486 PyObject *resultobj = 0;
30487 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30488 int result;
30489 void *argp1 = 0 ;
30490 int res1 = 0 ;
30491 PyObject *swig_obj[1] ;
30492
30493 if (!args) SWIG_fail;
30494 swig_obj[0] = args;
30495 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30496 if (!SWIG_IsOK(res1)) {
30497 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30498 }
30499 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30500 {
30501 PyThreadState* __tstate = wxPyBeginAllowThreads();
30502 result = (int)(arg1)->GetCurrentPage();
30503 wxPyEndAllowThreads(__tstate);
30504 if (PyErr_Occurred()) SWIG_fail;
30505 }
30506 resultobj = SWIG_From_int(static_cast< int >(result));
30507 return resultobj;
30508 fail:
30509 return NULL;
30510 }
30511
30512
30513 SWIGINTERN PyObject *_wrap_PrintPreview_SetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30514 PyObject *resultobj = 0;
30515 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30516 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30517 void *argp1 = 0 ;
30518 int res1 = 0 ;
30519 int res2 = 0 ;
30520 PyObject * obj0 = 0 ;
30521 PyObject * obj1 = 0 ;
30522 char * kwnames[] = {
30523 (char *) "self",(char *) "printout", NULL
30524 };
30525
30526 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) SWIG_fail;
30527 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30528 if (!SWIG_IsOK(res1)) {
30529 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30530 }
30531 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30532 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30533 if (!SWIG_IsOK(res2)) {
30534 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30535 }
30536 {
30537 PyThreadState* __tstate = wxPyBeginAllowThreads();
30538 (arg1)->SetPrintout(arg2);
30539 wxPyEndAllowThreads(__tstate);
30540 if (PyErr_Occurred()) SWIG_fail;
30541 }
30542 resultobj = SWIG_Py_Void();
30543 return resultobj;
30544 fail:
30545 return NULL;
30546 }
30547
30548
30549 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30550 PyObject *resultobj = 0;
30551 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30552 wxPyPrintout *result = 0 ;
30553 void *argp1 = 0 ;
30554 int res1 = 0 ;
30555 PyObject *swig_obj[1] ;
30556
30557 if (!args) SWIG_fail;
30558 swig_obj[0] = args;
30559 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30560 if (!SWIG_IsOK(res1)) {
30561 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30562 }
30563 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30564 {
30565 PyThreadState* __tstate = wxPyBeginAllowThreads();
30566 result = (wxPyPrintout *)(arg1)->GetPrintout();
30567 wxPyEndAllowThreads(__tstate);
30568 if (PyErr_Occurred()) SWIG_fail;
30569 }
30570 {
30571 resultobj = wxPyMake_wxObject(result, 0);
30572 }
30573 return resultobj;
30574 fail:
30575 return NULL;
30576 }
30577
30578
30579 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30580 PyObject *resultobj = 0;
30581 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30582 wxPyPrintout *result = 0 ;
30583 void *argp1 = 0 ;
30584 int res1 = 0 ;
30585 PyObject *swig_obj[1] ;
30586
30587 if (!args) SWIG_fail;
30588 swig_obj[0] = args;
30589 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30590 if (!SWIG_IsOK(res1)) {
30591 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30592 }
30593 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30594 {
30595 PyThreadState* __tstate = wxPyBeginAllowThreads();
30596 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
30597 wxPyEndAllowThreads(__tstate);
30598 if (PyErr_Occurred()) SWIG_fail;
30599 }
30600 {
30601 resultobj = wxPyMake_wxObject(result, 0);
30602 }
30603 return resultobj;
30604 fail:
30605 return NULL;
30606 }
30607
30608
30609 SWIGINTERN PyObject *_wrap_PrintPreview_SetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30610 PyObject *resultobj = 0;
30611 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30612 wxFrame *arg2 = (wxFrame *) 0 ;
30613 void *argp1 = 0 ;
30614 int res1 = 0 ;
30615 void *argp2 = 0 ;
30616 int res2 = 0 ;
30617 PyObject * obj0 = 0 ;
30618 PyObject * obj1 = 0 ;
30619 char * kwnames[] = {
30620 (char *) "self",(char *) "frame", NULL
30621 };
30622
30623 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) SWIG_fail;
30624 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30625 if (!SWIG_IsOK(res1)) {
30626 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30627 }
30628 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30629 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
30630 if (!SWIG_IsOK(res2)) {
30631 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30632 }
30633 arg2 = reinterpret_cast< wxFrame * >(argp2);
30634 {
30635 PyThreadState* __tstate = wxPyBeginAllowThreads();
30636 (arg1)->SetFrame(arg2);
30637 wxPyEndAllowThreads(__tstate);
30638 if (PyErr_Occurred()) SWIG_fail;
30639 }
30640 resultobj = SWIG_Py_Void();
30641 return resultobj;
30642 fail:
30643 return NULL;
30644 }
30645
30646
30647 SWIGINTERN PyObject *_wrap_PrintPreview_SetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30648 PyObject *resultobj = 0;
30649 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30650 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30651 void *argp1 = 0 ;
30652 int res1 = 0 ;
30653 void *argp2 = 0 ;
30654 int res2 = 0 ;
30655 PyObject * obj0 = 0 ;
30656 PyObject * obj1 = 0 ;
30657 char * kwnames[] = {
30658 (char *) "self",(char *) "canvas", NULL
30659 };
30660
30661 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
30662 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30663 if (!SWIG_IsOK(res1)) {
30664 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30665 }
30666 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30667 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30668 if (!SWIG_IsOK(res2)) {
30669 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30670 }
30671 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30672 {
30673 PyThreadState* __tstate = wxPyBeginAllowThreads();
30674 (arg1)->SetCanvas(arg2);
30675 wxPyEndAllowThreads(__tstate);
30676 if (PyErr_Occurred()) SWIG_fail;
30677 }
30678 resultobj = SWIG_Py_Void();
30679 return resultobj;
30680 fail:
30681 return NULL;
30682 }
30683
30684
30685 SWIGINTERN PyObject *_wrap_PrintPreview_GetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30686 PyObject *resultobj = 0;
30687 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30688 wxFrame *result = 0 ;
30689 void *argp1 = 0 ;
30690 int res1 = 0 ;
30691 PyObject *swig_obj[1] ;
30692
30693 if (!args) SWIG_fail;
30694 swig_obj[0] = args;
30695 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30696 if (!SWIG_IsOK(res1)) {
30697 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30698 }
30699 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30700 {
30701 PyThreadState* __tstate = wxPyBeginAllowThreads();
30702 result = (wxFrame *)(arg1)->GetFrame();
30703 wxPyEndAllowThreads(__tstate);
30704 if (PyErr_Occurred()) SWIG_fail;
30705 }
30706 {
30707 resultobj = wxPyMake_wxObject(result, 0);
30708 }
30709 return resultobj;
30710 fail:
30711 return NULL;
30712 }
30713
30714
30715 SWIGINTERN PyObject *_wrap_PrintPreview_GetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30716 PyObject *resultobj = 0;
30717 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30718 wxPreviewCanvas *result = 0 ;
30719 void *argp1 = 0 ;
30720 int res1 = 0 ;
30721 PyObject *swig_obj[1] ;
30722
30723 if (!args) SWIG_fail;
30724 swig_obj[0] = args;
30725 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30726 if (!SWIG_IsOK(res1)) {
30727 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30728 }
30729 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30730 {
30731 PyThreadState* __tstate = wxPyBeginAllowThreads();
30732 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
30733 wxPyEndAllowThreads(__tstate);
30734 if (PyErr_Occurred()) SWIG_fail;
30735 }
30736 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30737 return resultobj;
30738 fail:
30739 return NULL;
30740 }
30741
30742
30743 SWIGINTERN PyObject *_wrap_PrintPreview_PaintPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30744 PyObject *resultobj = 0;
30745 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30746 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30747 wxDC *arg3 = 0 ;
30748 bool result;
30749 void *argp1 = 0 ;
30750 int res1 = 0 ;
30751 void *argp2 = 0 ;
30752 int res2 = 0 ;
30753 void *argp3 = 0 ;
30754 int res3 = 0 ;
30755 PyObject * obj0 = 0 ;
30756 PyObject * obj1 = 0 ;
30757 PyObject * obj2 = 0 ;
30758 char * kwnames[] = {
30759 (char *) "self",(char *) "canvas",(char *) "dc", NULL
30760 };
30761
30762 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30763 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30764 if (!SWIG_IsOK(res1)) {
30765 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30766 }
30767 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30768 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30769 if (!SWIG_IsOK(res2)) {
30770 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30771 }
30772 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30773 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
30774 if (!SWIG_IsOK(res3)) {
30775 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
30776 }
30777 if (!argp3) {
30778 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
30779 }
30780 arg3 = reinterpret_cast< wxDC * >(argp3);
30781 {
30782 PyThreadState* __tstate = wxPyBeginAllowThreads();
30783 result = (bool)(arg1)->PaintPage(arg2,*arg3);
30784 wxPyEndAllowThreads(__tstate);
30785 if (PyErr_Occurred()) SWIG_fail;
30786 }
30787 {
30788 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30789 }
30790 return resultobj;
30791 fail:
30792 return NULL;
30793 }
30794
30795
30796 SWIGINTERN PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30797 PyObject *resultobj = 0;
30798 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30799 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30800 wxDC *arg3 = 0 ;
30801 bool result;
30802 void *argp1 = 0 ;
30803 int res1 = 0 ;
30804 void *argp2 = 0 ;
30805 int res2 = 0 ;
30806 void *argp3 = 0 ;
30807 int res3 = 0 ;
30808 PyObject * obj0 = 0 ;
30809 PyObject * obj1 = 0 ;
30810 PyObject * obj2 = 0 ;
30811 char * kwnames[] = {
30812 (char *) "self",(char *) "canvas",(char *) "dc", NULL
30813 };
30814
30815 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30816 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30817 if (!SWIG_IsOK(res1)) {
30818 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30819 }
30820 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30821 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30822 if (!SWIG_IsOK(res2)) {
30823 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30824 }
30825 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30826 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
30827 if (!SWIG_IsOK(res3)) {
30828 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30829 }
30830 if (!argp3) {
30831 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30832 }
30833 arg3 = reinterpret_cast< wxDC * >(argp3);
30834 {
30835 PyThreadState* __tstate = wxPyBeginAllowThreads();
30836 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
30837 wxPyEndAllowThreads(__tstate);
30838 if (PyErr_Occurred()) SWIG_fail;
30839 }
30840 {
30841 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30842 }
30843 return resultobj;
30844 fail:
30845 return NULL;
30846 }
30847
30848
30849 SWIGINTERN PyObject *_wrap_PrintPreview_RenderPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30850 PyObject *resultobj = 0;
30851 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30852 int arg2 ;
30853 bool result;
30854 void *argp1 = 0 ;
30855 int res1 = 0 ;
30856 int val2 ;
30857 int ecode2 = 0 ;
30858 PyObject * obj0 = 0 ;
30859 PyObject * obj1 = 0 ;
30860 char * kwnames[] = {
30861 (char *) "self",(char *) "pageNum", NULL
30862 };
30863
30864 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) SWIG_fail;
30865 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30866 if (!SWIG_IsOK(res1)) {
30867 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30868 }
30869 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30870 ecode2 = SWIG_AsVal_int(obj1, &val2);
30871 if (!SWIG_IsOK(ecode2)) {
30872 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
30873 }
30874 arg2 = static_cast< int >(val2);
30875 {
30876 PyThreadState* __tstate = wxPyBeginAllowThreads();
30877 result = (bool)(arg1)->RenderPage(arg2);
30878 wxPyEndAllowThreads(__tstate);
30879 if (PyErr_Occurred()) SWIG_fail;
30880 }
30881 {
30882 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30883 }
30884 return resultobj;
30885 fail:
30886 return NULL;
30887 }
30888
30889
30890 SWIGINTERN PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30891 PyObject *resultobj = 0;
30892 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30893 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30894 void *argp1 = 0 ;
30895 int res1 = 0 ;
30896 void *argp2 = 0 ;
30897 int res2 = 0 ;
30898 PyObject * obj0 = 0 ;
30899 PyObject * obj1 = 0 ;
30900 char * kwnames[] = {
30901 (char *) "self",(char *) "canvas", NULL
30902 };
30903
30904 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) SWIG_fail;
30905 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30906 if (!SWIG_IsOK(res1)) {
30907 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30908 }
30909 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30910 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30911 if (!SWIG_IsOK(res2)) {
30912 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30913 }
30914 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30915 {
30916 PyThreadState* __tstate = wxPyBeginAllowThreads();
30917 (arg1)->AdjustScrollbars(arg2);
30918 wxPyEndAllowThreads(__tstate);
30919 if (PyErr_Occurred()) SWIG_fail;
30920 }
30921 resultobj = SWIG_Py_Void();
30922 return resultobj;
30923 fail:
30924 return NULL;
30925 }
30926
30927
30928 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30929 PyObject *resultobj = 0;
30930 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30931 wxPrintDialogData *result = 0 ;
30932 void *argp1 = 0 ;
30933 int res1 = 0 ;
30934 PyObject *swig_obj[1] ;
30935
30936 if (!args) SWIG_fail;
30937 swig_obj[0] = args;
30938 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30939 if (!SWIG_IsOK(res1)) {
30940 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30941 }
30942 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30943 {
30944 PyThreadState* __tstate = wxPyBeginAllowThreads();
30945 {
30946 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
30947 result = (wxPrintDialogData *) &_result_ref;
30948 }
30949 wxPyEndAllowThreads(__tstate);
30950 if (PyErr_Occurred()) SWIG_fail;
30951 }
30952 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
30953 return resultobj;
30954 fail:
30955 return NULL;
30956 }
30957
30958
30959 SWIGINTERN PyObject *_wrap_PrintPreview_SetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30960 PyObject *resultobj = 0;
30961 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30962 int arg2 ;
30963 void *argp1 = 0 ;
30964 int res1 = 0 ;
30965 int val2 ;
30966 int ecode2 = 0 ;
30967 PyObject * obj0 = 0 ;
30968 PyObject * obj1 = 0 ;
30969 char * kwnames[] = {
30970 (char *) "self",(char *) "percent", NULL
30971 };
30972
30973 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) SWIG_fail;
30974 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30975 if (!SWIG_IsOK(res1)) {
30976 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30977 }
30978 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30979 ecode2 = SWIG_AsVal_int(obj1, &val2);
30980 if (!SWIG_IsOK(ecode2)) {
30981 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
30982 }
30983 arg2 = static_cast< int >(val2);
30984 {
30985 PyThreadState* __tstate = wxPyBeginAllowThreads();
30986 (arg1)->SetZoom(arg2);
30987 wxPyEndAllowThreads(__tstate);
30988 if (PyErr_Occurred()) SWIG_fail;
30989 }
30990 resultobj = SWIG_Py_Void();
30991 return resultobj;
30992 fail:
30993 return NULL;
30994 }
30995
30996
30997 SWIGINTERN PyObject *_wrap_PrintPreview_GetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30998 PyObject *resultobj = 0;
30999 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
31000 int result;
31001 void *argp1 = 0 ;
31002 int res1 = 0 ;
31003 PyObject *swig_obj[1] ;
31004
31005 if (!args) SWIG_fail;
31006 swig_obj[0] = args;
31007 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
31008 if (!SWIG_IsOK(res1)) {
31009 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31010 }
31011 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
31012 {
31013 PyThreadState* __tstate = wxPyBeginAllowThreads();
31014 result = (int)(arg1)->GetZoom();
31015 wxPyEndAllowThreads(__tstate);
31016 if (PyErr_Occurred()) SWIG_fail;
31017 }
31018 resultobj = SWIG_From_int(static_cast< int >(result));
31019 return resultobj;
31020 fail:
31021 return NULL;
31022 }
31023
31024
31025 SWIGINTERN PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31026 PyObject *resultobj = 0;
31027 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
31028 int result;
31029 void *argp1 = 0 ;
31030 int res1 = 0 ;
31031 PyObject *swig_obj[1] ;
31032
31033 if (!args) SWIG_fail;
31034 swig_obj[0] = args;
31035 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
31036 if (!SWIG_IsOK(res1)) {
31037 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31038 }
31039 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
31040 {
31041 PyThreadState* __tstate = wxPyBeginAllowThreads();
31042 result = (int)(arg1)->GetMaxPage();
31043 wxPyEndAllowThreads(__tstate);
31044 if (PyErr_Occurred()) SWIG_fail;
31045 }
31046 resultobj = SWIG_From_int(static_cast< int >(result));
31047 return resultobj;
31048 fail:
31049 return NULL;
31050 }
31051
31052
31053 SWIGINTERN PyObject *_wrap_PrintPreview_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31054 PyObject *resultobj = 0;
31055 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
31056 int result;
31057 void *argp1 = 0 ;
31058 int res1 = 0 ;
31059 PyObject *swig_obj[1] ;
31060
31061 if (!args) SWIG_fail;
31062 swig_obj[0] = args;
31063 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
31064 if (!SWIG_IsOK(res1)) {
31065 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31066 }
31067 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
31068 {
31069 PyThreadState* __tstate = wxPyBeginAllowThreads();
31070 result = (int)(arg1)->GetMinPage();
31071 wxPyEndAllowThreads(__tstate);
31072 if (PyErr_Occurred()) SWIG_fail;
31073 }
31074 resultobj = SWIG_From_int(static_cast< int >(result));
31075 return resultobj;
31076 fail:
31077 return NULL;
31078 }
31079
31080
31081 SWIGINTERN PyObject *_wrap_PrintPreview_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31082 PyObject *resultobj = 0;
31083 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
31084 bool result;
31085 void *argp1 = 0 ;
31086 int res1 = 0 ;
31087 PyObject *swig_obj[1] ;
31088
31089 if (!args) SWIG_fail;
31090 swig_obj[0] = args;
31091 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
31092 if (!SWIG_IsOK(res1)) {
31093 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_IsOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31094 }
31095 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
31096 {
31097 PyThreadState* __tstate = wxPyBeginAllowThreads();
31098 result = (bool)(arg1)->IsOk();
31099 wxPyEndAllowThreads(__tstate);
31100 if (PyErr_Occurred()) SWIG_fail;
31101 }
31102 {
31103 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31104 }
31105 return resultobj;
31106 fail:
31107 return NULL;
31108 }
31109
31110
31111 SWIGINTERN PyObject *_wrap_PrintPreview_SetOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31112 PyObject *resultobj = 0;
31113 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
31114 bool arg2 ;
31115 void *argp1 = 0 ;
31116 int res1 = 0 ;
31117 bool val2 ;
31118 int ecode2 = 0 ;
31119 PyObject * obj0 = 0 ;
31120 PyObject * obj1 = 0 ;
31121 char * kwnames[] = {
31122 (char *) "self",(char *) "ok", NULL
31123 };
31124
31125 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) SWIG_fail;
31126 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
31127 if (!SWIG_IsOK(res1)) {
31128 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31129 }
31130 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
31131 ecode2 = SWIG_AsVal_bool(obj1, &val2);
31132 if (!SWIG_IsOK(ecode2)) {
31133 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
31134 }
31135 arg2 = static_cast< bool >(val2);
31136 {
31137 PyThreadState* __tstate = wxPyBeginAllowThreads();
31138 (arg1)->SetOk(arg2);
31139 wxPyEndAllowThreads(__tstate);
31140 if (PyErr_Occurred()) SWIG_fail;
31141 }
31142 resultobj = SWIG_Py_Void();
31143 return resultobj;
31144 fail:
31145 return NULL;
31146 }
31147
31148
31149 SWIGINTERN PyObject *_wrap_PrintPreview_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31150 PyObject *resultobj = 0;
31151 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
31152 bool arg2 ;
31153 bool result;
31154 void *argp1 = 0 ;
31155 int res1 = 0 ;
31156 bool val2 ;
31157 int ecode2 = 0 ;
31158 PyObject * obj0 = 0 ;
31159 PyObject * obj1 = 0 ;
31160 char * kwnames[] = {
31161 (char *) "self",(char *) "interactive", NULL
31162 };
31163
31164 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) SWIG_fail;
31165 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
31166 if (!SWIG_IsOK(res1)) {
31167 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31168 }
31169 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
31170 ecode2 = SWIG_AsVal_bool(obj1, &val2);
31171 if (!SWIG_IsOK(ecode2)) {
31172 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
31173 }
31174 arg2 = static_cast< bool >(val2);
31175 {
31176 PyThreadState* __tstate = wxPyBeginAllowThreads();
31177 result = (bool)(arg1)->Print(arg2);
31178 wxPyEndAllowThreads(__tstate);
31179 if (PyErr_Occurred()) SWIG_fail;
31180 }
31181 {
31182 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31183 }
31184 return resultobj;
31185 fail:
31186 return NULL;
31187 }
31188
31189
31190 SWIGINTERN PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31191 PyObject *resultobj = 0;
31192 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
31193 void *argp1 = 0 ;
31194 int res1 = 0 ;
31195 PyObject *swig_obj[1] ;
31196
31197 if (!args) SWIG_fail;
31198 swig_obj[0] = args;
31199 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
31200 if (!SWIG_IsOK(res1)) {
31201 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31202 }
31203 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
31204 {
31205 PyThreadState* __tstate = wxPyBeginAllowThreads();
31206 (arg1)->DetermineScaling();
31207 wxPyEndAllowThreads(__tstate);
31208 if (PyErr_Occurred()) SWIG_fail;
31209 }
31210 resultobj = SWIG_Py_Void();
31211 return resultobj;
31212 fail:
31213 return NULL;
31214 }
31215
31216
31217 SWIGINTERN PyObject *PrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31218 PyObject *obj;
31219 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31220 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview, SWIG_NewClientData(obj));
31221 return SWIG_Py_Void();
31222 }
31223
31224 SWIGINTERN PyObject *PrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31225 return SWIG_Python_InitShadowInstance(args);
31226 }
31227
31228 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
31229 PyObject *resultobj = 0;
31230 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31231 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
31232 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
31233 wxPyPrintPreview *result = 0 ;
31234 int res1 = 0 ;
31235 int res2 = 0 ;
31236 void *argp3 = 0 ;
31237 int res3 = 0 ;
31238
31239 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
31240 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
31241 if (!SWIG_IsOK(res1)) {
31242 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31243 }
31244 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
31245 if (!SWIG_IsOK(res2)) {
31246 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
31247 }
31248 if (swig_obj[2]) {
31249 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
31250 if (!SWIG_IsOK(res3)) {
31251 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
31252 }
31253 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
31254 }
31255 {
31256 if (!wxPyCheckForApp()) SWIG_fail;
31257 PyThreadState* __tstate = wxPyBeginAllowThreads();
31258 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
31259 wxPyEndAllowThreads(__tstate);
31260 if (PyErr_Occurred()) SWIG_fail;
31261 }
31262 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
31263 return resultobj;
31264 fail:
31265 return NULL;
31266 }
31267
31268
31269 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
31270 PyObject *resultobj = 0;
31271 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31272 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
31273 wxPrintData *arg3 = (wxPrintData *) 0 ;
31274 wxPyPrintPreview *result = 0 ;
31275 int res1 = 0 ;
31276 int res2 = 0 ;
31277 void *argp3 = 0 ;
31278 int res3 = 0 ;
31279
31280 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
31281 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
31282 if (!SWIG_IsOK(res1)) {
31283 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31284 }
31285 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
31286 if (!SWIG_IsOK(res2)) {
31287 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
31288 }
31289 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
31290 if (!SWIG_IsOK(res3)) {
31291 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
31292 }
31293 arg3 = reinterpret_cast< wxPrintData * >(argp3);
31294 {
31295 if (!wxPyCheckForApp()) SWIG_fail;
31296 PyThreadState* __tstate = wxPyBeginAllowThreads();
31297 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
31298 wxPyEndAllowThreads(__tstate);
31299 if (PyErr_Occurred()) SWIG_fail;
31300 }
31301 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
31302 return resultobj;
31303 fail:
31304 return NULL;
31305 }
31306
31307
31308 SWIGINTERN PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
31309 int argc;
31310 PyObject *argv[4];
31311
31312 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PyPrintPreview",0,3,argv))) SWIG_fail;
31313 --argc;
31314 if ((argc >= 2) && (argc <= 3)) {
31315 int _v = 0;
31316 if (argc > 2) {
31317 {
31318 void *vptr = 0;
31319 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
31320 _v = SWIG_CheckState(res);
31321 }
31322 if (!_v) goto check_1;
31323 }
31324 return _wrap_new_PyPrintPreview__SWIG_0(self, argc, argv);
31325 }
31326 check_1:
31327
31328 if (argc == 3) {
31329 return _wrap_new_PyPrintPreview__SWIG_1(self, argc, argv);
31330 }
31331
31332 fail:
31333 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
31334 return NULL;
31335 }
31336
31337
31338 SWIGINTERN PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31339 PyObject *resultobj = 0;
31340 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
31341 PyObject *arg2 = (PyObject *) 0 ;
31342 PyObject *arg3 = (PyObject *) 0 ;
31343 void *argp1 = 0 ;
31344 int res1 = 0 ;
31345 PyObject * obj0 = 0 ;
31346 PyObject * obj1 = 0 ;
31347 PyObject * obj2 = 0 ;
31348 char * kwnames[] = {
31349 (char *) "self",(char *) "self",(char *) "_class", NULL
31350 };
31351
31352 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31353 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintPreview, 0 | 0 );
31354 if (!SWIG_IsOK(res1)) {
31355 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
31356 }
31357 arg1 = reinterpret_cast< wxPyPrintPreview * >(argp1);
31358 arg2 = obj1;
31359 arg3 = obj2;
31360 {
31361 PyThreadState* __tstate = wxPyBeginAllowThreads();
31362 (arg1)->_setCallbackInfo(arg2,arg3);
31363 wxPyEndAllowThreads(__tstate);
31364 if (PyErr_Occurred()) SWIG_fail;
31365 }
31366 resultobj = SWIG_Py_Void();
31367 return resultobj;
31368 fail:
31369 return NULL;
31370 }
31371
31372
31373 SWIGINTERN PyObject *PyPrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31374 PyObject *obj;
31375 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31376 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview, SWIG_NewClientData(obj));
31377 return SWIG_Py_Void();
31378 }
31379
31380 SWIGINTERN PyObject *PyPrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31381 return SWIG_Python_InitShadowInstance(args);
31382 }
31383
31384 SWIGINTERN PyObject *_wrap_new_PyPreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31385 PyObject *resultobj = 0;
31386 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
31387 wxFrame *arg2 = (wxFrame *) 0 ;
31388 wxString *arg3 = 0 ;
31389 wxPoint const &arg4_defvalue = wxDefaultPosition ;
31390 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
31391 wxSize const &arg5_defvalue = wxDefaultSize ;
31392 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
31393 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
31394 wxString const &arg7_defvalue = wxPyFrameNameStr ;
31395 wxString *arg7 = (wxString *) &arg7_defvalue ;
31396 wxPyPreviewFrame *result = 0 ;
31397 int res1 = 0 ;
31398 void *argp2 = 0 ;
31399 int res2 = 0 ;
31400 bool temp3 = false ;
31401 wxPoint temp4 ;
31402 wxSize temp5 ;
31403 long val6 ;
31404 int ecode6 = 0 ;
31405 bool temp7 = false ;
31406 PyObject * obj0 = 0 ;
31407 PyObject * obj1 = 0 ;
31408 PyObject * obj2 = 0 ;
31409 PyObject * obj3 = 0 ;
31410 PyObject * obj4 = 0 ;
31411 PyObject * obj5 = 0 ;
31412 PyObject * obj6 = 0 ;
31413 char * kwnames[] = {
31414 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31415 };
31416
31417 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
31418 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
31419 if (!SWIG_IsOK(res1)) {
31420 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31421 }
31422 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
31423 if (!SWIG_IsOK(res2)) {
31424 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
31425 }
31426 arg2 = reinterpret_cast< wxFrame * >(argp2);
31427 {
31428 arg3 = wxString_in_helper(obj2);
31429 if (arg3 == NULL) SWIG_fail;
31430 temp3 = true;
31431 }
31432 if (obj3) {
31433 {
31434 arg4 = &temp4;
31435 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
31436 }
31437 }
31438 if (obj4) {
31439 {
31440 arg5 = &temp5;
31441 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
31442 }
31443 }
31444 if (obj5) {
31445 ecode6 = SWIG_AsVal_long(obj5, &val6);
31446 if (!SWIG_IsOK(ecode6)) {
31447 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
31448 }
31449 arg6 = static_cast< long >(val6);
31450 }
31451 if (obj6) {
31452 {
31453 arg7 = wxString_in_helper(obj6);
31454 if (arg7 == NULL) SWIG_fail;
31455 temp7 = true;
31456 }
31457 }
31458 {
31459 if (!wxPyCheckForApp()) SWIG_fail;
31460 PyThreadState* __tstate = wxPyBeginAllowThreads();
31461 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
31462 wxPyEndAllowThreads(__tstate);
31463 if (PyErr_Occurred()) SWIG_fail;
31464 }
31465 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_NEW | 0 );
31466 {
31467 if (temp3)
31468 delete arg3;
31469 }
31470 {
31471 if (temp7)
31472 delete arg7;
31473 }
31474 return resultobj;
31475 fail:
31476 {
31477 if (temp3)
31478 delete arg3;
31479 }
31480 {
31481 if (temp7)
31482 delete arg7;
31483 }
31484 return NULL;
31485 }
31486
31487
31488 SWIGINTERN PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31489 PyObject *resultobj = 0;
31490 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31491 PyObject *arg2 = (PyObject *) 0 ;
31492 PyObject *arg3 = (PyObject *) 0 ;
31493 void *argp1 = 0 ;
31494 int res1 = 0 ;
31495 PyObject * obj0 = 0 ;
31496 PyObject * obj1 = 0 ;
31497 PyObject * obj2 = 0 ;
31498 char * kwnames[] = {
31499 (char *) "self",(char *) "self",(char *) "_class", NULL
31500 };
31501
31502 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31503 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31504 if (!SWIG_IsOK(res1)) {
31505 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31506 }
31507 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31508 arg2 = obj1;
31509 arg3 = obj2;
31510 {
31511 PyThreadState* __tstate = wxPyBeginAllowThreads();
31512 (arg1)->_setCallbackInfo(arg2,arg3);
31513 wxPyEndAllowThreads(__tstate);
31514 if (PyErr_Occurred()) SWIG_fail;
31515 }
31516 resultobj = SWIG_Py_Void();
31517 return resultobj;
31518 fail:
31519 return NULL;
31520 }
31521
31522
31523 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31524 PyObject *resultobj = 0;
31525 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31526 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
31527 void *argp1 = 0 ;
31528 int res1 = 0 ;
31529 void *argp2 = 0 ;
31530 int res2 = 0 ;
31531 PyObject * obj0 = 0 ;
31532 PyObject * obj1 = 0 ;
31533 char * kwnames[] = {
31534 (char *) "self",(char *) "canvas", NULL
31535 };
31536
31537 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
31538 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31539 if (!SWIG_IsOK(res1)) {
31540 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31541 }
31542 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31543 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
31544 if (!SWIG_IsOK(res2)) {
31545 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
31546 }
31547 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
31548 {
31549 PyThreadState* __tstate = wxPyBeginAllowThreads();
31550 (arg1)->SetPreviewCanvas(arg2);
31551 wxPyEndAllowThreads(__tstate);
31552 if (PyErr_Occurred()) SWIG_fail;
31553 }
31554 resultobj = SWIG_Py_Void();
31555 return resultobj;
31556 fail:
31557 return NULL;
31558 }
31559
31560
31561 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31562 PyObject *resultobj = 0;
31563 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31564 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
31565 void *argp1 = 0 ;
31566 int res1 = 0 ;
31567 void *argp2 = 0 ;
31568 int res2 = 0 ;
31569 PyObject * obj0 = 0 ;
31570 PyObject * obj1 = 0 ;
31571 char * kwnames[] = {
31572 (char *) "self",(char *) "bar", NULL
31573 };
31574
31575 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) SWIG_fail;
31576 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31577 if (!SWIG_IsOK(res1)) {
31578 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31579 }
31580 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31581 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
31582 if (!SWIG_IsOK(res2)) {
31583 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
31584 }
31585 arg2 = reinterpret_cast< wxPreviewControlBar * >(argp2);
31586 {
31587 PyThreadState* __tstate = wxPyBeginAllowThreads();
31588 (arg1)->SetControlBar(arg2);
31589 wxPyEndAllowThreads(__tstate);
31590 if (PyErr_Occurred()) SWIG_fail;
31591 }
31592 resultobj = SWIG_Py_Void();
31593 return resultobj;
31594 fail:
31595 return NULL;
31596 }
31597
31598
31599 SWIGINTERN PyObject *_wrap_PyPreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31600 PyObject *resultobj = 0;
31601 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31602 void *argp1 = 0 ;
31603 int res1 = 0 ;
31604 PyObject *swig_obj[1] ;
31605
31606 if (!args) SWIG_fail;
31607 swig_obj[0] = args;
31608 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31609 if (!SWIG_IsOK(res1)) {
31610 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31611 }
31612 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31613 {
31614 PyThreadState* __tstate = wxPyBeginAllowThreads();
31615 (arg1)->Initialize();
31616 wxPyEndAllowThreads(__tstate);
31617 if (PyErr_Occurred()) SWIG_fail;
31618 }
31619 resultobj = SWIG_Py_Void();
31620 return resultobj;
31621 fail:
31622 return NULL;
31623 }
31624
31625
31626 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31627 PyObject *resultobj = 0;
31628 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31629 void *argp1 = 0 ;
31630 int res1 = 0 ;
31631 PyObject *swig_obj[1] ;
31632
31633 if (!args) SWIG_fail;
31634 swig_obj[0] = args;
31635 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31636 if (!SWIG_IsOK(res1)) {
31637 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31638 }
31639 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31640 {
31641 PyThreadState* __tstate = wxPyBeginAllowThreads();
31642 (arg1)->CreateCanvas();
31643 wxPyEndAllowThreads(__tstate);
31644 if (PyErr_Occurred()) SWIG_fail;
31645 }
31646 resultobj = SWIG_Py_Void();
31647 return resultobj;
31648 fail:
31649 return NULL;
31650 }
31651
31652
31653 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31654 PyObject *resultobj = 0;
31655 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31656 void *argp1 = 0 ;
31657 int res1 = 0 ;
31658 PyObject *swig_obj[1] ;
31659
31660 if (!args) SWIG_fail;
31661 swig_obj[0] = args;
31662 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31663 if (!SWIG_IsOK(res1)) {
31664 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31665 }
31666 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31667 {
31668 PyThreadState* __tstate = wxPyBeginAllowThreads();
31669 (arg1)->CreateControlBar();
31670 wxPyEndAllowThreads(__tstate);
31671 if (PyErr_Occurred()) SWIG_fail;
31672 }
31673 resultobj = SWIG_Py_Void();
31674 return resultobj;
31675 fail:
31676 return NULL;
31677 }
31678
31679
31680 SWIGINTERN PyObject *PyPreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31681 PyObject *obj;
31682 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31683 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame, SWIG_NewClientData(obj));
31684 return SWIG_Py_Void();
31685 }
31686
31687 SWIGINTERN PyObject *PyPreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31688 return SWIG_Python_InitShadowInstance(args);
31689 }
31690
31691 SWIGINTERN PyObject *_wrap_new_PyPreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31692 PyObject *resultobj = 0;
31693 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
31694 long arg2 ;
31695 wxWindow *arg3 = (wxWindow *) 0 ;
31696 wxPoint const &arg4_defvalue = wxDefaultPosition ;
31697 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
31698 wxSize const &arg5_defvalue = wxDefaultSize ;
31699 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
31700 long arg6 = (long) 0 ;
31701 wxString const &arg7_defvalue = wxPyPanelNameStr ;
31702 wxString *arg7 = (wxString *) &arg7_defvalue ;
31703 wxPyPreviewControlBar *result = 0 ;
31704 int res1 = 0 ;
31705 long val2 ;
31706 int ecode2 = 0 ;
31707 void *argp3 = 0 ;
31708 int res3 = 0 ;
31709 wxPoint temp4 ;
31710 wxSize temp5 ;
31711 long val6 ;
31712 int ecode6 = 0 ;
31713 bool temp7 = false ;
31714 PyObject * obj0 = 0 ;
31715 PyObject * obj1 = 0 ;
31716 PyObject * obj2 = 0 ;
31717 PyObject * obj3 = 0 ;
31718 PyObject * obj4 = 0 ;
31719 PyObject * obj5 = 0 ;
31720 PyObject * obj6 = 0 ;
31721 char * kwnames[] = {
31722 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31723 };
31724
31725 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
31726 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
31727 if (!SWIG_IsOK(res1)) {
31728 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31729 }
31730 ecode2 = SWIG_AsVal_long(obj1, &val2);
31731 if (!SWIG_IsOK(ecode2)) {
31732 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
31733 }
31734 arg2 = static_cast< long >(val2);
31735 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
31736 if (!SWIG_IsOK(res3)) {
31737 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
31738 }
31739 arg3 = reinterpret_cast< wxWindow * >(argp3);
31740 if (obj3) {
31741 {
31742 arg4 = &temp4;
31743 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
31744 }
31745 }
31746 if (obj4) {
31747 {
31748 arg5 = &temp5;
31749 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
31750 }
31751 }
31752 if (obj5) {
31753 ecode6 = SWIG_AsVal_long(obj5, &val6);
31754 if (!SWIG_IsOK(ecode6)) {
31755 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
31756 }
31757 arg6 = static_cast< long >(val6);
31758 }
31759 if (obj6) {
31760 {
31761 arg7 = wxString_in_helper(obj6);
31762 if (arg7 == NULL) SWIG_fail;
31763 temp7 = true;
31764 }
31765 }
31766 {
31767 if (!wxPyCheckForApp()) SWIG_fail;
31768 PyThreadState* __tstate = wxPyBeginAllowThreads();
31769 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
31770 wxPyEndAllowThreads(__tstate);
31771 if (PyErr_Occurred()) SWIG_fail;
31772 }
31773 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_NEW | 0 );
31774 {
31775 if (temp7)
31776 delete arg7;
31777 }
31778 return resultobj;
31779 fail:
31780 {
31781 if (temp7)
31782 delete arg7;
31783 }
31784 return NULL;
31785 }
31786
31787
31788 SWIGINTERN PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31789 PyObject *resultobj = 0;
31790 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31791 PyObject *arg2 = (PyObject *) 0 ;
31792 PyObject *arg3 = (PyObject *) 0 ;
31793 void *argp1 = 0 ;
31794 int res1 = 0 ;
31795 PyObject * obj0 = 0 ;
31796 PyObject * obj1 = 0 ;
31797 PyObject * obj2 = 0 ;
31798 char * kwnames[] = {
31799 (char *) "self",(char *) "self",(char *) "_class", NULL
31800 };
31801
31802 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31803 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31804 if (!SWIG_IsOK(res1)) {
31805 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31806 }
31807 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31808 arg2 = obj1;
31809 arg3 = obj2;
31810 {
31811 PyThreadState* __tstate = wxPyBeginAllowThreads();
31812 (arg1)->_setCallbackInfo(arg2,arg3);
31813 wxPyEndAllowThreads(__tstate);
31814 if (PyErr_Occurred()) SWIG_fail;
31815 }
31816 resultobj = SWIG_Py_Void();
31817 return resultobj;
31818 fail:
31819 return NULL;
31820 }
31821
31822
31823 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31824 PyObject *resultobj = 0;
31825 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31826 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
31827 void *argp1 = 0 ;
31828 int res1 = 0 ;
31829 int res2 = 0 ;
31830 PyObject * obj0 = 0 ;
31831 PyObject * obj1 = 0 ;
31832 char * kwnames[] = {
31833 (char *) "self",(char *) "preview", NULL
31834 };
31835
31836 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) SWIG_fail;
31837 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31838 if (!SWIG_IsOK(res1)) {
31839 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31840 }
31841 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31842 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
31843 if (!SWIG_IsOK(res2)) {
31844 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
31845 }
31846 {
31847 PyThreadState* __tstate = wxPyBeginAllowThreads();
31848 (arg1)->SetPrintPreview(arg2);
31849 wxPyEndAllowThreads(__tstate);
31850 if (PyErr_Occurred()) SWIG_fail;
31851 }
31852 resultobj = SWIG_Py_Void();
31853 return resultobj;
31854 fail:
31855 return NULL;
31856 }
31857
31858
31859 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_CreateButtons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31860 PyObject *resultobj = 0;
31861 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31862 void *argp1 = 0 ;
31863 int res1 = 0 ;
31864 PyObject *swig_obj[1] ;
31865
31866 if (!args) SWIG_fail;
31867 swig_obj[0] = args;
31868 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31869 if (!SWIG_IsOK(res1)) {
31870 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31871 }
31872 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31873 {
31874 PyThreadState* __tstate = wxPyBeginAllowThreads();
31875 (arg1)->CreateButtons();
31876 wxPyEndAllowThreads(__tstate);
31877 if (PyErr_Occurred()) SWIG_fail;
31878 }
31879 resultobj = SWIG_Py_Void();
31880 return resultobj;
31881 fail:
31882 return NULL;
31883 }
31884
31885
31886 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31887 PyObject *resultobj = 0;
31888 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31889 int arg2 ;
31890 void *argp1 = 0 ;
31891 int res1 = 0 ;
31892 int val2 ;
31893 int ecode2 = 0 ;
31894 PyObject * obj0 = 0 ;
31895 PyObject * obj1 = 0 ;
31896 char * kwnames[] = {
31897 (char *) "self",(char *) "zoom", NULL
31898 };
31899
31900 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
31901 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31902 if (!SWIG_IsOK(res1)) {
31903 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31904 }
31905 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31906 ecode2 = SWIG_AsVal_int(obj1, &val2);
31907 if (!SWIG_IsOK(ecode2)) {
31908 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
31909 }
31910 arg2 = static_cast< int >(val2);
31911 {
31912 PyThreadState* __tstate = wxPyBeginAllowThreads();
31913 (arg1)->SetZoomControl(arg2);
31914 wxPyEndAllowThreads(__tstate);
31915 if (PyErr_Occurred()) SWIG_fail;
31916 }
31917 resultobj = SWIG_Py_Void();
31918 return resultobj;
31919 fail:
31920 return NULL;
31921 }
31922
31923
31924 SWIGINTERN PyObject *PyPreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31925 PyObject *obj;
31926 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31927 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar, SWIG_NewClientData(obj));
31928 return SWIG_Py_Void();
31929 }
31930
31931 SWIGINTERN PyObject *PyPreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31932 return SWIG_Python_InitShadowInstance(args);
31933 }
31934
31935 static PyMethodDef SwigMethods[] = {
31936 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
31937 { (char *)"new_PrePanel", (PyCFunction)_wrap_new_PrePanel, METH_NOARGS, NULL},
31938 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31939 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction)_wrap_Panel_SetFocusIgnoringChildren, METH_O, NULL},
31940 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31941 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
31942 { (char *)"Panel_swiginit", Panel_swiginit, METH_VARARGS, NULL},
31943 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31944 { (char *)"new_PreScrolledWindow", (PyCFunction)_wrap_new_PreScrolledWindow, METH_NOARGS, NULL},
31945 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31946 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
31947 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
31948 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
31949 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
31950 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
31951 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction)_wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_O, NULL},
31952 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
31953 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction)_wrap_ScrolledWindow_GetViewStart, METH_O, NULL},
31954 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
31955 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction)_wrap_ScrolledWindow_GetScaleX, METH_O, NULL},
31956 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction)_wrap_ScrolledWindow_GetScaleY, METH_O, NULL},
31957 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
31958 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
31959 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction)_wrap_ScrolledWindow_AdjustScrollbars, METH_O, NULL},
31960 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
31961 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31962 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction)_wrap_ScrolledWindow_GetTargetWindow, METH_O, NULL},
31963 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL},
31964 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction)_wrap_ScrolledWindow_GetTargetRect, METH_O, NULL},
31965 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
31966 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31967 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
31968 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit, METH_VARARGS, NULL},
31969 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
31970 { (char *)"TopLevelWindow_Restore", (PyCFunction)_wrap_TopLevelWindow_Restore, METH_O, NULL},
31971 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
31972 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction)_wrap_TopLevelWindow_IsMaximized, METH_O, NULL},
31973 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction)_wrap_TopLevelWindow_IsAlwaysMaximized, METH_O, NULL},
31974 { (char *)"TopLevelWindow_IsIconized", (PyCFunction)_wrap_TopLevelWindow_IsIconized, METH_O, NULL},
31975 { (char *)"TopLevelWindow_GetIcon", (PyCFunction)_wrap_TopLevelWindow_GetIcon, METH_O, NULL},
31976 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
31977 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
31978 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31979 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction)_wrap_TopLevelWindow_IsFullScreen, METH_O, NULL},
31980 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
31981 { (char *)"TopLevelWindow_GetTitle", (PyCFunction)_wrap_TopLevelWindow_GetTitle, METH_O, NULL},
31982 { (char *)"TopLevelWindow_EnableCloseButton", (PyCFunction) _wrap_TopLevelWindow_EnableCloseButton, METH_VARARGS | METH_KEYWORDS, NULL},
31983 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
31984 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
31985 { (char *)"TopLevelWindow_IsActive", (PyCFunction)_wrap_TopLevelWindow_IsActive, METH_O, NULL},
31986 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
31987 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction)_wrap_TopLevelWindow_MacGetMetalAppearance, METH_O, NULL},
31988 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction) _wrap_TopLevelWindow_CenterOnScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31989 { (char *)"TopLevelWindow_GetDefaultItem", (PyCFunction)_wrap_TopLevelWindow_GetDefaultItem, METH_O, NULL},
31990 { (char *)"TopLevelWindow_SetDefaultItem", (PyCFunction) _wrap_TopLevelWindow_SetDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
31991 { (char *)"TopLevelWindow_SetTmpDefaultItem", (PyCFunction) _wrap_TopLevelWindow_SetTmpDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
31992 { (char *)"TopLevelWindow_GetTmpDefaultItem", (PyCFunction)_wrap_TopLevelWindow_GetTmpDefaultItem, METH_O, NULL},
31993 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
31994 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
31995 { (char *)"new_PreFrame", (PyCFunction)_wrap_new_PreFrame, METH_NOARGS, NULL},
31996 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31997 { (char *)"Frame_SendSizeEvent", (PyCFunction)_wrap_Frame_SendSizeEvent, METH_O, NULL},
31998 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
31999 { (char *)"Frame_GetMenuBar", (PyCFunction)_wrap_Frame_GetMenuBar, METH_O, NULL},
32000 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
32001 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
32002 { (char *)"Frame_GetStatusBar", (PyCFunction)_wrap_Frame_GetStatusBar, METH_O, NULL},
32003 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
32004 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
32005 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
32006 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
32007 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
32008 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
32009 { (char *)"Frame_GetStatusBarPane", (PyCFunction)_wrap_Frame_GetStatusBarPane, METH_O, NULL},
32010 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
32011 { (char *)"Frame_GetToolBar", (PyCFunction)_wrap_Frame_GetToolBar, METH_O, NULL},
32012 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
32013 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
32014 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
32015 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
32016 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
32017 { (char *)"Frame_swiginit", Frame_swiginit, METH_VARARGS, NULL},
32018 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
32019 { (char *)"new_PreDialog", (PyCFunction)_wrap_new_PreDialog, METH_NOARGS, NULL},
32020 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32021 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
32022 { (char *)"Dialog_GetReturnCode", (PyCFunction)_wrap_Dialog_GetReturnCode, METH_O, NULL},
32023 { (char *)"Dialog_SetAffirmativeId", (PyCFunction) _wrap_Dialog_SetAffirmativeId, METH_VARARGS | METH_KEYWORDS, NULL},
32024 { (char *)"Dialog_GetAffirmativeId", (PyCFunction)_wrap_Dialog_GetAffirmativeId, METH_O, NULL},
32025 { (char *)"Dialog_SetEscapeId", (PyCFunction) _wrap_Dialog_SetEscapeId, METH_VARARGS | METH_KEYWORDS, NULL},
32026 { (char *)"Dialog_GetEscapeId", (PyCFunction)_wrap_Dialog_GetEscapeId, METH_O, NULL},
32027 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
32028 { (char *)"Dialog__CreateButtonSizer", (PyCFunction) _wrap_Dialog__CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
32029 { (char *)"Dialog_CreateSeparatedButtonSizer", (PyCFunction) _wrap_Dialog_CreateSeparatedButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
32030 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
32031 { (char *)"Dialog_IsModal", (PyCFunction)_wrap_Dialog_IsModal, METH_O, NULL},
32032 { (char *)"Dialog_ShowModal", (PyCFunction)_wrap_Dialog_ShowModal, METH_O, NULL},
32033 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
32034 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
32035 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
32036 { (char *)"Dialog_swiginit", Dialog_swiginit, METH_VARARGS, NULL},
32037 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32038 { (char *)"new_PreMiniFrame", (PyCFunction)_wrap_new_PreMiniFrame, METH_NOARGS, NULL},
32039 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32040 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
32041 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit, METH_VARARGS, NULL},
32042 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32043 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
32044 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction)_wrap_SplashScreenWindow_GetBitmap, METH_O, NULL},
32045 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
32046 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit, METH_VARARGS, NULL},
32047 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
32048 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction)_wrap_SplashScreen_GetSplashStyle, METH_O, NULL},
32049 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction)_wrap_SplashScreen_GetSplashWindow, METH_O, NULL},
32050 { (char *)"SplashScreen_GetTimeout", (PyCFunction)_wrap_SplashScreen_GetTimeout, METH_O, NULL},
32051 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
32052 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit, METH_VARARGS, NULL},
32053 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
32054 { (char *)"new_PreStatusBar", (PyCFunction)_wrap_new_PreStatusBar, METH_NOARGS, NULL},
32055 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32056 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
32057 { (char *)"StatusBar_GetFieldsCount", (PyCFunction)_wrap_StatusBar_GetFieldsCount, METH_O, NULL},
32058 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
32059 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
32060 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
32061 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
32062 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
32063 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
32064 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
32065 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
32066 { (char *)"StatusBar_GetBorderX", (PyCFunction)_wrap_StatusBar_GetBorderX, METH_O, NULL},
32067 { (char *)"StatusBar_GetBorderY", (PyCFunction)_wrap_StatusBar_GetBorderY, METH_O, NULL},
32068 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
32069 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
32070 { (char *)"StatusBar_swiginit", StatusBar_swiginit, METH_VARARGS, NULL},
32071 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32072 { (char *)"new_PreSplitterWindow", (PyCFunction)_wrap_new_PreSplitterWindow, METH_NOARGS, NULL},
32073 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32074 { (char *)"SplitterWindow_GetWindow1", (PyCFunction)_wrap_SplitterWindow_GetWindow1, METH_O, NULL},
32075 { (char *)"SplitterWindow_GetWindow2", (PyCFunction)_wrap_SplitterWindow_GetWindow2, METH_O, NULL},
32076 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
32077 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction)_wrap_SplitterWindow_GetSplitMode, METH_O, NULL},
32078 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
32079 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
32080 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
32081 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
32082 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32083 { (char *)"SplitterWindow_UpdateSize", (PyCFunction)_wrap_SplitterWindow_UpdateSize, METH_O, NULL},
32084 { (char *)"SplitterWindow_IsSplit", (PyCFunction)_wrap_SplitterWindow_IsSplit, METH_O, NULL},
32085 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
32086 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
32087 { (char *)"SplitterWindow_GetSashSize", (PyCFunction)_wrap_SplitterWindow_GetSashSize, METH_O, NULL},
32088 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction)_wrap_SplitterWindow_GetBorderSize, METH_O, NULL},
32089 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
32090 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction)_wrap_SplitterWindow_GetSashPosition, METH_O, NULL},
32091 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
32092 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction)_wrap_SplitterWindow_GetSashGravity, METH_O, NULL},
32093 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
32094 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction)_wrap_SplitterWindow_GetMinimumPaneSize, METH_O, NULL},
32095 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
32096 { (char *)"SplitterWindow_SizeWindows", (PyCFunction)_wrap_SplitterWindow_SizeWindows, METH_O, NULL},
32097 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
32098 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction)_wrap_SplitterWindow_GetNeedUpdating, METH_O, NULL},
32099 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
32100 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
32101 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit, METH_VARARGS, NULL},
32102 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
32103 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
32104 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction)_wrap_SplitterEvent_GetSashPosition, METH_O, NULL},
32105 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction)_wrap_SplitterEvent_GetWindowBeingRemoved, METH_O, NULL},
32106 { (char *)"SplitterEvent_GetX", (PyCFunction)_wrap_SplitterEvent_GetX, METH_O, NULL},
32107 { (char *)"SplitterEvent_GetY", (PyCFunction)_wrap_SplitterEvent_GetY, METH_O, NULL},
32108 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
32109 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit, METH_VARARGS, NULL},
32110 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32111 { (char *)"new_PreSashWindow", (PyCFunction)_wrap_new_PreSashWindow, METH_NOARGS, NULL},
32112 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32113 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
32114 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
32115 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL},
32116 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL},
32117 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
32118 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
32119 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction)_wrap_SashWindow_GetDefaultBorderSize, METH_O, NULL},
32120 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
32121 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction)_wrap_SashWindow_GetExtraBorderSize, METH_O, NULL},
32122 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
32123 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
32124 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction)_wrap_SashWindow_GetMinimumSizeX, METH_O, NULL},
32125 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction)_wrap_SashWindow_GetMinimumSizeY, METH_O, NULL},
32126 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
32127 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
32128 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction)_wrap_SashWindow_GetMaximumSizeX, METH_O, NULL},
32129 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction)_wrap_SashWindow_GetMaximumSizeY, METH_O, NULL},
32130 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
32131 { (char *)"SashWindow_SizeWindows", (PyCFunction)_wrap_SashWindow_SizeWindows, METH_O, NULL},
32132 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
32133 { (char *)"SashWindow_swiginit", SashWindow_swiginit, METH_VARARGS, NULL},
32134 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
32135 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
32136 { (char *)"SashEvent_GetEdge", (PyCFunction)_wrap_SashEvent_GetEdge, METH_O, NULL},
32137 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
32138 { (char *)"SashEvent_GetDragRect", (PyCFunction)_wrap_SashEvent_GetDragRect, METH_O, NULL},
32139 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
32140 { (char *)"SashEvent_GetDragStatus", (PyCFunction)_wrap_SashEvent_GetDragStatus, METH_O, NULL},
32141 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
32142 { (char *)"SashEvent_swiginit", SashEvent_swiginit, METH_VARARGS, NULL},
32143 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
32144 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
32145 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_O, NULL},
32146 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
32147 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetFlags, METH_O, NULL},
32148 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
32149 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetSize, METH_O, NULL},
32150 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
32151 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetOrientation, METH_O, NULL},
32152 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
32153 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetAlignment, METH_O, NULL},
32154 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
32155 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit, METH_VARARGS, NULL},
32156 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
32157 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
32158 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction)_wrap_CalculateLayoutEvent_GetFlags, METH_O, NULL},
32159 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
32160 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction)_wrap_CalculateLayoutEvent_GetRect, METH_O, NULL},
32161 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
32162 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit, METH_VARARGS, NULL},
32163 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32164 { (char *)"new_PreSashLayoutWindow", (PyCFunction)_wrap_new_PreSashLayoutWindow, METH_NOARGS, NULL},
32165 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32166 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction)_wrap_SashLayoutWindow_GetAlignment, METH_O, NULL},
32167 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction)_wrap_SashLayoutWindow_GetOrientation, METH_O, NULL},
32168 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
32169 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
32170 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
32171 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
32172 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit, METH_VARARGS, NULL},
32173 { (char *)"new_LayoutAlgorithm", (PyCFunction)_wrap_new_LayoutAlgorithm, METH_NOARGS, NULL},
32174 { (char *)"delete_LayoutAlgorithm", (PyCFunction)_wrap_delete_LayoutAlgorithm, METH_O, NULL},
32175 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32176 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32177 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32178 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
32179 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit, METH_VARARGS, NULL},
32180 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32181 { (char *)"new_PrePopupWindow", (PyCFunction)_wrap_new_PrePopupWindow, METH_NOARGS, NULL},
32182 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32183 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS, NULL},
32184 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
32185 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit, METH_VARARGS, NULL},
32186 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32187 { (char *)"new_PrePopupTransientWindow", (PyCFunction)_wrap_new_PrePopupTransientWindow, METH_NOARGS, NULL},
32188 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32189 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS, NULL},
32190 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction)_wrap_PopupTransientWindow_Dismiss, METH_O, NULL},
32191 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
32192 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit, METH_VARARGS, NULL},
32193 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32194 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
32195 { (char *)"TipWindow_Close", (PyCFunction)_wrap_TipWindow_Close, METH_O, NULL},
32196 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
32197 { (char *)"TipWindow_swiginit", TipWindow_swiginit, METH_VARARGS, NULL},
32198 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32199 { (char *)"new_PreVScrolledWindow", (PyCFunction)_wrap_new_PreVScrolledWindow, METH_NOARGS, NULL},
32200 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32201 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32202 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
32203 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
32204 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL},
32205 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL},
32206 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
32207 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
32208 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction)_wrap_VScrolledWindow_RefreshAll, METH_O, NULL},
32209 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction)_wrap_VScrolledWindow_GetLineCount, METH_O, NULL},
32210 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction)_wrap_VScrolledWindow_GetVisibleBegin, METH_O, NULL},
32211 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction)_wrap_VScrolledWindow_GetVisibleEnd, METH_O, NULL},
32212 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
32213 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetFirstVisibleLine, METH_O, NULL},
32214 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetLastVisibleLine, METH_O, NULL},
32215 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction) _wrap_VScrolledWindow_FindFirstFromBottom, METH_VARARGS | METH_KEYWORDS, NULL},
32216 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction) _wrap_VScrolledWindow_GetLinesHeight, METH_VARARGS | METH_KEYWORDS, NULL},
32217 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
32218 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit, METH_VARARGS, NULL},
32219 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
32220 { (char *)"new_PreVListBox", (PyCFunction)_wrap_new_PreVListBox, METH_NOARGS, NULL},
32221 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32222 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32223 { (char *)"VListBox_GetItemCount", (PyCFunction)_wrap_VListBox_GetItemCount, METH_O, NULL},
32224 { (char *)"VListBox_HasMultipleSelection", (PyCFunction)_wrap_VListBox_HasMultipleSelection, METH_O, NULL},
32225 { (char *)"VListBox_GetSelection", (PyCFunction)_wrap_VListBox_GetSelection, METH_O, NULL},
32226 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
32227 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
32228 { (char *)"VListBox_GetSelectedCount", (PyCFunction)_wrap_VListBox_GetSelectedCount, METH_O, NULL},
32229 { (char *)"VListBox_GetFirstSelected", (PyCFunction)_wrap_VListBox_GetFirstSelected, METH_O, NULL},
32230 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
32231 { (char *)"VListBox_GetMargins", (PyCFunction)_wrap_VListBox_GetMargins, METH_O, NULL},
32232 { (char *)"VListBox_GetSelectionBackground", (PyCFunction)_wrap_VListBox_GetSelectionBackground, METH_O, NULL},
32233 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
32234 { (char *)"VListBox_Clear", (PyCFunction)_wrap_VListBox_Clear, METH_O, NULL},
32235 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
32236 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
32237 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
32238 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
32239 { (char *)"VListBox_SelectAll", (PyCFunction)_wrap_VListBox_SelectAll, METH_O, NULL},
32240 { (char *)"VListBox_DeselectAll", (PyCFunction)_wrap_VListBox_DeselectAll, METH_O, NULL},
32241 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
32242 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
32243 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
32244 { (char *)"VListBox_OnDrawSeparator", (PyCFunction) _wrap_VListBox_OnDrawSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
32245 { (char *)"VListBox_OnDrawBackground", (PyCFunction) _wrap_VListBox_OnDrawBackground, METH_VARARGS | METH_KEYWORDS, NULL},
32246 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
32247 { (char *)"VListBox_swiginit", VListBox_swiginit, METH_VARARGS, NULL},
32248 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
32249 { (char *)"new_PreHtmlListBox", (PyCFunction)_wrap_new_PreHtmlListBox, METH_NOARGS, NULL},
32250 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32251 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32252 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
32253 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction)_wrap_HtmlListBox_GetFileSystem, METH_O, NULL},
32254 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction) _wrap_HtmlListBox_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL},
32255 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
32256 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit, METH_VARARGS, NULL},
32257 { (char *)"new_SimpleHtmlListBox", (PyCFunction) _wrap_new_SimpleHtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
32258 { (char *)"new_PreSimpleHtmlListBox", (PyCFunction)_wrap_new_PreSimpleHtmlListBox, METH_NOARGS, NULL},
32259 { (char *)"SimpleHtmlListBox_Create", (PyCFunction) _wrap_SimpleHtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32260 { (char *)"SimpleHtmlListBox_swigregister", SimpleHtmlListBox_swigregister, METH_VARARGS, NULL},
32261 { (char *)"SimpleHtmlListBox_swiginit", SimpleHtmlListBox_swiginit, METH_VARARGS, NULL},
32262 { (char *)"new_TaskBarIcon", (PyCFunction)_wrap_new_TaskBarIcon, METH_NOARGS, NULL},
32263 { (char *)"delete_TaskBarIcon", (PyCFunction)_wrap_delete_TaskBarIcon, METH_O, NULL},
32264 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32265 { (char *)"TaskBarIcon_Destroy", (PyCFunction)_wrap_TaskBarIcon_Destroy, METH_O, NULL},
32266 { (char *)"TaskBarIcon_IsOk", (PyCFunction)_wrap_TaskBarIcon_IsOk, METH_O, NULL},
32267 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction)_wrap_TaskBarIcon_IsIconInstalled, METH_O, NULL},
32268 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
32269 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction)_wrap_TaskBarIcon_RemoveIcon, METH_O, NULL},
32270 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
32271 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
32272 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit, METH_VARARGS, NULL},
32273 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
32274 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
32275 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit, METH_VARARGS, NULL},
32276 { (char *)"new_ColourData", (PyCFunction)_wrap_new_ColourData, METH_NOARGS, NULL},
32277 { (char *)"delete_ColourData", (PyCFunction)_wrap_delete_ColourData, METH_O, NULL},
32278 { (char *)"ColourData_GetChooseFull", (PyCFunction)_wrap_ColourData_GetChooseFull, METH_O, NULL},
32279 { (char *)"ColourData_GetColour", (PyCFunction)_wrap_ColourData_GetColour, METH_O, NULL},
32280 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
32281 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
32282 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
32283 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
32284 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
32285 { (char *)"ColourData_swiginit", ColourData_swiginit, METH_VARARGS, NULL},
32286 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32287 { (char *)"ColourDialog_GetColourData", (PyCFunction)_wrap_ColourDialog_GetColourData, METH_O, NULL},
32288 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
32289 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit, METH_VARARGS, NULL},
32290 { (char *)"GetColourFromUser", (PyCFunction) _wrap_GetColourFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
32291 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32292 { (char *)"DirDialog_GetPath", (PyCFunction)_wrap_DirDialog_GetPath, METH_O, NULL},
32293 { (char *)"DirDialog_GetMessage", (PyCFunction)_wrap_DirDialog_GetMessage, METH_O, NULL},
32294 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
32295 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
32296 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
32297 { (char *)"DirDialog_swiginit", DirDialog_swiginit, METH_VARARGS, NULL},
32298 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32299 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
32300 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
32301 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
32302 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
32303 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
32304 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
32305 { (char *)"FileDialog_GetMessage", (PyCFunction)_wrap_FileDialog_GetMessage, METH_O, NULL},
32306 { (char *)"FileDialog_GetPath", (PyCFunction)_wrap_FileDialog_GetPath, METH_O, NULL},
32307 { (char *)"FileDialog_GetDirectory", (PyCFunction)_wrap_FileDialog_GetDirectory, METH_O, NULL},
32308 { (char *)"FileDialog_GetFilename", (PyCFunction)_wrap_FileDialog_GetFilename, METH_O, NULL},
32309 { (char *)"FileDialog_GetWildcard", (PyCFunction)_wrap_FileDialog_GetWildcard, METH_O, NULL},
32310 { (char *)"FileDialog_GetFilterIndex", (PyCFunction)_wrap_FileDialog_GetFilterIndex, METH_O, NULL},
32311 { (char *)"FileDialog_GetFilenames", (PyCFunction)_wrap_FileDialog_GetFilenames, METH_O, NULL},
32312 { (char *)"FileDialog_GetPaths", (PyCFunction)_wrap_FileDialog_GetPaths, METH_O, NULL},
32313 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
32314 { (char *)"FileDialog_swiginit", FileDialog_swiginit, METH_VARARGS, NULL},
32315 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32316 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
32317 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction)_wrap_MultiChoiceDialog_GetSelections, METH_O, NULL},
32318 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
32319 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit, METH_VARARGS, NULL},
32320 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32321 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetSelection, METH_O, NULL},
32322 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetStringSelection, METH_O, NULL},
32323 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
32324 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
32325 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit, METH_VARARGS, NULL},
32326 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32327 { (char *)"TextEntryDialog_GetValue", (PyCFunction)_wrap_TextEntryDialog_GetValue, METH_O, NULL},
32328 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
32329 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
32330 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit, METH_VARARGS, NULL},
32331 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32332 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
32333 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit, METH_VARARGS, NULL},
32334 { (char *)"new_NumberEntryDialog", (PyCFunction) _wrap_new_NumberEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32335 { (char *)"NumberEntryDialog_GetValue", (PyCFunction)_wrap_NumberEntryDialog_GetValue, METH_O, NULL},
32336 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister, METH_VARARGS, NULL},
32337 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit, METH_VARARGS, NULL},
32338 { (char *)"new_FontData", (PyCFunction)_wrap_new_FontData, METH_NOARGS, NULL},
32339 { (char *)"delete_FontData", (PyCFunction)_wrap_delete_FontData, METH_O, NULL},
32340 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
32341 { (char *)"FontData_GetAllowSymbols", (PyCFunction)_wrap_FontData_GetAllowSymbols, METH_O, NULL},
32342 { (char *)"FontData_GetColour", (PyCFunction)_wrap_FontData_GetColour, METH_O, NULL},
32343 { (char *)"FontData_GetChosenFont", (PyCFunction)_wrap_FontData_GetChosenFont, METH_O, NULL},
32344 { (char *)"FontData_GetEnableEffects", (PyCFunction)_wrap_FontData_GetEnableEffects, METH_O, NULL},
32345 { (char *)"FontData_GetInitialFont", (PyCFunction)_wrap_FontData_GetInitialFont, METH_O, NULL},
32346 { (char *)"FontData_GetShowHelp", (PyCFunction)_wrap_FontData_GetShowHelp, METH_O, NULL},
32347 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
32348 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
32349 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
32350 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
32351 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
32352 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
32353 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
32354 { (char *)"FontData_swiginit", FontData_swiginit, METH_VARARGS, NULL},
32355 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32356 { (char *)"FontDialog_GetFontData", (PyCFunction)_wrap_FontDialog_GetFontData, METH_O, NULL},
32357 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
32358 { (char *)"FontDialog_swiginit", FontDialog_swiginit, METH_VARARGS, NULL},
32359 { (char *)"GetFontFromUser", (PyCFunction) _wrap_GetFontFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
32360 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32361 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
32362 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit, METH_VARARGS, NULL},
32363 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32364 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
32365 { (char *)"ProgressDialog_Pulse", (PyCFunction) _wrap_ProgressDialog_Pulse, METH_VARARGS | METH_KEYWORDS, NULL},
32366 { (char *)"ProgressDialog_Resume", (PyCFunction)_wrap_ProgressDialog_Resume, METH_O, NULL},
32367 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
32368 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit, METH_VARARGS, NULL},
32369 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
32370 { (char *)"FindDialogEvent_GetFlags", (PyCFunction)_wrap_FindDialogEvent_GetFlags, METH_O, NULL},
32371 { (char *)"FindDialogEvent_GetFindString", (PyCFunction)_wrap_FindDialogEvent_GetFindString, METH_O, NULL},
32372 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction)_wrap_FindDialogEvent_GetReplaceString, METH_O, NULL},
32373 { (char *)"FindDialogEvent_GetDialog", (PyCFunction)_wrap_FindDialogEvent_GetDialog, METH_O, NULL},
32374 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
32375 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
32376 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
32377 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
32378 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit, METH_VARARGS, NULL},
32379 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
32380 { (char *)"delete_FindReplaceData", (PyCFunction)_wrap_delete_FindReplaceData, METH_O, NULL},
32381 { (char *)"FindReplaceData_GetFindString", (PyCFunction)_wrap_FindReplaceData_GetFindString, METH_O, NULL},
32382 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction)_wrap_FindReplaceData_GetReplaceString, METH_O, NULL},
32383 { (char *)"FindReplaceData_GetFlags", (PyCFunction)_wrap_FindReplaceData_GetFlags, METH_O, NULL},
32384 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
32385 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
32386 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
32387 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
32388 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit, METH_VARARGS, NULL},
32389 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32390 { (char *)"new_PreFindReplaceDialog", (PyCFunction)_wrap_new_PreFindReplaceDialog, METH_NOARGS, NULL},
32391 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32392 { (char *)"FindReplaceDialog_GetData", (PyCFunction)_wrap_FindReplaceDialog_GetData, METH_O, NULL},
32393 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
32394 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
32395 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit, METH_VARARGS, NULL},
32396 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32397 { (char *)"new_PreMDIParentFrame", (PyCFunction)_wrap_new_PreMDIParentFrame, METH_NOARGS, NULL},
32398 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32399 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction)_wrap_MDIParentFrame_ActivateNext, METH_O, NULL},
32400 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction)_wrap_MDIParentFrame_ActivatePrevious, METH_O, NULL},
32401 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction)_wrap_MDIParentFrame_ArrangeIcons, METH_O, NULL},
32402 { (char *)"MDIParentFrame_Cascade", (PyCFunction)_wrap_MDIParentFrame_Cascade, METH_O, NULL},
32403 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction)_wrap_MDIParentFrame_GetActiveChild, METH_O, NULL},
32404 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction)_wrap_MDIParentFrame_GetClientWindow, METH_O, NULL},
32405 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction)_wrap_MDIParentFrame_GetWindowMenu, METH_O, NULL},
32406 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_SetWindowMenu, METH_VARARGS | METH_KEYWORDS, NULL},
32407 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
32408 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
32409 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit, METH_VARARGS, NULL},
32410 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32411 { (char *)"new_PreMDIChildFrame", (PyCFunction)_wrap_new_PreMDIChildFrame, METH_NOARGS, NULL},
32412 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32413 { (char *)"MDIChildFrame_Activate", (PyCFunction)_wrap_MDIChildFrame_Activate, METH_O, NULL},
32414 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
32415 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit, METH_VARARGS, NULL},
32416 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32417 { (char *)"new_PreMDIClientWindow", (PyCFunction)_wrap_new_PreMDIClientWindow, METH_NOARGS, NULL},
32418 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32419 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
32420 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit, METH_VARARGS, NULL},
32421 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32422 { (char *)"new_PrePyWindow", (PyCFunction)_wrap_new_PrePyWindow, METH_NOARGS, NULL},
32423 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32424 { (char *)"PyWindow_DoEraseBackground", (PyCFunction) _wrap_PyWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
32425 { (char *)"PyWindow_DoMoveWindow", (PyCFunction) _wrap_PyWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32426 { (char *)"PyWindow_DoSetSize", (PyCFunction) _wrap_PyWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
32427 { (char *)"PyWindow_DoSetClientSize", (PyCFunction) _wrap_PyWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
32428 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
32429 { (char *)"PyWindow_DoGetSize", (PyCFunction)_wrap_PyWindow_DoGetSize, METH_O, NULL},
32430 { (char *)"PyWindow_DoGetClientSize", (PyCFunction)_wrap_PyWindow_DoGetClientSize, METH_O, NULL},
32431 { (char *)"PyWindow_DoGetPosition", (PyCFunction)_wrap_PyWindow_DoGetPosition, METH_O, NULL},
32432 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyWindow_DoGetVirtualSize, METH_O, NULL},
32433 { (char *)"PyWindow_DoGetBestSize", (PyCFunction)_wrap_PyWindow_DoGetBestSize, METH_O, NULL},
32434 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyWindow_GetDefaultAttributes, METH_O, NULL},
32435 { (char *)"PyWindow_OnInternalIdle", (PyCFunction)_wrap_PyWindow_OnInternalIdle, METH_O, NULL},
32436 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
32437 { (char *)"PyWindow_swiginit", PyWindow_swiginit, METH_VARARGS, NULL},
32438 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
32439 { (char *)"new_PrePyPanel", (PyCFunction)_wrap_new_PrePyPanel, METH_NOARGS, NULL},
32440 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32441 { (char *)"PyPanel_DoEraseBackground", (PyCFunction) _wrap_PyPanel_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
32442 { (char *)"PyPanel_DoMoveWindow", (PyCFunction) _wrap_PyPanel_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32443 { (char *)"PyPanel_DoSetSize", (PyCFunction) _wrap_PyPanel_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
32444 { (char *)"PyPanel_DoSetClientSize", (PyCFunction) _wrap_PyPanel_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
32445 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
32446 { (char *)"PyPanel_DoGetSize", (PyCFunction)_wrap_PyPanel_DoGetSize, METH_O, NULL},
32447 { (char *)"PyPanel_DoGetClientSize", (PyCFunction)_wrap_PyPanel_DoGetClientSize, METH_O, NULL},
32448 { (char *)"PyPanel_DoGetPosition", (PyCFunction)_wrap_PyPanel_DoGetPosition, METH_O, NULL},
32449 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction)_wrap_PyPanel_DoGetVirtualSize, METH_O, NULL},
32450 { (char *)"PyPanel_DoGetBestSize", (PyCFunction)_wrap_PyPanel_DoGetBestSize, METH_O, NULL},
32451 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction)_wrap_PyPanel_GetDefaultAttributes, METH_O, NULL},
32452 { (char *)"PyPanel_OnInternalIdle", (PyCFunction)_wrap_PyPanel_OnInternalIdle, METH_O, NULL},
32453 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
32454 { (char *)"PyPanel_swiginit", PyPanel_swiginit, METH_VARARGS, NULL},
32455 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32456 { (char *)"new_PrePyScrolledWindow", (PyCFunction)_wrap_new_PrePyScrolledWindow, METH_NOARGS, NULL},
32457 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32458 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction) _wrap_PyScrolledWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
32459 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32460 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
32461 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
32462 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
32463 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetSize, METH_O, NULL},
32464 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetClientSize, METH_O, NULL},
32465 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction)_wrap_PyScrolledWindow_DoGetPosition, METH_O, NULL},
32466 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetVirtualSize, METH_O, NULL},
32467 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetBestSize, METH_O, NULL},
32468 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyScrolledWindow_GetDefaultAttributes, METH_O, NULL},
32469 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction)_wrap_PyScrolledWindow_OnInternalIdle, METH_O, NULL},
32470 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
32471 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit, METH_VARARGS, NULL},
32472 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
32473 { (char *)"delete_PrintData", (PyCFunction)_wrap_delete_PrintData, METH_O, NULL},
32474 { (char *)"PrintData_GetNoCopies", (PyCFunction)_wrap_PrintData_GetNoCopies, METH_O, NULL},
32475 { (char *)"PrintData_GetCollate", (PyCFunction)_wrap_PrintData_GetCollate, METH_O, NULL},
32476 { (char *)"PrintData_GetOrientation", (PyCFunction)_wrap_PrintData_GetOrientation, METH_O, NULL},
32477 { (char *)"PrintData_IsOrientationReversed", (PyCFunction)_wrap_PrintData_IsOrientationReversed, METH_O, NULL},
32478 { (char *)"PrintData_IsOk", (PyCFunction)_wrap_PrintData_IsOk, METH_O, NULL},
32479 { (char *)"PrintData_GetPrinterName", (PyCFunction)_wrap_PrintData_GetPrinterName, METH_O, NULL},
32480 { (char *)"PrintData_GetColour", (PyCFunction)_wrap_PrintData_GetColour, METH_O, NULL},
32481 { (char *)"PrintData_GetDuplex", (PyCFunction)_wrap_PrintData_GetDuplex, METH_O, NULL},
32482 { (char *)"PrintData_GetPaperId", (PyCFunction)_wrap_PrintData_GetPaperId, METH_O, NULL},
32483 { (char *)"PrintData_GetPaperSize", (PyCFunction)_wrap_PrintData_GetPaperSize, METH_O, NULL},
32484 { (char *)"PrintData_GetQuality", (PyCFunction)_wrap_PrintData_GetQuality, METH_O, NULL},
32485 { (char *)"PrintData_GetBin", (PyCFunction)_wrap_PrintData_GetBin, METH_O, NULL},
32486 { (char *)"PrintData_GetPrintMode", (PyCFunction)_wrap_PrintData_GetPrintMode, METH_O, NULL},
32487 { (char *)"PrintData_GetMedia", (PyCFunction)_wrap_PrintData_GetMedia, METH_O, NULL},
32488 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
32489 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
32490 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
32491 { (char *)"PrintData_SetOrientationReversed", (PyCFunction) _wrap_PrintData_SetOrientationReversed, METH_VARARGS | METH_KEYWORDS, NULL},
32492 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
32493 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
32494 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
32495 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
32496 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
32497 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
32498 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
32499 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
32500 { (char *)"PrintData_SetMedia", (PyCFunction) _wrap_PrintData_SetMedia, METH_VARARGS | METH_KEYWORDS, NULL},
32501 { (char *)"PrintData_GetFilename", (PyCFunction)_wrap_PrintData_GetFilename, METH_O, NULL},
32502 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
32503 { (char *)"PrintData_GetPrivData", (PyCFunction)_wrap_PrintData_GetPrivData, METH_O, NULL},
32504 { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
32505 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
32506 { (char *)"PrintData_swiginit", PrintData_swiginit, METH_VARARGS, NULL},
32507 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
32508 { (char *)"delete_PageSetupDialogData", (PyCFunction)_wrap_delete_PageSetupDialogData, METH_O, NULL},
32509 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
32510 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
32511 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
32512 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
32513 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
32514 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultMinMargins, METH_O, NULL},
32515 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction)_wrap_PageSetupDialogData_GetEnableMargins, METH_O, NULL},
32516 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction)_wrap_PageSetupDialogData_GetEnableOrientation, METH_O, NULL},
32517 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePaper, METH_O, NULL},
32518 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePrinter, METH_O, NULL},
32519 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction)_wrap_PageSetupDialogData_GetEnableHelp, METH_O, NULL},
32520 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultInfo, METH_O, NULL},
32521 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMarginTopLeft, METH_O, NULL},
32522 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMarginBottomRight, METH_O, NULL},
32523 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_O, NULL},
32524 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_O, NULL},
32525 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction)_wrap_PageSetupDialogData_GetPaperId, METH_O, NULL},
32526 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction)_wrap_PageSetupDialogData_GetPaperSize, METH_O, NULL},
32527 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction)_wrap_PageSetupDialogData_GetPrintData, METH_O, NULL},
32528 { (char *)"PageSetupDialogData_IsOk", (PyCFunction)_wrap_PageSetupDialogData_IsOk, METH_O, NULL},
32529 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32530 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
32531 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
32532 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
32533 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
32534 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
32535 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
32536 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
32537 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
32538 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction)_wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_O, NULL},
32539 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction)_wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_O, NULL},
32540 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
32541 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit, METH_VARARGS, NULL},
32542 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32543 { (char *)"delete_PageSetupDialog", (PyCFunction)_wrap_delete_PageSetupDialog, METH_O, NULL},
32544 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupData, METH_O, NULL},
32545 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupDialogData, METH_O, NULL},
32546 { (char *)"PageSetupDialog_ShowModal", (PyCFunction)_wrap_PageSetupDialog_ShowModal, METH_O, NULL},
32547 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
32548 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit, METH_VARARGS, NULL},
32549 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
32550 { (char *)"delete_PrintDialogData", (PyCFunction)_wrap_delete_PrintDialogData, METH_O, NULL},
32551 { (char *)"PrintDialogData_GetFromPage", (PyCFunction)_wrap_PrintDialogData_GetFromPage, METH_O, NULL},
32552 { (char *)"PrintDialogData_GetToPage", (PyCFunction)_wrap_PrintDialogData_GetToPage, METH_O, NULL},
32553 { (char *)"PrintDialogData_GetMinPage", (PyCFunction)_wrap_PrintDialogData_GetMinPage, METH_O, NULL},
32554 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction)_wrap_PrintDialogData_GetMaxPage, METH_O, NULL},
32555 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction)_wrap_PrintDialogData_GetNoCopies, METH_O, NULL},
32556 { (char *)"PrintDialogData_GetAllPages", (PyCFunction)_wrap_PrintDialogData_GetAllPages, METH_O, NULL},
32557 { (char *)"PrintDialogData_GetSelection", (PyCFunction)_wrap_PrintDialogData_GetSelection, METH_O, NULL},
32558 { (char *)"PrintDialogData_GetCollate", (PyCFunction)_wrap_PrintDialogData_GetCollate, METH_O, NULL},
32559 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction)_wrap_PrintDialogData_GetPrintToFile, METH_O, NULL},
32560 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
32561 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
32562 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
32563 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
32564 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
32565 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
32566 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
32567 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
32568 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
32569 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
32570 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
32571 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
32572 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
32573 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction)_wrap_PrintDialogData_GetEnablePrintToFile, METH_O, NULL},
32574 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction)_wrap_PrintDialogData_GetEnableSelection, METH_O, NULL},
32575 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction)_wrap_PrintDialogData_GetEnablePageNumbers, METH_O, NULL},
32576 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction)_wrap_PrintDialogData_GetEnableHelp, METH_O, NULL},
32577 { (char *)"PrintDialogData_IsOk", (PyCFunction)_wrap_PrintDialogData_IsOk, METH_O, NULL},
32578 { (char *)"PrintDialogData_GetPrintData", (PyCFunction)_wrap_PrintDialogData_GetPrintData, METH_O, NULL},
32579 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
32580 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
32581 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit, METH_VARARGS, NULL},
32582 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32583 { (char *)"delete_PrintDialog", (PyCFunction)_wrap_delete_PrintDialog, METH_O, NULL},
32584 { (char *)"PrintDialog_ShowModal", (PyCFunction)_wrap_PrintDialog_ShowModal, METH_O, NULL},
32585 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction)_wrap_PrintDialog_GetPrintDialogData, METH_O, NULL},
32586 { (char *)"PrintDialog_GetPrintData", (PyCFunction)_wrap_PrintDialog_GetPrintData, METH_O, NULL},
32587 { (char *)"PrintDialog_GetPrintDC", (PyCFunction)_wrap_PrintDialog_GetPrintDC, METH_O, NULL},
32588 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
32589 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit, METH_VARARGS, NULL},
32590 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
32591 { (char *)"delete_Printer", (PyCFunction)_wrap_delete_Printer, METH_O, NULL},
32592 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32593 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
32594 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
32595 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
32596 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32597 { (char *)"Printer_GetPrintDialogData", (PyCFunction)_wrap_Printer_GetPrintDialogData, METH_O, NULL},
32598 { (char *)"Printer_GetAbort", (PyCFunction)_wrap_Printer_GetAbort, METH_O, NULL},
32599 { (char *)"Printer_GetLastError", (PyCFunction)_wrap_Printer_GetLastError, METH_NOARGS, NULL},
32600 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
32601 { (char *)"Printer_swiginit", Printer_swiginit, METH_VARARGS, NULL},
32602 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
32603 { (char *)"delete_Printout", (PyCFunction)_wrap_delete_Printout, METH_O, NULL},
32604 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32605 { (char *)"Printout_GetTitle", (PyCFunction)_wrap_Printout_GetTitle, METH_O, NULL},
32606 { (char *)"Printout_GetDC", (PyCFunction)_wrap_Printout_GetDC, METH_O, NULL},
32607 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
32608 { (char *)"Printout_FitThisSizeToPaper", (PyCFunction) _wrap_Printout_FitThisSizeToPaper, METH_VARARGS | METH_KEYWORDS, NULL},
32609 { (char *)"Printout_FitThisSizeToPage", (PyCFunction) _wrap_Printout_FitThisSizeToPage, METH_VARARGS | METH_KEYWORDS, NULL},
32610 { (char *)"Printout_FitThisSizeToPageMargins", (PyCFunction) _wrap_Printout_FitThisSizeToPageMargins, METH_VARARGS | METH_KEYWORDS, NULL},
32611 { (char *)"Printout_MapScreenSizeToPaper", (PyCFunction)_wrap_Printout_MapScreenSizeToPaper, METH_O, NULL},
32612 { (char *)"Printout_MapScreenSizeToPage", (PyCFunction)_wrap_Printout_MapScreenSizeToPage, METH_O, NULL},
32613 { (char *)"Printout_MapScreenSizeToPageMargins", (PyCFunction) _wrap_Printout_MapScreenSizeToPageMargins, METH_VARARGS | METH_KEYWORDS, NULL},
32614 { (char *)"Printout_MapScreenSizeToDevice", (PyCFunction)_wrap_Printout_MapScreenSizeToDevice, METH_O, NULL},
32615 { (char *)"Printout_GetLogicalPaperRect", (PyCFunction)_wrap_Printout_GetLogicalPaperRect, METH_O, NULL},
32616 { (char *)"Printout_GetLogicalPageRect", (PyCFunction)_wrap_Printout_GetLogicalPageRect, METH_O, NULL},
32617 { (char *)"Printout_GetLogicalPageMarginsRect", (PyCFunction) _wrap_Printout_GetLogicalPageMarginsRect, METH_VARARGS | METH_KEYWORDS, NULL},
32618 { (char *)"Printout_SetLogicalOrigin", (PyCFunction) _wrap_Printout_SetLogicalOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
32619 { (char *)"Printout_OffsetLogicalOrigin", (PyCFunction) _wrap_Printout_OffsetLogicalOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
32620 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
32621 { (char *)"Printout_GetPageSizePixels", (PyCFunction)_wrap_Printout_GetPageSizePixels, METH_O, NULL},
32622 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
32623 { (char *)"Printout_GetPageSizeMM", (PyCFunction)_wrap_Printout_GetPageSizeMM, METH_O, NULL},
32624 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
32625 { (char *)"Printout_GetPPIScreen", (PyCFunction)_wrap_Printout_GetPPIScreen, METH_O, NULL},
32626 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
32627 { (char *)"Printout_GetPPIPrinter", (PyCFunction)_wrap_Printout_GetPPIPrinter, METH_O, NULL},
32628 { (char *)"Printout_SetPaperRectPixels", (PyCFunction) _wrap_Printout_SetPaperRectPixels, METH_VARARGS | METH_KEYWORDS, NULL},
32629 { (char *)"Printout_GetPaperRectPixels", (PyCFunction)_wrap_Printout_GetPaperRectPixels, METH_O, NULL},
32630 { (char *)"Printout_IsPreview", (PyCFunction)_wrap_Printout_IsPreview, METH_O, NULL},
32631 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
32632 { (char *)"Printout_OnBeginDocument", (PyCFunction) _wrap_Printout_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
32633 { (char *)"Printout_OnEndDocument", (PyCFunction)_wrap_Printout_OnEndDocument, METH_O, NULL},
32634 { (char *)"Printout_OnBeginPrinting", (PyCFunction)_wrap_Printout_OnBeginPrinting, METH_O, NULL},
32635 { (char *)"Printout_OnEndPrinting", (PyCFunction)_wrap_Printout_OnEndPrinting, METH_O, NULL},
32636 { (char *)"Printout_OnPreparePrinting", (PyCFunction)_wrap_Printout_OnPreparePrinting, METH_O, NULL},
32637 { (char *)"Printout_HasPage", (PyCFunction) _wrap_Printout_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
32638 { (char *)"Printout_GetPageInfo", (PyCFunction)_wrap_Printout_GetPageInfo, METH_O, NULL},
32639 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
32640 { (char *)"Printout_swiginit", Printout_swiginit, METH_VARARGS, NULL},
32641 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
32642 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
32643 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit, METH_VARARGS, NULL},
32644 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32645 { (char *)"PreviewFrame_Initialize", (PyCFunction)_wrap_PreviewFrame_Initialize, METH_O, NULL},
32646 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction)_wrap_PreviewFrame_CreateControlBar, METH_O, NULL},
32647 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction)_wrap_PreviewFrame_CreateCanvas, METH_O, NULL},
32648 { (char *)"PreviewFrame_GetControlBar", (PyCFunction)_wrap_PreviewFrame_GetControlBar, METH_O, NULL},
32649 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
32650 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit, METH_VARARGS, NULL},
32651 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
32652 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction)_wrap_PreviewControlBar_GetZoomControl, METH_O, NULL},
32653 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
32654 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction)_wrap_PreviewControlBar_GetPrintPreview, METH_O, NULL},
32655 { (char *)"PreviewControlBar_OnNext", (PyCFunction)_wrap_PreviewControlBar_OnNext, METH_O, NULL},
32656 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction)_wrap_PreviewControlBar_OnPrevious, METH_O, NULL},
32657 { (char *)"PreviewControlBar_OnFirst", (PyCFunction)_wrap_PreviewControlBar_OnFirst, METH_O, NULL},
32658 { (char *)"PreviewControlBar_OnLast", (PyCFunction)_wrap_PreviewControlBar_OnLast, METH_O, NULL},
32659 { (char *)"PreviewControlBar_OnGoto", (PyCFunction)_wrap_PreviewControlBar_OnGoto, METH_O, NULL},
32660 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
32661 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit, METH_VARARGS, NULL},
32662 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
32663 { (char *)"delete_PrintPreview", (PyCFunction)_wrap_delete_PrintPreview, METH_O, NULL},
32664 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
32665 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction)_wrap_PrintPreview_GetCurrentPage, METH_O, NULL},
32666 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
32667 { (char *)"PrintPreview_GetPrintout", (PyCFunction)_wrap_PrintPreview_GetPrintout, METH_O, NULL},
32668 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction)_wrap_PrintPreview_GetPrintoutForPrinting, METH_O, NULL},
32669 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32670 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
32671 { (char *)"PrintPreview_GetFrame", (PyCFunction)_wrap_PrintPreview_GetFrame, METH_O, NULL},
32672 { (char *)"PrintPreview_GetCanvas", (PyCFunction)_wrap_PrintPreview_GetCanvas, METH_O, NULL},
32673 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
32674 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
32675 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
32676 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
32677 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction)_wrap_PrintPreview_GetPrintDialogData, METH_O, NULL},
32678 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
32679 { (char *)"PrintPreview_GetZoom", (PyCFunction)_wrap_PrintPreview_GetZoom, METH_O, NULL},
32680 { (char *)"PrintPreview_GetMaxPage", (PyCFunction)_wrap_PrintPreview_GetMaxPage, METH_O, NULL},
32681 { (char *)"PrintPreview_GetMinPage", (PyCFunction)_wrap_PrintPreview_GetMinPage, METH_O, NULL},
32682 { (char *)"PrintPreview_IsOk", (PyCFunction)_wrap_PrintPreview_IsOk, METH_O, NULL},
32683 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
32684 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
32685 { (char *)"PrintPreview_DetermineScaling", (PyCFunction)_wrap_PrintPreview_DetermineScaling, METH_O, NULL},
32686 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
32687 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit, METH_VARARGS, NULL},
32688 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
32689 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32690 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
32691 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit, METH_VARARGS, NULL},
32692 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32693 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32694 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
32695 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
32696 { (char *)"PyPreviewFrame_Initialize", (PyCFunction)_wrap_PyPreviewFrame_Initialize, METH_O, NULL},
32697 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction)_wrap_PyPreviewFrame_CreateCanvas, METH_O, NULL},
32698 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction)_wrap_PyPreviewFrame_CreateControlBar, METH_O, NULL},
32699 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
32700 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit, METH_VARARGS, NULL},
32701 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
32702 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32703 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
32704 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction)_wrap_PyPreviewControlBar_CreateButtons, METH_O, NULL},
32705 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
32706 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
32707 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit, METH_VARARGS, NULL},
32708 { NULL, NULL, 0, NULL }
32709 };
32710
32711
32712 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32713
32714 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
32715 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32716 }
32717 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
32718 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
32719 }
32720 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
32721 return (void *)((wxEvent *) ((wxMenuEvent *) x));
32722 }
32723 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
32724 return (void *)((wxEvent *) ((wxCloseEvent *) x));
32725 }
32726 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
32727 return (void *)((wxEvent *) ((wxMouseEvent *) x));
32728 }
32729 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
32730 return (void *)((wxEvent *) ((wxEraseEvent *) x));
32731 }
32732 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
32733 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
32734 }
32735 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
32736 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
32737 }
32738 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
32739 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
32740 }
32741 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
32742 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
32743 }
32744 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
32745 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
32746 }
32747 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
32748 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
32749 }
32750 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) {
32751 return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x));
32752 }
32753 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
32754 return (void *)((wxEvent *) ((wxPyEvent *) x));
32755 }
32756 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
32757 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
32758 }
32759 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
32760 return (void *)((wxEvent *) ((wxIdleEvent *) x));
32761 }
32762 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
32763 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
32764 }
32765 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
32766 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
32767 }
32768 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
32769 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
32770 }
32771 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
32772 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
32773 }
32774 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
32775 return (void *)((wxEvent *) ((wxActivateEvent *) x));
32776 }
32777 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
32778 return (void *)((wxEvent *) ((wxSizeEvent *) x));
32779 }
32780 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
32781 return (void *)((wxEvent *) ((wxMoveEvent *) x));
32782 }
32783 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
32784 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
32785 }
32786 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
32787 return (void *)((wxEvent *) ((wxPaintEvent *) x));
32788 }
32789 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
32790 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
32791 }
32792 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
32793 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
32794 }
32795 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
32796 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
32797 }
32798 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
32799 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
32800 }
32801 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
32802 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
32803 }
32804 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
32805 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
32806 }
32807 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
32808 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
32809 }
32810 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
32811 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
32812 }
32813 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
32814 return (void *)((wxEvent *) ((wxFocusEvent *) x));
32815 }
32816 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
32817 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
32818 }
32819 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
32820 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
32821 }
32822 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
32823 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
32824 }
32825 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
32826 return (void *)((wxEvent *) ((wxShowEvent *) x));
32827 }
32828 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
32829 return (void *)((wxEvent *) ((wxCommandEvent *) x));
32830 }
32831 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
32832 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
32833 }
32834 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
32835 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32836 }
32837 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
32838 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
32839 }
32840 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
32841 return (void *)((wxEvent *) ((wxKeyEvent *) x));
32842 }
32843 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
32844 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
32845 }
32846 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
32847 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
32848 }
32849 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
32850 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
32851 }
32852 static void *_p_wxSimpleHtmlListBoxTo_p_wxItemContainer(void *x) {
32853 return (void *)((wxItemContainer *) ((wxSimpleHtmlListBox *) x));
32854 }
32855 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
32856 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
32857 }
32858 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
32859 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32860 }
32861 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
32862 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32863 }
32864 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
32865 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32866 }
32867 static void *_p_wxEventBlockerTo_p_wxEvtHandler(void *x) {
32868 return (void *)((wxEvtHandler *) ((wxEventBlocker *) x));
32869 }
32870 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
32871 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
32872 }
32873 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
32874 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
32875 }
32876 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
32877 return (void *)((wxEvtHandler *) ((wxValidator *) x));
32878 }
32879 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
32880 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
32881 }
32882 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
32883 return (void *)((wxEvtHandler *) ((wxMenu *) x));
32884 }
32885 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
32886 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32887 }
32888 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
32889 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32890 }
32891 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
32892 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32893 }
32894 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
32895 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32896 }
32897 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
32898 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32899 }
32900 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) {
32901 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
32902 }
32903 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
32904 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32905 }
32906 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
32907 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32908 }
32909 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
32910 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32911 }
32912 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
32913 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
32914 }
32915 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
32916 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
32917 }
32918 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
32919 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
32920 }
32921 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
32922 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32923 }
32924 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
32925 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32926 }
32927 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
32928 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
32929 }
32930 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
32931 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
32932 }
32933 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
32934 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
32935 }
32936 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
32937 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
32938 }
32939 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
32940 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
32941 }
32942 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
32943 return (void *)((wxEvtHandler *) ((wxWindow *) x));
32944 }
32945 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
32946 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
32947 }
32948 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
32949 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
32950 }
32951 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
32952 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
32953 }
32954 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
32955 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32956 }
32957 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
32958 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
32959 }
32960 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
32961 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32962 }
32963 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
32964 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32965 }
32966 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
32967 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32968 }
32969 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
32970 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
32971 }
32972 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
32973 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32974 }
32975 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
32976 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
32977 }
32978 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
32979 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32980 }
32981 static void *_p_wxSimpleHtmlListBoxTo_p_wxEvtHandler(void *x) {
32982 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
32983 }
32984 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
32985 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32986 }
32987 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
32988 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32989 }
32990 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
32991 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
32992 }
32993 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
32994 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32995 }
32996 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
32997 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
32998 }
32999 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
33000 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
33001 }
33002 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
33003 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
33004 }
33005 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
33006 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
33007 }
33008 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
33009 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
33010 }
33011 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
33012 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
33013 }
33014 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
33015 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
33016 }
33017 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
33018 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
33019 }
33020 static void *_p_wxSimpleHtmlListBoxTo_p_wxPyVListBox(void *x) {
33021 return (void *)((wxPyVListBox *) (wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
33022 }
33023 static void *_p_wxSimpleHtmlListBoxTo_p_wxPyHtmlListBox(void *x) {
33024 return (void *)((wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
33025 }
33026 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
33027 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
33028 }
33029 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
33030 return (void *)((wxFrame *) ((wxProgressDialog *) x));
33031 }
33032 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
33033 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
33034 }
33035 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
33036 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
33037 }
33038 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
33039 return (void *)((wxFrame *) ((wxMiniFrame *) x));
33040 }
33041 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
33042 return (void *)((wxFrame *) ((wxSplashScreen *) x));
33043 }
33044 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
33045 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
33046 }
33047 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
33048 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
33049 }
33050 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
33051 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
33052 }
33053 static void *_p_wxEventBlockerTo_p_wxObject(void *x) {
33054 return (void *)((wxObject *) (wxEvtHandler *) ((wxEventBlocker *) x));
33055 }
33056 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
33057 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
33058 }
33059 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
33060 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
33061 }
33062 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
33063 return (void *)((wxObject *) ((wxSizerItem *) x));
33064 }
33065 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
33066 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
33067 }
33068 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
33069 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
33070 }
33071 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
33072 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
33073 }
33074 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
33075 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
33076 }
33077 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
33078 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
33079 }
33080 static void *_p_wxSizerTo_p_wxObject(void *x) {
33081 return (void *)((wxObject *) ((wxSizer *) x));
33082 }
33083 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
33084 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
33085 }
33086 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
33087 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
33088 }
33089 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
33090 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
33091 }
33092 static void *_p_wxEventTo_p_wxObject(void *x) {
33093 return (void *)((wxObject *) ((wxEvent *) x));
33094 }
33095 static void *_p_wxFontDataTo_p_wxObject(void *x) {
33096 return (void *)((wxObject *) ((wxFontData *) x));
33097 }
33098 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
33099 return (void *)((wxObject *) ((wxPrintData *) x));
33100 }
33101 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
33102 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
33103 }
33104 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
33105 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
33106 }
33107 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
33108 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
33109 }
33110 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
33111 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
33112 }
33113 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
33114 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
33115 }
33116 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
33117 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
33118 }
33119 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
33120 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
33121 }
33122 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
33123 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
33124 }
33125 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
33126 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
33127 }
33128 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
33129 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
33130 }
33131 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
33132 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
33133 }
33134 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
33135 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
33136 }
33137 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
33138 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
33139 }
33140 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
33141 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
33142 }
33143 static void *_p_wxControlTo_p_wxObject(void *x) {
33144 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
33145 }
33146 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
33147 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
33148 }
33149 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
33150 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
33151 }
33152 static void *_p_wxFSFileTo_p_wxObject(void *x) {
33153 return (void *)((wxObject *) ((wxFSFile *) x));
33154 }
33155 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
33156 return (void *)((wxObject *) ((wxFindReplaceData *) x));
33157 }
33158 static void *_p_wxPySizerTo_p_wxObject(void *x) {
33159 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
33160 }
33161 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
33162 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
33163 }
33164 static void *_p_wxColourDataTo_p_wxObject(void *x) {
33165 return (void *)((wxObject *) ((wxColourData *) x));
33166 }
33167 static void *_p_wxPyEventTo_p_wxObject(void *x) {
33168 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
33169 }
33170 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
33171 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
33172 }
33173 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
33174 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
33175 }
33176 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
33177 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
33178 }
33179 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
33180 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
33181 }
33182 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
33183 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
33184 }
33185 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
33186 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
33187 }
33188 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
33189 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
33190 }
33191 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
33192 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
33193 }
33194 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) {
33195 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
33196 }
33197 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
33198 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
33199 }
33200 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
33201 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
33202 }
33203 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
33204 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
33205 }
33206 static void *_p_wxShowEventTo_p_wxObject(void *x) {
33207 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
33208 }
33209 static void *_p_wxPrinterTo_p_wxObject(void *x) {
33210 return (void *)((wxObject *) ((wxPrinter *) x));
33211 }
33212 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
33213 return (void *)((wxObject *) ((wxMenuItem *) x));
33214 }
33215 static void *_p_wxDateEventTo_p_wxObject(void *x) {
33216 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
33217 }
33218 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
33219 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
33220 }
33221 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
33222 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
33223 }
33224 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
33225 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
33226 }
33227 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
33228 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
33229 }
33230 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
33231 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
33232 }
33233 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
33234 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
33235 }
33236 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
33237 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
33238 }
33239 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
33240 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
33241 }
33242 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
33243 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
33244 }
33245 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
33246 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
33247 }
33248 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
33249 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
33250 }
33251 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
33252 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
33253 }
33254 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
33255 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
33256 }
33257 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
33258 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
33259 }
33260 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
33261 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
33262 }
33263 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
33264 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
33265 }
33266 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
33267 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
33268 }
33269 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
33270 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
33271 }
33272 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
33273 return (void *)((wxObject *) ((wxImageHandler *) x));
33274 }
33275 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
33276 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
33277 }
33278 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
33279 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
33280 }
33281 static void *_p_wxTGAHandlerTo_p_wxObject(void *x) {
33282 return (void *)((wxObject *) (wxImageHandler *) ((wxTGAHandler *) x));
33283 }
33284 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
33285 return (void *)((wxObject *) ((wxEvtHandler *) x));
33286 }
33287 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) {
33288 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x));
33289 }
33290 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
33291 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
33292 }
33293 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
33294 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33295 }
33296 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
33297 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
33298 }
33299 static void *_p_wxSimpleHtmlListBoxTo_p_wxObject(void *x) {
33300 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
33301 }
33302 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
33303 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
33304 }
33305 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
33306 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
33307 }
33308 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
33309 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
33310 }
33311 static void *_p_wxImageTo_p_wxObject(void *x) {
33312 return (void *)((wxObject *) ((wxImage *) x));
33313 }
33314 static void *_p_wxFrameTo_p_wxObject(void *x) {
33315 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
33316 }
33317 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
33318 return (void *)((wxObject *) ((wxPyPrintout *) x));
33319 }
33320 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
33321 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
33322 }
33323 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
33324 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
33325 }
33326 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
33327 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
33328 }
33329 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
33330 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
33331 }
33332 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
33333 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
33334 }
33335 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
33336 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
33337 }
33338 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
33339 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
33340 }
33341 static void *_p_wxWindowTo_p_wxObject(void *x) {
33342 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
33343 }
33344 static void *_p_wxMenuTo_p_wxObject(void *x) {
33345 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
33346 }
33347 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
33348 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
33349 }
33350 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
33351 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
33352 }
33353 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
33354 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
33355 }
33356 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
33357 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
33358 }
33359 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
33360 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
33361 }
33362 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
33363 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
33364 }
33365 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
33366 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
33367 }
33368 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
33369 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
33370 }
33371 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
33372 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
33373 }
33374 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
33375 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
33376 }
33377 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
33378 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
33379 }
33380 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
33381 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
33382 }
33383 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
33384 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33385 }
33386 static void *_p_wxSashEventTo_p_wxObject(void *x) {
33387 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
33388 }
33389 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
33390 return (void *)((wxObject *) ((wxPrintPreview *) x));
33391 }
33392 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
33393 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
33394 }
33395 static void *_p_wxPanelTo_p_wxObject(void *x) {
33396 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
33397 }
33398 static void *_p_wxDialogTo_p_wxObject(void *x) {
33399 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
33400 }
33401 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
33402 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
33403 }
33404 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
33405 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
33406 }
33407 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
33408 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
33409 }
33410 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
33411 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
33412 }
33413 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
33414 return (void *)((wxObject *) ((wxPrintDialog *) x));
33415 }
33416 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
33417 return (void *)((wxObject *) ((wxFileSystem *) x));
33418 }
33419 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
33420 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
33421 }
33422 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
33423 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
33424 }
33425 static void *_p_wxPyAppTo_p_wxObject(void *x) {
33426 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
33427 }
33428 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
33429 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
33430 }
33431 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
33432 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
33433 }
33434 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
33435 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
33436 }
33437 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
33438 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
33439 }
33440 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
33441 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
33442 }
33443 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
33444 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
33445 }
33446 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
33447 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33448 }
33449 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
33450 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
33451 }
33452 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
33453 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
33454 }
33455 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
33456 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
33457 }
33458 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
33459 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
33460 }
33461 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
33462 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
33463 }
33464 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
33465 return (void *)((wxObject *) ((wxPrintDialogData *) x));
33466 }
33467 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
33468 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
33469 }
33470 static void *_p_wxValidatorTo_p_wxObject(void *x) {
33471 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
33472 }
33473 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
33474 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33475 }
33476 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
33477 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
33478 }
33479 static void *_p_wxSimpleHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
33480 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
33481 }
33482 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
33483 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
33484 }
33485 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
33486 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
33487 }
33488 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
33489 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
33490 }
33491 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
33492 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
33493 }
33494 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
33495 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
33496 }
33497 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
33498 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
33499 }
33500 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
33501 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
33502 }
33503 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
33504 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
33505 }
33506 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
33507 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
33508 }
33509 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
33510 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
33511 }
33512 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
33513 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
33514 }
33515 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
33516 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
33517 }
33518 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
33519 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
33520 }
33521 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
33522 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
33523 }
33524 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x) {
33525 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxNumberEntryDialog *) x));
33526 }
33527 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
33528 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
33529 }
33530 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
33531 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
33532 }
33533 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
33534 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
33535 }
33536 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
33537 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
33538 }
33539 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
33540 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
33541 }
33542 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
33543 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
33544 }
33545 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
33546 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
33547 }
33548 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
33549 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
33550 }
33551 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
33552 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
33553 }
33554 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
33555 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
33556 }
33557 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
33558 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
33559 }
33560 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
33561 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
33562 }
33563 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
33564 return (void *)((wxWindow *) ((wxMenuBar *) x));
33565 }
33566 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
33567 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
33568 }
33569 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
33570 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
33571 }
33572 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
33573 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
33574 }
33575 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) {
33576 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
33577 }
33578 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
33579 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
33580 }
33581 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
33582 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
33583 }
33584 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
33585 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
33586 }
33587 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
33588 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
33589 }
33590 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
33591 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
33592 }
33593 static void *_p_wxPanelTo_p_wxWindow(void *x) {
33594 return (void *)((wxWindow *) ((wxPanel *) x));
33595 }
33596 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
33597 return (void *)((wxWindow *) ((wxStatusBar *) x));
33598 }
33599 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
33600 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
33601 }
33602 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
33603 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
33604 }
33605 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
33606 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
33607 }
33608 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
33609 return (void *)((wxWindow *) ((wxPopupWindow *) x));
33610 }
33611 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
33612 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
33613 }
33614 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
33615 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
33616 }
33617 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
33618 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
33619 }
33620 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
33621 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
33622 }
33623 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
33624 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
33625 }
33626 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
33627 return (void *)((wxWindow *) ((wxSashWindow *) x));
33628 }
33629 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
33630 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
33631 }
33632 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
33633 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33634 }
33635 static void *_p_wxControlTo_p_wxWindow(void *x) {
33636 return (void *)((wxWindow *) ((wxControl *) x));
33637 }
33638 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
33639 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
33640 }
33641 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
33642 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
33643 }
33644 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
33645 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
33646 }
33647 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
33648 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
33649 }
33650 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
33651 return (void *)((wxWindow *) ((wxPyWindow *) x));
33652 }
33653 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
33654 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
33655 }
33656 static void *_p_wxSimpleHtmlListBoxTo_p_wxWindow(void *x) {
33657 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
33658 }
33659 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
33660 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
33661 }
33662 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
33663 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33664 }
33665 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
33666 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
33667 }
33668 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
33669 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33670 }
33671 static void *_p_wxFrameTo_p_wxWindow(void *x) {
33672 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
33673 }
33674 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
33675 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
33676 }
33677 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
33678 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
33679 }
33680 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
33681 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
33682 }
33683 static void *_p_wxDialogTo_p_wxWindow(void *x) {
33684 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
33685 }
33686 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
33687 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
33688 }
33689 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
33690 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33691 }
33692 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
33693 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
33694 }
33695 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
33696 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
33697 }
33698 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
33699 return (void *)((wxDialog *) ((wxColourDialog *) x));
33700 }
33701 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
33702 return (void *)((wxDialog *) ((wxDirDialog *) x));
33703 }
33704 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
33705 return (void *)((wxDialog *) ((wxFontDialog *) x));
33706 }
33707 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
33708 return (void *)((wxDialog *) ((wxFileDialog *) x));
33709 }
33710 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
33711 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
33712 }
33713 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
33714 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
33715 }
33716 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
33717 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
33718 }
33719 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
33720 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
33721 }
33722 static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x) {
33723 return (void *)((wxDialog *) ((wxNumberEntryDialog *) x));
33724 }
33725 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
33726 return (void *)((wxDialog *) ((wxMessageDialog *) x));
33727 }
33728 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
33729 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
33730 }
33731 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
33732 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
33733 }
33734 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
33735 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
33736 }
33737 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
33738 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33739 }
33740 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
33741 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33742 }
33743 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
33744 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
33745 }
33746 static void *_p_wxSimpleHtmlListBoxTo_p_wxPanel(void *x) {
33747 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
33748 }
33749 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
33750 return (void *)((wxPanel *) ((wxPyPanel *) x));
33751 }
33752 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
33753 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
33754 }
33755 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
33756 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
33757 }
33758 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
33759 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33760 }
33761 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
33762 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
33763 }
33764 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
33765 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
33766 }
33767 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
33768 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
33769 }
33770 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
33771 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
33772 }
33773 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
33774 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
33775 }
33776 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
33777 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
33778 }
33779 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
33780 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
33781 }
33782 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
33783 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
33784 }
33785 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
33786 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
33787 }
33788 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
33789 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
33790 }
33791 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
33792 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
33793 }
33794 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
33795 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
33796 }
33797 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
33798 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
33799 }
33800 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
33801 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33802 }
33803 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
33804 return (void *)((wxValidator *) ((wxPyValidator *) x));
33805 }
33806 static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
33807 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
33808 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};
33809 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
33810 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
33811 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
33812 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
33813 static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
33814 static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
33815 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
33816 static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
33817 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
33818 static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
33819 static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
33820 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
33821 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
33822 static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
33823 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
33824 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
33825 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
33826 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
33827 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
33828 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
33829 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
33830 static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
33831 static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
33832 static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
33833 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
33834 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
33835 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
33836 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
33837 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
33838 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
33839 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
33840 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
33841 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
33842 static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
33843 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
33844 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
33845 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
33846 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
33847 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
33848 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
33849 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
33850 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
33851 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
33852 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
33853 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
33854 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
33855 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
33856 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
33857 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
33858 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
33859 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
33860 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
33861 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
33862 static swig_type_info _swigt__p_wxEventBlocker = {"_p_wxEventBlocker", 0, 0, 0, 0, 0};
33863 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
33864 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0};
33865 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
33866 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
33867 static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
33868 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
33869 static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
33870 static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
33871 static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
33872 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
33873 static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
33874 static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
33875 static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
33876 static swig_type_info _swigt__p_wxHtmlLinkInfo = {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
33877 static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
33878 static swig_type_info _swigt__p_wxIconBundle = {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
33879 static swig_type_info _swigt__p_wxItemContainer = {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
33880 static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
33881 static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
33882 static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
33883 static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
33884 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
33885 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
33886 static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
33887 static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
33888 static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
33889 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
33890 static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
33891 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
33892 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
33893 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
33894 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
33895 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
33896 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
33897 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
33898 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
33899 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
33900 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
33901 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
33902 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
33903 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
33904 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
33905 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
33906 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
33907 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
33908 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
33909 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
33910 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
33911 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
33912 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
33913 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
33914 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
33915 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
33916 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
33917 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
33918 static swig_type_info _swigt__p_wxTGAHandler = {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
33919 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
33920 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
33921 static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
33922 static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
33923 static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
33924 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
33925 static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
33926 static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
33927 static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
33928 static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
33929 static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
33930 static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
33931 static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
33932 static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
33933 static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
33934 static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
33935 static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
33936 static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
33937 static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
33938 static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
33939 static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
33940 static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
33941 static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
33942 static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
33943 static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
33944 static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
33945 static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
33946 static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
33947 static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
33948 static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
33949 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
33950 static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
33951 static swig_type_info _swigt__p_wxRegion = {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
33952 static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
33953 static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
33954 static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
33955 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
33956 static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
33957 static swig_type_info _swigt__p_wxSimpleHtmlListBox = {"_p_wxSimpleHtmlListBox", "wxSimpleHtmlListBox *", 0, 0, (void*)0, 0};
33958 static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
33959 static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
33960 static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
33961 static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
33962 static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
33963 static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
33964 static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
33965 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
33966 static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
33967 static swig_type_info _swigt__p_wxTaskBarIcon = {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
33968 static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
33969 static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
33970 static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
33971 static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
33972 static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
33973 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
33974 static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
33975 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
33976
33977 static swig_type_info *swig_type_initial[] = {
33978 &_swigt__p_bool,
33979 &_swigt__p_char,
33980 &_swigt__p_form_ops_t,
33981 &_swigt__p_int,
33982 &_swigt__p_unsigned_char,
33983 &_swigt__p_unsigned_int,
33984 &_swigt__p_unsigned_long,
33985 &_swigt__p_wxANIHandler,
33986 &_swigt__p_wxAcceleratorTable,
33987 &_swigt__p_wxActivateEvent,
33988 &_swigt__p_wxArrayInt,
33989 &_swigt__p_wxArrayString,
33990 &_swigt__p_wxBMPHandler,
33991 &_swigt__p_wxBitmap,
33992 &_swigt__p_wxBoxSizer,
33993 &_swigt__p_wxCURHandler,
33994 &_swigt__p_wxCalculateLayoutEvent,
33995 &_swigt__p_wxChildFocusEvent,
33996 &_swigt__p_wxClipboardTextEvent,
33997 &_swigt__p_wxCloseEvent,
33998 &_swigt__p_wxColour,
33999 &_swigt__p_wxColourData,
34000 &_swigt__p_wxColourDialog,
34001 &_swigt__p_wxCommandEvent,
34002 &_swigt__p_wxContextMenuEvent,
34003 &_swigt__p_wxControl,
34004 &_swigt__p_wxControlWithItems,
34005 &_swigt__p_wxDC,
34006 &_swigt__p_wxDateEvent,
34007 &_swigt__p_wxDialog,
34008 &_swigt__p_wxDirDialog,
34009 &_swigt__p_wxDisplayChangedEvent,
34010 &_swigt__p_wxDropFilesEvent,
34011 &_swigt__p_wxDuplexMode,
34012 &_swigt__p_wxEraseEvent,
34013 &_swigt__p_wxEvent,
34014 &_swigt__p_wxEventBlocker,
34015 &_swigt__p_wxEvtHandler,
34016 &_swigt__p_wxFSFile,
34017 &_swigt__p_wxFileDialog,
34018 &_swigt__p_wxFileSystem,
34019 &_swigt__p_wxFindDialogEvent,
34020 &_swigt__p_wxFindReplaceData,
34021 &_swigt__p_wxFindReplaceDialog,
34022 &_swigt__p_wxFlexGridSizer,
34023 &_swigt__p_wxFocusEvent,
34024 &_swigt__p_wxFont,
34025 &_swigt__p_wxFontData,
34026 &_swigt__p_wxFontDialog,
34027 &_swigt__p_wxFrame,
34028 &_swigt__p_wxGBSizerItem,
34029 &_swigt__p_wxGIFHandler,
34030 &_swigt__p_wxGridBagSizer,
34031 &_swigt__p_wxGridSizer,
34032 &_swigt__p_wxHtmlLinkInfo,
34033 &_swigt__p_wxICOHandler,
34034 &_swigt__p_wxIcon,
34035 &_swigt__p_wxIconBundle,
34036 &_swigt__p_wxIconizeEvent,
34037 &_swigt__p_wxIdleEvent,
34038 &_swigt__p_wxImage,
34039 &_swigt__p_wxImageHandler,
34040 &_swigt__p_wxIndividualLayoutConstraint,
34041 &_swigt__p_wxInitDialogEvent,
34042 &_swigt__p_wxItemContainer,
34043 &_swigt__p_wxJPEGHandler,
34044 &_swigt__p_wxKeyEvent,
34045 &_swigt__p_wxLayoutAlgorithm,
34046 &_swigt__p_wxLayoutConstraints,
34047 &_swigt__p_wxMDIChildFrame,
34048 &_swigt__p_wxMDIClientWindow,
34049 &_swigt__p_wxMDIParentFrame,
34050 &_swigt__p_wxMaximizeEvent,
34051 &_swigt__p_wxMenu,
34052 &_swigt__p_wxMenuBar,
34053 &_swigt__p_wxMenuEvent,
34054 &_swigt__p_wxMenuItem,
34055 &_swigt__p_wxMessageDialog,
34056 &_swigt__p_wxMiniFrame,
34057 &_swigt__p_wxMouseCaptureChangedEvent,
34058 &_swigt__p_wxMouseCaptureLostEvent,
34059 &_swigt__p_wxMouseEvent,
34060 &_swigt__p_wxMoveEvent,
34061 &_swigt__p_wxMultiChoiceDialog,
34062 &_swigt__p_wxNavigationKeyEvent,
34063 &_swigt__p_wxNcPaintEvent,
34064 &_swigt__p_wxNotifyEvent,
34065 &_swigt__p_wxNumberEntryDialog,
34066 &_swigt__p_wxObject,
34067 &_swigt__p_wxPCXHandler,
34068 &_swigt__p_wxPNGHandler,
34069 &_swigt__p_wxPNMHandler,
34070 &_swigt__p_wxPageSetupDialog,
34071 &_swigt__p_wxPageSetupDialogData,
34072 &_swigt__p_wxPaintEvent,
34073 &_swigt__p_wxPaletteChangedEvent,
34074 &_swigt__p_wxPanel,
34075 &_swigt__p_wxPaperSize,
34076 &_swigt__p_wxPasswordEntryDialog,
34077 &_swigt__p_wxPoint,
34078 &_swigt__p_wxPopupWindow,
34079 &_swigt__p_wxPreviewCanvas,
34080 &_swigt__p_wxPreviewControlBar,
34081 &_swigt__p_wxPreviewFrame,
34082 &_swigt__p_wxPrintData,
34083 &_swigt__p_wxPrintDialog,
34084 &_swigt__p_wxPrintDialogData,
34085 &_swigt__p_wxPrintPreview,
34086 &_swigt__p_wxPrinter,
34087 &_swigt__p_wxProgressDialog,
34088 &_swigt__p_wxPyApp,
34089 &_swigt__p_wxPyCommandEvent,
34090 &_swigt__p_wxPyEvent,
34091 &_swigt__p_wxPyHtmlListBox,
34092 &_swigt__p_wxPyImageHandler,
34093 &_swigt__p_wxPyPanel,
34094 &_swigt__p_wxPyPopupTransientWindow,
34095 &_swigt__p_wxPyPreviewControlBar,
34096 &_swigt__p_wxPyPreviewFrame,
34097 &_swigt__p_wxPyPrintPreview,
34098 &_swigt__p_wxPyPrintout,
34099 &_swigt__p_wxPyScrolledWindow,
34100 &_swigt__p_wxPySizer,
34101 &_swigt__p_wxPyTaskBarIcon,
34102 &_swigt__p_wxPyVListBox,
34103 &_swigt__p_wxPyVScrolledWindow,
34104 &_swigt__p_wxPyValidator,
34105 &_swigt__p_wxPyWindow,
34106 &_swigt__p_wxQueryLayoutInfoEvent,
34107 &_swigt__p_wxQueryNewPaletteEvent,
34108 &_swigt__p_wxRect,
34109 &_swigt__p_wxRegion,
34110 &_swigt__p_wxSashEvent,
34111 &_swigt__p_wxSashLayoutWindow,
34112 &_swigt__p_wxSashWindow,
34113 &_swigt__p_wxScrollEvent,
34114 &_swigt__p_wxScrollWinEvent,
34115 &_swigt__p_wxScrolledWindow,
34116 &_swigt__p_wxSetCursorEvent,
34117 &_swigt__p_wxShowEvent,
34118 &_swigt__p_wxSimpleHtmlListBox,
34119 &_swigt__p_wxSingleChoiceDialog,
34120 &_swigt__p_wxSize,
34121 &_swigt__p_wxSizeEvent,
34122 &_swigt__p_wxSizer,
34123 &_swigt__p_wxSizerItem,
34124 &_swigt__p_wxSplashScreen,
34125 &_swigt__p_wxSplashScreenWindow,
34126 &_swigt__p_wxSplitterEvent,
34127 &_swigt__p_wxSplitterWindow,
34128 &_swigt__p_wxStaticBoxSizer,
34129 &_swigt__p_wxStatusBar,
34130 &_swigt__p_wxStdDialogButtonSizer,
34131 &_swigt__p_wxString,
34132 &_swigt__p_wxSysColourChangedEvent,
34133 &_swigt__p_wxTGAHandler,
34134 &_swigt__p_wxTIFFHandler,
34135 &_swigt__p_wxTaskBarIcon,
34136 &_swigt__p_wxTaskBarIconEvent,
34137 &_swigt__p_wxTextEntryDialog,
34138 &_swigt__p_wxTipWindow,
34139 &_swigt__p_wxToolBar,
34140 &_swigt__p_wxTopLevelWindow,
34141 &_swigt__p_wxUpdateUIEvent,
34142 &_swigt__p_wxValidator,
34143 &_swigt__p_wxVisualAttributes,
34144 &_swigt__p_wxWindow,
34145 &_swigt__p_wxWindowCreateEvent,
34146 &_swigt__p_wxWindowDestroyEvent,
34147 &_swigt__p_wxXPMHandler,
34148 };
34149
34150 static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
34151 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
34152 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
34153 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
34154 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
34155 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
34156 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
34157 static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
34158 static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}};
34159 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
34160 static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = { {&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
34161 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
34162 static swig_cast_info _swigc__p_wxColourData[] = { {&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
34163 static swig_cast_info _swigc__p_wxColourDialog[] = { {&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
34164 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
34165 static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
34166 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
34167 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
34168 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
34169 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
34170 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
34171 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
34172 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
34173 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}};
34174 static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
34175 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}};
34176 static swig_cast_info _swigc__p_wxDirDialog[] = { {&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
34177 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
34178 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
34179 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
34180 static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
34181 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
34182 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
34183 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
34184 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
34185 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}};
34186 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
34187 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
34188 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
34189 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
34190 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
34191 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
34192 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
34193 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
34194 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
34195 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
34196 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
34197 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
34198 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
34199 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
34200 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
34201 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
34202 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
34203 static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
34204 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}};
34205 static swig_cast_info _swigc__p_wxEventBlocker[] = {{&_swigt__p_wxEventBlocker, 0, 0, 0},{0, 0, 0, 0}};
34206 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
34207 static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
34208 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
34209 static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
34210 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_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_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}};
34211 static swig_cast_info _swigc__p_wxFileDialog[] = { {&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
34212 static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
34213 static swig_cast_info _swigc__p_wxFindDialogEvent[] = { {&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
34214 static swig_cast_info _swigc__p_wxFindReplaceData[] = { {&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
34215 static swig_cast_info _swigc__p_wxFindReplaceDialog[] = { {&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
34216 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
34217 static swig_cast_info _swigc__p_wxFontData[] = { {&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
34218 static swig_cast_info _swigc__p_wxFontDialog[] = { {&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
34219 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}};
34220 static swig_cast_info _swigc__p_wxHtmlLinkInfo[] = { {&_swigt__p_wxHtmlLinkInfo, 0, 0, 0},{0, 0, 0, 0}};
34221 static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
34222 static swig_cast_info _swigc__p_wxIconBundle[] = { {&_swigt__p_wxIconBundle, 0, 0, 0},{0, 0, 0, 0}};
34223 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}};
34224 static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = { {&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
34225 static swig_cast_info _swigc__p_wxMDIChildFrame[] = { {&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
34226 static swig_cast_info _swigc__p_wxMDIClientWindow[] = { {&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
34227 static swig_cast_info _swigc__p_wxMDIParentFrame[] = { {&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
34228 static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
34229 static swig_cast_info _swigc__p_wxMenuBar[] = { {&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
34230 static swig_cast_info _swigc__p_wxMessageDialog[] = { {&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
34231 static swig_cast_info _swigc__p_wxMiniFrame[] = { {&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
34232 static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = { {&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
34233 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}};
34234 static swig_cast_info _swigc__p_wxNumberEntryDialog[] = { {&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
34235 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
34236 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
34237 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
34238 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
34239 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
34240 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
34241 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
34242 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
34243 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
34244 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
34245 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
34246 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
34247 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
34248 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
34249 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
34250 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
34251 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
34252 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
34253 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
34254 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
34255 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
34256 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
34257 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
34258 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
34259 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
34260 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
34261 static swig_cast_info _swigc__p_wxTGAHandler[] = {{&_swigt__p_wxTGAHandler, 0, 0, 0},{0, 0, 0, 0}};
34262 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
34263 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
34264 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_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}};
34265 static swig_cast_info _swigc__p_wxPageSetupDialog[] = { {&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
34266 static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
34267 static swig_cast_info _swigc__p_wxPanel[] = { {&_swigt__p_wxPanel, 0, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_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}};
34268 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
34269 static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = { {&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
34270 static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
34271 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}};
34272 static swig_cast_info _swigc__p_wxPreviewCanvas[] = { {&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
34273 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}};
34274 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}};
34275 static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
34276 static swig_cast_info _swigc__p_wxPrintDialog[] = { {&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
34277 static swig_cast_info _swigc__p_wxPrintDialogData[] = { {&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
34278 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}};
34279 static swig_cast_info _swigc__p_wxPrinter[] = { {&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
34280 static swig_cast_info _swigc__p_wxProgressDialog[] = { {&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
34281 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}};
34282 static swig_cast_info _swigc__p_wxPyPanel[] = { {&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
34283 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}};
34284 static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = { {&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
34285 static swig_cast_info _swigc__p_wxPyPreviewFrame[] = { {&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
34286 static swig_cast_info _swigc__p_wxPyPrintPreview[] = { {&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
34287 static swig_cast_info _swigc__p_wxPyPrintout[] = { {&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
34288 static swig_cast_info _swigc__p_wxPyScrolledWindow[] = { {&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
34289 static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = { {&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
34290 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}};
34291 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}};
34292 static swig_cast_info _swigc__p_wxPyWindow[] = { {&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
34293 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = { {&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
34294 static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
34295 static swig_cast_info _swigc__p_wxRegion[] = { {&_swigt__p_wxRegion, 0, 0, 0},{0, 0, 0, 0}};
34296 static swig_cast_info _swigc__p_wxSashEvent[] = { {&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
34297 static swig_cast_info _swigc__p_wxSashLayoutWindow[] = { {&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
34298 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}};
34299 static swig_cast_info _swigc__p_wxScrollWinEvent[] = { {&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
34300 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}};
34301 static swig_cast_info _swigc__p_wxSimpleHtmlListBox[] = { {&_swigt__p_wxSimpleHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
34302 static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = { {&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
34303 static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
34304 static swig_cast_info _swigc__p_wxSplashScreen[] = { {&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
34305 static swig_cast_info _swigc__p_wxSplashScreenWindow[] = { {&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
34306 static swig_cast_info _swigc__p_wxSplitterEvent[] = { {&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
34307 static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
34308 static swig_cast_info _swigc__p_wxStatusBar[] = { {&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
34309 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = { {&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
34310 static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
34311 static swig_cast_info _swigc__p_wxTaskBarIcon[] = { {&_swigt__p_wxTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
34312 static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = { {&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
34313 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}};
34314 static swig_cast_info _swigc__p_wxTipWindow[] = { {&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
34315 static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
34316 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}};
34317 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}};
34318 static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
34319 static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_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}};
34320
34321 static swig_cast_info *swig_cast_initial[] = {
34322 _swigc__p_bool,
34323 _swigc__p_char,
34324 _swigc__p_form_ops_t,
34325 _swigc__p_int,
34326 _swigc__p_unsigned_char,
34327 _swigc__p_unsigned_int,
34328 _swigc__p_unsigned_long,
34329 _swigc__p_wxANIHandler,
34330 _swigc__p_wxAcceleratorTable,
34331 _swigc__p_wxActivateEvent,
34332 _swigc__p_wxArrayInt,
34333 _swigc__p_wxArrayString,
34334 _swigc__p_wxBMPHandler,
34335 _swigc__p_wxBitmap,
34336 _swigc__p_wxBoxSizer,
34337 _swigc__p_wxCURHandler,
34338 _swigc__p_wxCalculateLayoutEvent,
34339 _swigc__p_wxChildFocusEvent,
34340 _swigc__p_wxClipboardTextEvent,
34341 _swigc__p_wxCloseEvent,
34342 _swigc__p_wxColour,
34343 _swigc__p_wxColourData,
34344 _swigc__p_wxColourDialog,
34345 _swigc__p_wxCommandEvent,
34346 _swigc__p_wxContextMenuEvent,
34347 _swigc__p_wxControl,
34348 _swigc__p_wxControlWithItems,
34349 _swigc__p_wxDC,
34350 _swigc__p_wxDateEvent,
34351 _swigc__p_wxDialog,
34352 _swigc__p_wxDirDialog,
34353 _swigc__p_wxDisplayChangedEvent,
34354 _swigc__p_wxDropFilesEvent,
34355 _swigc__p_wxDuplexMode,
34356 _swigc__p_wxEraseEvent,
34357 _swigc__p_wxEvent,
34358 _swigc__p_wxEventBlocker,
34359 _swigc__p_wxEvtHandler,
34360 _swigc__p_wxFSFile,
34361 _swigc__p_wxFileDialog,
34362 _swigc__p_wxFileSystem,
34363 _swigc__p_wxFindDialogEvent,
34364 _swigc__p_wxFindReplaceData,
34365 _swigc__p_wxFindReplaceDialog,
34366 _swigc__p_wxFlexGridSizer,
34367 _swigc__p_wxFocusEvent,
34368 _swigc__p_wxFont,
34369 _swigc__p_wxFontData,
34370 _swigc__p_wxFontDialog,
34371 _swigc__p_wxFrame,
34372 _swigc__p_wxGBSizerItem,
34373 _swigc__p_wxGIFHandler,
34374 _swigc__p_wxGridBagSizer,
34375 _swigc__p_wxGridSizer,
34376 _swigc__p_wxHtmlLinkInfo,
34377 _swigc__p_wxICOHandler,
34378 _swigc__p_wxIcon,
34379 _swigc__p_wxIconBundle,
34380 _swigc__p_wxIconizeEvent,
34381 _swigc__p_wxIdleEvent,
34382 _swigc__p_wxImage,
34383 _swigc__p_wxImageHandler,
34384 _swigc__p_wxIndividualLayoutConstraint,
34385 _swigc__p_wxInitDialogEvent,
34386 _swigc__p_wxItemContainer,
34387 _swigc__p_wxJPEGHandler,
34388 _swigc__p_wxKeyEvent,
34389 _swigc__p_wxLayoutAlgorithm,
34390 _swigc__p_wxLayoutConstraints,
34391 _swigc__p_wxMDIChildFrame,
34392 _swigc__p_wxMDIClientWindow,
34393 _swigc__p_wxMDIParentFrame,
34394 _swigc__p_wxMaximizeEvent,
34395 _swigc__p_wxMenu,
34396 _swigc__p_wxMenuBar,
34397 _swigc__p_wxMenuEvent,
34398 _swigc__p_wxMenuItem,
34399 _swigc__p_wxMessageDialog,
34400 _swigc__p_wxMiniFrame,
34401 _swigc__p_wxMouseCaptureChangedEvent,
34402 _swigc__p_wxMouseCaptureLostEvent,
34403 _swigc__p_wxMouseEvent,
34404 _swigc__p_wxMoveEvent,
34405 _swigc__p_wxMultiChoiceDialog,
34406 _swigc__p_wxNavigationKeyEvent,
34407 _swigc__p_wxNcPaintEvent,
34408 _swigc__p_wxNotifyEvent,
34409 _swigc__p_wxNumberEntryDialog,
34410 _swigc__p_wxObject,
34411 _swigc__p_wxPCXHandler,
34412 _swigc__p_wxPNGHandler,
34413 _swigc__p_wxPNMHandler,
34414 _swigc__p_wxPageSetupDialog,
34415 _swigc__p_wxPageSetupDialogData,
34416 _swigc__p_wxPaintEvent,
34417 _swigc__p_wxPaletteChangedEvent,
34418 _swigc__p_wxPanel,
34419 _swigc__p_wxPaperSize,
34420 _swigc__p_wxPasswordEntryDialog,
34421 _swigc__p_wxPoint,
34422 _swigc__p_wxPopupWindow,
34423 _swigc__p_wxPreviewCanvas,
34424 _swigc__p_wxPreviewControlBar,
34425 _swigc__p_wxPreviewFrame,
34426 _swigc__p_wxPrintData,
34427 _swigc__p_wxPrintDialog,
34428 _swigc__p_wxPrintDialogData,
34429 _swigc__p_wxPrintPreview,
34430 _swigc__p_wxPrinter,
34431 _swigc__p_wxProgressDialog,
34432 _swigc__p_wxPyApp,
34433 _swigc__p_wxPyCommandEvent,
34434 _swigc__p_wxPyEvent,
34435 _swigc__p_wxPyHtmlListBox,
34436 _swigc__p_wxPyImageHandler,
34437 _swigc__p_wxPyPanel,
34438 _swigc__p_wxPyPopupTransientWindow,
34439 _swigc__p_wxPyPreviewControlBar,
34440 _swigc__p_wxPyPreviewFrame,
34441 _swigc__p_wxPyPrintPreview,
34442 _swigc__p_wxPyPrintout,
34443 _swigc__p_wxPyScrolledWindow,
34444 _swigc__p_wxPySizer,
34445 _swigc__p_wxPyTaskBarIcon,
34446 _swigc__p_wxPyVListBox,
34447 _swigc__p_wxPyVScrolledWindow,
34448 _swigc__p_wxPyValidator,
34449 _swigc__p_wxPyWindow,
34450 _swigc__p_wxQueryLayoutInfoEvent,
34451 _swigc__p_wxQueryNewPaletteEvent,
34452 _swigc__p_wxRect,
34453 _swigc__p_wxRegion,
34454 _swigc__p_wxSashEvent,
34455 _swigc__p_wxSashLayoutWindow,
34456 _swigc__p_wxSashWindow,
34457 _swigc__p_wxScrollEvent,
34458 _swigc__p_wxScrollWinEvent,
34459 _swigc__p_wxScrolledWindow,
34460 _swigc__p_wxSetCursorEvent,
34461 _swigc__p_wxShowEvent,
34462 _swigc__p_wxSimpleHtmlListBox,
34463 _swigc__p_wxSingleChoiceDialog,
34464 _swigc__p_wxSize,
34465 _swigc__p_wxSizeEvent,
34466 _swigc__p_wxSizer,
34467 _swigc__p_wxSizerItem,
34468 _swigc__p_wxSplashScreen,
34469 _swigc__p_wxSplashScreenWindow,
34470 _swigc__p_wxSplitterEvent,
34471 _swigc__p_wxSplitterWindow,
34472 _swigc__p_wxStaticBoxSizer,
34473 _swigc__p_wxStatusBar,
34474 _swigc__p_wxStdDialogButtonSizer,
34475 _swigc__p_wxString,
34476 _swigc__p_wxSysColourChangedEvent,
34477 _swigc__p_wxTGAHandler,
34478 _swigc__p_wxTIFFHandler,
34479 _swigc__p_wxTaskBarIcon,
34480 _swigc__p_wxTaskBarIconEvent,
34481 _swigc__p_wxTextEntryDialog,
34482 _swigc__p_wxTipWindow,
34483 _swigc__p_wxToolBar,
34484 _swigc__p_wxTopLevelWindow,
34485 _swigc__p_wxUpdateUIEvent,
34486 _swigc__p_wxValidator,
34487 _swigc__p_wxVisualAttributes,
34488 _swigc__p_wxWindow,
34489 _swigc__p_wxWindowCreateEvent,
34490 _swigc__p_wxWindowDestroyEvent,
34491 _swigc__p_wxXPMHandler,
34492 };
34493
34494
34495 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
34496
34497 static swig_const_info swig_const_table[] = {
34498 {0, 0, 0, 0.0, 0, 0}};
34499
34500 #ifdef __cplusplus
34501 }
34502 #endif
34503 /* -----------------------------------------------------------------------------
34504 * Type initialization:
34505 * This problem is tough by the requirement that no dynamic
34506 * memory is used. Also, since swig_type_info structures store pointers to
34507 * swig_cast_info structures and swig_cast_info structures store pointers back
34508 * to swig_type_info structures, we need some lookup code at initialization.
34509 * The idea is that swig generates all the structures that are needed.
34510 * The runtime then collects these partially filled structures.
34511 * The SWIG_InitializeModule function takes these initial arrays out of
34512 * swig_module, and does all the lookup, filling in the swig_module.types
34513 * array with the correct data and linking the correct swig_cast_info
34514 * structures together.
34515 *
34516 * The generated swig_type_info structures are assigned staticly to an initial
34517 * array. We just loop though that array, and handle each type individually.
34518 * First we lookup if this type has been already loaded, and if so, use the
34519 * loaded structure instead of the generated one. Then we have to fill in the
34520 * cast linked list. The cast data is initially stored in something like a
34521 * two-dimensional array. Each row corresponds to a type (there are the same
34522 * number of rows as there are in the swig_type_initial array). Each entry in
34523 * a column is one of the swig_cast_info structures for that type.
34524 * The cast_initial array is actually an array of arrays, because each row has
34525 * a variable number of columns. So to actually build the cast linked list,
34526 * we find the array of casts associated with the type, and loop through it
34527 * adding the casts to the list. The one last trick we need to do is making
34528 * sure the type pointer in the swig_cast_info struct is correct.
34529 *
34530 * First off, we lookup the cast->type name to see if it is already loaded.
34531 * There are three cases to handle:
34532 * 1) If the cast->type has already been loaded AND the type we are adding
34533 * casting info to has not been loaded (it is in this module), THEN we
34534 * replace the cast->type pointer with the type pointer that has already
34535 * been loaded.
34536 * 2) If BOTH types (the one we are adding casting info to, and the
34537 * cast->type) are loaded, THEN the cast info has already been loaded by
34538 * the previous module so we just ignore it.
34539 * 3) Finally, if cast->type has not already been loaded, then we add that
34540 * swig_cast_info to the linked list (because the cast->type) pointer will
34541 * be correct.
34542 * ----------------------------------------------------------------------------- */
34543
34544 #ifdef __cplusplus
34545 extern "C" {
34546 #if 0
34547 } /* c-mode */
34548 #endif
34549 #endif
34550
34551 #if 0
34552 #define SWIGRUNTIME_DEBUG
34553 #endif
34554
34555 SWIGRUNTIME void
34556 SWIG_InitializeModule(void *clientdata) {
34557 size_t i;
34558 swig_module_info *module_head;
34559 static int init_run = 0;
34560
34561 clientdata = clientdata;
34562
34563 if (init_run) return;
34564 init_run = 1;
34565
34566 /* Initialize the swig_module */
34567 swig_module.type_initial = swig_type_initial;
34568 swig_module.cast_initial = swig_cast_initial;
34569
34570 /* Try and load any already created modules */
34571 module_head = SWIG_GetModule(clientdata);
34572 if (module_head) {
34573 swig_module.next = module_head->next;
34574 module_head->next = &swig_module;
34575 } else {
34576 /* This is the first module loaded */
34577 swig_module.next = &swig_module;
34578 SWIG_SetModule(clientdata, &swig_module);
34579 }
34580
34581 /* Now work on filling in swig_module.types */
34582 #ifdef SWIGRUNTIME_DEBUG
34583 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
34584 #endif
34585 for (i = 0; i < swig_module.size; ++i) {
34586 swig_type_info *type = 0;
34587 swig_type_info *ret;
34588 swig_cast_info *cast;
34589
34590 #ifdef SWIGRUNTIME_DEBUG
34591 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
34592 #endif
34593
34594 /* if there is another module already loaded */
34595 if (swig_module.next != &swig_module) {
34596 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
34597 }
34598 if (type) {
34599 /* Overwrite clientdata field */
34600 #ifdef SWIGRUNTIME_DEBUG
34601 printf("SWIG_InitializeModule: found type %s\n", type->name);
34602 #endif
34603 if (swig_module.type_initial[i]->clientdata) {
34604 type->clientdata = swig_module.type_initial[i]->clientdata;
34605 #ifdef SWIGRUNTIME_DEBUG
34606 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
34607 #endif
34608 }
34609 } else {
34610 type = swig_module.type_initial[i];
34611 }
34612
34613 /* Insert casting types */
34614 cast = swig_module.cast_initial[i];
34615 while (cast->type) {
34616 /* Don't need to add information already in the list */
34617 ret = 0;
34618 #ifdef SWIGRUNTIME_DEBUG
34619 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
34620 #endif
34621 if (swig_module.next != &swig_module) {
34622 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
34623 #ifdef SWIGRUNTIME_DEBUG
34624 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
34625 #endif
34626 }
34627 if (ret) {
34628 if (type == swig_module.type_initial[i]) {
34629 #ifdef SWIGRUNTIME_DEBUG
34630 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
34631 #endif
34632 cast->type = ret;
34633 ret = 0;
34634 } else {
34635 /* Check for casting already in the list */
34636 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
34637 #ifdef SWIGRUNTIME_DEBUG
34638 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
34639 #endif
34640 if (!ocast) ret = 0;
34641 }
34642 }
34643
34644 if (!ret) {
34645 #ifdef SWIGRUNTIME_DEBUG
34646 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
34647 #endif
34648 if (type->cast) {
34649 type->cast->prev = cast;
34650 cast->next = type->cast;
34651 }
34652 type->cast = cast;
34653 }
34654 cast++;
34655 }
34656 /* Set entry in modules->types array equal to the type */
34657 swig_module.types[i] = type;
34658 }
34659 swig_module.types[i] = 0;
34660
34661 #ifdef SWIGRUNTIME_DEBUG
34662 printf("**** SWIG_InitializeModule: Cast List ******\n");
34663 for (i = 0; i < swig_module.size; ++i) {
34664 int j = 0;
34665 swig_cast_info *cast = swig_module.cast_initial[i];
34666 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
34667 while (cast->type) {
34668 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
34669 cast++;
34670 ++j;
34671 }
34672 printf("---- Total casts: %d\n",j);
34673 }
34674 printf("**** SWIG_InitializeModule: Cast List ******\n");
34675 #endif
34676 }
34677
34678 /* This function will propagate the clientdata field of type to
34679 * any new swig_type_info structures that have been added into the list
34680 * of equivalent types. It is like calling
34681 * SWIG_TypeClientData(type, clientdata) a second time.
34682 */
34683 SWIGRUNTIME void
34684 SWIG_PropagateClientData(void) {
34685 size_t i;
34686 swig_cast_info *equiv;
34687 static int init_run = 0;
34688
34689 if (init_run) return;
34690 init_run = 1;
34691
34692 for (i = 0; i < swig_module.size; i++) {
34693 if (swig_module.types[i]->clientdata) {
34694 equiv = swig_module.types[i]->cast;
34695 while (equiv) {
34696 if (!equiv->converter) {
34697 if (equiv->type && !equiv->type->clientdata)
34698 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
34699 }
34700 equiv = equiv->next;
34701 }
34702 }
34703 }
34704 }
34705
34706 #ifdef __cplusplus
34707 #if 0
34708 {
34709 /* c-mode */
34710 #endif
34711 }
34712 #endif
34713
34714
34715
34716 #ifdef __cplusplus
34717 extern "C" {
34718 #endif
34719
34720 /* Python-specific SWIG API */
34721 #define SWIG_newvarlink() SWIG_Python_newvarlink()
34722 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
34723 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
34724
34725 /* -----------------------------------------------------------------------------
34726 * global variable support code.
34727 * ----------------------------------------------------------------------------- */
34728
34729 typedef struct swig_globalvar {
34730 char *name; /* Name of global variable */
34731 PyObject *(*get_attr)(void); /* Return the current value */
34732 int (*set_attr)(PyObject *); /* Set the value */
34733 struct swig_globalvar *next;
34734 } swig_globalvar;
34735
34736 typedef struct swig_varlinkobject {
34737 PyObject_HEAD
34738 swig_globalvar *vars;
34739 } swig_varlinkobject;
34740
34741 SWIGINTERN PyObject *
34742 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
34743 return PyString_FromString("<Swig global variables>");
34744 }
34745
34746 SWIGINTERN PyObject *
34747 swig_varlink_str(swig_varlinkobject *v) {
34748 PyObject *str = PyString_FromString("(");
34749 swig_globalvar *var;
34750 for (var = v->vars; var; var=var->next) {
34751 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
34752 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
34753 }
34754 PyString_ConcatAndDel(&str,PyString_FromString(")"));
34755 return str;
34756 }
34757
34758 SWIGINTERN int
34759 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
34760 PyObject *str = swig_varlink_str(v);
34761 fprintf(fp,"Swig global variables ");
34762 fprintf(fp,"%s\n", PyString_AsString(str));
34763 Py_DECREF(str);
34764 return 0;
34765 }
34766
34767 SWIGINTERN void
34768 swig_varlink_dealloc(swig_varlinkobject *v) {
34769 swig_globalvar *var = v->vars;
34770 while (var) {
34771 swig_globalvar *n = var->next;
34772 free(var->name);
34773 free(var);
34774 var = n;
34775 }
34776 }
34777
34778 SWIGINTERN PyObject *
34779 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
34780 PyObject *res = NULL;
34781 swig_globalvar *var = v->vars;
34782 while (var) {
34783 if (strcmp(var->name,n) == 0) {
34784 res = (*var->get_attr)();
34785 break;
34786 }
34787 var = var->next;
34788 }
34789 if (res == NULL && !PyErr_Occurred()) {
34790 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
34791 }
34792 return res;
34793 }
34794
34795 SWIGINTERN int
34796 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
34797 int res = 1;
34798 swig_globalvar *var = v->vars;
34799 while (var) {
34800 if (strcmp(var->name,n) == 0) {
34801 res = (*var->set_attr)(p);
34802 break;
34803 }
34804 var = var->next;
34805 }
34806 if (res == 1 && !PyErr_Occurred()) {
34807 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
34808 }
34809 return res;
34810 }
34811
34812 SWIGINTERN PyTypeObject*
34813 swig_varlink_type(void) {
34814 static char varlink__doc__[] = "Swig var link object";
34815 static PyTypeObject varlink_type;
34816 static int type_init = 0;
34817 if (!type_init) {
34818 const PyTypeObject tmp
34819 = {
34820 PyObject_HEAD_INIT(NULL)
34821 0, /* Number of items in variable part (ob_size) */
34822 (char *)"swigvarlink", /* Type name (tp_name) */
34823 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
34824 0, /* Itemsize (tp_itemsize) */
34825 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
34826 (printfunc) swig_varlink_print, /* Print (tp_print) */
34827 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
34828 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
34829 0, /* tp_compare */
34830 (reprfunc) swig_varlink_repr, /* tp_repr */
34831 0, /* tp_as_number */
34832 0, /* tp_as_sequence */
34833 0, /* tp_as_mapping */
34834 0, /* tp_hash */
34835 0, /* tp_call */
34836 (reprfunc)swig_varlink_str, /* tp_str */
34837 0, /* tp_getattro */
34838 0, /* tp_setattro */
34839 0, /* tp_as_buffer */
34840 0, /* tp_flags */
34841 varlink__doc__, /* tp_doc */
34842 0, /* tp_traverse */
34843 0, /* tp_clear */
34844 0, /* tp_richcompare */
34845 0, /* tp_weaklistoffset */
34846 #if PY_VERSION_HEX >= 0x02020000
34847 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
34848 #endif
34849 #if PY_VERSION_HEX >= 0x02030000
34850 0, /* tp_del */
34851 #endif
34852 #ifdef COUNT_ALLOCS
34853 0,0,0,0 /* tp_alloc -> tp_next */
34854 #endif
34855 };
34856 varlink_type = tmp;
34857 varlink_type.ob_type = &PyType_Type;
34858 type_init = 1;
34859 }
34860 return &varlink_type;
34861 }
34862
34863 /* Create a variable linking object for use later */
34864 SWIGINTERN PyObject *
34865 SWIG_Python_newvarlink(void) {
34866 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
34867 if (result) {
34868 result->vars = 0;
34869 }
34870 return ((PyObject*) result);
34871 }
34872
34873 SWIGINTERN void
34874 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
34875 swig_varlinkobject *v = (swig_varlinkobject *) p;
34876 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
34877 if (gv) {
34878 size_t size = strlen(name)+1;
34879 gv->name = (char *)malloc(size);
34880 if (gv->name) {
34881 strncpy(gv->name,name,size);
34882 gv->get_attr = get_attr;
34883 gv->set_attr = set_attr;
34884 gv->next = v->vars;
34885 }
34886 }
34887 v->vars = gv;
34888 }
34889
34890 SWIGINTERN PyObject *
34891 SWIG_globals() {
34892 static PyObject *_SWIG_globals = 0;
34893 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
34894 return _SWIG_globals;
34895 }
34896
34897 /* -----------------------------------------------------------------------------
34898 * constants/methods manipulation
34899 * ----------------------------------------------------------------------------- */
34900
34901 /* Install Constants */
34902 SWIGINTERN void
34903 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
34904 PyObject *obj = 0;
34905 size_t i;
34906 for (i = 0; constants[i].type; ++i) {
34907 switch(constants[i].type) {
34908 case SWIG_PY_POINTER:
34909 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
34910 break;
34911 case SWIG_PY_BINARY:
34912 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
34913 break;
34914 default:
34915 obj = 0;
34916 break;
34917 }
34918 if (obj) {
34919 PyDict_SetItemString(d, constants[i].name, obj);
34920 Py_DECREF(obj);
34921 }
34922 }
34923 }
34924
34925 /* -----------------------------------------------------------------------------*/
34926 /* Fix SwigMethods to carry the callback ptrs when needed */
34927 /* -----------------------------------------------------------------------------*/
34928
34929 SWIGINTERN void
34930 SWIG_Python_FixMethods(PyMethodDef *methods,
34931 swig_const_info *const_table,
34932 swig_type_info **types,
34933 swig_type_info **types_initial) {
34934 size_t i;
34935 for (i = 0; methods[i].ml_name; ++i) {
34936 const char *c = methods[i].ml_doc;
34937 if (c && (c = strstr(c, "swig_ptr: "))) {
34938 int j;
34939 swig_const_info *ci = 0;
34940 const char *name = c + 10;
34941 for (j = 0; const_table[j].type; ++j) {
34942 if (strncmp(const_table[j].name, name,
34943 strlen(const_table[j].name)) == 0) {
34944 ci = &(const_table[j]);
34945 break;
34946 }
34947 }
34948 if (ci) {
34949 size_t shift = (ci->ptype) - types;
34950 swig_type_info *ty = types_initial[shift];
34951 size_t ldoc = (c - methods[i].ml_doc);
34952 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
34953 char *ndoc = (char*)malloc(ldoc + lptr + 10);
34954 if (ndoc) {
34955 char *buff = ndoc;
34956 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
34957 if (ptr) {
34958 strncpy(buff, methods[i].ml_doc, ldoc);
34959 buff += ldoc;
34960 strncpy(buff, "swig_ptr: ", 10);
34961 buff += 10;
34962 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
34963 methods[i].ml_doc = ndoc;
34964 }
34965 }
34966 }
34967 }
34968 }
34969 }
34970
34971 #ifdef __cplusplus
34972 }
34973 #endif
34974
34975 /* -----------------------------------------------------------------------------*
34976 * Partial Init method
34977 * -----------------------------------------------------------------------------*/
34978
34979 #ifdef __cplusplus
34980 extern "C"
34981 #endif
34982 SWIGEXPORT void SWIG_init(void) {
34983 PyObject *m, *d;
34984
34985 /* Fix SwigMethods to carry the callback ptrs when needed */
34986 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
34987
34988 m = Py_InitModule((char *) SWIG_name, SwigMethods);
34989 d = PyModule_GetDict(m);
34990
34991 SWIG_InitializeModule(0);
34992 SWIG_InstallConstants(d,swig_const_table);
34993
34994
34995 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
34996 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get, FrameNameStr_set);
34997 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get, DialogNameStr_set);
34998 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get, StatusLineNameStr_set);
34999 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get, ToolBarNameStr_set);
35000 SWIG_Python_SetConstant(d, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP)));
35001 SWIG_Python_SetConstant(d, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE)));
35002 SWIG_Python_SetConstant(d, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE)));
35003 SWIG_Python_SetConstant(d, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE)));
35004 SWIG_Python_SetConstant(d, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX)));
35005 SWIG_Python_SetConstant(d, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME)));
35006 SWIG_Python_SetConstant(d, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU)));
35007 SWIG_Python_SetConstant(d, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX)));
35008 SWIG_Python_SetConstant(d, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX)));
35009 SWIG_Python_SetConstant(d, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ)));
35010 SWIG_Python_SetConstant(d, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT)));
35011 SWIG_Python_SetConstant(d, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX)));
35012 SWIG_Python_SetConstant(d, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER)));
35013 SWIG_Python_SetConstant(d, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT)));
35014 SWIG_Python_SetConstant(d, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE)));
35015 SWIG_Python_SetConstant(d, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE)));
35016 SWIG_Python_SetConstant(d, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW)));
35017 SWIG_Python_SetConstant(d, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT)));
35018 SWIG_Python_SetConstant(d, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU)));
35019 SWIG_Python_SetConstant(d, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR)));
35020 SWIG_Python_SetConstant(d, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED)));
35021 SWIG_Python_SetConstant(d, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER)));
35022 SWIG_Python_SetConstant(d, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL)));
35023 SWIG_Python_SetConstant(d, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL)));
35024 SWIG_Python_SetConstant(d, "WS_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxWS_EX_CONTEXTHELP)));
35025 SWIG_Python_SetConstant(d, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL)));
35026 SWIG_Python_SetConstant(d, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS)));
35027 SWIG_Python_SetConstant(d, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS)));
35028 SWIG_Python_SetConstant(d, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D)));
35029 SWIG_Python_SetConstant(d, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP)));
35030 SWIG_Python_SetConstant(d, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP)));
35031 SWIG_Python_SetConstant(d, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR)));
35032 SWIG_Python_SetConstant(d, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR)));
35033 SWIG_Python_SetConstant(d, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR)));
35034 SWIG_Python_SetConstant(d, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER)));
35035 SWIG_Python_SetConstant(d, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION)));
35036 SWIG_Python_SetConstant(d, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL)));
35037 SWIG_Python_SetConstant(d, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG)));
35038 SWIG_Python_SetConstant(d, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO)));
35039 SWIG_Python_SetConstant(d, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR)));
35040 SWIG_Python_SetConstant(d, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags)));
35041 SWIG_Python_SetConstant(d, "DEFAULT_MINIFRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_MINIFRAME_STYLE)));
35042 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT)));
35043 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN)));
35044 SWIG_Python_SetConstant(d, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE)));
35045 SWIG_Python_SetConstant(d, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT)));
35046 SWIG_Python_SetConstant(d, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT)));
35047 SWIG_Python_SetConstant(d, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL)));
35048 SWIG_Python_SetConstant(d, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT)));
35049 SWIG_Python_SetConstant(d, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED)));
35050 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get, SplitterNameStr_set);
35051 SWIG_Python_SetConstant(d, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER)));
35052 SWIG_Python_SetConstant(d, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH)));
35053 SWIG_Python_SetConstant(d, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT)));
35054 SWIG_Python_SetConstant(d, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE)));
35055 SWIG_Python_SetConstant(d, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH)));
35056 SWIG_Python_SetConstant(d, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER)));
35057 SWIG_Python_SetConstant(d, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME)));
35058 SWIG_Python_SetConstant(d, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER)));
35059 SWIG_Python_SetConstant(d, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D)));
35060 SWIG_Python_SetConstant(d, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL)));
35061 SWIG_Python_SetConstant(d, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL)));
35062 SWIG_Python_SetConstant(d, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE)));
35063 SWIG_Python_SetConstant(d, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING)));
35064 SWIG_Python_SetConstant(d, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN)));
35065 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
35066 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
35067 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
35068 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
35069 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get, SashNameStr_set);
35070 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get, SashLayoutNameStr_set);
35071 SWIG_Python_SetConstant(d, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE)));
35072 SWIG_Python_SetConstant(d, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING)));
35073 SWIG_Python_SetConstant(d, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN)));
35074 SWIG_Python_SetConstant(d, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER)));
35075 SWIG_Python_SetConstant(d, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER)));
35076 SWIG_Python_SetConstant(d, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH)));
35077 SWIG_Python_SetConstant(d, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER)));
35078 SWIG_Python_SetConstant(d, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D)));
35079 SWIG_Python_SetConstant(d, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP)));
35080 SWIG_Python_SetConstant(d, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT)));
35081 SWIG_Python_SetConstant(d, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM)));
35082 SWIG_Python_SetConstant(d, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT)));
35083 SWIG_Python_SetConstant(d, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE)));
35084 SWIG_Python_SetConstant(d, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK)));
35085 SWIG_Python_SetConstant(d, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE)));
35086 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
35087 SWIG_Python_SetConstant(d, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL)));
35088 SWIG_Python_SetConstant(d, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL)));
35089 SWIG_Python_SetConstant(d, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE)));
35090 SWIG_Python_SetConstant(d, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP)));
35091 SWIG_Python_SetConstant(d, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT)));
35092 SWIG_Python_SetConstant(d, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT)));
35093 SWIG_Python_SetConstant(d, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM)));
35094 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y)));
35095 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X)));
35096 SWIG_Python_SetConstant(d, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH)));
35097 SWIG_Python_SetConstant(d, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY)));
35098 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
35099 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
35100 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get, VListBoxNameStr_set);
35101 SWIG_addvarlink(SWIG_globals(),(char*)"SimpleHtmlListBoxNameStr",SimpleHtmlListBoxNameStr_get, SimpleHtmlListBoxNameStr_set);
35102 SWIG_Python_SetConstant(d, "HLB_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHLB_DEFAULT_STYLE)));
35103 SWIG_Python_SetConstant(d, "HLB_MULTIPLE",SWIG_From_int(static_cast< int >(wxHLB_MULTIPLE)));
35104
35105 // Map renamed classes back to their common name for OOR
35106 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
35107 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
35108 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
35109
35110 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
35111 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
35112 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
35113 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
35114 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
35115 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
35116 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
35117 PyDict_SetItemString(d, "wxEVT_TASKBAR_CLICK", PyInt_FromLong(wxEVT_TASKBAR_CLICK));
35118 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get, FileSelectorPromptStr_set);
35119 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get, DirSelectorPromptStr_set);
35120 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get, DirDialogNameStr_set);
35121 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get, FileSelectorDefaultWildcardStr_set);
35122 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get, GetTextFromUserPromptStr_set);
35123 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get, MessageBoxCaptionStr_set);
35124 SWIG_Python_SetConstant(d, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON)));
35125 SWIG_Python_SetConstant(d, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE)));
35126 SWIG_Python_SetConstant(d, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR)));
35127 SWIG_Python_SetConstant(d, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN)));
35128 SWIG_Python_SetConstant(d, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE)));
35129 SWIG_Python_SetConstant(d, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT)));
35130 SWIG_Python_SetConstant(d, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST)));
35131 SWIG_Python_SetConstant(d, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE)));
35132 SWIG_Python_SetConstant(d, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR)));
35133 SWIG_Python_SetConstant(d, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY)));
35134 SWIG_Python_SetConstant(d, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN)));
35135 SWIG_Python_SetConstant(d, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE)));
35136 SWIG_Python_SetConstant(d, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT)));
35137 SWIG_Python_SetConstant(d, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST)));
35138 SWIG_Python_SetConstant(d, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE)));
35139 SWIG_Python_SetConstant(d, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR)));
35140 SWIG_Python_SetConstant(d, "FD_PREVIEW",SWIG_From_int(static_cast< int >(wxFD_PREVIEW)));
35141 SWIG_Python_SetConstant(d, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE)));
35142 SWIG_Python_SetConstant(d, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE)));
35143 SWIG_Python_SetConstant(d, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle)));
35144 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get, GetPasswordFromUserPromptStr_set);
35145 SWIG_Python_SetConstant(d, "PD_AUTO_HIDE",SWIG_From_int(static_cast< int >(wxPD_AUTO_HIDE)));
35146 SWIG_Python_SetConstant(d, "PD_APP_MODAL",SWIG_From_int(static_cast< int >(wxPD_APP_MODAL)));
35147 SWIG_Python_SetConstant(d, "PD_CAN_ABORT",SWIG_From_int(static_cast< int >(wxPD_CAN_ABORT)));
35148 SWIG_Python_SetConstant(d, "PD_ELAPSED_TIME",SWIG_From_int(static_cast< int >(wxPD_ELAPSED_TIME)));
35149 SWIG_Python_SetConstant(d, "PD_ESTIMATED_TIME",SWIG_From_int(static_cast< int >(wxPD_ESTIMATED_TIME)));
35150 SWIG_Python_SetConstant(d, "PD_REMAINING_TIME",SWIG_From_int(static_cast< int >(wxPD_REMAINING_TIME)));
35151 SWIG_Python_SetConstant(d, "PD_SMOOTH",SWIG_From_int(static_cast< int >(wxPD_SMOOTH)));
35152 SWIG_Python_SetConstant(d, "PD_CAN_SKIP",SWIG_From_int(static_cast< int >(wxPD_CAN_SKIP)));
35153 SWIG_Python_SetConstant(d, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN)));
35154 SWIG_Python_SetConstant(d, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD)));
35155 SWIG_Python_SetConstant(d, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE)));
35156 SWIG_Python_SetConstant(d, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG)));
35157 SWIG_Python_SetConstant(d, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN)));
35158 SWIG_Python_SetConstant(d, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE)));
35159 SWIG_Python_SetConstant(d, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD)));
35160 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
35161 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
35162 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
35163 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
35164 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
35165 SWIG_Python_SetConstant(d, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
35166 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
35167 SWIG_Python_SetConstant(d, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
35168 SWIG_Python_SetConstant(d, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
35169 SWIG_Python_SetConstant(d, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
35170 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
35171 SWIG_Python_SetConstant(d, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
35172 SWIG_Python_SetConstant(d, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
35173 SWIG_Python_SetConstant(d, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
35174 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get, PrintoutTitleStr_set);
35175 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get, PreviewCanvasNameStr_set);
35176 SWIG_Python_SetConstant(d, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE)));
35177 SWIG_Python_SetConstant(d, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW)));
35178 SWIG_Python_SetConstant(d, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE)));
35179 SWIG_Python_SetConstant(d, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER)));
35180 SWIG_Python_SetConstant(d, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM)));
35181 SWIG_Python_SetConstant(d, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT)));
35182 SWIG_Python_SetConstant(d, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE)));
35183 SWIG_Python_SetConstant(d, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER)));
35184 SWIG_Python_SetConstant(d, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE)));
35185 SWIG_Python_SetConstant(d, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL)));
35186 SWIG_Python_SetConstant(d, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE)));
35187 SWIG_Python_SetConstant(d, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL)));
35188 SWIG_Python_SetConstant(d, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO)));
35189 SWIG_Python_SetConstant(d, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR)));
35190 SWIG_Python_SetConstant(d, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT)));
35191 SWIG_Python_SetConstant(d, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT)));
35192 SWIG_Python_SetConstant(d, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY)));
35193 SWIG_Python_SetConstant(d, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE)));
35194 SWIG_Python_SetConstant(d, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE)));
35195 SWIG_Python_SetConstant(d, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER)));
35196 SWIG_Python_SetConstant(d, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR)));
35197 SWIG_Python_SetConstant(d, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED)));
35198 SWIG_Python_SetConstant(d, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR)));
35199 SWIG_Python_SetConstant(d, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT)));
35200 SWIG_Python_SetConstant(d, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS)));
35201 SWIG_Python_SetConstant(d, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT)));
35202 SWIG_Python_SetConstant(d, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM)));
35203 SWIG_Python_SetConstant(d, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST)));
35204 SWIG_Python_SetConstant(d, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST)));
35205 SWIG_Python_SetConstant(d, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO)));
35206 SWIG_Python_SetConstant(d, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT)));
35207 SWIG_Python_SetConstant(d, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE)));
35208 SWIG_Python_SetConstant(d, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT)));
35209 SWIG_Python_SetConstant(d, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS)));
35210 SWIG_Python_SetConstant(d, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT)));
35211 SWIG_Python_SetConstant(d, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM)));
35212 SWIG_Python_SetConstant(d, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST)));
35213 SWIG_Python_SetConstant(d, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST)));
35214 SWIG_Python_SetConstant(d, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO)));
35215
35216 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
35217
35218 }
35219