]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/_windows_wrap.cpp
Added SetQuickBestSize and GetQuickBestSize
[wxWidgets.git] / wxPython / src / msw / _windows_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.29
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
34
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
40 # else
41 # define SWIGTEMPLATEDISAMBIGUATOR
42 # endif
43 # else
44 # define SWIGTEMPLATEDISAMBIGUATOR
45 # endif
46 #endif
47
48 /* inline attribute */
49 #ifndef SWIGINLINE
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
52 # else
53 # define SWIGINLINE
54 # endif
55 #endif
56
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
58 #ifndef SWIGUNUSED
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
62 # else
63 # define SWIGUNUSED
64 # endif
65 # elif defined(__ICC)
66 # define SWIGUNUSED __attribute__ ((__unused__))
67 # else
68 # define SWIGUNUSED
69 # endif
70 #endif
71
72 #ifndef SWIGUNUSEDPARM
73 # ifdef __cplusplus
74 # define SWIGUNUSEDPARM(p)
75 # else
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
77 # endif
78 #endif
79
80 /* internal SWIG method */
81 #ifndef SWIGINTERN
82 # define SWIGINTERN static SWIGUNUSED
83 #endif
84
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
88 #endif
89
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
94 # endif
95 #endif
96
97 #ifndef SWIGEXPORT
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
100 # define SWIGEXPORT
101 # else
102 # define SWIGEXPORT __declspec(dllexport)
103 # endif
104 # else
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
107 # else
108 # define SWIGEXPORT
109 # endif
110 # endif
111 #endif
112
113 /* calling conventions for Windows */
114 #ifndef SWIGSTDCALL
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
117 # else
118 # define SWIGSTDCALL
119 # endif
120 #endif
121
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
125 #endif
126
127
128 /* Python.h has to appear first */
129 #include <Python.h>
130
131 /* -----------------------------------------------------------------------------
132 * swigrun.swg
133 *
134 * This file contains generic CAPI SWIG runtime support for pointer
135 * type checking.
136 * ----------------------------------------------------------------------------- */
137
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
141
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
147 #else
148 # define SWIG_TYPE_TABLE_NAME
149 #endif
150
151 /*
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
155
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
158 */
159
160 #ifndef SWIGRUNTIME
161 # define SWIGRUNTIME SWIGINTERN
162 #endif
163
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
166 #endif
167
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
171 #endif
172
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
175
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
178
179
180 /*
181 Flags/methods for returning states.
182
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
186
187 Use the following macros/flags to set or process the returning
188 states.
189
190 In old swig versions, you usually write code as:
191
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
193 // success code
194 } else {
195 //fail code
196 }
197
198 Now you can be more explicit as:
199
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
202 // success code
203 } else {
204 // fail code
205 }
206
207 that seems to be the same, but now you can also do
208
209 Type *ptr;
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
212 // success code
213 if (SWIG_IsNewObj(res) {
214 ...
215 delete *ptr;
216 } else {
217 ...
218 }
219 } else {
220 // fail code
221 }
222
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
226
227 int SWIG_ConvertPtr(obj, ptr,...) {
228 if (<obj is ok>) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
231 return SWIG_NEWOBJ;
232 } else {
233 *ptr = <ptr to old object>;
234 return SWIG_OLDOBJ;
235 }
236 } else {
237 return SWIG_BADOBJ;
238 }
239 }
240
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
243 swig errors code.
244
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
247
248 int food(double)
249 int fooi(int);
250
251 and you call
252
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
255
256 just use the SWIG_AddCast()/SWIG_CheckState()
257
258
259 */
260 #define SWIG_OK (0)
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
264
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
283
284
285 /* Cast-Rank Mode */
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
289 # endif
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
292 # endif
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE int SWIG_AddCast(int r) {
296 return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
297 }
298 SWIGINTERNINLINE int SWIG_CheckState(int r) {
299 return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
300 }
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
304 #endif
305
306
307
308
309 #include <string.h>
310
311 #ifdef __cplusplus
312 extern "C" {
313 #endif
314
315 typedef void *(*swig_converter_func)(void *);
316 typedef struct swig_type_info *(*swig_dycast_func)(void **);
317
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info {
320 const char *name; /* mangled name of this type */
321 const char *str; /* human readable name of this type */
322 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
324 void *clientdata; /* language specific type data */
325 int owndata; /* flag if the structure owns the clientdata */
326 } swig_type_info;
327
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info {
330 swig_type_info *type; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter; /* function to cast the void pointers */
332 struct swig_cast_info *next; /* pointer to next cast in linked list */
333 struct swig_cast_info *prev; /* pointer to the previous cast */
334 } swig_cast_info;
335
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info {
340 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size; /* Number of types in this module */
342 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
343 swig_type_info **type_initial; /* Array of initially generated type structures */
344 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
345 void *clientdata; /* Language specific module data */
346 } swig_module_info;
347
348 /*
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
351
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
354 */
355 SWIGRUNTIME int
356 SWIG_TypeNameComp(const char *f1, const char *l1,
357 const char *f2, const char *l2) {
358 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
359 while ((*f1 == ' ') && (f1 != l1)) ++f1;
360 while ((*f2 == ' ') && (f2 != l2)) ++f2;
361 if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
362 }
363 return (l1 - f1) - (l2 - f2);
364 }
365
366 /*
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
369 */
370 SWIGRUNTIME int
371 SWIG_TypeEquiv(const char *nb, const char *tb) {
372 int equiv = 0;
373 const char* te = tb + strlen(tb);
374 const char* ne = nb;
375 while (!equiv && *ne) {
376 for (nb = ne; *ne; ++ne) {
377 if (*ne == '|') break;
378 }
379 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
380 if (*ne) ++ne;
381 }
382 return equiv;
383 }
384
385 /*
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
388 */
389 SWIGRUNTIME int
390 SWIG_TypeCompare(const char *nb, const char *tb) {
391 int equiv = 0;
392 const char* te = tb + strlen(tb);
393 const char* ne = nb;
394 while (!equiv && *ne) {
395 for (nb = ne; *ne; ++ne) {
396 if (*ne == '|') break;
397 }
398 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
399 if (*ne) ++ne;
400 }
401 return equiv;
402 }
403
404
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
407 if (ty) { \
408 swig_cast_info *iter = ty->cast; \
409 while (iter) { \
410 if (comparison) { \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
414 if (iter->next) \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
417 iter->prev = 0; \
418 if (ty->cast) ty->cast->prev = iter; \
419 ty->cast = iter; \
420 return iter; \
421 } \
422 iter = iter->next; \
423 } \
424 } \
425 return 0
426
427 /*
428 Check the typename
429 */
430 SWIGRUNTIME swig_cast_info *
431 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
432 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
433 }
434
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info *
437 SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
438 SWIG_TypeCheck_Template(iter->type == from, into);
439 }
440
441 /*
442 Cast a pointer up an inheritance hierarchy
443 */
444 SWIGRUNTIMEINLINE void *
445 SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
446 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
447 }
448
449 /*
450 Dynamic pointer casting. Down an inheritance hierarchy
451 */
452 SWIGRUNTIME swig_type_info *
453 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
454 swig_type_info *lastty = ty;
455 if (!ty || !ty->dcast) return ty;
456 while (ty && (ty->dcast)) {
457 ty = (*ty->dcast)(ptr);
458 if (ty) lastty = ty;
459 }
460 return lastty;
461 }
462
463 /*
464 Return the name associated with this type
465 */
466 SWIGRUNTIMEINLINE const char *
467 SWIG_TypeName(const swig_type_info *ty) {
468 return ty->name;
469 }
470
471 /*
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
474 */
475 SWIGRUNTIME const char *
476 SWIG_TypePrettyName(const swig_type_info *type) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
480 specific. */
481 if (!type) return NULL;
482 if (type->str != NULL) {
483 const char *last_name = type->str;
484 const char *s;
485 for (s = type->str; *s; s++)
486 if (*s == '|') last_name = s+1;
487 return last_name;
488 }
489 else
490 return type->name;
491 }
492
493 /*
494 Set the clientdata field for a type
495 */
496 SWIGRUNTIME void
497 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
498 swig_cast_info *cast = ti->cast;
499 /* if (ti->clientdata == clientdata) return; */
500 ti->clientdata = clientdata;
501
502 while (cast) {
503 if (!cast->converter) {
504 swig_type_info *tc = cast->type;
505 if (!tc->clientdata) {
506 SWIG_TypeClientData(tc, clientdata);
507 }
508 }
509 cast = cast->next;
510 }
511 }
512 SWIGRUNTIME void
513 SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
514 SWIG_TypeClientData(ti, clientdata);
515 ti->owndata = 1;
516 }
517
518 /*
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
521
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
524 the circular list.
525 */
526 SWIGRUNTIME swig_type_info *
527 SWIG_MangledTypeQueryModule(swig_module_info *start,
528 swig_module_info *end,
529 const char *name) {
530 swig_module_info *iter = start;
531 do {
532 if (iter->size) {
533 register size_t l = 0;
534 register size_t r = iter->size - 1;
535 do {
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i = (l + r) >> 1;
538 const char *iname = iter->types[i]->name;
539 if (iname) {
540 register int compare = strcmp(name, iname);
541 if (compare == 0) {
542 return iter->types[i];
543 } else if (compare < 0) {
544 if (i) {
545 r = i - 1;
546 } else {
547 break;
548 }
549 } else if (compare > 0) {
550 l = i + 1;
551 }
552 } else {
553 break; /* should never happen */
554 }
555 } while (l <= r);
556 }
557 iter = iter->next;
558 } while (iter != end);
559 return 0;
560 }
561
562 /*
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
566
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
569 the circular list.
570 */
571 SWIGRUNTIME swig_type_info *
572 SWIG_TypeQueryModule(swig_module_info *start,
573 swig_module_info *end,
574 const char *name) {
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
577 if (ret) {
578 return ret;
579 } else {
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info *iter = start;
583 do {
584 register size_t i = 0;
585 for (; i < iter->size; ++i) {
586 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
587 return iter->types[i];
588 }
589 iter = iter->next;
590 } while (iter != end);
591 }
592
593 /* neither found a match */
594 return 0;
595 }
596
597 /*
598 Pack binary data into a string
599 */
600 SWIGRUNTIME char *
601 SWIG_PackData(char *c, void *ptr, size_t sz) {
602 static const char hex[17] = "0123456789abcdef";
603 register const unsigned char *u = (unsigned char *) ptr;
604 register const unsigned char *eu = u + sz;
605 for (; u != eu; ++u) {
606 register unsigned char uu = *u;
607 *(c++) = hex[(uu & 0xf0) >> 4];
608 *(c++) = hex[uu & 0xf];
609 }
610 return c;
611 }
612
613 /*
614 Unpack binary data from a string
615 */
616 SWIGRUNTIME const char *
617 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
618 register unsigned char *u = (unsigned char *) ptr;
619 register const unsigned char *eu = u + sz;
620 for (; u != eu; ++u) {
621 register char d = *(c++);
622 register unsigned char uu;
623 if ((d >= '0') && (d <= '9'))
624 uu = ((d - '0') << 4);
625 else if ((d >= 'a') && (d <= 'f'))
626 uu = ((d - ('a'-10)) << 4);
627 else
628 return (char *) 0;
629 d = *(c++);
630 if ((d >= '0') && (d <= '9'))
631 uu |= (d - '0');
632 else if ((d >= 'a') && (d <= 'f'))
633 uu |= (d - ('a'-10));
634 else
635 return (char *) 0;
636 *u = uu;
637 }
638 return c;
639 }
640
641 /*
642 Pack 'void *' into a string buffer.
643 */
644 SWIGRUNTIME char *
645 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
646 char *r = buff;
647 if ((2*sizeof(void *) + 2) > bsz) return 0;
648 *(r++) = '_';
649 r = SWIG_PackData(r,&ptr,sizeof(void *));
650 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
651 strcpy(r,name);
652 return buff;
653 }
654
655 SWIGRUNTIME const char *
656 SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
657 if (*c != '_') {
658 if (strcmp(c,"NULL") == 0) {
659 *ptr = (void *) 0;
660 return name;
661 } else {
662 return 0;
663 }
664 }
665 return SWIG_UnpackData(++c,ptr,sizeof(void *));
666 }
667
668 SWIGRUNTIME char *
669 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
670 char *r = buff;
671 size_t lname = (name ? strlen(name) : 0);
672 if ((2*sz + 2 + lname) > bsz) return 0;
673 *(r++) = '_';
674 r = SWIG_PackData(r,ptr,sz);
675 if (lname) {
676 strncpy(r,name,lname+1);
677 } else {
678 *r = 0;
679 }
680 return buff;
681 }
682
683 SWIGRUNTIME const char *
684 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
685 if (*c != '_') {
686 if (strcmp(c,"NULL") == 0) {
687 memset(ptr,0,sz);
688 return name;
689 } else {
690 return 0;
691 }
692 }
693 return SWIG_UnpackData(++c,ptr,sz);
694 }
695
696 #ifdef __cplusplus
697 }
698 #endif
699
700 /* Errors in SWIG */
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
714
715
716
717 /* Python.h has to appear first */
718 #include <Python.h>
719
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
724 # else
725 # define PyOS_snprintf snprintf
726 # endif
727 #endif
728
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
731
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
734 #endif
735
736 static PyObject *
737 PyString_FromFormat(const char *fmt, ...) {
738 va_list ap;
739 char buf[SWIG_PYBUFFER_SIZE * 2];
740 int res;
741 va_start(ap, fmt);
742 res = vsnprintf(buf, sizeof(buf), fmt, ap);
743 va_end(ap);
744 return (res < 0 || res >= (int)sizeof(buf)) ? 0 : PyString_FromString(buf);
745 }
746 #endif
747
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
751 #endif
752 #ifndef PyObject_DEL
753 # define PyObject_DEL PyObject_Del
754 #endif
755
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
760 # endif
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
763 # endif
764 #endif
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
769 # endif
770 #endif
771
772
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
777 # endif
778 #endif
779
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
784 # endif
785 #endif
786
787
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
790 static
791 PyObject *PyBool_FromLong(long ok)
792 {
793 PyObject *result = ok ? Py_True : Py_False;
794 Py_INCREF(result);
795 return result;
796 }
797 #endif
798
799
800 /* -----------------------------------------------------------------------------
801 * error manipulation
802 * ----------------------------------------------------------------------------- */
803
804 SWIGRUNTIME PyObject*
805 SWIG_Python_ErrorType(int code) {
806 PyObject* type = 0;
807 switch(code) {
808 case SWIG_MemoryError:
809 type = PyExc_MemoryError;
810 break;
811 case SWIG_IOError:
812 type = PyExc_IOError;
813 break;
814 case SWIG_RuntimeError:
815 type = PyExc_RuntimeError;
816 break;
817 case SWIG_IndexError:
818 type = PyExc_IndexError;
819 break;
820 case SWIG_TypeError:
821 type = PyExc_TypeError;
822 break;
823 case SWIG_DivisionByZero:
824 type = PyExc_ZeroDivisionError;
825 break;
826 case SWIG_OverflowError:
827 type = PyExc_OverflowError;
828 break;
829 case SWIG_SyntaxError:
830 type = PyExc_SyntaxError;
831 break;
832 case SWIG_ValueError:
833 type = PyExc_ValueError;
834 break;
835 case SWIG_SystemError:
836 type = PyExc_SystemError;
837 break;
838 case SWIG_AttributeError:
839 type = PyExc_AttributeError;
840 break;
841 default:
842 type = PyExc_RuntimeError;
843 }
844 return type;
845 }
846
847
848 SWIGRUNTIME void
849 SWIG_Python_AddErrorMsg(const char* mesg)
850 {
851 PyObject *type = 0;
852 PyObject *value = 0;
853 PyObject *traceback = 0;
854
855 if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback);
856 if (value) {
857 PyObject *old_str = PyObject_Str(value);
858 PyErr_Clear();
859 Py_XINCREF(type);
860 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
861 Py_DECREF(old_str);
862 Py_DECREF(value);
863 } else {
864 PyErr_Format(PyExc_RuntimeError, mesg);
865 }
866 }
867
868
869
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
873 # endif
874 #endif
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
879 # endif
880 # endif
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
884 # endif
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block {
887 bool status;
888 PyGILState_STATE state;
889 public:
890 void end() { if (status) { PyGILState_Release(state); status = false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
893 };
894 class SWIG_Python_Thread_Allow {
895 bool status;
896 PyThreadState *save;
897 public:
898 void end() { if (status) { PyEval_RestoreThread(save); status = false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
901 };
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
906 # else /* C code */
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
911 # endif
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
915 # endif
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
918 # endif
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
921 # endif
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
924 # endif
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
927 # endif
928 # endif
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
935 #endif
936
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
940
941 #ifdef __cplusplus
942 extern "C" {
943 #if 0
944 } /* cc-mode */
945 #endif
946 #endif
947
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
951
952 /* Constant Types */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
955
956 /* Constant information structure */
957 typedef struct swig_const_info {
958 int type;
959 char *name;
960 long lvalue;
961 double dvalue;
962 void *pvalue;
963 swig_type_info **ptype;
964 } swig_const_info;
965
966 #ifdef __cplusplus
967 #if 0
968 { /* cc-mode */
969 #endif
970 }
971 #endif
972
973
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
977 *
978 * pyrun.swg
979 *
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
982 * type checking.
983 *
984 * ----------------------------------------------------------------------------- */
985
986 /* Common SWIG API */
987
988 /* for raw pointers */
989 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
990 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
991 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
992 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
993 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
994 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
995 #define swig_owntype int
996
997 /* for raw packed data */
998 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
999 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1000
1001 /* for class or struct pointers */
1002 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1003 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1004
1005 /* for C or C++ function pointers */
1006 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1007 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1008
1009 /* for C++ member pointers, ie, member methods */
1010 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1011 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1012
1013
1014 /* Runtime API */
1015
1016 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1017 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1018 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1019
1020 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1021 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1022 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1023 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1024 #define SWIG_fail goto fail
1025
1026
1027 /* Runtime API implementation */
1028
1029 /* Error manipulation */
1030
1031 SWIGINTERN void
1032 SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
1033 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1034 PyErr_SetObject(errtype, obj);
1035 Py_DECREF(obj);
1036 SWIG_PYTHON_THREAD_END_BLOCK;
1037 }
1038
1039 SWIGINTERN void
1040 SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) {
1041 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1042 PyErr_SetString(errtype, (char *) msg);
1043 SWIG_PYTHON_THREAD_END_BLOCK;
1044 }
1045
1046 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1047
1048 /* Set a constant value */
1049
1050 SWIGINTERN void
1051 SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
1052 PyDict_SetItemString(d, (char*) name, obj);
1053 Py_DECREF(obj);
1054 }
1055
1056 /* Append a value to the result obj */
1057
1058 SWIGINTERN PyObject*
1059 SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
1060 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1061 if (!result) {
1062 result = obj;
1063 } else if (result == Py_None) {
1064 Py_DECREF(result);
1065 result = obj;
1066 } else {
1067 if (!PyList_Check(result)) {
1068 PyObject *o2 = result;
1069 result = PyList_New(1);
1070 PyList_SetItem(result, 0, o2);
1071 }
1072 PyList_Append(result,obj);
1073 Py_DECREF(obj);
1074 }
1075 return result;
1076 #else
1077 PyObject* o2;
1078 PyObject* o3;
1079 if (!result) {
1080 result = obj;
1081 } else if (result == Py_None) {
1082 Py_DECREF(result);
1083 result = obj;
1084 } else {
1085 if (!PyTuple_Check(result)) {
1086 o2 = result;
1087 result = PyTuple_New(1);
1088 PyTuple_SET_ITEM(result, 0, o2);
1089 }
1090 o3 = PyTuple_New(1);
1091 PyTuple_SET_ITEM(o3, 0, obj);
1092 o2 = result;
1093 result = PySequence_Concat(o2, o3);
1094 Py_DECREF(o2);
1095 Py_DECREF(o3);
1096 }
1097 return result;
1098 #endif
1099 }
1100
1101 /* Unpack the argument tuple */
1102
1103 SWIGINTERN int
1104 SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs)
1105 {
1106 if (!args) {
1107 if (!min && !max) {
1108 return 1;
1109 } else {
1110 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none",
1111 name, (min == max ? "" : "at least "), min);
1112 return 0;
1113 }
1114 }
1115 if (!PyTuple_Check(args)) {
1116 PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
1117 return 0;
1118 } else {
1119 register int l = PyTuple_GET_SIZE(args);
1120 if (l < min) {
1121 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1122 name, (min == max ? "" : "at least "), min, l);
1123 return 0;
1124 } else if (l > max) {
1125 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1126 name, (min == max ? "" : "at most "), max, l);
1127 return 0;
1128 } else {
1129 register int i;
1130 for (i = 0; i < l; ++i) {
1131 objs[i] = PyTuple_GET_ITEM(args, i);
1132 }
1133 for (; l < max; ++l) {
1134 objs[l] = 0;
1135 }
1136 return i + 1;
1137 }
1138 }
1139 }
1140
1141 /* A functor is a function object with one single object argument */
1142 #if PY_VERSION_HEX >= 0x02020000
1143 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1144 #else
1145 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1146 #endif
1147
1148 /*
1149 Helper for static pointer initialization for both C and C++ code, for example
1150 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1151 */
1152 #ifdef __cplusplus
1153 #define SWIG_STATIC_POINTER(var) var
1154 #else
1155 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1156 #endif
1157
1158 /* -----------------------------------------------------------------------------
1159 * Pointer declarations
1160 * ----------------------------------------------------------------------------- */
1161
1162 /* Flags for new pointer objects */
1163 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1164 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1165
1166 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1167
1168 #ifdef __cplusplus
1169 extern "C" {
1170 #if 0
1171 } /* cc-mode */
1172 #endif
1173 #endif
1174
1175 /* How to access Py_None */
1176 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1177 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1178 # ifndef SWIG_PYTHON_BUILD_NONE
1179 # define SWIG_PYTHON_BUILD_NONE
1180 # endif
1181 # endif
1182 #endif
1183
1184 #ifdef SWIG_PYTHON_BUILD_NONE
1185 # ifdef Py_None
1186 # undef Py_None
1187 # define Py_None SWIG_Py_None()
1188 # endif
1189 SWIGRUNTIMEINLINE PyObject *
1190 _SWIG_Py_None(void)
1191 {
1192 PyObject *none = Py_BuildValue("");
1193 Py_DECREF(none);
1194 return none;
1195 }
1196 SWIGRUNTIME PyObject *
1197 SWIG_Py_None(void)
1198 {
1199 static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
1200 return none;
1201 }
1202 #endif
1203
1204 /* The python void return value */
1205
1206 SWIGRUNTIMEINLINE PyObject *
1207 SWIG_Py_Void(void)
1208 {
1209 PyObject *none = Py_None;
1210 Py_INCREF(none);
1211 return none;
1212 }
1213
1214 /* PySwigClientData */
1215
1216 typedef struct {
1217 PyObject *klass;
1218 PyObject *newraw;
1219 PyObject *newargs;
1220 PyObject *destroy;
1221 int delargs;
1222 int implicitconv;
1223 } PySwigClientData;
1224
1225 SWIGRUNTIMEINLINE int
1226 SWIG_Python_CheckImplicit(swig_type_info *ty)
1227 {
1228 PySwigClientData *data = (PySwigClientData *)ty->clientdata;
1229 return data ? data->implicitconv : 0;
1230 }
1231
1232 SWIGRUNTIMEINLINE PyObject *
1233 SWIG_Python_ExceptionType(swig_type_info *desc) {
1234 PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0;
1235 PyObject *klass = data ? data->klass : 0;
1236 return (klass ? klass : PyExc_RuntimeError);
1237 }
1238
1239
1240 SWIGRUNTIME PySwigClientData *
1241 PySwigClientData_New(PyObject* obj)
1242 {
1243 if (!obj) {
1244 return 0;
1245 } else {
1246 PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData));
1247 /* the klass element */
1248 data->klass = obj;
1249 Py_INCREF(data->klass);
1250 /* the newraw method and newargs arguments used to create a new raw instance */
1251 if (PyClass_Check(obj)) {
1252 data->newraw = 0;
1253 data->newargs = obj;
1254 Py_INCREF(obj);
1255 } else {
1256 #if (PY_VERSION_HEX < 0x02020000)
1257 data->newraw = 0;
1258 #else
1259 data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
1260 #endif
1261 if (data->newraw) {
1262 Py_INCREF(data->newraw);
1263 data->newargs = PyTuple_New(1);
1264 PyTuple_SetItem(data->newargs, 0, obj);
1265 } else {
1266 data->newargs = obj;
1267 }
1268 Py_INCREF(data->newargs);
1269 }
1270 /* the destroy method, aka as the C++ delete method */
1271 data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
1272 if (PyErr_Occurred()) {
1273 PyErr_Clear();
1274 data->destroy = 0;
1275 }
1276 if (data->destroy) {
1277 int flags;
1278 Py_INCREF(data->destroy);
1279 flags = PyCFunction_GET_FLAGS(data->destroy);
1280 #ifdef METH_O
1281 data->delargs = !(flags & (METH_O));
1282 #else
1283 data->delargs = 0;
1284 #endif
1285 } else {
1286 data->delargs = 0;
1287 }
1288 data->implicitconv = 0;
1289 return data;
1290 }
1291 }
1292
1293 SWIGRUNTIME void
1294 PySwigClientData_Del(PySwigClientData* data)
1295 {
1296 Py_XDECREF(data->newraw);
1297 Py_XDECREF(data->newargs);
1298 Py_XDECREF(data->destroy);
1299 }
1300
1301 /* =============== PySwigObject =====================*/
1302
1303 typedef struct {
1304 PyObject_HEAD
1305 void *ptr;
1306 swig_type_info *ty;
1307 int own;
1308 PyObject *next;
1309 } PySwigObject;
1310
1311 SWIGRUNTIME PyObject *
1312 PySwigObject_long(PySwigObject *v)
1313 {
1314 return PyLong_FromVoidPtr(v->ptr);
1315 }
1316
1317 SWIGRUNTIME PyObject *
1318 PySwigObject_format(const char* fmt, PySwigObject *v)
1319 {
1320 PyObject *res = NULL;
1321 PyObject *args = PyTuple_New(1);
1322 if (args) {
1323 if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) {
1324 PyObject *ofmt = PyString_FromString(fmt);
1325 if (ofmt) {
1326 res = PyString_Format(ofmt,args);
1327 Py_DECREF(ofmt);
1328 }
1329 Py_DECREF(args);
1330 }
1331 }
1332 return res;
1333 }
1334
1335 SWIGRUNTIME PyObject *
1336 PySwigObject_oct(PySwigObject *v)
1337 {
1338 return PySwigObject_format("%o",v);
1339 }
1340
1341 SWIGRUNTIME PyObject *
1342 PySwigObject_hex(PySwigObject *v)
1343 {
1344 return PySwigObject_format("%x",v);
1345 }
1346
1347 SWIGRUNTIME PyObject *
1348 #ifdef METH_NOARGS
1349 PySwigObject_repr(PySwigObject *v)
1350 #else
1351 PySwigObject_repr(PySwigObject *v, PyObject *args)
1352 #endif
1353 {
1354 const char *name = SWIG_TypePrettyName(v->ty);
1355 PyObject *hex = PySwigObject_hex(v);
1356 PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex));
1357 Py_DECREF(hex);
1358 if (v->next) {
1359 #ifdef METH_NOARGS
1360 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next);
1361 #else
1362 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args);
1363 #endif
1364 PyString_ConcatAndDel(&repr,nrep);
1365 }
1366 return repr;
1367 }
1368
1369 SWIGRUNTIME int
1370 PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1371 {
1372 #ifdef METH_NOARGS
1373 PyObject *repr = PySwigObject_repr(v);
1374 #else
1375 PyObject *repr = PySwigObject_repr(v, NULL);
1376 #endif
1377 if (repr) {
1378 fputs(PyString_AsString(repr), fp);
1379 Py_DECREF(repr);
1380 return 0;
1381 } else {
1382 return 1;
1383 }
1384 }
1385
1386 SWIGRUNTIME PyObject *
1387 PySwigObject_str(PySwigObject *v)
1388 {
1389 char result[SWIG_BUFFER_SIZE];
1390 return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ?
1391 PyString_FromString(result) : 0;
1392 }
1393
1394 SWIGRUNTIME int
1395 PySwigObject_compare(PySwigObject *v, PySwigObject *w)
1396 {
1397 void *i = v->ptr;
1398 void *j = w->ptr;
1399 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1400 }
1401
1402 SWIGRUNTIME PyTypeObject* _PySwigObject_type(void);
1403
1404 SWIGRUNTIME PyTypeObject*
1405 PySwigObject_type(void) {
1406 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type();
1407 return type;
1408 }
1409
1410 SWIGRUNTIMEINLINE int
1411 PySwigObject_Check(PyObject *op) {
1412 return ((op)->ob_type == PySwigObject_type())
1413 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
1414 }
1415
1416 SWIGRUNTIME PyObject *
1417 PySwigObject_New(void *ptr, swig_type_info *ty, int own);
1418
1419 SWIGRUNTIME void
1420 PySwigObject_dealloc(PyObject *v)
1421 {
1422 PySwigObject *sobj = (PySwigObject *) v;
1423 PyObject *next = sobj->next;
1424 if (sobj->own) {
1425 swig_type_info *ty = sobj->ty;
1426 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
1427 PyObject *destroy = data ? data->destroy : 0;
1428 if (destroy) {
1429 /* destroy is always a VARARGS method */
1430 PyObject *res;
1431 if (data->delargs) {
1432 /* we need to create a temporal object to carry the destroy operation */
1433 PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0);
1434 res = SWIG_Python_CallFunctor(destroy, tmp);
1435 Py_DECREF(tmp);
1436 } else {
1437 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
1438 PyObject *mself = PyCFunction_GET_SELF(destroy);
1439 res = ((*meth)(mself, v));
1440 }
1441 Py_XDECREF(res);
1442 } else {
1443 const char *name = SWIG_TypePrettyName(ty);
1444 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1445 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name);
1446 #endif
1447 }
1448 }
1449 Py_XDECREF(next);
1450 PyObject_DEL(v);
1451 }
1452
1453 SWIGRUNTIME PyObject*
1454 PySwigObject_append(PyObject* v, PyObject* next)
1455 {
1456 PySwigObject *sobj = (PySwigObject *) v;
1457 #ifndef METH_O
1458 PyObject *tmp = 0;
1459 if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
1460 next = tmp;
1461 #endif
1462 if (!PySwigObject_Check(next)) {
1463 return NULL;
1464 }
1465 sobj->next = next;
1466 Py_INCREF(next);
1467 return SWIG_Py_Void();
1468 }
1469
1470 SWIGRUNTIME PyObject*
1471 #ifdef METH_NOARGS
1472 PySwigObject_next(PyObject* v)
1473 #else
1474 PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1475 #endif
1476 {
1477 PySwigObject *sobj = (PySwigObject *) v;
1478 if (sobj->next) {
1479 Py_INCREF(sobj->next);
1480 return sobj->next;
1481 } else {
1482 return SWIG_Py_Void();
1483 }
1484 }
1485
1486 SWIGINTERN PyObject*
1487 #ifdef METH_NOARGS
1488 PySwigObject_disown(PyObject *v)
1489 #else
1490 PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1491 #endif
1492 {
1493 PySwigObject *sobj = (PySwigObject *)v;
1494 sobj->own = 0;
1495 return SWIG_Py_Void();
1496 }
1497
1498 SWIGINTERN PyObject*
1499 #ifdef METH_NOARGS
1500 PySwigObject_acquire(PyObject *v)
1501 #else
1502 PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1503 #endif
1504 {
1505 PySwigObject *sobj = (PySwigObject *)v;
1506 sobj->own = SWIG_POINTER_OWN;
1507 return SWIG_Py_Void();
1508 }
1509
1510 SWIGINTERN PyObject*
1511 PySwigObject_own(PyObject *v, PyObject *args)
1512 {
1513 PyObject *val = 0;
1514 #if (PY_VERSION_HEX < 0x02020000)
1515 if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
1516 #else
1517 if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val))
1518 #endif
1519 {
1520 return NULL;
1521 }
1522 else
1523 {
1524 PySwigObject *sobj = (PySwigObject *)v;
1525 PyObject *obj = PyBool_FromLong(sobj->own);
1526 if (val) {
1527 #ifdef METH_NOARGS
1528 if (PyObject_IsTrue(val)) {
1529 PySwigObject_acquire(v);
1530 } else {
1531 PySwigObject_disown(v);
1532 }
1533 #else
1534 if (PyObject_IsTrue(val)) {
1535 PySwigObject_acquire(v,args);
1536 } else {
1537 PySwigObject_disown(v,args);
1538 }
1539 #endif
1540 }
1541 return obj;
1542 }
1543 }
1544
1545 #ifdef METH_O
1546 static PyMethodDef
1547 swigobject_methods[] = {
1548 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"},
1549 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"},
1550 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1551 {(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"},
1552 {(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"},
1553 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"},
1554 {0, 0, 0, 0}
1555 };
1556 #else
1557 static PyMethodDef
1558 swigobject_methods[] = {
1559 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"},
1560 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"},
1561 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1562 {(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"},
1563 {(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"},
1564 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"},
1565 {0, 0, 0, 0}
1566 };
1567 #endif
1568
1569 #if PY_VERSION_HEX < 0x02020000
1570 SWIGINTERN PyObject *
1571 PySwigObject_getattr(PySwigObject *sobj,char *name)
1572 {
1573 return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
1574 }
1575 #endif
1576
1577 SWIGRUNTIME PyTypeObject*
1578 _PySwigObject_type(void) {
1579 static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
1580
1581 static PyNumberMethods PySwigObject_as_number = {
1582 (binaryfunc)0, /*nb_add*/
1583 (binaryfunc)0, /*nb_subtract*/
1584 (binaryfunc)0, /*nb_multiply*/
1585 (binaryfunc)0, /*nb_divide*/
1586 (binaryfunc)0, /*nb_remainder*/
1587 (binaryfunc)0, /*nb_divmod*/
1588 (ternaryfunc)0,/*nb_power*/
1589 (unaryfunc)0, /*nb_negative*/
1590 (unaryfunc)0, /*nb_positive*/
1591 (unaryfunc)0, /*nb_absolute*/
1592 (inquiry)0, /*nb_nonzero*/
1593 0, /*nb_invert*/
1594 0, /*nb_lshift*/
1595 0, /*nb_rshift*/
1596 0, /*nb_and*/
1597 0, /*nb_xor*/
1598 0, /*nb_or*/
1599 (coercion)0, /*nb_coerce*/
1600 (unaryfunc)PySwigObject_long, /*nb_int*/
1601 (unaryfunc)PySwigObject_long, /*nb_long*/
1602 (unaryfunc)0, /*nb_float*/
1603 (unaryfunc)PySwigObject_oct, /*nb_oct*/
1604 (unaryfunc)PySwigObject_hex, /*nb_hex*/
1605 #if PY_VERSION_HEX >= 0x02020000
1606 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1607 #elif PY_VERSION_HEX >= 0x02000000
1608 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1609 #endif
1610 };
1611
1612 static PyTypeObject pyswigobject_type;
1613 static int type_init = 0;
1614 if (!type_init) {
1615 const PyTypeObject tmp
1616 = {
1617 PyObject_HEAD_INIT(NULL)
1618 0, /* ob_size */
1619 (char *)"PySwigObject", /* tp_name */
1620 sizeof(PySwigObject), /* tp_basicsize */
1621 0, /* tp_itemsize */
1622 (destructor)PySwigObject_dealloc, /* tp_dealloc */
1623 (printfunc)PySwigObject_print, /* tp_print */
1624 #if PY_VERSION_HEX < 0x02020000
1625 (getattrfunc)PySwigObject_getattr, /* tp_getattr */
1626 #else
1627 (getattrfunc)0, /* tp_getattr */
1628 #endif
1629 (setattrfunc)0, /* tp_setattr */
1630 (cmpfunc)PySwigObject_compare, /* tp_compare */
1631 (reprfunc)PySwigObject_repr, /* tp_repr */
1632 &PySwigObject_as_number, /* tp_as_number */
1633 0, /* tp_as_sequence */
1634 0, /* tp_as_mapping */
1635 (hashfunc)0, /* tp_hash */
1636 (ternaryfunc)0, /* tp_call */
1637 (reprfunc)PySwigObject_str, /* tp_str */
1638 PyObject_GenericGetAttr, /* tp_getattro */
1639 0, /* tp_setattro */
1640 0, /* tp_as_buffer */
1641 Py_TPFLAGS_DEFAULT, /* tp_flags */
1642 swigobject_doc, /* tp_doc */
1643 0, /* tp_traverse */
1644 0, /* tp_clear */
1645 0, /* tp_richcompare */
1646 0, /* tp_weaklistoffset */
1647 #if PY_VERSION_HEX >= 0x02020000
1648 0, /* tp_iter */
1649 0, /* tp_iternext */
1650 swigobject_methods, /* tp_methods */
1651 0, /* tp_members */
1652 0, /* tp_getset */
1653 0, /* tp_base */
1654 0, /* tp_dict */
1655 0, /* tp_descr_get */
1656 0, /* tp_descr_set */
1657 0, /* tp_dictoffset */
1658 0, /* tp_init */
1659 0, /* tp_alloc */
1660 0, /* tp_new */
1661 0, /* tp_free */
1662 0, /* tp_is_gc */
1663 0, /* tp_bases */
1664 0, /* tp_mro */
1665 0, /* tp_cache */
1666 0, /* tp_subclasses */
1667 0, /* tp_weaklist */
1668 #endif
1669 #if PY_VERSION_HEX >= 0x02030000
1670 0, /* tp_del */
1671 #endif
1672 #ifdef COUNT_ALLOCS
1673 0,0,0,0 /* tp_alloc -> tp_next */
1674 #endif
1675 };
1676 pyswigobject_type = tmp;
1677 pyswigobject_type.ob_type = &PyType_Type;
1678 type_init = 1;
1679 }
1680 return &pyswigobject_type;
1681 }
1682
1683 SWIGRUNTIME PyObject *
1684 PySwigObject_New(void *ptr, swig_type_info *ty, int own)
1685 {
1686 PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type());
1687 if (sobj) {
1688 sobj->ptr = ptr;
1689 sobj->ty = ty;
1690 sobj->own = own;
1691 sobj->next = 0;
1692 }
1693 return (PyObject *)sobj;
1694 }
1695
1696 /* -----------------------------------------------------------------------------
1697 * Implements a simple Swig Packed type, and use it instead of string
1698 * ----------------------------------------------------------------------------- */
1699
1700 typedef struct {
1701 PyObject_HEAD
1702 void *pack;
1703 swig_type_info *ty;
1704 size_t size;
1705 } PySwigPacked;
1706
1707 SWIGRUNTIME int
1708 PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1709 {
1710 char result[SWIG_BUFFER_SIZE];
1711 fputs("<Swig Packed ", fp);
1712 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1713 fputs("at ", fp);
1714 fputs(result, fp);
1715 }
1716 fputs(v->ty->name,fp);
1717 fputs(">", fp);
1718 return 0;
1719 }
1720
1721 SWIGRUNTIME PyObject *
1722 PySwigPacked_repr(PySwigPacked *v)
1723 {
1724 char result[SWIG_BUFFER_SIZE];
1725 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1726 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
1727 } else {
1728 return PyString_FromFormat("<Swig Packed %s>", v->ty->name);
1729 }
1730 }
1731
1732 SWIGRUNTIME PyObject *
1733 PySwigPacked_str(PySwigPacked *v)
1734 {
1735 char result[SWIG_BUFFER_SIZE];
1736 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
1737 return PyString_FromFormat("%s%s", result, v->ty->name);
1738 } else {
1739 return PyString_FromString(v->ty->name);
1740 }
1741 }
1742
1743 SWIGRUNTIME int
1744 PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
1745 {
1746 size_t i = v->size;
1747 size_t j = w->size;
1748 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
1749 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
1750 }
1751
1752 SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);
1753
1754 SWIGRUNTIME PyTypeObject*
1755 PySwigPacked_type(void) {
1756 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type();
1757 return type;
1758 }
1759
1760 SWIGRUNTIMEINLINE int
1761 PySwigPacked_Check(PyObject *op) {
1762 return ((op)->ob_type == _PySwigPacked_type())
1763 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1764 }
1765
1766 SWIGRUNTIME void
1767 PySwigPacked_dealloc(PyObject *v)
1768 {
1769 if (PySwigPacked_Check(v)) {
1770 PySwigPacked *sobj = (PySwigPacked *) v;
1771 free(sobj->pack);
1772 }
1773 PyObject_DEL(v);
1774 }
1775
1776 SWIGRUNTIME PyTypeObject*
1777 _PySwigPacked_type(void) {
1778 static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";
1779 static PyTypeObject pyswigpacked_type;
1780 static int type_init = 0;
1781 if (!type_init) {
1782 const PyTypeObject tmp
1783 = {
1784 PyObject_HEAD_INIT(NULL)
1785 0, /* ob_size */
1786 (char *)"PySwigPacked", /* tp_name */
1787 sizeof(PySwigPacked), /* tp_basicsize */
1788 0, /* tp_itemsize */
1789 (destructor)PySwigPacked_dealloc, /* tp_dealloc */
1790 (printfunc)PySwigPacked_print, /* tp_print */
1791 (getattrfunc)0, /* tp_getattr */
1792 (setattrfunc)0, /* tp_setattr */
1793 (cmpfunc)PySwigPacked_compare, /* tp_compare */
1794 (reprfunc)PySwigPacked_repr, /* tp_repr */
1795 0, /* tp_as_number */
1796 0, /* tp_as_sequence */
1797 0, /* tp_as_mapping */
1798 (hashfunc)0, /* tp_hash */
1799 (ternaryfunc)0, /* tp_call */
1800 (reprfunc)PySwigPacked_str, /* tp_str */
1801 PyObject_GenericGetAttr, /* tp_getattro */
1802 0, /* tp_setattro */
1803 0, /* tp_as_buffer */
1804 Py_TPFLAGS_DEFAULT, /* tp_flags */
1805 swigpacked_doc, /* tp_doc */
1806 0, /* tp_traverse */
1807 0, /* tp_clear */
1808 0, /* tp_richcompare */
1809 0, /* tp_weaklistoffset */
1810 #if PY_VERSION_HEX >= 0x02020000
1811 0, /* tp_iter */
1812 0, /* tp_iternext */
1813 0, /* tp_methods */
1814 0, /* tp_members */
1815 0, /* tp_getset */
1816 0, /* tp_base */
1817 0, /* tp_dict */
1818 0, /* tp_descr_get */
1819 0, /* tp_descr_set */
1820 0, /* tp_dictoffset */
1821 0, /* tp_init */
1822 0, /* tp_alloc */
1823 0, /* tp_new */
1824 0, /* tp_free */
1825 0, /* tp_is_gc */
1826 0, /* tp_bases */
1827 0, /* tp_mro */
1828 0, /* tp_cache */
1829 0, /* tp_subclasses */
1830 0, /* tp_weaklist */
1831 #endif
1832 #if PY_VERSION_HEX >= 0x02030000
1833 0, /* tp_del */
1834 #endif
1835 #ifdef COUNT_ALLOCS
1836 0,0,0,0 /* tp_alloc -> tp_next */
1837 #endif
1838 };
1839 pyswigpacked_type = tmp;
1840 pyswigpacked_type.ob_type = &PyType_Type;
1841 type_init = 1;
1842 }
1843 return &pyswigpacked_type;
1844 }
1845
1846 SWIGRUNTIME PyObject *
1847 PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty)
1848 {
1849 PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1850 if (sobj) {
1851 void *pack = malloc(size);
1852 if (pack) {
1853 memcpy(pack, ptr, size);
1854 sobj->pack = pack;
1855 sobj->ty = ty;
1856 sobj->size = size;
1857 } else {
1858 PyObject_DEL((PyObject *) sobj);
1859 sobj = 0;
1860 }
1861 }
1862 return (PyObject *) sobj;
1863 }
1864
1865 SWIGRUNTIME swig_type_info *
1866 PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1867 {
1868 if (PySwigPacked_Check(obj)) {
1869 PySwigPacked *sobj = (PySwigPacked *)obj;
1870 if (sobj->size != size) return 0;
1871 memcpy(ptr, sobj->pack, size);
1872 return sobj->ty;
1873 } else {
1874 return 0;
1875 }
1876 }
1877
1878 /* -----------------------------------------------------------------------------
1879 * pointers/data manipulation
1880 * ----------------------------------------------------------------------------- */
1881
1882 SWIGRUNTIMEINLINE PyObject *
1883 _SWIG_This(void)
1884 {
1885 return PyString_FromString("this");
1886 }
1887
1888 SWIGRUNTIME PyObject *
1889 SWIG_This(void)
1890 {
1891 static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
1892 return swig_this;
1893 }
1894
1895 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1896
1897 SWIGRUNTIME PySwigObject *
1898 SWIG_Python_GetSwigThis(PyObject *pyobj)
1899 {
1900 if (PySwigObject_Check(pyobj)) {
1901 return (PySwigObject *) pyobj;
1902 } else {
1903 PyObject *obj = 0;
1904 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1905 if (PyInstance_Check(pyobj)) {
1906 obj = _PyInstance_Lookup(pyobj, SWIG_This());
1907 } else {
1908 PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
1909 if (dictptr != NULL) {
1910 PyObject *dict = *dictptr;
1911 obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
1912 } else {
1913 #ifdef PyWeakref_CheckProxy
1914 if (PyWeakref_CheckProxy(pyobj)) {
1915 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
1916 return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
1917 }
1918 #endif
1919 obj = PyObject_GetAttr(pyobj,SWIG_This());
1920 if (obj) {
1921 Py_DECREF(obj);
1922 } else {
1923 if (PyErr_Occurred()) PyErr_Clear();
1924 return 0;
1925 }
1926 }
1927 }
1928 #else
1929 obj = PyObject_GetAttr(pyobj,SWIG_This());
1930 if (obj) {
1931 Py_DECREF(obj);
1932 } else {
1933 if (PyErr_Occurred()) PyErr_Clear();
1934 return 0;
1935 }
1936 #endif
1937 if (obj && !PySwigObject_Check(obj)) {
1938 /* a PyObject is called 'this', try to get the 'real this'
1939 PySwigObject from it */
1940 return SWIG_Python_GetSwigThis(obj);
1941 }
1942 return (PySwigObject *)obj;
1943 }
1944 }
1945
1946 /* Acquire a pointer value */
1947
1948 SWIGRUNTIME int
1949 SWIG_Python_AcquirePtr(PyObject *obj, int own) {
1950 if (own) {
1951 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1952 if (sobj) {
1953 int oldown = sobj->own;
1954 sobj->own = own;
1955 return oldown;
1956 }
1957 }
1958 return 0;
1959 }
1960
1961 /* Convert a pointer value */
1962
1963 SWIGRUNTIME int
1964 SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
1965 if (!obj) return SWIG_ERROR;
1966 if (obj == Py_None) {
1967 if (ptr) *ptr = 0;
1968 return SWIG_OK;
1969 } else {
1970 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1971 while (sobj) {
1972 void *vptr = sobj->ptr;
1973 if (ty) {
1974 swig_type_info *to = sobj->ty;
1975 if (to == ty) {
1976 /* no type cast needed */
1977 if (ptr) *ptr = vptr;
1978 break;
1979 } else {
1980 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
1981 if (!tc) {
1982 sobj = (PySwigObject *)sobj->next;
1983 } else {
1984 if (ptr) *ptr = SWIG_TypeCast(tc,vptr);
1985 break;
1986 }
1987 }
1988 } else {
1989 if (ptr) *ptr = vptr;
1990 break;
1991 }
1992 }
1993 if (sobj) {
1994 if (own) *own = sobj->own;
1995 if (flags & SWIG_POINTER_DISOWN) {
1996 sobj->own = 0;
1997 }
1998 return SWIG_OK;
1999 } else {
2000 int res = SWIG_ERROR;
2001 if (flags & SWIG_POINTER_IMPLICIT_CONV) {
2002 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
2003 if (data && !data->implicitconv) {
2004 PyObject *klass = data->klass;
2005 if (klass) {
2006 PyObject *impconv;
2007 data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
2008 impconv = SWIG_Python_CallFunctor(klass, obj);
2009 data->implicitconv = 0;
2010 if (PyErr_Occurred()) {
2011 PyErr_Clear();
2012 impconv = 0;
2013 }
2014 if (impconv) {
2015 PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv);
2016 if (iobj) {
2017 void *vptr;
2018 res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
2019 if (SWIG_IsOK(res)) {
2020 if (ptr) {
2021 *ptr = vptr;
2022 /* transfer the ownership to 'ptr' */
2023 iobj->own = 0;
2024 res = SWIG_AddCast(res);
2025 res = SWIG_AddNewMask(res);
2026 } else {
2027 res = SWIG_AddCast(res);
2028 }
2029 }
2030 }
2031 Py_DECREF(impconv);
2032 }
2033 }
2034 }
2035 }
2036 return res;
2037 }
2038 }
2039 }
2040
2041 /* Convert a function ptr value */
2042
2043 SWIGRUNTIME int
2044 SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
2045 if (!PyCFunction_Check(obj)) {
2046 return SWIG_ConvertPtr(obj, ptr, ty, 0);
2047 } else {
2048 void *vptr = 0;
2049
2050 /* here we get the method pointer for callbacks */
2051 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
2052 const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
2053 if (desc) {
2054 desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
2055 if (!desc) return SWIG_ERROR;
2056 }
2057 if (ty) {
2058 swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
2059 if (!tc) return SWIG_ERROR;
2060 *ptr = SWIG_TypeCast(tc,vptr);
2061 } else {
2062 *ptr = vptr;
2063 }
2064 return SWIG_OK;
2065 }
2066 }
2067
2068 /* Convert a packed value value */
2069
2070 SWIGRUNTIME int
2071 SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
2072 swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz);
2073 if (!to) return SWIG_ERROR;
2074 if (ty) {
2075 if (to != ty) {
2076 /* check type cast? */
2077 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2078 if (!tc) return SWIG_ERROR;
2079 }
2080 }
2081 return SWIG_OK;
2082 }
2083
2084 /* -----------------------------------------------------------------------------
2085 * Create a new pointer object
2086 * ----------------------------------------------------------------------------- */
2087
2088 /*
2089 Create a new instance object, whitout calling __init__, and set the
2090 'this' attribute.
2091 */
2092
2093 SWIGRUNTIME PyObject*
2094 SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this)
2095 {
2096 #if (PY_VERSION_HEX >= 0x02020000)
2097 PyObject *inst = 0;
2098 PyObject *newraw = data->newraw;
2099 if (newraw) {
2100 inst = PyObject_Call(newraw, data->newargs, NULL);
2101 if (inst) {
2102 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2103 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2104 if (dictptr != NULL) {
2105 PyObject *dict = *dictptr;
2106 if (dict == NULL) {
2107 dict = PyDict_New();
2108 *dictptr = dict;
2109 PyDict_SetItem(dict, SWIG_This(), swig_this);
2110 }
2111 }
2112 #else
2113 PyObject *key = SWIG_This();
2114 PyObject_SetAttr(inst, key, swig_this);
2115 #endif
2116 }
2117 } else {
2118 PyObject *dict = PyDict_New();
2119 PyDict_SetItem(dict, SWIG_This(), swig_this);
2120 inst = PyInstance_NewRaw(data->newargs, dict);
2121 Py_DECREF(dict);
2122 }
2123 return inst;
2124 #else
2125 #if (PY_VERSION_HEX >= 0x02010000)
2126 PyObject *inst;
2127 PyObject *dict = PyDict_New();
2128 PyDict_SetItem(dict, SWIG_This(), swig_this);
2129 inst = PyInstance_NewRaw(data->newargs, dict);
2130 Py_DECREF(dict);
2131 return (PyObject *) inst;
2132 #else
2133 PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
2134 if (inst == NULL) {
2135 return NULL;
2136 }
2137 inst->in_class = (PyClassObject *)data->newargs;
2138 Py_INCREF(inst->in_class);
2139 inst->in_dict = PyDict_New();
2140 if (inst->in_dict == NULL) {
2141 Py_DECREF(inst);
2142 return NULL;
2143 }
2144 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2145 inst->in_weakreflist = NULL;
2146 #endif
2147 #ifdef Py_TPFLAGS_GC
2148 PyObject_GC_Init(inst);
2149 #endif
2150 PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
2151 return (PyObject *) inst;
2152 #endif
2153 #endif
2154 }
2155
2156 SWIGRUNTIME void
2157 SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
2158 {
2159 PyObject *dict;
2160 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2161 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2162 if (dictptr != NULL) {
2163 dict = *dictptr;
2164 if (dict == NULL) {
2165 dict = PyDict_New();
2166 *dictptr = dict;
2167 }
2168 PyDict_SetItem(dict, SWIG_This(), swig_this);
2169 return;
2170 }
2171 #endif
2172 dict = PyObject_GetAttrString(inst, "__dict__");
2173 PyDict_SetItem(dict, SWIG_This(), swig_this);
2174 Py_DECREF(dict);
2175 }
2176
2177
2178 SWIGINTERN PyObject *
2179 SWIG_Python_InitShadowInstance(PyObject *args) {
2180 PyObject *obj[2];
2181 if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) {
2182 return NULL;
2183 } else {
2184 PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
2185 if (sthis) {
2186 PySwigObject_append((PyObject*) sthis, obj[1]);
2187 } else {
2188 SWIG_Python_SetSwigThis(obj[0], obj[1]);
2189 }
2190 return SWIG_Py_Void();
2191 }
2192 }
2193
2194 /* Create a new pointer object */
2195
2196 SWIGRUNTIME PyObject *
2197 SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
2198 if (!ptr) {
2199 return SWIG_Py_Void();
2200 } else {
2201 int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
2202 PyObject *robj = PySwigObject_New(ptr, type, own);
2203 PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0;
2204 if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
2205 PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
2206 if (inst) {
2207 Py_DECREF(robj);
2208 robj = inst;
2209 }
2210 }
2211 return robj;
2212 }
2213 }
2214
2215 /* Create a new packed object */
2216
2217 SWIGRUNTIMEINLINE PyObject *
2218 SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
2219 return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
2220 }
2221
2222 /* -----------------------------------------------------------------------------*
2223 * Get type list
2224 * -----------------------------------------------------------------------------*/
2225
2226 #ifdef SWIG_LINK_RUNTIME
2227 void *SWIG_ReturnGlobalTypeList(void *);
2228 #endif
2229
2230 SWIGRUNTIME swig_module_info *
2231 SWIG_Python_GetModule(void) {
2232 static void *type_pointer = (void *)0;
2233 /* first check if module already created */
2234 if (!type_pointer) {
2235 #ifdef SWIG_LINK_RUNTIME
2236 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
2237 #else
2238 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2239 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
2240 if (PyErr_Occurred()) {
2241 PyErr_Clear();
2242 type_pointer = (void *)0;
2243 }
2244 #endif
2245 }
2246 return (swig_module_info *) type_pointer;
2247 }
2248
2249 #if PY_MAJOR_VERSION < 2
2250 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2251 is copied out of Python/modsupport.c in python version 2.3.4 */
2252 SWIGINTERN int
2253 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
2254 {
2255 PyObject *dict;
2256 if (!PyModule_Check(m)) {
2257 PyErr_SetString(PyExc_TypeError,
2258 "PyModule_AddObject() needs module as first arg");
2259 return SWIG_ERROR;
2260 }
2261 if (!o) {
2262 PyErr_SetString(PyExc_TypeError,
2263 "PyModule_AddObject() needs non-NULL value");
2264 return SWIG_ERROR;
2265 }
2266
2267 dict = PyModule_GetDict(m);
2268 if (dict == NULL) {
2269 /* Internal error -- modules must have a dict! */
2270 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
2271 PyModule_GetName(m));
2272 return SWIG_ERROR;
2273 }
2274 if (PyDict_SetItemString(dict, name, o))
2275 return SWIG_ERROR;
2276 Py_DECREF(o);
2277 return SWIG_OK;
2278 }
2279 #endif
2280
2281 SWIGRUNTIME void
2282 SWIG_Python_DestroyModule(void *vptr)
2283 {
2284 swig_module_info *swig_module = (swig_module_info *) vptr;
2285 swig_type_info **types = swig_module->types;
2286 size_t i;
2287 for (i =0; i < swig_module->size; ++i) {
2288 swig_type_info *ty = types[i];
2289 if (ty->owndata) {
2290 PySwigClientData *data = (PySwigClientData *) ty->clientdata;
2291 if (data) PySwigClientData_Del(data);
2292 }
2293 }
2294 Py_DECREF(SWIG_This());
2295 }
2296
2297 SWIGRUNTIME void
2298 SWIG_Python_SetModule(swig_module_info *swig_module) {
2299 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
2300
2301 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2302 swig_empty_runtime_method_table);
2303 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
2304 if (pointer && module) {
2305 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
2306 } else {
2307 Py_XDECREF(pointer);
2308 }
2309 }
2310
2311 /* The python cached type query */
2312 SWIGRUNTIME PyObject *
2313 SWIG_Python_TypeCache() {
2314 static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
2315 return cache;
2316 }
2317
2318 SWIGRUNTIME swig_type_info *
2319 SWIG_Python_TypeQuery(const char *type)
2320 {
2321 PyObject *cache = SWIG_Python_TypeCache();
2322 PyObject *key = PyString_FromString(type);
2323 PyObject *obj = PyDict_GetItem(cache, key);
2324 swig_type_info *descriptor;
2325 if (obj) {
2326 descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
2327 } else {
2328 swig_module_info *swig_module = SWIG_Python_GetModule();
2329 descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
2330 if (descriptor) {
2331 obj = PyCObject_FromVoidPtr(descriptor, NULL);
2332 PyDict_SetItem(cache, key, obj);
2333 Py_DECREF(obj);
2334 }
2335 }
2336 Py_DECREF(key);
2337 return descriptor;
2338 }
2339
2340 /*
2341 For backward compatibility only
2342 */
2343 #define SWIG_POINTER_EXCEPTION 0
2344 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2345 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2346
2347 SWIGRUNTIME int
2348 SWIG_Python_AddErrMesg(const char* mesg, int infront)
2349 {
2350 if (PyErr_Occurred()) {
2351 PyObject *type = 0;
2352 PyObject *value = 0;
2353 PyObject *traceback = 0;
2354 PyErr_Fetch(&type, &value, &traceback);
2355 if (value) {
2356 PyObject *old_str = PyObject_Str(value);
2357 Py_XINCREF(type);
2358 PyErr_Clear();
2359 if (infront) {
2360 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
2361 } else {
2362 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
2363 }
2364 Py_DECREF(old_str);
2365 }
2366 return 1;
2367 } else {
2368 return 0;
2369 }
2370 }
2371
2372 SWIGRUNTIME int
2373 SWIG_Python_ArgFail(int argnum)
2374 {
2375 if (PyErr_Occurred()) {
2376 /* add information about failing argument */
2377 char mesg[256];
2378 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
2379 return SWIG_Python_AddErrMesg(mesg, 1);
2380 } else {
2381 return 0;
2382 }
2383 }
2384
2385 SWIGRUNTIMEINLINE const char *
2386 PySwigObject_GetDesc(PyObject *self)
2387 {
2388 PySwigObject *v = (PySwigObject *)self;
2389 swig_type_info *ty = v ? v->ty : 0;
2390 return ty ? ty->str : (char*)"";
2391 }
2392
2393 SWIGRUNTIME void
2394 SWIG_Python_TypeError(const char *type, PyObject *obj)
2395 {
2396 if (type) {
2397 #if defined(SWIG_COBJECT_TYPES)
2398 if (obj && PySwigObject_Check(obj)) {
2399 const char *otype = (const char *) PySwigObject_GetDesc(obj);
2400 if (otype) {
2401 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
2402 type, otype);
2403 return;
2404 }
2405 } else
2406 #endif
2407 {
2408 const char *otype = (obj ? obj->ob_type->tp_name : 0);
2409 if (otype) {
2410 PyObject *str = PyObject_Str(obj);
2411 const char *cstr = str ? PyString_AsString(str) : 0;
2412 if (cstr) {
2413 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
2414 type, otype, cstr);
2415 } else {
2416 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
2417 type, otype);
2418 }
2419 Py_XDECREF(str);
2420 return;
2421 }
2422 }
2423 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
2424 } else {
2425 PyErr_Format(PyExc_TypeError, "unexpected type is received");
2426 }
2427 }
2428
2429
2430 /* Convert a pointer value, signal an exception on a type mismatch */
2431 SWIGRUNTIME void *
2432 SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
2433 void *result;
2434 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
2435 PyErr_Clear();
2436 if (flags & SWIG_POINTER_EXCEPTION) {
2437 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
2438 SWIG_Python_ArgFail(argnum);
2439 }
2440 }
2441 return result;
2442 }
2443
2444
2445 #ifdef __cplusplus
2446 #if 0
2447 { /* cc-mode */
2448 #endif
2449 }
2450 #endif
2451
2452
2453
2454 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2455
2456 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2457
2458
2459
2460 /* -------- TYPES TABLE (BEGIN) -------- */
2461
2462 #define SWIGTYPE_p_bool swig_types[0]
2463 #define SWIGTYPE_p_char swig_types[1]
2464 #define SWIGTYPE_p_form_ops_t swig_types[2]
2465 #define SWIGTYPE_p_int swig_types[3]
2466 #define SWIGTYPE_p_unsigned_char swig_types[4]
2467 #define SWIGTYPE_p_unsigned_int swig_types[5]
2468 #define SWIGTYPE_p_unsigned_long swig_types[6]
2469 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2470 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2471 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2472 #define SWIGTYPE_p_wxArrayInt swig_types[10]
2473 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
2474 #define SWIGTYPE_p_wxBitmap swig_types[12]
2475 #define SWIGTYPE_p_wxBoxSizer swig_types[13]
2476 #define SWIGTYPE_p_wxCURHandler swig_types[14]
2477 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[15]
2478 #define SWIGTYPE_p_wxChildFocusEvent swig_types[16]
2479 #define SWIGTYPE_p_wxCloseEvent swig_types[17]
2480 #define SWIGTYPE_p_wxColour swig_types[18]
2481 #define SWIGTYPE_p_wxColourData swig_types[19]
2482 #define SWIGTYPE_p_wxColourDialog swig_types[20]
2483 #define SWIGTYPE_p_wxCommandEvent swig_types[21]
2484 #define SWIGTYPE_p_wxContextMenuEvent swig_types[22]
2485 #define SWIGTYPE_p_wxControl swig_types[23]
2486 #define SWIGTYPE_p_wxControlWithItems swig_types[24]
2487 #define SWIGTYPE_p_wxDC swig_types[25]
2488 #define SWIGTYPE_p_wxDateEvent swig_types[26]
2489 #define SWIGTYPE_p_wxDialog swig_types[27]
2490 #define SWIGTYPE_p_wxDirDialog swig_types[28]
2491 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[29]
2492 #define SWIGTYPE_p_wxDropFilesEvent swig_types[30]
2493 #define SWIGTYPE_p_wxDuplexMode swig_types[31]
2494 #define SWIGTYPE_p_wxEraseEvent swig_types[32]
2495 #define SWIGTYPE_p_wxEvent swig_types[33]
2496 #define SWIGTYPE_p_wxEvtHandler swig_types[34]
2497 #define SWIGTYPE_p_wxFSFile swig_types[35]
2498 #define SWIGTYPE_p_wxFileDialog swig_types[36]
2499 #define SWIGTYPE_p_wxFileSystem swig_types[37]
2500 #define SWIGTYPE_p_wxFindDialogEvent swig_types[38]
2501 #define SWIGTYPE_p_wxFindReplaceData swig_types[39]
2502 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[40]
2503 #define SWIGTYPE_p_wxFlexGridSizer swig_types[41]
2504 #define SWIGTYPE_p_wxFocusEvent swig_types[42]
2505 #define SWIGTYPE_p_wxFont swig_types[43]
2506 #define SWIGTYPE_p_wxFontData swig_types[44]
2507 #define SWIGTYPE_p_wxFontDialog swig_types[45]
2508 #define SWIGTYPE_p_wxFrame swig_types[46]
2509 #define SWIGTYPE_p_wxGBSizerItem swig_types[47]
2510 #define SWIGTYPE_p_wxGIFHandler swig_types[48]
2511 #define SWIGTYPE_p_wxGridBagSizer swig_types[49]
2512 #define SWIGTYPE_p_wxGridSizer swig_types[50]
2513 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[51]
2514 #define SWIGTYPE_p_wxICOHandler swig_types[52]
2515 #define SWIGTYPE_p_wxIcon swig_types[53]
2516 #define SWIGTYPE_p_wxIconBundle swig_types[54]
2517 #define SWIGTYPE_p_wxIconizeEvent swig_types[55]
2518 #define SWIGTYPE_p_wxIdleEvent swig_types[56]
2519 #define SWIGTYPE_p_wxImage swig_types[57]
2520 #define SWIGTYPE_p_wxImageHandler swig_types[58]
2521 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[59]
2522 #define SWIGTYPE_p_wxInitDialogEvent swig_types[60]
2523 #define SWIGTYPE_p_wxJPEGHandler swig_types[61]
2524 #define SWIGTYPE_p_wxKeyEvent swig_types[62]
2525 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[63]
2526 #define SWIGTYPE_p_wxLayoutConstraints swig_types[64]
2527 #define SWIGTYPE_p_wxMDIChildFrame swig_types[65]
2528 #define SWIGTYPE_p_wxMDIClientWindow swig_types[66]
2529 #define SWIGTYPE_p_wxMDIParentFrame swig_types[67]
2530 #define SWIGTYPE_p_wxMaximizeEvent swig_types[68]
2531 #define SWIGTYPE_p_wxMenu swig_types[69]
2532 #define SWIGTYPE_p_wxMenuBar swig_types[70]
2533 #define SWIGTYPE_p_wxMenuEvent swig_types[71]
2534 #define SWIGTYPE_p_wxMenuItem swig_types[72]
2535 #define SWIGTYPE_p_wxMessageDialog swig_types[73]
2536 #define SWIGTYPE_p_wxMiniFrame swig_types[74]
2537 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[75]
2538 #define SWIGTYPE_p_wxMouseEvent swig_types[76]
2539 #define SWIGTYPE_p_wxMoveEvent swig_types[77]
2540 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[78]
2541 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[79]
2542 #define SWIGTYPE_p_wxNcPaintEvent swig_types[80]
2543 #define SWIGTYPE_p_wxNotifyEvent swig_types[81]
2544 #define SWIGTYPE_p_wxObject swig_types[82]
2545 #define SWIGTYPE_p_wxPCXHandler swig_types[83]
2546 #define SWIGTYPE_p_wxPNGHandler swig_types[84]
2547 #define SWIGTYPE_p_wxPNMHandler swig_types[85]
2548 #define SWIGTYPE_p_wxPageSetupDialog swig_types[86]
2549 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[87]
2550 #define SWIGTYPE_p_wxPaintEvent swig_types[88]
2551 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[89]
2552 #define SWIGTYPE_p_wxPanel swig_types[90]
2553 #define SWIGTYPE_p_wxPaperSize swig_types[91]
2554 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[92]
2555 #define SWIGTYPE_p_wxPoint swig_types[93]
2556 #define SWIGTYPE_p_wxPopupWindow swig_types[94]
2557 #define SWIGTYPE_p_wxPreviewCanvas swig_types[95]
2558 #define SWIGTYPE_p_wxPreviewControlBar swig_types[96]
2559 #define SWIGTYPE_p_wxPreviewFrame swig_types[97]
2560 #define SWIGTYPE_p_wxPrintData swig_types[98]
2561 #define SWIGTYPE_p_wxPrintDialog swig_types[99]
2562 #define SWIGTYPE_p_wxPrintDialogData swig_types[100]
2563 #define SWIGTYPE_p_wxPrintPreview swig_types[101]
2564 #define SWIGTYPE_p_wxPrinter swig_types[102]
2565 #define SWIGTYPE_p_wxProgressDialog swig_types[103]
2566 #define SWIGTYPE_p_wxPyApp swig_types[104]
2567 #define SWIGTYPE_p_wxPyCommandEvent swig_types[105]
2568 #define SWIGTYPE_p_wxPyEvent swig_types[106]
2569 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[107]
2570 #define SWIGTYPE_p_wxPyImageHandler swig_types[108]
2571 #define SWIGTYPE_p_wxPyPanel swig_types[109]
2572 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[110]
2573 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[111]
2574 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[112]
2575 #define SWIGTYPE_p_wxPyPrintPreview swig_types[113]
2576 #define SWIGTYPE_p_wxPyPrintout swig_types[114]
2577 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[115]
2578 #define SWIGTYPE_p_wxPySizer swig_types[116]
2579 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[117]
2580 #define SWIGTYPE_p_wxPyVListBox swig_types[118]
2581 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[119]
2582 #define SWIGTYPE_p_wxPyValidator swig_types[120]
2583 #define SWIGTYPE_p_wxPyWindow swig_types[121]
2584 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[122]
2585 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[123]
2586 #define SWIGTYPE_p_wxRect swig_types[124]
2587 #define SWIGTYPE_p_wxRegion swig_types[125]
2588 #define SWIGTYPE_p_wxSashEvent swig_types[126]
2589 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[127]
2590 #define SWIGTYPE_p_wxSashWindow swig_types[128]
2591 #define SWIGTYPE_p_wxScrollEvent swig_types[129]
2592 #define SWIGTYPE_p_wxScrollWinEvent swig_types[130]
2593 #define SWIGTYPE_p_wxScrolledWindow swig_types[131]
2594 #define SWIGTYPE_p_wxSetCursorEvent swig_types[132]
2595 #define SWIGTYPE_p_wxShowEvent swig_types[133]
2596 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[134]
2597 #define SWIGTYPE_p_wxSize swig_types[135]
2598 #define SWIGTYPE_p_wxSizeEvent swig_types[136]
2599 #define SWIGTYPE_p_wxSizer swig_types[137]
2600 #define SWIGTYPE_p_wxSizerItem swig_types[138]
2601 #define SWIGTYPE_p_wxSplashScreen swig_types[139]
2602 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[140]
2603 #define SWIGTYPE_p_wxSplitterEvent swig_types[141]
2604 #define SWIGTYPE_p_wxSplitterWindow swig_types[142]
2605 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[143]
2606 #define SWIGTYPE_p_wxStatusBar swig_types[144]
2607 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[145]
2608 #define SWIGTYPE_p_wxString swig_types[146]
2609 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[147]
2610 #define SWIGTYPE_p_wxTIFFHandler swig_types[148]
2611 #define SWIGTYPE_p_wxTaskBarIcon swig_types[149]
2612 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[150]
2613 #define SWIGTYPE_p_wxTextEntryDialog swig_types[151]
2614 #define SWIGTYPE_p_wxTipWindow swig_types[152]
2615 #define SWIGTYPE_p_wxToolBar swig_types[153]
2616 #define SWIGTYPE_p_wxTopLevelWindow swig_types[154]
2617 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[155]
2618 #define SWIGTYPE_p_wxValidator swig_types[156]
2619 #define SWIGTYPE_p_wxVisualAttributes swig_types[157]
2620 #define SWIGTYPE_p_wxWindow swig_types[158]
2621 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[159]
2622 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[160]
2623 #define SWIGTYPE_p_wxXPMHandler swig_types[161]
2624 static swig_type_info *swig_types[163];
2625 static swig_module_info swig_module = {swig_types, 162, 0, 0, 0, 0};
2626 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2627 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2628
2629 /* -------- TYPES TABLE (END) -------- */
2630
2631 #if (PY_VERSION_HEX <= 0x02000000)
2632 # if !defined(SWIG_PYTHON_CLASSIC)
2633 # error "This python version requires to use swig with the '-classic' option"
2634 # endif
2635 #endif
2636 #if (PY_VERSION_HEX <= 0x02020000)
2637 # error "This python version requires to use swig with the '-nomodern' option"
2638 #endif
2639 #if (PY_VERSION_HEX <= 0x02020000)
2640 # error "This python version requires to use swig with the '-nomodernargs' option"
2641 #endif
2642 #ifndef METH_O
2643 # error "This python version requires to use swig with the '-nofastunpack' option"
2644 #endif
2645
2646 /*-----------------------------------------------
2647 @(target):= _windows_.so
2648 ------------------------------------------------*/
2649 #define SWIG_init init_windows_
2650
2651 #define SWIG_name "_windows_"
2652
2653 #define SWIGVERSION 0x010329
2654
2655
2656 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2657 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2658
2659
2660 #include <stdexcept>
2661
2662
2663 namespace swig {
2664 class PyObject_ptr {
2665 protected:
2666 PyObject *_obj;
2667
2668 public:
2669 PyObject_ptr() :_obj(0)
2670 {
2671 }
2672
2673 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2674 {
2675 Py_XINCREF(_obj);
2676 }
2677
2678 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2679 {
2680 if (initial_ref) Py_XINCREF(_obj);
2681 }
2682
2683 PyObject_ptr & operator=(const PyObject_ptr& item)
2684 {
2685 Py_XINCREF(item._obj);
2686 Py_XDECREF(_obj);
2687 _obj = item._obj;
2688 return *this;
2689 }
2690
2691 ~PyObject_ptr()
2692 {
2693 Py_XDECREF(_obj);
2694 }
2695
2696 operator PyObject *() const
2697 {
2698 return _obj;
2699 }
2700
2701 PyObject *operator->() const
2702 {
2703 return _obj;
2704 }
2705 };
2706 }
2707
2708
2709 namespace swig {
2710 struct PyObject_var : PyObject_ptr {
2711 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2712
2713 PyObject_var & operator = (PyObject* obj)
2714 {
2715 Py_XDECREF(_obj);
2716 _obj = obj;
2717 return *this;
2718 }
2719 };
2720 }
2721
2722
2723 #include "wx/wxPython/wxPython.h"
2724 #include "wx/wxPython/pyclasses.h"
2725
2726
2727 static const wxString wxPyEmptyString(wxEmptyString);
2728 static const wxString wxPyPanelNameStr(wxPanelNameStr);
2729
2730
2731
2732 #include <limits.h>
2733 #ifndef LLONG_MIN
2734 # define LLONG_MIN LONG_LONG_MIN
2735 #endif
2736 #ifndef LLONG_MAX
2737 # define LLONG_MAX LONG_LONG_MAX
2738 #endif
2739 #ifndef ULLONG_MAX
2740 # define ULLONG_MAX ULONG_LONG_MAX
2741 #endif
2742
2743
2744 SWIGINTERN int
2745 SWIG_AsVal_long (PyObject* obj, long* val)
2746 {
2747 if (PyNumber_Check(obj)) {
2748 if (val) *val = PyInt_AsLong(obj);
2749 return SWIG_OK;
2750 }
2751 return SWIG_TypeError;
2752 }
2753
2754
2755 SWIGINTERN int
2756 SWIG_AsVal_int (PyObject * obj, int *val)
2757 {
2758 long v;
2759 int res = SWIG_AsVal_long (obj, &v);
2760 if (SWIG_IsOK(res)) {
2761 if ((v < INT_MIN || v > INT_MAX)) {
2762 return SWIG_OverflowError;
2763 } else {
2764 if (val) *val = static_cast< int >(v);
2765 }
2766 }
2767 return res;
2768 }
2769
2770
2771 SWIGINTERN int
2772 SWIG_AsVal_bool (PyObject *obj, bool *val)
2773 {
2774 if (obj == Py_True) {
2775 if (val) *val = true;
2776 return SWIG_OK;
2777 } else if (obj == Py_False) {
2778 if (val) *val = false;
2779 return SWIG_OK;
2780 } else {
2781 long v = 0;
2782 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2783 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2784 return res;
2785 }
2786 }
2787
2788
2789 #define SWIG_From_long PyInt_FromLong
2790
2791
2792 SWIGINTERNINLINE PyObject *
2793 SWIG_From_int (int value)
2794 {
2795 return SWIG_From_long (value);
2796 }
2797
2798
2799 SWIGINTERN int
2800 SWIG_AsVal_double (PyObject *obj, double* val)
2801 {
2802 if (PyNumber_Check(obj)) {
2803 if (val) *val = PyFloat_AsDouble(obj);
2804 return SWIG_OK;
2805 }
2806 return SWIG_TypeError;
2807 }
2808
2809
2810 #define SWIG_From_double PyFloat_FromDouble
2811
2812 static const wxString wxPyFrameNameStr(wxFrameNameStr);
2813 static const wxString wxPyDialogNameStr(wxDialogNameStr);
2814 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
2815 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
2816 SWIGINTERN void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){ /*wxPyRaiseNotImplemented();*/ }
2817 SWIGINTERN bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow const *self){ /*wxPyRaiseNotImplemented();*/ return false; }
2818
2819
2820 SWIGINTERN wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
2821 wxRect r;
2822 self->GetFieldRect(i, r);
2823 return r;
2824 }
2825 static const wxString wxPySplitterNameStr(wxT("splitter"));
2826 static const wxString wxPySashNameStr(wxT("sashWindow"));
2827 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
2828
2829 #include <wx/popupwin.h>
2830
2831
2832 class wxPyPopupTransientWindow : public wxPopupTransientWindow
2833 {
2834 public:
2835 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
2836 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
2837 : wxPopupTransientWindow(parent, style) {}
2838
2839 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
2840 DEC_PYCALLBACK__(OnDismiss);
2841 DEC_PYCALLBACK_BOOL_(CanDismiss);
2842 PYPRIVATE;
2843 };
2844
2845
2846 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
2847 IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
2848 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
2849
2850
2851 #include <wx/tipwin.h>
2852
2853 SWIGINTERN wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){
2854 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
2855 }
2856
2857 #include <wx/tipwin.h>
2858
2859
2860 #include <wx/vscroll.h>
2861
2862
2863 class wxPyVScrolledWindow : public wxVScrolledWindow
2864 {
2865 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow)
2866 public:
2867 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2868
2869 wxPyVScrolledWindow(wxWindow *parent,
2870 wxWindowID id = wxID_ANY,
2871 const wxPoint& pos = wxDefaultPosition,
2872 const wxSize& size = wxDefaultSize,
2873 long style = 0,
2874 const wxString& name = wxPyPanelNameStr)
2875 : wxVScrolledWindow(parent, id, pos, size, style, name)
2876 {}
2877
2878 // Overridable virtuals
2879
2880 // this function must be overridden in the derived class and it should
2881 // return the height of the given line in pixels
2882 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
2883
2884
2885 // this function doesn't have to be overridden but it may be useful to do
2886 // it if calculating the lines heights is a relatively expensive operation
2887 // as it gives the user code a possibility to calculate several of them at
2888 // once
2889 //
2890 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2891 // shouldn't rely on the latter being called for all lines in the interval
2892 // specified here. It is also possible that OnGetLineHeight() will be
2893 // called for the lines outside of this interval, so this is really just a
2894 // hint, not a promise.
2895 //
2896 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2897 // usual
2898 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
2899
2900
2901 // when the number of lines changes, we try to estimate the total height
2902 // of all lines which is a rather expensive operation in terms of lines
2903 // access, so if the user code may estimate the average height
2904 // better/faster than we do, it should override this function to implement
2905 // its own logic
2906 //
2907 // this function should return the best guess for the total height it may
2908 // make
2909 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
2910
2911
2912 // Also expose some other interesting protected methods
2913
2914
2915 // find the index of the line we need to show at the top of the window such
2916 // that the last (fully or partially) visible line is the given one
2917 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
2918 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
2919
2920 // get the total height of the lines between lineMin (inclusive) and
2921 // lineMax (exclusive)
2922 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
2923 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
2924
2925 // update the thumb size shown by the scrollbar
2926 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2927
2928 // remove the scrollbar completely because we don't need it
2929 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
2930
2931 PYPRIVATE;
2932 };
2933
2934 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
2935
2936 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
2937 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
2938 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
2939
2940
2941 SWIGINTERN int
2942 SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2943 {
2944 long v = 0;
2945 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2946 return SWIG_TypeError;
2947 }
2948 else if (val)
2949 *val = (unsigned long)v;
2950 return SWIG_OK;
2951 }
2952
2953
2954 SWIGINTERNINLINE int
2955 SWIG_AsVal_size_t (PyObject * obj, size_t *val)
2956 {
2957 unsigned long v;
2958 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2959 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2960 return res;
2961 }
2962
2963
2964 SWIGINTERNINLINE PyObject*
2965 SWIG_From_unsigned_SS_long (unsigned long value)
2966 {
2967 return (value > LONG_MAX) ?
2968 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2969 }
2970
2971
2972 SWIGINTERNINLINE PyObject *
2973 SWIG_From_size_t (size_t value)
2974 {
2975 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
2976 }
2977
2978
2979 #include <wx/vlbox.h>
2980
2981 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
2982
2983 class wxPyVListBox : public wxVListBox
2984 {
2985 DECLARE_ABSTRACT_CLASS(wxPyVListBox)
2986 public:
2987 wxPyVListBox() : wxVListBox() {}
2988
2989 wxPyVListBox(wxWindow *parent,
2990 wxWindowID id = wxID_ANY,
2991 const wxPoint& pos = wxDefaultPosition,
2992 const wxSize& size = wxDefaultSize,
2993 long style = 0,
2994 const wxString& name = wxPyVListBoxNameStr)
2995 : wxVListBox(parent, id, pos, size, style, name)
2996 {}
2997
2998 // Overridable virtuals
2999
3000 // the derived class must implement this function to actually draw the item
3001 // with the given index on the provided DC
3002 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3003 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
3004
3005
3006 // the derived class must implement this method to return the height of the
3007 // specified item
3008 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3009 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
3010
3011
3012 // this method may be used to draw separators between the lines; note that
3013 // the rectangle may be modified, typically to deflate it a bit before
3014 // passing to OnDrawItem()
3015 //
3016 // the base class version doesn't do anything
3017 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3018 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3019
3020
3021 // this method is used to draw the items background and, maybe, a border
3022 // around it
3023 //
3024 // the base class version implements a reasonable default behaviour which
3025 // consists in drawing the selected item with the standard background
3026 // colour and drawing a border around the item if it is either selected or
3027 // current
3028 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3029 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3030
3031
3032 PYPRIVATE;
3033 };
3034
3035 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
3036
3037 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
3038 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
3039 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox, wxVListBox, OnDrawSeparator);
3040 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
3041
3042
3043 SWIGINTERN PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
3044 unsigned long cookie = 0;
3045 int selected = self->GetFirstSelected(cookie);
3046 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3047 PyObject* tup = PyTuple_New(2);
3048 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3049 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3050 wxPyEndBlockThreads(blocked);
3051 return tup;
3052 }
3053 SWIGINTERN PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
3054 int selected = self->GetNextSelected(cookie);
3055 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3056 PyObject* tup = PyTuple_New(2);
3057 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3058 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3059 wxPyEndBlockThreads(blocked);
3060 return tup;
3061 }
3062
3063 #include <wx/htmllbox.h>
3064
3065
3066 class wxPyHtmlListBox : public wxHtmlListBox
3067 {
3068 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox)
3069 public:
3070 wxPyHtmlListBox() : wxHtmlListBox() {}
3071
3072 wxPyHtmlListBox(wxWindow *parent,
3073 wxWindowID id = wxID_ANY,
3074 const wxPoint& pos = wxDefaultPosition,
3075 const wxSize& size = wxDefaultSize,
3076 long style = 0,
3077 const wxString& name = wxPyVListBoxNameStr)
3078 : wxHtmlListBox(parent, id, pos, size, style, name)
3079 {}
3080
3081 // Overridable virtuals
3082
3083 // this method must be implemented in the derived class and should return
3084 // the body (i.e. without <html>) of the HTML for the given item
3085 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
3086
3087 // this function may be overridden to decorate HTML returned by OnGetItem()
3088 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
3089
3090 // These are from wxVListBox
3091 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3092 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3093
3094 // TODO:
3095 // // this method allows to customize the selection appearance: it may be used
3096 // // to specify the colour of the text which normally has the given colour
3097 // // colFg when it is inside the selection
3098 // //
3099 // // by default, the original colour is not used at all and all text has the
3100 // // same (default for this system) colour inside selection
3101 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3102
3103 // // this is the same as GetSelectedTextColour() but allows to customize the
3104 // // background colour -- this is even more rarely used as you can change it
3105 // // globally using SetSelectionBackground()
3106 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3107
3108
3109 // This method may be overriden to handle clicking on a link in
3110 // the listbox. By default, clicking links is ignored.
3111 virtual void OnLinkClicked(size_t n,
3112 const wxHtmlLinkInfo& link);
3113
3114 PYPRIVATE;
3115 };
3116
3117
3118 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
3119
3120 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
3121 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
3122 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawSeparator);
3123 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawBackground);
3124
3125
3126 void wxPyHtmlListBox::OnLinkClicked(size_t n,
3127 const wxHtmlLinkInfo& link) {
3128 bool found;
3129 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3130 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
3131 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
3132 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", n, obj));
3133 Py_DECREF(obj);
3134 }
3135 wxPyEndBlockThreads(blocked);
3136 if (! found)
3137 wxPyHtmlListBox::OnLinkClicked(n, link);
3138 }
3139
3140
3141
3142
3143
3144 #ifndef wxHAS_TASK_BAR_ICON
3145 // implement dummy classes for platforms that don't have it
3146
3147 class wxTaskBarIcon : public wxEvtHandler
3148 {
3149 public:
3150 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3151 };
3152
3153
3154 class wxTaskBarIconEvent : public wxEvent
3155 {
3156 public:
3157 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
3158 { wxPyRaiseNotImplemented(); }
3159 virtual wxEvent* Clone() const { return NULL; }
3160 bool IsOk() const { return false; }
3161 bool IsIconInstalled() const { return false; }
3162 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
3163 bool RemoveIcon() { return false; }
3164 bool PopupMenu(wxMenu *menu) { return false; }
3165 };
3166
3167 enum {
3168 wxEVT_TASKBAR_MOVE = 0,
3169 wxEVT_TASKBAR_LEFT_DOWN = 0,
3170 wxEVT_TASKBAR_LEFT_UP = 0,
3171 wxEVT_TASKBAR_RIGHT_DOWN = 0,
3172 wxEVT_TASKBAR_RIGHT_UP = 0,
3173 wxEVT_TASKBAR_LEFT_DCLICK = 0,
3174 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
3175 };
3176
3177
3178 #else
3179 // Otherwise make a class that can virtualize CreatePopupMenu
3180 class wxPyTaskBarIcon : public wxTaskBarIcon
3181 {
3182 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon)
3183 public:
3184 wxPyTaskBarIcon() : wxTaskBarIcon()
3185 {}
3186
3187 wxMenu* CreatePopupMenu() {
3188 wxMenu *rval = NULL;
3189 bool found;
3190 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3191 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
3192 PyObject* ro;
3193 wxMenu* ptr;
3194 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3195 if (ro) {
3196 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
3197 rval = ptr;
3198 Py_DECREF(ro);
3199 }
3200 }
3201 wxPyEndBlockThreads(blocked);
3202 if (! found)
3203 rval = wxTaskBarIcon::CreatePopupMenu();
3204 return rval;
3205 }
3206
3207 PYPRIVATE;
3208 };
3209
3210 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
3211
3212 #endif
3213
3214 SWIGINTERN void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
3215 self->RemoveIcon();
3216 delete self;
3217 }
3218 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
3219 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
3220 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
3221 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
3222 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
3223 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
3224 SWIGINTERN PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
3225 wxArrayString arr;
3226 self->GetFilenames(arr);
3227 return wxArrayString2PyList_helper(arr);
3228 }
3229 SWIGINTERN PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
3230 wxArrayString arr;
3231 self->GetPaths(arr);
3232 return wxArrayString2PyList_helper(arr);
3233 }
3234 SWIGINTERN PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
3235 return wxArrayInt2PyList_helper(self->GetSelections());
3236 }
3237 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){
3238 return new wxSingleChoiceDialog(parent, message, caption,
3239 choices, choices_array, NULL, style, pos);
3240 }
3241 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
3242
3243 SWIGINTERNINLINE PyObject*
3244 SWIG_From_bool (bool value)
3245 {
3246 return PyBool_FromLong(value ? 1 : 0);
3247 }
3248
3249
3250 #include <wx/mdi.h>
3251
3252 // C++ version of Python aware wxWindow
3253 class wxPyWindow : public wxWindow
3254 {
3255 DECLARE_DYNAMIC_CLASS(wxPyWindow)
3256 public:
3257 wxPyWindow() : wxWindow() {}
3258 wxPyWindow(wxWindow* parent, const wxWindowID id,
3259 const wxPoint& pos = wxDefaultPosition,
3260 const wxSize& size = wxDefaultSize,
3261 long style = 0,
3262 const wxString& name = wxPyPanelNameStr)
3263 : wxWindow(parent, id, pos, size, style, name) {}
3264
3265 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
3266
3267 bool DoEraseBackground(wxDC* dc) {
3268 #ifdef __WXMSW__
3269 return wxWindow::DoEraseBackground(dc->GetHDC());
3270 #else
3271 dc->SetBackground(wxBrush(GetBackgroundColour()));
3272 dc->Clear();
3273 return true;
3274 #endif
3275 }
3276
3277 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3278 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3279 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3280 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3281
3282 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3283 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3284 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3285
3286 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3287 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3288
3289 DEC_PYCALLBACK__(InitDialog);
3290 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3291 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3292 DEC_PYCALLBACK_BOOL_(Validate);
3293
3294 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3295 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3296 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3297
3298 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3299 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3300
3301 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3302 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3303
3304 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3305
3306 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3307
3308 PYPRIVATE;
3309 };
3310
3311 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
3312
3313 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
3314 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
3315 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
3316 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
3317
3318 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
3319 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
3320 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
3321
3322 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
3323 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
3324
3325 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
3326 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
3327 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
3328 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
3329
3330 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
3331 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
3332 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
3333
3334 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
3335 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
3336
3337 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
3338 IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
3339
3340 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
3341
3342 IMP_PYCALLBACK_VOID_(wxPyWindow, wxWindow, OnInternalIdle);
3343
3344 // C++ version of Python aware wxPanel
3345 class wxPyPanel : public wxPanel
3346 {
3347 DECLARE_DYNAMIC_CLASS(wxPyPanel)
3348 public:
3349 wxPyPanel() : wxPanel() {}
3350 wxPyPanel(wxWindow* parent, const wxWindowID id,
3351 const wxPoint& pos = wxDefaultPosition,
3352 const wxSize& size = wxDefaultSize,
3353 long style = 0,
3354 const wxString& name = wxPyPanelNameStr)
3355 : wxPanel(parent, id, pos, size, style, name) {}
3356
3357 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
3358 bool DoEraseBackground(wxDC* dc) {
3359 #ifdef __WXMSW__
3360 return wxWindow::DoEraseBackground(dc->GetHDC());
3361 #else
3362 dc->SetBackground(wxBrush(GetBackgroundColour()));
3363 dc->Clear();
3364 return true;
3365 #endif
3366 }
3367
3368
3369 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3370 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3371 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3372 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3373
3374 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3375 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3376 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3377
3378 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3379 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3380
3381 DEC_PYCALLBACK__(InitDialog);
3382 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3383 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3384 DEC_PYCALLBACK_BOOL_(Validate);
3385
3386 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3387 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3388 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3389
3390 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3391 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3392
3393 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3394 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3395
3396 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3397
3398 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3399
3400 PYPRIVATE;
3401 };
3402
3403 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
3404
3405 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
3406 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
3407 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
3408 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
3409
3410 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
3411 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
3412 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
3413
3414 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
3415 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
3416
3417 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
3418 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
3419 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
3420 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
3421
3422 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
3423 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
3424 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
3425
3426 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
3427 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
3428
3429 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
3430 IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
3431
3432 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
3433
3434 IMP_PYCALLBACK_VOID_(wxPyPanel, wxPanel, OnInternalIdle);
3435
3436 // C++ version of Python aware wxScrolledWindow
3437 class wxPyScrolledWindow : public wxScrolledWindow
3438 {
3439 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
3440 public:
3441 wxPyScrolledWindow() : wxScrolledWindow() {}
3442 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
3443 const wxPoint& pos = wxDefaultPosition,
3444 const wxSize& size = wxDefaultSize,
3445 long style = 0,
3446 const wxString& name = wxPyPanelNameStr)
3447 : wxScrolledWindow(parent, id, pos, size, style, name) {}
3448
3449 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
3450 bool DoEraseBackground(wxDC* dc) {
3451 #ifdef __WXMSW__
3452 return wxWindow::DoEraseBackground(dc->GetHDC());
3453 #else
3454 dc->SetBackground(wxBrush(GetBackgroundColour()));
3455 dc->Clear();
3456 return true;
3457 #endif
3458 }
3459
3460 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3461 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3462 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3463 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3464
3465 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3466 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3467 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3468
3469 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3470 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3471
3472 DEC_PYCALLBACK__(InitDialog);
3473 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3474 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3475 DEC_PYCALLBACK_BOOL_(Validate);
3476
3477 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3478 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3479 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3480
3481 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3482 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3483
3484 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3485 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3486
3487 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3488
3489 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3490
3491 PYPRIVATE;
3492 };
3493
3494 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
3495
3496 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
3497 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
3498 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
3499 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
3500
3501 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
3502 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
3503 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
3504
3505 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
3506 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
3507
3508 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
3509 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
3510 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
3511 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
3512
3513 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
3514 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
3515 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
3516
3517 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
3518 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
3519
3520 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
3521 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
3522
3523 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
3524
3525 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow, wxScrolledWindow, OnInternalIdle);
3526
3527
3528 #include "wx/wxPython/printfw.h"
3529
3530
3531 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
3532 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3533 SWIGINTERN PyObject *wxPrintData_GetPrivData(wxPrintData *self){
3534 PyObject* data;
3535 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3536 data = PyString_FromStringAndSize(self->GetPrivData(),
3537 self->GetPrivDataLen());
3538 wxPyEndBlockThreads(blocked);
3539 return data;
3540 }
3541 SWIGINTERN void wxPrintData_SetPrivData(wxPrintData *self,PyObject *data){
3542 if (! PyString_Check(data)) {
3543 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
3544 "Expected string object"));
3545 return /* NULL */ ;
3546 }
3547
3548 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3549 self->SetPrivData(PyString_AS_STRING(data), PyString_GET_SIZE(data));
3550 wxPyEndBlockThreads(blocked);
3551 }
3552
3553
3554 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
3555
3556 // Since this one would be tough and ugly to do with the Macros...
3557 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
3558 bool hadErr = false;
3559 bool found;
3560
3561 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3562 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
3563 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3564 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
3565 PyObject* val;
3566
3567 val = PyTuple_GetItem(result, 0);
3568 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
3569 else hadErr = true;
3570
3571 val = PyTuple_GetItem(result, 1);
3572 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
3573 else hadErr = true;
3574
3575 val = PyTuple_GetItem(result, 2);
3576 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
3577 else hadErr = true;
3578
3579 val = PyTuple_GetItem(result, 3);
3580 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
3581 else hadErr = true;
3582 }
3583 else
3584 hadErr = true;
3585
3586 if (hadErr) {
3587 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
3588 PyErr_Print();
3589 }
3590 Py_DECREF(result);
3591 }
3592 wxPyEndBlockThreads(blocked);
3593 if (! found)
3594 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
3595 }
3596
3597
3598
3599 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
3600 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
3601 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
3602 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
3603 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
3604 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
3605 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
3606
3607
3608
3609
3610
3611 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3612 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3613
3614
3615 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3616 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3617 bool rval=false; \
3618 bool found; \
3619 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3620 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3621 PyObject* win = wxPyMake_wxObject(a,false); \
3622 PyObject* dc = wxPyMake_wxObject(&b,false); \
3623 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3624 Py_DECREF(win); \
3625 Py_DECREF(dc); \
3626 } \
3627 wxPyEndBlockThreads(blocked); \
3628 if (! found) \
3629 rval = PCLASS::CBNAME(a, b); \
3630 return rval; \
3631 }
3632
3633
3634
3635
3636 class wxPyPrintPreview : public wxPrintPreview
3637 {
3638 DECLARE_CLASS(wxPyPrintPreview)
3639 public:
3640 wxPyPrintPreview(wxPyPrintout* printout,
3641 wxPyPrintout* printoutForPrinting,
3642 wxPrintDialogData* data=NULL)
3643 : wxPrintPreview(printout, printoutForPrinting, data)
3644 {}
3645 wxPyPrintPreview(wxPyPrintout* printout,
3646 wxPyPrintout* printoutForPrinting,
3647 wxPrintData* data)
3648 : wxPrintPreview(printout, printoutForPrinting, data)
3649 {}
3650
3651 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
3652 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
3653 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
3654 DEC_PYCALLBACK_BOOL_INT(RenderPage);
3655 DEC_PYCALLBACK_VOID_INT(SetZoom);
3656 DEC_PYCALLBACK_BOOL_BOOL(Print);
3657 DEC_PYCALLBACK_VOID_(DetermineScaling);
3658
3659 PYPRIVATE;
3660 };
3661
3662 // Stupid renamed classes... Fix this in 2.5...
3663 #if defined(__WXMSW__)
3664 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
3665 #elif defined(__WXMAC__)
3666 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
3667 #else
3668 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
3669 #endif
3670
3671 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
3672 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
3673 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
3674 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
3675 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
3676 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
3677 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
3678
3679
3680 class wxPyPreviewFrame : public wxPreviewFrame
3681 {
3682 DECLARE_CLASS(wxPyPreviewFrame)
3683 public:
3684 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
3685 const wxString& title,
3686 const wxPoint& pos = wxDefaultPosition,
3687 const wxSize& size = wxDefaultSize,
3688 long style = wxDEFAULT_FRAME_STYLE,
3689 const wxString& name = wxPyFrameNameStr)
3690 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
3691 {}
3692
3693 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
3694 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
3695
3696 DEC_PYCALLBACK_VOID_(Initialize);
3697 DEC_PYCALLBACK_VOID_(CreateCanvas);
3698 DEC_PYCALLBACK_VOID_(CreateControlBar);
3699
3700 PYPRIVATE;
3701 };
3702
3703 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
3704
3705 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
3706 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
3707 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
3708
3709
3710 class wxPyPreviewControlBar : public wxPreviewControlBar
3711 {
3712 DECLARE_CLASS(wxPyPreviewControlBar)
3713 public:
3714 wxPyPreviewControlBar(wxPrintPreview *preview,
3715 long buttons,
3716 wxWindow *parent,
3717 const wxPoint& pos = wxDefaultPosition,
3718 const wxSize& size = wxDefaultSize,
3719 long style = 0,
3720 const wxString& name = wxPyPanelNameStr)
3721 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
3722 {}
3723
3724 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
3725
3726 DEC_PYCALLBACK_VOID_(CreateButtons);
3727 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
3728
3729 PYPRIVATE;
3730 };
3731
3732 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
3733 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
3734 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
3735
3736 #ifdef __cplusplus
3737 extern "C" {
3738 #endif
3739 SWIGINTERN PyObject *_wrap_new_Panel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3740 PyObject *resultobj = 0;
3741 wxWindow *arg1 = (wxWindow *) 0 ;
3742 int arg2 = (int) (int)-1 ;
3743 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3744 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3745 wxSize const &arg4_defvalue = wxDefaultSize ;
3746 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3747 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3748 wxString const &arg6_defvalue = wxPyPanelNameStr ;
3749 wxString *arg6 = (wxString *) &arg6_defvalue ;
3750 wxPanel *result = 0 ;
3751 void *argp1 = 0 ;
3752 int res1 = 0 ;
3753 int val2 ;
3754 int ecode2 = 0 ;
3755 wxPoint temp3 ;
3756 wxSize temp4 ;
3757 long val5 ;
3758 int ecode5 = 0 ;
3759 bool temp6 = false ;
3760 PyObject * obj0 = 0 ;
3761 PyObject * obj1 = 0 ;
3762 PyObject * obj2 = 0 ;
3763 PyObject * obj3 = 0 ;
3764 PyObject * obj4 = 0 ;
3765 PyObject * obj5 = 0 ;
3766 char * kwnames[] = {
3767 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3768 };
3769
3770 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
3771 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3772 if (!SWIG_IsOK(res1)) {
3773 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3774 }
3775 arg1 = reinterpret_cast< wxWindow * >(argp1);
3776 if (obj1) {
3777 ecode2 = SWIG_AsVal_int(obj1, &val2);
3778 if (!SWIG_IsOK(ecode2)) {
3779 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3780 }
3781 arg2 = static_cast< int >(val2);
3782 }
3783 if (obj2) {
3784 {
3785 arg3 = &temp3;
3786 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3787 }
3788 }
3789 if (obj3) {
3790 {
3791 arg4 = &temp4;
3792 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3793 }
3794 }
3795 if (obj4) {
3796 ecode5 = SWIG_AsVal_long(obj4, &val5);
3797 if (!SWIG_IsOK(ecode5)) {
3798 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3799 }
3800 arg5 = static_cast< long >(val5);
3801 }
3802 if (obj5) {
3803 {
3804 arg6 = wxString_in_helper(obj5);
3805 if (arg6 == NULL) SWIG_fail;
3806 temp6 = true;
3807 }
3808 }
3809 {
3810 if (!wxPyCheckForApp()) SWIG_fail;
3811 PyThreadState* __tstate = wxPyBeginAllowThreads();
3812 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3813 wxPyEndAllowThreads(__tstate);
3814 if (PyErr_Occurred()) SWIG_fail;
3815 }
3816 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_NEW | 0 );
3817 {
3818 if (temp6)
3819 delete arg6;
3820 }
3821 return resultobj;
3822 fail:
3823 {
3824 if (temp6)
3825 delete arg6;
3826 }
3827 return NULL;
3828 }
3829
3830
3831 SWIGINTERN PyObject *_wrap_new_PrePanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3832 PyObject *resultobj = 0;
3833 wxPanel *result = 0 ;
3834
3835 if (!SWIG_Python_UnpackTuple(args,"new_PrePanel",0,0,0)) SWIG_fail;
3836 {
3837 if (!wxPyCheckForApp()) SWIG_fail;
3838 PyThreadState* __tstate = wxPyBeginAllowThreads();
3839 result = (wxPanel *)new wxPanel();
3840 wxPyEndAllowThreads(__tstate);
3841 if (PyErr_Occurred()) SWIG_fail;
3842 }
3843 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_OWN | 0 );
3844 return resultobj;
3845 fail:
3846 return NULL;
3847 }
3848
3849
3850 SWIGINTERN PyObject *_wrap_Panel_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3851 PyObject *resultobj = 0;
3852 wxPanel *arg1 = (wxPanel *) 0 ;
3853 wxWindow *arg2 = (wxWindow *) 0 ;
3854 int arg3 = (int) (int)-1 ;
3855 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3856 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3857 wxSize const &arg5_defvalue = wxDefaultSize ;
3858 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3859 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3860 wxString const &arg7_defvalue = wxPyPanelNameStr ;
3861 wxString *arg7 = (wxString *) &arg7_defvalue ;
3862 bool result;
3863 void *argp1 = 0 ;
3864 int res1 = 0 ;
3865 void *argp2 = 0 ;
3866 int res2 = 0 ;
3867 int val3 ;
3868 int ecode3 = 0 ;
3869 wxPoint temp4 ;
3870 wxSize temp5 ;
3871 long val6 ;
3872 int ecode6 = 0 ;
3873 bool temp7 = false ;
3874 PyObject * obj0 = 0 ;
3875 PyObject * obj1 = 0 ;
3876 PyObject * obj2 = 0 ;
3877 PyObject * obj3 = 0 ;
3878 PyObject * obj4 = 0 ;
3879 PyObject * obj5 = 0 ;
3880 PyObject * obj6 = 0 ;
3881 char * kwnames[] = {
3882 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3883 };
3884
3885 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3886 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3887 if (!SWIG_IsOK(res1)) {
3888 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3889 }
3890 arg1 = reinterpret_cast< wxPanel * >(argp1);
3891 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3892 if (!SWIG_IsOK(res2)) {
3893 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3894 }
3895 arg2 = reinterpret_cast< wxWindow * >(argp2);
3896 if (obj2) {
3897 ecode3 = SWIG_AsVal_int(obj2, &val3);
3898 if (!SWIG_IsOK(ecode3)) {
3899 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3900 }
3901 arg3 = static_cast< int >(val3);
3902 }
3903 if (obj3) {
3904 {
3905 arg4 = &temp4;
3906 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3907 }
3908 }
3909 if (obj4) {
3910 {
3911 arg5 = &temp5;
3912 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3913 }
3914 }
3915 if (obj5) {
3916 ecode6 = SWIG_AsVal_long(obj5, &val6);
3917 if (!SWIG_IsOK(ecode6)) {
3918 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3919 }
3920 arg6 = static_cast< long >(val6);
3921 }
3922 if (obj6) {
3923 {
3924 arg7 = wxString_in_helper(obj6);
3925 if (arg7 == NULL) SWIG_fail;
3926 temp7 = true;
3927 }
3928 }
3929 {
3930 PyThreadState* __tstate = wxPyBeginAllowThreads();
3931 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3932 wxPyEndAllowThreads(__tstate);
3933 if (PyErr_Occurred()) SWIG_fail;
3934 }
3935 {
3936 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3937 }
3938 {
3939 if (temp7)
3940 delete arg7;
3941 }
3942 return resultobj;
3943 fail:
3944 {
3945 if (temp7)
3946 delete arg7;
3947 }
3948 return NULL;
3949 }
3950
3951
3952 SWIGINTERN PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3953 PyObject *resultobj = 0;
3954 wxPanel *arg1 = (wxPanel *) 0 ;
3955 void *argp1 = 0 ;
3956 int res1 = 0 ;
3957 PyObject *swig_obj[1] ;
3958
3959 if (!args) SWIG_fail;
3960 swig_obj[0] = args;
3961 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3962 if (!SWIG_IsOK(res1)) {
3963 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3964 }
3965 arg1 = reinterpret_cast< wxPanel * >(argp1);
3966 {
3967 PyThreadState* __tstate = wxPyBeginAllowThreads();
3968 (arg1)->SetFocusIgnoringChildren();
3969 wxPyEndAllowThreads(__tstate);
3970 if (PyErr_Occurred()) SWIG_fail;
3971 }
3972 resultobj = SWIG_Py_Void();
3973 return resultobj;
3974 fail:
3975 return NULL;
3976 }
3977
3978
3979 SWIGINTERN PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3980 PyObject *resultobj = 0;
3981 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
3982 SwigValueWrapper<wxVisualAttributes > result;
3983 int val1 ;
3984 int ecode1 = 0 ;
3985 PyObject * obj0 = 0 ;
3986 char * kwnames[] = {
3987 (char *) "variant", NULL
3988 };
3989
3990 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
3991 if (obj0) {
3992 ecode1 = SWIG_AsVal_int(obj0, &val1);
3993 if (!SWIG_IsOK(ecode1)) {
3994 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3995 }
3996 arg1 = static_cast< wxWindowVariant >(val1);
3997 }
3998 {
3999 if (!wxPyCheckForApp()) SWIG_fail;
4000 PyThreadState* __tstate = wxPyBeginAllowThreads();
4001 result = wxPanel::GetClassDefaultAttributes(arg1);
4002 wxPyEndAllowThreads(__tstate);
4003 if (PyErr_Occurred()) SWIG_fail;
4004 }
4005 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
4006 return resultobj;
4007 fail:
4008 return NULL;
4009 }
4010
4011
4012 SWIGINTERN PyObject *Panel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4013 PyObject *obj;
4014 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4015 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel, SWIG_NewClientData(obj));
4016 return SWIG_Py_Void();
4017 }
4018
4019 SWIGINTERN PyObject *Panel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4020 return SWIG_Python_InitShadowInstance(args);
4021 }
4022
4023 SWIGINTERN PyObject *_wrap_new_ScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4024 PyObject *resultobj = 0;
4025 wxWindow *arg1 = (wxWindow *) 0 ;
4026 int arg2 = (int) (int)-1 ;
4027 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4028 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4029 wxSize const &arg4_defvalue = wxDefaultSize ;
4030 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4031 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
4032 wxString const &arg6_defvalue = wxPyPanelNameStr ;
4033 wxString *arg6 = (wxString *) &arg6_defvalue ;
4034 wxScrolledWindow *result = 0 ;
4035 void *argp1 = 0 ;
4036 int res1 = 0 ;
4037 int val2 ;
4038 int ecode2 = 0 ;
4039 wxPoint temp3 ;
4040 wxSize temp4 ;
4041 long val5 ;
4042 int ecode5 = 0 ;
4043 bool temp6 = false ;
4044 PyObject * obj0 = 0 ;
4045 PyObject * obj1 = 0 ;
4046 PyObject * obj2 = 0 ;
4047 PyObject * obj3 = 0 ;
4048 PyObject * obj4 = 0 ;
4049 PyObject * obj5 = 0 ;
4050 char * kwnames[] = {
4051 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4052 };
4053
4054 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
4055 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4056 if (!SWIG_IsOK(res1)) {
4057 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4058 }
4059 arg1 = reinterpret_cast< wxWindow * >(argp1);
4060 if (obj1) {
4061 ecode2 = SWIG_AsVal_int(obj1, &val2);
4062 if (!SWIG_IsOK(ecode2)) {
4063 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4064 }
4065 arg2 = static_cast< int >(val2);
4066 }
4067 if (obj2) {
4068 {
4069 arg3 = &temp3;
4070 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4071 }
4072 }
4073 if (obj3) {
4074 {
4075 arg4 = &temp4;
4076 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4077 }
4078 }
4079 if (obj4) {
4080 ecode5 = SWIG_AsVal_long(obj4, &val5);
4081 if (!SWIG_IsOK(ecode5)) {
4082 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4083 }
4084 arg5 = static_cast< long >(val5);
4085 }
4086 if (obj5) {
4087 {
4088 arg6 = wxString_in_helper(obj5);
4089 if (arg6 == NULL) SWIG_fail;
4090 temp6 = true;
4091 }
4092 }
4093 {
4094 if (!wxPyCheckForApp()) SWIG_fail;
4095 PyThreadState* __tstate = wxPyBeginAllowThreads();
4096 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4097 wxPyEndAllowThreads(__tstate);
4098 if (PyErr_Occurred()) SWIG_fail;
4099 }
4100 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_NEW | 0 );
4101 {
4102 if (temp6)
4103 delete arg6;
4104 }
4105 return resultobj;
4106 fail:
4107 {
4108 if (temp6)
4109 delete arg6;
4110 }
4111 return NULL;
4112 }
4113
4114
4115 SWIGINTERN PyObject *_wrap_new_PreScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4116 PyObject *resultobj = 0;
4117 wxScrolledWindow *result = 0 ;
4118
4119 if (!SWIG_Python_UnpackTuple(args,"new_PreScrolledWindow",0,0,0)) SWIG_fail;
4120 {
4121 if (!wxPyCheckForApp()) SWIG_fail;
4122 PyThreadState* __tstate = wxPyBeginAllowThreads();
4123 result = (wxScrolledWindow *)new wxScrolledWindow();
4124 wxPyEndAllowThreads(__tstate);
4125 if (PyErr_Occurred()) SWIG_fail;
4126 }
4127 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_OWN | 0 );
4128 return resultobj;
4129 fail:
4130 return NULL;
4131 }
4132
4133
4134 SWIGINTERN PyObject *_wrap_ScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4135 PyObject *resultobj = 0;
4136 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4137 wxWindow *arg2 = (wxWindow *) 0 ;
4138 int arg3 = (int) (int)-1 ;
4139 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4140 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4141 wxSize const &arg5_defvalue = wxDefaultSize ;
4142 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4143 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
4144 wxString const &arg7_defvalue = wxPyPanelNameStr ;
4145 wxString *arg7 = (wxString *) &arg7_defvalue ;
4146 bool result;
4147 void *argp1 = 0 ;
4148 int res1 = 0 ;
4149 void *argp2 = 0 ;
4150 int res2 = 0 ;
4151 int val3 ;
4152 int ecode3 = 0 ;
4153 wxPoint temp4 ;
4154 wxSize temp5 ;
4155 long val6 ;
4156 int ecode6 = 0 ;
4157 bool temp7 = false ;
4158 PyObject * obj0 = 0 ;
4159 PyObject * obj1 = 0 ;
4160 PyObject * obj2 = 0 ;
4161 PyObject * obj3 = 0 ;
4162 PyObject * obj4 = 0 ;
4163 PyObject * obj5 = 0 ;
4164 PyObject * obj6 = 0 ;
4165 char * kwnames[] = {
4166 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4167 };
4168
4169 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
4170 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4171 if (!SWIG_IsOK(res1)) {
4172 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4173 }
4174 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4175 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4176 if (!SWIG_IsOK(res2)) {
4177 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4178 }
4179 arg2 = reinterpret_cast< wxWindow * >(argp2);
4180 if (obj2) {
4181 ecode3 = SWIG_AsVal_int(obj2, &val3);
4182 if (!SWIG_IsOK(ecode3)) {
4183 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4184 }
4185 arg3 = static_cast< int >(val3);
4186 }
4187 if (obj3) {
4188 {
4189 arg4 = &temp4;
4190 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4191 }
4192 }
4193 if (obj4) {
4194 {
4195 arg5 = &temp5;
4196 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4197 }
4198 }
4199 if (obj5) {
4200 ecode6 = SWIG_AsVal_long(obj5, &val6);
4201 if (!SWIG_IsOK(ecode6)) {
4202 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4203 }
4204 arg6 = static_cast< long >(val6);
4205 }
4206 if (obj6) {
4207 {
4208 arg7 = wxString_in_helper(obj6);
4209 if (arg7 == NULL) SWIG_fail;
4210 temp7 = true;
4211 }
4212 }
4213 {
4214 PyThreadState* __tstate = wxPyBeginAllowThreads();
4215 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4216 wxPyEndAllowThreads(__tstate);
4217 if (PyErr_Occurred()) SWIG_fail;
4218 }
4219 {
4220 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4221 }
4222 {
4223 if (temp7)
4224 delete arg7;
4225 }
4226 return resultobj;
4227 fail:
4228 {
4229 if (temp7)
4230 delete arg7;
4231 }
4232 return NULL;
4233 }
4234
4235
4236 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4237 PyObject *resultobj = 0;
4238 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4239 int arg2 ;
4240 int arg3 ;
4241 int arg4 ;
4242 int arg5 ;
4243 int arg6 = (int) 0 ;
4244 int arg7 = (int) 0 ;
4245 bool arg8 = (bool) false ;
4246 void *argp1 = 0 ;
4247 int res1 = 0 ;
4248 int val2 ;
4249 int ecode2 = 0 ;
4250 int val3 ;
4251 int ecode3 = 0 ;
4252 int val4 ;
4253 int ecode4 = 0 ;
4254 int val5 ;
4255 int ecode5 = 0 ;
4256 int val6 ;
4257 int ecode6 = 0 ;
4258 int val7 ;
4259 int ecode7 = 0 ;
4260 bool val8 ;
4261 int ecode8 = 0 ;
4262 PyObject * obj0 = 0 ;
4263 PyObject * obj1 = 0 ;
4264 PyObject * obj2 = 0 ;
4265 PyObject * obj3 = 0 ;
4266 PyObject * obj4 = 0 ;
4267 PyObject * obj5 = 0 ;
4268 PyObject * obj6 = 0 ;
4269 PyObject * obj7 = 0 ;
4270 char * kwnames[] = {
4271 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4272 };
4273
4274 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
4275 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4276 if (!SWIG_IsOK(res1)) {
4277 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4278 }
4279 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4280 ecode2 = SWIG_AsVal_int(obj1, &val2);
4281 if (!SWIG_IsOK(ecode2)) {
4282 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4283 }
4284 arg2 = static_cast< int >(val2);
4285 ecode3 = SWIG_AsVal_int(obj2, &val3);
4286 if (!SWIG_IsOK(ecode3)) {
4287 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4288 }
4289 arg3 = static_cast< int >(val3);
4290 ecode4 = SWIG_AsVal_int(obj3, &val4);
4291 if (!SWIG_IsOK(ecode4)) {
4292 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4293 }
4294 arg4 = static_cast< int >(val4);
4295 ecode5 = SWIG_AsVal_int(obj4, &val5);
4296 if (!SWIG_IsOK(ecode5)) {
4297 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4298 }
4299 arg5 = static_cast< int >(val5);
4300 if (obj5) {
4301 ecode6 = SWIG_AsVal_int(obj5, &val6);
4302 if (!SWIG_IsOK(ecode6)) {
4303 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4304 }
4305 arg6 = static_cast< int >(val6);
4306 }
4307 if (obj6) {
4308 ecode7 = SWIG_AsVal_int(obj6, &val7);
4309 if (!SWIG_IsOK(ecode7)) {
4310 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4311 }
4312 arg7 = static_cast< int >(val7);
4313 }
4314 if (obj7) {
4315 ecode8 = SWIG_AsVal_bool(obj7, &val8);
4316 if (!SWIG_IsOK(ecode8)) {
4317 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4318 }
4319 arg8 = static_cast< bool >(val8);
4320 }
4321 {
4322 PyThreadState* __tstate = wxPyBeginAllowThreads();
4323 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
4324 wxPyEndAllowThreads(__tstate);
4325 if (PyErr_Occurred()) SWIG_fail;
4326 }
4327 resultobj = SWIG_Py_Void();
4328 return resultobj;
4329 fail:
4330 return NULL;
4331 }
4332
4333
4334 SWIGINTERN PyObject *_wrap_ScrolledWindow_Scroll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4335 PyObject *resultobj = 0;
4336 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4337 int arg2 ;
4338 int arg3 ;
4339 void *argp1 = 0 ;
4340 int res1 = 0 ;
4341 int val2 ;
4342 int ecode2 = 0 ;
4343 int val3 ;
4344 int ecode3 = 0 ;
4345 PyObject * obj0 = 0 ;
4346 PyObject * obj1 = 0 ;
4347 PyObject * obj2 = 0 ;
4348 char * kwnames[] = {
4349 (char *) "self",(char *) "x",(char *) "y", NULL
4350 };
4351
4352 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4353 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4354 if (!SWIG_IsOK(res1)) {
4355 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4356 }
4357 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4358 ecode2 = SWIG_AsVal_int(obj1, &val2);
4359 if (!SWIG_IsOK(ecode2)) {
4360 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4361 }
4362 arg2 = static_cast< int >(val2);
4363 ecode3 = SWIG_AsVal_int(obj2, &val3);
4364 if (!SWIG_IsOK(ecode3)) {
4365 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4366 }
4367 arg3 = static_cast< int >(val3);
4368 {
4369 PyThreadState* __tstate = wxPyBeginAllowThreads();
4370 (arg1)->Scroll(arg2,arg3);
4371 wxPyEndAllowThreads(__tstate);
4372 if (PyErr_Occurred()) SWIG_fail;
4373 }
4374 resultobj = SWIG_Py_Void();
4375 return resultobj;
4376 fail:
4377 return NULL;
4378 }
4379
4380
4381 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4382 PyObject *resultobj = 0;
4383 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4384 int arg2 ;
4385 int result;
4386 void *argp1 = 0 ;
4387 int res1 = 0 ;
4388 int val2 ;
4389 int ecode2 = 0 ;
4390 PyObject * obj0 = 0 ;
4391 PyObject * obj1 = 0 ;
4392 char * kwnames[] = {
4393 (char *) "self",(char *) "orient", NULL
4394 };
4395
4396 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
4397 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4398 if (!SWIG_IsOK(res1)) {
4399 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4400 }
4401 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4402 ecode2 = SWIG_AsVal_int(obj1, &val2);
4403 if (!SWIG_IsOK(ecode2)) {
4404 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4405 }
4406 arg2 = static_cast< int >(val2);
4407 {
4408 PyThreadState* __tstate = wxPyBeginAllowThreads();
4409 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
4410 wxPyEndAllowThreads(__tstate);
4411 if (PyErr_Occurred()) SWIG_fail;
4412 }
4413 resultobj = SWIG_From_int(static_cast< int >(result));
4414 return resultobj;
4415 fail:
4416 return NULL;
4417 }
4418
4419
4420 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4421 PyObject *resultobj = 0;
4422 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4423 int arg2 ;
4424 int arg3 ;
4425 void *argp1 = 0 ;
4426 int res1 = 0 ;
4427 int val2 ;
4428 int ecode2 = 0 ;
4429 int val3 ;
4430 int ecode3 = 0 ;
4431 PyObject * obj0 = 0 ;
4432 PyObject * obj1 = 0 ;
4433 PyObject * obj2 = 0 ;
4434 char * kwnames[] = {
4435 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4436 };
4437
4438 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4439 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4440 if (!SWIG_IsOK(res1)) {
4441 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4442 }
4443 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4444 ecode2 = SWIG_AsVal_int(obj1, &val2);
4445 if (!SWIG_IsOK(ecode2)) {
4446 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4447 }
4448 arg2 = static_cast< int >(val2);
4449 ecode3 = SWIG_AsVal_int(obj2, &val3);
4450 if (!SWIG_IsOK(ecode3)) {
4451 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4452 }
4453 arg3 = static_cast< int >(val3);
4454 {
4455 PyThreadState* __tstate = wxPyBeginAllowThreads();
4456 (arg1)->SetScrollPageSize(arg2,arg3);
4457 wxPyEndAllowThreads(__tstate);
4458 if (PyErr_Occurred()) SWIG_fail;
4459 }
4460 resultobj = SWIG_Py_Void();
4461 return resultobj;
4462 fail:
4463 return NULL;
4464 }
4465
4466
4467 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4468 PyObject *resultobj = 0;
4469 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4470 int arg2 ;
4471 int arg3 ;
4472 void *argp1 = 0 ;
4473 int res1 = 0 ;
4474 int val2 ;
4475 int ecode2 = 0 ;
4476 int val3 ;
4477 int ecode3 = 0 ;
4478 PyObject * obj0 = 0 ;
4479 PyObject * obj1 = 0 ;
4480 PyObject * obj2 = 0 ;
4481 char * kwnames[] = {
4482 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4483 };
4484
4485 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4486 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4487 if (!SWIG_IsOK(res1)) {
4488 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4489 }
4490 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4491 ecode2 = SWIG_AsVal_int(obj1, &val2);
4492 if (!SWIG_IsOK(ecode2)) {
4493 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4494 }
4495 arg2 = static_cast< int >(val2);
4496 ecode3 = SWIG_AsVal_int(obj2, &val3);
4497 if (!SWIG_IsOK(ecode3)) {
4498 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4499 }
4500 arg3 = static_cast< int >(val3);
4501 {
4502 PyThreadState* __tstate = wxPyBeginAllowThreads();
4503 (arg1)->SetScrollRate(arg2,arg3);
4504 wxPyEndAllowThreads(__tstate);
4505 if (PyErr_Occurred()) SWIG_fail;
4506 }
4507 resultobj = SWIG_Py_Void();
4508 return resultobj;
4509 fail:
4510 return NULL;
4511 }
4512
4513
4514 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4515 PyObject *resultobj = 0;
4516 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4517 int *arg2 = (int *) 0 ;
4518 int *arg3 = (int *) 0 ;
4519 void *argp1 = 0 ;
4520 int res1 = 0 ;
4521 int temp2 ;
4522 int res2 = SWIG_TMPOBJ ;
4523 int temp3 ;
4524 int res3 = SWIG_TMPOBJ ;
4525 PyObject *swig_obj[1] ;
4526
4527 arg2 = &temp2;
4528 arg3 = &temp3;
4529 if (!args) SWIG_fail;
4530 swig_obj[0] = args;
4531 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4532 if (!SWIG_IsOK(res1)) {
4533 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4534 }
4535 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4536 {
4537 PyThreadState* __tstate = wxPyBeginAllowThreads();
4538 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
4539 wxPyEndAllowThreads(__tstate);
4540 if (PyErr_Occurred()) SWIG_fail;
4541 }
4542 resultobj = SWIG_Py_Void();
4543 if (SWIG_IsTmpObj(res2)) {
4544 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4545 } else {
4546 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4547 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4548 }
4549 if (SWIG_IsTmpObj(res3)) {
4550 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4551 } else {
4552 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4553 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4554 }
4555 return resultobj;
4556 fail:
4557 return NULL;
4558 }
4559
4560
4561 SWIGINTERN PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4562 PyObject *resultobj = 0;
4563 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4564 bool arg2 ;
4565 bool arg3 ;
4566 void *argp1 = 0 ;
4567 int res1 = 0 ;
4568 bool val2 ;
4569 int ecode2 = 0 ;
4570 bool val3 ;
4571 int ecode3 = 0 ;
4572 PyObject * obj0 = 0 ;
4573 PyObject * obj1 = 0 ;
4574 PyObject * obj2 = 0 ;
4575 char * kwnames[] = {
4576 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4577 };
4578
4579 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4580 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4581 if (!SWIG_IsOK(res1)) {
4582 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4583 }
4584 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4585 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4586 if (!SWIG_IsOK(ecode2)) {
4587 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4588 }
4589 arg2 = static_cast< bool >(val2);
4590 ecode3 = SWIG_AsVal_bool(obj2, &val3);
4591 if (!SWIG_IsOK(ecode3)) {
4592 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4593 }
4594 arg3 = static_cast< bool >(val3);
4595 {
4596 PyThreadState* __tstate = wxPyBeginAllowThreads();
4597 (arg1)->EnableScrolling(arg2,arg3);
4598 wxPyEndAllowThreads(__tstate);
4599 if (PyErr_Occurred()) SWIG_fail;
4600 }
4601 resultobj = SWIG_Py_Void();
4602 return resultobj;
4603 fail:
4604 return NULL;
4605 }
4606
4607
4608 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4609 PyObject *resultobj = 0;
4610 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4611 int *arg2 = (int *) 0 ;
4612 int *arg3 = (int *) 0 ;
4613 void *argp1 = 0 ;
4614 int res1 = 0 ;
4615 int temp2 ;
4616 int res2 = SWIG_TMPOBJ ;
4617 int temp3 ;
4618 int res3 = SWIG_TMPOBJ ;
4619 PyObject *swig_obj[1] ;
4620
4621 arg2 = &temp2;
4622 arg3 = &temp3;
4623 if (!args) SWIG_fail;
4624 swig_obj[0] = args;
4625 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4626 if (!SWIG_IsOK(res1)) {
4627 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4628 }
4629 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4630 {
4631 PyThreadState* __tstate = wxPyBeginAllowThreads();
4632 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
4633 wxPyEndAllowThreads(__tstate);
4634 if (PyErr_Occurred()) SWIG_fail;
4635 }
4636 resultobj = SWIG_Py_Void();
4637 if (SWIG_IsTmpObj(res2)) {
4638 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4639 } else {
4640 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4641 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4642 }
4643 if (SWIG_IsTmpObj(res3)) {
4644 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4645 } else {
4646 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4647 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4648 }
4649 return resultobj;
4650 fail:
4651 return NULL;
4652 }
4653
4654
4655 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4656 PyObject *resultobj = 0;
4657 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4658 double arg2 ;
4659 double arg3 ;
4660 void *argp1 = 0 ;
4661 int res1 = 0 ;
4662 double val2 ;
4663 int ecode2 = 0 ;
4664 double val3 ;
4665 int ecode3 = 0 ;
4666 PyObject * obj0 = 0 ;
4667 PyObject * obj1 = 0 ;
4668 PyObject * obj2 = 0 ;
4669 char * kwnames[] = {
4670 (char *) "self",(char *) "xs",(char *) "ys", NULL
4671 };
4672
4673 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4674 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4675 if (!SWIG_IsOK(res1)) {
4676 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4677 }
4678 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4679 ecode2 = SWIG_AsVal_double(obj1, &val2);
4680 if (!SWIG_IsOK(ecode2)) {
4681 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4682 }
4683 arg2 = static_cast< double >(val2);
4684 ecode3 = SWIG_AsVal_double(obj2, &val3);
4685 if (!SWIG_IsOK(ecode3)) {
4686 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4687 }
4688 arg3 = static_cast< double >(val3);
4689 {
4690 PyThreadState* __tstate = wxPyBeginAllowThreads();
4691 (arg1)->SetScale(arg2,arg3);
4692 wxPyEndAllowThreads(__tstate);
4693 if (PyErr_Occurred()) SWIG_fail;
4694 }
4695 resultobj = SWIG_Py_Void();
4696 return resultobj;
4697 fail:
4698 return NULL;
4699 }
4700
4701
4702 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4703 PyObject *resultobj = 0;
4704 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4705 double result;
4706 void *argp1 = 0 ;
4707 int res1 = 0 ;
4708 PyObject *swig_obj[1] ;
4709
4710 if (!args) SWIG_fail;
4711 swig_obj[0] = args;
4712 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4713 if (!SWIG_IsOK(res1)) {
4714 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4715 }
4716 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4717 {
4718 PyThreadState* __tstate = wxPyBeginAllowThreads();
4719 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
4720 wxPyEndAllowThreads(__tstate);
4721 if (PyErr_Occurred()) SWIG_fail;
4722 }
4723 resultobj = SWIG_From_double(static_cast< double >(result));
4724 return resultobj;
4725 fail:
4726 return NULL;
4727 }
4728
4729
4730 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4731 PyObject *resultobj = 0;
4732 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4733 double result;
4734 void *argp1 = 0 ;
4735 int res1 = 0 ;
4736 PyObject *swig_obj[1] ;
4737
4738 if (!args) SWIG_fail;
4739 swig_obj[0] = args;
4740 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4741 if (!SWIG_IsOK(res1)) {
4742 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4743 }
4744 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4745 {
4746 PyThreadState* __tstate = wxPyBeginAllowThreads();
4747 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
4748 wxPyEndAllowThreads(__tstate);
4749 if (PyErr_Occurred()) SWIG_fail;
4750 }
4751 resultobj = SWIG_From_double(static_cast< double >(result));
4752 return resultobj;
4753 fail:
4754 return NULL;
4755 }
4756
4757
4758 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4759 PyObject *resultobj = 0;
4760 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4761 wxPoint *arg2 = 0 ;
4762 wxPoint result;
4763 void *argp1 = 0 ;
4764 int res1 = 0 ;
4765 wxPoint temp2 ;
4766
4767 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4768 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4769 if (!SWIG_IsOK(res1)) {
4770 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4771 }
4772 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4773 {
4774 arg2 = &temp2;
4775 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4776 }
4777 {
4778 PyThreadState* __tstate = wxPyBeginAllowThreads();
4779 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
4780 wxPyEndAllowThreads(__tstate);
4781 if (PyErr_Occurred()) SWIG_fail;
4782 }
4783 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4784 return resultobj;
4785 fail:
4786 return NULL;
4787 }
4788
4789
4790 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4791 PyObject *resultobj = 0;
4792 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4793 int arg2 ;
4794 int arg3 ;
4795 int *arg4 = (int *) 0 ;
4796 int *arg5 = (int *) 0 ;
4797 void *argp1 = 0 ;
4798 int res1 = 0 ;
4799 int val2 ;
4800 int ecode2 = 0 ;
4801 int val3 ;
4802 int ecode3 = 0 ;
4803 int temp4 ;
4804 int res4 = SWIG_TMPOBJ ;
4805 int temp5 ;
4806 int res5 = SWIG_TMPOBJ ;
4807
4808 arg4 = &temp4;
4809 arg5 = &temp5;
4810 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4811 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4812 if (!SWIG_IsOK(res1)) {
4813 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4814 }
4815 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4816 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4817 if (!SWIG_IsOK(ecode2)) {
4818 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4819 }
4820 arg2 = static_cast< int >(val2);
4821 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4822 if (!SWIG_IsOK(ecode3)) {
4823 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4824 }
4825 arg3 = static_cast< int >(val3);
4826 {
4827 PyThreadState* __tstate = wxPyBeginAllowThreads();
4828 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
4829 wxPyEndAllowThreads(__tstate);
4830 if (PyErr_Occurred()) SWIG_fail;
4831 }
4832 resultobj = SWIG_Py_Void();
4833 if (SWIG_IsTmpObj(res4)) {
4834 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4835 } else {
4836 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4837 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4838 }
4839 if (SWIG_IsTmpObj(res5)) {
4840 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4841 } else {
4842 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4843 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4844 }
4845 return resultobj;
4846 fail:
4847 return NULL;
4848 }
4849
4850
4851 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
4852 int argc;
4853 PyObject *argv[4];
4854
4855 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcScrolledPosition",0,3,argv))) SWIG_fail;
4856 --argc;
4857 if (argc == 2) {
4858 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self, argc, argv);
4859 }
4860 if (argc == 3) {
4861 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self, argc, argv);
4862 }
4863
4864 fail:
4865 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4866 return NULL;
4867 }
4868
4869
4870 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4871 PyObject *resultobj = 0;
4872 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4873 wxPoint *arg2 = 0 ;
4874 wxPoint result;
4875 void *argp1 = 0 ;
4876 int res1 = 0 ;
4877 wxPoint temp2 ;
4878
4879 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4880 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4881 if (!SWIG_IsOK(res1)) {
4882 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4883 }
4884 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4885 {
4886 arg2 = &temp2;
4887 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4888 }
4889 {
4890 PyThreadState* __tstate = wxPyBeginAllowThreads();
4891 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
4892 wxPyEndAllowThreads(__tstate);
4893 if (PyErr_Occurred()) SWIG_fail;
4894 }
4895 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4896 return resultobj;
4897 fail:
4898 return NULL;
4899 }
4900
4901
4902 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4903 PyObject *resultobj = 0;
4904 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4905 int arg2 ;
4906 int arg3 ;
4907 int *arg4 = (int *) 0 ;
4908 int *arg5 = (int *) 0 ;
4909 void *argp1 = 0 ;
4910 int res1 = 0 ;
4911 int val2 ;
4912 int ecode2 = 0 ;
4913 int val3 ;
4914 int ecode3 = 0 ;
4915 int temp4 ;
4916 int res4 = SWIG_TMPOBJ ;
4917 int temp5 ;
4918 int res5 = SWIG_TMPOBJ ;
4919
4920 arg4 = &temp4;
4921 arg5 = &temp5;
4922 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4923 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4924 if (!SWIG_IsOK(res1)) {
4925 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4926 }
4927 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4928 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4929 if (!SWIG_IsOK(ecode2)) {
4930 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4931 }
4932 arg2 = static_cast< int >(val2);
4933 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4934 if (!SWIG_IsOK(ecode3)) {
4935 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4936 }
4937 arg3 = static_cast< int >(val3);
4938 {
4939 PyThreadState* __tstate = wxPyBeginAllowThreads();
4940 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
4941 wxPyEndAllowThreads(__tstate);
4942 if (PyErr_Occurred()) SWIG_fail;
4943 }
4944 resultobj = SWIG_Py_Void();
4945 if (SWIG_IsTmpObj(res4)) {
4946 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4947 } else {
4948 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4949 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4950 }
4951 if (SWIG_IsTmpObj(res5)) {
4952 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4953 } else {
4954 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4955 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4956 }
4957 return resultobj;
4958 fail:
4959 return NULL;
4960 }
4961
4962
4963 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
4964 int argc;
4965 PyObject *argv[4];
4966
4967 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv))) SWIG_fail;
4968 --argc;
4969 if (argc == 2) {
4970 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self, argc, argv);
4971 }
4972 if (argc == 3) {
4973 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self, argc, argv);
4974 }
4975
4976 fail:
4977 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4978 return NULL;
4979 }
4980
4981
4982 SWIGINTERN PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4983 PyObject *resultobj = 0;
4984 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4985 void *argp1 = 0 ;
4986 int res1 = 0 ;
4987 PyObject *swig_obj[1] ;
4988
4989 if (!args) SWIG_fail;
4990 swig_obj[0] = args;
4991 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4992 if (!SWIG_IsOK(res1)) {
4993 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4994 }
4995 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4996 {
4997 PyThreadState* __tstate = wxPyBeginAllowThreads();
4998 (arg1)->AdjustScrollbars();
4999 wxPyEndAllowThreads(__tstate);
5000 if (PyErr_Occurred()) SWIG_fail;
5001 }
5002 resultobj = SWIG_Py_Void();
5003 return resultobj;
5004 fail:
5005 return NULL;
5006 }
5007
5008
5009 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5010 PyObject *resultobj = 0;
5011 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5012 wxScrollWinEvent *arg2 = 0 ;
5013 int result;
5014 void *argp1 = 0 ;
5015 int res1 = 0 ;
5016 void *argp2 = 0 ;
5017 int res2 = 0 ;
5018 PyObject * obj0 = 0 ;
5019 PyObject * obj1 = 0 ;
5020 char * kwnames[] = {
5021 (char *) "self",(char *) "event", NULL
5022 };
5023
5024 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) SWIG_fail;
5025 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5026 if (!SWIG_IsOK(res1)) {
5027 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5028 }
5029 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5030 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxScrollWinEvent, 0 );
5031 if (!SWIG_IsOK(res2)) {
5032 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5033 }
5034 if (!argp2) {
5035 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5036 }
5037 arg2 = reinterpret_cast< wxScrollWinEvent * >(argp2);
5038 {
5039 PyThreadState* __tstate = wxPyBeginAllowThreads();
5040 result = (int)(arg1)->CalcScrollInc(*arg2);
5041 wxPyEndAllowThreads(__tstate);
5042 if (PyErr_Occurred()) SWIG_fail;
5043 }
5044 resultobj = SWIG_From_int(static_cast< int >(result));
5045 return resultobj;
5046 fail:
5047 return NULL;
5048 }
5049
5050
5051 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5052 PyObject *resultobj = 0;
5053 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5054 wxWindow *arg2 = (wxWindow *) 0 ;
5055 void *argp1 = 0 ;
5056 int res1 = 0 ;
5057 void *argp2 = 0 ;
5058 int res2 = 0 ;
5059 PyObject * obj0 = 0 ;
5060 PyObject * obj1 = 0 ;
5061 char * kwnames[] = {
5062 (char *) "self",(char *) "target", NULL
5063 };
5064
5065 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) SWIG_fail;
5066 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5067 if (!SWIG_IsOK(res1)) {
5068 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5069 }
5070 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5071 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5072 if (!SWIG_IsOK(res2)) {
5073 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5074 }
5075 arg2 = reinterpret_cast< wxWindow * >(argp2);
5076 {
5077 PyThreadState* __tstate = wxPyBeginAllowThreads();
5078 (arg1)->SetTargetWindow(arg2);
5079 wxPyEndAllowThreads(__tstate);
5080 if (PyErr_Occurred()) SWIG_fail;
5081 }
5082 resultobj = SWIG_Py_Void();
5083 return resultobj;
5084 fail:
5085 return NULL;
5086 }
5087
5088
5089 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5090 PyObject *resultobj = 0;
5091 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5092 wxWindow *result = 0 ;
5093 void *argp1 = 0 ;
5094 int res1 = 0 ;
5095 PyObject *swig_obj[1] ;
5096
5097 if (!args) SWIG_fail;
5098 swig_obj[0] = args;
5099 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5100 if (!SWIG_IsOK(res1)) {
5101 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5102 }
5103 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5104 {
5105 PyThreadState* __tstate = wxPyBeginAllowThreads();
5106 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
5107 wxPyEndAllowThreads(__tstate);
5108 if (PyErr_Occurred()) SWIG_fail;
5109 }
5110 {
5111 resultobj = wxPyMake_wxObject(result, 0);
5112 }
5113 return resultobj;
5114 fail:
5115 return NULL;
5116 }
5117
5118
5119 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5120 PyObject *resultobj = 0;
5121 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5122 wxRect *arg2 = 0 ;
5123 void *argp1 = 0 ;
5124 int res1 = 0 ;
5125 wxRect temp2 ;
5126 PyObject * obj0 = 0 ;
5127 PyObject * obj1 = 0 ;
5128 char * kwnames[] = {
5129 (char *) "self",(char *) "rect", NULL
5130 };
5131
5132 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) SWIG_fail;
5133 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5134 if (!SWIG_IsOK(res1)) {
5135 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5136 }
5137 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5138 {
5139 arg2 = &temp2;
5140 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
5141 }
5142 {
5143 PyThreadState* __tstate = wxPyBeginAllowThreads();
5144 (arg1)->SetTargetRect((wxRect const &)*arg2);
5145 wxPyEndAllowThreads(__tstate);
5146 if (PyErr_Occurred()) SWIG_fail;
5147 }
5148 resultobj = SWIG_Py_Void();
5149 return resultobj;
5150 fail:
5151 return NULL;
5152 }
5153
5154
5155 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5156 PyObject *resultobj = 0;
5157 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5158 wxRect result;
5159 void *argp1 = 0 ;
5160 int res1 = 0 ;
5161 PyObject *swig_obj[1] ;
5162
5163 if (!args) SWIG_fail;
5164 swig_obj[0] = args;
5165 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5166 if (!SWIG_IsOK(res1)) {
5167 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5168 }
5169 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5170 {
5171 PyThreadState* __tstate = wxPyBeginAllowThreads();
5172 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
5173 wxPyEndAllowThreads(__tstate);
5174 if (PyErr_Occurred()) SWIG_fail;
5175 }
5176 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
5177 return resultobj;
5178 fail:
5179 return NULL;
5180 }
5181
5182
5183 SWIGINTERN PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5184 PyObject *resultobj = 0;
5185 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5186 wxDC *arg2 = 0 ;
5187 void *argp1 = 0 ;
5188 int res1 = 0 ;
5189 void *argp2 = 0 ;
5190 int res2 = 0 ;
5191 PyObject * obj0 = 0 ;
5192 PyObject * obj1 = 0 ;
5193 char * kwnames[] = {
5194 (char *) "self",(char *) "dc", NULL
5195 };
5196
5197 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) SWIG_fail;
5198 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5199 if (!SWIG_IsOK(res1)) {
5200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5201 }
5202 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5203 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
5204 if (!SWIG_IsOK(res2)) {
5205 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5206 }
5207 if (!argp2) {
5208 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5209 }
5210 arg2 = reinterpret_cast< wxDC * >(argp2);
5211 {
5212 PyThreadState* __tstate = wxPyBeginAllowThreads();
5213 (arg1)->DoPrepareDC(*arg2);
5214 wxPyEndAllowThreads(__tstate);
5215 if (PyErr_Occurred()) SWIG_fail;
5216 }
5217 resultobj = SWIG_Py_Void();
5218 return resultobj;
5219 fail:
5220 return NULL;
5221 }
5222
5223
5224 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5225 PyObject *resultobj = 0;
5226 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5227 SwigValueWrapper<wxVisualAttributes > result;
5228 int val1 ;
5229 int ecode1 = 0 ;
5230 PyObject * obj0 = 0 ;
5231 char * kwnames[] = {
5232 (char *) "variant", NULL
5233 };
5234
5235 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5236 if (obj0) {
5237 ecode1 = SWIG_AsVal_int(obj0, &val1);
5238 if (!SWIG_IsOK(ecode1)) {
5239 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5240 }
5241 arg1 = static_cast< wxWindowVariant >(val1);
5242 }
5243 {
5244 if (!wxPyCheckForApp()) SWIG_fail;
5245 PyThreadState* __tstate = wxPyBeginAllowThreads();
5246 result = wxScrolledWindow::GetClassDefaultAttributes(arg1);
5247 wxPyEndAllowThreads(__tstate);
5248 if (PyErr_Occurred()) SWIG_fail;
5249 }
5250 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5251 return resultobj;
5252 fail:
5253 return NULL;
5254 }
5255
5256
5257 SWIGINTERN PyObject *ScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5258 PyObject *obj;
5259 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5260 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow, SWIG_NewClientData(obj));
5261 return SWIG_Py_Void();
5262 }
5263
5264 SWIGINTERN PyObject *ScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5265 return SWIG_Python_InitShadowInstance(args);
5266 }
5267
5268 SWIGINTERN int FrameNameStr_set(PyObject *) {
5269 SWIG_Error(SWIG_AttributeError,"Variable FrameNameStr is read-only.");
5270 return 1;
5271 }
5272
5273
5274 SWIGINTERN PyObject *FrameNameStr_get(void) {
5275 PyObject *pyobj = 0;
5276
5277 {
5278 #if wxUSE_UNICODE
5279 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5280 #else
5281 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5282 #endif
5283 }
5284 return pyobj;
5285 }
5286
5287
5288 SWIGINTERN int DialogNameStr_set(PyObject *) {
5289 SWIG_Error(SWIG_AttributeError,"Variable DialogNameStr is read-only.");
5290 return 1;
5291 }
5292
5293
5294 SWIGINTERN PyObject *DialogNameStr_get(void) {
5295 PyObject *pyobj = 0;
5296
5297 {
5298 #if wxUSE_UNICODE
5299 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5300 #else
5301 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5302 #endif
5303 }
5304 return pyobj;
5305 }
5306
5307
5308 SWIGINTERN int StatusLineNameStr_set(PyObject *) {
5309 SWIG_Error(SWIG_AttributeError,"Variable StatusLineNameStr is read-only.");
5310 return 1;
5311 }
5312
5313
5314 SWIGINTERN PyObject *StatusLineNameStr_get(void) {
5315 PyObject *pyobj = 0;
5316
5317 {
5318 #if wxUSE_UNICODE
5319 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5320 #else
5321 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5322 #endif
5323 }
5324 return pyobj;
5325 }
5326
5327
5328 SWIGINTERN int ToolBarNameStr_set(PyObject *) {
5329 SWIG_Error(SWIG_AttributeError,"Variable ToolBarNameStr is read-only.");
5330 return 1;
5331 }
5332
5333
5334 SWIGINTERN PyObject *ToolBarNameStr_get(void) {
5335 PyObject *pyobj = 0;
5336
5337 {
5338 #if wxUSE_UNICODE
5339 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5340 #else
5341 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5342 #endif
5343 }
5344 return pyobj;
5345 }
5346
5347
5348 SWIGINTERN PyObject *_wrap_TopLevelWindow_Maximize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5349 PyObject *resultobj = 0;
5350 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5351 bool arg2 = (bool) true ;
5352 void *argp1 = 0 ;
5353 int res1 = 0 ;
5354 bool val2 ;
5355 int ecode2 = 0 ;
5356 PyObject * obj0 = 0 ;
5357 PyObject * obj1 = 0 ;
5358 char * kwnames[] = {
5359 (char *) "self",(char *) "maximize", NULL
5360 };
5361
5362 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) SWIG_fail;
5363 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5364 if (!SWIG_IsOK(res1)) {
5365 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5366 }
5367 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5368 if (obj1) {
5369 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5370 if (!SWIG_IsOK(ecode2)) {
5371 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5372 }
5373 arg2 = static_cast< bool >(val2);
5374 }
5375 {
5376 PyThreadState* __tstate = wxPyBeginAllowThreads();
5377 (arg1)->Maximize(arg2);
5378 wxPyEndAllowThreads(__tstate);
5379 if (PyErr_Occurred()) SWIG_fail;
5380 }
5381 resultobj = SWIG_Py_Void();
5382 return resultobj;
5383 fail:
5384 return NULL;
5385 }
5386
5387
5388 SWIGINTERN PyObject *_wrap_TopLevelWindow_Restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5389 PyObject *resultobj = 0;
5390 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5391 void *argp1 = 0 ;
5392 int res1 = 0 ;
5393 PyObject *swig_obj[1] ;
5394
5395 if (!args) SWIG_fail;
5396 swig_obj[0] = args;
5397 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5398 if (!SWIG_IsOK(res1)) {
5399 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5400 }
5401 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5402 {
5403 PyThreadState* __tstate = wxPyBeginAllowThreads();
5404 (arg1)->Restore();
5405 wxPyEndAllowThreads(__tstate);
5406 if (PyErr_Occurred()) SWIG_fail;
5407 }
5408 resultobj = SWIG_Py_Void();
5409 return resultobj;
5410 fail:
5411 return NULL;
5412 }
5413
5414
5415 SWIGINTERN PyObject *_wrap_TopLevelWindow_Iconize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5416 PyObject *resultobj = 0;
5417 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5418 bool arg2 = (bool) true ;
5419 void *argp1 = 0 ;
5420 int res1 = 0 ;
5421 bool val2 ;
5422 int ecode2 = 0 ;
5423 PyObject * obj0 = 0 ;
5424 PyObject * obj1 = 0 ;
5425 char * kwnames[] = {
5426 (char *) "self",(char *) "iconize", NULL
5427 };
5428
5429 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) SWIG_fail;
5430 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5431 if (!SWIG_IsOK(res1)) {
5432 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5433 }
5434 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5435 if (obj1) {
5436 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5437 if (!SWIG_IsOK(ecode2)) {
5438 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5439 }
5440 arg2 = static_cast< bool >(val2);
5441 }
5442 {
5443 PyThreadState* __tstate = wxPyBeginAllowThreads();
5444 (arg1)->Iconize(arg2);
5445 wxPyEndAllowThreads(__tstate);
5446 if (PyErr_Occurred()) SWIG_fail;
5447 }
5448 resultobj = SWIG_Py_Void();
5449 return resultobj;
5450 fail:
5451 return NULL;
5452 }
5453
5454
5455 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5456 PyObject *resultobj = 0;
5457 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5458 bool result;
5459 void *argp1 = 0 ;
5460 int res1 = 0 ;
5461 PyObject *swig_obj[1] ;
5462
5463 if (!args) SWIG_fail;
5464 swig_obj[0] = args;
5465 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5466 if (!SWIG_IsOK(res1)) {
5467 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5468 }
5469 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5470 {
5471 PyThreadState* __tstate = wxPyBeginAllowThreads();
5472 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
5473 wxPyEndAllowThreads(__tstate);
5474 if (PyErr_Occurred()) SWIG_fail;
5475 }
5476 {
5477 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5478 }
5479 return resultobj;
5480 fail:
5481 return NULL;
5482 }
5483
5484
5485 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5486 PyObject *resultobj = 0;
5487 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5488 bool result;
5489 void *argp1 = 0 ;
5490 int res1 = 0 ;
5491 PyObject *swig_obj[1] ;
5492
5493 if (!args) SWIG_fail;
5494 swig_obj[0] = args;
5495 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5496 if (!SWIG_IsOK(res1)) {
5497 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5498 }
5499 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5500 {
5501 PyThreadState* __tstate = wxPyBeginAllowThreads();
5502 result = (bool)((wxTopLevelWindow const *)arg1)->IsAlwaysMaximized();
5503 wxPyEndAllowThreads(__tstate);
5504 if (PyErr_Occurred()) SWIG_fail;
5505 }
5506 {
5507 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5508 }
5509 return resultobj;
5510 fail:
5511 return NULL;
5512 }
5513
5514
5515 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5516 PyObject *resultobj = 0;
5517 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5518 bool result;
5519 void *argp1 = 0 ;
5520 int res1 = 0 ;
5521 PyObject *swig_obj[1] ;
5522
5523 if (!args) SWIG_fail;
5524 swig_obj[0] = args;
5525 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5526 if (!SWIG_IsOK(res1)) {
5527 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5528 }
5529 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5530 {
5531 PyThreadState* __tstate = wxPyBeginAllowThreads();
5532 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
5533 wxPyEndAllowThreads(__tstate);
5534 if (PyErr_Occurred()) SWIG_fail;
5535 }
5536 {
5537 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5538 }
5539 return resultobj;
5540 fail:
5541 return NULL;
5542 }
5543
5544
5545 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5546 PyObject *resultobj = 0;
5547 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5548 wxIcon result;
5549 void *argp1 = 0 ;
5550 int res1 = 0 ;
5551 PyObject *swig_obj[1] ;
5552
5553 if (!args) SWIG_fail;
5554 swig_obj[0] = args;
5555 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5556 if (!SWIG_IsOK(res1)) {
5557 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5558 }
5559 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5560 {
5561 PyThreadState* __tstate = wxPyBeginAllowThreads();
5562 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
5563 wxPyEndAllowThreads(__tstate);
5564 if (PyErr_Occurred()) SWIG_fail;
5565 }
5566 resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN | 0 );
5567 return resultobj;
5568 fail:
5569 return NULL;
5570 }
5571
5572
5573 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5574 PyObject *resultobj = 0;
5575 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5576 wxIcon *arg2 = 0 ;
5577 void *argp1 = 0 ;
5578 int res1 = 0 ;
5579 void *argp2 = 0 ;
5580 int res2 = 0 ;
5581 PyObject * obj0 = 0 ;
5582 PyObject * obj1 = 0 ;
5583 char * kwnames[] = {
5584 (char *) "self",(char *) "icon", NULL
5585 };
5586
5587 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
5588 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5589 if (!SWIG_IsOK(res1)) {
5590 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5591 }
5592 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5593 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
5594 if (!SWIG_IsOK(res2)) {
5595 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5596 }
5597 if (!argp2) {
5598 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5599 }
5600 arg2 = reinterpret_cast< wxIcon * >(argp2);
5601 {
5602 PyThreadState* __tstate = wxPyBeginAllowThreads();
5603 (arg1)->SetIcon((wxIcon const &)*arg2);
5604 wxPyEndAllowThreads(__tstate);
5605 if (PyErr_Occurred()) SWIG_fail;
5606 }
5607 resultobj = SWIG_Py_Void();
5608 return resultobj;
5609 fail:
5610 return NULL;
5611 }
5612
5613
5614 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5615 PyObject *resultobj = 0;
5616 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5617 wxIconBundle *arg2 = 0 ;
5618 void *argp1 = 0 ;
5619 int res1 = 0 ;
5620 void *argp2 = 0 ;
5621 int res2 = 0 ;
5622 PyObject * obj0 = 0 ;
5623 PyObject * obj1 = 0 ;
5624 char * kwnames[] = {
5625 (char *) "self",(char *) "icons", NULL
5626 };
5627
5628 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) SWIG_fail;
5629 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5630 if (!SWIG_IsOK(res1)) {
5631 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5632 }
5633 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5634 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIconBundle, 0 | 0);
5635 if (!SWIG_IsOK(res2)) {
5636 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5637 }
5638 if (!argp2) {
5639 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5640 }
5641 arg2 = reinterpret_cast< wxIconBundle * >(argp2);
5642 {
5643 PyThreadState* __tstate = wxPyBeginAllowThreads();
5644 (arg1)->SetIcons((wxIconBundle const &)*arg2);
5645 wxPyEndAllowThreads(__tstate);
5646 if (PyErr_Occurred()) SWIG_fail;
5647 }
5648 resultobj = SWIG_Py_Void();
5649 return resultobj;
5650 fail:
5651 return NULL;
5652 }
5653
5654
5655 SWIGINTERN PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5656 PyObject *resultobj = 0;
5657 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5658 bool arg2 ;
5659 long arg3 = (long) wxFULLSCREEN_ALL ;
5660 bool result;
5661 void *argp1 = 0 ;
5662 int res1 = 0 ;
5663 bool val2 ;
5664 int ecode2 = 0 ;
5665 long val3 ;
5666 int ecode3 = 0 ;
5667 PyObject * obj0 = 0 ;
5668 PyObject * obj1 = 0 ;
5669 PyObject * obj2 = 0 ;
5670 char * kwnames[] = {
5671 (char *) "self",(char *) "show",(char *) "style", NULL
5672 };
5673
5674 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5675 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5676 if (!SWIG_IsOK(res1)) {
5677 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5678 }
5679 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5680 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5681 if (!SWIG_IsOK(ecode2)) {
5682 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5683 }
5684 arg2 = static_cast< bool >(val2);
5685 if (obj2) {
5686 ecode3 = SWIG_AsVal_long(obj2, &val3);
5687 if (!SWIG_IsOK(ecode3)) {
5688 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5689 }
5690 arg3 = static_cast< long >(val3);
5691 }
5692 {
5693 PyThreadState* __tstate = wxPyBeginAllowThreads();
5694 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
5695 wxPyEndAllowThreads(__tstate);
5696 if (PyErr_Occurred()) SWIG_fail;
5697 }
5698 {
5699 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5700 }
5701 return resultobj;
5702 fail:
5703 return NULL;
5704 }
5705
5706
5707 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5708 PyObject *resultobj = 0;
5709 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5710 bool result;
5711 void *argp1 = 0 ;
5712 int res1 = 0 ;
5713 PyObject *swig_obj[1] ;
5714
5715 if (!args) SWIG_fail;
5716 swig_obj[0] = args;
5717 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5718 if (!SWIG_IsOK(res1)) {
5719 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5720 }
5721 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5722 {
5723 PyThreadState* __tstate = wxPyBeginAllowThreads();
5724 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
5725 wxPyEndAllowThreads(__tstate);
5726 if (PyErr_Occurred()) SWIG_fail;
5727 }
5728 {
5729 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5730 }
5731 return resultobj;
5732 fail:
5733 return NULL;
5734 }
5735
5736
5737 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5738 PyObject *resultobj = 0;
5739 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5740 wxString *arg2 = 0 ;
5741 void *argp1 = 0 ;
5742 int res1 = 0 ;
5743 bool temp2 = false ;
5744 PyObject * obj0 = 0 ;
5745 PyObject * obj1 = 0 ;
5746 char * kwnames[] = {
5747 (char *) "self",(char *) "title", NULL
5748 };
5749
5750 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) SWIG_fail;
5751 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5752 if (!SWIG_IsOK(res1)) {
5753 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5754 }
5755 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5756 {
5757 arg2 = wxString_in_helper(obj1);
5758 if (arg2 == NULL) SWIG_fail;
5759 temp2 = true;
5760 }
5761 {
5762 PyThreadState* __tstate = wxPyBeginAllowThreads();
5763 (arg1)->SetTitle((wxString const &)*arg2);
5764 wxPyEndAllowThreads(__tstate);
5765 if (PyErr_Occurred()) SWIG_fail;
5766 }
5767 resultobj = SWIG_Py_Void();
5768 {
5769 if (temp2)
5770 delete arg2;
5771 }
5772 return resultobj;
5773 fail:
5774 {
5775 if (temp2)
5776 delete arg2;
5777 }
5778 return NULL;
5779 }
5780
5781
5782 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5783 PyObject *resultobj = 0;
5784 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5785 wxString result;
5786 void *argp1 = 0 ;
5787 int res1 = 0 ;
5788 PyObject *swig_obj[1] ;
5789
5790 if (!args) SWIG_fail;
5791 swig_obj[0] = args;
5792 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5793 if (!SWIG_IsOK(res1)) {
5794 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5795 }
5796 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5797 {
5798 PyThreadState* __tstate = wxPyBeginAllowThreads();
5799 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
5800 wxPyEndAllowThreads(__tstate);
5801 if (PyErr_Occurred()) SWIG_fail;
5802 }
5803 {
5804 #if wxUSE_UNICODE
5805 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5806 #else
5807 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5808 #endif
5809 }
5810 return resultobj;
5811 fail:
5812 return NULL;
5813 }
5814
5815
5816 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetShape(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5817 PyObject *resultobj = 0;
5818 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5819 wxRegion *arg2 = 0 ;
5820 bool result;
5821 void *argp1 = 0 ;
5822 int res1 = 0 ;
5823 void *argp2 = 0 ;
5824 int res2 = 0 ;
5825 PyObject * obj0 = 0 ;
5826 PyObject * obj1 = 0 ;
5827 char * kwnames[] = {
5828 (char *) "self",(char *) "region", NULL
5829 };
5830
5831 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) SWIG_fail;
5832 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5833 if (!SWIG_IsOK(res1)) {
5834 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5835 }
5836 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5837 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRegion, 0 | 0);
5838 if (!SWIG_IsOK(res2)) {
5839 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5840 }
5841 if (!argp2) {
5842 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5843 }
5844 arg2 = reinterpret_cast< wxRegion * >(argp2);
5845 {
5846 PyThreadState* __tstate = wxPyBeginAllowThreads();
5847 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
5848 wxPyEndAllowThreads(__tstate);
5849 if (PyErr_Occurred()) SWIG_fail;
5850 }
5851 {
5852 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5853 }
5854 return resultobj;
5855 fail:
5856 return NULL;
5857 }
5858
5859
5860 SWIGINTERN PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5861 PyObject *resultobj = 0;
5862 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5863 int arg2 = (int) wxUSER_ATTENTION_INFO ;
5864 void *argp1 = 0 ;
5865 int res1 = 0 ;
5866 int val2 ;
5867 int ecode2 = 0 ;
5868 PyObject * obj0 = 0 ;
5869 PyObject * obj1 = 0 ;
5870 char * kwnames[] = {
5871 (char *) "self",(char *) "flags", NULL
5872 };
5873
5874 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) SWIG_fail;
5875 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5876 if (!SWIG_IsOK(res1)) {
5877 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5878 }
5879 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5880 if (obj1) {
5881 ecode2 = SWIG_AsVal_int(obj1, &val2);
5882 if (!SWIG_IsOK(ecode2)) {
5883 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5884 }
5885 arg2 = static_cast< int >(val2);
5886 }
5887 {
5888 PyThreadState* __tstate = wxPyBeginAllowThreads();
5889 (arg1)->RequestUserAttention(arg2);
5890 wxPyEndAllowThreads(__tstate);
5891 if (PyErr_Occurred()) SWIG_fail;
5892 }
5893 resultobj = SWIG_Py_Void();
5894 return resultobj;
5895 fail:
5896 return NULL;
5897 }
5898
5899
5900 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5901 PyObject *resultobj = 0;
5902 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5903 bool result;
5904 void *argp1 = 0 ;
5905 int res1 = 0 ;
5906 PyObject *swig_obj[1] ;
5907
5908 if (!args) SWIG_fail;
5909 swig_obj[0] = args;
5910 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5911 if (!SWIG_IsOK(res1)) {
5912 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5913 }
5914 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5915 {
5916 PyThreadState* __tstate = wxPyBeginAllowThreads();
5917 result = (bool)(arg1)->IsActive();
5918 wxPyEndAllowThreads(__tstate);
5919 if (PyErr_Occurred()) SWIG_fail;
5920 }
5921 {
5922 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5923 }
5924 return resultobj;
5925 fail:
5926 return NULL;
5927 }
5928
5929
5930 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5931 PyObject *resultobj = 0;
5932 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5933 bool arg2 ;
5934 void *argp1 = 0 ;
5935 int res1 = 0 ;
5936 bool val2 ;
5937 int ecode2 = 0 ;
5938 PyObject * obj0 = 0 ;
5939 PyObject * obj1 = 0 ;
5940 char * kwnames[] = {
5941 (char *) "self",(char *) "on", NULL
5942 };
5943
5944 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) SWIG_fail;
5945 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5946 if (!SWIG_IsOK(res1)) {
5947 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5948 }
5949 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5950 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5951 if (!SWIG_IsOK(ecode2)) {
5952 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
5953 }
5954 arg2 = static_cast< bool >(val2);
5955 {
5956 PyThreadState* __tstate = wxPyBeginAllowThreads();
5957 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
5958 wxPyEndAllowThreads(__tstate);
5959 if (PyErr_Occurred()) SWIG_fail;
5960 }
5961 resultobj = SWIG_Py_Void();
5962 return resultobj;
5963 fail:
5964 return NULL;
5965 }
5966
5967
5968 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5969 PyObject *resultobj = 0;
5970 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5971 bool result;
5972 void *argp1 = 0 ;
5973 int res1 = 0 ;
5974 PyObject *swig_obj[1] ;
5975
5976 if (!args) SWIG_fail;
5977 swig_obj[0] = args;
5978 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5979 if (!SWIG_IsOK(res1)) {
5980 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5981 }
5982 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5983 {
5984 PyThreadState* __tstate = wxPyBeginAllowThreads();
5985 result = (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow const *)arg1);
5986 wxPyEndAllowThreads(__tstate);
5987 if (PyErr_Occurred()) SWIG_fail;
5988 }
5989 {
5990 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5991 }
5992 return resultobj;
5993 fail:
5994 return NULL;
5995 }
5996
5997
5998 SWIGINTERN PyObject *_wrap_TopLevelWindow_CenterOnScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5999 PyObject *resultobj = 0;
6000 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6001 int arg2 = (int) wxBOTH ;
6002 void *argp1 = 0 ;
6003 int res1 = 0 ;
6004 int val2 ;
6005 int ecode2 = 0 ;
6006 PyObject * obj0 = 0 ;
6007 PyObject * obj1 = 0 ;
6008 char * kwnames[] = {
6009 (char *) "self",(char *) "dir", NULL
6010 };
6011
6012 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames,&obj0,&obj1)) SWIG_fail;
6013 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6014 if (!SWIG_IsOK(res1)) {
6015 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6016 }
6017 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6018 if (obj1) {
6019 ecode2 = SWIG_AsVal_int(obj1, &val2);
6020 if (!SWIG_IsOK(ecode2)) {
6021 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6022 }
6023 arg2 = static_cast< int >(val2);
6024 }
6025 {
6026 PyThreadState* __tstate = wxPyBeginAllowThreads();
6027 (arg1)->CenterOnScreen(arg2);
6028 wxPyEndAllowThreads(__tstate);
6029 if (PyErr_Occurred()) SWIG_fail;
6030 }
6031 resultobj = SWIG_Py_Void();
6032 return resultobj;
6033 fail:
6034 return NULL;
6035 }
6036
6037
6038 SWIGINTERN PyObject *TopLevelWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6039 PyObject *obj;
6040 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6041 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow, SWIG_NewClientData(obj));
6042 return SWIG_Py_Void();
6043 }
6044
6045 SWIGINTERN PyObject *_wrap_new_Frame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6046 PyObject *resultobj = 0;
6047 wxWindow *arg1 = (wxWindow *) 0 ;
6048 int arg2 = (int) (int)-1 ;
6049 wxString const &arg3_defvalue = wxPyEmptyString ;
6050 wxString *arg3 = (wxString *) &arg3_defvalue ;
6051 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6052 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6053 wxSize const &arg5_defvalue = wxDefaultSize ;
6054 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6055 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
6056 wxString const &arg7_defvalue = wxPyFrameNameStr ;
6057 wxString *arg7 = (wxString *) &arg7_defvalue ;
6058 wxFrame *result = 0 ;
6059 void *argp1 = 0 ;
6060 int res1 = 0 ;
6061 int val2 ;
6062 int ecode2 = 0 ;
6063 bool temp3 = false ;
6064 wxPoint temp4 ;
6065 wxSize temp5 ;
6066 long val6 ;
6067 int ecode6 = 0 ;
6068 bool temp7 = false ;
6069 PyObject * obj0 = 0 ;
6070 PyObject * obj1 = 0 ;
6071 PyObject * obj2 = 0 ;
6072 PyObject * obj3 = 0 ;
6073 PyObject * obj4 = 0 ;
6074 PyObject * obj5 = 0 ;
6075 PyObject * obj6 = 0 ;
6076 char * kwnames[] = {
6077 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6078 };
6079
6080 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
6081 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
6082 if (!SWIG_IsOK(res1)) {
6083 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6084 }
6085 arg1 = reinterpret_cast< wxWindow * >(argp1);
6086 if (obj1) {
6087 ecode2 = SWIG_AsVal_int(obj1, &val2);
6088 if (!SWIG_IsOK(ecode2)) {
6089 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6090 }
6091 arg2 = static_cast< int >(val2);
6092 }
6093 if (obj2) {
6094 {
6095 arg3 = wxString_in_helper(obj2);
6096 if (arg3 == NULL) SWIG_fail;
6097 temp3 = true;
6098 }
6099 }
6100 if (obj3) {
6101 {
6102 arg4 = &temp4;
6103 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6104 }
6105 }
6106 if (obj4) {
6107 {
6108 arg5 = &temp5;
6109 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6110 }
6111 }
6112 if (obj5) {
6113 ecode6 = SWIG_AsVal_long(obj5, &val6);
6114 if (!SWIG_IsOK(ecode6)) {
6115 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6116 }
6117 arg6 = static_cast< long >(val6);
6118 }
6119 if (obj6) {
6120 {
6121 arg7 = wxString_in_helper(obj6);
6122 if (arg7 == NULL) SWIG_fail;
6123 temp7 = true;
6124 }
6125 }
6126 {
6127 if (!wxPyCheckForApp()) SWIG_fail;
6128 PyThreadState* __tstate = wxPyBeginAllowThreads();
6129 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6130 wxPyEndAllowThreads(__tstate);
6131 if (PyErr_Occurred()) SWIG_fail;
6132 }
6133 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_NEW | 0 );
6134 {
6135 if (temp3)
6136 delete arg3;
6137 }
6138 {
6139 if (temp7)
6140 delete arg7;
6141 }
6142 return resultobj;
6143 fail:
6144 {
6145 if (temp3)
6146 delete arg3;
6147 }
6148 {
6149 if (temp7)
6150 delete arg7;
6151 }
6152 return NULL;
6153 }
6154
6155
6156 SWIGINTERN PyObject *_wrap_new_PreFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6157 PyObject *resultobj = 0;
6158 wxFrame *result = 0 ;
6159
6160 if (!SWIG_Python_UnpackTuple(args,"new_PreFrame",0,0,0)) SWIG_fail;
6161 {
6162 if (!wxPyCheckForApp()) SWIG_fail;
6163 PyThreadState* __tstate = wxPyBeginAllowThreads();
6164 result = (wxFrame *)new wxFrame();
6165 wxPyEndAllowThreads(__tstate);
6166 if (PyErr_Occurred()) SWIG_fail;
6167 }
6168 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_OWN | 0 );
6169 return resultobj;
6170 fail:
6171 return NULL;
6172 }
6173
6174
6175 SWIGINTERN PyObject *_wrap_Frame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6176 PyObject *resultobj = 0;
6177 wxFrame *arg1 = (wxFrame *) 0 ;
6178 wxWindow *arg2 = (wxWindow *) 0 ;
6179 int arg3 = (int) (int)-1 ;
6180 wxString const &arg4_defvalue = wxPyEmptyString ;
6181 wxString *arg4 = (wxString *) &arg4_defvalue ;
6182 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6183 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6184 wxSize const &arg6_defvalue = wxDefaultSize ;
6185 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6186 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6187 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6188 wxString *arg8 = (wxString *) &arg8_defvalue ;
6189 bool result;
6190 void *argp1 = 0 ;
6191 int res1 = 0 ;
6192 void *argp2 = 0 ;
6193 int res2 = 0 ;
6194 int val3 ;
6195 int ecode3 = 0 ;
6196 bool temp4 = false ;
6197 wxPoint temp5 ;
6198 wxSize temp6 ;
6199 long val7 ;
6200 int ecode7 = 0 ;
6201 bool temp8 = false ;
6202 PyObject * obj0 = 0 ;
6203 PyObject * obj1 = 0 ;
6204 PyObject * obj2 = 0 ;
6205 PyObject * obj3 = 0 ;
6206 PyObject * obj4 = 0 ;
6207 PyObject * obj5 = 0 ;
6208 PyObject * obj6 = 0 ;
6209 PyObject * obj7 = 0 ;
6210 char * kwnames[] = {
6211 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6212 };
6213
6214 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6215 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6216 if (!SWIG_IsOK(res1)) {
6217 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6218 }
6219 arg1 = reinterpret_cast< wxFrame * >(argp1);
6220 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6221 if (!SWIG_IsOK(res2)) {
6222 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6223 }
6224 arg2 = reinterpret_cast< wxWindow * >(argp2);
6225 if (obj2) {
6226 ecode3 = SWIG_AsVal_int(obj2, &val3);
6227 if (!SWIG_IsOK(ecode3)) {
6228 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6229 }
6230 arg3 = static_cast< int >(val3);
6231 }
6232 if (obj3) {
6233 {
6234 arg4 = wxString_in_helper(obj3);
6235 if (arg4 == NULL) SWIG_fail;
6236 temp4 = true;
6237 }
6238 }
6239 if (obj4) {
6240 {
6241 arg5 = &temp5;
6242 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6243 }
6244 }
6245 if (obj5) {
6246 {
6247 arg6 = &temp6;
6248 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6249 }
6250 }
6251 if (obj6) {
6252 ecode7 = SWIG_AsVal_long(obj6, &val7);
6253 if (!SWIG_IsOK(ecode7)) {
6254 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6255 }
6256 arg7 = static_cast< long >(val7);
6257 }
6258 if (obj7) {
6259 {
6260 arg8 = wxString_in_helper(obj7);
6261 if (arg8 == NULL) SWIG_fail;
6262 temp8 = true;
6263 }
6264 }
6265 {
6266 PyThreadState* __tstate = wxPyBeginAllowThreads();
6267 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6268 wxPyEndAllowThreads(__tstate);
6269 if (PyErr_Occurred()) SWIG_fail;
6270 }
6271 {
6272 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6273 }
6274 {
6275 if (temp4)
6276 delete arg4;
6277 }
6278 {
6279 if (temp8)
6280 delete arg8;
6281 }
6282 return resultobj;
6283 fail:
6284 {
6285 if (temp4)
6286 delete arg4;
6287 }
6288 {
6289 if (temp8)
6290 delete arg8;
6291 }
6292 return NULL;
6293 }
6294
6295
6296 SWIGINTERN PyObject *_wrap_Frame_SendSizeEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6297 PyObject *resultobj = 0;
6298 wxFrame *arg1 = (wxFrame *) 0 ;
6299 void *argp1 = 0 ;
6300 int res1 = 0 ;
6301 PyObject *swig_obj[1] ;
6302
6303 if (!args) SWIG_fail;
6304 swig_obj[0] = args;
6305 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6306 if (!SWIG_IsOK(res1)) {
6307 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6308 }
6309 arg1 = reinterpret_cast< wxFrame * >(argp1);
6310 {
6311 PyThreadState* __tstate = wxPyBeginAllowThreads();
6312 (arg1)->SendSizeEvent();
6313 wxPyEndAllowThreads(__tstate);
6314 if (PyErr_Occurred()) SWIG_fail;
6315 }
6316 resultobj = SWIG_Py_Void();
6317 return resultobj;
6318 fail:
6319 return NULL;
6320 }
6321
6322
6323 SWIGINTERN PyObject *_wrap_Frame_SetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6324 PyObject *resultobj = 0;
6325 wxFrame *arg1 = (wxFrame *) 0 ;
6326 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
6327 void *argp1 = 0 ;
6328 int res1 = 0 ;
6329 void *argp2 = 0 ;
6330 int res2 = 0 ;
6331 PyObject * obj0 = 0 ;
6332 PyObject * obj1 = 0 ;
6333 char * kwnames[] = {
6334 (char *) "self",(char *) "menubar", NULL
6335 };
6336
6337 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) SWIG_fail;
6338 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6339 if (!SWIG_IsOK(res1)) {
6340 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6341 }
6342 arg1 = reinterpret_cast< wxFrame * >(argp1);
6343 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenuBar, 0 | 0 );
6344 if (!SWIG_IsOK(res2)) {
6345 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6346 }
6347 arg2 = reinterpret_cast< wxMenuBar * >(argp2);
6348 {
6349 PyThreadState* __tstate = wxPyBeginAllowThreads();
6350 (arg1)->SetMenuBar(arg2);
6351 wxPyEndAllowThreads(__tstate);
6352 if (PyErr_Occurred()) SWIG_fail;
6353 }
6354 resultobj = SWIG_Py_Void();
6355 return resultobj;
6356 fail:
6357 return NULL;
6358 }
6359
6360
6361 SWIGINTERN PyObject *_wrap_Frame_GetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6362 PyObject *resultobj = 0;
6363 wxFrame *arg1 = (wxFrame *) 0 ;
6364 wxMenuBar *result = 0 ;
6365 void *argp1 = 0 ;
6366 int res1 = 0 ;
6367 PyObject *swig_obj[1] ;
6368
6369 if (!args) SWIG_fail;
6370 swig_obj[0] = args;
6371 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6372 if (!SWIG_IsOK(res1)) {
6373 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6374 }
6375 arg1 = reinterpret_cast< wxFrame * >(argp1);
6376 {
6377 PyThreadState* __tstate = wxPyBeginAllowThreads();
6378 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
6379 wxPyEndAllowThreads(__tstate);
6380 if (PyErr_Occurred()) SWIG_fail;
6381 }
6382 {
6383 resultobj = wxPyMake_wxObject(result, 0);
6384 }
6385 return resultobj;
6386 fail:
6387 return NULL;
6388 }
6389
6390
6391 SWIGINTERN PyObject *_wrap_Frame_ProcessCommand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6392 PyObject *resultobj = 0;
6393 wxFrame *arg1 = (wxFrame *) 0 ;
6394 int arg2 ;
6395 bool result;
6396 void *argp1 = 0 ;
6397 int res1 = 0 ;
6398 int val2 ;
6399 int ecode2 = 0 ;
6400 PyObject * obj0 = 0 ;
6401 PyObject * obj1 = 0 ;
6402 char * kwnames[] = {
6403 (char *) "self",(char *) "winid", NULL
6404 };
6405
6406 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) SWIG_fail;
6407 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6408 if (!SWIG_IsOK(res1)) {
6409 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6410 }
6411 arg1 = reinterpret_cast< wxFrame * >(argp1);
6412 ecode2 = SWIG_AsVal_int(obj1, &val2);
6413 if (!SWIG_IsOK(ecode2)) {
6414 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6415 }
6416 arg2 = static_cast< int >(val2);
6417 {
6418 PyThreadState* __tstate = wxPyBeginAllowThreads();
6419 result = (bool)(arg1)->ProcessCommand(arg2);
6420 wxPyEndAllowThreads(__tstate);
6421 if (PyErr_Occurred()) SWIG_fail;
6422 }
6423 {
6424 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6425 }
6426 return resultobj;
6427 fail:
6428 return NULL;
6429 }
6430
6431
6432 SWIGINTERN PyObject *_wrap_Frame_CreateStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6433 PyObject *resultobj = 0;
6434 wxFrame *arg1 = (wxFrame *) 0 ;
6435 int arg2 = (int) 1 ;
6436 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
6437 int arg4 = (int) 0 ;
6438 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
6439 wxString *arg5 = (wxString *) &arg5_defvalue ;
6440 wxStatusBar *result = 0 ;
6441 void *argp1 = 0 ;
6442 int res1 = 0 ;
6443 int val2 ;
6444 int ecode2 = 0 ;
6445 long val3 ;
6446 int ecode3 = 0 ;
6447 int val4 ;
6448 int ecode4 = 0 ;
6449 bool temp5 = false ;
6450 PyObject * obj0 = 0 ;
6451 PyObject * obj1 = 0 ;
6452 PyObject * obj2 = 0 ;
6453 PyObject * obj3 = 0 ;
6454 PyObject * obj4 = 0 ;
6455 char * kwnames[] = {
6456 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6457 };
6458
6459 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
6460 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6461 if (!SWIG_IsOK(res1)) {
6462 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6463 }
6464 arg1 = reinterpret_cast< wxFrame * >(argp1);
6465 if (obj1) {
6466 ecode2 = SWIG_AsVal_int(obj1, &val2);
6467 if (!SWIG_IsOK(ecode2)) {
6468 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6469 }
6470 arg2 = static_cast< int >(val2);
6471 }
6472 if (obj2) {
6473 ecode3 = SWIG_AsVal_long(obj2, &val3);
6474 if (!SWIG_IsOK(ecode3)) {
6475 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6476 }
6477 arg3 = static_cast< long >(val3);
6478 }
6479 if (obj3) {
6480 ecode4 = SWIG_AsVal_int(obj3, &val4);
6481 if (!SWIG_IsOK(ecode4)) {
6482 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6483 }
6484 arg4 = static_cast< int >(val4);
6485 }
6486 if (obj4) {
6487 {
6488 arg5 = wxString_in_helper(obj4);
6489 if (arg5 == NULL) SWIG_fail;
6490 temp5 = true;
6491 }
6492 }
6493 {
6494 PyThreadState* __tstate = wxPyBeginAllowThreads();
6495 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
6496 wxPyEndAllowThreads(__tstate);
6497 if (PyErr_Occurred()) SWIG_fail;
6498 }
6499 {
6500 resultobj = wxPyMake_wxObject(result, (bool)0);
6501 }
6502 {
6503 if (temp5)
6504 delete arg5;
6505 }
6506 return resultobj;
6507 fail:
6508 {
6509 if (temp5)
6510 delete arg5;
6511 }
6512 return NULL;
6513 }
6514
6515
6516 SWIGINTERN PyObject *_wrap_Frame_GetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6517 PyObject *resultobj = 0;
6518 wxFrame *arg1 = (wxFrame *) 0 ;
6519 wxStatusBar *result = 0 ;
6520 void *argp1 = 0 ;
6521 int res1 = 0 ;
6522 PyObject *swig_obj[1] ;
6523
6524 if (!args) SWIG_fail;
6525 swig_obj[0] = args;
6526 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6527 if (!SWIG_IsOK(res1)) {
6528 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6529 }
6530 arg1 = reinterpret_cast< wxFrame * >(argp1);
6531 {
6532 PyThreadState* __tstate = wxPyBeginAllowThreads();
6533 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
6534 wxPyEndAllowThreads(__tstate);
6535 if (PyErr_Occurred()) SWIG_fail;
6536 }
6537 {
6538 resultobj = wxPyMake_wxObject(result, (bool)0);
6539 }
6540 return resultobj;
6541 fail:
6542 return NULL;
6543 }
6544
6545
6546 SWIGINTERN PyObject *_wrap_Frame_SetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6547 PyObject *resultobj = 0;
6548 wxFrame *arg1 = (wxFrame *) 0 ;
6549 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
6550 void *argp1 = 0 ;
6551 int res1 = 0 ;
6552 void *argp2 = 0 ;
6553 int res2 = 0 ;
6554 PyObject * obj0 = 0 ;
6555 PyObject * obj1 = 0 ;
6556 char * kwnames[] = {
6557 (char *) "self",(char *) "statBar", NULL
6558 };
6559
6560 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) SWIG_fail;
6561 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6562 if (!SWIG_IsOK(res1)) {
6563 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6564 }
6565 arg1 = reinterpret_cast< wxFrame * >(argp1);
6566 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxStatusBar, 0 | 0 );
6567 if (!SWIG_IsOK(res2)) {
6568 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6569 }
6570 arg2 = reinterpret_cast< wxStatusBar * >(argp2);
6571 {
6572 PyThreadState* __tstate = wxPyBeginAllowThreads();
6573 (arg1)->SetStatusBar(arg2);
6574 wxPyEndAllowThreads(__tstate);
6575 if (PyErr_Occurred()) SWIG_fail;
6576 }
6577 resultobj = SWIG_Py_Void();
6578 return resultobj;
6579 fail:
6580 return NULL;
6581 }
6582
6583
6584 SWIGINTERN PyObject *_wrap_Frame_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6585 PyObject *resultobj = 0;
6586 wxFrame *arg1 = (wxFrame *) 0 ;
6587 wxString *arg2 = 0 ;
6588 int arg3 = (int) 0 ;
6589 void *argp1 = 0 ;
6590 int res1 = 0 ;
6591 bool temp2 = false ;
6592 int val3 ;
6593 int ecode3 = 0 ;
6594 PyObject * obj0 = 0 ;
6595 PyObject * obj1 = 0 ;
6596 PyObject * obj2 = 0 ;
6597 char * kwnames[] = {
6598 (char *) "self",(char *) "text",(char *) "number", NULL
6599 };
6600
6601 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6602 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6603 if (!SWIG_IsOK(res1)) {
6604 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6605 }
6606 arg1 = reinterpret_cast< wxFrame * >(argp1);
6607 {
6608 arg2 = wxString_in_helper(obj1);
6609 if (arg2 == NULL) SWIG_fail;
6610 temp2 = true;
6611 }
6612 if (obj2) {
6613 ecode3 = SWIG_AsVal_int(obj2, &val3);
6614 if (!SWIG_IsOK(ecode3)) {
6615 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6616 }
6617 arg3 = static_cast< int >(val3);
6618 }
6619 {
6620 PyThreadState* __tstate = wxPyBeginAllowThreads();
6621 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
6622 wxPyEndAllowThreads(__tstate);
6623 if (PyErr_Occurred()) SWIG_fail;
6624 }
6625 resultobj = SWIG_Py_Void();
6626 {
6627 if (temp2)
6628 delete arg2;
6629 }
6630 return resultobj;
6631 fail:
6632 {
6633 if (temp2)
6634 delete arg2;
6635 }
6636 return NULL;
6637 }
6638
6639
6640 SWIGINTERN PyObject *_wrap_Frame_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6641 PyObject *resultobj = 0;
6642 wxFrame *arg1 = (wxFrame *) 0 ;
6643 int arg2 ;
6644 int *arg3 = (int *) 0 ;
6645 void *argp1 = 0 ;
6646 int res1 = 0 ;
6647 PyObject * obj0 = 0 ;
6648 PyObject * obj1 = 0 ;
6649 char * kwnames[] = {
6650 (char *) "self",(char *) "widths", NULL
6651 };
6652
6653 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
6654 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6655 if (!SWIG_IsOK(res1)) {
6656 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6657 }
6658 arg1 = reinterpret_cast< wxFrame * >(argp1);
6659 {
6660 arg2 = PyList_Size(obj1);
6661 arg3 = int_LIST_helper(obj1);
6662 if (arg3 == NULL) SWIG_fail;
6663 }
6664 {
6665 PyThreadState* __tstate = wxPyBeginAllowThreads();
6666 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
6667 wxPyEndAllowThreads(__tstate);
6668 if (PyErr_Occurred()) SWIG_fail;
6669 }
6670 resultobj = SWIG_Py_Void();
6671 {
6672 if (arg3) delete [] arg3;
6673 }
6674 return resultobj;
6675 fail:
6676 {
6677 if (arg3) delete [] arg3;
6678 }
6679 return NULL;
6680 }
6681
6682
6683 SWIGINTERN PyObject *_wrap_Frame_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6684 PyObject *resultobj = 0;
6685 wxFrame *arg1 = (wxFrame *) 0 ;
6686 wxString *arg2 = 0 ;
6687 int arg3 = (int) 0 ;
6688 void *argp1 = 0 ;
6689 int res1 = 0 ;
6690 bool temp2 = false ;
6691 int val3 ;
6692 int ecode3 = 0 ;
6693 PyObject * obj0 = 0 ;
6694 PyObject * obj1 = 0 ;
6695 PyObject * obj2 = 0 ;
6696 char * kwnames[] = {
6697 (char *) "self",(char *) "text",(char *) "number", NULL
6698 };
6699
6700 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6701 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6702 if (!SWIG_IsOK(res1)) {
6703 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6704 }
6705 arg1 = reinterpret_cast< wxFrame * >(argp1);
6706 {
6707 arg2 = wxString_in_helper(obj1);
6708 if (arg2 == NULL) SWIG_fail;
6709 temp2 = true;
6710 }
6711 if (obj2) {
6712 ecode3 = SWIG_AsVal_int(obj2, &val3);
6713 if (!SWIG_IsOK(ecode3)) {
6714 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6715 }
6716 arg3 = static_cast< int >(val3);
6717 }
6718 {
6719 PyThreadState* __tstate = wxPyBeginAllowThreads();
6720 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
6721 wxPyEndAllowThreads(__tstate);
6722 if (PyErr_Occurred()) SWIG_fail;
6723 }
6724 resultobj = SWIG_Py_Void();
6725 {
6726 if (temp2)
6727 delete arg2;
6728 }
6729 return resultobj;
6730 fail:
6731 {
6732 if (temp2)
6733 delete arg2;
6734 }
6735 return NULL;
6736 }
6737
6738
6739 SWIGINTERN PyObject *_wrap_Frame_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6740 PyObject *resultobj = 0;
6741 wxFrame *arg1 = (wxFrame *) 0 ;
6742 int arg2 = (int) 0 ;
6743 void *argp1 = 0 ;
6744 int res1 = 0 ;
6745 int val2 ;
6746 int ecode2 = 0 ;
6747 PyObject * obj0 = 0 ;
6748 PyObject * obj1 = 0 ;
6749 char * kwnames[] = {
6750 (char *) "self",(char *) "number", NULL
6751 };
6752
6753 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
6754 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6755 if (!SWIG_IsOK(res1)) {
6756 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6757 }
6758 arg1 = reinterpret_cast< wxFrame * >(argp1);
6759 if (obj1) {
6760 ecode2 = SWIG_AsVal_int(obj1, &val2);
6761 if (!SWIG_IsOK(ecode2)) {
6762 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6763 }
6764 arg2 = static_cast< int >(val2);
6765 }
6766 {
6767 PyThreadState* __tstate = wxPyBeginAllowThreads();
6768 (arg1)->PopStatusText(arg2);
6769 wxPyEndAllowThreads(__tstate);
6770 if (PyErr_Occurred()) SWIG_fail;
6771 }
6772 resultobj = SWIG_Py_Void();
6773 return resultobj;
6774 fail:
6775 return NULL;
6776 }
6777
6778
6779 SWIGINTERN PyObject *_wrap_Frame_SetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6780 PyObject *resultobj = 0;
6781 wxFrame *arg1 = (wxFrame *) 0 ;
6782 int arg2 ;
6783 void *argp1 = 0 ;
6784 int res1 = 0 ;
6785 int val2 ;
6786 int ecode2 = 0 ;
6787 PyObject * obj0 = 0 ;
6788 PyObject * obj1 = 0 ;
6789 char * kwnames[] = {
6790 (char *) "self",(char *) "n", NULL
6791 };
6792
6793 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) SWIG_fail;
6794 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6795 if (!SWIG_IsOK(res1)) {
6796 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6797 }
6798 arg1 = reinterpret_cast< wxFrame * >(argp1);
6799 ecode2 = SWIG_AsVal_int(obj1, &val2);
6800 if (!SWIG_IsOK(ecode2)) {
6801 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6802 }
6803 arg2 = static_cast< int >(val2);
6804 {
6805 PyThreadState* __tstate = wxPyBeginAllowThreads();
6806 (arg1)->SetStatusBarPane(arg2);
6807 wxPyEndAllowThreads(__tstate);
6808 if (PyErr_Occurred()) SWIG_fail;
6809 }
6810 resultobj = SWIG_Py_Void();
6811 return resultobj;
6812 fail:
6813 return NULL;
6814 }
6815
6816
6817 SWIGINTERN PyObject *_wrap_Frame_GetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6818 PyObject *resultobj = 0;
6819 wxFrame *arg1 = (wxFrame *) 0 ;
6820 int result;
6821 void *argp1 = 0 ;
6822 int res1 = 0 ;
6823 PyObject *swig_obj[1] ;
6824
6825 if (!args) SWIG_fail;
6826 swig_obj[0] = args;
6827 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6828 if (!SWIG_IsOK(res1)) {
6829 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
6830 }
6831 arg1 = reinterpret_cast< wxFrame * >(argp1);
6832 {
6833 PyThreadState* __tstate = wxPyBeginAllowThreads();
6834 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
6835 wxPyEndAllowThreads(__tstate);
6836 if (PyErr_Occurred()) SWIG_fail;
6837 }
6838 resultobj = SWIG_From_int(static_cast< int >(result));
6839 return resultobj;
6840 fail:
6841 return NULL;
6842 }
6843
6844
6845 SWIGINTERN PyObject *_wrap_Frame_CreateToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6846 PyObject *resultobj = 0;
6847 wxFrame *arg1 = (wxFrame *) 0 ;
6848 long arg2 = (long) -1 ;
6849 int arg3 = (int) -1 ;
6850 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
6851 wxString *arg4 = (wxString *) &arg4_defvalue ;
6852 wxToolBar *result = 0 ;
6853 void *argp1 = 0 ;
6854 int res1 = 0 ;
6855 long val2 ;
6856 int ecode2 = 0 ;
6857 int val3 ;
6858 int ecode3 = 0 ;
6859 bool temp4 = false ;
6860 PyObject * obj0 = 0 ;
6861 PyObject * obj1 = 0 ;
6862 PyObject * obj2 = 0 ;
6863 PyObject * obj3 = 0 ;
6864 char * kwnames[] = {
6865 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
6866 };
6867
6868 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
6869 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6870 if (!SWIG_IsOK(res1)) {
6871 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6872 }
6873 arg1 = reinterpret_cast< wxFrame * >(argp1);
6874 if (obj1) {
6875 ecode2 = SWIG_AsVal_long(obj1, &val2);
6876 if (!SWIG_IsOK(ecode2)) {
6877 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
6878 }
6879 arg2 = static_cast< long >(val2);
6880 }
6881 if (obj2) {
6882 ecode3 = SWIG_AsVal_int(obj2, &val3);
6883 if (!SWIG_IsOK(ecode3)) {
6884 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
6885 }
6886 arg3 = static_cast< int >(val3);
6887 }
6888 if (obj3) {
6889 {
6890 arg4 = wxString_in_helper(obj3);
6891 if (arg4 == NULL) SWIG_fail;
6892 temp4 = true;
6893 }
6894 }
6895 {
6896 PyThreadState* __tstate = wxPyBeginAllowThreads();
6897 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
6898 wxPyEndAllowThreads(__tstate);
6899 if (PyErr_Occurred()) SWIG_fail;
6900 }
6901 {
6902 resultobj = wxPyMake_wxObject(result, (bool)0);
6903 }
6904 {
6905 if (temp4)
6906 delete arg4;
6907 }
6908 return resultobj;
6909 fail:
6910 {
6911 if (temp4)
6912 delete arg4;
6913 }
6914 return NULL;
6915 }
6916
6917
6918 SWIGINTERN PyObject *_wrap_Frame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6919 PyObject *resultobj = 0;
6920 wxFrame *arg1 = (wxFrame *) 0 ;
6921 wxToolBar *result = 0 ;
6922 void *argp1 = 0 ;
6923 int res1 = 0 ;
6924 PyObject *swig_obj[1] ;
6925
6926 if (!args) SWIG_fail;
6927 swig_obj[0] = args;
6928 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6929 if (!SWIG_IsOK(res1)) {
6930 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6931 }
6932 arg1 = reinterpret_cast< wxFrame * >(argp1);
6933 {
6934 PyThreadState* __tstate = wxPyBeginAllowThreads();
6935 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
6936 wxPyEndAllowThreads(__tstate);
6937 if (PyErr_Occurred()) SWIG_fail;
6938 }
6939 {
6940 resultobj = wxPyMake_wxObject(result, (bool)0);
6941 }
6942 return resultobj;
6943 fail:
6944 return NULL;
6945 }
6946
6947
6948 SWIGINTERN PyObject *_wrap_Frame_SetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6949 PyObject *resultobj = 0;
6950 wxFrame *arg1 = (wxFrame *) 0 ;
6951 wxToolBar *arg2 = (wxToolBar *) 0 ;
6952 void *argp1 = 0 ;
6953 int res1 = 0 ;
6954 void *argp2 = 0 ;
6955 int res2 = 0 ;
6956 PyObject * obj0 = 0 ;
6957 PyObject * obj1 = 0 ;
6958 char * kwnames[] = {
6959 (char *) "self",(char *) "toolbar", NULL
6960 };
6961
6962 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) SWIG_fail;
6963 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6964 if (!SWIG_IsOK(res1)) {
6965 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6966 }
6967 arg1 = reinterpret_cast< wxFrame * >(argp1);
6968 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBar, 0 | 0 );
6969 if (!SWIG_IsOK(res2)) {
6970 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
6971 }
6972 arg2 = reinterpret_cast< wxToolBar * >(argp2);
6973 {
6974 PyThreadState* __tstate = wxPyBeginAllowThreads();
6975 (arg1)->SetToolBar(arg2);
6976 wxPyEndAllowThreads(__tstate);
6977 if (PyErr_Occurred()) SWIG_fail;
6978 }
6979 resultobj = SWIG_Py_Void();
6980 return resultobj;
6981 fail:
6982 return NULL;
6983 }
6984
6985
6986 SWIGINTERN PyObject *_wrap_Frame_DoGiveHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6987 PyObject *resultobj = 0;
6988 wxFrame *arg1 = (wxFrame *) 0 ;
6989 wxString *arg2 = 0 ;
6990 bool arg3 ;
6991 void *argp1 = 0 ;
6992 int res1 = 0 ;
6993 bool temp2 = false ;
6994 bool val3 ;
6995 int ecode3 = 0 ;
6996 PyObject * obj0 = 0 ;
6997 PyObject * obj1 = 0 ;
6998 PyObject * obj2 = 0 ;
6999 char * kwnames[] = {
7000 (char *) "self",(char *) "text",(char *) "show", NULL
7001 };
7002
7003 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7004 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7005 if (!SWIG_IsOK(res1)) {
7006 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7007 }
7008 arg1 = reinterpret_cast< wxFrame * >(argp1);
7009 {
7010 arg2 = wxString_in_helper(obj1);
7011 if (arg2 == NULL) SWIG_fail;
7012 temp2 = true;
7013 }
7014 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7015 if (!SWIG_IsOK(ecode3)) {
7016 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7017 }
7018 arg3 = static_cast< bool >(val3);
7019 {
7020 PyThreadState* __tstate = wxPyBeginAllowThreads();
7021 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
7022 wxPyEndAllowThreads(__tstate);
7023 if (PyErr_Occurred()) SWIG_fail;
7024 }
7025 resultobj = SWIG_Py_Void();
7026 {
7027 if (temp2)
7028 delete arg2;
7029 }
7030 return resultobj;
7031 fail:
7032 {
7033 if (temp2)
7034 delete arg2;
7035 }
7036 return NULL;
7037 }
7038
7039
7040 SWIGINTERN PyObject *_wrap_Frame_DoMenuUpdates(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7041 PyObject *resultobj = 0;
7042 wxFrame *arg1 = (wxFrame *) 0 ;
7043 wxMenu *arg2 = (wxMenu *) NULL ;
7044 void *argp1 = 0 ;
7045 int res1 = 0 ;
7046 void *argp2 = 0 ;
7047 int res2 = 0 ;
7048 PyObject * obj0 = 0 ;
7049 PyObject * obj1 = 0 ;
7050 char * kwnames[] = {
7051 (char *) "self",(char *) "menu", NULL
7052 };
7053
7054 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) SWIG_fail;
7055 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7056 if (!SWIG_IsOK(res1)) {
7057 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7058 }
7059 arg1 = reinterpret_cast< wxFrame * >(argp1);
7060 if (obj1) {
7061 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
7062 if (!SWIG_IsOK(res2)) {
7063 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7064 }
7065 arg2 = reinterpret_cast< wxMenu * >(argp2);
7066 }
7067 {
7068 PyThreadState* __tstate = wxPyBeginAllowThreads();
7069 (arg1)->DoMenuUpdates(arg2);
7070 wxPyEndAllowThreads(__tstate);
7071 if (PyErr_Occurred()) SWIG_fail;
7072 }
7073 resultobj = SWIG_Py_Void();
7074 return resultobj;
7075 fail:
7076 return NULL;
7077 }
7078
7079
7080 SWIGINTERN PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7081 PyObject *resultobj = 0;
7082 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7083 SwigValueWrapper<wxVisualAttributes > result;
7084 int val1 ;
7085 int ecode1 = 0 ;
7086 PyObject * obj0 = 0 ;
7087 char * kwnames[] = {
7088 (char *) "variant", NULL
7089 };
7090
7091 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7092 if (obj0) {
7093 ecode1 = SWIG_AsVal_int(obj0, &val1);
7094 if (!SWIG_IsOK(ecode1)) {
7095 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7096 }
7097 arg1 = static_cast< wxWindowVariant >(val1);
7098 }
7099 {
7100 if (!wxPyCheckForApp()) SWIG_fail;
7101 PyThreadState* __tstate = wxPyBeginAllowThreads();
7102 result = wxFrame::GetClassDefaultAttributes(arg1);
7103 wxPyEndAllowThreads(__tstate);
7104 if (PyErr_Occurred()) SWIG_fail;
7105 }
7106 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7107 return resultobj;
7108 fail:
7109 return NULL;
7110 }
7111
7112
7113 SWIGINTERN PyObject *Frame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7114 PyObject *obj;
7115 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7116 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame, SWIG_NewClientData(obj));
7117 return SWIG_Py_Void();
7118 }
7119
7120 SWIGINTERN PyObject *Frame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7121 return SWIG_Python_InitShadowInstance(args);
7122 }
7123
7124 SWIGINTERN PyObject *_wrap_new_Dialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7125 PyObject *resultobj = 0;
7126 wxWindow *arg1 = (wxWindow *) 0 ;
7127 int arg2 = (int) (int)-1 ;
7128 wxString const &arg3_defvalue = wxPyEmptyString ;
7129 wxString *arg3 = (wxString *) &arg3_defvalue ;
7130 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7131 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7132 wxSize const &arg5_defvalue = wxDefaultSize ;
7133 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7134 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
7135 wxString const &arg7_defvalue = wxPyDialogNameStr ;
7136 wxString *arg7 = (wxString *) &arg7_defvalue ;
7137 wxDialog *result = 0 ;
7138 void *argp1 = 0 ;
7139 int res1 = 0 ;
7140 int val2 ;
7141 int ecode2 = 0 ;
7142 bool temp3 = false ;
7143 wxPoint temp4 ;
7144 wxSize temp5 ;
7145 long val6 ;
7146 int ecode6 = 0 ;
7147 bool temp7 = false ;
7148 PyObject * obj0 = 0 ;
7149 PyObject * obj1 = 0 ;
7150 PyObject * obj2 = 0 ;
7151 PyObject * obj3 = 0 ;
7152 PyObject * obj4 = 0 ;
7153 PyObject * obj5 = 0 ;
7154 PyObject * obj6 = 0 ;
7155 char * kwnames[] = {
7156 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7157 };
7158
7159 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7160 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7161 if (!SWIG_IsOK(res1)) {
7162 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7163 }
7164 arg1 = reinterpret_cast< wxWindow * >(argp1);
7165 if (obj1) {
7166 ecode2 = SWIG_AsVal_int(obj1, &val2);
7167 if (!SWIG_IsOK(ecode2)) {
7168 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7169 }
7170 arg2 = static_cast< int >(val2);
7171 }
7172 if (obj2) {
7173 {
7174 arg3 = wxString_in_helper(obj2);
7175 if (arg3 == NULL) SWIG_fail;
7176 temp3 = true;
7177 }
7178 }
7179 if (obj3) {
7180 {
7181 arg4 = &temp4;
7182 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7183 }
7184 }
7185 if (obj4) {
7186 {
7187 arg5 = &temp5;
7188 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7189 }
7190 }
7191 if (obj5) {
7192 ecode6 = SWIG_AsVal_long(obj5, &val6);
7193 if (!SWIG_IsOK(ecode6)) {
7194 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7195 }
7196 arg6 = static_cast< long >(val6);
7197 }
7198 if (obj6) {
7199 {
7200 arg7 = wxString_in_helper(obj6);
7201 if (arg7 == NULL) SWIG_fail;
7202 temp7 = true;
7203 }
7204 }
7205 {
7206 if (!wxPyCheckForApp()) SWIG_fail;
7207 PyThreadState* __tstate = wxPyBeginAllowThreads();
7208 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7209 wxPyEndAllowThreads(__tstate);
7210 if (PyErr_Occurred()) SWIG_fail;
7211 }
7212 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_NEW | 0 );
7213 {
7214 if (temp3)
7215 delete arg3;
7216 }
7217 {
7218 if (temp7)
7219 delete arg7;
7220 }
7221 return resultobj;
7222 fail:
7223 {
7224 if (temp3)
7225 delete arg3;
7226 }
7227 {
7228 if (temp7)
7229 delete arg7;
7230 }
7231 return NULL;
7232 }
7233
7234
7235 SWIGINTERN PyObject *_wrap_new_PreDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7236 PyObject *resultobj = 0;
7237 wxDialog *result = 0 ;
7238
7239 if (!SWIG_Python_UnpackTuple(args,"new_PreDialog",0,0,0)) SWIG_fail;
7240 {
7241 if (!wxPyCheckForApp()) SWIG_fail;
7242 PyThreadState* __tstate = wxPyBeginAllowThreads();
7243 result = (wxDialog *)new wxDialog();
7244 wxPyEndAllowThreads(__tstate);
7245 if (PyErr_Occurred()) SWIG_fail;
7246 }
7247 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_OWN | 0 );
7248 return resultobj;
7249 fail:
7250 return NULL;
7251 }
7252
7253
7254 SWIGINTERN PyObject *_wrap_Dialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7255 PyObject *resultobj = 0;
7256 wxDialog *arg1 = (wxDialog *) 0 ;
7257 wxWindow *arg2 = (wxWindow *) 0 ;
7258 int arg3 = (int) (int)-1 ;
7259 wxString const &arg4_defvalue = wxPyEmptyString ;
7260 wxString *arg4 = (wxString *) &arg4_defvalue ;
7261 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7262 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7263 wxSize const &arg6_defvalue = wxDefaultSize ;
7264 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7265 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
7266 wxString const &arg8_defvalue = wxPyDialogNameStr ;
7267 wxString *arg8 = (wxString *) &arg8_defvalue ;
7268 bool result;
7269 void *argp1 = 0 ;
7270 int res1 = 0 ;
7271 void *argp2 = 0 ;
7272 int res2 = 0 ;
7273 int val3 ;
7274 int ecode3 = 0 ;
7275 bool temp4 = false ;
7276 wxPoint temp5 ;
7277 wxSize temp6 ;
7278 long val7 ;
7279 int ecode7 = 0 ;
7280 bool temp8 = false ;
7281 PyObject * obj0 = 0 ;
7282 PyObject * obj1 = 0 ;
7283 PyObject * obj2 = 0 ;
7284 PyObject * obj3 = 0 ;
7285 PyObject * obj4 = 0 ;
7286 PyObject * obj5 = 0 ;
7287 PyObject * obj6 = 0 ;
7288 PyObject * obj7 = 0 ;
7289 char * kwnames[] = {
7290 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7291 };
7292
7293 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7294 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7295 if (!SWIG_IsOK(res1)) {
7296 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7297 }
7298 arg1 = reinterpret_cast< wxDialog * >(argp1);
7299 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7300 if (!SWIG_IsOK(res2)) {
7301 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7302 }
7303 arg2 = reinterpret_cast< wxWindow * >(argp2);
7304 if (obj2) {
7305 ecode3 = SWIG_AsVal_int(obj2, &val3);
7306 if (!SWIG_IsOK(ecode3)) {
7307 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7308 }
7309 arg3 = static_cast< int >(val3);
7310 }
7311 if (obj3) {
7312 {
7313 arg4 = wxString_in_helper(obj3);
7314 if (arg4 == NULL) SWIG_fail;
7315 temp4 = true;
7316 }
7317 }
7318 if (obj4) {
7319 {
7320 arg5 = &temp5;
7321 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7322 }
7323 }
7324 if (obj5) {
7325 {
7326 arg6 = &temp6;
7327 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7328 }
7329 }
7330 if (obj6) {
7331 ecode7 = SWIG_AsVal_long(obj6, &val7);
7332 if (!SWIG_IsOK(ecode7)) {
7333 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7334 }
7335 arg7 = static_cast< long >(val7);
7336 }
7337 if (obj7) {
7338 {
7339 arg8 = wxString_in_helper(obj7);
7340 if (arg8 == NULL) SWIG_fail;
7341 temp8 = true;
7342 }
7343 }
7344 {
7345 PyThreadState* __tstate = wxPyBeginAllowThreads();
7346 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7347 wxPyEndAllowThreads(__tstate);
7348 if (PyErr_Occurred()) SWIG_fail;
7349 }
7350 {
7351 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7352 }
7353 {
7354 if (temp4)
7355 delete arg4;
7356 }
7357 {
7358 if (temp8)
7359 delete arg8;
7360 }
7361 return resultobj;
7362 fail:
7363 {
7364 if (temp4)
7365 delete arg4;
7366 }
7367 {
7368 if (temp8)
7369 delete arg8;
7370 }
7371 return NULL;
7372 }
7373
7374
7375 SWIGINTERN PyObject *_wrap_Dialog_SetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7376 PyObject *resultobj = 0;
7377 wxDialog *arg1 = (wxDialog *) 0 ;
7378 int arg2 ;
7379 void *argp1 = 0 ;
7380 int res1 = 0 ;
7381 int val2 ;
7382 int ecode2 = 0 ;
7383 PyObject * obj0 = 0 ;
7384 PyObject * obj1 = 0 ;
7385 char * kwnames[] = {
7386 (char *) "self",(char *) "returnCode", NULL
7387 };
7388
7389 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) SWIG_fail;
7390 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7391 if (!SWIG_IsOK(res1)) {
7392 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7393 }
7394 arg1 = reinterpret_cast< wxDialog * >(argp1);
7395 ecode2 = SWIG_AsVal_int(obj1, &val2);
7396 if (!SWIG_IsOK(ecode2)) {
7397 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7398 }
7399 arg2 = static_cast< int >(val2);
7400 {
7401 PyThreadState* __tstate = wxPyBeginAllowThreads();
7402 (arg1)->SetReturnCode(arg2);
7403 wxPyEndAllowThreads(__tstate);
7404 if (PyErr_Occurred()) SWIG_fail;
7405 }
7406 resultobj = SWIG_Py_Void();
7407 return resultobj;
7408 fail:
7409 return NULL;
7410 }
7411
7412
7413 SWIGINTERN PyObject *_wrap_Dialog_GetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7414 PyObject *resultobj = 0;
7415 wxDialog *arg1 = (wxDialog *) 0 ;
7416 int result;
7417 void *argp1 = 0 ;
7418 int res1 = 0 ;
7419 PyObject *swig_obj[1] ;
7420
7421 if (!args) SWIG_fail;
7422 swig_obj[0] = args;
7423 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7424 if (!SWIG_IsOK(res1)) {
7425 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7426 }
7427 arg1 = reinterpret_cast< wxDialog * >(argp1);
7428 {
7429 PyThreadState* __tstate = wxPyBeginAllowThreads();
7430 result = (int)((wxDialog const *)arg1)->GetReturnCode();
7431 wxPyEndAllowThreads(__tstate);
7432 if (PyErr_Occurred()) SWIG_fail;
7433 }
7434 resultobj = SWIG_From_int(static_cast< int >(result));
7435 return resultobj;
7436 fail:
7437 return NULL;
7438 }
7439
7440
7441 SWIGINTERN PyObject *_wrap_Dialog_SetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7442 PyObject *resultobj = 0;
7443 wxDialog *arg1 = (wxDialog *) 0 ;
7444 int arg2 ;
7445 void *argp1 = 0 ;
7446 int res1 = 0 ;
7447 int val2 ;
7448 int ecode2 = 0 ;
7449 PyObject * obj0 = 0 ;
7450 PyObject * obj1 = 0 ;
7451 char * kwnames[] = {
7452 (char *) "self",(char *) "affirmativeId", NULL
7453 };
7454
7455 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetAffirmativeId",kwnames,&obj0,&obj1)) SWIG_fail;
7456 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7457 if (!SWIG_IsOK(res1)) {
7458 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7459 }
7460 arg1 = reinterpret_cast< wxDialog * >(argp1);
7461 ecode2 = SWIG_AsVal_int(obj1, &val2);
7462 if (!SWIG_IsOK(ecode2)) {
7463 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7464 }
7465 arg2 = static_cast< int >(val2);
7466 {
7467 PyThreadState* __tstate = wxPyBeginAllowThreads();
7468 (arg1)->SetAffirmativeId(arg2);
7469 wxPyEndAllowThreads(__tstate);
7470 if (PyErr_Occurred()) SWIG_fail;
7471 }
7472 resultobj = SWIG_Py_Void();
7473 return resultobj;
7474 fail:
7475 return NULL;
7476 }
7477
7478
7479 SWIGINTERN PyObject *_wrap_Dialog_GetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7480 PyObject *resultobj = 0;
7481 wxDialog *arg1 = (wxDialog *) 0 ;
7482 int result;
7483 void *argp1 = 0 ;
7484 int res1 = 0 ;
7485 PyObject *swig_obj[1] ;
7486
7487 if (!args) SWIG_fail;
7488 swig_obj[0] = args;
7489 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7490 if (!SWIG_IsOK(res1)) {
7491 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7492 }
7493 arg1 = reinterpret_cast< wxDialog * >(argp1);
7494 {
7495 PyThreadState* __tstate = wxPyBeginAllowThreads();
7496 result = (int)((wxDialog const *)arg1)->GetAffirmativeId();
7497 wxPyEndAllowThreads(__tstate);
7498 if (PyErr_Occurred()) SWIG_fail;
7499 }
7500 resultobj = SWIG_From_int(static_cast< int >(result));
7501 return resultobj;
7502 fail:
7503 return NULL;
7504 }
7505
7506
7507 SWIGINTERN PyObject *_wrap_Dialog_SetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7508 PyObject *resultobj = 0;
7509 wxDialog *arg1 = (wxDialog *) 0 ;
7510 int arg2 ;
7511 void *argp1 = 0 ;
7512 int res1 = 0 ;
7513 int val2 ;
7514 int ecode2 = 0 ;
7515 PyObject * obj0 = 0 ;
7516 PyObject * obj1 = 0 ;
7517 char * kwnames[] = {
7518 (char *) "self",(char *) "escapeId", NULL
7519 };
7520
7521 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetEscapeId",kwnames,&obj0,&obj1)) SWIG_fail;
7522 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7523 if (!SWIG_IsOK(res1)) {
7524 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7525 }
7526 arg1 = reinterpret_cast< wxDialog * >(argp1);
7527 ecode2 = SWIG_AsVal_int(obj1, &val2);
7528 if (!SWIG_IsOK(ecode2)) {
7529 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7530 }
7531 arg2 = static_cast< int >(val2);
7532 {
7533 PyThreadState* __tstate = wxPyBeginAllowThreads();
7534 (arg1)->SetEscapeId(arg2);
7535 wxPyEndAllowThreads(__tstate);
7536 if (PyErr_Occurred()) SWIG_fail;
7537 }
7538 resultobj = SWIG_Py_Void();
7539 return resultobj;
7540 fail:
7541 return NULL;
7542 }
7543
7544
7545 SWIGINTERN PyObject *_wrap_Dialog_GetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7546 PyObject *resultobj = 0;
7547 wxDialog *arg1 = (wxDialog *) 0 ;
7548 int result;
7549 void *argp1 = 0 ;
7550 int res1 = 0 ;
7551 PyObject *swig_obj[1] ;
7552
7553 if (!args) SWIG_fail;
7554 swig_obj[0] = args;
7555 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7556 if (!SWIG_IsOK(res1)) {
7557 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7558 }
7559 arg1 = reinterpret_cast< wxDialog * >(argp1);
7560 {
7561 PyThreadState* __tstate = wxPyBeginAllowThreads();
7562 result = (int)((wxDialog const *)arg1)->GetEscapeId();
7563 wxPyEndAllowThreads(__tstate);
7564 if (PyErr_Occurred()) SWIG_fail;
7565 }
7566 resultobj = SWIG_From_int(static_cast< int >(result));
7567 return resultobj;
7568 fail:
7569 return NULL;
7570 }
7571
7572
7573 SWIGINTERN PyObject *_wrap_Dialog_CreateTextSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7574 PyObject *resultobj = 0;
7575 wxDialog *arg1 = (wxDialog *) 0 ;
7576 wxString *arg2 = 0 ;
7577 wxSizer *result = 0 ;
7578 void *argp1 = 0 ;
7579 int res1 = 0 ;
7580 bool temp2 = false ;
7581 PyObject * obj0 = 0 ;
7582 PyObject * obj1 = 0 ;
7583 char * kwnames[] = {
7584 (char *) "self",(char *) "message", NULL
7585 };
7586
7587 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7588 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7589 if (!SWIG_IsOK(res1)) {
7590 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7591 }
7592 arg1 = reinterpret_cast< wxDialog * >(argp1);
7593 {
7594 arg2 = wxString_in_helper(obj1);
7595 if (arg2 == NULL) SWIG_fail;
7596 temp2 = true;
7597 }
7598 {
7599 PyThreadState* __tstate = wxPyBeginAllowThreads();
7600 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
7601 wxPyEndAllowThreads(__tstate);
7602 if (PyErr_Occurred()) SWIG_fail;
7603 }
7604 {
7605 resultobj = wxPyMake_wxObject(result, (bool)0);
7606 }
7607 {
7608 if (temp2)
7609 delete arg2;
7610 }
7611 return resultobj;
7612 fail:
7613 {
7614 if (temp2)
7615 delete arg2;
7616 }
7617 return NULL;
7618 }
7619
7620
7621 SWIGINTERN PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7622 PyObject *resultobj = 0;
7623 wxDialog *arg1 = (wxDialog *) 0 ;
7624 long arg2 ;
7625 bool arg3 = (bool) false ;
7626 int arg4 = (int) 0 ;
7627 wxSizer *result = 0 ;
7628 void *argp1 = 0 ;
7629 int res1 = 0 ;
7630 long val2 ;
7631 int ecode2 = 0 ;
7632 bool val3 ;
7633 int ecode3 = 0 ;
7634 int val4 ;
7635 int ecode4 = 0 ;
7636 PyObject * obj0 = 0 ;
7637 PyObject * obj1 = 0 ;
7638 PyObject * obj2 = 0 ;
7639 PyObject * obj3 = 0 ;
7640 char * kwnames[] = {
7641 (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL
7642 };
7643
7644 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7645 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7646 if (!SWIG_IsOK(res1)) {
7647 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7648 }
7649 arg1 = reinterpret_cast< wxDialog * >(argp1);
7650 ecode2 = SWIG_AsVal_long(obj1, &val2);
7651 if (!SWIG_IsOK(ecode2)) {
7652 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7653 }
7654 arg2 = static_cast< long >(val2);
7655 if (obj2) {
7656 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7657 if (!SWIG_IsOK(ecode3)) {
7658 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "3"" of type '" "bool""'");
7659 }
7660 arg3 = static_cast< bool >(val3);
7661 }
7662 if (obj3) {
7663 ecode4 = SWIG_AsVal_int(obj3, &val4);
7664 if (!SWIG_IsOK(ecode4)) {
7665 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "4"" of type '" "int""'");
7666 }
7667 arg4 = static_cast< int >(val4);
7668 }
7669 {
7670 PyThreadState* __tstate = wxPyBeginAllowThreads();
7671 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2,arg3,arg4);
7672 wxPyEndAllowThreads(__tstate);
7673 if (PyErr_Occurred()) SWIG_fail;
7674 }
7675 {
7676 resultobj = wxPyMake_wxObject(result, (bool)0);
7677 }
7678 return resultobj;
7679 fail:
7680 return NULL;
7681 }
7682
7683
7684 SWIGINTERN PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7685 PyObject *resultobj = 0;
7686 wxDialog *arg1 = (wxDialog *) 0 ;
7687 long arg2 ;
7688 wxStdDialogButtonSizer *result = 0 ;
7689 void *argp1 = 0 ;
7690 int res1 = 0 ;
7691 long val2 ;
7692 int ecode2 = 0 ;
7693 PyObject * obj0 = 0 ;
7694 PyObject * obj1 = 0 ;
7695 char * kwnames[] = {
7696 (char *) "self",(char *) "flags", NULL
7697 };
7698
7699 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7700 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7701 if (!SWIG_IsOK(res1)) {
7702 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7703 }
7704 arg1 = reinterpret_cast< wxDialog * >(argp1);
7705 ecode2 = SWIG_AsVal_long(obj1, &val2);
7706 if (!SWIG_IsOK(ecode2)) {
7707 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7708 }
7709 arg2 = static_cast< long >(val2);
7710 {
7711 PyThreadState* __tstate = wxPyBeginAllowThreads();
7712 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
7713 wxPyEndAllowThreads(__tstate);
7714 if (PyErr_Occurred()) SWIG_fail;
7715 }
7716 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0 | 0 );
7717 return resultobj;
7718 fail:
7719 return NULL;
7720 }
7721
7722
7723 SWIGINTERN PyObject *_wrap_Dialog_IsModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7724 PyObject *resultobj = 0;
7725 wxDialog *arg1 = (wxDialog *) 0 ;
7726 bool result;
7727 void *argp1 = 0 ;
7728 int res1 = 0 ;
7729 PyObject *swig_obj[1] ;
7730
7731 if (!args) SWIG_fail;
7732 swig_obj[0] = args;
7733 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7734 if (!SWIG_IsOK(res1)) {
7735 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7736 }
7737 arg1 = reinterpret_cast< wxDialog * >(argp1);
7738 {
7739 PyThreadState* __tstate = wxPyBeginAllowThreads();
7740 result = (bool)((wxDialog const *)arg1)->IsModal();
7741 wxPyEndAllowThreads(__tstate);
7742 if (PyErr_Occurred()) SWIG_fail;
7743 }
7744 {
7745 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7746 }
7747 return resultobj;
7748 fail:
7749 return NULL;
7750 }
7751
7752
7753 SWIGINTERN PyObject *_wrap_Dialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7754 PyObject *resultobj = 0;
7755 wxDialog *arg1 = (wxDialog *) 0 ;
7756 int result;
7757 void *argp1 = 0 ;
7758 int res1 = 0 ;
7759 PyObject *swig_obj[1] ;
7760
7761 if (!args) SWIG_fail;
7762 swig_obj[0] = args;
7763 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7764 if (!SWIG_IsOK(res1)) {
7765 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7766 }
7767 arg1 = reinterpret_cast< wxDialog * >(argp1);
7768 {
7769 PyThreadState* __tstate = wxPyBeginAllowThreads();
7770 result = (int)(arg1)->ShowModal();
7771 wxPyEndAllowThreads(__tstate);
7772 if (PyErr_Occurred()) SWIG_fail;
7773 }
7774 resultobj = SWIG_From_int(static_cast< int >(result));
7775 return resultobj;
7776 fail:
7777 return NULL;
7778 }
7779
7780
7781 SWIGINTERN PyObject *_wrap_Dialog_EndModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7782 PyObject *resultobj = 0;
7783 wxDialog *arg1 = (wxDialog *) 0 ;
7784 int arg2 ;
7785 void *argp1 = 0 ;
7786 int res1 = 0 ;
7787 int val2 ;
7788 int ecode2 = 0 ;
7789 PyObject * obj0 = 0 ;
7790 PyObject * obj1 = 0 ;
7791 char * kwnames[] = {
7792 (char *) "self",(char *) "retCode", NULL
7793 };
7794
7795 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) SWIG_fail;
7796 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7797 if (!SWIG_IsOK(res1)) {
7798 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7799 }
7800 arg1 = reinterpret_cast< wxDialog * >(argp1);
7801 ecode2 = SWIG_AsVal_int(obj1, &val2);
7802 if (!SWIG_IsOK(ecode2)) {
7803 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
7804 }
7805 arg2 = static_cast< int >(val2);
7806 {
7807 PyThreadState* __tstate = wxPyBeginAllowThreads();
7808 (arg1)->EndModal(arg2);
7809 wxPyEndAllowThreads(__tstate);
7810 if (PyErr_Occurred()) SWIG_fail;
7811 }
7812 resultobj = SWIG_Py_Void();
7813 return resultobj;
7814 fail:
7815 return NULL;
7816 }
7817
7818
7819 SWIGINTERN PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7820 PyObject *resultobj = 0;
7821 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7822 SwigValueWrapper<wxVisualAttributes > result;
7823 int val1 ;
7824 int ecode1 = 0 ;
7825 PyObject * obj0 = 0 ;
7826 char * kwnames[] = {
7827 (char *) "variant", NULL
7828 };
7829
7830 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7831 if (obj0) {
7832 ecode1 = SWIG_AsVal_int(obj0, &val1);
7833 if (!SWIG_IsOK(ecode1)) {
7834 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7835 }
7836 arg1 = static_cast< wxWindowVariant >(val1);
7837 }
7838 {
7839 if (!wxPyCheckForApp()) SWIG_fail;
7840 PyThreadState* __tstate = wxPyBeginAllowThreads();
7841 result = wxDialog::GetClassDefaultAttributes(arg1);
7842 wxPyEndAllowThreads(__tstate);
7843 if (PyErr_Occurred()) SWIG_fail;
7844 }
7845 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7846 return resultobj;
7847 fail:
7848 return NULL;
7849 }
7850
7851
7852 SWIGINTERN PyObject *Dialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7853 PyObject *obj;
7854 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7855 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog, SWIG_NewClientData(obj));
7856 return SWIG_Py_Void();
7857 }
7858
7859 SWIGINTERN PyObject *Dialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7860 return SWIG_Python_InitShadowInstance(args);
7861 }
7862
7863 SWIGINTERN PyObject *_wrap_new_MiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7864 PyObject *resultobj = 0;
7865 wxWindow *arg1 = (wxWindow *) 0 ;
7866 int arg2 = (int) (int)-1 ;
7867 wxString const &arg3_defvalue = wxPyEmptyString ;
7868 wxString *arg3 = (wxString *) &arg3_defvalue ;
7869 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7870 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7871 wxSize const &arg5_defvalue = wxDefaultSize ;
7872 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7873 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
7874 wxString const &arg7_defvalue = wxPyFrameNameStr ;
7875 wxString *arg7 = (wxString *) &arg7_defvalue ;
7876 wxMiniFrame *result = 0 ;
7877 void *argp1 = 0 ;
7878 int res1 = 0 ;
7879 int val2 ;
7880 int ecode2 = 0 ;
7881 bool temp3 = false ;
7882 wxPoint temp4 ;
7883 wxSize temp5 ;
7884 long val6 ;
7885 int ecode6 = 0 ;
7886 bool temp7 = false ;
7887 PyObject * obj0 = 0 ;
7888 PyObject * obj1 = 0 ;
7889 PyObject * obj2 = 0 ;
7890 PyObject * obj3 = 0 ;
7891 PyObject * obj4 = 0 ;
7892 PyObject * obj5 = 0 ;
7893 PyObject * obj6 = 0 ;
7894 char * kwnames[] = {
7895 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7896 };
7897
7898 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7899 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7900 if (!SWIG_IsOK(res1)) {
7901 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
7902 }
7903 arg1 = reinterpret_cast< wxWindow * >(argp1);
7904 if (obj1) {
7905 ecode2 = SWIG_AsVal_int(obj1, &val2);
7906 if (!SWIG_IsOK(ecode2)) {
7907 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
7908 }
7909 arg2 = static_cast< int >(val2);
7910 }
7911 if (obj2) {
7912 {
7913 arg3 = wxString_in_helper(obj2);
7914 if (arg3 == NULL) SWIG_fail;
7915 temp3 = true;
7916 }
7917 }
7918 if (obj3) {
7919 {
7920 arg4 = &temp4;
7921 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7922 }
7923 }
7924 if (obj4) {
7925 {
7926 arg5 = &temp5;
7927 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7928 }
7929 }
7930 if (obj5) {
7931 ecode6 = SWIG_AsVal_long(obj5, &val6);
7932 if (!SWIG_IsOK(ecode6)) {
7933 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
7934 }
7935 arg6 = static_cast< long >(val6);
7936 }
7937 if (obj6) {
7938 {
7939 arg7 = wxString_in_helper(obj6);
7940 if (arg7 == NULL) SWIG_fail;
7941 temp7 = true;
7942 }
7943 }
7944 {
7945 if (!wxPyCheckForApp()) SWIG_fail;
7946 PyThreadState* __tstate = wxPyBeginAllowThreads();
7947 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7948 wxPyEndAllowThreads(__tstate);
7949 if (PyErr_Occurred()) SWIG_fail;
7950 }
7951 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_NEW | 0 );
7952 {
7953 if (temp3)
7954 delete arg3;
7955 }
7956 {
7957 if (temp7)
7958 delete arg7;
7959 }
7960 return resultobj;
7961 fail:
7962 {
7963 if (temp3)
7964 delete arg3;
7965 }
7966 {
7967 if (temp7)
7968 delete arg7;
7969 }
7970 return NULL;
7971 }
7972
7973
7974 SWIGINTERN PyObject *_wrap_new_PreMiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7975 PyObject *resultobj = 0;
7976 wxMiniFrame *result = 0 ;
7977
7978 if (!SWIG_Python_UnpackTuple(args,"new_PreMiniFrame",0,0,0)) SWIG_fail;
7979 {
7980 if (!wxPyCheckForApp()) SWIG_fail;
7981 PyThreadState* __tstate = wxPyBeginAllowThreads();
7982 result = (wxMiniFrame *)new wxMiniFrame();
7983 wxPyEndAllowThreads(__tstate);
7984 if (PyErr_Occurred()) SWIG_fail;
7985 }
7986 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_OWN | 0 );
7987 return resultobj;
7988 fail:
7989 return NULL;
7990 }
7991
7992
7993 SWIGINTERN PyObject *_wrap_MiniFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7994 PyObject *resultobj = 0;
7995 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
7996 wxWindow *arg2 = (wxWindow *) 0 ;
7997 int arg3 = (int) (int)-1 ;
7998 wxString const &arg4_defvalue = wxPyEmptyString ;
7999 wxString *arg4 = (wxString *) &arg4_defvalue ;
8000 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8001 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8002 wxSize const &arg6_defvalue = wxDefaultSize ;
8003 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8004 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
8005 wxString const &arg8_defvalue = wxPyFrameNameStr ;
8006 wxString *arg8 = (wxString *) &arg8_defvalue ;
8007 bool result;
8008 void *argp1 = 0 ;
8009 int res1 = 0 ;
8010 void *argp2 = 0 ;
8011 int res2 = 0 ;
8012 int val3 ;
8013 int ecode3 = 0 ;
8014 bool temp4 = false ;
8015 wxPoint temp5 ;
8016 wxSize temp6 ;
8017 long val7 ;
8018 int ecode7 = 0 ;
8019 bool temp8 = false ;
8020 PyObject * obj0 = 0 ;
8021 PyObject * obj1 = 0 ;
8022 PyObject * obj2 = 0 ;
8023 PyObject * obj3 = 0 ;
8024 PyObject * obj4 = 0 ;
8025 PyObject * obj5 = 0 ;
8026 PyObject * obj6 = 0 ;
8027 PyObject * obj7 = 0 ;
8028 char * kwnames[] = {
8029 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8030 };
8031
8032 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8033 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMiniFrame, 0 | 0 );
8034 if (!SWIG_IsOK(res1)) {
8035 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8036 }
8037 arg1 = reinterpret_cast< wxMiniFrame * >(argp1);
8038 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8039 if (!SWIG_IsOK(res2)) {
8040 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8041 }
8042 arg2 = reinterpret_cast< wxWindow * >(argp2);
8043 if (obj2) {
8044 ecode3 = SWIG_AsVal_int(obj2, &val3);
8045 if (!SWIG_IsOK(ecode3)) {
8046 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8047 }
8048 arg3 = static_cast< int >(val3);
8049 }
8050 if (obj3) {
8051 {
8052 arg4 = wxString_in_helper(obj3);
8053 if (arg4 == NULL) SWIG_fail;
8054 temp4 = true;
8055 }
8056 }
8057 if (obj4) {
8058 {
8059 arg5 = &temp5;
8060 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8061 }
8062 }
8063 if (obj5) {
8064 {
8065 arg6 = &temp6;
8066 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8067 }
8068 }
8069 if (obj6) {
8070 ecode7 = SWIG_AsVal_long(obj6, &val7);
8071 if (!SWIG_IsOK(ecode7)) {
8072 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8073 }
8074 arg7 = static_cast< long >(val7);
8075 }
8076 if (obj7) {
8077 {
8078 arg8 = wxString_in_helper(obj7);
8079 if (arg8 == NULL) SWIG_fail;
8080 temp8 = true;
8081 }
8082 }
8083 {
8084 PyThreadState* __tstate = wxPyBeginAllowThreads();
8085 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8086 wxPyEndAllowThreads(__tstate);
8087 if (PyErr_Occurred()) SWIG_fail;
8088 }
8089 {
8090 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8091 }
8092 {
8093 if (temp4)
8094 delete arg4;
8095 }
8096 {
8097 if (temp8)
8098 delete arg8;
8099 }
8100 return resultobj;
8101 fail:
8102 {
8103 if (temp4)
8104 delete arg4;
8105 }
8106 {
8107 if (temp8)
8108 delete arg8;
8109 }
8110 return NULL;
8111 }
8112
8113
8114 SWIGINTERN PyObject *MiniFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8115 PyObject *obj;
8116 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8117 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame, SWIG_NewClientData(obj));
8118 return SWIG_Py_Void();
8119 }
8120
8121 SWIGINTERN PyObject *MiniFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8122 return SWIG_Python_InitShadowInstance(args);
8123 }
8124
8125 SWIGINTERN PyObject *_wrap_new_SplashScreenWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8126 PyObject *resultobj = 0;
8127 wxBitmap *arg1 = 0 ;
8128 wxWindow *arg2 = (wxWindow *) 0 ;
8129 int arg3 ;
8130 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8131 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8132 wxSize const &arg5_defvalue = wxDefaultSize ;
8133 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8134 long arg6 = (long) wxNO_BORDER ;
8135 wxSplashScreenWindow *result = 0 ;
8136 void *argp1 = 0 ;
8137 int res1 = 0 ;
8138 void *argp2 = 0 ;
8139 int res2 = 0 ;
8140 int val3 ;
8141 int ecode3 = 0 ;
8142 wxPoint temp4 ;
8143 wxSize temp5 ;
8144 long val6 ;
8145 int ecode6 = 0 ;
8146 PyObject * obj0 = 0 ;
8147 PyObject * obj1 = 0 ;
8148 PyObject * obj2 = 0 ;
8149 PyObject * obj3 = 0 ;
8150 PyObject * obj4 = 0 ;
8151 PyObject * obj5 = 0 ;
8152 char * kwnames[] = {
8153 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8154 };
8155
8156 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
8157 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8158 if (!SWIG_IsOK(res1)) {
8159 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8160 }
8161 if (!argp1) {
8162 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8163 }
8164 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8165 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8166 if (!SWIG_IsOK(res2)) {
8167 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8168 }
8169 arg2 = reinterpret_cast< wxWindow * >(argp2);
8170 ecode3 = SWIG_AsVal_int(obj2, &val3);
8171 if (!SWIG_IsOK(ecode3)) {
8172 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8173 }
8174 arg3 = static_cast< int >(val3);
8175 if (obj3) {
8176 {
8177 arg4 = &temp4;
8178 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8179 }
8180 }
8181 if (obj4) {
8182 {
8183 arg5 = &temp5;
8184 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8185 }
8186 }
8187 if (obj5) {
8188 ecode6 = SWIG_AsVal_long(obj5, &val6);
8189 if (!SWIG_IsOK(ecode6)) {
8190 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8191 }
8192 arg6 = static_cast< long >(val6);
8193 }
8194 {
8195 if (!wxPyCheckForApp()) SWIG_fail;
8196 PyThreadState* __tstate = wxPyBeginAllowThreads();
8197 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
8198 wxPyEndAllowThreads(__tstate);
8199 if (PyErr_Occurred()) SWIG_fail;
8200 }
8201 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_NEW | 0 );
8202 return resultobj;
8203 fail:
8204 return NULL;
8205 }
8206
8207
8208 SWIGINTERN PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8209 PyObject *resultobj = 0;
8210 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8211 wxBitmap *arg2 = 0 ;
8212 void *argp1 = 0 ;
8213 int res1 = 0 ;
8214 void *argp2 = 0 ;
8215 int res2 = 0 ;
8216 PyObject * obj0 = 0 ;
8217 PyObject * obj1 = 0 ;
8218 char * kwnames[] = {
8219 (char *) "self",(char *) "bitmap", NULL
8220 };
8221
8222 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
8223 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8224 if (!SWIG_IsOK(res1)) {
8225 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8226 }
8227 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8228 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
8229 if (!SWIG_IsOK(res2)) {
8230 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8231 }
8232 if (!argp2) {
8233 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8234 }
8235 arg2 = reinterpret_cast< wxBitmap * >(argp2);
8236 {
8237 PyThreadState* __tstate = wxPyBeginAllowThreads();
8238 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8239 wxPyEndAllowThreads(__tstate);
8240 if (PyErr_Occurred()) SWIG_fail;
8241 }
8242 resultobj = SWIG_Py_Void();
8243 return resultobj;
8244 fail:
8245 return NULL;
8246 }
8247
8248
8249 SWIGINTERN PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8250 PyObject *resultobj = 0;
8251 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8252 wxBitmap *result = 0 ;
8253 void *argp1 = 0 ;
8254 int res1 = 0 ;
8255 PyObject *swig_obj[1] ;
8256
8257 if (!args) SWIG_fail;
8258 swig_obj[0] = args;
8259 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8260 if (!SWIG_IsOK(res1)) {
8261 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8262 }
8263 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8264 {
8265 PyThreadState* __tstate = wxPyBeginAllowThreads();
8266 {
8267 wxBitmap &_result_ref = (arg1)->GetBitmap();
8268 result = (wxBitmap *) &_result_ref;
8269 }
8270 wxPyEndAllowThreads(__tstate);
8271 if (PyErr_Occurred()) SWIG_fail;
8272 }
8273 {
8274 wxBitmap* resultptr = new wxBitmap(*result);
8275 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
8276 }
8277 return resultobj;
8278 fail:
8279 return NULL;
8280 }
8281
8282
8283 SWIGINTERN PyObject *SplashScreenWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8284 PyObject *obj;
8285 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8286 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow, SWIG_NewClientData(obj));
8287 return SWIG_Py_Void();
8288 }
8289
8290 SWIGINTERN PyObject *SplashScreenWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8291 return SWIG_Python_InitShadowInstance(args);
8292 }
8293
8294 SWIGINTERN PyObject *_wrap_new_SplashScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8295 PyObject *resultobj = 0;
8296 wxBitmap *arg1 = 0 ;
8297 long arg2 ;
8298 int arg3 ;
8299 wxWindow *arg4 = (wxWindow *) 0 ;
8300 int arg5 = (int) -1 ;
8301 wxPoint const &arg6_defvalue = wxDefaultPosition ;
8302 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
8303 wxSize const &arg7_defvalue = wxDefaultSize ;
8304 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
8305 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
8306 wxSplashScreen *result = 0 ;
8307 void *argp1 = 0 ;
8308 int res1 = 0 ;
8309 long val2 ;
8310 int ecode2 = 0 ;
8311 int val3 ;
8312 int ecode3 = 0 ;
8313 void *argp4 = 0 ;
8314 int res4 = 0 ;
8315 int val5 ;
8316 int ecode5 = 0 ;
8317 wxPoint temp6 ;
8318 wxSize temp7 ;
8319 long val8 ;
8320 int ecode8 = 0 ;
8321 PyObject * obj0 = 0 ;
8322 PyObject * obj1 = 0 ;
8323 PyObject * obj2 = 0 ;
8324 PyObject * obj3 = 0 ;
8325 PyObject * obj4 = 0 ;
8326 PyObject * obj5 = 0 ;
8327 PyObject * obj6 = 0 ;
8328 PyObject * obj7 = 0 ;
8329 char * kwnames[] = {
8330 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8331 };
8332
8333 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8334 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8335 if (!SWIG_IsOK(res1)) {
8336 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8337 }
8338 if (!argp1) {
8339 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8340 }
8341 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8342 ecode2 = SWIG_AsVal_long(obj1, &val2);
8343 if (!SWIG_IsOK(ecode2)) {
8344 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8345 }
8346 arg2 = static_cast< long >(val2);
8347 ecode3 = SWIG_AsVal_int(obj2, &val3);
8348 if (!SWIG_IsOK(ecode3)) {
8349 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8350 }
8351 arg3 = static_cast< int >(val3);
8352 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
8353 if (!SWIG_IsOK(res4)) {
8354 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8355 }
8356 arg4 = reinterpret_cast< wxWindow * >(argp4);
8357 if (obj4) {
8358 ecode5 = SWIG_AsVal_int(obj4, &val5);
8359 if (!SWIG_IsOK(ecode5)) {
8360 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8361 }
8362 arg5 = static_cast< int >(val5);
8363 }
8364 if (obj5) {
8365 {
8366 arg6 = &temp6;
8367 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
8368 }
8369 }
8370 if (obj6) {
8371 {
8372 arg7 = &temp7;
8373 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
8374 }
8375 }
8376 if (obj7) {
8377 ecode8 = SWIG_AsVal_long(obj7, &val8);
8378 if (!SWIG_IsOK(ecode8)) {
8379 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8380 }
8381 arg8 = static_cast< long >(val8);
8382 }
8383 {
8384 if (!wxPyCheckForApp()) SWIG_fail;
8385 PyThreadState* __tstate = wxPyBeginAllowThreads();
8386 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
8387 wxPyEndAllowThreads(__tstate);
8388 if (PyErr_Occurred()) SWIG_fail;
8389 }
8390 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_NEW | 0 );
8391 return resultobj;
8392 fail:
8393 return NULL;
8394 }
8395
8396
8397 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8398 PyObject *resultobj = 0;
8399 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8400 long result;
8401 void *argp1 = 0 ;
8402 int res1 = 0 ;
8403 PyObject *swig_obj[1] ;
8404
8405 if (!args) SWIG_fail;
8406 swig_obj[0] = args;
8407 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8408 if (!SWIG_IsOK(res1)) {
8409 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8410 }
8411 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8412 {
8413 PyThreadState* __tstate = wxPyBeginAllowThreads();
8414 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
8415 wxPyEndAllowThreads(__tstate);
8416 if (PyErr_Occurred()) SWIG_fail;
8417 }
8418 resultobj = SWIG_From_long(static_cast< long >(result));
8419 return resultobj;
8420 fail:
8421 return NULL;
8422 }
8423
8424
8425 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8426 PyObject *resultobj = 0;
8427 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8428 wxSplashScreenWindow *result = 0 ;
8429 void *argp1 = 0 ;
8430 int res1 = 0 ;
8431 PyObject *swig_obj[1] ;
8432
8433 if (!args) SWIG_fail;
8434 swig_obj[0] = args;
8435 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8436 if (!SWIG_IsOK(res1)) {
8437 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8438 }
8439 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8440 {
8441 PyThreadState* __tstate = wxPyBeginAllowThreads();
8442 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
8443 wxPyEndAllowThreads(__tstate);
8444 if (PyErr_Occurred()) SWIG_fail;
8445 }
8446 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8447 return resultobj;
8448 fail:
8449 return NULL;
8450 }
8451
8452
8453 SWIGINTERN PyObject *_wrap_SplashScreen_GetTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8454 PyObject *resultobj = 0;
8455 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8456 int result;
8457 void *argp1 = 0 ;
8458 int res1 = 0 ;
8459 PyObject *swig_obj[1] ;
8460
8461 if (!args) SWIG_fail;
8462 swig_obj[0] = args;
8463 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8464 if (!SWIG_IsOK(res1)) {
8465 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8466 }
8467 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8468 {
8469 PyThreadState* __tstate = wxPyBeginAllowThreads();
8470 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
8471 wxPyEndAllowThreads(__tstate);
8472 if (PyErr_Occurred()) SWIG_fail;
8473 }
8474 resultobj = SWIG_From_int(static_cast< int >(result));
8475 return resultobj;
8476 fail:
8477 return NULL;
8478 }
8479
8480
8481 SWIGINTERN PyObject *SplashScreen_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8482 PyObject *obj;
8483 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8484 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen, SWIG_NewClientData(obj));
8485 return SWIG_Py_Void();
8486 }
8487
8488 SWIGINTERN PyObject *SplashScreen_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8489 return SWIG_Python_InitShadowInstance(args);
8490 }
8491
8492 SWIGINTERN PyObject *_wrap_new_StatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8493 PyObject *resultobj = 0;
8494 wxWindow *arg1 = (wxWindow *) 0 ;
8495 int arg2 = (int) -1 ;
8496 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
8497 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
8498 wxString *arg4 = (wxString *) &arg4_defvalue ;
8499 wxStatusBar *result = 0 ;
8500 void *argp1 = 0 ;
8501 int res1 = 0 ;
8502 int val2 ;
8503 int ecode2 = 0 ;
8504 long val3 ;
8505 int ecode3 = 0 ;
8506 bool temp4 = false ;
8507 PyObject * obj0 = 0 ;
8508 PyObject * obj1 = 0 ;
8509 PyObject * obj2 = 0 ;
8510 PyObject * obj3 = 0 ;
8511 char * kwnames[] = {
8512 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8513 };
8514
8515 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
8516 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8517 if (!SWIG_IsOK(res1)) {
8518 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8519 }
8520 arg1 = reinterpret_cast< wxWindow * >(argp1);
8521 if (obj1) {
8522 ecode2 = SWIG_AsVal_int(obj1, &val2);
8523 if (!SWIG_IsOK(ecode2)) {
8524 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8525 }
8526 arg2 = static_cast< int >(val2);
8527 }
8528 if (obj2) {
8529 ecode3 = SWIG_AsVal_long(obj2, &val3);
8530 if (!SWIG_IsOK(ecode3)) {
8531 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8532 }
8533 arg3 = static_cast< long >(val3);
8534 }
8535 if (obj3) {
8536 {
8537 arg4 = wxString_in_helper(obj3);
8538 if (arg4 == NULL) SWIG_fail;
8539 temp4 = true;
8540 }
8541 }
8542 {
8543 if (!wxPyCheckForApp()) SWIG_fail;
8544 PyThreadState* __tstate = wxPyBeginAllowThreads();
8545 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
8546 wxPyEndAllowThreads(__tstate);
8547 if (PyErr_Occurred()) SWIG_fail;
8548 }
8549 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_NEW | 0 );
8550 {
8551 if (temp4)
8552 delete arg4;
8553 }
8554 return resultobj;
8555 fail:
8556 {
8557 if (temp4)
8558 delete arg4;
8559 }
8560 return NULL;
8561 }
8562
8563
8564 SWIGINTERN PyObject *_wrap_new_PreStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8565 PyObject *resultobj = 0;
8566 wxStatusBar *result = 0 ;
8567
8568 if (!SWIG_Python_UnpackTuple(args,"new_PreStatusBar",0,0,0)) SWIG_fail;
8569 {
8570 if (!wxPyCheckForApp()) SWIG_fail;
8571 PyThreadState* __tstate = wxPyBeginAllowThreads();
8572 result = (wxStatusBar *)new wxStatusBar();
8573 wxPyEndAllowThreads(__tstate);
8574 if (PyErr_Occurred()) SWIG_fail;
8575 }
8576 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_OWN | 0 );
8577 return resultobj;
8578 fail:
8579 return NULL;
8580 }
8581
8582
8583 SWIGINTERN PyObject *_wrap_StatusBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8584 PyObject *resultobj = 0;
8585 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8586 wxWindow *arg2 = (wxWindow *) 0 ;
8587 int arg3 = (int) -1 ;
8588 long arg4 = (long) wxST_SIZEGRIP ;
8589 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
8590 wxString *arg5 = (wxString *) &arg5_defvalue ;
8591 bool result;
8592 void *argp1 = 0 ;
8593 int res1 = 0 ;
8594 void *argp2 = 0 ;
8595 int res2 = 0 ;
8596 int val3 ;
8597 int ecode3 = 0 ;
8598 long val4 ;
8599 int ecode4 = 0 ;
8600 bool temp5 = false ;
8601 PyObject * obj0 = 0 ;
8602 PyObject * obj1 = 0 ;
8603 PyObject * obj2 = 0 ;
8604 PyObject * obj3 = 0 ;
8605 PyObject * obj4 = 0 ;
8606 char * kwnames[] = {
8607 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8608 };
8609
8610 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
8611 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8612 if (!SWIG_IsOK(res1)) {
8613 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8614 }
8615 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8616 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8617 if (!SWIG_IsOK(res2)) {
8618 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8619 }
8620 arg2 = reinterpret_cast< wxWindow * >(argp2);
8621 if (obj2) {
8622 ecode3 = SWIG_AsVal_int(obj2, &val3);
8623 if (!SWIG_IsOK(ecode3)) {
8624 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8625 }
8626 arg3 = static_cast< int >(val3);
8627 }
8628 if (obj3) {
8629 ecode4 = SWIG_AsVal_long(obj3, &val4);
8630 if (!SWIG_IsOK(ecode4)) {
8631 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8632 }
8633 arg4 = static_cast< long >(val4);
8634 }
8635 if (obj4) {
8636 {
8637 arg5 = wxString_in_helper(obj4);
8638 if (arg5 == NULL) SWIG_fail;
8639 temp5 = true;
8640 }
8641 }
8642 {
8643 PyThreadState* __tstate = wxPyBeginAllowThreads();
8644 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
8645 wxPyEndAllowThreads(__tstate);
8646 if (PyErr_Occurred()) SWIG_fail;
8647 }
8648 {
8649 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8650 }
8651 {
8652 if (temp5)
8653 delete arg5;
8654 }
8655 return resultobj;
8656 fail:
8657 {
8658 if (temp5)
8659 delete arg5;
8660 }
8661 return NULL;
8662 }
8663
8664
8665 SWIGINTERN PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8666 PyObject *resultobj = 0;
8667 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8668 int arg2 = (int) 1 ;
8669 void *argp1 = 0 ;
8670 int res1 = 0 ;
8671 int val2 ;
8672 int ecode2 = 0 ;
8673 PyObject * obj0 = 0 ;
8674 PyObject * obj1 = 0 ;
8675 char * kwnames[] = {
8676 (char *) "self",(char *) "number", NULL
8677 };
8678
8679 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) SWIG_fail;
8680 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8681 if (!SWIG_IsOK(res1)) {
8682 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8683 }
8684 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8685 if (obj1) {
8686 ecode2 = SWIG_AsVal_int(obj1, &val2);
8687 if (!SWIG_IsOK(ecode2)) {
8688 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8689 }
8690 arg2 = static_cast< int >(val2);
8691 }
8692 {
8693 PyThreadState* __tstate = wxPyBeginAllowThreads();
8694 (arg1)->SetFieldsCount(arg2);
8695 wxPyEndAllowThreads(__tstate);
8696 if (PyErr_Occurred()) SWIG_fail;
8697 }
8698 resultobj = SWIG_Py_Void();
8699 return resultobj;
8700 fail:
8701 return NULL;
8702 }
8703
8704
8705 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8706 PyObject *resultobj = 0;
8707 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8708 int result;
8709 void *argp1 = 0 ;
8710 int res1 = 0 ;
8711 PyObject *swig_obj[1] ;
8712
8713 if (!args) SWIG_fail;
8714 swig_obj[0] = args;
8715 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8716 if (!SWIG_IsOK(res1)) {
8717 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8718 }
8719 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8720 {
8721 PyThreadState* __tstate = wxPyBeginAllowThreads();
8722 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
8723 wxPyEndAllowThreads(__tstate);
8724 if (PyErr_Occurred()) SWIG_fail;
8725 }
8726 resultobj = SWIG_From_int(static_cast< int >(result));
8727 return resultobj;
8728 fail:
8729 return NULL;
8730 }
8731
8732
8733 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8734 PyObject *resultobj = 0;
8735 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8736 wxString *arg2 = 0 ;
8737 int arg3 = (int) 0 ;
8738 void *argp1 = 0 ;
8739 int res1 = 0 ;
8740 bool temp2 = false ;
8741 int val3 ;
8742 int ecode3 = 0 ;
8743 PyObject * obj0 = 0 ;
8744 PyObject * obj1 = 0 ;
8745 PyObject * obj2 = 0 ;
8746 char * kwnames[] = {
8747 (char *) "self",(char *) "text",(char *) "number", NULL
8748 };
8749
8750 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8751 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8752 if (!SWIG_IsOK(res1)) {
8753 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8754 }
8755 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8756 {
8757 arg2 = wxString_in_helper(obj1);
8758 if (arg2 == NULL) SWIG_fail;
8759 temp2 = true;
8760 }
8761 if (obj2) {
8762 ecode3 = SWIG_AsVal_int(obj2, &val3);
8763 if (!SWIG_IsOK(ecode3)) {
8764 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8765 }
8766 arg3 = static_cast< int >(val3);
8767 }
8768 {
8769 PyThreadState* __tstate = wxPyBeginAllowThreads();
8770 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
8771 wxPyEndAllowThreads(__tstate);
8772 if (PyErr_Occurred()) SWIG_fail;
8773 }
8774 resultobj = SWIG_Py_Void();
8775 {
8776 if (temp2)
8777 delete arg2;
8778 }
8779 return resultobj;
8780 fail:
8781 {
8782 if (temp2)
8783 delete arg2;
8784 }
8785 return NULL;
8786 }
8787
8788
8789 SWIGINTERN PyObject *_wrap_StatusBar_GetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8790 PyObject *resultobj = 0;
8791 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8792 int arg2 = (int) 0 ;
8793 wxString result;
8794 void *argp1 = 0 ;
8795 int res1 = 0 ;
8796 int val2 ;
8797 int ecode2 = 0 ;
8798 PyObject * obj0 = 0 ;
8799 PyObject * obj1 = 0 ;
8800 char * kwnames[] = {
8801 (char *) "self",(char *) "number", NULL
8802 };
8803
8804 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
8805 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8806 if (!SWIG_IsOK(res1)) {
8807 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8808 }
8809 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8810 if (obj1) {
8811 ecode2 = SWIG_AsVal_int(obj1, &val2);
8812 if (!SWIG_IsOK(ecode2)) {
8813 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
8814 }
8815 arg2 = static_cast< int >(val2);
8816 }
8817 {
8818 PyThreadState* __tstate = wxPyBeginAllowThreads();
8819 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
8820 wxPyEndAllowThreads(__tstate);
8821 if (PyErr_Occurred()) SWIG_fail;
8822 }
8823 {
8824 #if wxUSE_UNICODE
8825 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8826 #else
8827 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8828 #endif
8829 }
8830 return resultobj;
8831 fail:
8832 return NULL;
8833 }
8834
8835
8836 SWIGINTERN PyObject *_wrap_StatusBar_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8837 PyObject *resultobj = 0;
8838 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8839 wxString *arg2 = 0 ;
8840 int arg3 = (int) 0 ;
8841 void *argp1 = 0 ;
8842 int res1 = 0 ;
8843 bool temp2 = false ;
8844 int val3 ;
8845 int ecode3 = 0 ;
8846 PyObject * obj0 = 0 ;
8847 PyObject * obj1 = 0 ;
8848 PyObject * obj2 = 0 ;
8849 char * kwnames[] = {
8850 (char *) "self",(char *) "text",(char *) "number", NULL
8851 };
8852
8853 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8854 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8855 if (!SWIG_IsOK(res1)) {
8856 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8857 }
8858 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8859 {
8860 arg2 = wxString_in_helper(obj1);
8861 if (arg2 == NULL) SWIG_fail;
8862 temp2 = true;
8863 }
8864 if (obj2) {
8865 ecode3 = SWIG_AsVal_int(obj2, &val3);
8866 if (!SWIG_IsOK(ecode3)) {
8867 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
8868 }
8869 arg3 = static_cast< int >(val3);
8870 }
8871 {
8872 PyThreadState* __tstate = wxPyBeginAllowThreads();
8873 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
8874 wxPyEndAllowThreads(__tstate);
8875 if (PyErr_Occurred()) SWIG_fail;
8876 }
8877 resultobj = SWIG_Py_Void();
8878 {
8879 if (temp2)
8880 delete arg2;
8881 }
8882 return resultobj;
8883 fail:
8884 {
8885 if (temp2)
8886 delete arg2;
8887 }
8888 return NULL;
8889 }
8890
8891
8892 SWIGINTERN PyObject *_wrap_StatusBar_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8893 PyObject *resultobj = 0;
8894 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8895 int arg2 = (int) 0 ;
8896 void *argp1 = 0 ;
8897 int res1 = 0 ;
8898 int val2 ;
8899 int ecode2 = 0 ;
8900 PyObject * obj0 = 0 ;
8901 PyObject * obj1 = 0 ;
8902 char * kwnames[] = {
8903 (char *) "self",(char *) "number", NULL
8904 };
8905
8906 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
8907 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8908 if (!SWIG_IsOK(res1)) {
8909 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8910 }
8911 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8912 if (obj1) {
8913 ecode2 = SWIG_AsVal_int(obj1, &val2);
8914 if (!SWIG_IsOK(ecode2)) {
8915 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
8916 }
8917 arg2 = static_cast< int >(val2);
8918 }
8919 {
8920 PyThreadState* __tstate = wxPyBeginAllowThreads();
8921 (arg1)->PopStatusText(arg2);
8922 wxPyEndAllowThreads(__tstate);
8923 if (PyErr_Occurred()) SWIG_fail;
8924 }
8925 resultobj = SWIG_Py_Void();
8926 return resultobj;
8927 fail:
8928 return NULL;
8929 }
8930
8931
8932 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8933 PyObject *resultobj = 0;
8934 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8935 int arg2 ;
8936 int *arg3 = (int *) 0 ;
8937 void *argp1 = 0 ;
8938 int res1 = 0 ;
8939 PyObject * obj0 = 0 ;
8940 PyObject * obj1 = 0 ;
8941 char * kwnames[] = {
8942 (char *) "self",(char *) "widths", NULL
8943 };
8944
8945 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
8946 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8947 if (!SWIG_IsOK(res1)) {
8948 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8949 }
8950 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8951 {
8952 arg2 = PyList_Size(obj1);
8953 arg3 = int_LIST_helper(obj1);
8954 if (arg3 == NULL) SWIG_fail;
8955 }
8956 {
8957 PyThreadState* __tstate = wxPyBeginAllowThreads();
8958 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
8959 wxPyEndAllowThreads(__tstate);
8960 if (PyErr_Occurred()) SWIG_fail;
8961 }
8962 resultobj = SWIG_Py_Void();
8963 {
8964 if (arg3) delete [] arg3;
8965 }
8966 return resultobj;
8967 fail:
8968 {
8969 if (arg3) delete [] arg3;
8970 }
8971 return NULL;
8972 }
8973
8974
8975 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8976 PyObject *resultobj = 0;
8977 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8978 int arg2 ;
8979 int *arg3 = (int *) 0 ;
8980 void *argp1 = 0 ;
8981 int res1 = 0 ;
8982 PyObject * obj0 = 0 ;
8983 PyObject * obj1 = 0 ;
8984 char * kwnames[] = {
8985 (char *) "self",(char *) "styles", NULL
8986 };
8987
8988 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) SWIG_fail;
8989 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8990 if (!SWIG_IsOK(res1)) {
8991 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8992 }
8993 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8994 {
8995 arg2 = PyList_Size(obj1);
8996 arg3 = int_LIST_helper(obj1);
8997 if (arg3 == NULL) SWIG_fail;
8998 }
8999 {
9000 PyThreadState* __tstate = wxPyBeginAllowThreads();
9001 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
9002 wxPyEndAllowThreads(__tstate);
9003 if (PyErr_Occurred()) SWIG_fail;
9004 }
9005 resultobj = SWIG_Py_Void();
9006 {
9007 if (arg3) delete [] arg3;
9008 }
9009 return resultobj;
9010 fail:
9011 {
9012 if (arg3) delete [] arg3;
9013 }
9014 return NULL;
9015 }
9016
9017
9018 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9019 PyObject *resultobj = 0;
9020 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9021 int arg2 ;
9022 wxRect result;
9023 void *argp1 = 0 ;
9024 int res1 = 0 ;
9025 int val2 ;
9026 int ecode2 = 0 ;
9027 PyObject * obj0 = 0 ;
9028 PyObject * obj1 = 0 ;
9029 char * kwnames[] = {
9030 (char *) "self",(char *) "i", NULL
9031 };
9032
9033 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) SWIG_fail;
9034 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9035 if (!SWIG_IsOK(res1)) {
9036 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9037 }
9038 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9039 ecode2 = SWIG_AsVal_int(obj1, &val2);
9040 if (!SWIG_IsOK(ecode2)) {
9041 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9042 }
9043 arg2 = static_cast< int >(val2);
9044 {
9045 PyThreadState* __tstate = wxPyBeginAllowThreads();
9046 result = wxStatusBar_GetFieldRect(arg1,arg2);
9047 wxPyEndAllowThreads(__tstate);
9048 if (PyErr_Occurred()) SWIG_fail;
9049 }
9050 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
9051 return resultobj;
9052 fail:
9053 return NULL;
9054 }
9055
9056
9057 SWIGINTERN PyObject *_wrap_StatusBar_SetMinHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9058 PyObject *resultobj = 0;
9059 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9060 int arg2 ;
9061 void *argp1 = 0 ;
9062 int res1 = 0 ;
9063 int val2 ;
9064 int ecode2 = 0 ;
9065 PyObject * obj0 = 0 ;
9066 PyObject * obj1 = 0 ;
9067 char * kwnames[] = {
9068 (char *) "self",(char *) "height", NULL
9069 };
9070
9071 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) SWIG_fail;
9072 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9073 if (!SWIG_IsOK(res1)) {
9074 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9075 }
9076 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9077 ecode2 = SWIG_AsVal_int(obj1, &val2);
9078 if (!SWIG_IsOK(ecode2)) {
9079 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9080 }
9081 arg2 = static_cast< int >(val2);
9082 {
9083 PyThreadState* __tstate = wxPyBeginAllowThreads();
9084 (arg1)->SetMinHeight(arg2);
9085 wxPyEndAllowThreads(__tstate);
9086 if (PyErr_Occurred()) SWIG_fail;
9087 }
9088 resultobj = SWIG_Py_Void();
9089 return resultobj;
9090 fail:
9091 return NULL;
9092 }
9093
9094
9095 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9096 PyObject *resultobj = 0;
9097 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9098 int result;
9099 void *argp1 = 0 ;
9100 int res1 = 0 ;
9101 PyObject *swig_obj[1] ;
9102
9103 if (!args) SWIG_fail;
9104 swig_obj[0] = args;
9105 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9106 if (!SWIG_IsOK(res1)) {
9107 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9108 }
9109 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9110 {
9111 PyThreadState* __tstate = wxPyBeginAllowThreads();
9112 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
9113 wxPyEndAllowThreads(__tstate);
9114 if (PyErr_Occurred()) SWIG_fail;
9115 }
9116 resultobj = SWIG_From_int(static_cast< int >(result));
9117 return resultobj;
9118 fail:
9119 return NULL;
9120 }
9121
9122
9123 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9124 PyObject *resultobj = 0;
9125 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9126 int result;
9127 void *argp1 = 0 ;
9128 int res1 = 0 ;
9129 PyObject *swig_obj[1] ;
9130
9131 if (!args) SWIG_fail;
9132 swig_obj[0] = args;
9133 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9134 if (!SWIG_IsOK(res1)) {
9135 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9136 }
9137 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9138 {
9139 PyThreadState* __tstate = wxPyBeginAllowThreads();
9140 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
9141 wxPyEndAllowThreads(__tstate);
9142 if (PyErr_Occurred()) SWIG_fail;
9143 }
9144 resultobj = SWIG_From_int(static_cast< int >(result));
9145 return resultobj;
9146 fail:
9147 return NULL;
9148 }
9149
9150
9151 SWIGINTERN PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9152 PyObject *resultobj = 0;
9153 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
9154 SwigValueWrapper<wxVisualAttributes > result;
9155 int val1 ;
9156 int ecode1 = 0 ;
9157 PyObject * obj0 = 0 ;
9158 char * kwnames[] = {
9159 (char *) "variant", NULL
9160 };
9161
9162 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
9163 if (obj0) {
9164 ecode1 = SWIG_AsVal_int(obj0, &val1);
9165 if (!SWIG_IsOK(ecode1)) {
9166 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9167 }
9168 arg1 = static_cast< wxWindowVariant >(val1);
9169 }
9170 {
9171 if (!wxPyCheckForApp()) SWIG_fail;
9172 PyThreadState* __tstate = wxPyBeginAllowThreads();
9173 result = wxStatusBar::GetClassDefaultAttributes(arg1);
9174 wxPyEndAllowThreads(__tstate);
9175 if (PyErr_Occurred()) SWIG_fail;
9176 }
9177 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
9178 return resultobj;
9179 fail:
9180 return NULL;
9181 }
9182
9183
9184 SWIGINTERN PyObject *StatusBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9185 PyObject *obj;
9186 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9187 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar, SWIG_NewClientData(obj));
9188 return SWIG_Py_Void();
9189 }
9190
9191 SWIGINTERN PyObject *StatusBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9192 return SWIG_Python_InitShadowInstance(args);
9193 }
9194
9195 SWIGINTERN int SplitterNameStr_set(PyObject *) {
9196 SWIG_Error(SWIG_AttributeError,"Variable SplitterNameStr is read-only.");
9197 return 1;
9198 }
9199
9200
9201 SWIGINTERN PyObject *SplitterNameStr_get(void) {
9202 PyObject *pyobj = 0;
9203
9204 {
9205 #if wxUSE_UNICODE
9206 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9207 #else
9208 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9209 #endif
9210 }
9211 return pyobj;
9212 }
9213
9214
9215 SWIGINTERN PyObject *_wrap_new_SplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9216 PyObject *resultobj = 0;
9217 wxWindow *arg1 = (wxWindow *) 0 ;
9218 int arg2 = (int) -1 ;
9219 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9220 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9221 wxSize const &arg4_defvalue = wxDefaultSize ;
9222 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9223 long arg5 = (long) wxSP_3D ;
9224 wxString const &arg6_defvalue = wxPySplitterNameStr ;
9225 wxString *arg6 = (wxString *) &arg6_defvalue ;
9226 wxSplitterWindow *result = 0 ;
9227 void *argp1 = 0 ;
9228 int res1 = 0 ;
9229 int val2 ;
9230 int ecode2 = 0 ;
9231 wxPoint temp3 ;
9232 wxSize temp4 ;
9233 long val5 ;
9234 int ecode5 = 0 ;
9235 bool temp6 = false ;
9236 PyObject * obj0 = 0 ;
9237 PyObject * obj1 = 0 ;
9238 PyObject * obj2 = 0 ;
9239 PyObject * obj3 = 0 ;
9240 PyObject * obj4 = 0 ;
9241 PyObject * obj5 = 0 ;
9242 char * kwnames[] = {
9243 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9244 };
9245
9246 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9247 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
9248 if (!SWIG_IsOK(res1)) {
9249 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9250 }
9251 arg1 = reinterpret_cast< wxWindow * >(argp1);
9252 if (obj1) {
9253 ecode2 = SWIG_AsVal_int(obj1, &val2);
9254 if (!SWIG_IsOK(ecode2)) {
9255 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9256 }
9257 arg2 = static_cast< int >(val2);
9258 }
9259 if (obj2) {
9260 {
9261 arg3 = &temp3;
9262 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9263 }
9264 }
9265 if (obj3) {
9266 {
9267 arg4 = &temp4;
9268 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9269 }
9270 }
9271 if (obj4) {
9272 ecode5 = SWIG_AsVal_long(obj4, &val5);
9273 if (!SWIG_IsOK(ecode5)) {
9274 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9275 }
9276 arg5 = static_cast< long >(val5);
9277 }
9278 if (obj5) {
9279 {
9280 arg6 = wxString_in_helper(obj5);
9281 if (arg6 == NULL) SWIG_fail;
9282 temp6 = true;
9283 }
9284 }
9285 {
9286 if (!wxPyCheckForApp()) SWIG_fail;
9287 PyThreadState* __tstate = wxPyBeginAllowThreads();
9288 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9289 wxPyEndAllowThreads(__tstate);
9290 if (PyErr_Occurred()) SWIG_fail;
9291 }
9292 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_NEW | 0 );
9293 {
9294 if (temp6)
9295 delete arg6;
9296 }
9297 return resultobj;
9298 fail:
9299 {
9300 if (temp6)
9301 delete arg6;
9302 }
9303 return NULL;
9304 }
9305
9306
9307 SWIGINTERN PyObject *_wrap_new_PreSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9308 PyObject *resultobj = 0;
9309 wxSplitterWindow *result = 0 ;
9310
9311 if (!SWIG_Python_UnpackTuple(args,"new_PreSplitterWindow",0,0,0)) SWIG_fail;
9312 {
9313 if (!wxPyCheckForApp()) SWIG_fail;
9314 PyThreadState* __tstate = wxPyBeginAllowThreads();
9315 result = (wxSplitterWindow *)new wxSplitterWindow();
9316 wxPyEndAllowThreads(__tstate);
9317 if (PyErr_Occurred()) SWIG_fail;
9318 }
9319 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_OWN | 0 );
9320 return resultobj;
9321 fail:
9322 return NULL;
9323 }
9324
9325
9326 SWIGINTERN PyObject *_wrap_SplitterWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9327 PyObject *resultobj = 0;
9328 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9329 wxWindow *arg2 = (wxWindow *) 0 ;
9330 int arg3 = (int) -1 ;
9331 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9332 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9333 wxSize const &arg5_defvalue = wxDefaultSize ;
9334 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9335 long arg6 = (long) wxSP_3D ;
9336 wxString const &arg7_defvalue = wxPySplitterNameStr ;
9337 wxString *arg7 = (wxString *) &arg7_defvalue ;
9338 bool result;
9339 void *argp1 = 0 ;
9340 int res1 = 0 ;
9341 void *argp2 = 0 ;
9342 int res2 = 0 ;
9343 int val3 ;
9344 int ecode3 = 0 ;
9345 wxPoint temp4 ;
9346 wxSize temp5 ;
9347 long val6 ;
9348 int ecode6 = 0 ;
9349 bool temp7 = false ;
9350 PyObject * obj0 = 0 ;
9351 PyObject * obj1 = 0 ;
9352 PyObject * obj2 = 0 ;
9353 PyObject * obj3 = 0 ;
9354 PyObject * obj4 = 0 ;
9355 PyObject * obj5 = 0 ;
9356 PyObject * obj6 = 0 ;
9357 char * kwnames[] = {
9358 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9359 };
9360
9361 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9362 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9363 if (!SWIG_IsOK(res1)) {
9364 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9365 }
9366 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9367 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9368 if (!SWIG_IsOK(res2)) {
9369 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9370 }
9371 arg2 = reinterpret_cast< wxWindow * >(argp2);
9372 if (obj2) {
9373 ecode3 = SWIG_AsVal_int(obj2, &val3);
9374 if (!SWIG_IsOK(ecode3)) {
9375 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9376 }
9377 arg3 = static_cast< int >(val3);
9378 }
9379 if (obj3) {
9380 {
9381 arg4 = &temp4;
9382 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9383 }
9384 }
9385 if (obj4) {
9386 {
9387 arg5 = &temp5;
9388 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9389 }
9390 }
9391 if (obj5) {
9392 ecode6 = SWIG_AsVal_long(obj5, &val6);
9393 if (!SWIG_IsOK(ecode6)) {
9394 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9395 }
9396 arg6 = static_cast< long >(val6);
9397 }
9398 if (obj6) {
9399 {
9400 arg7 = wxString_in_helper(obj6);
9401 if (arg7 == NULL) SWIG_fail;
9402 temp7 = true;
9403 }
9404 }
9405 {
9406 PyThreadState* __tstate = wxPyBeginAllowThreads();
9407 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9408 wxPyEndAllowThreads(__tstate);
9409 if (PyErr_Occurred()) SWIG_fail;
9410 }
9411 {
9412 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9413 }
9414 {
9415 if (temp7)
9416 delete arg7;
9417 }
9418 return resultobj;
9419 fail:
9420 {
9421 if (temp7)
9422 delete arg7;
9423 }
9424 return NULL;
9425 }
9426
9427
9428 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9429 PyObject *resultobj = 0;
9430 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9431 wxWindow *result = 0 ;
9432 void *argp1 = 0 ;
9433 int res1 = 0 ;
9434 PyObject *swig_obj[1] ;
9435
9436 if (!args) SWIG_fail;
9437 swig_obj[0] = args;
9438 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9439 if (!SWIG_IsOK(res1)) {
9440 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9441 }
9442 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9443 {
9444 PyThreadState* __tstate = wxPyBeginAllowThreads();
9445 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
9446 wxPyEndAllowThreads(__tstate);
9447 if (PyErr_Occurred()) SWIG_fail;
9448 }
9449 {
9450 resultobj = wxPyMake_wxObject(result, 0);
9451 }
9452 return resultobj;
9453 fail:
9454 return NULL;
9455 }
9456
9457
9458 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9459 PyObject *resultobj = 0;
9460 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9461 wxWindow *result = 0 ;
9462 void *argp1 = 0 ;
9463 int res1 = 0 ;
9464 PyObject *swig_obj[1] ;
9465
9466 if (!args) SWIG_fail;
9467 swig_obj[0] = args;
9468 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9469 if (!SWIG_IsOK(res1)) {
9470 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9471 }
9472 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9473 {
9474 PyThreadState* __tstate = wxPyBeginAllowThreads();
9475 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
9476 wxPyEndAllowThreads(__tstate);
9477 if (PyErr_Occurred()) SWIG_fail;
9478 }
9479 {
9480 resultobj = wxPyMake_wxObject(result, 0);
9481 }
9482 return resultobj;
9483 fail:
9484 return NULL;
9485 }
9486
9487
9488 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9489 PyObject *resultobj = 0;
9490 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9491 int arg2 ;
9492 void *argp1 = 0 ;
9493 int res1 = 0 ;
9494 int val2 ;
9495 int ecode2 = 0 ;
9496 PyObject * obj0 = 0 ;
9497 PyObject * obj1 = 0 ;
9498 char * kwnames[] = {
9499 (char *) "self",(char *) "mode", NULL
9500 };
9501
9502 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) SWIG_fail;
9503 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9504 if (!SWIG_IsOK(res1)) {
9505 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9506 }
9507 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9508 ecode2 = SWIG_AsVal_int(obj1, &val2);
9509 if (!SWIG_IsOK(ecode2)) {
9510 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9511 }
9512 arg2 = static_cast< int >(val2);
9513 {
9514 PyThreadState* __tstate = wxPyBeginAllowThreads();
9515 (arg1)->SetSplitMode(arg2);
9516 wxPyEndAllowThreads(__tstate);
9517 if (PyErr_Occurred()) SWIG_fail;
9518 }
9519 resultobj = SWIG_Py_Void();
9520 return resultobj;
9521 fail:
9522 return NULL;
9523 }
9524
9525
9526 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9527 PyObject *resultobj = 0;
9528 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9529 wxSplitMode result;
9530 void *argp1 = 0 ;
9531 int res1 = 0 ;
9532 PyObject *swig_obj[1] ;
9533
9534 if (!args) SWIG_fail;
9535 swig_obj[0] = args;
9536 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9537 if (!SWIG_IsOK(res1)) {
9538 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9539 }
9540 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9541 {
9542 PyThreadState* __tstate = wxPyBeginAllowThreads();
9543 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
9544 wxPyEndAllowThreads(__tstate);
9545 if (PyErr_Occurred()) SWIG_fail;
9546 }
9547 resultobj = SWIG_From_int(static_cast< int >(result));
9548 return resultobj;
9549 fail:
9550 return NULL;
9551 }
9552
9553
9554 SWIGINTERN PyObject *_wrap_SplitterWindow_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9555 PyObject *resultobj = 0;
9556 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9557 wxWindow *arg2 = (wxWindow *) 0 ;
9558 void *argp1 = 0 ;
9559 int res1 = 0 ;
9560 void *argp2 = 0 ;
9561 int res2 = 0 ;
9562 PyObject * obj0 = 0 ;
9563 PyObject * obj1 = 0 ;
9564 char * kwnames[] = {
9565 (char *) "self",(char *) "window", NULL
9566 };
9567
9568 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) SWIG_fail;
9569 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9570 if (!SWIG_IsOK(res1)) {
9571 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9572 }
9573 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9574 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9575 if (!SWIG_IsOK(res2)) {
9576 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9577 }
9578 arg2 = reinterpret_cast< wxWindow * >(argp2);
9579 {
9580 PyThreadState* __tstate = wxPyBeginAllowThreads();
9581 (arg1)->Initialize(arg2);
9582 wxPyEndAllowThreads(__tstate);
9583 if (PyErr_Occurred()) SWIG_fail;
9584 }
9585 resultobj = SWIG_Py_Void();
9586 return resultobj;
9587 fail:
9588 return NULL;
9589 }
9590
9591
9592 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9593 PyObject *resultobj = 0;
9594 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9595 wxWindow *arg2 = (wxWindow *) 0 ;
9596 wxWindow *arg3 = (wxWindow *) 0 ;
9597 int arg4 = (int) 0 ;
9598 bool result;
9599 void *argp1 = 0 ;
9600 int res1 = 0 ;
9601 void *argp2 = 0 ;
9602 int res2 = 0 ;
9603 void *argp3 = 0 ;
9604 int res3 = 0 ;
9605 int val4 ;
9606 int ecode4 = 0 ;
9607 PyObject * obj0 = 0 ;
9608 PyObject * obj1 = 0 ;
9609 PyObject * obj2 = 0 ;
9610 PyObject * obj3 = 0 ;
9611 char * kwnames[] = {
9612 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9613 };
9614
9615 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9616 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9617 if (!SWIG_IsOK(res1)) {
9618 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9619 }
9620 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9621 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9622 if (!SWIG_IsOK(res2)) {
9623 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9624 }
9625 arg2 = reinterpret_cast< wxWindow * >(argp2);
9626 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9627 if (!SWIG_IsOK(res3)) {
9628 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9629 }
9630 arg3 = reinterpret_cast< wxWindow * >(argp3);
9631 if (obj3) {
9632 ecode4 = SWIG_AsVal_int(obj3, &val4);
9633 if (!SWIG_IsOK(ecode4)) {
9634 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9635 }
9636 arg4 = static_cast< int >(val4);
9637 }
9638 {
9639 PyThreadState* __tstate = wxPyBeginAllowThreads();
9640 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
9641 wxPyEndAllowThreads(__tstate);
9642 if (PyErr_Occurred()) SWIG_fail;
9643 }
9644 {
9645 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9646 }
9647 return resultobj;
9648 fail:
9649 return NULL;
9650 }
9651
9652
9653 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9654 PyObject *resultobj = 0;
9655 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9656 wxWindow *arg2 = (wxWindow *) 0 ;
9657 wxWindow *arg3 = (wxWindow *) 0 ;
9658 int arg4 = (int) 0 ;
9659 bool result;
9660 void *argp1 = 0 ;
9661 int res1 = 0 ;
9662 void *argp2 = 0 ;
9663 int res2 = 0 ;
9664 void *argp3 = 0 ;
9665 int res3 = 0 ;
9666 int val4 ;
9667 int ecode4 = 0 ;
9668 PyObject * obj0 = 0 ;
9669 PyObject * obj1 = 0 ;
9670 PyObject * obj2 = 0 ;
9671 PyObject * obj3 = 0 ;
9672 char * kwnames[] = {
9673 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9674 };
9675
9676 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9677 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9678 if (!SWIG_IsOK(res1)) {
9679 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9680 }
9681 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9682 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9683 if (!SWIG_IsOK(res2)) {
9684 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9685 }
9686 arg2 = reinterpret_cast< wxWindow * >(argp2);
9687 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9688 if (!SWIG_IsOK(res3)) {
9689 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9690 }
9691 arg3 = reinterpret_cast< wxWindow * >(argp3);
9692 if (obj3) {
9693 ecode4 = SWIG_AsVal_int(obj3, &val4);
9694 if (!SWIG_IsOK(ecode4)) {
9695 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9696 }
9697 arg4 = static_cast< int >(val4);
9698 }
9699 {
9700 PyThreadState* __tstate = wxPyBeginAllowThreads();
9701 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
9702 wxPyEndAllowThreads(__tstate);
9703 if (PyErr_Occurred()) SWIG_fail;
9704 }
9705 {
9706 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9707 }
9708 return resultobj;
9709 fail:
9710 return NULL;
9711 }
9712
9713
9714 SWIGINTERN PyObject *_wrap_SplitterWindow_Unsplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9715 PyObject *resultobj = 0;
9716 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9717 wxWindow *arg2 = (wxWindow *) NULL ;
9718 bool result;
9719 void *argp1 = 0 ;
9720 int res1 = 0 ;
9721 void *argp2 = 0 ;
9722 int res2 = 0 ;
9723 PyObject * obj0 = 0 ;
9724 PyObject * obj1 = 0 ;
9725 char * kwnames[] = {
9726 (char *) "self",(char *) "toRemove", NULL
9727 };
9728
9729 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) SWIG_fail;
9730 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9731 if (!SWIG_IsOK(res1)) {
9732 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9733 }
9734 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9735 if (obj1) {
9736 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9737 if (!SWIG_IsOK(res2)) {
9738 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9739 }
9740 arg2 = reinterpret_cast< wxWindow * >(argp2);
9741 }
9742 {
9743 PyThreadState* __tstate = wxPyBeginAllowThreads();
9744 result = (bool)(arg1)->Unsplit(arg2);
9745 wxPyEndAllowThreads(__tstate);
9746 if (PyErr_Occurred()) SWIG_fail;
9747 }
9748 {
9749 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9750 }
9751 return resultobj;
9752 fail:
9753 return NULL;
9754 }
9755
9756
9757 SWIGINTERN PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9758 PyObject *resultobj = 0;
9759 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9760 wxWindow *arg2 = (wxWindow *) 0 ;
9761 wxWindow *arg3 = (wxWindow *) 0 ;
9762 bool result;
9763 void *argp1 = 0 ;
9764 int res1 = 0 ;
9765 void *argp2 = 0 ;
9766 int res2 = 0 ;
9767 void *argp3 = 0 ;
9768 int res3 = 0 ;
9769 PyObject * obj0 = 0 ;
9770 PyObject * obj1 = 0 ;
9771 PyObject * obj2 = 0 ;
9772 char * kwnames[] = {
9773 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9774 };
9775
9776 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9777 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9778 if (!SWIG_IsOK(res1)) {
9779 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9780 }
9781 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9782 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9783 if (!SWIG_IsOK(res2)) {
9784 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
9785 }
9786 arg2 = reinterpret_cast< wxWindow * >(argp2);
9787 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9788 if (!SWIG_IsOK(res3)) {
9789 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
9790 }
9791 arg3 = reinterpret_cast< wxWindow * >(argp3);
9792 {
9793 PyThreadState* __tstate = wxPyBeginAllowThreads();
9794 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
9795 wxPyEndAllowThreads(__tstate);
9796 if (PyErr_Occurred()) SWIG_fail;
9797 }
9798 {
9799 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9800 }
9801 return resultobj;
9802 fail:
9803 return NULL;
9804 }
9805
9806
9807 SWIGINTERN PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9808 PyObject *resultobj = 0;
9809 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9810 void *argp1 = 0 ;
9811 int res1 = 0 ;
9812 PyObject *swig_obj[1] ;
9813
9814 if (!args) SWIG_fail;
9815 swig_obj[0] = args;
9816 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9817 if (!SWIG_IsOK(res1)) {
9818 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9819 }
9820 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9821 {
9822 PyThreadState* __tstate = wxPyBeginAllowThreads();
9823 (arg1)->UpdateSize();
9824 wxPyEndAllowThreads(__tstate);
9825 if (PyErr_Occurred()) SWIG_fail;
9826 }
9827 resultobj = SWIG_Py_Void();
9828 return resultobj;
9829 fail:
9830 return NULL;
9831 }
9832
9833
9834 SWIGINTERN PyObject *_wrap_SplitterWindow_IsSplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9835 PyObject *resultobj = 0;
9836 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9837 bool result;
9838 void *argp1 = 0 ;
9839 int res1 = 0 ;
9840 PyObject *swig_obj[1] ;
9841
9842 if (!args) SWIG_fail;
9843 swig_obj[0] = args;
9844 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9845 if (!SWIG_IsOK(res1)) {
9846 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9847 }
9848 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9849 {
9850 PyThreadState* __tstate = wxPyBeginAllowThreads();
9851 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
9852 wxPyEndAllowThreads(__tstate);
9853 if (PyErr_Occurred()) SWIG_fail;
9854 }
9855 {
9856 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9857 }
9858 return resultobj;
9859 fail:
9860 return NULL;
9861 }
9862
9863
9864 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9865 PyObject *resultobj = 0;
9866 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9867 int arg2 ;
9868 void *argp1 = 0 ;
9869 int res1 = 0 ;
9870 int val2 ;
9871 int ecode2 = 0 ;
9872 PyObject * obj0 = 0 ;
9873 PyObject * obj1 = 0 ;
9874 char * kwnames[] = {
9875 (char *) "self",(char *) "width", NULL
9876 };
9877
9878 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) SWIG_fail;
9879 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9880 if (!SWIG_IsOK(res1)) {
9881 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9882 }
9883 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9884 ecode2 = SWIG_AsVal_int(obj1, &val2);
9885 if (!SWIG_IsOK(ecode2)) {
9886 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
9887 }
9888 arg2 = static_cast< int >(val2);
9889 {
9890 PyThreadState* __tstate = wxPyBeginAllowThreads();
9891 (arg1)->SetSashSize(arg2);
9892 wxPyEndAllowThreads(__tstate);
9893 if (PyErr_Occurred()) SWIG_fail;
9894 }
9895 resultobj = SWIG_Py_Void();
9896 return resultobj;
9897 fail:
9898 return NULL;
9899 }
9900
9901
9902 SWIGINTERN PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9903 PyObject *resultobj = 0;
9904 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9905 int arg2 ;
9906 void *argp1 = 0 ;
9907 int res1 = 0 ;
9908 int val2 ;
9909 int ecode2 = 0 ;
9910 PyObject * obj0 = 0 ;
9911 PyObject * obj1 = 0 ;
9912 char * kwnames[] = {
9913 (char *) "self",(char *) "width", NULL
9914 };
9915
9916 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
9917 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9918 if (!SWIG_IsOK(res1)) {
9919 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9920 }
9921 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9922 ecode2 = SWIG_AsVal_int(obj1, &val2);
9923 if (!SWIG_IsOK(ecode2)) {
9924 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
9925 }
9926 arg2 = static_cast< int >(val2);
9927 {
9928 PyThreadState* __tstate = wxPyBeginAllowThreads();
9929 (arg1)->SetBorderSize(arg2);
9930 wxPyEndAllowThreads(__tstate);
9931 if (PyErr_Occurred()) SWIG_fail;
9932 }
9933 resultobj = SWIG_Py_Void();
9934 return resultobj;
9935 fail:
9936 return NULL;
9937 }
9938
9939
9940 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9941 PyObject *resultobj = 0;
9942 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9943 int result;
9944 void *argp1 = 0 ;
9945 int res1 = 0 ;
9946 PyObject *swig_obj[1] ;
9947
9948 if (!args) SWIG_fail;
9949 swig_obj[0] = args;
9950 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9951 if (!SWIG_IsOK(res1)) {
9952 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9953 }
9954 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9955 {
9956 PyThreadState* __tstate = wxPyBeginAllowThreads();
9957 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
9958 wxPyEndAllowThreads(__tstate);
9959 if (PyErr_Occurred()) SWIG_fail;
9960 }
9961 resultobj = SWIG_From_int(static_cast< int >(result));
9962 return resultobj;
9963 fail:
9964 return NULL;
9965 }
9966
9967
9968 SWIGINTERN PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9969 PyObject *resultobj = 0;
9970 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9971 int result;
9972 void *argp1 = 0 ;
9973 int res1 = 0 ;
9974 PyObject *swig_obj[1] ;
9975
9976 if (!args) SWIG_fail;
9977 swig_obj[0] = args;
9978 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9979 if (!SWIG_IsOK(res1)) {
9980 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9981 }
9982 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9983 {
9984 PyThreadState* __tstate = wxPyBeginAllowThreads();
9985 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
9986 wxPyEndAllowThreads(__tstate);
9987 if (PyErr_Occurred()) SWIG_fail;
9988 }
9989 resultobj = SWIG_From_int(static_cast< int >(result));
9990 return resultobj;
9991 fail:
9992 return NULL;
9993 }
9994
9995
9996 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9997 PyObject *resultobj = 0;
9998 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9999 int arg2 ;
10000 bool arg3 = (bool) true ;
10001 void *argp1 = 0 ;
10002 int res1 = 0 ;
10003 int val2 ;
10004 int ecode2 = 0 ;
10005 bool val3 ;
10006 int ecode3 = 0 ;
10007 PyObject * obj0 = 0 ;
10008 PyObject * obj1 = 0 ;
10009 PyObject * obj2 = 0 ;
10010 char * kwnames[] = {
10011 (char *) "self",(char *) "position",(char *) "redraw", NULL
10012 };
10013
10014 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10015 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10016 if (!SWIG_IsOK(res1)) {
10017 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10018 }
10019 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10020 ecode2 = SWIG_AsVal_int(obj1, &val2);
10021 if (!SWIG_IsOK(ecode2)) {
10022 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10023 }
10024 arg2 = static_cast< int >(val2);
10025 if (obj2) {
10026 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10027 if (!SWIG_IsOK(ecode3)) {
10028 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10029 }
10030 arg3 = static_cast< bool >(val3);
10031 }
10032 {
10033 PyThreadState* __tstate = wxPyBeginAllowThreads();
10034 (arg1)->SetSashPosition(arg2,arg3);
10035 wxPyEndAllowThreads(__tstate);
10036 if (PyErr_Occurred()) SWIG_fail;
10037 }
10038 resultobj = SWIG_Py_Void();
10039 return resultobj;
10040 fail:
10041 return NULL;
10042 }
10043
10044
10045 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10046 PyObject *resultobj = 0;
10047 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10048 int result;
10049 void *argp1 = 0 ;
10050 int res1 = 0 ;
10051 PyObject *swig_obj[1] ;
10052
10053 if (!args) SWIG_fail;
10054 swig_obj[0] = args;
10055 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10056 if (!SWIG_IsOK(res1)) {
10057 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10058 }
10059 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10060 {
10061 PyThreadState* __tstate = wxPyBeginAllowThreads();
10062 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
10063 wxPyEndAllowThreads(__tstate);
10064 if (PyErr_Occurred()) SWIG_fail;
10065 }
10066 resultobj = SWIG_From_int(static_cast< int >(result));
10067 return resultobj;
10068 fail:
10069 return NULL;
10070 }
10071
10072
10073 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10074 PyObject *resultobj = 0;
10075 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10076 double arg2 ;
10077 void *argp1 = 0 ;
10078 int res1 = 0 ;
10079 double val2 ;
10080 int ecode2 = 0 ;
10081 PyObject * obj0 = 0 ;
10082 PyObject * obj1 = 0 ;
10083 char * kwnames[] = {
10084 (char *) "self",(char *) "gravity", NULL
10085 };
10086
10087 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) SWIG_fail;
10088 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10089 if (!SWIG_IsOK(res1)) {
10090 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10091 }
10092 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10093 ecode2 = SWIG_AsVal_double(obj1, &val2);
10094 if (!SWIG_IsOK(ecode2)) {
10095 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10096 }
10097 arg2 = static_cast< double >(val2);
10098 {
10099 PyThreadState* __tstate = wxPyBeginAllowThreads();
10100 (arg1)->SetSashGravity(arg2);
10101 wxPyEndAllowThreads(__tstate);
10102 if (PyErr_Occurred()) SWIG_fail;
10103 }
10104 resultobj = SWIG_Py_Void();
10105 return resultobj;
10106 fail:
10107 return NULL;
10108 }
10109
10110
10111 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10112 PyObject *resultobj = 0;
10113 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10114 double result;
10115 void *argp1 = 0 ;
10116 int res1 = 0 ;
10117 PyObject *swig_obj[1] ;
10118
10119 if (!args) SWIG_fail;
10120 swig_obj[0] = args;
10121 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10122 if (!SWIG_IsOK(res1)) {
10123 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10124 }
10125 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10126 {
10127 PyThreadState* __tstate = wxPyBeginAllowThreads();
10128 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
10129 wxPyEndAllowThreads(__tstate);
10130 if (PyErr_Occurred()) SWIG_fail;
10131 }
10132 resultobj = SWIG_From_double(static_cast< double >(result));
10133 return resultobj;
10134 fail:
10135 return NULL;
10136 }
10137
10138
10139 SWIGINTERN PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10140 PyObject *resultobj = 0;
10141 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10142 int arg2 ;
10143 void *argp1 = 0 ;
10144 int res1 = 0 ;
10145 int val2 ;
10146 int ecode2 = 0 ;
10147 PyObject * obj0 = 0 ;
10148 PyObject * obj1 = 0 ;
10149 char * kwnames[] = {
10150 (char *) "self",(char *) "min", NULL
10151 };
10152
10153 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) SWIG_fail;
10154 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10155 if (!SWIG_IsOK(res1)) {
10156 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10157 }
10158 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10159 ecode2 = SWIG_AsVal_int(obj1, &val2);
10160 if (!SWIG_IsOK(ecode2)) {
10161 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10162 }
10163 arg2 = static_cast< int >(val2);
10164 {
10165 PyThreadState* __tstate = wxPyBeginAllowThreads();
10166 (arg1)->SetMinimumPaneSize(arg2);
10167 wxPyEndAllowThreads(__tstate);
10168 if (PyErr_Occurred()) SWIG_fail;
10169 }
10170 resultobj = SWIG_Py_Void();
10171 return resultobj;
10172 fail:
10173 return NULL;
10174 }
10175
10176
10177 SWIGINTERN PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10178 PyObject *resultobj = 0;
10179 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10180 int result;
10181 void *argp1 = 0 ;
10182 int res1 = 0 ;
10183 PyObject *swig_obj[1] ;
10184
10185 if (!args) SWIG_fail;
10186 swig_obj[0] = args;
10187 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10188 if (!SWIG_IsOK(res1)) {
10189 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10190 }
10191 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10192 {
10193 PyThreadState* __tstate = wxPyBeginAllowThreads();
10194 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
10195 wxPyEndAllowThreads(__tstate);
10196 if (PyErr_Occurred()) SWIG_fail;
10197 }
10198 resultobj = SWIG_From_int(static_cast< int >(result));
10199 return resultobj;
10200 fail:
10201 return NULL;
10202 }
10203
10204
10205 SWIGINTERN PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10206 PyObject *resultobj = 0;
10207 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10208 int arg2 ;
10209 int arg3 ;
10210 int arg4 = (int) 5 ;
10211 bool result;
10212 void *argp1 = 0 ;
10213 int res1 = 0 ;
10214 int val2 ;
10215 int ecode2 = 0 ;
10216 int val3 ;
10217 int ecode3 = 0 ;
10218 int val4 ;
10219 int ecode4 = 0 ;
10220 PyObject * obj0 = 0 ;
10221 PyObject * obj1 = 0 ;
10222 PyObject * obj2 = 0 ;
10223 PyObject * obj3 = 0 ;
10224 char * kwnames[] = {
10225 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10226 };
10227
10228 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10229 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10230 if (!SWIG_IsOK(res1)) {
10231 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10232 }
10233 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10234 ecode2 = SWIG_AsVal_int(obj1, &val2);
10235 if (!SWIG_IsOK(ecode2)) {
10236 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10237 }
10238 arg2 = static_cast< int >(val2);
10239 ecode3 = SWIG_AsVal_int(obj2, &val3);
10240 if (!SWIG_IsOK(ecode3)) {
10241 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10242 }
10243 arg3 = static_cast< int >(val3);
10244 if (obj3) {
10245 ecode4 = SWIG_AsVal_int(obj3, &val4);
10246 if (!SWIG_IsOK(ecode4)) {
10247 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10248 }
10249 arg4 = static_cast< int >(val4);
10250 }
10251 {
10252 PyThreadState* __tstate = wxPyBeginAllowThreads();
10253 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
10254 wxPyEndAllowThreads(__tstate);
10255 if (PyErr_Occurred()) SWIG_fail;
10256 }
10257 {
10258 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10259 }
10260 return resultobj;
10261 fail:
10262 return NULL;
10263 }
10264
10265
10266 SWIGINTERN PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10267 PyObject *resultobj = 0;
10268 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10269 void *argp1 = 0 ;
10270 int res1 = 0 ;
10271 PyObject *swig_obj[1] ;
10272
10273 if (!args) SWIG_fail;
10274 swig_obj[0] = args;
10275 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10276 if (!SWIG_IsOK(res1)) {
10277 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10278 }
10279 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10280 {
10281 PyThreadState* __tstate = wxPyBeginAllowThreads();
10282 (arg1)->SizeWindows();
10283 wxPyEndAllowThreads(__tstate);
10284 if (PyErr_Occurred()) SWIG_fail;
10285 }
10286 resultobj = SWIG_Py_Void();
10287 return resultobj;
10288 fail:
10289 return NULL;
10290 }
10291
10292
10293 SWIGINTERN PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10294 PyObject *resultobj = 0;
10295 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10296 bool arg2 ;
10297 void *argp1 = 0 ;
10298 int res1 = 0 ;
10299 bool val2 ;
10300 int ecode2 = 0 ;
10301 PyObject * obj0 = 0 ;
10302 PyObject * obj1 = 0 ;
10303 char * kwnames[] = {
10304 (char *) "self",(char *) "needUpdating", NULL
10305 };
10306
10307 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) SWIG_fail;
10308 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10309 if (!SWIG_IsOK(res1)) {
10310 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10311 }
10312 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10313 ecode2 = SWIG_AsVal_bool(obj1, &val2);
10314 if (!SWIG_IsOK(ecode2)) {
10315 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10316 }
10317 arg2 = static_cast< bool >(val2);
10318 {
10319 PyThreadState* __tstate = wxPyBeginAllowThreads();
10320 (arg1)->SetNeedUpdating(arg2);
10321 wxPyEndAllowThreads(__tstate);
10322 if (PyErr_Occurred()) SWIG_fail;
10323 }
10324 resultobj = SWIG_Py_Void();
10325 return resultobj;
10326 fail:
10327 return NULL;
10328 }
10329
10330
10331 SWIGINTERN PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10332 PyObject *resultobj = 0;
10333 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10334 bool result;
10335 void *argp1 = 0 ;
10336 int res1 = 0 ;
10337 PyObject *swig_obj[1] ;
10338
10339 if (!args) SWIG_fail;
10340 swig_obj[0] = args;
10341 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10342 if (!SWIG_IsOK(res1)) {
10343 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10344 }
10345 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10346 {
10347 PyThreadState* __tstate = wxPyBeginAllowThreads();
10348 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
10349 wxPyEndAllowThreads(__tstate);
10350 if (PyErr_Occurred()) SWIG_fail;
10351 }
10352 {
10353 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10354 }
10355 return resultobj;
10356 fail:
10357 return NULL;
10358 }
10359
10360
10361 SWIGINTERN PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10362 PyObject *resultobj = 0;
10363 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
10364 SwigValueWrapper<wxVisualAttributes > result;
10365 int val1 ;
10366 int ecode1 = 0 ;
10367 PyObject * obj0 = 0 ;
10368 char * kwnames[] = {
10369 (char *) "variant", NULL
10370 };
10371
10372 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
10373 if (obj0) {
10374 ecode1 = SWIG_AsVal_int(obj0, &val1);
10375 if (!SWIG_IsOK(ecode1)) {
10376 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10377 }
10378 arg1 = static_cast< wxWindowVariant >(val1);
10379 }
10380 {
10381 if (!wxPyCheckForApp()) SWIG_fail;
10382 PyThreadState* __tstate = wxPyBeginAllowThreads();
10383 result = wxSplitterWindow::GetClassDefaultAttributes(arg1);
10384 wxPyEndAllowThreads(__tstate);
10385 if (PyErr_Occurred()) SWIG_fail;
10386 }
10387 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
10388 return resultobj;
10389 fail:
10390 return NULL;
10391 }
10392
10393
10394 SWIGINTERN PyObject *SplitterWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10395 PyObject *obj;
10396 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10397 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow, SWIG_NewClientData(obj));
10398 return SWIG_Py_Void();
10399 }
10400
10401 SWIGINTERN PyObject *SplitterWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10402 return SWIG_Python_InitShadowInstance(args);
10403 }
10404
10405 SWIGINTERN PyObject *_wrap_new_SplitterEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10406 PyObject *resultobj = 0;
10407 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10408 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
10409 wxSplitterEvent *result = 0 ;
10410 int val1 ;
10411 int ecode1 = 0 ;
10412 void *argp2 = 0 ;
10413 int res2 = 0 ;
10414 PyObject * obj0 = 0 ;
10415 PyObject * obj1 = 0 ;
10416 char * kwnames[] = {
10417 (char *) "type",(char *) "splitter", NULL
10418 };
10419
10420 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) SWIG_fail;
10421 if (obj0) {
10422 ecode1 = SWIG_AsVal_int(obj0, &val1);
10423 if (!SWIG_IsOK(ecode1)) {
10424 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10425 }
10426 arg1 = static_cast< wxEventType >(val1);
10427 }
10428 if (obj1) {
10429 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10430 if (!SWIG_IsOK(res2)) {
10431 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10432 }
10433 arg2 = reinterpret_cast< wxSplitterWindow * >(argp2);
10434 }
10435 {
10436 PyThreadState* __tstate = wxPyBeginAllowThreads();
10437 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
10438 wxPyEndAllowThreads(__tstate);
10439 if (PyErr_Occurred()) SWIG_fail;
10440 }
10441 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_NEW | 0 );
10442 return resultobj;
10443 fail:
10444 return NULL;
10445 }
10446
10447
10448 SWIGINTERN PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10449 PyObject *resultobj = 0;
10450 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10451 int arg2 ;
10452 void *argp1 = 0 ;
10453 int res1 = 0 ;
10454 int val2 ;
10455 int ecode2 = 0 ;
10456 PyObject * obj0 = 0 ;
10457 PyObject * obj1 = 0 ;
10458 char * kwnames[] = {
10459 (char *) "self",(char *) "pos", NULL
10460 };
10461
10462 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) SWIG_fail;
10463 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10464 if (!SWIG_IsOK(res1)) {
10465 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10466 }
10467 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10468 ecode2 = SWIG_AsVal_int(obj1, &val2);
10469 if (!SWIG_IsOK(ecode2)) {
10470 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10471 }
10472 arg2 = static_cast< int >(val2);
10473 {
10474 PyThreadState* __tstate = wxPyBeginAllowThreads();
10475 (arg1)->SetSashPosition(arg2);
10476 wxPyEndAllowThreads(__tstate);
10477 if (PyErr_Occurred()) SWIG_fail;
10478 }
10479 resultobj = SWIG_Py_Void();
10480 return resultobj;
10481 fail:
10482 return NULL;
10483 }
10484
10485
10486 SWIGINTERN PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10487 PyObject *resultobj = 0;
10488 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10489 int result;
10490 void *argp1 = 0 ;
10491 int res1 = 0 ;
10492 PyObject *swig_obj[1] ;
10493
10494 if (!args) SWIG_fail;
10495 swig_obj[0] = args;
10496 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10497 if (!SWIG_IsOK(res1)) {
10498 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10499 }
10500 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10501 {
10502 PyThreadState* __tstate = wxPyBeginAllowThreads();
10503 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
10504 wxPyEndAllowThreads(__tstate);
10505 if (PyErr_Occurred()) SWIG_fail;
10506 }
10507 resultobj = SWIG_From_int(static_cast< int >(result));
10508 return resultobj;
10509 fail:
10510 return NULL;
10511 }
10512
10513
10514 SWIGINTERN PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10515 PyObject *resultobj = 0;
10516 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10517 wxWindow *result = 0 ;
10518 void *argp1 = 0 ;
10519 int res1 = 0 ;
10520 PyObject *swig_obj[1] ;
10521
10522 if (!args) SWIG_fail;
10523 swig_obj[0] = args;
10524 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10525 if (!SWIG_IsOK(res1)) {
10526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10527 }
10528 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10529 {
10530 PyThreadState* __tstate = wxPyBeginAllowThreads();
10531 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
10532 wxPyEndAllowThreads(__tstate);
10533 if (PyErr_Occurred()) SWIG_fail;
10534 }
10535 {
10536 resultobj = wxPyMake_wxObject(result, 0);
10537 }
10538 return resultobj;
10539 fail:
10540 return NULL;
10541 }
10542
10543
10544 SWIGINTERN PyObject *_wrap_SplitterEvent_GetX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10545 PyObject *resultobj = 0;
10546 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10547 int result;
10548 void *argp1 = 0 ;
10549 int res1 = 0 ;
10550 PyObject *swig_obj[1] ;
10551
10552 if (!args) SWIG_fail;
10553 swig_obj[0] = args;
10554 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10555 if (!SWIG_IsOK(res1)) {
10556 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10557 }
10558 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10559 {
10560 PyThreadState* __tstate = wxPyBeginAllowThreads();
10561 result = (int)((wxSplitterEvent const *)arg1)->GetX();
10562 wxPyEndAllowThreads(__tstate);
10563 if (PyErr_Occurred()) SWIG_fail;
10564 }
10565 resultobj = SWIG_From_int(static_cast< int >(result));
10566 return resultobj;
10567 fail:
10568 return NULL;
10569 }
10570
10571
10572 SWIGINTERN PyObject *_wrap_SplitterEvent_GetY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10573 PyObject *resultobj = 0;
10574 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10575 int result;
10576 void *argp1 = 0 ;
10577 int res1 = 0 ;
10578 PyObject *swig_obj[1] ;
10579
10580 if (!args) SWIG_fail;
10581 swig_obj[0] = args;
10582 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10583 if (!SWIG_IsOK(res1)) {
10584 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10585 }
10586 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10587 {
10588 PyThreadState* __tstate = wxPyBeginAllowThreads();
10589 result = (int)((wxSplitterEvent const *)arg1)->GetY();
10590 wxPyEndAllowThreads(__tstate);
10591 if (PyErr_Occurred()) SWIG_fail;
10592 }
10593 resultobj = SWIG_From_int(static_cast< int >(result));
10594 return resultobj;
10595 fail:
10596 return NULL;
10597 }
10598
10599
10600 SWIGINTERN PyObject *SplitterEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10601 PyObject *obj;
10602 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10603 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent, SWIG_NewClientData(obj));
10604 return SWIG_Py_Void();
10605 }
10606
10607 SWIGINTERN PyObject *SplitterEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10608 return SWIG_Python_InitShadowInstance(args);
10609 }
10610
10611 SWIGINTERN int SashNameStr_set(PyObject *) {
10612 SWIG_Error(SWIG_AttributeError,"Variable SashNameStr is read-only.");
10613 return 1;
10614 }
10615
10616
10617 SWIGINTERN PyObject *SashNameStr_get(void) {
10618 PyObject *pyobj = 0;
10619
10620 {
10621 #if wxUSE_UNICODE
10622 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10623 #else
10624 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10625 #endif
10626 }
10627 return pyobj;
10628 }
10629
10630
10631 SWIGINTERN int SashLayoutNameStr_set(PyObject *) {
10632 SWIG_Error(SWIG_AttributeError,"Variable SashLayoutNameStr is read-only.");
10633 return 1;
10634 }
10635
10636
10637 SWIGINTERN PyObject *SashLayoutNameStr_get(void) {
10638 PyObject *pyobj = 0;
10639
10640 {
10641 #if wxUSE_UNICODE
10642 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10643 #else
10644 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10645 #endif
10646 }
10647 return pyobj;
10648 }
10649
10650
10651 SWIGINTERN PyObject *_wrap_new_SashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10652 PyObject *resultobj = 0;
10653 wxWindow *arg1 = (wxWindow *) 0 ;
10654 int arg2 = (int) -1 ;
10655 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10656 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10657 wxSize const &arg4_defvalue = wxDefaultSize ;
10658 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10659 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10660 wxString const &arg6_defvalue = wxPySashNameStr ;
10661 wxString *arg6 = (wxString *) &arg6_defvalue ;
10662 wxSashWindow *result = 0 ;
10663 void *argp1 = 0 ;
10664 int res1 = 0 ;
10665 int val2 ;
10666 int ecode2 = 0 ;
10667 wxPoint temp3 ;
10668 wxSize temp4 ;
10669 long val5 ;
10670 int ecode5 = 0 ;
10671 bool temp6 = false ;
10672 PyObject * obj0 = 0 ;
10673 PyObject * obj1 = 0 ;
10674 PyObject * obj2 = 0 ;
10675 PyObject * obj3 = 0 ;
10676 PyObject * obj4 = 0 ;
10677 PyObject * obj5 = 0 ;
10678 char * kwnames[] = {
10679 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10680 };
10681
10682 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
10683 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10684 if (!SWIG_IsOK(res1)) {
10685 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10686 }
10687 arg1 = reinterpret_cast< wxWindow * >(argp1);
10688 if (obj1) {
10689 ecode2 = SWIG_AsVal_int(obj1, &val2);
10690 if (!SWIG_IsOK(ecode2)) {
10691 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10692 }
10693 arg2 = static_cast< int >(val2);
10694 }
10695 if (obj2) {
10696 {
10697 arg3 = &temp3;
10698 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10699 }
10700 }
10701 if (obj3) {
10702 {
10703 arg4 = &temp4;
10704 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10705 }
10706 }
10707 if (obj4) {
10708 ecode5 = SWIG_AsVal_long(obj4, &val5);
10709 if (!SWIG_IsOK(ecode5)) {
10710 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10711 }
10712 arg5 = static_cast< long >(val5);
10713 }
10714 if (obj5) {
10715 {
10716 arg6 = wxString_in_helper(obj5);
10717 if (arg6 == NULL) SWIG_fail;
10718 temp6 = true;
10719 }
10720 }
10721 {
10722 if (!wxPyCheckForApp()) SWIG_fail;
10723 PyThreadState* __tstate = wxPyBeginAllowThreads();
10724 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10725 wxPyEndAllowThreads(__tstate);
10726 if (PyErr_Occurred()) SWIG_fail;
10727 }
10728 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_NEW | 0 );
10729 {
10730 if (temp6)
10731 delete arg6;
10732 }
10733 return resultobj;
10734 fail:
10735 {
10736 if (temp6)
10737 delete arg6;
10738 }
10739 return NULL;
10740 }
10741
10742
10743 SWIGINTERN PyObject *_wrap_new_PreSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10744 PyObject *resultobj = 0;
10745 wxSashWindow *result = 0 ;
10746
10747 if (!SWIG_Python_UnpackTuple(args,"new_PreSashWindow",0,0,0)) SWIG_fail;
10748 {
10749 if (!wxPyCheckForApp()) SWIG_fail;
10750 PyThreadState* __tstate = wxPyBeginAllowThreads();
10751 result = (wxSashWindow *)new wxSashWindow();
10752 wxPyEndAllowThreads(__tstate);
10753 if (PyErr_Occurred()) SWIG_fail;
10754 }
10755 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_OWN | 0 );
10756 return resultobj;
10757 fail:
10758 return NULL;
10759 }
10760
10761
10762 SWIGINTERN PyObject *_wrap_SashWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10763 PyObject *resultobj = 0;
10764 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10765 wxWindow *arg2 = (wxWindow *) 0 ;
10766 int arg3 = (int) -1 ;
10767 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10768 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10769 wxSize const &arg5_defvalue = wxDefaultSize ;
10770 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10771 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10772 wxString const &arg7_defvalue = wxPySashNameStr ;
10773 wxString *arg7 = (wxString *) &arg7_defvalue ;
10774 bool result;
10775 void *argp1 = 0 ;
10776 int res1 = 0 ;
10777 void *argp2 = 0 ;
10778 int res2 = 0 ;
10779 int val3 ;
10780 int ecode3 = 0 ;
10781 wxPoint temp4 ;
10782 wxSize temp5 ;
10783 long val6 ;
10784 int ecode6 = 0 ;
10785 bool temp7 = false ;
10786 PyObject * obj0 = 0 ;
10787 PyObject * obj1 = 0 ;
10788 PyObject * obj2 = 0 ;
10789 PyObject * obj3 = 0 ;
10790 PyObject * obj4 = 0 ;
10791 PyObject * obj5 = 0 ;
10792 PyObject * obj6 = 0 ;
10793 char * kwnames[] = {
10794 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10795 };
10796
10797 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
10798 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10799 if (!SWIG_IsOK(res1)) {
10800 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10801 }
10802 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10803 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10804 if (!SWIG_IsOK(res2)) {
10805 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10806 }
10807 arg2 = reinterpret_cast< wxWindow * >(argp2);
10808 if (obj2) {
10809 ecode3 = SWIG_AsVal_int(obj2, &val3);
10810 if (!SWIG_IsOK(ecode3)) {
10811 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
10812 }
10813 arg3 = static_cast< int >(val3);
10814 }
10815 if (obj3) {
10816 {
10817 arg4 = &temp4;
10818 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10819 }
10820 }
10821 if (obj4) {
10822 {
10823 arg5 = &temp5;
10824 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10825 }
10826 }
10827 if (obj5) {
10828 ecode6 = SWIG_AsVal_long(obj5, &val6);
10829 if (!SWIG_IsOK(ecode6)) {
10830 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
10831 }
10832 arg6 = static_cast< long >(val6);
10833 }
10834 if (obj6) {
10835 {
10836 arg7 = wxString_in_helper(obj6);
10837 if (arg7 == NULL) SWIG_fail;
10838 temp7 = true;
10839 }
10840 }
10841 {
10842 PyThreadState* __tstate = wxPyBeginAllowThreads();
10843 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10844 wxPyEndAllowThreads(__tstate);
10845 if (PyErr_Occurred()) SWIG_fail;
10846 }
10847 {
10848 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10849 }
10850 {
10851 if (temp7)
10852 delete arg7;
10853 }
10854 return resultobj;
10855 fail:
10856 {
10857 if (temp7)
10858 delete arg7;
10859 }
10860 return NULL;
10861 }
10862
10863
10864 SWIGINTERN PyObject *_wrap_SashWindow_SetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10865 PyObject *resultobj = 0;
10866 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10867 wxSashEdgePosition arg2 ;
10868 bool arg3 ;
10869 void *argp1 = 0 ;
10870 int res1 = 0 ;
10871 int val2 ;
10872 int ecode2 = 0 ;
10873 bool val3 ;
10874 int ecode3 = 0 ;
10875 PyObject * obj0 = 0 ;
10876 PyObject * obj1 = 0 ;
10877 PyObject * obj2 = 0 ;
10878 char * kwnames[] = {
10879 (char *) "self",(char *) "edge",(char *) "sash", NULL
10880 };
10881
10882 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10883 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10884 if (!SWIG_IsOK(res1)) {
10885 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10886 }
10887 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10888 ecode2 = SWIG_AsVal_int(obj1, &val2);
10889 if (!SWIG_IsOK(ecode2)) {
10890 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10891 }
10892 arg2 = static_cast< wxSashEdgePosition >(val2);
10893 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10894 if (!SWIG_IsOK(ecode3)) {
10895 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
10896 }
10897 arg3 = static_cast< bool >(val3);
10898 {
10899 PyThreadState* __tstate = wxPyBeginAllowThreads();
10900 (arg1)->SetSashVisible(arg2,arg3);
10901 wxPyEndAllowThreads(__tstate);
10902 if (PyErr_Occurred()) SWIG_fail;
10903 }
10904 resultobj = SWIG_Py_Void();
10905 return resultobj;
10906 fail:
10907 return NULL;
10908 }
10909
10910
10911 SWIGINTERN PyObject *_wrap_SashWindow_GetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10912 PyObject *resultobj = 0;
10913 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10914 wxSashEdgePosition arg2 ;
10915 bool result;
10916 void *argp1 = 0 ;
10917 int res1 = 0 ;
10918 int val2 ;
10919 int ecode2 = 0 ;
10920 PyObject * obj0 = 0 ;
10921 PyObject * obj1 = 0 ;
10922 char * kwnames[] = {
10923 (char *) "self",(char *) "edge", NULL
10924 };
10925
10926 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) SWIG_fail;
10927 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10928 if (!SWIG_IsOK(res1)) {
10929 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
10930 }
10931 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10932 ecode2 = SWIG_AsVal_int(obj1, &val2);
10933 if (!SWIG_IsOK(ecode2)) {
10934 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10935 }
10936 arg2 = static_cast< wxSashEdgePosition >(val2);
10937 {
10938 PyThreadState* __tstate = wxPyBeginAllowThreads();
10939 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible(arg2);
10940 wxPyEndAllowThreads(__tstate);
10941 if (PyErr_Occurred()) SWIG_fail;
10942 }
10943 {
10944 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10945 }
10946 return resultobj;
10947 fail:
10948 return NULL;
10949 }
10950
10951
10952 SWIGINTERN PyObject *_wrap_SashWindow_SetSashBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10953 PyObject *resultobj = 0;
10954 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10955 wxSashEdgePosition arg2 ;
10956 bool arg3 ;
10957 void *argp1 = 0 ;
10958 int res1 = 0 ;
10959 int val2 ;
10960 int ecode2 = 0 ;
10961 bool val3 ;
10962 int ecode3 = 0 ;
10963 PyObject * obj0 = 0 ;
10964 PyObject * obj1 = 0 ;
10965 PyObject * obj2 = 0 ;
10966 char * kwnames[] = {
10967 (char *) "self",(char *) "edge",(char *) "border", NULL
10968 };
10969
10970 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10971 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10972 if (!SWIG_IsOK(res1)) {
10973 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10974 }
10975 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10976 ecode2 = SWIG_AsVal_int(obj1, &val2);
10977 if (!SWIG_IsOK(ecode2)) {
10978 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10979 }
10980 arg2 = static_cast< wxSashEdgePosition >(val2);
10981 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10982 if (!SWIG_IsOK(ecode3)) {
10983 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
10984 }
10985 arg3 = static_cast< bool >(val3);
10986 {
10987 PyThreadState* __tstate = wxPyBeginAllowThreads();
10988 (arg1)->SetSashBorder(arg2,arg3);
10989 wxPyEndAllowThreads(__tstate);
10990 if (PyErr_Occurred()) SWIG_fail;
10991 }
10992 resultobj = SWIG_Py_Void();
10993 return resultobj;
10994 fail:
10995 return NULL;
10996 }
10997
10998
10999 SWIGINTERN PyObject *_wrap_SashWindow_HasBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11000 PyObject *resultobj = 0;
11001 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11002 wxSashEdgePosition arg2 ;
11003 bool result;
11004 void *argp1 = 0 ;
11005 int res1 = 0 ;
11006 int val2 ;
11007 int ecode2 = 0 ;
11008 PyObject * obj0 = 0 ;
11009 PyObject * obj1 = 0 ;
11010 char * kwnames[] = {
11011 (char *) "self",(char *) "edge", NULL
11012 };
11013
11014 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) SWIG_fail;
11015 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11016 if (!SWIG_IsOK(res1)) {
11017 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11018 }
11019 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11020 ecode2 = SWIG_AsVal_int(obj1, &val2);
11021 if (!SWIG_IsOK(ecode2)) {
11022 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11023 }
11024 arg2 = static_cast< wxSashEdgePosition >(val2);
11025 {
11026 PyThreadState* __tstate = wxPyBeginAllowThreads();
11027 result = (bool)((wxSashWindow const *)arg1)->HasBorder(arg2);
11028 wxPyEndAllowThreads(__tstate);
11029 if (PyErr_Occurred()) SWIG_fail;
11030 }
11031 {
11032 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11033 }
11034 return resultobj;
11035 fail:
11036 return NULL;
11037 }
11038
11039
11040 SWIGINTERN PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11041 PyObject *resultobj = 0;
11042 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11043 wxSashEdgePosition arg2 ;
11044 int result;
11045 void *argp1 = 0 ;
11046 int res1 = 0 ;
11047 int val2 ;
11048 int ecode2 = 0 ;
11049 PyObject * obj0 = 0 ;
11050 PyObject * obj1 = 0 ;
11051 char * kwnames[] = {
11052 (char *) "self",(char *) "edge", NULL
11053 };
11054
11055 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) SWIG_fail;
11056 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11057 if (!SWIG_IsOK(res1)) {
11058 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11059 }
11060 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11061 ecode2 = SWIG_AsVal_int(obj1, &val2);
11062 if (!SWIG_IsOK(ecode2)) {
11063 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11064 }
11065 arg2 = static_cast< wxSashEdgePosition >(val2);
11066 {
11067 PyThreadState* __tstate = wxPyBeginAllowThreads();
11068 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin(arg2);
11069 wxPyEndAllowThreads(__tstate);
11070 if (PyErr_Occurred()) SWIG_fail;
11071 }
11072 resultobj = SWIG_From_int(static_cast< int >(result));
11073 return resultobj;
11074 fail:
11075 return NULL;
11076 }
11077
11078
11079 SWIGINTERN PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11080 PyObject *resultobj = 0;
11081 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11082 int arg2 ;
11083 void *argp1 = 0 ;
11084 int res1 = 0 ;
11085 int val2 ;
11086 int ecode2 = 0 ;
11087 PyObject * obj0 = 0 ;
11088 PyObject * obj1 = 0 ;
11089 char * kwnames[] = {
11090 (char *) "self",(char *) "width", NULL
11091 };
11092
11093 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11094 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11095 if (!SWIG_IsOK(res1)) {
11096 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11097 }
11098 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11099 ecode2 = SWIG_AsVal_int(obj1, &val2);
11100 if (!SWIG_IsOK(ecode2)) {
11101 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11102 }
11103 arg2 = static_cast< int >(val2);
11104 {
11105 PyThreadState* __tstate = wxPyBeginAllowThreads();
11106 (arg1)->SetDefaultBorderSize(arg2);
11107 wxPyEndAllowThreads(__tstate);
11108 if (PyErr_Occurred()) SWIG_fail;
11109 }
11110 resultobj = SWIG_Py_Void();
11111 return resultobj;
11112 fail:
11113 return NULL;
11114 }
11115
11116
11117 SWIGINTERN PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11118 PyObject *resultobj = 0;
11119 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11120 int result;
11121 void *argp1 = 0 ;
11122 int res1 = 0 ;
11123 PyObject *swig_obj[1] ;
11124
11125 if (!args) SWIG_fail;
11126 swig_obj[0] = args;
11127 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11128 if (!SWIG_IsOK(res1)) {
11129 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11130 }
11131 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11132 {
11133 PyThreadState* __tstate = wxPyBeginAllowThreads();
11134 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
11135 wxPyEndAllowThreads(__tstate);
11136 if (PyErr_Occurred()) SWIG_fail;
11137 }
11138 resultobj = SWIG_From_int(static_cast< int >(result));
11139 return resultobj;
11140 fail:
11141 return NULL;
11142 }
11143
11144
11145 SWIGINTERN PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11146 PyObject *resultobj = 0;
11147 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11148 int arg2 ;
11149 void *argp1 = 0 ;
11150 int res1 = 0 ;
11151 int val2 ;
11152 int ecode2 = 0 ;
11153 PyObject * obj0 = 0 ;
11154 PyObject * obj1 = 0 ;
11155 char * kwnames[] = {
11156 (char *) "self",(char *) "width", NULL
11157 };
11158
11159 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11160 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11161 if (!SWIG_IsOK(res1)) {
11162 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11163 }
11164 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11165 ecode2 = SWIG_AsVal_int(obj1, &val2);
11166 if (!SWIG_IsOK(ecode2)) {
11167 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11168 }
11169 arg2 = static_cast< int >(val2);
11170 {
11171 PyThreadState* __tstate = wxPyBeginAllowThreads();
11172 (arg1)->SetExtraBorderSize(arg2);
11173 wxPyEndAllowThreads(__tstate);
11174 if (PyErr_Occurred()) SWIG_fail;
11175 }
11176 resultobj = SWIG_Py_Void();
11177 return resultobj;
11178 fail:
11179 return NULL;
11180 }
11181
11182
11183 SWIGINTERN PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11184 PyObject *resultobj = 0;
11185 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11186 int result;
11187 void *argp1 = 0 ;
11188 int res1 = 0 ;
11189 PyObject *swig_obj[1] ;
11190
11191 if (!args) SWIG_fail;
11192 swig_obj[0] = args;
11193 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11194 if (!SWIG_IsOK(res1)) {
11195 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11196 }
11197 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11198 {
11199 PyThreadState* __tstate = wxPyBeginAllowThreads();
11200 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
11201 wxPyEndAllowThreads(__tstate);
11202 if (PyErr_Occurred()) SWIG_fail;
11203 }
11204 resultobj = SWIG_From_int(static_cast< int >(result));
11205 return resultobj;
11206 fail:
11207 return NULL;
11208 }
11209
11210
11211 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11212 PyObject *resultobj = 0;
11213 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11214 int arg2 ;
11215 void *argp1 = 0 ;
11216 int res1 = 0 ;
11217 int val2 ;
11218 int ecode2 = 0 ;
11219 PyObject * obj0 = 0 ;
11220 PyObject * obj1 = 0 ;
11221 char * kwnames[] = {
11222 (char *) "self",(char *) "min", NULL
11223 };
11224
11225 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11226 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11227 if (!SWIG_IsOK(res1)) {
11228 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11229 }
11230 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11231 ecode2 = SWIG_AsVal_int(obj1, &val2);
11232 if (!SWIG_IsOK(ecode2)) {
11233 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11234 }
11235 arg2 = static_cast< int >(val2);
11236 {
11237 PyThreadState* __tstate = wxPyBeginAllowThreads();
11238 (arg1)->SetMinimumSizeX(arg2);
11239 wxPyEndAllowThreads(__tstate);
11240 if (PyErr_Occurred()) SWIG_fail;
11241 }
11242 resultobj = SWIG_Py_Void();
11243 return resultobj;
11244 fail:
11245 return NULL;
11246 }
11247
11248
11249 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11250 PyObject *resultobj = 0;
11251 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11252 int arg2 ;
11253 void *argp1 = 0 ;
11254 int res1 = 0 ;
11255 int val2 ;
11256 int ecode2 = 0 ;
11257 PyObject * obj0 = 0 ;
11258 PyObject * obj1 = 0 ;
11259 char * kwnames[] = {
11260 (char *) "self",(char *) "min", NULL
11261 };
11262
11263 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11264 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11265 if (!SWIG_IsOK(res1)) {
11266 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11267 }
11268 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11269 ecode2 = SWIG_AsVal_int(obj1, &val2);
11270 if (!SWIG_IsOK(ecode2)) {
11271 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11272 }
11273 arg2 = static_cast< int >(val2);
11274 {
11275 PyThreadState* __tstate = wxPyBeginAllowThreads();
11276 (arg1)->SetMinimumSizeY(arg2);
11277 wxPyEndAllowThreads(__tstate);
11278 if (PyErr_Occurred()) SWIG_fail;
11279 }
11280 resultobj = SWIG_Py_Void();
11281 return resultobj;
11282 fail:
11283 return NULL;
11284 }
11285
11286
11287 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11288 PyObject *resultobj = 0;
11289 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11290 int result;
11291 void *argp1 = 0 ;
11292 int res1 = 0 ;
11293 PyObject *swig_obj[1] ;
11294
11295 if (!args) SWIG_fail;
11296 swig_obj[0] = args;
11297 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11298 if (!SWIG_IsOK(res1)) {
11299 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11300 }
11301 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11302 {
11303 PyThreadState* __tstate = wxPyBeginAllowThreads();
11304 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
11305 wxPyEndAllowThreads(__tstate);
11306 if (PyErr_Occurred()) SWIG_fail;
11307 }
11308 resultobj = SWIG_From_int(static_cast< int >(result));
11309 return resultobj;
11310 fail:
11311 return NULL;
11312 }
11313
11314
11315 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11316 PyObject *resultobj = 0;
11317 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11318 int result;
11319 void *argp1 = 0 ;
11320 int res1 = 0 ;
11321 PyObject *swig_obj[1] ;
11322
11323 if (!args) SWIG_fail;
11324 swig_obj[0] = args;
11325 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11326 if (!SWIG_IsOK(res1)) {
11327 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11328 }
11329 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11330 {
11331 PyThreadState* __tstate = wxPyBeginAllowThreads();
11332 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
11333 wxPyEndAllowThreads(__tstate);
11334 if (PyErr_Occurred()) SWIG_fail;
11335 }
11336 resultobj = SWIG_From_int(static_cast< int >(result));
11337 return resultobj;
11338 fail:
11339 return NULL;
11340 }
11341
11342
11343 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11344 PyObject *resultobj = 0;
11345 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11346 int arg2 ;
11347 void *argp1 = 0 ;
11348 int res1 = 0 ;
11349 int val2 ;
11350 int ecode2 = 0 ;
11351 PyObject * obj0 = 0 ;
11352 PyObject * obj1 = 0 ;
11353 char * kwnames[] = {
11354 (char *) "self",(char *) "max", NULL
11355 };
11356
11357 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11358 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11359 if (!SWIG_IsOK(res1)) {
11360 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11361 }
11362 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11363 ecode2 = SWIG_AsVal_int(obj1, &val2);
11364 if (!SWIG_IsOK(ecode2)) {
11365 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11366 }
11367 arg2 = static_cast< int >(val2);
11368 {
11369 PyThreadState* __tstate = wxPyBeginAllowThreads();
11370 (arg1)->SetMaximumSizeX(arg2);
11371 wxPyEndAllowThreads(__tstate);
11372 if (PyErr_Occurred()) SWIG_fail;
11373 }
11374 resultobj = SWIG_Py_Void();
11375 return resultobj;
11376 fail:
11377 return NULL;
11378 }
11379
11380
11381 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11382 PyObject *resultobj = 0;
11383 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11384 int arg2 ;
11385 void *argp1 = 0 ;
11386 int res1 = 0 ;
11387 int val2 ;
11388 int ecode2 = 0 ;
11389 PyObject * obj0 = 0 ;
11390 PyObject * obj1 = 0 ;
11391 char * kwnames[] = {
11392 (char *) "self",(char *) "max", NULL
11393 };
11394
11395 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11396 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11397 if (!SWIG_IsOK(res1)) {
11398 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11399 }
11400 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11401 ecode2 = SWIG_AsVal_int(obj1, &val2);
11402 if (!SWIG_IsOK(ecode2)) {
11403 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11404 }
11405 arg2 = static_cast< int >(val2);
11406 {
11407 PyThreadState* __tstate = wxPyBeginAllowThreads();
11408 (arg1)->SetMaximumSizeY(arg2);
11409 wxPyEndAllowThreads(__tstate);
11410 if (PyErr_Occurred()) SWIG_fail;
11411 }
11412 resultobj = SWIG_Py_Void();
11413 return resultobj;
11414 fail:
11415 return NULL;
11416 }
11417
11418
11419 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11420 PyObject *resultobj = 0;
11421 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11422 int result;
11423 void *argp1 = 0 ;
11424 int res1 = 0 ;
11425 PyObject *swig_obj[1] ;
11426
11427 if (!args) SWIG_fail;
11428 swig_obj[0] = args;
11429 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11430 if (!SWIG_IsOK(res1)) {
11431 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11432 }
11433 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11434 {
11435 PyThreadState* __tstate = wxPyBeginAllowThreads();
11436 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
11437 wxPyEndAllowThreads(__tstate);
11438 if (PyErr_Occurred()) SWIG_fail;
11439 }
11440 resultobj = SWIG_From_int(static_cast< int >(result));
11441 return resultobj;
11442 fail:
11443 return NULL;
11444 }
11445
11446
11447 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11448 PyObject *resultobj = 0;
11449 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11450 int result;
11451 void *argp1 = 0 ;
11452 int res1 = 0 ;
11453 PyObject *swig_obj[1] ;
11454
11455 if (!args) SWIG_fail;
11456 swig_obj[0] = args;
11457 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11458 if (!SWIG_IsOK(res1)) {
11459 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11460 }
11461 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11462 {
11463 PyThreadState* __tstate = wxPyBeginAllowThreads();
11464 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
11465 wxPyEndAllowThreads(__tstate);
11466 if (PyErr_Occurred()) SWIG_fail;
11467 }
11468 resultobj = SWIG_From_int(static_cast< int >(result));
11469 return resultobj;
11470 fail:
11471 return NULL;
11472 }
11473
11474
11475 SWIGINTERN PyObject *_wrap_SashWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11476 PyObject *resultobj = 0;
11477 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11478 int arg2 ;
11479 int arg3 ;
11480 int arg4 = (int) 2 ;
11481 wxSashEdgePosition result;
11482 void *argp1 = 0 ;
11483 int res1 = 0 ;
11484 int val2 ;
11485 int ecode2 = 0 ;
11486 int val3 ;
11487 int ecode3 = 0 ;
11488 int val4 ;
11489 int ecode4 = 0 ;
11490 PyObject * obj0 = 0 ;
11491 PyObject * obj1 = 0 ;
11492 PyObject * obj2 = 0 ;
11493 PyObject * obj3 = 0 ;
11494 char * kwnames[] = {
11495 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11496 };
11497
11498 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11499 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11500 if (!SWIG_IsOK(res1)) {
11501 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11502 }
11503 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11504 ecode2 = SWIG_AsVal_int(obj1, &val2);
11505 if (!SWIG_IsOK(ecode2)) {
11506 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11507 }
11508 arg2 = static_cast< int >(val2);
11509 ecode3 = SWIG_AsVal_int(obj2, &val3);
11510 if (!SWIG_IsOK(ecode3)) {
11511 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11512 }
11513 arg3 = static_cast< int >(val3);
11514 if (obj3) {
11515 ecode4 = SWIG_AsVal_int(obj3, &val4);
11516 if (!SWIG_IsOK(ecode4)) {
11517 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11518 }
11519 arg4 = static_cast< int >(val4);
11520 }
11521 {
11522 PyThreadState* __tstate = wxPyBeginAllowThreads();
11523 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
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_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11535 PyObject *resultobj = 0;
11536 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11537 void *argp1 = 0 ;
11538 int res1 = 0 ;
11539 PyObject *swig_obj[1] ;
11540
11541 if (!args) SWIG_fail;
11542 swig_obj[0] = args;
11543 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11544 if (!SWIG_IsOK(res1)) {
11545 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11546 }
11547 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11548 {
11549 PyThreadState* __tstate = wxPyBeginAllowThreads();
11550 (arg1)->SizeWindows();
11551 wxPyEndAllowThreads(__tstate);
11552 if (PyErr_Occurred()) SWIG_fail;
11553 }
11554 resultobj = SWIG_Py_Void();
11555 return resultobj;
11556 fail:
11557 return NULL;
11558 }
11559
11560
11561 SWIGINTERN PyObject *SashWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11562 PyObject *obj;
11563 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11564 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow, SWIG_NewClientData(obj));
11565 return SWIG_Py_Void();
11566 }
11567
11568 SWIGINTERN PyObject *SashWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11569 return SWIG_Python_InitShadowInstance(args);
11570 }
11571
11572 SWIGINTERN PyObject *_wrap_new_SashEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11573 PyObject *resultobj = 0;
11574 int arg1 = (int) 0 ;
11575 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
11576 wxSashEvent *result = 0 ;
11577 int val1 ;
11578 int ecode1 = 0 ;
11579 int val2 ;
11580 int ecode2 = 0 ;
11581 PyObject * obj0 = 0 ;
11582 PyObject * obj1 = 0 ;
11583 char * kwnames[] = {
11584 (char *) "id",(char *) "edge", NULL
11585 };
11586
11587 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) SWIG_fail;
11588 if (obj0) {
11589 ecode1 = SWIG_AsVal_int(obj0, &val1);
11590 if (!SWIG_IsOK(ecode1)) {
11591 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11592 }
11593 arg1 = static_cast< int >(val1);
11594 }
11595 if (obj1) {
11596 ecode2 = SWIG_AsVal_int(obj1, &val2);
11597 if (!SWIG_IsOK(ecode2)) {
11598 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11599 }
11600 arg2 = static_cast< wxSashEdgePosition >(val2);
11601 }
11602 {
11603 PyThreadState* __tstate = wxPyBeginAllowThreads();
11604 result = (wxSashEvent *)new wxSashEvent(arg1,arg2);
11605 wxPyEndAllowThreads(__tstate);
11606 if (PyErr_Occurred()) SWIG_fail;
11607 }
11608 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashEvent, SWIG_POINTER_NEW | 0 );
11609 return resultobj;
11610 fail:
11611 return NULL;
11612 }
11613
11614
11615 SWIGINTERN PyObject *_wrap_SashEvent_SetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11616 PyObject *resultobj = 0;
11617 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11618 wxSashEdgePosition arg2 ;
11619 void *argp1 = 0 ;
11620 int res1 = 0 ;
11621 int val2 ;
11622 int ecode2 = 0 ;
11623 PyObject * obj0 = 0 ;
11624 PyObject * obj1 = 0 ;
11625 char * kwnames[] = {
11626 (char *) "self",(char *) "edge", NULL
11627 };
11628
11629 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) SWIG_fail;
11630 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11631 if (!SWIG_IsOK(res1)) {
11632 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11633 }
11634 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11635 ecode2 = SWIG_AsVal_int(obj1, &val2);
11636 if (!SWIG_IsOK(ecode2)) {
11637 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11638 }
11639 arg2 = static_cast< wxSashEdgePosition >(val2);
11640 {
11641 PyThreadState* __tstate = wxPyBeginAllowThreads();
11642 (arg1)->SetEdge(arg2);
11643 wxPyEndAllowThreads(__tstate);
11644 if (PyErr_Occurred()) SWIG_fail;
11645 }
11646 resultobj = SWIG_Py_Void();
11647 return resultobj;
11648 fail:
11649 return NULL;
11650 }
11651
11652
11653 SWIGINTERN PyObject *_wrap_SashEvent_GetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11654 PyObject *resultobj = 0;
11655 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11656 wxSashEdgePosition result;
11657 void *argp1 = 0 ;
11658 int res1 = 0 ;
11659 PyObject *swig_obj[1] ;
11660
11661 if (!args) SWIG_fail;
11662 swig_obj[0] = args;
11663 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11664 if (!SWIG_IsOK(res1)) {
11665 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11666 }
11667 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11668 {
11669 PyThreadState* __tstate = wxPyBeginAllowThreads();
11670 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
11671 wxPyEndAllowThreads(__tstate);
11672 if (PyErr_Occurred()) SWIG_fail;
11673 }
11674 resultobj = SWIG_From_int(static_cast< int >(result));
11675 return resultobj;
11676 fail:
11677 return NULL;
11678 }
11679
11680
11681 SWIGINTERN PyObject *_wrap_SashEvent_SetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11682 PyObject *resultobj = 0;
11683 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11684 wxRect *arg2 = 0 ;
11685 void *argp1 = 0 ;
11686 int res1 = 0 ;
11687 wxRect temp2 ;
11688 PyObject * obj0 = 0 ;
11689 PyObject * obj1 = 0 ;
11690 char * kwnames[] = {
11691 (char *) "self",(char *) "rect", NULL
11692 };
11693
11694 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) SWIG_fail;
11695 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11696 if (!SWIG_IsOK(res1)) {
11697 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11698 }
11699 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11700 {
11701 arg2 = &temp2;
11702 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11703 }
11704 {
11705 PyThreadState* __tstate = wxPyBeginAllowThreads();
11706 (arg1)->SetDragRect((wxRect const &)*arg2);
11707 wxPyEndAllowThreads(__tstate);
11708 if (PyErr_Occurred()) SWIG_fail;
11709 }
11710 resultobj = SWIG_Py_Void();
11711 return resultobj;
11712 fail:
11713 return NULL;
11714 }
11715
11716
11717 SWIGINTERN PyObject *_wrap_SashEvent_GetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11718 PyObject *resultobj = 0;
11719 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11720 wxRect result;
11721 void *argp1 = 0 ;
11722 int res1 = 0 ;
11723 PyObject *swig_obj[1] ;
11724
11725 if (!args) SWIG_fail;
11726 swig_obj[0] = args;
11727 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11728 if (!SWIG_IsOK(res1)) {
11729 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11730 }
11731 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11732 {
11733 PyThreadState* __tstate = wxPyBeginAllowThreads();
11734 result = ((wxSashEvent const *)arg1)->GetDragRect();
11735 wxPyEndAllowThreads(__tstate);
11736 if (PyErr_Occurred()) SWIG_fail;
11737 }
11738 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
11739 return resultobj;
11740 fail:
11741 return NULL;
11742 }
11743
11744
11745 SWIGINTERN PyObject *_wrap_SashEvent_SetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11746 PyObject *resultobj = 0;
11747 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11748 wxSashDragStatus arg2 ;
11749 void *argp1 = 0 ;
11750 int res1 = 0 ;
11751 int val2 ;
11752 int ecode2 = 0 ;
11753 PyObject * obj0 = 0 ;
11754 PyObject * obj1 = 0 ;
11755 char * kwnames[] = {
11756 (char *) "self",(char *) "status", NULL
11757 };
11758
11759 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) SWIG_fail;
11760 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11761 if (!SWIG_IsOK(res1)) {
11762 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11763 }
11764 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11765 ecode2 = SWIG_AsVal_int(obj1, &val2);
11766 if (!SWIG_IsOK(ecode2)) {
11767 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11768 }
11769 arg2 = static_cast< wxSashDragStatus >(val2);
11770 {
11771 PyThreadState* __tstate = wxPyBeginAllowThreads();
11772 (arg1)->SetDragStatus(arg2);
11773 wxPyEndAllowThreads(__tstate);
11774 if (PyErr_Occurred()) SWIG_fail;
11775 }
11776 resultobj = SWIG_Py_Void();
11777 return resultobj;
11778 fail:
11779 return NULL;
11780 }
11781
11782
11783 SWIGINTERN PyObject *_wrap_SashEvent_GetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11784 PyObject *resultobj = 0;
11785 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11786 wxSashDragStatus result;
11787 void *argp1 = 0 ;
11788 int res1 = 0 ;
11789 PyObject *swig_obj[1] ;
11790
11791 if (!args) SWIG_fail;
11792 swig_obj[0] = args;
11793 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11794 if (!SWIG_IsOK(res1)) {
11795 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11796 }
11797 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11798 {
11799 PyThreadState* __tstate = wxPyBeginAllowThreads();
11800 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
11801 wxPyEndAllowThreads(__tstate);
11802 if (PyErr_Occurred()) SWIG_fail;
11803 }
11804 resultobj = SWIG_From_int(static_cast< int >(result));
11805 return resultobj;
11806 fail:
11807 return NULL;
11808 }
11809
11810
11811 SWIGINTERN PyObject *SashEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11812 PyObject *obj;
11813 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11814 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent, SWIG_NewClientData(obj));
11815 return SWIG_Py_Void();
11816 }
11817
11818 SWIGINTERN PyObject *SashEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11819 return SWIG_Python_InitShadowInstance(args);
11820 }
11821
11822 SWIGINTERN PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11823 PyObject *resultobj = 0;
11824 int arg1 = (int) 0 ;
11825 wxQueryLayoutInfoEvent *result = 0 ;
11826 int val1 ;
11827 int ecode1 = 0 ;
11828 PyObject * obj0 = 0 ;
11829 char * kwnames[] = {
11830 (char *) "id", NULL
11831 };
11832
11833 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) SWIG_fail;
11834 if (obj0) {
11835 ecode1 = SWIG_AsVal_int(obj0, &val1);
11836 if (!SWIG_IsOK(ecode1)) {
11837 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
11838 }
11839 arg1 = static_cast< int >(val1);
11840 }
11841 {
11842 PyThreadState* __tstate = wxPyBeginAllowThreads();
11843 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
11844 wxPyEndAllowThreads(__tstate);
11845 if (PyErr_Occurred()) SWIG_fail;
11846 }
11847 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_NEW | 0 );
11848 return resultobj;
11849 fail:
11850 return NULL;
11851 }
11852
11853
11854 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11855 PyObject *resultobj = 0;
11856 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11857 int arg2 ;
11858 void *argp1 = 0 ;
11859 int res1 = 0 ;
11860 int val2 ;
11861 int ecode2 = 0 ;
11862 PyObject * obj0 = 0 ;
11863 PyObject * obj1 = 0 ;
11864 char * kwnames[] = {
11865 (char *) "self",(char *) "length", NULL
11866 };
11867
11868 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) SWIG_fail;
11869 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11870 if (!SWIG_IsOK(res1)) {
11871 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11872 }
11873 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11874 ecode2 = SWIG_AsVal_int(obj1, &val2);
11875 if (!SWIG_IsOK(ecode2)) {
11876 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
11877 }
11878 arg2 = static_cast< int >(val2);
11879 {
11880 PyThreadState* __tstate = wxPyBeginAllowThreads();
11881 (arg1)->SetRequestedLength(arg2);
11882 wxPyEndAllowThreads(__tstate);
11883 if (PyErr_Occurred()) SWIG_fail;
11884 }
11885 resultobj = SWIG_Py_Void();
11886 return resultobj;
11887 fail:
11888 return NULL;
11889 }
11890
11891
11892 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11893 PyObject *resultobj = 0;
11894 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11895 int result;
11896 void *argp1 = 0 ;
11897 int res1 = 0 ;
11898 PyObject *swig_obj[1] ;
11899
11900 if (!args) SWIG_fail;
11901 swig_obj[0] = args;
11902 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11903 if (!SWIG_IsOK(res1)) {
11904 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11905 }
11906 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11907 {
11908 PyThreadState* __tstate = wxPyBeginAllowThreads();
11909 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
11910 wxPyEndAllowThreads(__tstate);
11911 if (PyErr_Occurred()) SWIG_fail;
11912 }
11913 resultobj = SWIG_From_int(static_cast< int >(result));
11914 return resultobj;
11915 fail:
11916 return NULL;
11917 }
11918
11919
11920 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11921 PyObject *resultobj = 0;
11922 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11923 int arg2 ;
11924 void *argp1 = 0 ;
11925 int res1 = 0 ;
11926 int val2 ;
11927 int ecode2 = 0 ;
11928 PyObject * obj0 = 0 ;
11929 PyObject * obj1 = 0 ;
11930 char * kwnames[] = {
11931 (char *) "self",(char *) "flags", NULL
11932 };
11933
11934 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
11935 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11936 if (!SWIG_IsOK(res1)) {
11937 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11938 }
11939 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11940 ecode2 = SWIG_AsVal_int(obj1, &val2);
11941 if (!SWIG_IsOK(ecode2)) {
11942 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
11943 }
11944 arg2 = static_cast< int >(val2);
11945 {
11946 PyThreadState* __tstate = wxPyBeginAllowThreads();
11947 (arg1)->SetFlags(arg2);
11948 wxPyEndAllowThreads(__tstate);
11949 if (PyErr_Occurred()) SWIG_fail;
11950 }
11951 resultobj = SWIG_Py_Void();
11952 return resultobj;
11953 fail:
11954 return NULL;
11955 }
11956
11957
11958 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11959 PyObject *resultobj = 0;
11960 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11961 int result;
11962 void *argp1 = 0 ;
11963 int res1 = 0 ;
11964 PyObject *swig_obj[1] ;
11965
11966 if (!args) SWIG_fail;
11967 swig_obj[0] = args;
11968 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11969 if (!SWIG_IsOK(res1)) {
11970 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11971 }
11972 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11973 {
11974 PyThreadState* __tstate = wxPyBeginAllowThreads();
11975 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
11976 wxPyEndAllowThreads(__tstate);
11977 if (PyErr_Occurred()) SWIG_fail;
11978 }
11979 resultobj = SWIG_From_int(static_cast< int >(result));
11980 return resultobj;
11981 fail:
11982 return NULL;
11983 }
11984
11985
11986 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11987 PyObject *resultobj = 0;
11988 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11989 wxSize *arg2 = 0 ;
11990 void *argp1 = 0 ;
11991 int res1 = 0 ;
11992 wxSize temp2 ;
11993 PyObject * obj0 = 0 ;
11994 PyObject * obj1 = 0 ;
11995 char * kwnames[] = {
11996 (char *) "self",(char *) "size", NULL
11997 };
11998
11999 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) SWIG_fail;
12000 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12001 if (!SWIG_IsOK(res1)) {
12002 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12003 }
12004 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12005 {
12006 arg2 = &temp2;
12007 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12008 }
12009 {
12010 PyThreadState* __tstate = wxPyBeginAllowThreads();
12011 (arg1)->SetSize((wxSize const &)*arg2);
12012 wxPyEndAllowThreads(__tstate);
12013 if (PyErr_Occurred()) SWIG_fail;
12014 }
12015 resultobj = SWIG_Py_Void();
12016 return resultobj;
12017 fail:
12018 return NULL;
12019 }
12020
12021
12022 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12023 PyObject *resultobj = 0;
12024 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12025 wxSize result;
12026 void *argp1 = 0 ;
12027 int res1 = 0 ;
12028 PyObject *swig_obj[1] ;
12029
12030 if (!args) SWIG_fail;
12031 swig_obj[0] = args;
12032 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12033 if (!SWIG_IsOK(res1)) {
12034 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12035 }
12036 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12037 {
12038 PyThreadState* __tstate = wxPyBeginAllowThreads();
12039 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
12040 wxPyEndAllowThreads(__tstate);
12041 if (PyErr_Occurred()) SWIG_fail;
12042 }
12043 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
12044 return resultobj;
12045 fail:
12046 return NULL;
12047 }
12048
12049
12050 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12051 PyObject *resultobj = 0;
12052 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12053 wxLayoutOrientation arg2 ;
12054 void *argp1 = 0 ;
12055 int res1 = 0 ;
12056 int val2 ;
12057 int ecode2 = 0 ;
12058 PyObject * obj0 = 0 ;
12059 PyObject * obj1 = 0 ;
12060 char * kwnames[] = {
12061 (char *) "self",(char *) "orient", NULL
12062 };
12063
12064 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12065 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12066 if (!SWIG_IsOK(res1)) {
12067 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12068 }
12069 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12070 ecode2 = SWIG_AsVal_int(obj1, &val2);
12071 if (!SWIG_IsOK(ecode2)) {
12072 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12073 }
12074 arg2 = static_cast< wxLayoutOrientation >(val2);
12075 {
12076 PyThreadState* __tstate = wxPyBeginAllowThreads();
12077 (arg1)->SetOrientation(arg2);
12078 wxPyEndAllowThreads(__tstate);
12079 if (PyErr_Occurred()) SWIG_fail;
12080 }
12081 resultobj = SWIG_Py_Void();
12082 return resultobj;
12083 fail:
12084 return NULL;
12085 }
12086
12087
12088 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12089 PyObject *resultobj = 0;
12090 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12091 wxLayoutOrientation result;
12092 void *argp1 = 0 ;
12093 int res1 = 0 ;
12094 PyObject *swig_obj[1] ;
12095
12096 if (!args) SWIG_fail;
12097 swig_obj[0] = args;
12098 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12099 if (!SWIG_IsOK(res1)) {
12100 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12101 }
12102 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12103 {
12104 PyThreadState* __tstate = wxPyBeginAllowThreads();
12105 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
12106 wxPyEndAllowThreads(__tstate);
12107 if (PyErr_Occurred()) SWIG_fail;
12108 }
12109 resultobj = SWIG_From_int(static_cast< int >(result));
12110 return resultobj;
12111 fail:
12112 return NULL;
12113 }
12114
12115
12116 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12117 PyObject *resultobj = 0;
12118 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12119 wxLayoutAlignment arg2 ;
12120 void *argp1 = 0 ;
12121 int res1 = 0 ;
12122 int val2 ;
12123 int ecode2 = 0 ;
12124 PyObject * obj0 = 0 ;
12125 PyObject * obj1 = 0 ;
12126 char * kwnames[] = {
12127 (char *) "self",(char *) "align", NULL
12128 };
12129
12130 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12131 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12132 if (!SWIG_IsOK(res1)) {
12133 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12134 }
12135 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12136 ecode2 = SWIG_AsVal_int(obj1, &val2);
12137 if (!SWIG_IsOK(ecode2)) {
12138 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12139 }
12140 arg2 = static_cast< wxLayoutAlignment >(val2);
12141 {
12142 PyThreadState* __tstate = wxPyBeginAllowThreads();
12143 (arg1)->SetAlignment(arg2);
12144 wxPyEndAllowThreads(__tstate);
12145 if (PyErr_Occurred()) SWIG_fail;
12146 }
12147 resultobj = SWIG_Py_Void();
12148 return resultobj;
12149 fail:
12150 return NULL;
12151 }
12152
12153
12154 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12155 PyObject *resultobj = 0;
12156 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12157 wxLayoutAlignment result;
12158 void *argp1 = 0 ;
12159 int res1 = 0 ;
12160 PyObject *swig_obj[1] ;
12161
12162 if (!args) SWIG_fail;
12163 swig_obj[0] = args;
12164 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12165 if (!SWIG_IsOK(res1)) {
12166 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12167 }
12168 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12169 {
12170 PyThreadState* __tstate = wxPyBeginAllowThreads();
12171 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
12172 wxPyEndAllowThreads(__tstate);
12173 if (PyErr_Occurred()) SWIG_fail;
12174 }
12175 resultobj = SWIG_From_int(static_cast< int >(result));
12176 return resultobj;
12177 fail:
12178 return NULL;
12179 }
12180
12181
12182 SWIGINTERN PyObject *QueryLayoutInfoEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12183 PyObject *obj;
12184 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12185 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_NewClientData(obj));
12186 return SWIG_Py_Void();
12187 }
12188
12189 SWIGINTERN PyObject *QueryLayoutInfoEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12190 return SWIG_Python_InitShadowInstance(args);
12191 }
12192
12193 SWIGINTERN PyObject *_wrap_new_CalculateLayoutEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12194 PyObject *resultobj = 0;
12195 int arg1 = (int) 0 ;
12196 wxCalculateLayoutEvent *result = 0 ;
12197 int val1 ;
12198 int ecode1 = 0 ;
12199 PyObject * obj0 = 0 ;
12200 char * kwnames[] = {
12201 (char *) "id", NULL
12202 };
12203
12204 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) SWIG_fail;
12205 if (obj0) {
12206 ecode1 = SWIG_AsVal_int(obj0, &val1);
12207 if (!SWIG_IsOK(ecode1)) {
12208 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12209 }
12210 arg1 = static_cast< int >(val1);
12211 }
12212 {
12213 PyThreadState* __tstate = wxPyBeginAllowThreads();
12214 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
12215 wxPyEndAllowThreads(__tstate);
12216 if (PyErr_Occurred()) SWIG_fail;
12217 }
12218 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_NEW | 0 );
12219 return resultobj;
12220 fail:
12221 return NULL;
12222 }
12223
12224
12225 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12226 PyObject *resultobj = 0;
12227 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12228 int arg2 ;
12229 void *argp1 = 0 ;
12230 int res1 = 0 ;
12231 int val2 ;
12232 int ecode2 = 0 ;
12233 PyObject * obj0 = 0 ;
12234 PyObject * obj1 = 0 ;
12235 char * kwnames[] = {
12236 (char *) "self",(char *) "flags", NULL
12237 };
12238
12239 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12240 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12241 if (!SWIG_IsOK(res1)) {
12242 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12243 }
12244 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12245 ecode2 = SWIG_AsVal_int(obj1, &val2);
12246 if (!SWIG_IsOK(ecode2)) {
12247 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12248 }
12249 arg2 = static_cast< int >(val2);
12250 {
12251 PyThreadState* __tstate = wxPyBeginAllowThreads();
12252 (arg1)->SetFlags(arg2);
12253 wxPyEndAllowThreads(__tstate);
12254 if (PyErr_Occurred()) SWIG_fail;
12255 }
12256 resultobj = SWIG_Py_Void();
12257 return resultobj;
12258 fail:
12259 return NULL;
12260 }
12261
12262
12263 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12264 PyObject *resultobj = 0;
12265 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12266 int result;
12267 void *argp1 = 0 ;
12268 int res1 = 0 ;
12269 PyObject *swig_obj[1] ;
12270
12271 if (!args) SWIG_fail;
12272 swig_obj[0] = args;
12273 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12274 if (!SWIG_IsOK(res1)) {
12275 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12276 }
12277 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12278 {
12279 PyThreadState* __tstate = wxPyBeginAllowThreads();
12280 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
12281 wxPyEndAllowThreads(__tstate);
12282 if (PyErr_Occurred()) SWIG_fail;
12283 }
12284 resultobj = SWIG_From_int(static_cast< int >(result));
12285 return resultobj;
12286 fail:
12287 return NULL;
12288 }
12289
12290
12291 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12292 PyObject *resultobj = 0;
12293 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12294 wxRect *arg2 = 0 ;
12295 void *argp1 = 0 ;
12296 int res1 = 0 ;
12297 wxRect temp2 ;
12298 PyObject * obj0 = 0 ;
12299 PyObject * obj1 = 0 ;
12300 char * kwnames[] = {
12301 (char *) "self",(char *) "rect", NULL
12302 };
12303
12304 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) SWIG_fail;
12305 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12306 if (!SWIG_IsOK(res1)) {
12307 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12308 }
12309 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12310 {
12311 arg2 = &temp2;
12312 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12313 }
12314 {
12315 PyThreadState* __tstate = wxPyBeginAllowThreads();
12316 (arg1)->SetRect((wxRect const &)*arg2);
12317 wxPyEndAllowThreads(__tstate);
12318 if (PyErr_Occurred()) SWIG_fail;
12319 }
12320 resultobj = SWIG_Py_Void();
12321 return resultobj;
12322 fail:
12323 return NULL;
12324 }
12325
12326
12327 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12328 PyObject *resultobj = 0;
12329 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12330 wxRect result;
12331 void *argp1 = 0 ;
12332 int res1 = 0 ;
12333 PyObject *swig_obj[1] ;
12334
12335 if (!args) SWIG_fail;
12336 swig_obj[0] = args;
12337 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12338 if (!SWIG_IsOK(res1)) {
12339 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12340 }
12341 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12342 {
12343 PyThreadState* __tstate = wxPyBeginAllowThreads();
12344 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
12345 wxPyEndAllowThreads(__tstate);
12346 if (PyErr_Occurred()) SWIG_fail;
12347 }
12348 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
12349 return resultobj;
12350 fail:
12351 return NULL;
12352 }
12353
12354
12355 SWIGINTERN PyObject *CalculateLayoutEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12356 PyObject *obj;
12357 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12358 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_NewClientData(obj));
12359 return SWIG_Py_Void();
12360 }
12361
12362 SWIGINTERN PyObject *CalculateLayoutEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12363 return SWIG_Python_InitShadowInstance(args);
12364 }
12365
12366 SWIGINTERN PyObject *_wrap_new_SashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12367 PyObject *resultobj = 0;
12368 wxWindow *arg1 = (wxWindow *) 0 ;
12369 int arg2 = (int) -1 ;
12370 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12371 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12372 wxSize const &arg4_defvalue = wxDefaultSize ;
12373 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12374 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12375 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
12376 wxString *arg6 = (wxString *) &arg6_defvalue ;
12377 wxSashLayoutWindow *result = 0 ;
12378 void *argp1 = 0 ;
12379 int res1 = 0 ;
12380 int val2 ;
12381 int ecode2 = 0 ;
12382 wxPoint temp3 ;
12383 wxSize temp4 ;
12384 long val5 ;
12385 int ecode5 = 0 ;
12386 bool temp6 = false ;
12387 PyObject * obj0 = 0 ;
12388 PyObject * obj1 = 0 ;
12389 PyObject * obj2 = 0 ;
12390 PyObject * obj3 = 0 ;
12391 PyObject * obj4 = 0 ;
12392 PyObject * obj5 = 0 ;
12393 char * kwnames[] = {
12394 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12395 };
12396
12397 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
12398 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12399 if (!SWIG_IsOK(res1)) {
12400 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12401 }
12402 arg1 = reinterpret_cast< wxWindow * >(argp1);
12403 if (obj1) {
12404 ecode2 = SWIG_AsVal_int(obj1, &val2);
12405 if (!SWIG_IsOK(ecode2)) {
12406 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12407 }
12408 arg2 = static_cast< int >(val2);
12409 }
12410 if (obj2) {
12411 {
12412 arg3 = &temp3;
12413 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12414 }
12415 }
12416 if (obj3) {
12417 {
12418 arg4 = &temp4;
12419 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12420 }
12421 }
12422 if (obj4) {
12423 ecode5 = SWIG_AsVal_long(obj4, &val5);
12424 if (!SWIG_IsOK(ecode5)) {
12425 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12426 }
12427 arg5 = static_cast< long >(val5);
12428 }
12429 if (obj5) {
12430 {
12431 arg6 = wxString_in_helper(obj5);
12432 if (arg6 == NULL) SWIG_fail;
12433 temp6 = true;
12434 }
12435 }
12436 {
12437 if (!wxPyCheckForApp()) SWIG_fail;
12438 PyThreadState* __tstate = wxPyBeginAllowThreads();
12439 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12440 wxPyEndAllowThreads(__tstate);
12441 if (PyErr_Occurred()) SWIG_fail;
12442 }
12443 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_NEW | 0 );
12444 {
12445 if (temp6)
12446 delete arg6;
12447 }
12448 return resultobj;
12449 fail:
12450 {
12451 if (temp6)
12452 delete arg6;
12453 }
12454 return NULL;
12455 }
12456
12457
12458 SWIGINTERN PyObject *_wrap_new_PreSashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12459 PyObject *resultobj = 0;
12460 wxSashLayoutWindow *result = 0 ;
12461
12462 if (!SWIG_Python_UnpackTuple(args,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail;
12463 {
12464 if (!wxPyCheckForApp()) SWIG_fail;
12465 PyThreadState* __tstate = wxPyBeginAllowThreads();
12466 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
12467 wxPyEndAllowThreads(__tstate);
12468 if (PyErr_Occurred()) SWIG_fail;
12469 }
12470 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_OWN | 0 );
12471 return resultobj;
12472 fail:
12473 return NULL;
12474 }
12475
12476
12477 SWIGINTERN PyObject *_wrap_SashLayoutWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12478 PyObject *resultobj = 0;
12479 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12480 wxWindow *arg2 = (wxWindow *) 0 ;
12481 int arg3 = (int) -1 ;
12482 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12483 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12484 wxSize const &arg5_defvalue = wxDefaultSize ;
12485 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12486 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12487 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
12488 wxString *arg7 = (wxString *) &arg7_defvalue ;
12489 bool result;
12490 void *argp1 = 0 ;
12491 int res1 = 0 ;
12492 void *argp2 = 0 ;
12493 int res2 = 0 ;
12494 int val3 ;
12495 int ecode3 = 0 ;
12496 wxPoint temp4 ;
12497 wxSize temp5 ;
12498 long val6 ;
12499 int ecode6 = 0 ;
12500 bool temp7 = false ;
12501 PyObject * obj0 = 0 ;
12502 PyObject * obj1 = 0 ;
12503 PyObject * obj2 = 0 ;
12504 PyObject * obj3 = 0 ;
12505 PyObject * obj4 = 0 ;
12506 PyObject * obj5 = 0 ;
12507 PyObject * obj6 = 0 ;
12508 char * kwnames[] = {
12509 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12510 };
12511
12512 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
12513 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12514 if (!SWIG_IsOK(res1)) {
12515 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12516 }
12517 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12518 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12519 if (!SWIG_IsOK(res2)) {
12520 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12521 }
12522 arg2 = reinterpret_cast< wxWindow * >(argp2);
12523 if (obj2) {
12524 ecode3 = SWIG_AsVal_int(obj2, &val3);
12525 if (!SWIG_IsOK(ecode3)) {
12526 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12527 }
12528 arg3 = static_cast< int >(val3);
12529 }
12530 if (obj3) {
12531 {
12532 arg4 = &temp4;
12533 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12534 }
12535 }
12536 if (obj4) {
12537 {
12538 arg5 = &temp5;
12539 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12540 }
12541 }
12542 if (obj5) {
12543 ecode6 = SWIG_AsVal_long(obj5, &val6);
12544 if (!SWIG_IsOK(ecode6)) {
12545 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12546 }
12547 arg6 = static_cast< long >(val6);
12548 }
12549 if (obj6) {
12550 {
12551 arg7 = wxString_in_helper(obj6);
12552 if (arg7 == NULL) SWIG_fail;
12553 temp7 = true;
12554 }
12555 }
12556 {
12557 PyThreadState* __tstate = wxPyBeginAllowThreads();
12558 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12559 wxPyEndAllowThreads(__tstate);
12560 if (PyErr_Occurred()) SWIG_fail;
12561 }
12562 {
12563 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12564 }
12565 {
12566 if (temp7)
12567 delete arg7;
12568 }
12569 return resultobj;
12570 fail:
12571 {
12572 if (temp7)
12573 delete arg7;
12574 }
12575 return NULL;
12576 }
12577
12578
12579 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12580 PyObject *resultobj = 0;
12581 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12582 wxLayoutAlignment result;
12583 void *argp1 = 0 ;
12584 int res1 = 0 ;
12585 PyObject *swig_obj[1] ;
12586
12587 if (!args) SWIG_fail;
12588 swig_obj[0] = args;
12589 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12590 if (!SWIG_IsOK(res1)) {
12591 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12592 }
12593 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12594 {
12595 PyThreadState* __tstate = wxPyBeginAllowThreads();
12596 result = (wxLayoutAlignment)(arg1)->GetAlignment();
12597 wxPyEndAllowThreads(__tstate);
12598 if (PyErr_Occurred()) SWIG_fail;
12599 }
12600 resultobj = SWIG_From_int(static_cast< int >(result));
12601 return resultobj;
12602 fail:
12603 return NULL;
12604 }
12605
12606
12607 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12608 PyObject *resultobj = 0;
12609 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12610 wxLayoutOrientation result;
12611 void *argp1 = 0 ;
12612 int res1 = 0 ;
12613 PyObject *swig_obj[1] ;
12614
12615 if (!args) SWIG_fail;
12616 swig_obj[0] = args;
12617 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12618 if (!SWIG_IsOK(res1)) {
12619 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12620 }
12621 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12622 {
12623 PyThreadState* __tstate = wxPyBeginAllowThreads();
12624 result = (wxLayoutOrientation)(arg1)->GetOrientation();
12625 wxPyEndAllowThreads(__tstate);
12626 if (PyErr_Occurred()) SWIG_fail;
12627 }
12628 resultobj = SWIG_From_int(static_cast< int >(result));
12629 return resultobj;
12630 fail:
12631 return NULL;
12632 }
12633
12634
12635 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12636 PyObject *resultobj = 0;
12637 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12638 wxLayoutAlignment arg2 ;
12639 void *argp1 = 0 ;
12640 int res1 = 0 ;
12641 int val2 ;
12642 int ecode2 = 0 ;
12643 PyObject * obj0 = 0 ;
12644 PyObject * obj1 = 0 ;
12645 char * kwnames[] = {
12646 (char *) "self",(char *) "alignment", NULL
12647 };
12648
12649 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12650 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12651 if (!SWIG_IsOK(res1)) {
12652 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12653 }
12654 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12655 ecode2 = SWIG_AsVal_int(obj1, &val2);
12656 if (!SWIG_IsOK(ecode2)) {
12657 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12658 }
12659 arg2 = static_cast< wxLayoutAlignment >(val2);
12660 {
12661 PyThreadState* __tstate = wxPyBeginAllowThreads();
12662 (arg1)->SetAlignment(arg2);
12663 wxPyEndAllowThreads(__tstate);
12664 if (PyErr_Occurred()) SWIG_fail;
12665 }
12666 resultobj = SWIG_Py_Void();
12667 return resultobj;
12668 fail:
12669 return NULL;
12670 }
12671
12672
12673 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12674 PyObject *resultobj = 0;
12675 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12676 wxSize *arg2 = 0 ;
12677 void *argp1 = 0 ;
12678 int res1 = 0 ;
12679 wxSize temp2 ;
12680 PyObject * obj0 = 0 ;
12681 PyObject * obj1 = 0 ;
12682 char * kwnames[] = {
12683 (char *) "self",(char *) "size", NULL
12684 };
12685
12686 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) SWIG_fail;
12687 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12688 if (!SWIG_IsOK(res1)) {
12689 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12690 }
12691 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12692 {
12693 arg2 = &temp2;
12694 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12695 }
12696 {
12697 PyThreadState* __tstate = wxPyBeginAllowThreads();
12698 (arg1)->SetDefaultSize((wxSize const &)*arg2);
12699 wxPyEndAllowThreads(__tstate);
12700 if (PyErr_Occurred()) SWIG_fail;
12701 }
12702 resultobj = SWIG_Py_Void();
12703 return resultobj;
12704 fail:
12705 return NULL;
12706 }
12707
12708
12709 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12710 PyObject *resultobj = 0;
12711 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12712 wxLayoutOrientation arg2 ;
12713 void *argp1 = 0 ;
12714 int res1 = 0 ;
12715 int val2 ;
12716 int ecode2 = 0 ;
12717 PyObject * obj0 = 0 ;
12718 PyObject * obj1 = 0 ;
12719 char * kwnames[] = {
12720 (char *) "self",(char *) "orientation", NULL
12721 };
12722
12723 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12724 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12725 if (!SWIG_IsOK(res1)) {
12726 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12727 }
12728 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12729 ecode2 = SWIG_AsVal_int(obj1, &val2);
12730 if (!SWIG_IsOK(ecode2)) {
12731 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12732 }
12733 arg2 = static_cast< wxLayoutOrientation >(val2);
12734 {
12735 PyThreadState* __tstate = wxPyBeginAllowThreads();
12736 (arg1)->SetOrientation(arg2);
12737 wxPyEndAllowThreads(__tstate);
12738 if (PyErr_Occurred()) SWIG_fail;
12739 }
12740 resultobj = SWIG_Py_Void();
12741 return resultobj;
12742 fail:
12743 return NULL;
12744 }
12745
12746
12747 SWIGINTERN PyObject *SashLayoutWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12748 PyObject *obj;
12749 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12750 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow, SWIG_NewClientData(obj));
12751 return SWIG_Py_Void();
12752 }
12753
12754 SWIGINTERN PyObject *SashLayoutWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12755 return SWIG_Python_InitShadowInstance(args);
12756 }
12757
12758 SWIGINTERN PyObject *_wrap_new_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12759 PyObject *resultobj = 0;
12760 wxLayoutAlgorithm *result = 0 ;
12761
12762 if (!SWIG_Python_UnpackTuple(args,"new_LayoutAlgorithm",0,0,0)) SWIG_fail;
12763 {
12764 PyThreadState* __tstate = wxPyBeginAllowThreads();
12765 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
12766 wxPyEndAllowThreads(__tstate);
12767 if (PyErr_Occurred()) SWIG_fail;
12768 }
12769 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_NEW | 0 );
12770 return resultobj;
12771 fail:
12772 return NULL;
12773 }
12774
12775
12776 SWIGINTERN PyObject *_wrap_delete_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12777 PyObject *resultobj = 0;
12778 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12779 void *argp1 = 0 ;
12780 int res1 = 0 ;
12781 PyObject *swig_obj[1] ;
12782
12783 if (!args) SWIG_fail;
12784 swig_obj[0] = args;
12785 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_DISOWN | 0 );
12786 if (!SWIG_IsOK(res1)) {
12787 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12788 }
12789 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12790 {
12791 PyThreadState* __tstate = wxPyBeginAllowThreads();
12792 delete arg1;
12793
12794 wxPyEndAllowThreads(__tstate);
12795 if (PyErr_Occurred()) SWIG_fail;
12796 }
12797 resultobj = SWIG_Py_Void();
12798 return resultobj;
12799 fail:
12800 return NULL;
12801 }
12802
12803
12804 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12805 PyObject *resultobj = 0;
12806 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12807 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
12808 wxRect *arg3 = (wxRect *) NULL ;
12809 bool result;
12810 void *argp1 = 0 ;
12811 int res1 = 0 ;
12812 void *argp2 = 0 ;
12813 int res2 = 0 ;
12814 void *argp3 = 0 ;
12815 int res3 = 0 ;
12816 PyObject * obj0 = 0 ;
12817 PyObject * obj1 = 0 ;
12818 PyObject * obj2 = 0 ;
12819 char * kwnames[] = {
12820 (char *) "self",(char *) "frame",(char *) "rect", NULL
12821 };
12822
12823 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12824 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
12825 if (!SWIG_IsOK(res1)) {
12826 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12827 }
12828 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12829 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
12830 if (!SWIG_IsOK(res2)) {
12831 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
12832 }
12833 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
12834 if (obj2) {
12835 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxRect, 0 | 0 );
12836 if (!SWIG_IsOK(res3)) {
12837 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
12838 }
12839 arg3 = reinterpret_cast< wxRect * >(argp3);
12840 }
12841 {
12842 PyThreadState* __tstate = wxPyBeginAllowThreads();
12843 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
12844 wxPyEndAllowThreads(__tstate);
12845 if (PyErr_Occurred()) SWIG_fail;
12846 }
12847 {
12848 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12849 }
12850 return resultobj;
12851 fail:
12852 return NULL;
12853 }
12854
12855
12856 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12857 PyObject *resultobj = 0;
12858 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12859 wxFrame *arg2 = (wxFrame *) 0 ;
12860 wxWindow *arg3 = (wxWindow *) NULL ;
12861 bool result;
12862 void *argp1 = 0 ;
12863 int res1 = 0 ;
12864 void *argp2 = 0 ;
12865 int res2 = 0 ;
12866 void *argp3 = 0 ;
12867 int res3 = 0 ;
12868 PyObject * obj0 = 0 ;
12869 PyObject * obj1 = 0 ;
12870 PyObject * obj2 = 0 ;
12871 char * kwnames[] = {
12872 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
12873 };
12874
12875 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12876 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
12877 if (!SWIG_IsOK(res1)) {
12878 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12879 }
12880 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12881 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
12882 if (!SWIG_IsOK(res2)) {
12883 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
12884 }
12885 arg2 = reinterpret_cast< wxFrame * >(argp2);
12886 if (obj2) {
12887 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
12888 if (!SWIG_IsOK(res3)) {
12889 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
12890 }
12891 arg3 = reinterpret_cast< wxWindow * >(argp3);
12892 }
12893 {
12894 PyThreadState* __tstate = wxPyBeginAllowThreads();
12895 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
12896 wxPyEndAllowThreads(__tstate);
12897 if (PyErr_Occurred()) SWIG_fail;
12898 }
12899 {
12900 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12901 }
12902 return resultobj;
12903 fail:
12904 return NULL;
12905 }
12906
12907
12908 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12909 PyObject *resultobj = 0;
12910 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12911 wxWindow *arg2 = (wxWindow *) 0 ;
12912 wxWindow *arg3 = (wxWindow *) NULL ;
12913 bool result;
12914 void *argp1 = 0 ;
12915 int res1 = 0 ;
12916 void *argp2 = 0 ;
12917 int res2 = 0 ;
12918 void *argp3 = 0 ;
12919 int res3 = 0 ;
12920 PyObject * obj0 = 0 ;
12921 PyObject * obj1 = 0 ;
12922 PyObject * obj2 = 0 ;
12923 char * kwnames[] = {
12924 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
12925 };
12926
12927 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12928 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
12929 if (!SWIG_IsOK(res1)) {
12930 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12931 }
12932 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12933 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12934 if (!SWIG_IsOK(res2)) {
12935 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
12936 }
12937 arg2 = reinterpret_cast< wxWindow * >(argp2);
12938 if (obj2) {
12939 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
12940 if (!SWIG_IsOK(res3)) {
12941 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
12942 }
12943 arg3 = reinterpret_cast< wxWindow * >(argp3);
12944 }
12945 {
12946 PyThreadState* __tstate = wxPyBeginAllowThreads();
12947 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
12948 wxPyEndAllowThreads(__tstate);
12949 if (PyErr_Occurred()) SWIG_fail;
12950 }
12951 {
12952 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12953 }
12954 return resultobj;
12955 fail:
12956 return NULL;
12957 }
12958
12959
12960 SWIGINTERN PyObject *LayoutAlgorithm_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12961 PyObject *obj;
12962 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12963 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm, SWIG_NewClientData(obj));
12964 return SWIG_Py_Void();
12965 }
12966
12967 SWIGINTERN PyObject *LayoutAlgorithm_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12968 return SWIG_Python_InitShadowInstance(args);
12969 }
12970
12971 SWIGINTERN PyObject *_wrap_new_PopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12972 PyObject *resultobj = 0;
12973 wxWindow *arg1 = (wxWindow *) 0 ;
12974 int arg2 = (int) wxBORDER_NONE ;
12975 wxPopupWindow *result = 0 ;
12976 void *argp1 = 0 ;
12977 int res1 = 0 ;
12978 int val2 ;
12979 int ecode2 = 0 ;
12980 PyObject * obj0 = 0 ;
12981 PyObject * obj1 = 0 ;
12982 char * kwnames[] = {
12983 (char *) "parent",(char *) "flags", NULL
12984 };
12985
12986 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) SWIG_fail;
12987 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12988 if (!SWIG_IsOK(res1)) {
12989 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12990 }
12991 arg1 = reinterpret_cast< wxWindow * >(argp1);
12992 if (obj1) {
12993 ecode2 = SWIG_AsVal_int(obj1, &val2);
12994 if (!SWIG_IsOK(ecode2)) {
12995 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
12996 }
12997 arg2 = static_cast< int >(val2);
12998 }
12999 {
13000 if (!wxPyCheckForApp()) SWIG_fail;
13001 PyThreadState* __tstate = wxPyBeginAllowThreads();
13002 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
13003 wxPyEndAllowThreads(__tstate);
13004 if (PyErr_Occurred()) SWIG_fail;
13005 }
13006 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_NEW | 0 );
13007 return resultobj;
13008 fail:
13009 return NULL;
13010 }
13011
13012
13013 SWIGINTERN PyObject *_wrap_new_PrePopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13014 PyObject *resultobj = 0;
13015 wxPopupWindow *result = 0 ;
13016
13017 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupWindow",0,0,0)) SWIG_fail;
13018 {
13019 if (!wxPyCheckForApp()) SWIG_fail;
13020 PyThreadState* __tstate = wxPyBeginAllowThreads();
13021 result = (wxPopupWindow *)new wxPopupWindow();
13022 wxPyEndAllowThreads(__tstate);
13023 if (PyErr_Occurred()) SWIG_fail;
13024 }
13025 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_OWN | 0 );
13026 return resultobj;
13027 fail:
13028 return NULL;
13029 }
13030
13031
13032 SWIGINTERN PyObject *_wrap_PopupWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13033 PyObject *resultobj = 0;
13034 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
13035 wxWindow *arg2 = (wxWindow *) 0 ;
13036 int arg3 = (int) wxBORDER_NONE ;
13037 bool result;
13038 void *argp1 = 0 ;
13039 int res1 = 0 ;
13040 void *argp2 = 0 ;
13041 int res2 = 0 ;
13042 int val3 ;
13043 int ecode3 = 0 ;
13044 PyObject * obj0 = 0 ;
13045 PyObject * obj1 = 0 ;
13046 PyObject * obj2 = 0 ;
13047 char * kwnames[] = {
13048 (char *) "self",(char *) "parent",(char *) "flags", NULL
13049 };
13050
13051 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13052 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
13053 if (!SWIG_IsOK(res1)) {
13054 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13055 }
13056 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
13057 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13058 if (!SWIG_IsOK(res2)) {
13059 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13060 }
13061 arg2 = reinterpret_cast< wxWindow * >(argp2);
13062 if (obj2) {
13063 ecode3 = SWIG_AsVal_int(obj2, &val3);
13064 if (!SWIG_IsOK(ecode3)) {
13065 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'");
13066 }
13067 arg3 = static_cast< int >(val3);
13068 }
13069 {
13070 PyThreadState* __tstate = wxPyBeginAllowThreads();
13071 result = (bool)(arg1)->Create(arg2,arg3);
13072 wxPyEndAllowThreads(__tstate);
13073 if (PyErr_Occurred()) SWIG_fail;
13074 }
13075 {
13076 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13077 }
13078 return resultobj;
13079 fail:
13080 return NULL;
13081 }
13082
13083
13084 SWIGINTERN PyObject *_wrap_PopupWindow_Position(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13085 PyObject *resultobj = 0;
13086 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
13087 wxPoint *arg2 = 0 ;
13088 wxSize *arg3 = 0 ;
13089 void *argp1 = 0 ;
13090 int res1 = 0 ;
13091 wxPoint temp2 ;
13092 wxSize temp3 ;
13093 PyObject * obj0 = 0 ;
13094 PyObject * obj1 = 0 ;
13095 PyObject * obj2 = 0 ;
13096 char * kwnames[] = {
13097 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
13098 };
13099
13100 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13101 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
13102 if (!SWIG_IsOK(res1)) {
13103 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13104 }
13105 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
13106 {
13107 arg2 = &temp2;
13108 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13109 }
13110 {
13111 arg3 = &temp3;
13112 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
13113 }
13114 {
13115 PyThreadState* __tstate = wxPyBeginAllowThreads();
13116 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
13117 wxPyEndAllowThreads(__tstate);
13118 if (PyErr_Occurred()) SWIG_fail;
13119 }
13120 resultobj = SWIG_Py_Void();
13121 return resultobj;
13122 fail:
13123 return NULL;
13124 }
13125
13126
13127 SWIGINTERN PyObject *PopupWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13128 PyObject *obj;
13129 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13130 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow, SWIG_NewClientData(obj));
13131 return SWIG_Py_Void();
13132 }
13133
13134 SWIGINTERN PyObject *PopupWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13135 return SWIG_Python_InitShadowInstance(args);
13136 }
13137
13138 SWIGINTERN PyObject *_wrap_new_PopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13139 PyObject *resultobj = 0;
13140 wxWindow *arg1 = (wxWindow *) 0 ;
13141 int arg2 = (int) wxBORDER_NONE ;
13142 wxPyPopupTransientWindow *result = 0 ;
13143 void *argp1 = 0 ;
13144 int res1 = 0 ;
13145 int val2 ;
13146 int ecode2 = 0 ;
13147 PyObject * obj0 = 0 ;
13148 PyObject * obj1 = 0 ;
13149 char * kwnames[] = {
13150 (char *) "parent",(char *) "style", NULL
13151 };
13152
13153 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13154 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13155 if (!SWIG_IsOK(res1)) {
13156 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13157 }
13158 arg1 = reinterpret_cast< wxWindow * >(argp1);
13159 if (obj1) {
13160 ecode2 = SWIG_AsVal_int(obj1, &val2);
13161 if (!SWIG_IsOK(ecode2)) {
13162 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13163 }
13164 arg2 = static_cast< int >(val2);
13165 }
13166 {
13167 if (!wxPyCheckForApp()) SWIG_fail;
13168 PyThreadState* __tstate = wxPyBeginAllowThreads();
13169 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
13170 wxPyEndAllowThreads(__tstate);
13171 if (PyErr_Occurred()) SWIG_fail;
13172 }
13173 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_NEW | 0 );
13174 return resultobj;
13175 fail:
13176 return NULL;
13177 }
13178
13179
13180 SWIGINTERN PyObject *_wrap_new_PrePopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13181 PyObject *resultobj = 0;
13182 wxPyPopupTransientWindow *result = 0 ;
13183
13184 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail;
13185 {
13186 if (!wxPyCheckForApp()) SWIG_fail;
13187 PyThreadState* __tstate = wxPyBeginAllowThreads();
13188 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
13189 wxPyEndAllowThreads(__tstate);
13190 if (PyErr_Occurred()) SWIG_fail;
13191 }
13192 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_OWN | 0 );
13193 return resultobj;
13194 fail:
13195 return NULL;
13196 }
13197
13198
13199 SWIGINTERN PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13200 PyObject *resultobj = 0;
13201 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13202 PyObject *arg2 = (PyObject *) 0 ;
13203 PyObject *arg3 = (PyObject *) 0 ;
13204 void *argp1 = 0 ;
13205 int res1 = 0 ;
13206 PyObject * obj0 = 0 ;
13207 PyObject * obj1 = 0 ;
13208 PyObject * obj2 = 0 ;
13209 char * kwnames[] = {
13210 (char *) "self",(char *) "self",(char *) "_class", NULL
13211 };
13212
13213 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13214 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13215 if (!SWIG_IsOK(res1)) {
13216 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13217 }
13218 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13219 arg2 = obj1;
13220 arg3 = obj2;
13221 {
13222 PyThreadState* __tstate = wxPyBeginAllowThreads();
13223 (arg1)->_setCallbackInfo(arg2,arg3);
13224 wxPyEndAllowThreads(__tstate);
13225 if (PyErr_Occurred()) SWIG_fail;
13226 }
13227 resultobj = SWIG_Py_Void();
13228 return resultobj;
13229 fail:
13230 return NULL;
13231 }
13232
13233
13234 SWIGINTERN PyObject *_wrap_PopupTransientWindow_Popup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13235 PyObject *resultobj = 0;
13236 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13237 wxWindow *arg2 = (wxWindow *) NULL ;
13238 void *argp1 = 0 ;
13239 int res1 = 0 ;
13240 void *argp2 = 0 ;
13241 int res2 = 0 ;
13242 PyObject * obj0 = 0 ;
13243 PyObject * obj1 = 0 ;
13244 char * kwnames[] = {
13245 (char *) "self",(char *) "focus", NULL
13246 };
13247
13248 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) SWIG_fail;
13249 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13250 if (!SWIG_IsOK(res1)) {
13251 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13252 }
13253 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13254 if (obj1) {
13255 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13256 if (!SWIG_IsOK(res2)) {
13257 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");
13258 }
13259 arg2 = reinterpret_cast< wxWindow * >(argp2);
13260 }
13261 {
13262 PyThreadState* __tstate = wxPyBeginAllowThreads();
13263 (arg1)->Popup(arg2);
13264 wxPyEndAllowThreads(__tstate);
13265 if (PyErr_Occurred()) SWIG_fail;
13266 }
13267 resultobj = SWIG_Py_Void();
13268 return resultobj;
13269 fail:
13270 return NULL;
13271 }
13272
13273
13274 SWIGINTERN PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13275 PyObject *resultobj = 0;
13276 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13277 void *argp1 = 0 ;
13278 int res1 = 0 ;
13279 PyObject *swig_obj[1] ;
13280
13281 if (!args) SWIG_fail;
13282 swig_obj[0] = args;
13283 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13284 if (!SWIG_IsOK(res1)) {
13285 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13286 }
13287 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13288 {
13289 PyThreadState* __tstate = wxPyBeginAllowThreads();
13290 (arg1)->Dismiss();
13291 wxPyEndAllowThreads(__tstate);
13292 if (PyErr_Occurred()) SWIG_fail;
13293 }
13294 resultobj = SWIG_Py_Void();
13295 return resultobj;
13296 fail:
13297 return NULL;
13298 }
13299
13300
13301 SWIGINTERN PyObject *PopupTransientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13302 PyObject *obj;
13303 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13304 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_NewClientData(obj));
13305 return SWIG_Py_Void();
13306 }
13307
13308 SWIGINTERN PyObject *PopupTransientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13309 return SWIG_Python_InitShadowInstance(args);
13310 }
13311
13312 SWIGINTERN PyObject *_wrap_new_TipWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13313 PyObject *resultobj = 0;
13314 wxWindow *arg1 = (wxWindow *) 0 ;
13315 wxString *arg2 = 0 ;
13316 int arg3 = (int) 100 ;
13317 wxRect *arg4 = (wxRect *) NULL ;
13318 wxTipWindow *result = 0 ;
13319 void *argp1 = 0 ;
13320 int res1 = 0 ;
13321 bool temp2 = false ;
13322 int val3 ;
13323 int ecode3 = 0 ;
13324 void *argp4 = 0 ;
13325 int res4 = 0 ;
13326 PyObject * obj0 = 0 ;
13327 PyObject * obj1 = 0 ;
13328 PyObject * obj2 = 0 ;
13329 PyObject * obj3 = 0 ;
13330 char * kwnames[] = {
13331 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13332 };
13333
13334 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13335 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13336 if (!SWIG_IsOK(res1)) {
13337 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13338 }
13339 arg1 = reinterpret_cast< wxWindow * >(argp1);
13340 {
13341 arg2 = wxString_in_helper(obj1);
13342 if (arg2 == NULL) SWIG_fail;
13343 temp2 = true;
13344 }
13345 if (obj2) {
13346 ecode3 = SWIG_AsVal_int(obj2, &val3);
13347 if (!SWIG_IsOK(ecode3)) {
13348 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13349 }
13350 arg3 = static_cast< int >(val3);
13351 }
13352 if (obj3) {
13353 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxRect, 0 | 0 );
13354 if (!SWIG_IsOK(res4)) {
13355 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13356 }
13357 arg4 = reinterpret_cast< wxRect * >(argp4);
13358 }
13359 {
13360 if (!wxPyCheckForApp()) SWIG_fail;
13361 PyThreadState* __tstate = wxPyBeginAllowThreads();
13362 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
13363 wxPyEndAllowThreads(__tstate);
13364 if (PyErr_Occurred()) SWIG_fail;
13365 }
13366 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTipWindow, SWIG_POINTER_NEW | 0 );
13367 {
13368 if (temp2)
13369 delete arg2;
13370 }
13371 return resultobj;
13372 fail:
13373 {
13374 if (temp2)
13375 delete arg2;
13376 }
13377 return NULL;
13378 }
13379
13380
13381 SWIGINTERN PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13382 PyObject *resultobj = 0;
13383 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13384 wxRect *arg2 = 0 ;
13385 void *argp1 = 0 ;
13386 int res1 = 0 ;
13387 wxRect temp2 ;
13388 PyObject * obj0 = 0 ;
13389 PyObject * obj1 = 0 ;
13390 char * kwnames[] = {
13391 (char *) "self",(char *) "rectBound", NULL
13392 };
13393
13394 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) SWIG_fail;
13395 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13396 if (!SWIG_IsOK(res1)) {
13397 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13398 }
13399 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13400 {
13401 arg2 = &temp2;
13402 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
13403 }
13404 {
13405 PyThreadState* __tstate = wxPyBeginAllowThreads();
13406 (arg1)->SetBoundingRect((wxRect const &)*arg2);
13407 wxPyEndAllowThreads(__tstate);
13408 if (PyErr_Occurred()) SWIG_fail;
13409 }
13410 resultobj = SWIG_Py_Void();
13411 return resultobj;
13412 fail:
13413 return NULL;
13414 }
13415
13416
13417 SWIGINTERN PyObject *_wrap_TipWindow_Close(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13418 PyObject *resultobj = 0;
13419 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13420 void *argp1 = 0 ;
13421 int res1 = 0 ;
13422 PyObject *swig_obj[1] ;
13423
13424 if (!args) SWIG_fail;
13425 swig_obj[0] = args;
13426 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13427 if (!SWIG_IsOK(res1)) {
13428 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13429 }
13430 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13431 {
13432 PyThreadState* __tstate = wxPyBeginAllowThreads();
13433 (arg1)->Close();
13434 wxPyEndAllowThreads(__tstate);
13435 if (PyErr_Occurred()) SWIG_fail;
13436 }
13437 resultobj = SWIG_Py_Void();
13438 return resultobj;
13439 fail:
13440 return NULL;
13441 }
13442
13443
13444 SWIGINTERN PyObject *TipWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13445 PyObject *obj;
13446 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13447 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow, SWIG_NewClientData(obj));
13448 return SWIG_Py_Void();
13449 }
13450
13451 SWIGINTERN PyObject *TipWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13452 return SWIG_Python_InitShadowInstance(args);
13453 }
13454
13455 SWIGINTERN PyObject *_wrap_new_VScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13456 PyObject *resultobj = 0;
13457 wxWindow *arg1 = (wxWindow *) 0 ;
13458 int arg2 = (int) wxID_ANY ;
13459 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13460 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13461 wxSize const &arg4_defvalue = wxDefaultSize ;
13462 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13463 long arg5 = (long) 0 ;
13464 wxString const &arg6_defvalue = wxPyPanelNameStr ;
13465 wxString *arg6 = (wxString *) &arg6_defvalue ;
13466 wxPyVScrolledWindow *result = 0 ;
13467 void *argp1 = 0 ;
13468 int res1 = 0 ;
13469 int val2 ;
13470 int ecode2 = 0 ;
13471 wxPoint temp3 ;
13472 wxSize temp4 ;
13473 long val5 ;
13474 int ecode5 = 0 ;
13475 bool temp6 = false ;
13476 PyObject * obj0 = 0 ;
13477 PyObject * obj1 = 0 ;
13478 PyObject * obj2 = 0 ;
13479 PyObject * obj3 = 0 ;
13480 PyObject * obj4 = 0 ;
13481 PyObject * obj5 = 0 ;
13482 char * kwnames[] = {
13483 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13484 };
13485
13486 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
13487 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13488 if (!SWIG_IsOK(res1)) {
13489 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13490 }
13491 arg1 = reinterpret_cast< wxWindow * >(argp1);
13492 if (obj1) {
13493 ecode2 = SWIG_AsVal_int(obj1, &val2);
13494 if (!SWIG_IsOK(ecode2)) {
13495 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13496 }
13497 arg2 = static_cast< int >(val2);
13498 }
13499 if (obj2) {
13500 {
13501 arg3 = &temp3;
13502 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13503 }
13504 }
13505 if (obj3) {
13506 {
13507 arg4 = &temp4;
13508 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13509 }
13510 }
13511 if (obj4) {
13512 ecode5 = SWIG_AsVal_long(obj4, &val5);
13513 if (!SWIG_IsOK(ecode5)) {
13514 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13515 }
13516 arg5 = static_cast< long >(val5);
13517 }
13518 if (obj5) {
13519 {
13520 arg6 = wxString_in_helper(obj5);
13521 if (arg6 == NULL) SWIG_fail;
13522 temp6 = true;
13523 }
13524 }
13525 {
13526 if (!wxPyCheckForApp()) SWIG_fail;
13527 PyThreadState* __tstate = wxPyBeginAllowThreads();
13528 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13529 wxPyEndAllowThreads(__tstate);
13530 if (PyErr_Occurred()) SWIG_fail;
13531 }
13532 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_NEW | 0 );
13533 {
13534 if (temp6)
13535 delete arg6;
13536 }
13537 return resultobj;
13538 fail:
13539 {
13540 if (temp6)
13541 delete arg6;
13542 }
13543 return NULL;
13544 }
13545
13546
13547 SWIGINTERN PyObject *_wrap_new_PreVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13548 PyObject *resultobj = 0;
13549 wxPyVScrolledWindow *result = 0 ;
13550
13551 if (!SWIG_Python_UnpackTuple(args,"new_PreVScrolledWindow",0,0,0)) SWIG_fail;
13552 {
13553 if (!wxPyCheckForApp()) SWIG_fail;
13554 PyThreadState* __tstate = wxPyBeginAllowThreads();
13555 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
13556 wxPyEndAllowThreads(__tstate);
13557 if (PyErr_Occurred()) SWIG_fail;
13558 }
13559 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_OWN | 0 );
13560 return resultobj;
13561 fail:
13562 return NULL;
13563 }
13564
13565
13566 SWIGINTERN PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13567 PyObject *resultobj = 0;
13568 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13569 PyObject *arg2 = (PyObject *) 0 ;
13570 PyObject *arg3 = (PyObject *) 0 ;
13571 void *argp1 = 0 ;
13572 int res1 = 0 ;
13573 PyObject * obj0 = 0 ;
13574 PyObject * obj1 = 0 ;
13575 PyObject * obj2 = 0 ;
13576 char * kwnames[] = {
13577 (char *) "self",(char *) "self",(char *) "_class", NULL
13578 };
13579
13580 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13581 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13582 if (!SWIG_IsOK(res1)) {
13583 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13584 }
13585 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13586 arg2 = obj1;
13587 arg3 = obj2;
13588 {
13589 PyThreadState* __tstate = wxPyBeginAllowThreads();
13590 (arg1)->_setCallbackInfo(arg2,arg3);
13591 wxPyEndAllowThreads(__tstate);
13592 if (PyErr_Occurred()) SWIG_fail;
13593 }
13594 resultobj = SWIG_Py_Void();
13595 return resultobj;
13596 fail:
13597 return NULL;
13598 }
13599
13600
13601 SWIGINTERN PyObject *_wrap_VScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13602 PyObject *resultobj = 0;
13603 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13604 wxWindow *arg2 = (wxWindow *) 0 ;
13605 int arg3 = (int) wxID_ANY ;
13606 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13607 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13608 wxSize const &arg5_defvalue = wxDefaultSize ;
13609 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13610 long arg6 = (long) 0 ;
13611 wxString const &arg7_defvalue = wxPyPanelNameStr ;
13612 wxString *arg7 = (wxString *) &arg7_defvalue ;
13613 bool result;
13614 void *argp1 = 0 ;
13615 int res1 = 0 ;
13616 void *argp2 = 0 ;
13617 int res2 = 0 ;
13618 int val3 ;
13619 int ecode3 = 0 ;
13620 wxPoint temp4 ;
13621 wxSize temp5 ;
13622 long val6 ;
13623 int ecode6 = 0 ;
13624 bool temp7 = false ;
13625 PyObject * obj0 = 0 ;
13626 PyObject * obj1 = 0 ;
13627 PyObject * obj2 = 0 ;
13628 PyObject * obj3 = 0 ;
13629 PyObject * obj4 = 0 ;
13630 PyObject * obj5 = 0 ;
13631 PyObject * obj6 = 0 ;
13632 char * kwnames[] = {
13633 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13634 };
13635
13636 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
13637 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13638 if (!SWIG_IsOK(res1)) {
13639 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13640 }
13641 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13642 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13643 if (!SWIG_IsOK(res2)) {
13644 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13645 }
13646 arg2 = reinterpret_cast< wxWindow * >(argp2);
13647 if (obj2) {
13648 ecode3 = SWIG_AsVal_int(obj2, &val3);
13649 if (!SWIG_IsOK(ecode3)) {
13650 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13651 }
13652 arg3 = static_cast< int >(val3);
13653 }
13654 if (obj3) {
13655 {
13656 arg4 = &temp4;
13657 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13658 }
13659 }
13660 if (obj4) {
13661 {
13662 arg5 = &temp5;
13663 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13664 }
13665 }
13666 if (obj5) {
13667 ecode6 = SWIG_AsVal_long(obj5, &val6);
13668 if (!SWIG_IsOK(ecode6)) {
13669 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13670 }
13671 arg6 = static_cast< long >(val6);
13672 }
13673 if (obj6) {
13674 {
13675 arg7 = wxString_in_helper(obj6);
13676 if (arg7 == NULL) SWIG_fail;
13677 temp7 = true;
13678 }
13679 }
13680 {
13681 PyThreadState* __tstate = wxPyBeginAllowThreads();
13682 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13683 wxPyEndAllowThreads(__tstate);
13684 if (PyErr_Occurred()) SWIG_fail;
13685 }
13686 {
13687 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13688 }
13689 {
13690 if (temp7)
13691 delete arg7;
13692 }
13693 return resultobj;
13694 fail:
13695 {
13696 if (temp7)
13697 delete arg7;
13698 }
13699 return NULL;
13700 }
13701
13702
13703 SWIGINTERN PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13704 PyObject *resultobj = 0;
13705 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13706 size_t arg2 ;
13707 void *argp1 = 0 ;
13708 int res1 = 0 ;
13709 size_t val2 ;
13710 int ecode2 = 0 ;
13711 PyObject * obj0 = 0 ;
13712 PyObject * obj1 = 0 ;
13713 char * kwnames[] = {
13714 (char *) "self",(char *) "count", NULL
13715 };
13716
13717 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) SWIG_fail;
13718 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13719 if (!SWIG_IsOK(res1)) {
13720 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13721 }
13722 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13723 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13724 if (!SWIG_IsOK(ecode2)) {
13725 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13726 }
13727 arg2 = static_cast< size_t >(val2);
13728 {
13729 PyThreadState* __tstate = wxPyBeginAllowThreads();
13730 (arg1)->SetLineCount(arg2);
13731 wxPyEndAllowThreads(__tstate);
13732 if (PyErr_Occurred()) SWIG_fail;
13733 }
13734 resultobj = SWIG_Py_Void();
13735 return resultobj;
13736 fail:
13737 return NULL;
13738 }
13739
13740
13741 SWIGINTERN PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13742 PyObject *resultobj = 0;
13743 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13744 size_t arg2 ;
13745 bool result;
13746 void *argp1 = 0 ;
13747 int res1 = 0 ;
13748 size_t val2 ;
13749 int ecode2 = 0 ;
13750 PyObject * obj0 = 0 ;
13751 PyObject * obj1 = 0 ;
13752 char * kwnames[] = {
13753 (char *) "self",(char *) "line", NULL
13754 };
13755
13756 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) SWIG_fail;
13757 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13758 if (!SWIG_IsOK(res1)) {
13759 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13760 }
13761 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13762 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13763 if (!SWIG_IsOK(ecode2)) {
13764 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13765 }
13766 arg2 = static_cast< size_t >(val2);
13767 {
13768 PyThreadState* __tstate = wxPyBeginAllowThreads();
13769 result = (bool)(arg1)->ScrollToLine(arg2);
13770 wxPyEndAllowThreads(__tstate);
13771 if (PyErr_Occurred()) SWIG_fail;
13772 }
13773 {
13774 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13775 }
13776 return resultobj;
13777 fail:
13778 return NULL;
13779 }
13780
13781
13782 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13783 PyObject *resultobj = 0;
13784 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13785 size_t arg2 ;
13786 void *argp1 = 0 ;
13787 int res1 = 0 ;
13788 size_t val2 ;
13789 int ecode2 = 0 ;
13790 PyObject * obj0 = 0 ;
13791 PyObject * obj1 = 0 ;
13792 char * kwnames[] = {
13793 (char *) "self",(char *) "line", NULL
13794 };
13795
13796 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) SWIG_fail;
13797 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13798 if (!SWIG_IsOK(res1)) {
13799 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13800 }
13801 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13802 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13803 if (!SWIG_IsOK(ecode2)) {
13804 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13805 }
13806 arg2 = static_cast< size_t >(val2);
13807 {
13808 PyThreadState* __tstate = wxPyBeginAllowThreads();
13809 (arg1)->RefreshLine(arg2);
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_RefreshLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13821 PyObject *resultobj = 0;
13822 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13823 size_t arg2 ;
13824 size_t arg3 ;
13825 void *argp1 = 0 ;
13826 int res1 = 0 ;
13827 size_t val2 ;
13828 int ecode2 = 0 ;
13829 size_t val3 ;
13830 int ecode3 = 0 ;
13831 PyObject * obj0 = 0 ;
13832 PyObject * obj1 = 0 ;
13833 PyObject * obj2 = 0 ;
13834 char * kwnames[] = {
13835 (char *) "self",(char *) "from",(char *) "to", NULL
13836 };
13837
13838 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13839 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13840 if (!SWIG_IsOK(res1)) {
13841 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13842 }
13843 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13844 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13845 if (!SWIG_IsOK(ecode2)) {
13846 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
13847 }
13848 arg2 = static_cast< size_t >(val2);
13849 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
13850 if (!SWIG_IsOK(ecode3)) {
13851 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
13852 }
13853 arg3 = static_cast< size_t >(val3);
13854 {
13855 PyThreadState* __tstate = wxPyBeginAllowThreads();
13856 (arg1)->RefreshLines(arg2,arg3);
13857 wxPyEndAllowThreads(__tstate);
13858 if (PyErr_Occurred()) SWIG_fail;
13859 }
13860 resultobj = SWIG_Py_Void();
13861 return resultobj;
13862 fail:
13863 return NULL;
13864 }
13865
13866
13867 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13868 PyObject *resultobj = 0;
13869 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13870 int arg2 ;
13871 int arg3 ;
13872 int result;
13873 void *argp1 = 0 ;
13874 int res1 = 0 ;
13875 int val2 ;
13876 int ecode2 = 0 ;
13877 int val3 ;
13878 int ecode3 = 0 ;
13879 PyObject * obj0 = 0 ;
13880 PyObject * obj1 = 0 ;
13881 PyObject * obj2 = 0 ;
13882 char * kwnames[] = {
13883 (char *) "self",(char *) "x",(char *) "y", NULL
13884 };
13885
13886 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13887 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13888 if (!SWIG_IsOK(res1)) {
13889 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13890 }
13891 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13892 ecode2 = SWIG_AsVal_int(obj1, &val2);
13893 if (!SWIG_IsOK(ecode2)) {
13894 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
13895 }
13896 arg2 = static_cast< int >(val2);
13897 ecode3 = SWIG_AsVal_int(obj2, &val3);
13898 if (!SWIG_IsOK(ecode3)) {
13899 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
13900 }
13901 arg3 = static_cast< int >(val3);
13902 {
13903 PyThreadState* __tstate = wxPyBeginAllowThreads();
13904 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
13905 wxPyEndAllowThreads(__tstate);
13906 if (PyErr_Occurred()) SWIG_fail;
13907 }
13908 resultobj = SWIG_From_int(static_cast< int >(result));
13909 return resultobj;
13910 fail:
13911 return NULL;
13912 }
13913
13914
13915 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13916 PyObject *resultobj = 0;
13917 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13918 wxPoint *arg2 = 0 ;
13919 int result;
13920 void *argp1 = 0 ;
13921 int res1 = 0 ;
13922 wxPoint temp2 ;
13923 PyObject * obj0 = 0 ;
13924 PyObject * obj1 = 0 ;
13925 char * kwnames[] = {
13926 (char *) "self",(char *) "pt", NULL
13927 };
13928
13929 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
13930 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13931 if (!SWIG_IsOK(res1)) {
13932 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13933 }
13934 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13935 {
13936 arg2 = &temp2;
13937 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13938 }
13939 {
13940 PyThreadState* __tstate = wxPyBeginAllowThreads();
13941 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
13942 wxPyEndAllowThreads(__tstate);
13943 if (PyErr_Occurred()) SWIG_fail;
13944 }
13945 resultobj = SWIG_From_int(static_cast< int >(result));
13946 return resultobj;
13947 fail:
13948 return NULL;
13949 }
13950
13951
13952 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13953 PyObject *resultobj = 0;
13954 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13955 void *argp1 = 0 ;
13956 int res1 = 0 ;
13957 PyObject *swig_obj[1] ;
13958
13959 if (!args) SWIG_fail;
13960 swig_obj[0] = args;
13961 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13962 if (!SWIG_IsOK(res1)) {
13963 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13964 }
13965 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13966 {
13967 PyThreadState* __tstate = wxPyBeginAllowThreads();
13968 (arg1)->RefreshAll();
13969 wxPyEndAllowThreads(__tstate);
13970 if (PyErr_Occurred()) SWIG_fail;
13971 }
13972 resultobj = SWIG_Py_Void();
13973 return resultobj;
13974 fail:
13975 return NULL;
13976 }
13977
13978
13979 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13980 PyObject *resultobj = 0;
13981 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13982 size_t result;
13983 void *argp1 = 0 ;
13984 int res1 = 0 ;
13985 PyObject *swig_obj[1] ;
13986
13987 if (!args) SWIG_fail;
13988 swig_obj[0] = args;
13989 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13990 if (!SWIG_IsOK(res1)) {
13991 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13992 }
13993 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13994 {
13995 PyThreadState* __tstate = wxPyBeginAllowThreads();
13996 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
13997 wxPyEndAllowThreads(__tstate);
13998 if (PyErr_Occurred()) SWIG_fail;
13999 }
14000 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14001 return resultobj;
14002 fail:
14003 return NULL;
14004 }
14005
14006
14007 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14008 PyObject *resultobj = 0;
14009 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14010 size_t result;
14011 void *argp1 = 0 ;
14012 int res1 = 0 ;
14013 PyObject *swig_obj[1] ;
14014
14015 if (!args) SWIG_fail;
14016 swig_obj[0] = args;
14017 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14018 if (!SWIG_IsOK(res1)) {
14019 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14020 }
14021 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14022 {
14023 PyThreadState* __tstate = wxPyBeginAllowThreads();
14024 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleBegin();
14025 wxPyEndAllowThreads(__tstate);
14026 if (PyErr_Occurred()) SWIG_fail;
14027 }
14028 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14029 return resultobj;
14030 fail:
14031 return NULL;
14032 }
14033
14034
14035 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14036 PyObject *resultobj = 0;
14037 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14038 size_t result;
14039 void *argp1 = 0 ;
14040 int res1 = 0 ;
14041 PyObject *swig_obj[1] ;
14042
14043 if (!args) SWIG_fail;
14044 swig_obj[0] = args;
14045 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14046 if (!SWIG_IsOK(res1)) {
14047 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14048 }
14049 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14050 {
14051 PyThreadState* __tstate = wxPyBeginAllowThreads();
14052 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleEnd();
14053 wxPyEndAllowThreads(__tstate);
14054 if (PyErr_Occurred()) SWIG_fail;
14055 }
14056 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14057 return resultobj;
14058 fail:
14059 return NULL;
14060 }
14061
14062
14063 SWIGINTERN PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14064 PyObject *resultobj = 0;
14065 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14066 size_t arg2 ;
14067 bool result;
14068 void *argp1 = 0 ;
14069 int res1 = 0 ;
14070 size_t val2 ;
14071 int ecode2 = 0 ;
14072 PyObject * obj0 = 0 ;
14073 PyObject * obj1 = 0 ;
14074 char * kwnames[] = {
14075 (char *) "self",(char *) "line", NULL
14076 };
14077
14078 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
14079 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14080 if (!SWIG_IsOK(res1)) {
14081 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14082 }
14083 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14084 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14085 if (!SWIG_IsOK(ecode2)) {
14086 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14087 }
14088 arg2 = static_cast< size_t >(val2);
14089 {
14090 PyThreadState* __tstate = wxPyBeginAllowThreads();
14091 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
14092 wxPyEndAllowThreads(__tstate);
14093 if (PyErr_Occurred()) SWIG_fail;
14094 }
14095 {
14096 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14097 }
14098 return resultobj;
14099 fail:
14100 return NULL;
14101 }
14102
14103
14104 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14105 PyObject *resultobj = 0;
14106 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14107 size_t result;
14108 void *argp1 = 0 ;
14109 int res1 = 0 ;
14110 PyObject *swig_obj[1] ;
14111
14112 if (!args) SWIG_fail;
14113 swig_obj[0] = args;
14114 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14115 if (!SWIG_IsOK(res1)) {
14116 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14117 }
14118 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14119 {
14120 PyThreadState* __tstate = wxPyBeginAllowThreads();
14121 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
14122 wxPyEndAllowThreads(__tstate);
14123 if (PyErr_Occurred()) SWIG_fail;
14124 }
14125 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14126 return resultobj;
14127 fail:
14128 return NULL;
14129 }
14130
14131
14132 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14133 PyObject *resultobj = 0;
14134 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14135 size_t result;
14136 void *argp1 = 0 ;
14137 int res1 = 0 ;
14138 PyObject *swig_obj[1] ;
14139
14140 if (!args) SWIG_fail;
14141 swig_obj[0] = args;
14142 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14143 if (!SWIG_IsOK(res1)) {
14144 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14145 }
14146 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14147 {
14148 PyThreadState* __tstate = wxPyBeginAllowThreads();
14149 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
14150 wxPyEndAllowThreads(__tstate);
14151 if (PyErr_Occurred()) SWIG_fail;
14152 }
14153 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14154 return resultobj;
14155 fail:
14156 return NULL;
14157 }
14158
14159
14160 SWIGINTERN PyObject *_wrap_VScrolledWindow_FindFirstFromBottom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14161 PyObject *resultobj = 0;
14162 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14163 size_t arg2 ;
14164 bool arg3 = (bool) false ;
14165 size_t result;
14166 void *argp1 = 0 ;
14167 int res1 = 0 ;
14168 size_t val2 ;
14169 int ecode2 = 0 ;
14170 bool val3 ;
14171 int ecode3 = 0 ;
14172 PyObject * obj0 = 0 ;
14173 PyObject * obj1 = 0 ;
14174 PyObject * obj2 = 0 ;
14175 char * kwnames[] = {
14176 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14177 };
14178
14179 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14180 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14181 if (!SWIG_IsOK(res1)) {
14182 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14183 }
14184 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14185 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14186 if (!SWIG_IsOK(ecode2)) {
14187 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14188 }
14189 arg2 = static_cast< size_t >(val2);
14190 if (obj2) {
14191 ecode3 = SWIG_AsVal_bool(obj2, &val3);
14192 if (!SWIG_IsOK(ecode3)) {
14193 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14194 }
14195 arg3 = static_cast< bool >(val3);
14196 }
14197 {
14198 PyThreadState* __tstate = wxPyBeginAllowThreads();
14199 result = (size_t)(arg1)->FindFirstFromBottom(arg2,arg3);
14200 wxPyEndAllowThreads(__tstate);
14201 if (PyErr_Occurred()) SWIG_fail;
14202 }
14203 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14204 return resultobj;
14205 fail:
14206 return NULL;
14207 }
14208
14209
14210 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLinesHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14211 PyObject *resultobj = 0;
14212 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14213 size_t arg2 ;
14214 size_t arg3 ;
14215 int result;
14216 void *argp1 = 0 ;
14217 int res1 = 0 ;
14218 size_t val2 ;
14219 int ecode2 = 0 ;
14220 size_t val3 ;
14221 int ecode3 = 0 ;
14222 PyObject * obj0 = 0 ;
14223 PyObject * obj1 = 0 ;
14224 PyObject * obj2 = 0 ;
14225 char * kwnames[] = {
14226 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14227 };
14228
14229 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14230 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14231 if (!SWIG_IsOK(res1)) {
14232 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14233 }
14234 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14235 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14236 if (!SWIG_IsOK(ecode2)) {
14237 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14238 }
14239 arg2 = static_cast< size_t >(val2);
14240 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14241 if (!SWIG_IsOK(ecode3)) {
14242 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14243 }
14244 arg3 = static_cast< size_t >(val3);
14245 {
14246 PyThreadState* __tstate = wxPyBeginAllowThreads();
14247 result = (int)((wxPyVScrolledWindow const *)arg1)->GetLinesHeight(arg2,arg3);
14248 wxPyEndAllowThreads(__tstate);
14249 if (PyErr_Occurred()) SWIG_fail;
14250 }
14251 resultobj = SWIG_From_int(static_cast< int >(result));
14252 return resultobj;
14253 fail:
14254 return NULL;
14255 }
14256
14257
14258 SWIGINTERN PyObject *VScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14259 PyObject *obj;
14260 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14261 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow, SWIG_NewClientData(obj));
14262 return SWIG_Py_Void();
14263 }
14264
14265 SWIGINTERN PyObject *VScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14266 return SWIG_Python_InitShadowInstance(args);
14267 }
14268
14269 SWIGINTERN int VListBoxNameStr_set(PyObject *) {
14270 SWIG_Error(SWIG_AttributeError,"Variable VListBoxNameStr is read-only.");
14271 return 1;
14272 }
14273
14274
14275 SWIGINTERN PyObject *VListBoxNameStr_get(void) {
14276 PyObject *pyobj = 0;
14277
14278 {
14279 #if wxUSE_UNICODE
14280 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14281 #else
14282 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14283 #endif
14284 }
14285 return pyobj;
14286 }
14287
14288
14289 SWIGINTERN PyObject *_wrap_new_VListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14290 PyObject *resultobj = 0;
14291 wxWindow *arg1 = (wxWindow *) 0 ;
14292 int arg2 = (int) wxID_ANY ;
14293 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14294 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14295 wxSize const &arg4_defvalue = wxDefaultSize ;
14296 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14297 long arg5 = (long) 0 ;
14298 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
14299 wxString *arg6 = (wxString *) &arg6_defvalue ;
14300 wxPyVListBox *result = 0 ;
14301 void *argp1 = 0 ;
14302 int res1 = 0 ;
14303 int val2 ;
14304 int ecode2 = 0 ;
14305 wxPoint temp3 ;
14306 wxSize temp4 ;
14307 long val5 ;
14308 int ecode5 = 0 ;
14309 bool temp6 = false ;
14310 PyObject * obj0 = 0 ;
14311 PyObject * obj1 = 0 ;
14312 PyObject * obj2 = 0 ;
14313 PyObject * obj3 = 0 ;
14314 PyObject * obj4 = 0 ;
14315 PyObject * obj5 = 0 ;
14316 char * kwnames[] = {
14317 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14318 };
14319
14320 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
14321 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14322 if (!SWIG_IsOK(res1)) {
14323 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14324 }
14325 arg1 = reinterpret_cast< wxWindow * >(argp1);
14326 if (obj1) {
14327 ecode2 = SWIG_AsVal_int(obj1, &val2);
14328 if (!SWIG_IsOK(ecode2)) {
14329 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14330 }
14331 arg2 = static_cast< int >(val2);
14332 }
14333 if (obj2) {
14334 {
14335 arg3 = &temp3;
14336 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14337 }
14338 }
14339 if (obj3) {
14340 {
14341 arg4 = &temp4;
14342 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14343 }
14344 }
14345 if (obj4) {
14346 ecode5 = SWIG_AsVal_long(obj4, &val5);
14347 if (!SWIG_IsOK(ecode5)) {
14348 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14349 }
14350 arg5 = static_cast< long >(val5);
14351 }
14352 if (obj5) {
14353 {
14354 arg6 = wxString_in_helper(obj5);
14355 if (arg6 == NULL) SWIG_fail;
14356 temp6 = true;
14357 }
14358 }
14359 {
14360 if (!wxPyCheckForApp()) SWIG_fail;
14361 PyThreadState* __tstate = wxPyBeginAllowThreads();
14362 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14363 wxPyEndAllowThreads(__tstate);
14364 if (PyErr_Occurred()) SWIG_fail;
14365 }
14366 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_NEW | 0 );
14367 {
14368 if (temp6)
14369 delete arg6;
14370 }
14371 return resultobj;
14372 fail:
14373 {
14374 if (temp6)
14375 delete arg6;
14376 }
14377 return NULL;
14378 }
14379
14380
14381 SWIGINTERN PyObject *_wrap_new_PreVListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14382 PyObject *resultobj = 0;
14383 wxPyVListBox *result = 0 ;
14384
14385 if (!SWIG_Python_UnpackTuple(args,"new_PreVListBox",0,0,0)) SWIG_fail;
14386 {
14387 if (!wxPyCheckForApp()) SWIG_fail;
14388 PyThreadState* __tstate = wxPyBeginAllowThreads();
14389 result = (wxPyVListBox *)new wxPyVListBox();
14390 wxPyEndAllowThreads(__tstate);
14391 if (PyErr_Occurred()) SWIG_fail;
14392 }
14393 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_OWN | 0 );
14394 return resultobj;
14395 fail:
14396 return NULL;
14397 }
14398
14399
14400 SWIGINTERN PyObject *_wrap_VListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14401 PyObject *resultobj = 0;
14402 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14403 PyObject *arg2 = (PyObject *) 0 ;
14404 PyObject *arg3 = (PyObject *) 0 ;
14405 void *argp1 = 0 ;
14406 int res1 = 0 ;
14407 PyObject * obj0 = 0 ;
14408 PyObject * obj1 = 0 ;
14409 PyObject * obj2 = 0 ;
14410 char * kwnames[] = {
14411 (char *) "self",(char *) "self",(char *) "_class", NULL
14412 };
14413
14414 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14415 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14416 if (!SWIG_IsOK(res1)) {
14417 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14418 }
14419 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14420 arg2 = obj1;
14421 arg3 = obj2;
14422 {
14423 PyThreadState* __tstate = wxPyBeginAllowThreads();
14424 (arg1)->_setCallbackInfo(arg2,arg3);
14425 wxPyEndAllowThreads(__tstate);
14426 if (PyErr_Occurred()) SWIG_fail;
14427 }
14428 resultobj = SWIG_Py_Void();
14429 return resultobj;
14430 fail:
14431 return NULL;
14432 }
14433
14434
14435 SWIGINTERN PyObject *_wrap_VListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14436 PyObject *resultobj = 0;
14437 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14438 wxWindow *arg2 = (wxWindow *) 0 ;
14439 int arg3 = (int) wxID_ANY ;
14440 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14441 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14442 wxSize const &arg5_defvalue = wxDefaultSize ;
14443 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14444 long arg6 = (long) 0 ;
14445 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
14446 wxString *arg7 = (wxString *) &arg7_defvalue ;
14447 bool result;
14448 void *argp1 = 0 ;
14449 int res1 = 0 ;
14450 void *argp2 = 0 ;
14451 int res2 = 0 ;
14452 int val3 ;
14453 int ecode3 = 0 ;
14454 wxPoint temp4 ;
14455 wxSize temp5 ;
14456 long val6 ;
14457 int ecode6 = 0 ;
14458 bool temp7 = false ;
14459 PyObject * obj0 = 0 ;
14460 PyObject * obj1 = 0 ;
14461 PyObject * obj2 = 0 ;
14462 PyObject * obj3 = 0 ;
14463 PyObject * obj4 = 0 ;
14464 PyObject * obj5 = 0 ;
14465 PyObject * obj6 = 0 ;
14466 char * kwnames[] = {
14467 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14468 };
14469
14470 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14471 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14472 if (!SWIG_IsOK(res1)) {
14473 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14474 }
14475 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14476 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14477 if (!SWIG_IsOK(res2)) {
14478 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14479 }
14480 arg2 = reinterpret_cast< wxWindow * >(argp2);
14481 if (obj2) {
14482 ecode3 = SWIG_AsVal_int(obj2, &val3);
14483 if (!SWIG_IsOK(ecode3)) {
14484 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14485 }
14486 arg3 = static_cast< int >(val3);
14487 }
14488 if (obj3) {
14489 {
14490 arg4 = &temp4;
14491 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14492 }
14493 }
14494 if (obj4) {
14495 {
14496 arg5 = &temp5;
14497 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14498 }
14499 }
14500 if (obj5) {
14501 ecode6 = SWIG_AsVal_long(obj5, &val6);
14502 if (!SWIG_IsOK(ecode6)) {
14503 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14504 }
14505 arg6 = static_cast< long >(val6);
14506 }
14507 if (obj6) {
14508 {
14509 arg7 = wxString_in_helper(obj6);
14510 if (arg7 == NULL) SWIG_fail;
14511 temp7 = true;
14512 }
14513 }
14514 {
14515 PyThreadState* __tstate = wxPyBeginAllowThreads();
14516 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14517 wxPyEndAllowThreads(__tstate);
14518 if (PyErr_Occurred()) SWIG_fail;
14519 }
14520 {
14521 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14522 }
14523 {
14524 if (temp7)
14525 delete arg7;
14526 }
14527 return resultobj;
14528 fail:
14529 {
14530 if (temp7)
14531 delete arg7;
14532 }
14533 return NULL;
14534 }
14535
14536
14537 SWIGINTERN PyObject *_wrap_VListBox_GetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14538 PyObject *resultobj = 0;
14539 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14540 size_t result;
14541 void *argp1 = 0 ;
14542 int res1 = 0 ;
14543 PyObject *swig_obj[1] ;
14544
14545 if (!args) SWIG_fail;
14546 swig_obj[0] = args;
14547 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14548 if (!SWIG_IsOK(res1)) {
14549 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14550 }
14551 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14552 {
14553 PyThreadState* __tstate = wxPyBeginAllowThreads();
14554 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
14555 wxPyEndAllowThreads(__tstate);
14556 if (PyErr_Occurred()) SWIG_fail;
14557 }
14558 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14559 return resultobj;
14560 fail:
14561 return NULL;
14562 }
14563
14564
14565 SWIGINTERN PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14566 PyObject *resultobj = 0;
14567 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14568 bool result;
14569 void *argp1 = 0 ;
14570 int res1 = 0 ;
14571 PyObject *swig_obj[1] ;
14572
14573 if (!args) SWIG_fail;
14574 swig_obj[0] = args;
14575 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14576 if (!SWIG_IsOK(res1)) {
14577 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14578 }
14579 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14580 {
14581 PyThreadState* __tstate = wxPyBeginAllowThreads();
14582 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
14583 wxPyEndAllowThreads(__tstate);
14584 if (PyErr_Occurred()) SWIG_fail;
14585 }
14586 {
14587 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14588 }
14589 return resultobj;
14590 fail:
14591 return NULL;
14592 }
14593
14594
14595 SWIGINTERN PyObject *_wrap_VListBox_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14596 PyObject *resultobj = 0;
14597 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14598 int result;
14599 void *argp1 = 0 ;
14600 int res1 = 0 ;
14601 PyObject *swig_obj[1] ;
14602
14603 if (!args) SWIG_fail;
14604 swig_obj[0] = args;
14605 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14606 if (!SWIG_IsOK(res1)) {
14607 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14608 }
14609 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14610 {
14611 PyThreadState* __tstate = wxPyBeginAllowThreads();
14612 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
14613 wxPyEndAllowThreads(__tstate);
14614 if (PyErr_Occurred()) SWIG_fail;
14615 }
14616 resultobj = SWIG_From_int(static_cast< int >(result));
14617 return resultobj;
14618 fail:
14619 return NULL;
14620 }
14621
14622
14623 SWIGINTERN PyObject *_wrap_VListBox_IsCurrent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14624 PyObject *resultobj = 0;
14625 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14626 size_t arg2 ;
14627 bool result;
14628 void *argp1 = 0 ;
14629 int res1 = 0 ;
14630 size_t val2 ;
14631 int ecode2 = 0 ;
14632 PyObject * obj0 = 0 ;
14633 PyObject * obj1 = 0 ;
14634 char * kwnames[] = {
14635 (char *) "self",(char *) "item", NULL
14636 };
14637
14638 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) SWIG_fail;
14639 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14640 if (!SWIG_IsOK(res1)) {
14641 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14642 }
14643 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14644 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14645 if (!SWIG_IsOK(ecode2)) {
14646 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14647 }
14648 arg2 = static_cast< size_t >(val2);
14649 {
14650 PyThreadState* __tstate = wxPyBeginAllowThreads();
14651 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
14652 wxPyEndAllowThreads(__tstate);
14653 if (PyErr_Occurred()) SWIG_fail;
14654 }
14655 {
14656 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14657 }
14658 return resultobj;
14659 fail:
14660 return NULL;
14661 }
14662
14663
14664 SWIGINTERN PyObject *_wrap_VListBox_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14665 PyObject *resultobj = 0;
14666 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14667 size_t arg2 ;
14668 bool result;
14669 void *argp1 = 0 ;
14670 int res1 = 0 ;
14671 size_t val2 ;
14672 int ecode2 = 0 ;
14673 PyObject * obj0 = 0 ;
14674 PyObject * obj1 = 0 ;
14675 char * kwnames[] = {
14676 (char *) "self",(char *) "item", NULL
14677 };
14678
14679 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14680 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14681 if (!SWIG_IsOK(res1)) {
14682 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14683 }
14684 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14685 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14686 if (!SWIG_IsOK(ecode2)) {
14687 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14688 }
14689 arg2 = static_cast< size_t >(val2);
14690 {
14691 PyThreadState* __tstate = wxPyBeginAllowThreads();
14692 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
14693 wxPyEndAllowThreads(__tstate);
14694 if (PyErr_Occurred()) SWIG_fail;
14695 }
14696 {
14697 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14698 }
14699 return resultobj;
14700 fail:
14701 return NULL;
14702 }
14703
14704
14705 SWIGINTERN PyObject *_wrap_VListBox_GetSelectedCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14706 PyObject *resultobj = 0;
14707 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14708 size_t result;
14709 void *argp1 = 0 ;
14710 int res1 = 0 ;
14711 PyObject *swig_obj[1] ;
14712
14713 if (!args) SWIG_fail;
14714 swig_obj[0] = args;
14715 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14716 if (!SWIG_IsOK(res1)) {
14717 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14718 }
14719 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14720 {
14721 PyThreadState* __tstate = wxPyBeginAllowThreads();
14722 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
14723 wxPyEndAllowThreads(__tstate);
14724 if (PyErr_Occurred()) SWIG_fail;
14725 }
14726 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14727 return resultobj;
14728 fail:
14729 return NULL;
14730 }
14731
14732
14733 SWIGINTERN PyObject *_wrap_VListBox_GetFirstSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14734 PyObject *resultobj = 0;
14735 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14736 PyObject *result = 0 ;
14737 void *argp1 = 0 ;
14738 int res1 = 0 ;
14739 PyObject *swig_obj[1] ;
14740
14741 if (!args) SWIG_fail;
14742 swig_obj[0] = args;
14743 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14744 if (!SWIG_IsOK(res1)) {
14745 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14746 }
14747 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14748 {
14749 PyThreadState* __tstate = wxPyBeginAllowThreads();
14750 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
14751 wxPyEndAllowThreads(__tstate);
14752 if (PyErr_Occurred()) SWIG_fail;
14753 }
14754 resultobj = result;
14755 return resultobj;
14756 fail:
14757 return NULL;
14758 }
14759
14760
14761 SWIGINTERN PyObject *_wrap_VListBox_GetNextSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14762 PyObject *resultobj = 0;
14763 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14764 unsigned long arg2 ;
14765 PyObject *result = 0 ;
14766 void *argp1 = 0 ;
14767 int res1 = 0 ;
14768 unsigned long val2 ;
14769 int ecode2 = 0 ;
14770 PyObject * obj0 = 0 ;
14771 PyObject * obj1 = 0 ;
14772 char * kwnames[] = {
14773 (char *) "self",(char *) "cookie", NULL
14774 };
14775
14776 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14777 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14778 if (!SWIG_IsOK(res1)) {
14779 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14780 }
14781 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14782 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
14783 if (!SWIG_IsOK(ecode2)) {
14784 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14785 }
14786 arg2 = static_cast< unsigned long >(val2);
14787 {
14788 PyThreadState* __tstate = wxPyBeginAllowThreads();
14789 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
14790 wxPyEndAllowThreads(__tstate);
14791 if (PyErr_Occurred()) SWIG_fail;
14792 }
14793 resultobj = result;
14794 return resultobj;
14795 fail:
14796 return NULL;
14797 }
14798
14799
14800 SWIGINTERN PyObject *_wrap_VListBox_GetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14801 PyObject *resultobj = 0;
14802 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14803 wxPoint result;
14804 void *argp1 = 0 ;
14805 int res1 = 0 ;
14806 PyObject *swig_obj[1] ;
14807
14808 if (!args) SWIG_fail;
14809 swig_obj[0] = args;
14810 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14811 if (!SWIG_IsOK(res1)) {
14812 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14813 }
14814 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14815 {
14816 PyThreadState* __tstate = wxPyBeginAllowThreads();
14817 result = ((wxPyVListBox const *)arg1)->GetMargins();
14818 wxPyEndAllowThreads(__tstate);
14819 if (PyErr_Occurred()) SWIG_fail;
14820 }
14821 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
14822 return resultobj;
14823 fail:
14824 return NULL;
14825 }
14826
14827
14828 SWIGINTERN PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14829 PyObject *resultobj = 0;
14830 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14831 wxColour *result = 0 ;
14832 void *argp1 = 0 ;
14833 int res1 = 0 ;
14834 PyObject *swig_obj[1] ;
14835
14836 if (!args) SWIG_fail;
14837 swig_obj[0] = args;
14838 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14839 if (!SWIG_IsOK(res1)) {
14840 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14841 }
14842 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14843 {
14844 PyThreadState* __tstate = wxPyBeginAllowThreads();
14845 {
14846 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
14847 result = (wxColour *) &_result_ref;
14848 }
14849 wxPyEndAllowThreads(__tstate);
14850 if (PyErr_Occurred()) SWIG_fail;
14851 }
14852 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
14853 return resultobj;
14854 fail:
14855 return NULL;
14856 }
14857
14858
14859 SWIGINTERN PyObject *_wrap_VListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14860 PyObject *resultobj = 0;
14861 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14862 size_t arg2 ;
14863 void *argp1 = 0 ;
14864 int res1 = 0 ;
14865 size_t val2 ;
14866 int ecode2 = 0 ;
14867 PyObject * obj0 = 0 ;
14868 PyObject * obj1 = 0 ;
14869 char * kwnames[] = {
14870 (char *) "self",(char *) "count", NULL
14871 };
14872
14873 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
14874 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14875 if (!SWIG_IsOK(res1)) {
14876 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14877 }
14878 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14879 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14880 if (!SWIG_IsOK(ecode2)) {
14881 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
14882 }
14883 arg2 = static_cast< size_t >(val2);
14884 {
14885 PyThreadState* __tstate = wxPyBeginAllowThreads();
14886 (arg1)->SetItemCount(arg2);
14887 wxPyEndAllowThreads(__tstate);
14888 if (PyErr_Occurred()) SWIG_fail;
14889 }
14890 resultobj = SWIG_Py_Void();
14891 return resultobj;
14892 fail:
14893 return NULL;
14894 }
14895
14896
14897 SWIGINTERN PyObject *_wrap_VListBox_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14898 PyObject *resultobj = 0;
14899 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14900 void *argp1 = 0 ;
14901 int res1 = 0 ;
14902 PyObject *swig_obj[1] ;
14903
14904 if (!args) SWIG_fail;
14905 swig_obj[0] = args;
14906 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14907 if (!SWIG_IsOK(res1)) {
14908 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14909 }
14910 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14911 {
14912 PyThreadState* __tstate = wxPyBeginAllowThreads();
14913 (arg1)->Clear();
14914 wxPyEndAllowThreads(__tstate);
14915 if (PyErr_Occurred()) SWIG_fail;
14916 }
14917 resultobj = SWIG_Py_Void();
14918 return resultobj;
14919 fail:
14920 return NULL;
14921 }
14922
14923
14924 SWIGINTERN PyObject *_wrap_VListBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14925 PyObject *resultobj = 0;
14926 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14927 int arg2 ;
14928 void *argp1 = 0 ;
14929 int res1 = 0 ;
14930 int val2 ;
14931 int ecode2 = 0 ;
14932 PyObject * obj0 = 0 ;
14933 PyObject * obj1 = 0 ;
14934 char * kwnames[] = {
14935 (char *) "self",(char *) "selection", NULL
14936 };
14937
14938 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
14939 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14940 if (!SWIG_IsOK(res1)) {
14941 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14942 }
14943 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14944 ecode2 = SWIG_AsVal_int(obj1, &val2);
14945 if (!SWIG_IsOK(ecode2)) {
14946 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
14947 }
14948 arg2 = static_cast< int >(val2);
14949 {
14950 PyThreadState* __tstate = wxPyBeginAllowThreads();
14951 (arg1)->SetSelection(arg2);
14952 wxPyEndAllowThreads(__tstate);
14953 if (PyErr_Occurred()) SWIG_fail;
14954 }
14955 resultobj = SWIG_Py_Void();
14956 return resultobj;
14957 fail:
14958 return NULL;
14959 }
14960
14961
14962 SWIGINTERN PyObject *_wrap_VListBox_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14963 PyObject *resultobj = 0;
14964 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14965 size_t arg2 ;
14966 bool arg3 = (bool) true ;
14967 bool result;
14968 void *argp1 = 0 ;
14969 int res1 = 0 ;
14970 size_t val2 ;
14971 int ecode2 = 0 ;
14972 bool val3 ;
14973 int ecode3 = 0 ;
14974 PyObject * obj0 = 0 ;
14975 PyObject * obj1 = 0 ;
14976 PyObject * obj2 = 0 ;
14977 char * kwnames[] = {
14978 (char *) "self",(char *) "item",(char *) "select", NULL
14979 };
14980
14981 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14982 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14983 if (!SWIG_IsOK(res1)) {
14984 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14985 }
14986 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14987 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14988 if (!SWIG_IsOK(ecode2)) {
14989 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
14990 }
14991 arg2 = static_cast< size_t >(val2);
14992 if (obj2) {
14993 ecode3 = SWIG_AsVal_bool(obj2, &val3);
14994 if (!SWIG_IsOK(ecode3)) {
14995 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
14996 }
14997 arg3 = static_cast< bool >(val3);
14998 }
14999 {
15000 PyThreadState* __tstate = wxPyBeginAllowThreads();
15001 result = (bool)(arg1)->Select(arg2,arg3);
15002 wxPyEndAllowThreads(__tstate);
15003 if (PyErr_Occurred()) SWIG_fail;
15004 }
15005 {
15006 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15007 }
15008 return resultobj;
15009 fail:
15010 return NULL;
15011 }
15012
15013
15014 SWIGINTERN PyObject *_wrap_VListBox_SelectRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15015 PyObject *resultobj = 0;
15016 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15017 size_t arg2 ;
15018 size_t arg3 ;
15019 bool result;
15020 void *argp1 = 0 ;
15021 int res1 = 0 ;
15022 size_t val2 ;
15023 int ecode2 = 0 ;
15024 size_t val3 ;
15025 int ecode3 = 0 ;
15026 PyObject * obj0 = 0 ;
15027 PyObject * obj1 = 0 ;
15028 PyObject * obj2 = 0 ;
15029 char * kwnames[] = {
15030 (char *) "self",(char *) "from",(char *) "to", NULL
15031 };
15032
15033 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15034 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15035 if (!SWIG_IsOK(res1)) {
15036 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15037 }
15038 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15039 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15040 if (!SWIG_IsOK(ecode2)) {
15041 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
15042 }
15043 arg2 = static_cast< size_t >(val2);
15044 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
15045 if (!SWIG_IsOK(ecode3)) {
15046 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
15047 }
15048 arg3 = static_cast< size_t >(val3);
15049 {
15050 PyThreadState* __tstate = wxPyBeginAllowThreads();
15051 result = (bool)(arg1)->SelectRange(arg2,arg3);
15052 wxPyEndAllowThreads(__tstate);
15053 if (PyErr_Occurred()) SWIG_fail;
15054 }
15055 {
15056 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15057 }
15058 return resultobj;
15059 fail:
15060 return NULL;
15061 }
15062
15063
15064 SWIGINTERN PyObject *_wrap_VListBox_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15065 PyObject *resultobj = 0;
15066 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15067 size_t arg2 ;
15068 void *argp1 = 0 ;
15069 int res1 = 0 ;
15070 size_t val2 ;
15071 int ecode2 = 0 ;
15072 PyObject * obj0 = 0 ;
15073 PyObject * obj1 = 0 ;
15074 char * kwnames[] = {
15075 (char *) "self",(char *) "item", NULL
15076 };
15077
15078 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
15079 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15080 if (!SWIG_IsOK(res1)) {
15081 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15082 }
15083 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15084 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15085 if (!SWIG_IsOK(ecode2)) {
15086 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15087 }
15088 arg2 = static_cast< size_t >(val2);
15089 {
15090 PyThreadState* __tstate = wxPyBeginAllowThreads();
15091 (arg1)->Toggle(arg2);
15092 wxPyEndAllowThreads(__tstate);
15093 if (PyErr_Occurred()) SWIG_fail;
15094 }
15095 resultobj = SWIG_Py_Void();
15096 return resultobj;
15097 fail:
15098 return NULL;
15099 }
15100
15101
15102 SWIGINTERN PyObject *_wrap_VListBox_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15103 PyObject *resultobj = 0;
15104 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15105 bool result;
15106 void *argp1 = 0 ;
15107 int res1 = 0 ;
15108 PyObject *swig_obj[1] ;
15109
15110 if (!args) SWIG_fail;
15111 swig_obj[0] = args;
15112 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15113 if (!SWIG_IsOK(res1)) {
15114 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15115 }
15116 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15117 {
15118 PyThreadState* __tstate = wxPyBeginAllowThreads();
15119 result = (bool)(arg1)->SelectAll();
15120 wxPyEndAllowThreads(__tstate);
15121 if (PyErr_Occurred()) SWIG_fail;
15122 }
15123 {
15124 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15125 }
15126 return resultobj;
15127 fail:
15128 return NULL;
15129 }
15130
15131
15132 SWIGINTERN PyObject *_wrap_VListBox_DeselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15133 PyObject *resultobj = 0;
15134 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15135 bool result;
15136 void *argp1 = 0 ;
15137 int res1 = 0 ;
15138 PyObject *swig_obj[1] ;
15139
15140 if (!args) SWIG_fail;
15141 swig_obj[0] = args;
15142 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15143 if (!SWIG_IsOK(res1)) {
15144 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15145 }
15146 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15147 {
15148 PyThreadState* __tstate = wxPyBeginAllowThreads();
15149 result = (bool)(arg1)->DeselectAll();
15150 wxPyEndAllowThreads(__tstate);
15151 if (PyErr_Occurred()) SWIG_fail;
15152 }
15153 {
15154 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15155 }
15156 return resultobj;
15157 fail:
15158 return NULL;
15159 }
15160
15161
15162 SWIGINTERN PyObject *_wrap_VListBox_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15163 PyObject *resultobj = 0;
15164 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15165 wxPoint *arg2 = 0 ;
15166 void *argp1 = 0 ;
15167 int res1 = 0 ;
15168 wxPoint temp2 ;
15169 PyObject * obj0 = 0 ;
15170 PyObject * obj1 = 0 ;
15171 char * kwnames[] = {
15172 (char *) "self",(char *) "pt", NULL
15173 };
15174
15175 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) SWIG_fail;
15176 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15177 if (!SWIG_IsOK(res1)) {
15178 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15179 }
15180 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15181 {
15182 arg2 = &temp2;
15183 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15184 }
15185 {
15186 PyThreadState* __tstate = wxPyBeginAllowThreads();
15187 (arg1)->SetMargins((wxPoint const &)*arg2);
15188 wxPyEndAllowThreads(__tstate);
15189 if (PyErr_Occurred()) SWIG_fail;
15190 }
15191 resultobj = SWIG_Py_Void();
15192 return resultobj;
15193 fail:
15194 return NULL;
15195 }
15196
15197
15198 SWIGINTERN PyObject *_wrap_VListBox_SetMarginsXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15199 PyObject *resultobj = 0;
15200 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15201 int arg2 ;
15202 int arg3 ;
15203 void *argp1 = 0 ;
15204 int res1 = 0 ;
15205 int val2 ;
15206 int ecode2 = 0 ;
15207 int val3 ;
15208 int ecode3 = 0 ;
15209 PyObject * obj0 = 0 ;
15210 PyObject * obj1 = 0 ;
15211 PyObject * obj2 = 0 ;
15212 char * kwnames[] = {
15213 (char *) "self",(char *) "x",(char *) "y", NULL
15214 };
15215
15216 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15217 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15218 if (!SWIG_IsOK(res1)) {
15219 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15220 }
15221 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15222 ecode2 = SWIG_AsVal_int(obj1, &val2);
15223 if (!SWIG_IsOK(ecode2)) {
15224 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15225 }
15226 arg2 = static_cast< int >(val2);
15227 ecode3 = SWIG_AsVal_int(obj2, &val3);
15228 if (!SWIG_IsOK(ecode3)) {
15229 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15230 }
15231 arg3 = static_cast< int >(val3);
15232 {
15233 PyThreadState* __tstate = wxPyBeginAllowThreads();
15234 (arg1)->SetMargins(arg2,arg3);
15235 wxPyEndAllowThreads(__tstate);
15236 if (PyErr_Occurred()) SWIG_fail;
15237 }
15238 resultobj = SWIG_Py_Void();
15239 return resultobj;
15240 fail:
15241 return NULL;
15242 }
15243
15244
15245 SWIGINTERN PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15246 PyObject *resultobj = 0;
15247 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15248 wxColour *arg2 = 0 ;
15249 void *argp1 = 0 ;
15250 int res1 = 0 ;
15251 wxColour temp2 ;
15252 PyObject * obj0 = 0 ;
15253 PyObject * obj1 = 0 ;
15254 char * kwnames[] = {
15255 (char *) "self",(char *) "col", NULL
15256 };
15257
15258 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) SWIG_fail;
15259 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15260 if (!SWIG_IsOK(res1)) {
15261 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15262 }
15263 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15264 {
15265 arg2 = &temp2;
15266 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15267 }
15268 {
15269 PyThreadState* __tstate = wxPyBeginAllowThreads();
15270 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
15271 wxPyEndAllowThreads(__tstate);
15272 if (PyErr_Occurred()) SWIG_fail;
15273 }
15274 resultobj = SWIG_Py_Void();
15275 return resultobj;
15276 fail:
15277 return NULL;
15278 }
15279
15280
15281 SWIGINTERN PyObject *_wrap_VListBox_OnDrawSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15282 PyObject *resultobj = 0;
15283 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15284 wxDC *arg2 = 0 ;
15285 wxRect *arg3 = 0 ;
15286 size_t arg4 ;
15287 void *argp1 = 0 ;
15288 int res1 = 0 ;
15289 void *argp2 = 0 ;
15290 int res2 = 0 ;
15291 wxRect temp3 ;
15292 size_t val4 ;
15293 int ecode4 = 0 ;
15294 PyObject * obj0 = 0 ;
15295 PyObject * obj1 = 0 ;
15296 PyObject * obj2 = 0 ;
15297 PyObject * obj3 = 0 ;
15298 char * kwnames[] = {
15299 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15300 };
15301
15302 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15303 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15304 if (!SWIG_IsOK(res1)) {
15305 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15306 }
15307 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15308 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15309 if (!SWIG_IsOK(res2)) {
15310 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15311 }
15312 if (!argp2) {
15313 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15314 }
15315 arg2 = reinterpret_cast< wxDC * >(argp2);
15316 {
15317 arg3 = &temp3;
15318 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15319 }
15320 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15321 if (!SWIG_IsOK(ecode4)) {
15322 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15323 }
15324 arg4 = static_cast< size_t >(val4);
15325 {
15326 PyThreadState* __tstate = wxPyBeginAllowThreads();
15327 ((wxPyVListBox const *)arg1)->OnDrawSeparator(*arg2,*arg3,arg4);
15328 wxPyEndAllowThreads(__tstate);
15329 if (PyErr_Occurred()) SWIG_fail;
15330 }
15331 resultobj = SWIG_Py_Void();
15332 return resultobj;
15333 fail:
15334 return NULL;
15335 }
15336
15337
15338 SWIGINTERN PyObject *_wrap_VListBox_OnDrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15339 PyObject *resultobj = 0;
15340 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15341 wxDC *arg2 = 0 ;
15342 wxRect *arg3 = 0 ;
15343 size_t arg4 ;
15344 void *argp1 = 0 ;
15345 int res1 = 0 ;
15346 void *argp2 = 0 ;
15347 int res2 = 0 ;
15348 wxRect temp3 ;
15349 size_t val4 ;
15350 int ecode4 = 0 ;
15351 PyObject * obj0 = 0 ;
15352 PyObject * obj1 = 0 ;
15353 PyObject * obj2 = 0 ;
15354 PyObject * obj3 = 0 ;
15355 char * kwnames[] = {
15356 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15357 };
15358
15359 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15360 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15361 if (!SWIG_IsOK(res1)) {
15362 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15363 }
15364 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15365 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15366 if (!SWIG_IsOK(res2)) {
15367 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15368 }
15369 if (!argp2) {
15370 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15371 }
15372 arg2 = reinterpret_cast< wxDC * >(argp2);
15373 {
15374 arg3 = &temp3;
15375 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15376 }
15377 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15378 if (!SWIG_IsOK(ecode4)) {
15379 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15380 }
15381 arg4 = static_cast< size_t >(val4);
15382 {
15383 PyThreadState* __tstate = wxPyBeginAllowThreads();
15384 ((wxPyVListBox const *)arg1)->OnDrawBackground(*arg2,(wxRect const &)*arg3,arg4);
15385 wxPyEndAllowThreads(__tstate);
15386 if (PyErr_Occurred()) SWIG_fail;
15387 }
15388 resultobj = SWIG_Py_Void();
15389 return resultobj;
15390 fail:
15391 return NULL;
15392 }
15393
15394
15395 SWIGINTERN PyObject *VListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15396 PyObject *obj;
15397 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15398 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox, SWIG_NewClientData(obj));
15399 return SWIG_Py_Void();
15400 }
15401
15402 SWIGINTERN PyObject *VListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15403 return SWIG_Python_InitShadowInstance(args);
15404 }
15405
15406 SWIGINTERN PyObject *_wrap_new_HtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15407 PyObject *resultobj = 0;
15408 wxWindow *arg1 = (wxWindow *) 0 ;
15409 int arg2 = (int) wxID_ANY ;
15410 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15411 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15412 wxSize const &arg4_defvalue = wxDefaultSize ;
15413 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15414 long arg5 = (long) 0 ;
15415 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
15416 wxString *arg6 = (wxString *) &arg6_defvalue ;
15417 wxPyHtmlListBox *result = 0 ;
15418 void *argp1 = 0 ;
15419 int res1 = 0 ;
15420 int val2 ;
15421 int ecode2 = 0 ;
15422 wxPoint temp3 ;
15423 wxSize temp4 ;
15424 long val5 ;
15425 int ecode5 = 0 ;
15426 bool temp6 = false ;
15427 PyObject * obj0 = 0 ;
15428 PyObject * obj1 = 0 ;
15429 PyObject * obj2 = 0 ;
15430 PyObject * obj3 = 0 ;
15431 PyObject * obj4 = 0 ;
15432 PyObject * obj5 = 0 ;
15433 char * kwnames[] = {
15434 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15435 };
15436
15437 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
15438 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15439 if (!SWIG_IsOK(res1)) {
15440 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15441 }
15442 arg1 = reinterpret_cast< wxWindow * >(argp1);
15443 if (obj1) {
15444 ecode2 = SWIG_AsVal_int(obj1, &val2);
15445 if (!SWIG_IsOK(ecode2)) {
15446 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15447 }
15448 arg2 = static_cast< int >(val2);
15449 }
15450 if (obj2) {
15451 {
15452 arg3 = &temp3;
15453 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15454 }
15455 }
15456 if (obj3) {
15457 {
15458 arg4 = &temp4;
15459 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15460 }
15461 }
15462 if (obj4) {
15463 ecode5 = SWIG_AsVal_long(obj4, &val5);
15464 if (!SWIG_IsOK(ecode5)) {
15465 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15466 }
15467 arg5 = static_cast< long >(val5);
15468 }
15469 if (obj5) {
15470 {
15471 arg6 = wxString_in_helper(obj5);
15472 if (arg6 == NULL) SWIG_fail;
15473 temp6 = true;
15474 }
15475 }
15476 {
15477 if (!wxPyCheckForApp()) SWIG_fail;
15478 PyThreadState* __tstate = wxPyBeginAllowThreads();
15479 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15480 wxPyEndAllowThreads(__tstate);
15481 if (PyErr_Occurred()) SWIG_fail;
15482 }
15483 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_NEW | 0 );
15484 {
15485 if (temp6)
15486 delete arg6;
15487 }
15488 return resultobj;
15489 fail:
15490 {
15491 if (temp6)
15492 delete arg6;
15493 }
15494 return NULL;
15495 }
15496
15497
15498 SWIGINTERN PyObject *_wrap_new_PreHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15499 PyObject *resultobj = 0;
15500 wxPyHtmlListBox *result = 0 ;
15501
15502 if (!SWIG_Python_UnpackTuple(args,"new_PreHtmlListBox",0,0,0)) SWIG_fail;
15503 {
15504 if (!wxPyCheckForApp()) SWIG_fail;
15505 PyThreadState* __tstate = wxPyBeginAllowThreads();
15506 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
15507 wxPyEndAllowThreads(__tstate);
15508 if (PyErr_Occurred()) SWIG_fail;
15509 }
15510 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_OWN | 0 );
15511 return resultobj;
15512 fail:
15513 return NULL;
15514 }
15515
15516
15517 SWIGINTERN PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15518 PyObject *resultobj = 0;
15519 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15520 PyObject *arg2 = (PyObject *) 0 ;
15521 PyObject *arg3 = (PyObject *) 0 ;
15522 void *argp1 = 0 ;
15523 int res1 = 0 ;
15524 PyObject * obj0 = 0 ;
15525 PyObject * obj1 = 0 ;
15526 PyObject * obj2 = 0 ;
15527 char * kwnames[] = {
15528 (char *) "self",(char *) "self",(char *) "_class", NULL
15529 };
15530
15531 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15532 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15533 if (!SWIG_IsOK(res1)) {
15534 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15535 }
15536 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15537 arg2 = obj1;
15538 arg3 = obj2;
15539 {
15540 PyThreadState* __tstate = wxPyBeginAllowThreads();
15541 (arg1)->_setCallbackInfo(arg2,arg3);
15542 wxPyEndAllowThreads(__tstate);
15543 if (PyErr_Occurred()) SWIG_fail;
15544 }
15545 resultobj = SWIG_Py_Void();
15546 return resultobj;
15547 fail:
15548 return NULL;
15549 }
15550
15551
15552 SWIGINTERN PyObject *_wrap_HtmlListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15553 PyObject *resultobj = 0;
15554 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15555 wxWindow *arg2 = (wxWindow *) 0 ;
15556 int arg3 = (int) wxID_ANY ;
15557 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15558 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15559 wxSize const &arg5_defvalue = wxDefaultSize ;
15560 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15561 long arg6 = (long) 0 ;
15562 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
15563 wxString *arg7 = (wxString *) &arg7_defvalue ;
15564 bool result;
15565 void *argp1 = 0 ;
15566 int res1 = 0 ;
15567 void *argp2 = 0 ;
15568 int res2 = 0 ;
15569 int val3 ;
15570 int ecode3 = 0 ;
15571 wxPoint temp4 ;
15572 wxSize temp5 ;
15573 long val6 ;
15574 int ecode6 = 0 ;
15575 bool temp7 = false ;
15576 PyObject * obj0 = 0 ;
15577 PyObject * obj1 = 0 ;
15578 PyObject * obj2 = 0 ;
15579 PyObject * obj3 = 0 ;
15580 PyObject * obj4 = 0 ;
15581 PyObject * obj5 = 0 ;
15582 PyObject * obj6 = 0 ;
15583 char * kwnames[] = {
15584 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15585 };
15586
15587 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
15588 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15589 if (!SWIG_IsOK(res1)) {
15590 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15591 }
15592 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15593 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15594 if (!SWIG_IsOK(res2)) {
15595 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15596 }
15597 arg2 = reinterpret_cast< wxWindow * >(argp2);
15598 if (obj2) {
15599 ecode3 = SWIG_AsVal_int(obj2, &val3);
15600 if (!SWIG_IsOK(ecode3)) {
15601 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15602 }
15603 arg3 = static_cast< int >(val3);
15604 }
15605 if (obj3) {
15606 {
15607 arg4 = &temp4;
15608 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15609 }
15610 }
15611 if (obj4) {
15612 {
15613 arg5 = &temp5;
15614 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15615 }
15616 }
15617 if (obj5) {
15618 ecode6 = SWIG_AsVal_long(obj5, &val6);
15619 if (!SWIG_IsOK(ecode6)) {
15620 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15621 }
15622 arg6 = static_cast< long >(val6);
15623 }
15624 if (obj6) {
15625 {
15626 arg7 = wxString_in_helper(obj6);
15627 if (arg7 == NULL) SWIG_fail;
15628 temp7 = true;
15629 }
15630 }
15631 {
15632 PyThreadState* __tstate = wxPyBeginAllowThreads();
15633 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15634 wxPyEndAllowThreads(__tstate);
15635 if (PyErr_Occurred()) SWIG_fail;
15636 }
15637 {
15638 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15639 }
15640 {
15641 if (temp7)
15642 delete arg7;
15643 }
15644 return resultobj;
15645 fail:
15646 {
15647 if (temp7)
15648 delete arg7;
15649 }
15650 return NULL;
15651 }
15652
15653
15654 SWIGINTERN PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15655 PyObject *resultobj = 0;
15656 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15657 size_t arg2 ;
15658 void *argp1 = 0 ;
15659 int res1 = 0 ;
15660 size_t val2 ;
15661 int ecode2 = 0 ;
15662 PyObject * obj0 = 0 ;
15663 PyObject * obj1 = 0 ;
15664 char * kwnames[] = {
15665 (char *) "self",(char *) "count", NULL
15666 };
15667
15668 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
15669 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15670 if (!SWIG_IsOK(res1)) {
15671 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15672 }
15673 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15674 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15675 if (!SWIG_IsOK(ecode2)) {
15676 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15677 }
15678 arg2 = static_cast< size_t >(val2);
15679 {
15680 PyThreadState* __tstate = wxPyBeginAllowThreads();
15681 (arg1)->SetItemCount(arg2);
15682 wxPyEndAllowThreads(__tstate);
15683 if (PyErr_Occurred()) SWIG_fail;
15684 }
15685 resultobj = SWIG_Py_Void();
15686 return resultobj;
15687 fail:
15688 return NULL;
15689 }
15690
15691
15692 SWIGINTERN PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15693 PyObject *resultobj = 0;
15694 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15695 wxFileSystem *result = 0 ;
15696 void *argp1 = 0 ;
15697 int res1 = 0 ;
15698 PyObject *swig_obj[1] ;
15699
15700 if (!args) SWIG_fail;
15701 swig_obj[0] = args;
15702 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15703 if (!SWIG_IsOK(res1)) {
15704 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15705 }
15706 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15707 {
15708 PyThreadState* __tstate = wxPyBeginAllowThreads();
15709 {
15710 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
15711 result = (wxFileSystem *) &_result_ref;
15712 }
15713 wxPyEndAllowThreads(__tstate);
15714 if (PyErr_Occurred()) SWIG_fail;
15715 }
15716 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileSystem, 0 | 0 );
15717 return resultobj;
15718 fail:
15719 return NULL;
15720 }
15721
15722
15723 SWIGINTERN PyObject *_wrap_HtmlListBox_OnLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15724 PyObject *resultobj = 0;
15725 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15726 size_t arg2 ;
15727 wxHtmlLinkInfo *arg3 = 0 ;
15728 void *argp1 = 0 ;
15729 int res1 = 0 ;
15730 size_t val2 ;
15731 int ecode2 = 0 ;
15732 void *argp3 = 0 ;
15733 int res3 = 0 ;
15734 PyObject * obj0 = 0 ;
15735 PyObject * obj1 = 0 ;
15736 PyObject * obj2 = 0 ;
15737 char * kwnames[] = {
15738 (char *) "self",(char *) "n",(char *) "link", NULL
15739 };
15740
15741 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15742 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15743 if (!SWIG_IsOK(res1)) {
15744 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15745 }
15746 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15747 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15748 if (!SWIG_IsOK(ecode2)) {
15749 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15750 }
15751 arg2 = static_cast< size_t >(val2);
15752 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0);
15753 if (!SWIG_IsOK(res3)) {
15754 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15755 }
15756 if (!argp3) {
15757 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15758 }
15759 arg3 = reinterpret_cast< wxHtmlLinkInfo * >(argp3);
15760 {
15761 PyThreadState* __tstate = wxPyBeginAllowThreads();
15762 (arg1)->OnLinkClicked(arg2,(wxHtmlLinkInfo const &)*arg3);
15763 wxPyEndAllowThreads(__tstate);
15764 if (PyErr_Occurred()) SWIG_fail;
15765 }
15766 resultobj = SWIG_Py_Void();
15767 return resultobj;
15768 fail:
15769 return NULL;
15770 }
15771
15772
15773 SWIGINTERN PyObject *HtmlListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15774 PyObject *obj;
15775 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15776 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox, SWIG_NewClientData(obj));
15777 return SWIG_Py_Void();
15778 }
15779
15780 SWIGINTERN PyObject *HtmlListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15781 return SWIG_Python_InitShadowInstance(args);
15782 }
15783
15784 SWIGINTERN PyObject *_wrap_new_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15785 PyObject *resultobj = 0;
15786 wxPyTaskBarIcon *result = 0 ;
15787
15788 if (!SWIG_Python_UnpackTuple(args,"new_TaskBarIcon",0,0,0)) SWIG_fail;
15789 {
15790 if (!wxPyCheckForApp()) SWIG_fail;
15791 PyThreadState* __tstate = wxPyBeginAllowThreads();
15792 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
15793 wxPyEndAllowThreads(__tstate);
15794 if (PyErr_Occurred()) SWIG_fail;
15795 }
15796 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_NEW | 0 );
15797 return resultobj;
15798 fail:
15799 return NULL;
15800 }
15801
15802
15803 SWIGINTERN PyObject *_wrap_delete_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15804 PyObject *resultobj = 0;
15805 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15806 void *argp1 = 0 ;
15807 int res1 = 0 ;
15808 PyObject *swig_obj[1] ;
15809
15810 if (!args) SWIG_fail;
15811 swig_obj[0] = args;
15812 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_DISOWN | 0 );
15813 if (!SWIG_IsOK(res1)) {
15814 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15815 }
15816 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15817 {
15818 PyThreadState* __tstate = wxPyBeginAllowThreads();
15819 delete arg1;
15820
15821 wxPyEndAllowThreads(__tstate);
15822 if (PyErr_Occurred()) SWIG_fail;
15823 }
15824 resultobj = SWIG_Py_Void();
15825 return resultobj;
15826 fail:
15827 return NULL;
15828 }
15829
15830
15831 SWIGINTERN PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15832 PyObject *resultobj = 0;
15833 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15834 PyObject *arg2 = (PyObject *) 0 ;
15835 PyObject *arg3 = (PyObject *) 0 ;
15836 int arg4 ;
15837 void *argp1 = 0 ;
15838 int res1 = 0 ;
15839 int val4 ;
15840 int ecode4 = 0 ;
15841 PyObject * obj0 = 0 ;
15842 PyObject * obj1 = 0 ;
15843 PyObject * obj2 = 0 ;
15844 PyObject * obj3 = 0 ;
15845 char * kwnames[] = {
15846 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15847 };
15848
15849 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15850 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15851 if (!SWIG_IsOK(res1)) {
15852 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15853 }
15854 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15855 arg2 = obj1;
15856 arg3 = obj2;
15857 ecode4 = SWIG_AsVal_int(obj3, &val4);
15858 if (!SWIG_IsOK(ecode4)) {
15859 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
15860 }
15861 arg4 = static_cast< int >(val4);
15862 {
15863 PyThreadState* __tstate = wxPyBeginAllowThreads();
15864 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
15865 wxPyEndAllowThreads(__tstate);
15866 if (PyErr_Occurred()) SWIG_fail;
15867 }
15868 resultobj = SWIG_Py_Void();
15869 return resultobj;
15870 fail:
15871 return NULL;
15872 }
15873
15874
15875 SWIGINTERN PyObject *_wrap_TaskBarIcon_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15876 PyObject *resultobj = 0;
15877 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15878 void *argp1 = 0 ;
15879 int res1 = 0 ;
15880 PyObject *swig_obj[1] ;
15881
15882 if (!args) SWIG_fail;
15883 swig_obj[0] = args;
15884 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15885 if (!SWIG_IsOK(res1)) {
15886 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15887 }
15888 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15889 {
15890 PyThreadState* __tstate = wxPyBeginAllowThreads();
15891 wxPyTaskBarIcon_Destroy(arg1);
15892 wxPyEndAllowThreads(__tstate);
15893 if (PyErr_Occurred()) SWIG_fail;
15894 }
15895 resultobj = SWIG_Py_Void();
15896 return resultobj;
15897 fail:
15898 return NULL;
15899 }
15900
15901
15902 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15903 PyObject *resultobj = 0;
15904 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15905 bool result;
15906 void *argp1 = 0 ;
15907 int res1 = 0 ;
15908 PyObject *swig_obj[1] ;
15909
15910 if (!args) SWIG_fail;
15911 swig_obj[0] = args;
15912 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15913 if (!SWIG_IsOK(res1)) {
15914 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15915 }
15916 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15917 {
15918 PyThreadState* __tstate = wxPyBeginAllowThreads();
15919 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
15920 wxPyEndAllowThreads(__tstate);
15921 if (PyErr_Occurred()) SWIG_fail;
15922 }
15923 {
15924 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15925 }
15926 return resultobj;
15927 fail:
15928 return NULL;
15929 }
15930
15931
15932 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15933 PyObject *resultobj = 0;
15934 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15935 bool result;
15936 void *argp1 = 0 ;
15937 int res1 = 0 ;
15938 PyObject *swig_obj[1] ;
15939
15940 if (!args) SWIG_fail;
15941 swig_obj[0] = args;
15942 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15943 if (!SWIG_IsOK(res1)) {
15944 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15945 }
15946 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15947 {
15948 PyThreadState* __tstate = wxPyBeginAllowThreads();
15949 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
15950 wxPyEndAllowThreads(__tstate);
15951 if (PyErr_Occurred()) SWIG_fail;
15952 }
15953 {
15954 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15955 }
15956 return resultobj;
15957 fail:
15958 return NULL;
15959 }
15960
15961
15962 SWIGINTERN PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15963 PyObject *resultobj = 0;
15964 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15965 wxIcon *arg2 = 0 ;
15966 wxString const &arg3_defvalue = wxPyEmptyString ;
15967 wxString *arg3 = (wxString *) &arg3_defvalue ;
15968 bool result;
15969 void *argp1 = 0 ;
15970 int res1 = 0 ;
15971 void *argp2 = 0 ;
15972 int res2 = 0 ;
15973 bool temp3 = false ;
15974 PyObject * obj0 = 0 ;
15975 PyObject * obj1 = 0 ;
15976 PyObject * obj2 = 0 ;
15977 char * kwnames[] = {
15978 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
15979 };
15980
15981 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15982 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15983 if (!SWIG_IsOK(res1)) {
15984 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15985 }
15986 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15987 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
15988 if (!SWIG_IsOK(res2)) {
15989 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15990 }
15991 if (!argp2) {
15992 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15993 }
15994 arg2 = reinterpret_cast< wxIcon * >(argp2);
15995 if (obj2) {
15996 {
15997 arg3 = wxString_in_helper(obj2);
15998 if (arg3 == NULL) SWIG_fail;
15999 temp3 = true;
16000 }
16001 }
16002 {
16003 PyThreadState* __tstate = wxPyBeginAllowThreads();
16004 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
16005 wxPyEndAllowThreads(__tstate);
16006 if (PyErr_Occurred()) SWIG_fail;
16007 }
16008 {
16009 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16010 }
16011 {
16012 if (temp3)
16013 delete arg3;
16014 }
16015 return resultobj;
16016 fail:
16017 {
16018 if (temp3)
16019 delete arg3;
16020 }
16021 return NULL;
16022 }
16023
16024
16025 SWIGINTERN PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16026 PyObject *resultobj = 0;
16027 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16028 bool result;
16029 void *argp1 = 0 ;
16030 int res1 = 0 ;
16031 PyObject *swig_obj[1] ;
16032
16033 if (!args) SWIG_fail;
16034 swig_obj[0] = args;
16035 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16036 if (!SWIG_IsOK(res1)) {
16037 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16038 }
16039 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16040 {
16041 PyThreadState* __tstate = wxPyBeginAllowThreads();
16042 result = (bool)(arg1)->RemoveIcon();
16043 wxPyEndAllowThreads(__tstate);
16044 if (PyErr_Occurred()) SWIG_fail;
16045 }
16046 {
16047 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16048 }
16049 return resultobj;
16050 fail:
16051 return NULL;
16052 }
16053
16054
16055 SWIGINTERN PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16056 PyObject *resultobj = 0;
16057 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16058 wxMenu *arg2 = (wxMenu *) 0 ;
16059 bool result;
16060 void *argp1 = 0 ;
16061 int res1 = 0 ;
16062 void *argp2 = 0 ;
16063 int res2 = 0 ;
16064 PyObject * obj0 = 0 ;
16065 PyObject * obj1 = 0 ;
16066 char * kwnames[] = {
16067 (char *) "self",(char *) "menu", NULL
16068 };
16069
16070 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) SWIG_fail;
16071 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16072 if (!SWIG_IsOK(res1)) {
16073 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16074 }
16075 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16076 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
16077 if (!SWIG_IsOK(res2)) {
16078 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16079 }
16080 arg2 = reinterpret_cast< wxMenu * >(argp2);
16081 {
16082 PyThreadState* __tstate = wxPyBeginAllowThreads();
16083 result = (bool)(arg1)->PopupMenu(arg2);
16084 wxPyEndAllowThreads(__tstate);
16085 if (PyErr_Occurred()) SWIG_fail;
16086 }
16087 {
16088 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16089 }
16090 return resultobj;
16091 fail:
16092 return NULL;
16093 }
16094
16095
16096 SWIGINTERN PyObject *_wrap_TaskBarIcon_GetHandle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16097 PyObject *resultobj = 0;
16098 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16099 long result;
16100 void *argp1 = 0 ;
16101 int res1 = 0 ;
16102 PyObject *swig_obj[1] ;
16103
16104 if (!args) SWIG_fail;
16105 swig_obj[0] = args;
16106 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16107 if (!SWIG_IsOK(res1)) {
16108 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_GetHandle" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16109 }
16110 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16111 {
16112 PyThreadState* __tstate = wxPyBeginAllowThreads();
16113 result = (long)((wxPyTaskBarIcon const *)arg1)->GetHandle();
16114 wxPyEndAllowThreads(__tstate);
16115 if (PyErr_Occurred()) SWIG_fail;
16116 }
16117 resultobj = SWIG_From_long(static_cast< long >(result));
16118 return resultobj;
16119 fail:
16120 return NULL;
16121 }
16122
16123
16124 SWIGINTERN PyObject *TaskBarIcon_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16125 PyObject *obj;
16126 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16127 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon, SWIG_NewClientData(obj));
16128 return SWIG_Py_Void();
16129 }
16130
16131 SWIGINTERN PyObject *TaskBarIcon_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16132 return SWIG_Python_InitShadowInstance(args);
16133 }
16134
16135 SWIGINTERN PyObject *_wrap_new_TaskBarIconEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16136 PyObject *resultobj = 0;
16137 wxEventType arg1 ;
16138 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
16139 wxTaskBarIconEvent *result = 0 ;
16140 int val1 ;
16141 int ecode1 = 0 ;
16142 void *argp2 = 0 ;
16143 int res2 = 0 ;
16144 PyObject * obj0 = 0 ;
16145 PyObject * obj1 = 0 ;
16146 char * kwnames[] = {
16147 (char *) "evtType",(char *) "tbIcon", NULL
16148 };
16149
16150 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) SWIG_fail;
16151 ecode1 = SWIG_AsVal_int(obj0, &val1);
16152 if (!SWIG_IsOK(ecode1)) {
16153 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16154 }
16155 arg1 = static_cast< wxEventType >(val1);
16156 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTaskBarIcon, 0 | 0 );
16157 if (!SWIG_IsOK(res2)) {
16158 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16159 }
16160 arg2 = reinterpret_cast< wxTaskBarIcon * >(argp2);
16161 {
16162 PyThreadState* __tstate = wxPyBeginAllowThreads();
16163 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
16164 wxPyEndAllowThreads(__tstate);
16165 if (PyErr_Occurred()) SWIG_fail;
16166 }
16167 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTaskBarIconEvent, SWIG_POINTER_NEW | 0 );
16168 return resultobj;
16169 fail:
16170 return NULL;
16171 }
16172
16173
16174 SWIGINTERN PyObject *TaskBarIconEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16175 PyObject *obj;
16176 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16177 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent, SWIG_NewClientData(obj));
16178 return SWIG_Py_Void();
16179 }
16180
16181 SWIGINTERN PyObject *TaskBarIconEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16182 return SWIG_Python_InitShadowInstance(args);
16183 }
16184
16185 SWIGINTERN int FileSelectorPromptStr_set(PyObject *) {
16186 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorPromptStr is read-only.");
16187 return 1;
16188 }
16189
16190
16191 SWIGINTERN PyObject *FileSelectorPromptStr_get(void) {
16192 PyObject *pyobj = 0;
16193
16194 {
16195 #if wxUSE_UNICODE
16196 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16197 #else
16198 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16199 #endif
16200 }
16201 return pyobj;
16202 }
16203
16204
16205 SWIGINTERN int DirSelectorPromptStr_set(PyObject *) {
16206 SWIG_Error(SWIG_AttributeError,"Variable DirSelectorPromptStr is read-only.");
16207 return 1;
16208 }
16209
16210
16211 SWIGINTERN PyObject *DirSelectorPromptStr_get(void) {
16212 PyObject *pyobj = 0;
16213
16214 {
16215 #if wxUSE_UNICODE
16216 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16217 #else
16218 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16219 #endif
16220 }
16221 return pyobj;
16222 }
16223
16224
16225 SWIGINTERN int DirDialogNameStr_set(PyObject *) {
16226 SWIG_Error(SWIG_AttributeError,"Variable DirDialogNameStr is read-only.");
16227 return 1;
16228 }
16229
16230
16231 SWIGINTERN PyObject *DirDialogNameStr_get(void) {
16232 PyObject *pyobj = 0;
16233
16234 {
16235 #if wxUSE_UNICODE
16236 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16237 #else
16238 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16239 #endif
16240 }
16241 return pyobj;
16242 }
16243
16244
16245 SWIGINTERN int FileSelectorDefaultWildcardStr_set(PyObject *) {
16246 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
16247 return 1;
16248 }
16249
16250
16251 SWIGINTERN PyObject *FileSelectorDefaultWildcardStr_get(void) {
16252 PyObject *pyobj = 0;
16253
16254 {
16255 #if wxUSE_UNICODE
16256 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16257 #else
16258 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16259 #endif
16260 }
16261 return pyobj;
16262 }
16263
16264
16265 SWIGINTERN int GetTextFromUserPromptStr_set(PyObject *) {
16266 SWIG_Error(SWIG_AttributeError,"Variable GetTextFromUserPromptStr is read-only.");
16267 return 1;
16268 }
16269
16270
16271 SWIGINTERN PyObject *GetTextFromUserPromptStr_get(void) {
16272 PyObject *pyobj = 0;
16273
16274 {
16275 #if wxUSE_UNICODE
16276 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16277 #else
16278 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16279 #endif
16280 }
16281 return pyobj;
16282 }
16283
16284
16285 SWIGINTERN int MessageBoxCaptionStr_set(PyObject *) {
16286 SWIG_Error(SWIG_AttributeError,"Variable MessageBoxCaptionStr is read-only.");
16287 return 1;
16288 }
16289
16290
16291 SWIGINTERN PyObject *MessageBoxCaptionStr_get(void) {
16292 PyObject *pyobj = 0;
16293
16294 {
16295 #if wxUSE_UNICODE
16296 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16297 #else
16298 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16299 #endif
16300 }
16301 return pyobj;
16302 }
16303
16304
16305 SWIGINTERN PyObject *_wrap_new_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16306 PyObject *resultobj = 0;
16307 wxColourData *result = 0 ;
16308
16309 if (!SWIG_Python_UnpackTuple(args,"new_ColourData",0,0,0)) SWIG_fail;
16310 {
16311 PyThreadState* __tstate = wxPyBeginAllowThreads();
16312 result = (wxColourData *)new wxColourData();
16313 wxPyEndAllowThreads(__tstate);
16314 if (PyErr_Occurred()) SWIG_fail;
16315 }
16316 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, SWIG_POINTER_NEW | 0 );
16317 return resultobj;
16318 fail:
16319 return NULL;
16320 }
16321
16322
16323 SWIGINTERN PyObject *_wrap_delete_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16324 PyObject *resultobj = 0;
16325 wxColourData *arg1 = (wxColourData *) 0 ;
16326 void *argp1 = 0 ;
16327 int res1 = 0 ;
16328 PyObject *swig_obj[1] ;
16329
16330 if (!args) SWIG_fail;
16331 swig_obj[0] = args;
16332 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, SWIG_POINTER_DISOWN | 0 );
16333 if (!SWIG_IsOK(res1)) {
16334 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16335 }
16336 arg1 = reinterpret_cast< wxColourData * >(argp1);
16337 {
16338 PyThreadState* __tstate = wxPyBeginAllowThreads();
16339 delete arg1;
16340
16341 wxPyEndAllowThreads(__tstate);
16342 if (PyErr_Occurred()) SWIG_fail;
16343 }
16344 resultobj = SWIG_Py_Void();
16345 return resultobj;
16346 fail:
16347 return NULL;
16348 }
16349
16350
16351 SWIGINTERN PyObject *_wrap_ColourData_GetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16352 PyObject *resultobj = 0;
16353 wxColourData *arg1 = (wxColourData *) 0 ;
16354 bool result;
16355 void *argp1 = 0 ;
16356 int res1 = 0 ;
16357 PyObject *swig_obj[1] ;
16358
16359 if (!args) SWIG_fail;
16360 swig_obj[0] = args;
16361 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16362 if (!SWIG_IsOK(res1)) {
16363 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16364 }
16365 arg1 = reinterpret_cast< wxColourData * >(argp1);
16366 {
16367 PyThreadState* __tstate = wxPyBeginAllowThreads();
16368 result = (bool)(arg1)->GetChooseFull();
16369 wxPyEndAllowThreads(__tstate);
16370 if (PyErr_Occurred()) SWIG_fail;
16371 }
16372 {
16373 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16374 }
16375 return resultobj;
16376 fail:
16377 return NULL;
16378 }
16379
16380
16381 SWIGINTERN PyObject *_wrap_ColourData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16382 PyObject *resultobj = 0;
16383 wxColourData *arg1 = (wxColourData *) 0 ;
16384 wxColour result;
16385 void *argp1 = 0 ;
16386 int res1 = 0 ;
16387 PyObject *swig_obj[1] ;
16388
16389 if (!args) SWIG_fail;
16390 swig_obj[0] = args;
16391 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16392 if (!SWIG_IsOK(res1)) {
16393 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16394 }
16395 arg1 = reinterpret_cast< wxColourData * >(argp1);
16396 {
16397 PyThreadState* __tstate = wxPyBeginAllowThreads();
16398 result = (arg1)->GetColour();
16399 wxPyEndAllowThreads(__tstate);
16400 if (PyErr_Occurred()) SWIG_fail;
16401 }
16402 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16403 return resultobj;
16404 fail:
16405 return NULL;
16406 }
16407
16408
16409 SWIGINTERN PyObject *_wrap_ColourData_GetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16410 PyObject *resultobj = 0;
16411 wxColourData *arg1 = (wxColourData *) 0 ;
16412 int arg2 ;
16413 wxColour result;
16414 void *argp1 = 0 ;
16415 int res1 = 0 ;
16416 int val2 ;
16417 int ecode2 = 0 ;
16418 PyObject * obj0 = 0 ;
16419 PyObject * obj1 = 0 ;
16420 char * kwnames[] = {
16421 (char *) "self",(char *) "i", NULL
16422 };
16423
16424 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) SWIG_fail;
16425 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16426 if (!SWIG_IsOK(res1)) {
16427 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16428 }
16429 arg1 = reinterpret_cast< wxColourData * >(argp1);
16430 ecode2 = SWIG_AsVal_int(obj1, &val2);
16431 if (!SWIG_IsOK(ecode2)) {
16432 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16433 }
16434 arg2 = static_cast< int >(val2);
16435 {
16436 PyThreadState* __tstate = wxPyBeginAllowThreads();
16437 result = (arg1)->GetCustomColour(arg2);
16438 wxPyEndAllowThreads(__tstate);
16439 if (PyErr_Occurred()) SWIG_fail;
16440 }
16441 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16442 return resultobj;
16443 fail:
16444 return NULL;
16445 }
16446
16447
16448 SWIGINTERN PyObject *_wrap_ColourData_SetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16449 PyObject *resultobj = 0;
16450 wxColourData *arg1 = (wxColourData *) 0 ;
16451 int arg2 ;
16452 void *argp1 = 0 ;
16453 int res1 = 0 ;
16454 int val2 ;
16455 int ecode2 = 0 ;
16456 PyObject * obj0 = 0 ;
16457 PyObject * obj1 = 0 ;
16458 char * kwnames[] = {
16459 (char *) "self",(char *) "flag", NULL
16460 };
16461
16462 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) SWIG_fail;
16463 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16464 if (!SWIG_IsOK(res1)) {
16465 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16466 }
16467 arg1 = reinterpret_cast< wxColourData * >(argp1);
16468 ecode2 = SWIG_AsVal_int(obj1, &val2);
16469 if (!SWIG_IsOK(ecode2)) {
16470 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16471 }
16472 arg2 = static_cast< int >(val2);
16473 {
16474 PyThreadState* __tstate = wxPyBeginAllowThreads();
16475 (arg1)->SetChooseFull(arg2);
16476 wxPyEndAllowThreads(__tstate);
16477 if (PyErr_Occurred()) SWIG_fail;
16478 }
16479 resultobj = SWIG_Py_Void();
16480 return resultobj;
16481 fail:
16482 return NULL;
16483 }
16484
16485
16486 SWIGINTERN PyObject *_wrap_ColourData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16487 PyObject *resultobj = 0;
16488 wxColourData *arg1 = (wxColourData *) 0 ;
16489 wxColour *arg2 = 0 ;
16490 void *argp1 = 0 ;
16491 int res1 = 0 ;
16492 wxColour temp2 ;
16493 PyObject * obj0 = 0 ;
16494 PyObject * obj1 = 0 ;
16495 char * kwnames[] = {
16496 (char *) "self",(char *) "colour", NULL
16497 };
16498
16499 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
16500 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16501 if (!SWIG_IsOK(res1)) {
16502 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16503 }
16504 arg1 = reinterpret_cast< wxColourData * >(argp1);
16505 {
16506 arg2 = &temp2;
16507 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16508 }
16509 {
16510 PyThreadState* __tstate = wxPyBeginAllowThreads();
16511 (arg1)->SetColour((wxColour const &)*arg2);
16512 wxPyEndAllowThreads(__tstate);
16513 if (PyErr_Occurred()) SWIG_fail;
16514 }
16515 resultobj = SWIG_Py_Void();
16516 return resultobj;
16517 fail:
16518 return NULL;
16519 }
16520
16521
16522 SWIGINTERN PyObject *_wrap_ColourData_SetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16523 PyObject *resultobj = 0;
16524 wxColourData *arg1 = (wxColourData *) 0 ;
16525 int arg2 ;
16526 wxColour *arg3 = 0 ;
16527 void *argp1 = 0 ;
16528 int res1 = 0 ;
16529 int val2 ;
16530 int ecode2 = 0 ;
16531 wxColour temp3 ;
16532 PyObject * obj0 = 0 ;
16533 PyObject * obj1 = 0 ;
16534 PyObject * obj2 = 0 ;
16535 char * kwnames[] = {
16536 (char *) "self",(char *) "i",(char *) "colour", NULL
16537 };
16538
16539 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16540 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16541 if (!SWIG_IsOK(res1)) {
16542 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16543 }
16544 arg1 = reinterpret_cast< wxColourData * >(argp1);
16545 ecode2 = SWIG_AsVal_int(obj1, &val2);
16546 if (!SWIG_IsOK(ecode2)) {
16547 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16548 }
16549 arg2 = static_cast< int >(val2);
16550 {
16551 arg3 = &temp3;
16552 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
16553 }
16554 {
16555 PyThreadState* __tstate = wxPyBeginAllowThreads();
16556 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
16557 wxPyEndAllowThreads(__tstate);
16558 if (PyErr_Occurred()) SWIG_fail;
16559 }
16560 resultobj = SWIG_Py_Void();
16561 return resultobj;
16562 fail:
16563 return NULL;
16564 }
16565
16566
16567 SWIGINTERN PyObject *ColourData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16568 PyObject *obj;
16569 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16570 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData, SWIG_NewClientData(obj));
16571 return SWIG_Py_Void();
16572 }
16573
16574 SWIGINTERN PyObject *ColourData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16575 return SWIG_Python_InitShadowInstance(args);
16576 }
16577
16578 SWIGINTERN PyObject *_wrap_new_ColourDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16579 PyObject *resultobj = 0;
16580 wxWindow *arg1 = (wxWindow *) 0 ;
16581 wxColourData *arg2 = (wxColourData *) NULL ;
16582 wxColourDialog *result = 0 ;
16583 void *argp1 = 0 ;
16584 int res1 = 0 ;
16585 void *argp2 = 0 ;
16586 int res2 = 0 ;
16587 PyObject * obj0 = 0 ;
16588 PyObject * obj1 = 0 ;
16589 char * kwnames[] = {
16590 (char *) "parent",(char *) "data", NULL
16591 };
16592
16593 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) SWIG_fail;
16594 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16595 if (!SWIG_IsOK(res1)) {
16596 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16597 }
16598 arg1 = reinterpret_cast< wxWindow * >(argp1);
16599 if (obj1) {
16600 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxColourData, 0 | 0 );
16601 if (!SWIG_IsOK(res2)) {
16602 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16603 }
16604 arg2 = reinterpret_cast< wxColourData * >(argp2);
16605 }
16606 {
16607 if (!wxPyCheckForApp()) SWIG_fail;
16608 PyThreadState* __tstate = wxPyBeginAllowThreads();
16609 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
16610 wxPyEndAllowThreads(__tstate);
16611 if (PyErr_Occurred()) SWIG_fail;
16612 }
16613 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourDialog, SWIG_POINTER_NEW | 0 );
16614 return resultobj;
16615 fail:
16616 return NULL;
16617 }
16618
16619
16620 SWIGINTERN PyObject *_wrap_ColourDialog_GetColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16621 PyObject *resultobj = 0;
16622 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
16623 wxColourData *result = 0 ;
16624 void *argp1 = 0 ;
16625 int res1 = 0 ;
16626 PyObject *swig_obj[1] ;
16627
16628 if (!args) SWIG_fail;
16629 swig_obj[0] = args;
16630 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourDialog, 0 | 0 );
16631 if (!SWIG_IsOK(res1)) {
16632 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16633 }
16634 arg1 = reinterpret_cast< wxColourDialog * >(argp1);
16635 {
16636 PyThreadState* __tstate = wxPyBeginAllowThreads();
16637 {
16638 wxColourData &_result_ref = (arg1)->GetColourData();
16639 result = (wxColourData *) &_result_ref;
16640 }
16641 wxPyEndAllowThreads(__tstate);
16642 if (PyErr_Occurred()) SWIG_fail;
16643 }
16644 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, 0 | 0 );
16645 return resultobj;
16646 fail:
16647 return NULL;
16648 }
16649
16650
16651 SWIGINTERN PyObject *ColourDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16652 PyObject *obj;
16653 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16654 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog, SWIG_NewClientData(obj));
16655 return SWIG_Py_Void();
16656 }
16657
16658 SWIGINTERN PyObject *ColourDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16659 return SWIG_Python_InitShadowInstance(args);
16660 }
16661
16662 SWIGINTERN PyObject *_wrap_GetColourFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16663 PyObject *resultobj = 0;
16664 wxWindow *arg1 = (wxWindow *) (wxWindow *) NULL ;
16665 wxColour const &arg2_defvalue = wxNullColour ;
16666 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
16667 wxString const &arg3_defvalue = wxPyEmptyString ;
16668 wxString *arg3 = (wxString *) &arg3_defvalue ;
16669 wxColour result;
16670 void *argp1 = 0 ;
16671 int res1 = 0 ;
16672 wxColour temp2 ;
16673 bool temp3 = false ;
16674 PyObject * obj0 = 0 ;
16675 PyObject * obj1 = 0 ;
16676 PyObject * obj2 = 0 ;
16677 char * kwnames[] = {
16678 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16679 };
16680
16681 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetColourFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16682 if (obj0) {
16683 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16684 if (!SWIG_IsOK(res1)) {
16685 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
16686 }
16687 arg1 = reinterpret_cast< wxWindow * >(argp1);
16688 }
16689 if (obj1) {
16690 {
16691 arg2 = &temp2;
16692 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16693 }
16694 }
16695 if (obj2) {
16696 {
16697 arg3 = wxString_in_helper(obj2);
16698 if (arg3 == NULL) SWIG_fail;
16699 temp3 = true;
16700 }
16701 }
16702 {
16703 PyThreadState* __tstate = wxPyBeginAllowThreads();
16704 result = wxGetColourFromUser(arg1,(wxColour const &)*arg2,(wxString const &)*arg3);
16705 wxPyEndAllowThreads(__tstate);
16706 if (PyErr_Occurred()) SWIG_fail;
16707 }
16708 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16709 {
16710 if (temp3)
16711 delete arg3;
16712 }
16713 return resultobj;
16714 fail:
16715 {
16716 if (temp3)
16717 delete arg3;
16718 }
16719 return NULL;
16720 }
16721
16722
16723 SWIGINTERN PyObject *_wrap_new_DirDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16724 PyObject *resultobj = 0;
16725 wxWindow *arg1 = (wxWindow *) 0 ;
16726 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
16727 wxString *arg2 = (wxString *) &arg2_defvalue ;
16728 wxString const &arg3_defvalue = wxPyEmptyString ;
16729 wxString *arg3 = (wxString *) &arg3_defvalue ;
16730 long arg4 = (long) 0 ;
16731 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16732 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16733 wxSize const &arg6_defvalue = wxDefaultSize ;
16734 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16735 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
16736 wxString *arg7 = (wxString *) &arg7_defvalue ;
16737 wxDirDialog *result = 0 ;
16738 void *argp1 = 0 ;
16739 int res1 = 0 ;
16740 bool temp2 = false ;
16741 bool temp3 = false ;
16742 long val4 ;
16743 int ecode4 = 0 ;
16744 wxPoint temp5 ;
16745 wxSize temp6 ;
16746 bool temp7 = false ;
16747 PyObject * obj0 = 0 ;
16748 PyObject * obj1 = 0 ;
16749 PyObject * obj2 = 0 ;
16750 PyObject * obj3 = 0 ;
16751 PyObject * obj4 = 0 ;
16752 PyObject * obj5 = 0 ;
16753 PyObject * obj6 = 0 ;
16754 char * kwnames[] = {
16755 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16756 };
16757
16758 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
16759 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16760 if (!SWIG_IsOK(res1)) {
16761 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16762 }
16763 arg1 = reinterpret_cast< wxWindow * >(argp1);
16764 if (obj1) {
16765 {
16766 arg2 = wxString_in_helper(obj1);
16767 if (arg2 == NULL) SWIG_fail;
16768 temp2 = true;
16769 }
16770 }
16771 if (obj2) {
16772 {
16773 arg3 = wxString_in_helper(obj2);
16774 if (arg3 == NULL) SWIG_fail;
16775 temp3 = true;
16776 }
16777 }
16778 if (obj3) {
16779 ecode4 = SWIG_AsVal_long(obj3, &val4);
16780 if (!SWIG_IsOK(ecode4)) {
16781 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16782 }
16783 arg4 = static_cast< long >(val4);
16784 }
16785 if (obj4) {
16786 {
16787 arg5 = &temp5;
16788 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
16789 }
16790 }
16791 if (obj5) {
16792 {
16793 arg6 = &temp6;
16794 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
16795 }
16796 }
16797 if (obj6) {
16798 {
16799 arg7 = wxString_in_helper(obj6);
16800 if (arg7 == NULL) SWIG_fail;
16801 temp7 = true;
16802 }
16803 }
16804 {
16805 if (!wxPyCheckForApp()) SWIG_fail;
16806 PyThreadState* __tstate = wxPyBeginAllowThreads();
16807 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
16808 wxPyEndAllowThreads(__tstate);
16809 if (PyErr_Occurred()) SWIG_fail;
16810 }
16811 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirDialog, SWIG_POINTER_NEW | 0 );
16812 {
16813 if (temp2)
16814 delete arg2;
16815 }
16816 {
16817 if (temp3)
16818 delete arg3;
16819 }
16820 {
16821 if (temp7)
16822 delete arg7;
16823 }
16824 return resultobj;
16825 fail:
16826 {
16827 if (temp2)
16828 delete arg2;
16829 }
16830 {
16831 if (temp3)
16832 delete arg3;
16833 }
16834 {
16835 if (temp7)
16836 delete arg7;
16837 }
16838 return NULL;
16839 }
16840
16841
16842 SWIGINTERN PyObject *_wrap_DirDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16843 PyObject *resultobj = 0;
16844 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16845 wxString result;
16846 void *argp1 = 0 ;
16847 int res1 = 0 ;
16848 PyObject *swig_obj[1] ;
16849
16850 if (!args) SWIG_fail;
16851 swig_obj[0] = args;
16852 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16853 if (!SWIG_IsOK(res1)) {
16854 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16855 }
16856 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16857 {
16858 PyThreadState* __tstate = wxPyBeginAllowThreads();
16859 result = (arg1)->GetPath();
16860 wxPyEndAllowThreads(__tstate);
16861 if (PyErr_Occurred()) SWIG_fail;
16862 }
16863 {
16864 #if wxUSE_UNICODE
16865 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16866 #else
16867 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16868 #endif
16869 }
16870 return resultobj;
16871 fail:
16872 return NULL;
16873 }
16874
16875
16876 SWIGINTERN PyObject *_wrap_DirDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16877 PyObject *resultobj = 0;
16878 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16879 wxString 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_wxDirDialog, 0 | 0 );
16887 if (!SWIG_IsOK(res1)) {
16888 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16889 }
16890 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16891 {
16892 PyThreadState* __tstate = wxPyBeginAllowThreads();
16893 result = (arg1)->GetMessage();
16894 wxPyEndAllowThreads(__tstate);
16895 if (PyErr_Occurred()) SWIG_fail;
16896 }
16897 {
16898 #if wxUSE_UNICODE
16899 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16900 #else
16901 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16902 #endif
16903 }
16904 return resultobj;
16905 fail:
16906 return NULL;
16907 }
16908
16909
16910 SWIGINTERN PyObject *_wrap_DirDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16911 PyObject *resultobj = 0;
16912 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16913 wxString *arg2 = 0 ;
16914 void *argp1 = 0 ;
16915 int res1 = 0 ;
16916 bool temp2 = false ;
16917 PyObject * obj0 = 0 ;
16918 PyObject * obj1 = 0 ;
16919 char * kwnames[] = {
16920 (char *) "self",(char *) "message", NULL
16921 };
16922
16923 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
16924 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16925 if (!SWIG_IsOK(res1)) {
16926 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16927 }
16928 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16929 {
16930 arg2 = wxString_in_helper(obj1);
16931 if (arg2 == NULL) SWIG_fail;
16932 temp2 = true;
16933 }
16934 {
16935 PyThreadState* __tstate = wxPyBeginAllowThreads();
16936 (arg1)->SetMessage((wxString const &)*arg2);
16937 wxPyEndAllowThreads(__tstate);
16938 if (PyErr_Occurred()) SWIG_fail;
16939 }
16940 resultobj = SWIG_Py_Void();
16941 {
16942 if (temp2)
16943 delete arg2;
16944 }
16945 return resultobj;
16946 fail:
16947 {
16948 if (temp2)
16949 delete arg2;
16950 }
16951 return NULL;
16952 }
16953
16954
16955 SWIGINTERN PyObject *_wrap_DirDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16956 PyObject *resultobj = 0;
16957 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16958 wxString *arg2 = 0 ;
16959 void *argp1 = 0 ;
16960 int res1 = 0 ;
16961 bool temp2 = false ;
16962 PyObject * obj0 = 0 ;
16963 PyObject * obj1 = 0 ;
16964 char * kwnames[] = {
16965 (char *) "self",(char *) "path", NULL
16966 };
16967
16968 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
16969 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16970 if (!SWIG_IsOK(res1)) {
16971 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16972 }
16973 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16974 {
16975 arg2 = wxString_in_helper(obj1);
16976 if (arg2 == NULL) SWIG_fail;
16977 temp2 = true;
16978 }
16979 {
16980 PyThreadState* __tstate = wxPyBeginAllowThreads();
16981 (arg1)->SetPath((wxString const &)*arg2);
16982 wxPyEndAllowThreads(__tstate);
16983 if (PyErr_Occurred()) SWIG_fail;
16984 }
16985 resultobj = SWIG_Py_Void();
16986 {
16987 if (temp2)
16988 delete arg2;
16989 }
16990 return resultobj;
16991 fail:
16992 {
16993 if (temp2)
16994 delete arg2;
16995 }
16996 return NULL;
16997 }
16998
16999
17000 SWIGINTERN PyObject *DirDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17001 PyObject *obj;
17002 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17003 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog, SWIG_NewClientData(obj));
17004 return SWIG_Py_Void();
17005 }
17006
17007 SWIGINTERN PyObject *DirDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17008 return SWIG_Python_InitShadowInstance(args);
17009 }
17010
17011 SWIGINTERN PyObject *_wrap_new_FileDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17012 PyObject *resultobj = 0;
17013 wxWindow *arg1 = (wxWindow *) 0 ;
17014 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
17015 wxString *arg2 = (wxString *) &arg2_defvalue ;
17016 wxString const &arg3_defvalue = wxPyEmptyString ;
17017 wxString *arg3 = (wxString *) &arg3_defvalue ;
17018 wxString const &arg4_defvalue = wxPyEmptyString ;
17019 wxString *arg4 = (wxString *) &arg4_defvalue ;
17020 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
17021 wxString *arg5 = (wxString *) &arg5_defvalue ;
17022 long arg6 = (long) 0 ;
17023 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17024 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17025 wxFileDialog *result = 0 ;
17026 void *argp1 = 0 ;
17027 int res1 = 0 ;
17028 bool temp2 = false ;
17029 bool temp3 = false ;
17030 bool temp4 = false ;
17031 bool temp5 = false ;
17032 long val6 ;
17033 int ecode6 = 0 ;
17034 wxPoint temp7 ;
17035 PyObject * obj0 = 0 ;
17036 PyObject * obj1 = 0 ;
17037 PyObject * obj2 = 0 ;
17038 PyObject * obj3 = 0 ;
17039 PyObject * obj4 = 0 ;
17040 PyObject * obj5 = 0 ;
17041 PyObject * obj6 = 0 ;
17042 char * kwnames[] = {
17043 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
17044 };
17045
17046 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
17047 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17048 if (!SWIG_IsOK(res1)) {
17049 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17050 }
17051 arg1 = reinterpret_cast< wxWindow * >(argp1);
17052 if (obj1) {
17053 {
17054 arg2 = wxString_in_helper(obj1);
17055 if (arg2 == NULL) SWIG_fail;
17056 temp2 = true;
17057 }
17058 }
17059 if (obj2) {
17060 {
17061 arg3 = wxString_in_helper(obj2);
17062 if (arg3 == NULL) SWIG_fail;
17063 temp3 = true;
17064 }
17065 }
17066 if (obj3) {
17067 {
17068 arg4 = wxString_in_helper(obj3);
17069 if (arg4 == NULL) SWIG_fail;
17070 temp4 = true;
17071 }
17072 }
17073 if (obj4) {
17074 {
17075 arg5 = wxString_in_helper(obj4);
17076 if (arg5 == NULL) SWIG_fail;
17077 temp5 = true;
17078 }
17079 }
17080 if (obj5) {
17081 ecode6 = SWIG_AsVal_long(obj5, &val6);
17082 if (!SWIG_IsOK(ecode6)) {
17083 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
17084 }
17085 arg6 = static_cast< long >(val6);
17086 }
17087 if (obj6) {
17088 {
17089 arg7 = &temp7;
17090 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
17091 }
17092 }
17093 {
17094 if (!wxPyCheckForApp()) SWIG_fail;
17095 PyThreadState* __tstate = wxPyBeginAllowThreads();
17096 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
17097 wxPyEndAllowThreads(__tstate);
17098 if (PyErr_Occurred()) SWIG_fail;
17099 }
17100 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileDialog, SWIG_POINTER_NEW | 0 );
17101 {
17102 if (temp2)
17103 delete arg2;
17104 }
17105 {
17106 if (temp3)
17107 delete arg3;
17108 }
17109 {
17110 if (temp4)
17111 delete arg4;
17112 }
17113 {
17114 if (temp5)
17115 delete arg5;
17116 }
17117 return resultobj;
17118 fail:
17119 {
17120 if (temp2)
17121 delete arg2;
17122 }
17123 {
17124 if (temp3)
17125 delete arg3;
17126 }
17127 {
17128 if (temp4)
17129 delete arg4;
17130 }
17131 {
17132 if (temp5)
17133 delete arg5;
17134 }
17135 return NULL;
17136 }
17137
17138
17139 SWIGINTERN PyObject *_wrap_FileDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17140 PyObject *resultobj = 0;
17141 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17142 wxString *arg2 = 0 ;
17143 void *argp1 = 0 ;
17144 int res1 = 0 ;
17145 bool temp2 = false ;
17146 PyObject * obj0 = 0 ;
17147 PyObject * obj1 = 0 ;
17148 char * kwnames[] = {
17149 (char *) "self",(char *) "message", NULL
17150 };
17151
17152 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
17153 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17154 if (!SWIG_IsOK(res1)) {
17155 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17156 }
17157 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17158 {
17159 arg2 = wxString_in_helper(obj1);
17160 if (arg2 == NULL) SWIG_fail;
17161 temp2 = true;
17162 }
17163 {
17164 PyThreadState* __tstate = wxPyBeginAllowThreads();
17165 (arg1)->SetMessage((wxString const &)*arg2);
17166 wxPyEndAllowThreads(__tstate);
17167 if (PyErr_Occurred()) SWIG_fail;
17168 }
17169 resultobj = SWIG_Py_Void();
17170 {
17171 if (temp2)
17172 delete arg2;
17173 }
17174 return resultobj;
17175 fail:
17176 {
17177 if (temp2)
17178 delete arg2;
17179 }
17180 return NULL;
17181 }
17182
17183
17184 SWIGINTERN PyObject *_wrap_FileDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17185 PyObject *resultobj = 0;
17186 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17187 wxString *arg2 = 0 ;
17188 void *argp1 = 0 ;
17189 int res1 = 0 ;
17190 bool temp2 = false ;
17191 PyObject * obj0 = 0 ;
17192 PyObject * obj1 = 0 ;
17193 char * kwnames[] = {
17194 (char *) "self",(char *) "path", NULL
17195 };
17196
17197 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
17198 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17199 if (!SWIG_IsOK(res1)) {
17200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17201 }
17202 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17203 {
17204 arg2 = wxString_in_helper(obj1);
17205 if (arg2 == NULL) SWIG_fail;
17206 temp2 = true;
17207 }
17208 {
17209 PyThreadState* __tstate = wxPyBeginAllowThreads();
17210 (arg1)->SetPath((wxString const &)*arg2);
17211 wxPyEndAllowThreads(__tstate);
17212 if (PyErr_Occurred()) SWIG_fail;
17213 }
17214 resultobj = SWIG_Py_Void();
17215 {
17216 if (temp2)
17217 delete arg2;
17218 }
17219 return resultobj;
17220 fail:
17221 {
17222 if (temp2)
17223 delete arg2;
17224 }
17225 return NULL;
17226 }
17227
17228
17229 SWIGINTERN PyObject *_wrap_FileDialog_SetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17230 PyObject *resultobj = 0;
17231 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17232 wxString *arg2 = 0 ;
17233 void *argp1 = 0 ;
17234 int res1 = 0 ;
17235 bool temp2 = false ;
17236 PyObject * obj0 = 0 ;
17237 PyObject * obj1 = 0 ;
17238 char * kwnames[] = {
17239 (char *) "self",(char *) "dir", NULL
17240 };
17241
17242 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) SWIG_fail;
17243 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17244 if (!SWIG_IsOK(res1)) {
17245 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17246 }
17247 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17248 {
17249 arg2 = wxString_in_helper(obj1);
17250 if (arg2 == NULL) SWIG_fail;
17251 temp2 = true;
17252 }
17253 {
17254 PyThreadState* __tstate = wxPyBeginAllowThreads();
17255 (arg1)->SetDirectory((wxString const &)*arg2);
17256 wxPyEndAllowThreads(__tstate);
17257 if (PyErr_Occurred()) SWIG_fail;
17258 }
17259 resultobj = SWIG_Py_Void();
17260 {
17261 if (temp2)
17262 delete arg2;
17263 }
17264 return resultobj;
17265 fail:
17266 {
17267 if (temp2)
17268 delete arg2;
17269 }
17270 return NULL;
17271 }
17272
17273
17274 SWIGINTERN PyObject *_wrap_FileDialog_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17275 PyObject *resultobj = 0;
17276 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17277 wxString *arg2 = 0 ;
17278 void *argp1 = 0 ;
17279 int res1 = 0 ;
17280 bool temp2 = false ;
17281 PyObject * obj0 = 0 ;
17282 PyObject * obj1 = 0 ;
17283 char * kwnames[] = {
17284 (char *) "self",(char *) "name", NULL
17285 };
17286
17287 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
17288 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17289 if (!SWIG_IsOK(res1)) {
17290 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17291 }
17292 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17293 {
17294 arg2 = wxString_in_helper(obj1);
17295 if (arg2 == NULL) SWIG_fail;
17296 temp2 = true;
17297 }
17298 {
17299 PyThreadState* __tstate = wxPyBeginAllowThreads();
17300 (arg1)->SetFilename((wxString const &)*arg2);
17301 wxPyEndAllowThreads(__tstate);
17302 if (PyErr_Occurred()) SWIG_fail;
17303 }
17304 resultobj = SWIG_Py_Void();
17305 {
17306 if (temp2)
17307 delete arg2;
17308 }
17309 return resultobj;
17310 fail:
17311 {
17312 if (temp2)
17313 delete arg2;
17314 }
17315 return NULL;
17316 }
17317
17318
17319 SWIGINTERN PyObject *_wrap_FileDialog_SetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17320 PyObject *resultobj = 0;
17321 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17322 wxString *arg2 = 0 ;
17323 void *argp1 = 0 ;
17324 int res1 = 0 ;
17325 bool temp2 = false ;
17326 PyObject * obj0 = 0 ;
17327 PyObject * obj1 = 0 ;
17328 char * kwnames[] = {
17329 (char *) "self",(char *) "wildCard", NULL
17330 };
17331
17332 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) SWIG_fail;
17333 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17334 if (!SWIG_IsOK(res1)) {
17335 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17336 }
17337 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17338 {
17339 arg2 = wxString_in_helper(obj1);
17340 if (arg2 == NULL) SWIG_fail;
17341 temp2 = true;
17342 }
17343 {
17344 PyThreadState* __tstate = wxPyBeginAllowThreads();
17345 (arg1)->SetWildcard((wxString const &)*arg2);
17346 wxPyEndAllowThreads(__tstate);
17347 if (PyErr_Occurred()) SWIG_fail;
17348 }
17349 resultobj = SWIG_Py_Void();
17350 {
17351 if (temp2)
17352 delete arg2;
17353 }
17354 return resultobj;
17355 fail:
17356 {
17357 if (temp2)
17358 delete arg2;
17359 }
17360 return NULL;
17361 }
17362
17363
17364 SWIGINTERN PyObject *_wrap_FileDialog_SetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17365 PyObject *resultobj = 0;
17366 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17367 long arg2 ;
17368 void *argp1 = 0 ;
17369 int res1 = 0 ;
17370 long val2 ;
17371 int ecode2 = 0 ;
17372 PyObject * obj0 = 0 ;
17373 PyObject * obj1 = 0 ;
17374 char * kwnames[] = {
17375 (char *) "self",(char *) "style", NULL
17376 };
17377
17378 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) SWIG_fail;
17379 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17380 if (!SWIG_IsOK(res1)) {
17381 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetStyle" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17382 }
17383 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17384 ecode2 = SWIG_AsVal_long(obj1, &val2);
17385 if (!SWIG_IsOK(ecode2)) {
17386 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FileDialog_SetStyle" "', expected argument " "2"" of type '" "long""'");
17387 }
17388 arg2 = static_cast< long >(val2);
17389 {
17390 PyThreadState* __tstate = wxPyBeginAllowThreads();
17391 (arg1)->SetStyle(arg2);
17392 wxPyEndAllowThreads(__tstate);
17393 if (PyErr_Occurred()) SWIG_fail;
17394 }
17395 resultobj = SWIG_Py_Void();
17396 return resultobj;
17397 fail:
17398 return NULL;
17399 }
17400
17401
17402 SWIGINTERN PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17403 PyObject *resultobj = 0;
17404 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17405 int arg2 ;
17406 void *argp1 = 0 ;
17407 int res1 = 0 ;
17408 int val2 ;
17409 int ecode2 = 0 ;
17410 PyObject * obj0 = 0 ;
17411 PyObject * obj1 = 0 ;
17412 char * kwnames[] = {
17413 (char *) "self",(char *) "filterIndex", NULL
17414 };
17415
17416 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) SWIG_fail;
17417 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17418 if (!SWIG_IsOK(res1)) {
17419 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17420 }
17421 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17422 ecode2 = SWIG_AsVal_int(obj1, &val2);
17423 if (!SWIG_IsOK(ecode2)) {
17424 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17425 }
17426 arg2 = static_cast< int >(val2);
17427 {
17428 PyThreadState* __tstate = wxPyBeginAllowThreads();
17429 (arg1)->SetFilterIndex(arg2);
17430 wxPyEndAllowThreads(__tstate);
17431 if (PyErr_Occurred()) SWIG_fail;
17432 }
17433 resultobj = SWIG_Py_Void();
17434 return resultobj;
17435 fail:
17436 return NULL;
17437 }
17438
17439
17440 SWIGINTERN PyObject *_wrap_FileDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17441 PyObject *resultobj = 0;
17442 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17443 wxString result;
17444 void *argp1 = 0 ;
17445 int res1 = 0 ;
17446 PyObject *swig_obj[1] ;
17447
17448 if (!args) SWIG_fail;
17449 swig_obj[0] = args;
17450 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17451 if (!SWIG_IsOK(res1)) {
17452 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17453 }
17454 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17455 {
17456 PyThreadState* __tstate = wxPyBeginAllowThreads();
17457 result = ((wxFileDialog const *)arg1)->GetMessage();
17458 wxPyEndAllowThreads(__tstate);
17459 if (PyErr_Occurred()) SWIG_fail;
17460 }
17461 {
17462 #if wxUSE_UNICODE
17463 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17464 #else
17465 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17466 #endif
17467 }
17468 return resultobj;
17469 fail:
17470 return NULL;
17471 }
17472
17473
17474 SWIGINTERN PyObject *_wrap_FileDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17475 PyObject *resultobj = 0;
17476 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17477 wxString result;
17478 void *argp1 = 0 ;
17479 int res1 = 0 ;
17480 PyObject *swig_obj[1] ;
17481
17482 if (!args) SWIG_fail;
17483 swig_obj[0] = args;
17484 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17485 if (!SWIG_IsOK(res1)) {
17486 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17487 }
17488 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17489 {
17490 PyThreadState* __tstate = wxPyBeginAllowThreads();
17491 result = ((wxFileDialog const *)arg1)->GetPath();
17492 wxPyEndAllowThreads(__tstate);
17493 if (PyErr_Occurred()) SWIG_fail;
17494 }
17495 {
17496 #if wxUSE_UNICODE
17497 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17498 #else
17499 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17500 #endif
17501 }
17502 return resultobj;
17503 fail:
17504 return NULL;
17505 }
17506
17507
17508 SWIGINTERN PyObject *_wrap_FileDialog_GetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17509 PyObject *resultobj = 0;
17510 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17511 wxString result;
17512 void *argp1 = 0 ;
17513 int res1 = 0 ;
17514 PyObject *swig_obj[1] ;
17515
17516 if (!args) SWIG_fail;
17517 swig_obj[0] = args;
17518 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17519 if (!SWIG_IsOK(res1)) {
17520 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17521 }
17522 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17523 {
17524 PyThreadState* __tstate = wxPyBeginAllowThreads();
17525 result = ((wxFileDialog const *)arg1)->GetDirectory();
17526 wxPyEndAllowThreads(__tstate);
17527 if (PyErr_Occurred()) SWIG_fail;
17528 }
17529 {
17530 #if wxUSE_UNICODE
17531 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17532 #else
17533 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17534 #endif
17535 }
17536 return resultobj;
17537 fail:
17538 return NULL;
17539 }
17540
17541
17542 SWIGINTERN PyObject *_wrap_FileDialog_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17543 PyObject *resultobj = 0;
17544 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17545 wxString result;
17546 void *argp1 = 0 ;
17547 int res1 = 0 ;
17548 PyObject *swig_obj[1] ;
17549
17550 if (!args) SWIG_fail;
17551 swig_obj[0] = args;
17552 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17553 if (!SWIG_IsOK(res1)) {
17554 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17555 }
17556 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17557 {
17558 PyThreadState* __tstate = wxPyBeginAllowThreads();
17559 result = ((wxFileDialog const *)arg1)->GetFilename();
17560 wxPyEndAllowThreads(__tstate);
17561 if (PyErr_Occurred()) SWIG_fail;
17562 }
17563 {
17564 #if wxUSE_UNICODE
17565 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17566 #else
17567 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17568 #endif
17569 }
17570 return resultobj;
17571 fail:
17572 return NULL;
17573 }
17574
17575
17576 SWIGINTERN PyObject *_wrap_FileDialog_GetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17577 PyObject *resultobj = 0;
17578 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17579 wxString result;
17580 void *argp1 = 0 ;
17581 int res1 = 0 ;
17582 PyObject *swig_obj[1] ;
17583
17584 if (!args) SWIG_fail;
17585 swig_obj[0] = args;
17586 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17587 if (!SWIG_IsOK(res1)) {
17588 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17589 }
17590 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17591 {
17592 PyThreadState* __tstate = wxPyBeginAllowThreads();
17593 result = ((wxFileDialog const *)arg1)->GetWildcard();
17594 wxPyEndAllowThreads(__tstate);
17595 if (PyErr_Occurred()) SWIG_fail;
17596 }
17597 {
17598 #if wxUSE_UNICODE
17599 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17600 #else
17601 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17602 #endif
17603 }
17604 return resultobj;
17605 fail:
17606 return NULL;
17607 }
17608
17609
17610 SWIGINTERN PyObject *_wrap_FileDialog_GetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17611 PyObject *resultobj = 0;
17612 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17613 long result;
17614 void *argp1 = 0 ;
17615 int res1 = 0 ;
17616 PyObject *swig_obj[1] ;
17617
17618 if (!args) SWIG_fail;
17619 swig_obj[0] = args;
17620 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17621 if (!SWIG_IsOK(res1)) {
17622 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetStyle" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17623 }
17624 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17625 {
17626 PyThreadState* __tstate = wxPyBeginAllowThreads();
17627 result = (long)((wxFileDialog const *)arg1)->GetStyle();
17628 wxPyEndAllowThreads(__tstate);
17629 if (PyErr_Occurred()) SWIG_fail;
17630 }
17631 resultobj = SWIG_From_long(static_cast< long >(result));
17632 return resultobj;
17633 fail:
17634 return NULL;
17635 }
17636
17637
17638 SWIGINTERN PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17639 PyObject *resultobj = 0;
17640 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17641 int result;
17642 void *argp1 = 0 ;
17643 int res1 = 0 ;
17644 PyObject *swig_obj[1] ;
17645
17646 if (!args) SWIG_fail;
17647 swig_obj[0] = args;
17648 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17649 if (!SWIG_IsOK(res1)) {
17650 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17651 }
17652 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17653 {
17654 PyThreadState* __tstate = wxPyBeginAllowThreads();
17655 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
17656 wxPyEndAllowThreads(__tstate);
17657 if (PyErr_Occurred()) SWIG_fail;
17658 }
17659 resultobj = SWIG_From_int(static_cast< int >(result));
17660 return resultobj;
17661 fail:
17662 return NULL;
17663 }
17664
17665
17666 SWIGINTERN PyObject *_wrap_FileDialog_GetFilenames(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17667 PyObject *resultobj = 0;
17668 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17669 PyObject *result = 0 ;
17670 void *argp1 = 0 ;
17671 int res1 = 0 ;
17672 PyObject *swig_obj[1] ;
17673
17674 if (!args) SWIG_fail;
17675 swig_obj[0] = args;
17676 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17677 if (!SWIG_IsOK(res1)) {
17678 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17679 }
17680 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17681 {
17682 PyThreadState* __tstate = wxPyBeginAllowThreads();
17683 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
17684 wxPyEndAllowThreads(__tstate);
17685 if (PyErr_Occurred()) SWIG_fail;
17686 }
17687 resultobj = result;
17688 return resultobj;
17689 fail:
17690 return NULL;
17691 }
17692
17693
17694 SWIGINTERN PyObject *_wrap_FileDialog_GetPaths(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17695 PyObject *resultobj = 0;
17696 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17697 PyObject *result = 0 ;
17698 void *argp1 = 0 ;
17699 int res1 = 0 ;
17700 PyObject *swig_obj[1] ;
17701
17702 if (!args) SWIG_fail;
17703 swig_obj[0] = args;
17704 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17705 if (!SWIG_IsOK(res1)) {
17706 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17707 }
17708 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17709 {
17710 PyThreadState* __tstate = wxPyBeginAllowThreads();
17711 result = (PyObject *)wxFileDialog_GetPaths(arg1);
17712 wxPyEndAllowThreads(__tstate);
17713 if (PyErr_Occurred()) SWIG_fail;
17714 }
17715 resultobj = result;
17716 return resultobj;
17717 fail:
17718 return NULL;
17719 }
17720
17721
17722 SWIGINTERN PyObject *FileDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17723 PyObject *obj;
17724 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17725 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog, SWIG_NewClientData(obj));
17726 return SWIG_Py_Void();
17727 }
17728
17729 SWIGINTERN PyObject *FileDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17730 return SWIG_Python_InitShadowInstance(args);
17731 }
17732
17733 SWIGINTERN PyObject *_wrap_new_MultiChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17734 PyObject *resultobj = 0;
17735 wxWindow *arg1 = (wxWindow *) 0 ;
17736 wxString *arg2 = 0 ;
17737 wxString *arg3 = 0 ;
17738 int arg4 = (int) 0 ;
17739 wxString *arg5 = (wxString *) NULL ;
17740 long arg6 = (long) wxCHOICEDLG_STYLE ;
17741 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17742 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17743 wxMultiChoiceDialog *result = 0 ;
17744 void *argp1 = 0 ;
17745 int res1 = 0 ;
17746 bool temp2 = false ;
17747 bool temp3 = false ;
17748 long val6 ;
17749 int ecode6 = 0 ;
17750 wxPoint temp7 ;
17751 PyObject * obj0 = 0 ;
17752 PyObject * obj1 = 0 ;
17753 PyObject * obj2 = 0 ;
17754 PyObject * obj3 = 0 ;
17755 PyObject * obj4 = 0 ;
17756 PyObject * obj5 = 0 ;
17757 char * kwnames[] = {
17758 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17759 };
17760
17761 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17762 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17763 if (!SWIG_IsOK(res1)) {
17764 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17765 }
17766 arg1 = reinterpret_cast< wxWindow * >(argp1);
17767 {
17768 arg2 = wxString_in_helper(obj1);
17769 if (arg2 == NULL) SWIG_fail;
17770 temp2 = true;
17771 }
17772 {
17773 arg3 = wxString_in_helper(obj2);
17774 if (arg3 == NULL) SWIG_fail;
17775 temp3 = true;
17776 }
17777 if (obj3) {
17778 {
17779 arg4 = PyList_Size(obj3);
17780 arg5 = wxString_LIST_helper(obj3);
17781 if (arg5 == NULL) SWIG_fail;
17782 }
17783 }
17784 if (obj4) {
17785 ecode6 = SWIG_AsVal_long(obj4, &val6);
17786 if (!SWIG_IsOK(ecode6)) {
17787 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17788 }
17789 arg6 = static_cast< long >(val6);
17790 }
17791 if (obj5) {
17792 {
17793 arg7 = &temp7;
17794 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
17795 }
17796 }
17797 {
17798 if (!wxPyCheckForApp()) SWIG_fail;
17799 PyThreadState* __tstate = wxPyBeginAllowThreads();
17800 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
17801 wxPyEndAllowThreads(__tstate);
17802 if (PyErr_Occurred()) SWIG_fail;
17803 }
17804 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_NEW | 0 );
17805 {
17806 if (temp2)
17807 delete arg2;
17808 }
17809 {
17810 if (temp3)
17811 delete arg3;
17812 }
17813 {
17814 if (arg5) delete [] arg5;
17815 }
17816 return resultobj;
17817 fail:
17818 {
17819 if (temp2)
17820 delete arg2;
17821 }
17822 {
17823 if (temp3)
17824 delete arg3;
17825 }
17826 {
17827 if (arg5) delete [] arg5;
17828 }
17829 return NULL;
17830 }
17831
17832
17833 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17834 PyObject *resultobj = 0;
17835 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
17836 wxArrayInt *arg2 = 0 ;
17837 void *argp1 = 0 ;
17838 int res1 = 0 ;
17839 bool temp2 = false ;
17840 PyObject * obj0 = 0 ;
17841 PyObject * obj1 = 0 ;
17842 char * kwnames[] = {
17843 (char *) "self",(char *) "selections", NULL
17844 };
17845
17846 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) SWIG_fail;
17847 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
17848 if (!SWIG_IsOK(res1)) {
17849 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17850 }
17851 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
17852 {
17853 if (! PySequence_Check(obj1)) {
17854 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
17855 SWIG_fail;
17856 }
17857 arg2 = new wxArrayInt;
17858 temp2 = true;
17859 int i, len=PySequence_Length(obj1);
17860 for (i=0; i<len; i++) {
17861 PyObject* item = PySequence_GetItem(obj1, i);
17862 PyObject* number = PyNumber_Int(item);
17863 arg2->Add(PyInt_AS_LONG(number));
17864 Py_DECREF(item);
17865 Py_DECREF(number);
17866 }
17867 }
17868 {
17869 PyThreadState* __tstate = wxPyBeginAllowThreads();
17870 (arg1)->SetSelections((wxArrayInt const &)*arg2);
17871 wxPyEndAllowThreads(__tstate);
17872 if (PyErr_Occurred()) SWIG_fail;
17873 }
17874 resultobj = SWIG_Py_Void();
17875 {
17876 if (temp2) delete arg2;
17877 }
17878 return resultobj;
17879 fail:
17880 {
17881 if (temp2) delete arg2;
17882 }
17883 return NULL;
17884 }
17885
17886
17887 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17888 PyObject *resultobj = 0;
17889 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
17890 PyObject *result = 0 ;
17891 void *argp1 = 0 ;
17892 int res1 = 0 ;
17893 PyObject *swig_obj[1] ;
17894
17895 if (!args) SWIG_fail;
17896 swig_obj[0] = args;
17897 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
17898 if (!SWIG_IsOK(res1)) {
17899 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17900 }
17901 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
17902 {
17903 PyThreadState* __tstate = wxPyBeginAllowThreads();
17904 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
17905 wxPyEndAllowThreads(__tstate);
17906 if (PyErr_Occurred()) SWIG_fail;
17907 }
17908 resultobj = result;
17909 return resultobj;
17910 fail:
17911 return NULL;
17912 }
17913
17914
17915 SWIGINTERN PyObject *MultiChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17916 PyObject *obj;
17917 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17918 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog, SWIG_NewClientData(obj));
17919 return SWIG_Py_Void();
17920 }
17921
17922 SWIGINTERN PyObject *MultiChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17923 return SWIG_Python_InitShadowInstance(args);
17924 }
17925
17926 SWIGINTERN PyObject *_wrap_new_SingleChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17927 PyObject *resultobj = 0;
17928 wxWindow *arg1 = (wxWindow *) 0 ;
17929 wxString *arg2 = 0 ;
17930 wxString *arg3 = 0 ;
17931 int arg4 ;
17932 wxString *arg5 = (wxString *) 0 ;
17933 long arg6 = (long) wxCHOICEDLG_STYLE ;
17934 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17935 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17936 wxSingleChoiceDialog *result = 0 ;
17937 void *argp1 = 0 ;
17938 int res1 = 0 ;
17939 bool temp2 = false ;
17940 bool temp3 = false ;
17941 long val6 ;
17942 int ecode6 = 0 ;
17943 wxPoint temp7 ;
17944 PyObject * obj0 = 0 ;
17945 PyObject * obj1 = 0 ;
17946 PyObject * obj2 = 0 ;
17947 PyObject * obj3 = 0 ;
17948 PyObject * obj4 = 0 ;
17949 PyObject * obj5 = 0 ;
17950 char * kwnames[] = {
17951 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17952 };
17953
17954 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17955 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17956 if (!SWIG_IsOK(res1)) {
17957 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17958 }
17959 arg1 = reinterpret_cast< wxWindow * >(argp1);
17960 {
17961 arg2 = wxString_in_helper(obj1);
17962 if (arg2 == NULL) SWIG_fail;
17963 temp2 = true;
17964 }
17965 {
17966 arg3 = wxString_in_helper(obj2);
17967 if (arg3 == NULL) SWIG_fail;
17968 temp3 = true;
17969 }
17970 {
17971 arg4 = PyList_Size(obj3);
17972 arg5 = wxString_LIST_helper(obj3);
17973 if (arg5 == NULL) SWIG_fail;
17974 }
17975 if (obj4) {
17976 ecode6 = SWIG_AsVal_long(obj4, &val6);
17977 if (!SWIG_IsOK(ecode6)) {
17978 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17979 }
17980 arg6 = static_cast< long >(val6);
17981 }
17982 if (obj5) {
17983 {
17984 arg7 = &temp7;
17985 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
17986 }
17987 }
17988 {
17989 if (!wxPyCheckForApp()) SWIG_fail;
17990 PyThreadState* __tstate = wxPyBeginAllowThreads();
17991 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
17992 wxPyEndAllowThreads(__tstate);
17993 if (PyErr_Occurred()) SWIG_fail;
17994 }
17995 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_NEW | 0 );
17996 {
17997 if (temp2)
17998 delete arg2;
17999 }
18000 {
18001 if (temp3)
18002 delete arg3;
18003 }
18004 {
18005 if (arg5) delete [] arg5;
18006 }
18007 return resultobj;
18008 fail:
18009 {
18010 if (temp2)
18011 delete arg2;
18012 }
18013 {
18014 if (temp3)
18015 delete arg3;
18016 }
18017 {
18018 if (arg5) delete [] arg5;
18019 }
18020 return NULL;
18021 }
18022
18023
18024 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18025 PyObject *resultobj = 0;
18026 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18027 int result;
18028 void *argp1 = 0 ;
18029 int res1 = 0 ;
18030 PyObject *swig_obj[1] ;
18031
18032 if (!args) SWIG_fail;
18033 swig_obj[0] = args;
18034 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18035 if (!SWIG_IsOK(res1)) {
18036 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18037 }
18038 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18039 {
18040 PyThreadState* __tstate = wxPyBeginAllowThreads();
18041 result = (int)(arg1)->GetSelection();
18042 wxPyEndAllowThreads(__tstate);
18043 if (PyErr_Occurred()) SWIG_fail;
18044 }
18045 resultobj = SWIG_From_int(static_cast< int >(result));
18046 return resultobj;
18047 fail:
18048 return NULL;
18049 }
18050
18051
18052 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18053 PyObject *resultobj = 0;
18054 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18055 wxString result;
18056 void *argp1 = 0 ;
18057 int res1 = 0 ;
18058 PyObject *swig_obj[1] ;
18059
18060 if (!args) SWIG_fail;
18061 swig_obj[0] = args;
18062 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18063 if (!SWIG_IsOK(res1)) {
18064 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18065 }
18066 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18067 {
18068 PyThreadState* __tstate = wxPyBeginAllowThreads();
18069 result = (arg1)->GetStringSelection();
18070 wxPyEndAllowThreads(__tstate);
18071 if (PyErr_Occurred()) SWIG_fail;
18072 }
18073 {
18074 #if wxUSE_UNICODE
18075 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18076 #else
18077 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18078 #endif
18079 }
18080 return resultobj;
18081 fail:
18082 return NULL;
18083 }
18084
18085
18086 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18087 PyObject *resultobj = 0;
18088 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18089 int arg2 ;
18090 void *argp1 = 0 ;
18091 int res1 = 0 ;
18092 int val2 ;
18093 int ecode2 = 0 ;
18094 PyObject * obj0 = 0 ;
18095 PyObject * obj1 = 0 ;
18096 char * kwnames[] = {
18097 (char *) "self",(char *) "sel", NULL
18098 };
18099
18100 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
18101 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18102 if (!SWIG_IsOK(res1)) {
18103 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18104 }
18105 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18106 ecode2 = SWIG_AsVal_int(obj1, &val2);
18107 if (!SWIG_IsOK(ecode2)) {
18108 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
18109 }
18110 arg2 = static_cast< int >(val2);
18111 {
18112 PyThreadState* __tstate = wxPyBeginAllowThreads();
18113 (arg1)->SetSelection(arg2);
18114 wxPyEndAllowThreads(__tstate);
18115 if (PyErr_Occurred()) SWIG_fail;
18116 }
18117 resultobj = SWIG_Py_Void();
18118 return resultobj;
18119 fail:
18120 return NULL;
18121 }
18122
18123
18124 SWIGINTERN PyObject *SingleChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18125 PyObject *obj;
18126 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18127 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog, SWIG_NewClientData(obj));
18128 return SWIG_Py_Void();
18129 }
18130
18131 SWIGINTERN PyObject *SingleChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18132 return SWIG_Python_InitShadowInstance(args);
18133 }
18134
18135 SWIGINTERN PyObject *_wrap_new_TextEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18136 PyObject *resultobj = 0;
18137 wxWindow *arg1 = (wxWindow *) 0 ;
18138 wxString *arg2 = 0 ;
18139 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
18140 wxString *arg3 = (wxString *) &arg3_defvalue ;
18141 wxString const &arg4_defvalue = wxPyEmptyString ;
18142 wxString *arg4 = (wxString *) &arg4_defvalue ;
18143 long arg5 = (long) wxTextEntryDialogStyle ;
18144 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18145 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18146 wxTextEntryDialog *result = 0 ;
18147 void *argp1 = 0 ;
18148 int res1 = 0 ;
18149 bool temp2 = false ;
18150 bool temp3 = false ;
18151 bool temp4 = false ;
18152 long val5 ;
18153 int ecode5 = 0 ;
18154 wxPoint temp6 ;
18155 PyObject * obj0 = 0 ;
18156 PyObject * obj1 = 0 ;
18157 PyObject * obj2 = 0 ;
18158 PyObject * obj3 = 0 ;
18159 PyObject * obj4 = 0 ;
18160 PyObject * obj5 = 0 ;
18161 char * kwnames[] = {
18162 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18163 };
18164
18165 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18166 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18167 if (!SWIG_IsOK(res1)) {
18168 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18169 }
18170 arg1 = reinterpret_cast< wxWindow * >(argp1);
18171 {
18172 arg2 = wxString_in_helper(obj1);
18173 if (arg2 == NULL) SWIG_fail;
18174 temp2 = true;
18175 }
18176 if (obj2) {
18177 {
18178 arg3 = wxString_in_helper(obj2);
18179 if (arg3 == NULL) SWIG_fail;
18180 temp3 = true;
18181 }
18182 }
18183 if (obj3) {
18184 {
18185 arg4 = wxString_in_helper(obj3);
18186 if (arg4 == NULL) SWIG_fail;
18187 temp4 = true;
18188 }
18189 }
18190 if (obj4) {
18191 ecode5 = SWIG_AsVal_long(obj4, &val5);
18192 if (!SWIG_IsOK(ecode5)) {
18193 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18194 }
18195 arg5 = static_cast< long >(val5);
18196 }
18197 if (obj5) {
18198 {
18199 arg6 = &temp6;
18200 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18201 }
18202 }
18203 {
18204 if (!wxPyCheckForApp()) SWIG_fail;
18205 PyThreadState* __tstate = wxPyBeginAllowThreads();
18206 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18207 wxPyEndAllowThreads(__tstate);
18208 if (PyErr_Occurred()) SWIG_fail;
18209 }
18210 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_NEW | 0 );
18211 {
18212 if (temp2)
18213 delete arg2;
18214 }
18215 {
18216 if (temp3)
18217 delete arg3;
18218 }
18219 {
18220 if (temp4)
18221 delete arg4;
18222 }
18223 return resultobj;
18224 fail:
18225 {
18226 if (temp2)
18227 delete arg2;
18228 }
18229 {
18230 if (temp3)
18231 delete arg3;
18232 }
18233 {
18234 if (temp4)
18235 delete arg4;
18236 }
18237 return NULL;
18238 }
18239
18240
18241 SWIGINTERN PyObject *_wrap_TextEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18242 PyObject *resultobj = 0;
18243 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18244 wxString result;
18245 void *argp1 = 0 ;
18246 int res1 = 0 ;
18247 PyObject *swig_obj[1] ;
18248
18249 if (!args) SWIG_fail;
18250 swig_obj[0] = args;
18251 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18252 if (!SWIG_IsOK(res1)) {
18253 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18254 }
18255 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18256 {
18257 PyThreadState* __tstate = wxPyBeginAllowThreads();
18258 result = (arg1)->GetValue();
18259 wxPyEndAllowThreads(__tstate);
18260 if (PyErr_Occurred()) SWIG_fail;
18261 }
18262 {
18263 #if wxUSE_UNICODE
18264 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18265 #else
18266 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18267 #endif
18268 }
18269 return resultobj;
18270 fail:
18271 return NULL;
18272 }
18273
18274
18275 SWIGINTERN PyObject *_wrap_TextEntryDialog_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18276 PyObject *resultobj = 0;
18277 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18278 wxString *arg2 = 0 ;
18279 void *argp1 = 0 ;
18280 int res1 = 0 ;
18281 bool temp2 = false ;
18282 PyObject * obj0 = 0 ;
18283 PyObject * obj1 = 0 ;
18284 char * kwnames[] = {
18285 (char *) "self",(char *) "value", NULL
18286 };
18287
18288 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
18289 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18290 if (!SWIG_IsOK(res1)) {
18291 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18292 }
18293 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18294 {
18295 arg2 = wxString_in_helper(obj1);
18296 if (arg2 == NULL) SWIG_fail;
18297 temp2 = true;
18298 }
18299 {
18300 PyThreadState* __tstate = wxPyBeginAllowThreads();
18301 (arg1)->SetValue((wxString const &)*arg2);
18302 wxPyEndAllowThreads(__tstate);
18303 if (PyErr_Occurred()) SWIG_fail;
18304 }
18305 resultobj = SWIG_Py_Void();
18306 {
18307 if (temp2)
18308 delete arg2;
18309 }
18310 return resultobj;
18311 fail:
18312 {
18313 if (temp2)
18314 delete arg2;
18315 }
18316 return NULL;
18317 }
18318
18319
18320 SWIGINTERN PyObject *TextEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18321 PyObject *obj;
18322 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18323 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog, SWIG_NewClientData(obj));
18324 return SWIG_Py_Void();
18325 }
18326
18327 SWIGINTERN PyObject *TextEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18328 return SWIG_Python_InitShadowInstance(args);
18329 }
18330
18331 SWIGINTERN int GetPasswordFromUserPromptStr_set(PyObject *) {
18332 SWIG_Error(SWIG_AttributeError,"Variable GetPasswordFromUserPromptStr is read-only.");
18333 return 1;
18334 }
18335
18336
18337 SWIGINTERN PyObject *GetPasswordFromUserPromptStr_get(void) {
18338 PyObject *pyobj = 0;
18339
18340 {
18341 #if wxUSE_UNICODE
18342 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18343 #else
18344 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18345 #endif
18346 }
18347 return pyobj;
18348 }
18349
18350
18351 SWIGINTERN PyObject *_wrap_new_PasswordEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18352 PyObject *resultobj = 0;
18353 wxWindow *arg1 = (wxWindow *) 0 ;
18354 wxString *arg2 = 0 ;
18355 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
18356 wxString *arg3 = (wxString *) &arg3_defvalue ;
18357 wxString const &arg4_defvalue = wxPyEmptyString ;
18358 wxString *arg4 = (wxString *) &arg4_defvalue ;
18359 long arg5 = (long) wxTextEntryDialogStyle ;
18360 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18361 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18362 wxPasswordEntryDialog *result = 0 ;
18363 void *argp1 = 0 ;
18364 int res1 = 0 ;
18365 bool temp2 = false ;
18366 bool temp3 = false ;
18367 bool temp4 = false ;
18368 long val5 ;
18369 int ecode5 = 0 ;
18370 wxPoint temp6 ;
18371 PyObject * obj0 = 0 ;
18372 PyObject * obj1 = 0 ;
18373 PyObject * obj2 = 0 ;
18374 PyObject * obj3 = 0 ;
18375 PyObject * obj4 = 0 ;
18376 PyObject * obj5 = 0 ;
18377 char * kwnames[] = {
18378 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18379 };
18380
18381 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18382 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18383 if (!SWIG_IsOK(res1)) {
18384 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18385 }
18386 arg1 = reinterpret_cast< wxWindow * >(argp1);
18387 {
18388 arg2 = wxString_in_helper(obj1);
18389 if (arg2 == NULL) SWIG_fail;
18390 temp2 = true;
18391 }
18392 if (obj2) {
18393 {
18394 arg3 = wxString_in_helper(obj2);
18395 if (arg3 == NULL) SWIG_fail;
18396 temp3 = true;
18397 }
18398 }
18399 if (obj3) {
18400 {
18401 arg4 = wxString_in_helper(obj3);
18402 if (arg4 == NULL) SWIG_fail;
18403 temp4 = true;
18404 }
18405 }
18406 if (obj4) {
18407 ecode5 = SWIG_AsVal_long(obj4, &val5);
18408 if (!SWIG_IsOK(ecode5)) {
18409 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18410 }
18411 arg5 = static_cast< long >(val5);
18412 }
18413 if (obj5) {
18414 {
18415 arg6 = &temp6;
18416 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18417 }
18418 }
18419 {
18420 PyThreadState* __tstate = wxPyBeginAllowThreads();
18421 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18422 wxPyEndAllowThreads(__tstate);
18423 if (PyErr_Occurred()) SWIG_fail;
18424 }
18425 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPasswordEntryDialog, SWIG_POINTER_NEW | 0 );
18426 {
18427 if (temp2)
18428 delete arg2;
18429 }
18430 {
18431 if (temp3)
18432 delete arg3;
18433 }
18434 {
18435 if (temp4)
18436 delete arg4;
18437 }
18438 return resultobj;
18439 fail:
18440 {
18441 if (temp2)
18442 delete arg2;
18443 }
18444 {
18445 if (temp3)
18446 delete arg3;
18447 }
18448 {
18449 if (temp4)
18450 delete arg4;
18451 }
18452 return NULL;
18453 }
18454
18455
18456 SWIGINTERN PyObject *PasswordEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18457 PyObject *obj;
18458 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18459 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog, SWIG_NewClientData(obj));
18460 return SWIG_Py_Void();
18461 }
18462
18463 SWIGINTERN PyObject *PasswordEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18464 return SWIG_Python_InitShadowInstance(args);
18465 }
18466
18467 SWIGINTERN PyObject *_wrap_new_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18468 PyObject *resultobj = 0;
18469 wxFontData *result = 0 ;
18470
18471 if (!SWIG_Python_UnpackTuple(args,"new_FontData",0,0,0)) SWIG_fail;
18472 {
18473 PyThreadState* __tstate = wxPyBeginAllowThreads();
18474 result = (wxFontData *)new wxFontData();
18475 wxPyEndAllowThreads(__tstate);
18476 if (PyErr_Occurred()) SWIG_fail;
18477 }
18478 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, SWIG_POINTER_NEW | 0 );
18479 return resultobj;
18480 fail:
18481 return NULL;
18482 }
18483
18484
18485 SWIGINTERN PyObject *_wrap_delete_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18486 PyObject *resultobj = 0;
18487 wxFontData *arg1 = (wxFontData *) 0 ;
18488 void *argp1 = 0 ;
18489 int res1 = 0 ;
18490 PyObject *swig_obj[1] ;
18491
18492 if (!args) SWIG_fail;
18493 swig_obj[0] = args;
18494 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, SWIG_POINTER_DISOWN | 0 );
18495 if (!SWIG_IsOK(res1)) {
18496 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18497 }
18498 arg1 = reinterpret_cast< wxFontData * >(argp1);
18499 {
18500 PyThreadState* __tstate = wxPyBeginAllowThreads();
18501 delete arg1;
18502
18503 wxPyEndAllowThreads(__tstate);
18504 if (PyErr_Occurred()) SWIG_fail;
18505 }
18506 resultobj = SWIG_Py_Void();
18507 return resultobj;
18508 fail:
18509 return NULL;
18510 }
18511
18512
18513 SWIGINTERN PyObject *_wrap_FontData_EnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18514 PyObject *resultobj = 0;
18515 wxFontData *arg1 = (wxFontData *) 0 ;
18516 bool arg2 ;
18517 void *argp1 = 0 ;
18518 int res1 = 0 ;
18519 bool val2 ;
18520 int ecode2 = 0 ;
18521 PyObject * obj0 = 0 ;
18522 PyObject * obj1 = 0 ;
18523 char * kwnames[] = {
18524 (char *) "self",(char *) "enable", NULL
18525 };
18526
18527 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) SWIG_fail;
18528 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18529 if (!SWIG_IsOK(res1)) {
18530 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18531 }
18532 arg1 = reinterpret_cast< wxFontData * >(argp1);
18533 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18534 if (!SWIG_IsOK(ecode2)) {
18535 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18536 }
18537 arg2 = static_cast< bool >(val2);
18538 {
18539 PyThreadState* __tstate = wxPyBeginAllowThreads();
18540 (arg1)->EnableEffects(arg2);
18541 wxPyEndAllowThreads(__tstate);
18542 if (PyErr_Occurred()) SWIG_fail;
18543 }
18544 resultobj = SWIG_Py_Void();
18545 return resultobj;
18546 fail:
18547 return NULL;
18548 }
18549
18550
18551 SWIGINTERN PyObject *_wrap_FontData_GetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18552 PyObject *resultobj = 0;
18553 wxFontData *arg1 = (wxFontData *) 0 ;
18554 bool result;
18555 void *argp1 = 0 ;
18556 int res1 = 0 ;
18557 PyObject *swig_obj[1] ;
18558
18559 if (!args) SWIG_fail;
18560 swig_obj[0] = args;
18561 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18562 if (!SWIG_IsOK(res1)) {
18563 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18564 }
18565 arg1 = reinterpret_cast< wxFontData * >(argp1);
18566 {
18567 PyThreadState* __tstate = wxPyBeginAllowThreads();
18568 result = (bool)(arg1)->GetAllowSymbols();
18569 wxPyEndAllowThreads(__tstate);
18570 if (PyErr_Occurred()) SWIG_fail;
18571 }
18572 {
18573 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18574 }
18575 return resultobj;
18576 fail:
18577 return NULL;
18578 }
18579
18580
18581 SWIGINTERN PyObject *_wrap_FontData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18582 PyObject *resultobj = 0;
18583 wxFontData *arg1 = (wxFontData *) 0 ;
18584 wxColour result;
18585 void *argp1 = 0 ;
18586 int res1 = 0 ;
18587 PyObject *swig_obj[1] ;
18588
18589 if (!args) SWIG_fail;
18590 swig_obj[0] = args;
18591 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18592 if (!SWIG_IsOK(res1)) {
18593 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18594 }
18595 arg1 = reinterpret_cast< wxFontData * >(argp1);
18596 {
18597 PyThreadState* __tstate = wxPyBeginAllowThreads();
18598 result = (arg1)->GetColour();
18599 wxPyEndAllowThreads(__tstate);
18600 if (PyErr_Occurred()) SWIG_fail;
18601 }
18602 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
18603 return resultobj;
18604 fail:
18605 return NULL;
18606 }
18607
18608
18609 SWIGINTERN PyObject *_wrap_FontData_GetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18610 PyObject *resultobj = 0;
18611 wxFontData *arg1 = (wxFontData *) 0 ;
18612 wxFont result;
18613 void *argp1 = 0 ;
18614 int res1 = 0 ;
18615 PyObject *swig_obj[1] ;
18616
18617 if (!args) SWIG_fail;
18618 swig_obj[0] = args;
18619 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18620 if (!SWIG_IsOK(res1)) {
18621 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18622 }
18623 arg1 = reinterpret_cast< wxFontData * >(argp1);
18624 {
18625 PyThreadState* __tstate = wxPyBeginAllowThreads();
18626 result = (arg1)->GetChosenFont();
18627 wxPyEndAllowThreads(__tstate);
18628 if (PyErr_Occurred()) SWIG_fail;
18629 }
18630 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18631 return resultobj;
18632 fail:
18633 return NULL;
18634 }
18635
18636
18637 SWIGINTERN PyObject *_wrap_FontData_GetEnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18638 PyObject *resultobj = 0;
18639 wxFontData *arg1 = (wxFontData *) 0 ;
18640 bool result;
18641 void *argp1 = 0 ;
18642 int res1 = 0 ;
18643 PyObject *swig_obj[1] ;
18644
18645 if (!args) SWIG_fail;
18646 swig_obj[0] = args;
18647 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18648 if (!SWIG_IsOK(res1)) {
18649 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18650 }
18651 arg1 = reinterpret_cast< wxFontData * >(argp1);
18652 {
18653 PyThreadState* __tstate = wxPyBeginAllowThreads();
18654 result = (bool)(arg1)->GetEnableEffects();
18655 wxPyEndAllowThreads(__tstate);
18656 if (PyErr_Occurred()) SWIG_fail;
18657 }
18658 {
18659 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18660 }
18661 return resultobj;
18662 fail:
18663 return NULL;
18664 }
18665
18666
18667 SWIGINTERN PyObject *_wrap_FontData_GetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18668 PyObject *resultobj = 0;
18669 wxFontData *arg1 = (wxFontData *) 0 ;
18670 wxFont result;
18671 void *argp1 = 0 ;
18672 int res1 = 0 ;
18673 PyObject *swig_obj[1] ;
18674
18675 if (!args) SWIG_fail;
18676 swig_obj[0] = args;
18677 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18678 if (!SWIG_IsOK(res1)) {
18679 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18680 }
18681 arg1 = reinterpret_cast< wxFontData * >(argp1);
18682 {
18683 PyThreadState* __tstate = wxPyBeginAllowThreads();
18684 result = (arg1)->GetInitialFont();
18685 wxPyEndAllowThreads(__tstate);
18686 if (PyErr_Occurred()) SWIG_fail;
18687 }
18688 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18689 return resultobj;
18690 fail:
18691 return NULL;
18692 }
18693
18694
18695 SWIGINTERN PyObject *_wrap_FontData_GetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18696 PyObject *resultobj = 0;
18697 wxFontData *arg1 = (wxFontData *) 0 ;
18698 bool result;
18699 void *argp1 = 0 ;
18700 int res1 = 0 ;
18701 PyObject *swig_obj[1] ;
18702
18703 if (!args) SWIG_fail;
18704 swig_obj[0] = args;
18705 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18706 if (!SWIG_IsOK(res1)) {
18707 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18708 }
18709 arg1 = reinterpret_cast< wxFontData * >(argp1);
18710 {
18711 PyThreadState* __tstate = wxPyBeginAllowThreads();
18712 result = (bool)(arg1)->GetShowHelp();
18713 wxPyEndAllowThreads(__tstate);
18714 if (PyErr_Occurred()) SWIG_fail;
18715 }
18716 {
18717 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18718 }
18719 return resultobj;
18720 fail:
18721 return NULL;
18722 }
18723
18724
18725 SWIGINTERN PyObject *_wrap_FontData_SetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18726 PyObject *resultobj = 0;
18727 wxFontData *arg1 = (wxFontData *) 0 ;
18728 bool arg2 ;
18729 void *argp1 = 0 ;
18730 int res1 = 0 ;
18731 bool val2 ;
18732 int ecode2 = 0 ;
18733 PyObject * obj0 = 0 ;
18734 PyObject * obj1 = 0 ;
18735 char * kwnames[] = {
18736 (char *) "self",(char *) "allowSymbols", NULL
18737 };
18738
18739 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) SWIG_fail;
18740 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18741 if (!SWIG_IsOK(res1)) {
18742 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18743 }
18744 arg1 = reinterpret_cast< wxFontData * >(argp1);
18745 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18746 if (!SWIG_IsOK(ecode2)) {
18747 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
18748 }
18749 arg2 = static_cast< bool >(val2);
18750 {
18751 PyThreadState* __tstate = wxPyBeginAllowThreads();
18752 (arg1)->SetAllowSymbols(arg2);
18753 wxPyEndAllowThreads(__tstate);
18754 if (PyErr_Occurred()) SWIG_fail;
18755 }
18756 resultobj = SWIG_Py_Void();
18757 return resultobj;
18758 fail:
18759 return NULL;
18760 }
18761
18762
18763 SWIGINTERN PyObject *_wrap_FontData_SetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18764 PyObject *resultobj = 0;
18765 wxFontData *arg1 = (wxFontData *) 0 ;
18766 wxFont *arg2 = 0 ;
18767 void *argp1 = 0 ;
18768 int res1 = 0 ;
18769 void *argp2 = 0 ;
18770 int res2 = 0 ;
18771 PyObject * obj0 = 0 ;
18772 PyObject * obj1 = 0 ;
18773 char * kwnames[] = {
18774 (char *) "self",(char *) "font", NULL
18775 };
18776
18777 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) SWIG_fail;
18778 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18779 if (!SWIG_IsOK(res1)) {
18780 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18781 }
18782 arg1 = reinterpret_cast< wxFontData * >(argp1);
18783 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
18784 if (!SWIG_IsOK(res2)) {
18785 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18786 }
18787 if (!argp2) {
18788 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18789 }
18790 arg2 = reinterpret_cast< wxFont * >(argp2);
18791 {
18792 PyThreadState* __tstate = wxPyBeginAllowThreads();
18793 (arg1)->SetChosenFont((wxFont const &)*arg2);
18794 wxPyEndAllowThreads(__tstate);
18795 if (PyErr_Occurred()) SWIG_fail;
18796 }
18797 resultobj = SWIG_Py_Void();
18798 return resultobj;
18799 fail:
18800 return NULL;
18801 }
18802
18803
18804 SWIGINTERN PyObject *_wrap_FontData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18805 PyObject *resultobj = 0;
18806 wxFontData *arg1 = (wxFontData *) 0 ;
18807 wxColour *arg2 = 0 ;
18808 void *argp1 = 0 ;
18809 int res1 = 0 ;
18810 wxColour temp2 ;
18811 PyObject * obj0 = 0 ;
18812 PyObject * obj1 = 0 ;
18813 char * kwnames[] = {
18814 (char *) "self",(char *) "colour", NULL
18815 };
18816
18817 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
18818 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18819 if (!SWIG_IsOK(res1)) {
18820 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18821 }
18822 arg1 = reinterpret_cast< wxFontData * >(argp1);
18823 {
18824 arg2 = &temp2;
18825 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18826 }
18827 {
18828 PyThreadState* __tstate = wxPyBeginAllowThreads();
18829 (arg1)->SetColour((wxColour const &)*arg2);
18830 wxPyEndAllowThreads(__tstate);
18831 if (PyErr_Occurred()) SWIG_fail;
18832 }
18833 resultobj = SWIG_Py_Void();
18834 return resultobj;
18835 fail:
18836 return NULL;
18837 }
18838
18839
18840 SWIGINTERN PyObject *_wrap_FontData_SetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18841 PyObject *resultobj = 0;
18842 wxFontData *arg1 = (wxFontData *) 0 ;
18843 wxFont *arg2 = 0 ;
18844 void *argp1 = 0 ;
18845 int res1 = 0 ;
18846 void *argp2 = 0 ;
18847 int res2 = 0 ;
18848 PyObject * obj0 = 0 ;
18849 PyObject * obj1 = 0 ;
18850 char * kwnames[] = {
18851 (char *) "self",(char *) "font", NULL
18852 };
18853
18854 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) SWIG_fail;
18855 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18856 if (!SWIG_IsOK(res1)) {
18857 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18858 }
18859 arg1 = reinterpret_cast< wxFontData * >(argp1);
18860 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
18861 if (!SWIG_IsOK(res2)) {
18862 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18863 }
18864 if (!argp2) {
18865 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18866 }
18867 arg2 = reinterpret_cast< wxFont * >(argp2);
18868 {
18869 PyThreadState* __tstate = wxPyBeginAllowThreads();
18870 (arg1)->SetInitialFont((wxFont const &)*arg2);
18871 wxPyEndAllowThreads(__tstate);
18872 if (PyErr_Occurred()) SWIG_fail;
18873 }
18874 resultobj = SWIG_Py_Void();
18875 return resultobj;
18876 fail:
18877 return NULL;
18878 }
18879
18880
18881 SWIGINTERN PyObject *_wrap_FontData_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18882 PyObject *resultobj = 0;
18883 wxFontData *arg1 = (wxFontData *) 0 ;
18884 int arg2 ;
18885 int arg3 ;
18886 void *argp1 = 0 ;
18887 int res1 = 0 ;
18888 int val2 ;
18889 int ecode2 = 0 ;
18890 int val3 ;
18891 int ecode3 = 0 ;
18892 PyObject * obj0 = 0 ;
18893 PyObject * obj1 = 0 ;
18894 PyObject * obj2 = 0 ;
18895 char * kwnames[] = {
18896 (char *) "self",(char *) "min",(char *) "max", NULL
18897 };
18898
18899 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18900 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18901 if (!SWIG_IsOK(res1)) {
18902 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
18903 }
18904 arg1 = reinterpret_cast< wxFontData * >(argp1);
18905 ecode2 = SWIG_AsVal_int(obj1, &val2);
18906 if (!SWIG_IsOK(ecode2)) {
18907 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
18908 }
18909 arg2 = static_cast< int >(val2);
18910 ecode3 = SWIG_AsVal_int(obj2, &val3);
18911 if (!SWIG_IsOK(ecode3)) {
18912 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
18913 }
18914 arg3 = static_cast< int >(val3);
18915 {
18916 PyThreadState* __tstate = wxPyBeginAllowThreads();
18917 (arg1)->SetRange(arg2,arg3);
18918 wxPyEndAllowThreads(__tstate);
18919 if (PyErr_Occurred()) SWIG_fail;
18920 }
18921 resultobj = SWIG_Py_Void();
18922 return resultobj;
18923 fail:
18924 return NULL;
18925 }
18926
18927
18928 SWIGINTERN PyObject *_wrap_FontData_SetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18929 PyObject *resultobj = 0;
18930 wxFontData *arg1 = (wxFontData *) 0 ;
18931 bool arg2 ;
18932 void *argp1 = 0 ;
18933 int res1 = 0 ;
18934 bool val2 ;
18935 int ecode2 = 0 ;
18936 PyObject * obj0 = 0 ;
18937 PyObject * obj1 = 0 ;
18938 char * kwnames[] = {
18939 (char *) "self",(char *) "showHelp", NULL
18940 };
18941
18942 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) SWIG_fail;
18943 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18944 if (!SWIG_IsOK(res1)) {
18945 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18946 }
18947 arg1 = reinterpret_cast< wxFontData * >(argp1);
18948 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18949 if (!SWIG_IsOK(ecode2)) {
18950 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
18951 }
18952 arg2 = static_cast< bool >(val2);
18953 {
18954 PyThreadState* __tstate = wxPyBeginAllowThreads();
18955 (arg1)->SetShowHelp(arg2);
18956 wxPyEndAllowThreads(__tstate);
18957 if (PyErr_Occurred()) SWIG_fail;
18958 }
18959 resultobj = SWIG_Py_Void();
18960 return resultobj;
18961 fail:
18962 return NULL;
18963 }
18964
18965
18966 SWIGINTERN PyObject *FontData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18967 PyObject *obj;
18968 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18969 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData, SWIG_NewClientData(obj));
18970 return SWIG_Py_Void();
18971 }
18972
18973 SWIGINTERN PyObject *FontData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18974 return SWIG_Python_InitShadowInstance(args);
18975 }
18976
18977 SWIGINTERN PyObject *_wrap_new_FontDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18978 PyObject *resultobj = 0;
18979 wxWindow *arg1 = (wxWindow *) 0 ;
18980 wxFontData *arg2 = 0 ;
18981 wxFontDialog *result = 0 ;
18982 void *argp1 = 0 ;
18983 int res1 = 0 ;
18984 void *argp2 = 0 ;
18985 int res2 = 0 ;
18986 PyObject * obj0 = 0 ;
18987 PyObject * obj1 = 0 ;
18988 char * kwnames[] = {
18989 (char *) "parent",(char *) "data", NULL
18990 };
18991
18992 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) SWIG_fail;
18993 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18994 if (!SWIG_IsOK(res1)) {
18995 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18996 }
18997 arg1 = reinterpret_cast< wxWindow * >(argp1);
18998 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFontData, 0 | 0);
18999 if (!SWIG_IsOK(res2)) {
19000 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19001 }
19002 if (!argp2) {
19003 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19004 }
19005 arg2 = reinterpret_cast< wxFontData * >(argp2);
19006 {
19007 if (!wxPyCheckForApp()) SWIG_fail;
19008 PyThreadState* __tstate = wxPyBeginAllowThreads();
19009 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
19010 wxPyEndAllowThreads(__tstate);
19011 if (PyErr_Occurred()) SWIG_fail;
19012 }
19013 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontDialog, SWIG_POINTER_NEW | 0 );
19014 return resultobj;
19015 fail:
19016 return NULL;
19017 }
19018
19019
19020 SWIGINTERN PyObject *_wrap_FontDialog_GetFontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19021 PyObject *resultobj = 0;
19022 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
19023 wxFontData *result = 0 ;
19024 void *argp1 = 0 ;
19025 int res1 = 0 ;
19026 PyObject *swig_obj[1] ;
19027
19028 if (!args) SWIG_fail;
19029 swig_obj[0] = args;
19030 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontDialog, 0 | 0 );
19031 if (!SWIG_IsOK(res1)) {
19032 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
19033 }
19034 arg1 = reinterpret_cast< wxFontDialog * >(argp1);
19035 {
19036 PyThreadState* __tstate = wxPyBeginAllowThreads();
19037 {
19038 wxFontData &_result_ref = (arg1)->GetFontData();
19039 result = (wxFontData *) &_result_ref;
19040 }
19041 wxPyEndAllowThreads(__tstate);
19042 if (PyErr_Occurred()) SWIG_fail;
19043 }
19044 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, 0 | 0 );
19045 return resultobj;
19046 fail:
19047 return NULL;
19048 }
19049
19050
19051 SWIGINTERN PyObject *FontDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19052 PyObject *obj;
19053 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19054 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog, SWIG_NewClientData(obj));
19055 return SWIG_Py_Void();
19056 }
19057
19058 SWIGINTERN PyObject *FontDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19059 return SWIG_Python_InitShadowInstance(args);
19060 }
19061
19062 SWIGINTERN PyObject *_wrap_GetFontFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19063 PyObject *resultobj = 0;
19064 wxWindow *arg1 = (wxWindow *) NULL ;
19065 wxFont const &arg2_defvalue = wxNullFont ;
19066 wxFont *arg2 = (wxFont *) &arg2_defvalue ;
19067 wxString const &arg3_defvalue = wxPyEmptyString ;
19068 wxString *arg3 = (wxString *) &arg3_defvalue ;
19069 wxFont result;
19070 void *argp1 = 0 ;
19071 int res1 = 0 ;
19072 void *argp2 = 0 ;
19073 int res2 = 0 ;
19074 bool temp3 = false ;
19075 PyObject * obj0 = 0 ;
19076 PyObject * obj1 = 0 ;
19077 PyObject * obj2 = 0 ;
19078 char * kwnames[] = {
19079 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
19080 };
19081
19082 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetFontFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19083 if (obj0) {
19084 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19085 if (!SWIG_IsOK(res1)) {
19086 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
19087 }
19088 arg1 = reinterpret_cast< wxWindow * >(argp1);
19089 }
19090 if (obj1) {
19091 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19092 if (!SWIG_IsOK(res2)) {
19093 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19094 }
19095 if (!argp2) {
19096 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19097 }
19098 arg2 = reinterpret_cast< wxFont * >(argp2);
19099 }
19100 if (obj2) {
19101 {
19102 arg3 = wxString_in_helper(obj2);
19103 if (arg3 == NULL) SWIG_fail;
19104 temp3 = true;
19105 }
19106 }
19107 {
19108 PyThreadState* __tstate = wxPyBeginAllowThreads();
19109 result = wxGetFontFromUser(arg1,(wxFont const &)*arg2,(wxString const &)*arg3);
19110 wxPyEndAllowThreads(__tstate);
19111 if (PyErr_Occurred()) SWIG_fail;
19112 }
19113 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
19114 {
19115 if (temp3)
19116 delete arg3;
19117 }
19118 return resultobj;
19119 fail:
19120 {
19121 if (temp3)
19122 delete arg3;
19123 }
19124 return NULL;
19125 }
19126
19127
19128 SWIGINTERN PyObject *_wrap_new_MessageDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19129 PyObject *resultobj = 0;
19130 wxWindow *arg1 = (wxWindow *) 0 ;
19131 wxString *arg2 = 0 ;
19132 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
19133 wxString *arg3 = (wxString *) &arg3_defvalue ;
19134 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
19135 wxPoint const &arg5_defvalue = wxDefaultPosition ;
19136 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
19137 wxMessageDialog *result = 0 ;
19138 void *argp1 = 0 ;
19139 int res1 = 0 ;
19140 bool temp2 = false ;
19141 bool temp3 = false ;
19142 long val4 ;
19143 int ecode4 = 0 ;
19144 wxPoint temp5 ;
19145 PyObject * obj0 = 0 ;
19146 PyObject * obj1 = 0 ;
19147 PyObject * obj2 = 0 ;
19148 PyObject * obj3 = 0 ;
19149 PyObject * obj4 = 0 ;
19150 char * kwnames[] = {
19151 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19152 };
19153
19154 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19155 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19156 if (!SWIG_IsOK(res1)) {
19157 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19158 }
19159 arg1 = reinterpret_cast< wxWindow * >(argp1);
19160 {
19161 arg2 = wxString_in_helper(obj1);
19162 if (arg2 == NULL) SWIG_fail;
19163 temp2 = true;
19164 }
19165 if (obj2) {
19166 {
19167 arg3 = wxString_in_helper(obj2);
19168 if (arg3 == NULL) SWIG_fail;
19169 temp3 = true;
19170 }
19171 }
19172 if (obj3) {
19173 ecode4 = SWIG_AsVal_long(obj3, &val4);
19174 if (!SWIG_IsOK(ecode4)) {
19175 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19176 }
19177 arg4 = static_cast< long >(val4);
19178 }
19179 if (obj4) {
19180 {
19181 arg5 = &temp5;
19182 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
19183 }
19184 }
19185 {
19186 if (!wxPyCheckForApp()) SWIG_fail;
19187 PyThreadState* __tstate = wxPyBeginAllowThreads();
19188 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
19189 wxPyEndAllowThreads(__tstate);
19190 if (PyErr_Occurred()) SWIG_fail;
19191 }
19192 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMessageDialog, SWIG_POINTER_NEW | 0 );
19193 {
19194 if (temp2)
19195 delete arg2;
19196 }
19197 {
19198 if (temp3)
19199 delete arg3;
19200 }
19201 return resultobj;
19202 fail:
19203 {
19204 if (temp2)
19205 delete arg2;
19206 }
19207 {
19208 if (temp3)
19209 delete arg3;
19210 }
19211 return NULL;
19212 }
19213
19214
19215 SWIGINTERN PyObject *MessageDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19216 PyObject *obj;
19217 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19218 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog, SWIG_NewClientData(obj));
19219 return SWIG_Py_Void();
19220 }
19221
19222 SWIGINTERN PyObject *MessageDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19223 return SWIG_Python_InitShadowInstance(args);
19224 }
19225
19226 SWIGINTERN PyObject *_wrap_new_ProgressDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19227 PyObject *resultobj = 0;
19228 wxString *arg1 = 0 ;
19229 wxString *arg2 = 0 ;
19230 int arg3 = (int) 100 ;
19231 wxWindow *arg4 = (wxWindow *) NULL ;
19232 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
19233 wxProgressDialog *result = 0 ;
19234 bool temp1 = false ;
19235 bool temp2 = false ;
19236 int val3 ;
19237 int ecode3 = 0 ;
19238 void *argp4 = 0 ;
19239 int res4 = 0 ;
19240 int val5 ;
19241 int ecode5 = 0 ;
19242 PyObject * obj0 = 0 ;
19243 PyObject * obj1 = 0 ;
19244 PyObject * obj2 = 0 ;
19245 PyObject * obj3 = 0 ;
19246 PyObject * obj4 = 0 ;
19247 char * kwnames[] = {
19248 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19249 };
19250
19251 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19252 {
19253 arg1 = wxString_in_helper(obj0);
19254 if (arg1 == NULL) SWIG_fail;
19255 temp1 = true;
19256 }
19257 {
19258 arg2 = wxString_in_helper(obj1);
19259 if (arg2 == NULL) SWIG_fail;
19260 temp2 = true;
19261 }
19262 if (obj2) {
19263 ecode3 = SWIG_AsVal_int(obj2, &val3);
19264 if (!SWIG_IsOK(ecode3)) {
19265 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19266 }
19267 arg3 = static_cast< int >(val3);
19268 }
19269 if (obj3) {
19270 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
19271 if (!SWIG_IsOK(res4)) {
19272 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19273 }
19274 arg4 = reinterpret_cast< wxWindow * >(argp4);
19275 }
19276 if (obj4) {
19277 ecode5 = SWIG_AsVal_int(obj4, &val5);
19278 if (!SWIG_IsOK(ecode5)) {
19279 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19280 }
19281 arg5 = static_cast< int >(val5);
19282 }
19283 {
19284 if (!wxPyCheckForApp()) SWIG_fail;
19285 PyThreadState* __tstate = wxPyBeginAllowThreads();
19286 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
19287 wxPyEndAllowThreads(__tstate);
19288 if (PyErr_Occurred()) SWIG_fail;
19289 }
19290 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_NEW | 0 );
19291 {
19292 if (temp1)
19293 delete arg1;
19294 }
19295 {
19296 if (temp2)
19297 delete arg2;
19298 }
19299 return resultobj;
19300 fail:
19301 {
19302 if (temp1)
19303 delete arg1;
19304 }
19305 {
19306 if (temp2)
19307 delete arg2;
19308 }
19309 return NULL;
19310 }
19311
19312
19313 SWIGINTERN PyObject *_wrap_ProgressDialog_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19314 PyObject *resultobj = 0;
19315 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19316 int arg2 ;
19317 wxString const &arg3_defvalue = wxPyEmptyString ;
19318 wxString *arg3 = (wxString *) &arg3_defvalue ;
19319 bool *arg4 = (bool *) 0 ;
19320 bool result;
19321 void *argp1 = 0 ;
19322 int res1 = 0 ;
19323 int val2 ;
19324 int ecode2 = 0 ;
19325 bool temp3 = false ;
19326 bool temp4 ;
19327 int res4 = SWIG_TMPOBJ ;
19328 PyObject * obj0 = 0 ;
19329 PyObject * obj1 = 0 ;
19330 PyObject * obj2 = 0 ;
19331 char * kwnames[] = {
19332 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19333 };
19334
19335 arg4 = &temp4;
19336 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19337 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19338 if (!SWIG_IsOK(res1)) {
19339 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19340 }
19341 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19342 ecode2 = SWIG_AsVal_int(obj1, &val2);
19343 if (!SWIG_IsOK(ecode2)) {
19344 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19345 }
19346 arg2 = static_cast< int >(val2);
19347 if (obj2) {
19348 {
19349 arg3 = wxString_in_helper(obj2);
19350 if (arg3 == NULL) SWIG_fail;
19351 temp3 = true;
19352 }
19353 }
19354 {
19355 PyThreadState* __tstate = wxPyBeginAllowThreads();
19356 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3,arg4);
19357 wxPyEndAllowThreads(__tstate);
19358 if (PyErr_Occurred()) SWIG_fail;
19359 }
19360 {
19361 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19362 }
19363 if (SWIG_IsTmpObj(res4)) {
19364 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg4)));
19365 } else {
19366 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19367 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, new_flags));
19368 }
19369 {
19370 if (temp3)
19371 delete arg3;
19372 }
19373 return resultobj;
19374 fail:
19375 {
19376 if (temp3)
19377 delete arg3;
19378 }
19379 return NULL;
19380 }
19381
19382
19383 SWIGINTERN PyObject *_wrap_ProgressDialog_Resume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19384 PyObject *resultobj = 0;
19385 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19386 void *argp1 = 0 ;
19387 int res1 = 0 ;
19388 PyObject *swig_obj[1] ;
19389
19390 if (!args) SWIG_fail;
19391 swig_obj[0] = args;
19392 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19393 if (!SWIG_IsOK(res1)) {
19394 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19395 }
19396 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19397 {
19398 PyThreadState* __tstate = wxPyBeginAllowThreads();
19399 (arg1)->Resume();
19400 wxPyEndAllowThreads(__tstate);
19401 if (PyErr_Occurred()) SWIG_fail;
19402 }
19403 resultobj = SWIG_Py_Void();
19404 return resultobj;
19405 fail:
19406 return NULL;
19407 }
19408
19409
19410 SWIGINTERN PyObject *ProgressDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19411 PyObject *obj;
19412 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19413 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog, SWIG_NewClientData(obj));
19414 return SWIG_Py_Void();
19415 }
19416
19417 SWIGINTERN PyObject *ProgressDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19418 return SWIG_Python_InitShadowInstance(args);
19419 }
19420
19421 SWIGINTERN PyObject *_wrap_new_FindDialogEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19422 PyObject *resultobj = 0;
19423 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19424 int arg2 = (int) 0 ;
19425 wxFindDialogEvent *result = 0 ;
19426 int val1 ;
19427 int ecode1 = 0 ;
19428 int val2 ;
19429 int ecode2 = 0 ;
19430 PyObject * obj0 = 0 ;
19431 PyObject * obj1 = 0 ;
19432 char * kwnames[] = {
19433 (char *) "commandType",(char *) "id", NULL
19434 };
19435
19436 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) SWIG_fail;
19437 if (obj0) {
19438 ecode1 = SWIG_AsVal_int(obj0, &val1);
19439 if (!SWIG_IsOK(ecode1)) {
19440 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19441 }
19442 arg1 = static_cast< wxEventType >(val1);
19443 }
19444 if (obj1) {
19445 ecode2 = SWIG_AsVal_int(obj1, &val2);
19446 if (!SWIG_IsOK(ecode2)) {
19447 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19448 }
19449 arg2 = static_cast< int >(val2);
19450 }
19451 {
19452 PyThreadState* __tstate = wxPyBeginAllowThreads();
19453 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
19454 wxPyEndAllowThreads(__tstate);
19455 if (PyErr_Occurred()) SWIG_fail;
19456 }
19457 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_NEW | 0 );
19458 return resultobj;
19459 fail:
19460 return NULL;
19461 }
19462
19463
19464 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19465 PyObject *resultobj = 0;
19466 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19467 int result;
19468 void *argp1 = 0 ;
19469 int res1 = 0 ;
19470 PyObject *swig_obj[1] ;
19471
19472 if (!args) SWIG_fail;
19473 swig_obj[0] = args;
19474 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19475 if (!SWIG_IsOK(res1)) {
19476 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19477 }
19478 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19479 {
19480 PyThreadState* __tstate = wxPyBeginAllowThreads();
19481 result = (int)(arg1)->GetFlags();
19482 wxPyEndAllowThreads(__tstate);
19483 if (PyErr_Occurred()) SWIG_fail;
19484 }
19485 resultobj = SWIG_From_int(static_cast< int >(result));
19486 return resultobj;
19487 fail:
19488 return NULL;
19489 }
19490
19491
19492 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19493 PyObject *resultobj = 0;
19494 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19495 wxString *result = 0 ;
19496 void *argp1 = 0 ;
19497 int res1 = 0 ;
19498 PyObject *swig_obj[1] ;
19499
19500 if (!args) SWIG_fail;
19501 swig_obj[0] = args;
19502 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19503 if (!SWIG_IsOK(res1)) {
19504 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19505 }
19506 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19507 {
19508 PyThreadState* __tstate = wxPyBeginAllowThreads();
19509 {
19510 wxString const &_result_ref = (arg1)->GetFindString();
19511 result = (wxString *) &_result_ref;
19512 }
19513 wxPyEndAllowThreads(__tstate);
19514 if (PyErr_Occurred()) SWIG_fail;
19515 }
19516 {
19517 #if wxUSE_UNICODE
19518 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19519 #else
19520 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19521 #endif
19522 }
19523 return resultobj;
19524 fail:
19525 return NULL;
19526 }
19527
19528
19529 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19530 PyObject *resultobj = 0;
19531 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19532 wxString *result = 0 ;
19533 void *argp1 = 0 ;
19534 int res1 = 0 ;
19535 PyObject *swig_obj[1] ;
19536
19537 if (!args) SWIG_fail;
19538 swig_obj[0] = args;
19539 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19540 if (!SWIG_IsOK(res1)) {
19541 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19542 }
19543 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19544 {
19545 PyThreadState* __tstate = wxPyBeginAllowThreads();
19546 {
19547 wxString const &_result_ref = (arg1)->GetReplaceString();
19548 result = (wxString *) &_result_ref;
19549 }
19550 wxPyEndAllowThreads(__tstate);
19551 if (PyErr_Occurred()) SWIG_fail;
19552 }
19553 {
19554 #if wxUSE_UNICODE
19555 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19556 #else
19557 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19558 #endif
19559 }
19560 return resultobj;
19561 fail:
19562 return NULL;
19563 }
19564
19565
19566 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19567 PyObject *resultobj = 0;
19568 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19569 wxFindReplaceDialog *result = 0 ;
19570 void *argp1 = 0 ;
19571 int res1 = 0 ;
19572 PyObject *swig_obj[1] ;
19573
19574 if (!args) SWIG_fail;
19575 swig_obj[0] = args;
19576 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19577 if (!SWIG_IsOK(res1)) {
19578 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19579 }
19580 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19581 {
19582 PyThreadState* __tstate = wxPyBeginAllowThreads();
19583 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
19584 wxPyEndAllowThreads(__tstate);
19585 if (PyErr_Occurred()) SWIG_fail;
19586 }
19587 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
19588 return resultobj;
19589 fail:
19590 return NULL;
19591 }
19592
19593
19594 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19595 PyObject *resultobj = 0;
19596 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19597 int arg2 ;
19598 void *argp1 = 0 ;
19599 int res1 = 0 ;
19600 int val2 ;
19601 int ecode2 = 0 ;
19602 PyObject * obj0 = 0 ;
19603 PyObject * obj1 = 0 ;
19604 char * kwnames[] = {
19605 (char *) "self",(char *) "flags", NULL
19606 };
19607
19608 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
19609 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19610 if (!SWIG_IsOK(res1)) {
19611 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19612 }
19613 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19614 ecode2 = SWIG_AsVal_int(obj1, &val2);
19615 if (!SWIG_IsOK(ecode2)) {
19616 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19617 }
19618 arg2 = static_cast< int >(val2);
19619 {
19620 PyThreadState* __tstate = wxPyBeginAllowThreads();
19621 (arg1)->SetFlags(arg2);
19622 wxPyEndAllowThreads(__tstate);
19623 if (PyErr_Occurred()) SWIG_fail;
19624 }
19625 resultobj = SWIG_Py_Void();
19626 return resultobj;
19627 fail:
19628 return NULL;
19629 }
19630
19631
19632 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19633 PyObject *resultobj = 0;
19634 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19635 wxString *arg2 = 0 ;
19636 void *argp1 = 0 ;
19637 int res1 = 0 ;
19638 bool temp2 = false ;
19639 PyObject * obj0 = 0 ;
19640 PyObject * obj1 = 0 ;
19641 char * kwnames[] = {
19642 (char *) "self",(char *) "str", NULL
19643 };
19644
19645 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
19646 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19647 if (!SWIG_IsOK(res1)) {
19648 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19649 }
19650 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19651 {
19652 arg2 = wxString_in_helper(obj1);
19653 if (arg2 == NULL) SWIG_fail;
19654 temp2 = true;
19655 }
19656 {
19657 PyThreadState* __tstate = wxPyBeginAllowThreads();
19658 (arg1)->SetFindString((wxString const &)*arg2);
19659 wxPyEndAllowThreads(__tstate);
19660 if (PyErr_Occurred()) SWIG_fail;
19661 }
19662 resultobj = SWIG_Py_Void();
19663 {
19664 if (temp2)
19665 delete arg2;
19666 }
19667 return resultobj;
19668 fail:
19669 {
19670 if (temp2)
19671 delete arg2;
19672 }
19673 return NULL;
19674 }
19675
19676
19677 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19678 PyObject *resultobj = 0;
19679 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19680 wxString *arg2 = 0 ;
19681 void *argp1 = 0 ;
19682 int res1 = 0 ;
19683 bool temp2 = false ;
19684 PyObject * obj0 = 0 ;
19685 PyObject * obj1 = 0 ;
19686 char * kwnames[] = {
19687 (char *) "self",(char *) "str", NULL
19688 };
19689
19690 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
19691 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19692 if (!SWIG_IsOK(res1)) {
19693 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19694 }
19695 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19696 {
19697 arg2 = wxString_in_helper(obj1);
19698 if (arg2 == NULL) SWIG_fail;
19699 temp2 = true;
19700 }
19701 {
19702 PyThreadState* __tstate = wxPyBeginAllowThreads();
19703 (arg1)->SetReplaceString((wxString const &)*arg2);
19704 wxPyEndAllowThreads(__tstate);
19705 if (PyErr_Occurred()) SWIG_fail;
19706 }
19707 resultobj = SWIG_Py_Void();
19708 {
19709 if (temp2)
19710 delete arg2;
19711 }
19712 return resultobj;
19713 fail:
19714 {
19715 if (temp2)
19716 delete arg2;
19717 }
19718 return NULL;
19719 }
19720
19721
19722 SWIGINTERN PyObject *FindDialogEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19723 PyObject *obj;
19724 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19725 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent, SWIG_NewClientData(obj));
19726 return SWIG_Py_Void();
19727 }
19728
19729 SWIGINTERN PyObject *FindDialogEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19730 return SWIG_Python_InitShadowInstance(args);
19731 }
19732
19733 SWIGINTERN PyObject *_wrap_new_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19734 PyObject *resultobj = 0;
19735 int arg1 = (int) 0 ;
19736 wxFindReplaceData *result = 0 ;
19737 int val1 ;
19738 int ecode1 = 0 ;
19739 PyObject * obj0 = 0 ;
19740 char * kwnames[] = {
19741 (char *) "flags", NULL
19742 };
19743
19744 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) SWIG_fail;
19745 if (obj0) {
19746 ecode1 = SWIG_AsVal_int(obj0, &val1);
19747 if (!SWIG_IsOK(ecode1)) {
19748 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
19749 }
19750 arg1 = static_cast< int >(val1);
19751 }
19752 {
19753 PyThreadState* __tstate = wxPyBeginAllowThreads();
19754 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
19755 wxPyEndAllowThreads(__tstate);
19756 if (PyErr_Occurred()) SWIG_fail;
19757 }
19758 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_NEW | 0 );
19759 return resultobj;
19760 fail:
19761 return NULL;
19762 }
19763
19764
19765 SWIGINTERN PyObject *_wrap_delete_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19766 PyObject *resultobj = 0;
19767 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19768 void *argp1 = 0 ;
19769 int res1 = 0 ;
19770 PyObject *swig_obj[1] ;
19771
19772 if (!args) SWIG_fail;
19773 swig_obj[0] = args;
19774 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_DISOWN | 0 );
19775 if (!SWIG_IsOK(res1)) {
19776 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19777 }
19778 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19779 {
19780 PyThreadState* __tstate = wxPyBeginAllowThreads();
19781 delete arg1;
19782
19783 wxPyEndAllowThreads(__tstate);
19784 if (PyErr_Occurred()) SWIG_fail;
19785 }
19786 resultobj = SWIG_Py_Void();
19787 return resultobj;
19788 fail:
19789 return NULL;
19790 }
19791
19792
19793 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19794 PyObject *resultobj = 0;
19795 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19796 wxString *result = 0 ;
19797 void *argp1 = 0 ;
19798 int res1 = 0 ;
19799 PyObject *swig_obj[1] ;
19800
19801 if (!args) SWIG_fail;
19802 swig_obj[0] = args;
19803 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19804 if (!SWIG_IsOK(res1)) {
19805 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19806 }
19807 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19808 {
19809 PyThreadState* __tstate = wxPyBeginAllowThreads();
19810 {
19811 wxString const &_result_ref = (arg1)->GetFindString();
19812 result = (wxString *) &_result_ref;
19813 }
19814 wxPyEndAllowThreads(__tstate);
19815 if (PyErr_Occurred()) SWIG_fail;
19816 }
19817 {
19818 #if wxUSE_UNICODE
19819 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19820 #else
19821 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19822 #endif
19823 }
19824 return resultobj;
19825 fail:
19826 return NULL;
19827 }
19828
19829
19830 SWIGINTERN PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19831 PyObject *resultobj = 0;
19832 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19833 wxString *result = 0 ;
19834 void *argp1 = 0 ;
19835 int res1 = 0 ;
19836 PyObject *swig_obj[1] ;
19837
19838 if (!args) SWIG_fail;
19839 swig_obj[0] = args;
19840 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19841 if (!SWIG_IsOK(res1)) {
19842 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19843 }
19844 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19845 {
19846 PyThreadState* __tstate = wxPyBeginAllowThreads();
19847 {
19848 wxString const &_result_ref = (arg1)->GetReplaceString();
19849 result = (wxString *) &_result_ref;
19850 }
19851 wxPyEndAllowThreads(__tstate);
19852 if (PyErr_Occurred()) SWIG_fail;
19853 }
19854 {
19855 #if wxUSE_UNICODE
19856 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19857 #else
19858 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19859 #endif
19860 }
19861 return resultobj;
19862 fail:
19863 return NULL;
19864 }
19865
19866
19867 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19868 PyObject *resultobj = 0;
19869 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19870 int result;
19871 void *argp1 = 0 ;
19872 int res1 = 0 ;
19873 PyObject *swig_obj[1] ;
19874
19875 if (!args) SWIG_fail;
19876 swig_obj[0] = args;
19877 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19878 if (!SWIG_IsOK(res1)) {
19879 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19880 }
19881 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19882 {
19883 PyThreadState* __tstate = wxPyBeginAllowThreads();
19884 result = (int)(arg1)->GetFlags();
19885 wxPyEndAllowThreads(__tstate);
19886 if (PyErr_Occurred()) SWIG_fail;
19887 }
19888 resultobj = SWIG_From_int(static_cast< int >(result));
19889 return resultobj;
19890 fail:
19891 return NULL;
19892 }
19893
19894
19895 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19896 PyObject *resultobj = 0;
19897 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19898 int arg2 ;
19899 void *argp1 = 0 ;
19900 int res1 = 0 ;
19901 int val2 ;
19902 int ecode2 = 0 ;
19903 PyObject * obj0 = 0 ;
19904 PyObject * obj1 = 0 ;
19905 char * kwnames[] = {
19906 (char *) "self",(char *) "flags", NULL
19907 };
19908
19909 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
19910 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19911 if (!SWIG_IsOK(res1)) {
19912 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19913 }
19914 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19915 ecode2 = SWIG_AsVal_int(obj1, &val2);
19916 if (!SWIG_IsOK(ecode2)) {
19917 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
19918 }
19919 arg2 = static_cast< int >(val2);
19920 {
19921 PyThreadState* __tstate = wxPyBeginAllowThreads();
19922 (arg1)->SetFlags(arg2);
19923 wxPyEndAllowThreads(__tstate);
19924 if (PyErr_Occurred()) SWIG_fail;
19925 }
19926 resultobj = SWIG_Py_Void();
19927 return resultobj;
19928 fail:
19929 return NULL;
19930 }
19931
19932
19933 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19934 PyObject *resultobj = 0;
19935 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19936 wxString *arg2 = 0 ;
19937 void *argp1 = 0 ;
19938 int res1 = 0 ;
19939 bool temp2 = false ;
19940 PyObject * obj0 = 0 ;
19941 PyObject * obj1 = 0 ;
19942 char * kwnames[] = {
19943 (char *) "self",(char *) "str", NULL
19944 };
19945
19946 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
19947 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19948 if (!SWIG_IsOK(res1)) {
19949 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19950 }
19951 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19952 {
19953 arg2 = wxString_in_helper(obj1);
19954 if (arg2 == NULL) SWIG_fail;
19955 temp2 = true;
19956 }
19957 {
19958 PyThreadState* __tstate = wxPyBeginAllowThreads();
19959 (arg1)->SetFindString((wxString const &)*arg2);
19960 wxPyEndAllowThreads(__tstate);
19961 if (PyErr_Occurred()) SWIG_fail;
19962 }
19963 resultobj = SWIG_Py_Void();
19964 {
19965 if (temp2)
19966 delete arg2;
19967 }
19968 return resultobj;
19969 fail:
19970 {
19971 if (temp2)
19972 delete arg2;
19973 }
19974 return NULL;
19975 }
19976
19977
19978 SWIGINTERN PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19979 PyObject *resultobj = 0;
19980 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19981 wxString *arg2 = 0 ;
19982 void *argp1 = 0 ;
19983 int res1 = 0 ;
19984 bool temp2 = false ;
19985 PyObject * obj0 = 0 ;
19986 PyObject * obj1 = 0 ;
19987 char * kwnames[] = {
19988 (char *) "self",(char *) "str", NULL
19989 };
19990
19991 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
19992 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19993 if (!SWIG_IsOK(res1)) {
19994 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19995 }
19996 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19997 {
19998 arg2 = wxString_in_helper(obj1);
19999 if (arg2 == NULL) SWIG_fail;
20000 temp2 = true;
20001 }
20002 {
20003 PyThreadState* __tstate = wxPyBeginAllowThreads();
20004 (arg1)->SetReplaceString((wxString const &)*arg2);
20005 wxPyEndAllowThreads(__tstate);
20006 if (PyErr_Occurred()) SWIG_fail;
20007 }
20008 resultobj = SWIG_Py_Void();
20009 {
20010 if (temp2)
20011 delete arg2;
20012 }
20013 return resultobj;
20014 fail:
20015 {
20016 if (temp2)
20017 delete arg2;
20018 }
20019 return NULL;
20020 }
20021
20022
20023 SWIGINTERN PyObject *FindReplaceData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20024 PyObject *obj;
20025 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20026 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData, SWIG_NewClientData(obj));
20027 return SWIG_Py_Void();
20028 }
20029
20030 SWIGINTERN PyObject *FindReplaceData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20031 return SWIG_Python_InitShadowInstance(args);
20032 }
20033
20034 SWIGINTERN PyObject *_wrap_new_FindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20035 PyObject *resultobj = 0;
20036 wxWindow *arg1 = (wxWindow *) 0 ;
20037 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20038 wxString *arg3 = 0 ;
20039 int arg4 = (int) 0 ;
20040 wxFindReplaceDialog *result = 0 ;
20041 void *argp1 = 0 ;
20042 int res1 = 0 ;
20043 void *argp2 = 0 ;
20044 int res2 = 0 ;
20045 bool temp3 = false ;
20046 int val4 ;
20047 int ecode4 = 0 ;
20048 PyObject * obj0 = 0 ;
20049 PyObject * obj1 = 0 ;
20050 PyObject * obj2 = 0 ;
20051 PyObject * obj3 = 0 ;
20052 char * kwnames[] = {
20053 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20054 };
20055
20056 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
20057 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20058 if (!SWIG_IsOK(res1)) {
20059 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20060 }
20061 arg1 = reinterpret_cast< wxWindow * >(argp1);
20062 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20063 if (!SWIG_IsOK(res2)) {
20064 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20065 }
20066 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20067 {
20068 arg3 = wxString_in_helper(obj2);
20069 if (arg3 == NULL) SWIG_fail;
20070 temp3 = true;
20071 }
20072 if (obj3) {
20073 ecode4 = SWIG_AsVal_int(obj3, &val4);
20074 if (!SWIG_IsOK(ecode4)) {
20075 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
20076 }
20077 arg4 = static_cast< int >(val4);
20078 }
20079 {
20080 if (!wxPyCheckForApp()) SWIG_fail;
20081 PyThreadState* __tstate = wxPyBeginAllowThreads();
20082 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
20083 wxPyEndAllowThreads(__tstate);
20084 if (PyErr_Occurred()) SWIG_fail;
20085 }
20086 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_NEW | 0 );
20087 {
20088 if (temp3)
20089 delete arg3;
20090 }
20091 return resultobj;
20092 fail:
20093 {
20094 if (temp3)
20095 delete arg3;
20096 }
20097 return NULL;
20098 }
20099
20100
20101 SWIGINTERN PyObject *_wrap_new_PreFindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20102 PyObject *resultobj = 0;
20103 wxFindReplaceDialog *result = 0 ;
20104
20105 if (!SWIG_Python_UnpackTuple(args,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail;
20106 {
20107 if (!wxPyCheckForApp()) SWIG_fail;
20108 PyThreadState* __tstate = wxPyBeginAllowThreads();
20109 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
20110 wxPyEndAllowThreads(__tstate);
20111 if (PyErr_Occurred()) SWIG_fail;
20112 }
20113 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_OWN | 0 );
20114 return resultobj;
20115 fail:
20116 return NULL;
20117 }
20118
20119
20120 SWIGINTERN PyObject *_wrap_FindReplaceDialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20121 PyObject *resultobj = 0;
20122 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20123 wxWindow *arg2 = (wxWindow *) 0 ;
20124 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
20125 wxString *arg4 = 0 ;
20126 int arg5 = (int) 0 ;
20127 bool result;
20128 void *argp1 = 0 ;
20129 int res1 = 0 ;
20130 void *argp2 = 0 ;
20131 int res2 = 0 ;
20132 void *argp3 = 0 ;
20133 int res3 = 0 ;
20134 bool temp4 = false ;
20135 int val5 ;
20136 int ecode5 = 0 ;
20137 PyObject * obj0 = 0 ;
20138 PyObject * obj1 = 0 ;
20139 PyObject * obj2 = 0 ;
20140 PyObject * obj3 = 0 ;
20141 PyObject * obj4 = 0 ;
20142 char * kwnames[] = {
20143 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20144 };
20145
20146 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
20147 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20148 if (!SWIG_IsOK(res1)) {
20149 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20150 }
20151 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20152 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20153 if (!SWIG_IsOK(res2)) {
20154 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20155 }
20156 arg2 = reinterpret_cast< wxWindow * >(argp2);
20157 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20158 if (!SWIG_IsOK(res3)) {
20159 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20160 }
20161 arg3 = reinterpret_cast< wxFindReplaceData * >(argp3);
20162 {
20163 arg4 = wxString_in_helper(obj3);
20164 if (arg4 == NULL) SWIG_fail;
20165 temp4 = true;
20166 }
20167 if (obj4) {
20168 ecode5 = SWIG_AsVal_int(obj4, &val5);
20169 if (!SWIG_IsOK(ecode5)) {
20170 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20171 }
20172 arg5 = static_cast< int >(val5);
20173 }
20174 {
20175 PyThreadState* __tstate = wxPyBeginAllowThreads();
20176 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
20177 wxPyEndAllowThreads(__tstate);
20178 if (PyErr_Occurred()) SWIG_fail;
20179 }
20180 {
20181 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20182 }
20183 {
20184 if (temp4)
20185 delete arg4;
20186 }
20187 return resultobj;
20188 fail:
20189 {
20190 if (temp4)
20191 delete arg4;
20192 }
20193 return NULL;
20194 }
20195
20196
20197 SWIGINTERN PyObject *_wrap_FindReplaceDialog_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20198 PyObject *resultobj = 0;
20199 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20200 wxFindReplaceData *result = 0 ;
20201 void *argp1 = 0 ;
20202 int res1 = 0 ;
20203 PyObject *swig_obj[1] ;
20204
20205 if (!args) SWIG_fail;
20206 swig_obj[0] = args;
20207 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20208 if (!SWIG_IsOK(res1)) {
20209 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20210 }
20211 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20212 {
20213 PyThreadState* __tstate = wxPyBeginAllowThreads();
20214 result = (wxFindReplaceData *)(arg1)->GetData();
20215 wxPyEndAllowThreads(__tstate);
20216 if (PyErr_Occurred()) SWIG_fail;
20217 }
20218 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20219 return resultobj;
20220 fail:
20221 return NULL;
20222 }
20223
20224
20225 SWIGINTERN PyObject *_wrap_FindReplaceDialog_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20226 PyObject *resultobj = 0;
20227 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20228 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20229 void *argp1 = 0 ;
20230 int res1 = 0 ;
20231 void *argp2 = 0 ;
20232 int res2 = 0 ;
20233 PyObject * obj0 = 0 ;
20234 PyObject * obj1 = 0 ;
20235 char * kwnames[] = {
20236 (char *) "self",(char *) "data", NULL
20237 };
20238
20239 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
20240 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20241 if (!SWIG_IsOK(res1)) {
20242 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20243 }
20244 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20245 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20246 if (!SWIG_IsOK(res2)) {
20247 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20248 }
20249 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20250 {
20251 PyThreadState* __tstate = wxPyBeginAllowThreads();
20252 (arg1)->SetData(arg2);
20253 wxPyEndAllowThreads(__tstate);
20254 if (PyErr_Occurred()) SWIG_fail;
20255 }
20256 resultobj = SWIG_Py_Void();
20257 return resultobj;
20258 fail:
20259 return NULL;
20260 }
20261
20262
20263 SWIGINTERN PyObject *FindReplaceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20264 PyObject *obj;
20265 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20266 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog, SWIG_NewClientData(obj));
20267 return SWIG_Py_Void();
20268 }
20269
20270 SWIGINTERN PyObject *FindReplaceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20271 return SWIG_Python_InitShadowInstance(args);
20272 }
20273
20274 SWIGINTERN PyObject *_wrap_new_MDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20275 PyObject *resultobj = 0;
20276 wxWindow *arg1 = (wxWindow *) 0 ;
20277 int arg2 = (int) (int)-1 ;
20278 wxString const &arg3_defvalue = wxPyEmptyString ;
20279 wxString *arg3 = (wxString *) &arg3_defvalue ;
20280 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20281 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20282 wxSize const &arg5_defvalue = wxDefaultSize ;
20283 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20284 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20285 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20286 wxString *arg7 = (wxString *) &arg7_defvalue ;
20287 wxMDIParentFrame *result = 0 ;
20288 void *argp1 = 0 ;
20289 int res1 = 0 ;
20290 int val2 ;
20291 int ecode2 = 0 ;
20292 bool temp3 = false ;
20293 wxPoint temp4 ;
20294 wxSize temp5 ;
20295 long val6 ;
20296 int ecode6 = 0 ;
20297 bool temp7 = false ;
20298 PyObject * obj0 = 0 ;
20299 PyObject * obj1 = 0 ;
20300 PyObject * obj2 = 0 ;
20301 PyObject * obj3 = 0 ;
20302 PyObject * obj4 = 0 ;
20303 PyObject * obj5 = 0 ;
20304 PyObject * obj6 = 0 ;
20305 char * kwnames[] = {
20306 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20307 };
20308
20309 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20310 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20311 if (!SWIG_IsOK(res1)) {
20312 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20313 }
20314 arg1 = reinterpret_cast< wxWindow * >(argp1);
20315 if (obj1) {
20316 ecode2 = SWIG_AsVal_int(obj1, &val2);
20317 if (!SWIG_IsOK(ecode2)) {
20318 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20319 }
20320 arg2 = static_cast< int >(val2);
20321 }
20322 if (obj2) {
20323 {
20324 arg3 = wxString_in_helper(obj2);
20325 if (arg3 == NULL) SWIG_fail;
20326 temp3 = true;
20327 }
20328 }
20329 if (obj3) {
20330 {
20331 arg4 = &temp4;
20332 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20333 }
20334 }
20335 if (obj4) {
20336 {
20337 arg5 = &temp5;
20338 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20339 }
20340 }
20341 if (obj5) {
20342 ecode6 = SWIG_AsVal_long(obj5, &val6);
20343 if (!SWIG_IsOK(ecode6)) {
20344 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20345 }
20346 arg6 = static_cast< long >(val6);
20347 }
20348 if (obj6) {
20349 {
20350 arg7 = wxString_in_helper(obj6);
20351 if (arg7 == NULL) SWIG_fail;
20352 temp7 = true;
20353 }
20354 }
20355 {
20356 if (!wxPyCheckForApp()) SWIG_fail;
20357 PyThreadState* __tstate = wxPyBeginAllowThreads();
20358 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20359 wxPyEndAllowThreads(__tstate);
20360 if (PyErr_Occurred()) SWIG_fail;
20361 }
20362 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_NEW | 0 );
20363 {
20364 if (temp3)
20365 delete arg3;
20366 }
20367 {
20368 if (temp7)
20369 delete arg7;
20370 }
20371 return resultobj;
20372 fail:
20373 {
20374 if (temp3)
20375 delete arg3;
20376 }
20377 {
20378 if (temp7)
20379 delete arg7;
20380 }
20381 return NULL;
20382 }
20383
20384
20385 SWIGINTERN PyObject *_wrap_new_PreMDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20386 PyObject *resultobj = 0;
20387 wxMDIParentFrame *result = 0 ;
20388
20389 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIParentFrame",0,0,0)) SWIG_fail;
20390 {
20391 if (!wxPyCheckForApp()) SWIG_fail;
20392 PyThreadState* __tstate = wxPyBeginAllowThreads();
20393 result = (wxMDIParentFrame *)new wxMDIParentFrame();
20394 wxPyEndAllowThreads(__tstate);
20395 if (PyErr_Occurred()) SWIG_fail;
20396 }
20397 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_OWN | 0 );
20398 return resultobj;
20399 fail:
20400 return NULL;
20401 }
20402
20403
20404 SWIGINTERN PyObject *_wrap_MDIParentFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20405 PyObject *resultobj = 0;
20406 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20407 wxWindow *arg2 = (wxWindow *) 0 ;
20408 int arg3 = (int) (int)-1 ;
20409 wxString const &arg4_defvalue = wxPyEmptyString ;
20410 wxString *arg4 = (wxString *) &arg4_defvalue ;
20411 wxPoint const &arg5_defvalue = wxDefaultPosition ;
20412 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
20413 wxSize const &arg6_defvalue = wxDefaultSize ;
20414 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
20415 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20416 wxString const &arg8_defvalue = wxPyFrameNameStr ;
20417 wxString *arg8 = (wxString *) &arg8_defvalue ;
20418 bool result;
20419 void *argp1 = 0 ;
20420 int res1 = 0 ;
20421 void *argp2 = 0 ;
20422 int res2 = 0 ;
20423 int val3 ;
20424 int ecode3 = 0 ;
20425 bool temp4 = false ;
20426 wxPoint temp5 ;
20427 wxSize temp6 ;
20428 long val7 ;
20429 int ecode7 = 0 ;
20430 bool temp8 = false ;
20431 PyObject * obj0 = 0 ;
20432 PyObject * obj1 = 0 ;
20433 PyObject * obj2 = 0 ;
20434 PyObject * obj3 = 0 ;
20435 PyObject * obj4 = 0 ;
20436 PyObject * obj5 = 0 ;
20437 PyObject * obj6 = 0 ;
20438 PyObject * obj7 = 0 ;
20439 char * kwnames[] = {
20440 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20441 };
20442
20443 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
20444 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20445 if (!SWIG_IsOK(res1)) {
20446 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20447 }
20448 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20449 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20450 if (!SWIG_IsOK(res2)) {
20451 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20452 }
20453 arg2 = reinterpret_cast< wxWindow * >(argp2);
20454 if (obj2) {
20455 ecode3 = SWIG_AsVal_int(obj2, &val3);
20456 if (!SWIG_IsOK(ecode3)) {
20457 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20458 }
20459 arg3 = static_cast< int >(val3);
20460 }
20461 if (obj3) {
20462 {
20463 arg4 = wxString_in_helper(obj3);
20464 if (arg4 == NULL) SWIG_fail;
20465 temp4 = true;
20466 }
20467 }
20468 if (obj4) {
20469 {
20470 arg5 = &temp5;
20471 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
20472 }
20473 }
20474 if (obj5) {
20475 {
20476 arg6 = &temp6;
20477 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
20478 }
20479 }
20480 if (obj6) {
20481 ecode7 = SWIG_AsVal_long(obj6, &val7);
20482 if (!SWIG_IsOK(ecode7)) {
20483 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20484 }
20485 arg7 = static_cast< long >(val7);
20486 }
20487 if (obj7) {
20488 {
20489 arg8 = wxString_in_helper(obj7);
20490 if (arg8 == NULL) SWIG_fail;
20491 temp8 = true;
20492 }
20493 }
20494 {
20495 PyThreadState* __tstate = wxPyBeginAllowThreads();
20496 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
20497 wxPyEndAllowThreads(__tstate);
20498 if (PyErr_Occurred()) SWIG_fail;
20499 }
20500 {
20501 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20502 }
20503 {
20504 if (temp4)
20505 delete arg4;
20506 }
20507 {
20508 if (temp8)
20509 delete arg8;
20510 }
20511 return resultobj;
20512 fail:
20513 {
20514 if (temp4)
20515 delete arg4;
20516 }
20517 {
20518 if (temp8)
20519 delete arg8;
20520 }
20521 return NULL;
20522 }
20523
20524
20525 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20526 PyObject *resultobj = 0;
20527 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20528 void *argp1 = 0 ;
20529 int res1 = 0 ;
20530 PyObject *swig_obj[1] ;
20531
20532 if (!args) SWIG_fail;
20533 swig_obj[0] = args;
20534 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20535 if (!SWIG_IsOK(res1)) {
20536 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20537 }
20538 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20539 {
20540 PyThreadState* __tstate = wxPyBeginAllowThreads();
20541 (arg1)->ActivateNext();
20542 wxPyEndAllowThreads(__tstate);
20543 if (PyErr_Occurred()) SWIG_fail;
20544 }
20545 resultobj = SWIG_Py_Void();
20546 return resultobj;
20547 fail:
20548 return NULL;
20549 }
20550
20551
20552 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20553 PyObject *resultobj = 0;
20554 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20555 void *argp1 = 0 ;
20556 int res1 = 0 ;
20557 PyObject *swig_obj[1] ;
20558
20559 if (!args) SWIG_fail;
20560 swig_obj[0] = args;
20561 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20562 if (!SWIG_IsOK(res1)) {
20563 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20564 }
20565 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20566 {
20567 PyThreadState* __tstate = wxPyBeginAllowThreads();
20568 (arg1)->ActivatePrevious();
20569 wxPyEndAllowThreads(__tstate);
20570 if (PyErr_Occurred()) SWIG_fail;
20571 }
20572 resultobj = SWIG_Py_Void();
20573 return resultobj;
20574 fail:
20575 return NULL;
20576 }
20577
20578
20579 SWIGINTERN PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20580 PyObject *resultobj = 0;
20581 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20582 void *argp1 = 0 ;
20583 int res1 = 0 ;
20584 PyObject *swig_obj[1] ;
20585
20586 if (!args) SWIG_fail;
20587 swig_obj[0] = args;
20588 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20589 if (!SWIG_IsOK(res1)) {
20590 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20591 }
20592 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20593 {
20594 PyThreadState* __tstate = wxPyBeginAllowThreads();
20595 (arg1)->ArrangeIcons();
20596 wxPyEndAllowThreads(__tstate);
20597 if (PyErr_Occurred()) SWIG_fail;
20598 }
20599 resultobj = SWIG_Py_Void();
20600 return resultobj;
20601 fail:
20602 return NULL;
20603 }
20604
20605
20606 SWIGINTERN PyObject *_wrap_MDIParentFrame_Cascade(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20607 PyObject *resultobj = 0;
20608 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20609 void *argp1 = 0 ;
20610 int res1 = 0 ;
20611 PyObject *swig_obj[1] ;
20612
20613 if (!args) SWIG_fail;
20614 swig_obj[0] = args;
20615 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20616 if (!SWIG_IsOK(res1)) {
20617 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20618 }
20619 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20620 {
20621 PyThreadState* __tstate = wxPyBeginAllowThreads();
20622 (arg1)->Cascade();
20623 wxPyEndAllowThreads(__tstate);
20624 if (PyErr_Occurred()) SWIG_fail;
20625 }
20626 resultobj = SWIG_Py_Void();
20627 return resultobj;
20628 fail:
20629 return NULL;
20630 }
20631
20632
20633 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20634 PyObject *resultobj = 0;
20635 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20636 wxMDIChildFrame *result = 0 ;
20637 void *argp1 = 0 ;
20638 int res1 = 0 ;
20639 PyObject *swig_obj[1] ;
20640
20641 if (!args) SWIG_fail;
20642 swig_obj[0] = args;
20643 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20644 if (!SWIG_IsOK(res1)) {
20645 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20646 }
20647 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20648 {
20649 PyThreadState* __tstate = wxPyBeginAllowThreads();
20650 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
20651 wxPyEndAllowThreads(__tstate);
20652 if (PyErr_Occurred()) SWIG_fail;
20653 }
20654 {
20655 resultobj = wxPyMake_wxObject(result, (bool)0);
20656 }
20657 return resultobj;
20658 fail:
20659 return NULL;
20660 }
20661
20662
20663 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20664 PyObject *resultobj = 0;
20665 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20666 wxMDIClientWindow *result = 0 ;
20667 void *argp1 = 0 ;
20668 int res1 = 0 ;
20669 PyObject *swig_obj[1] ;
20670
20671 if (!args) SWIG_fail;
20672 swig_obj[0] = args;
20673 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20674 if (!SWIG_IsOK(res1)) {
20675 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20676 }
20677 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20678 {
20679 PyThreadState* __tstate = wxPyBeginAllowThreads();
20680 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
20681 wxPyEndAllowThreads(__tstate);
20682 if (PyErr_Occurred()) SWIG_fail;
20683 }
20684 {
20685 resultobj = wxPyMake_wxObject(result, (bool)0);
20686 }
20687 return resultobj;
20688 fail:
20689 return NULL;
20690 }
20691
20692
20693 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20694 PyObject *resultobj = 0;
20695 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20696 wxWindow *result = 0 ;
20697 void *argp1 = 0 ;
20698 int res1 = 0 ;
20699 PyObject *swig_obj[1] ;
20700
20701 if (!args) SWIG_fail;
20702 swig_obj[0] = args;
20703 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20704 if (!SWIG_IsOK(res1)) {
20705 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetToolBar" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20706 }
20707 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20708 {
20709 PyThreadState* __tstate = wxPyBeginAllowThreads();
20710 result = (wxWindow *)(arg1)->GetToolBar();
20711 wxPyEndAllowThreads(__tstate);
20712 if (PyErr_Occurred()) SWIG_fail;
20713 }
20714 {
20715 resultobj = wxPyMake_wxObject(result, 0);
20716 }
20717 return resultobj;
20718 fail:
20719 return NULL;
20720 }
20721
20722
20723 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetWindowMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20724 PyObject *resultobj = 0;
20725 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20726 wxMenu *result = 0 ;
20727 void *argp1 = 0 ;
20728 int res1 = 0 ;
20729 PyObject *swig_obj[1] ;
20730
20731 if (!args) SWIG_fail;
20732 swig_obj[0] = args;
20733 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20734 if (!SWIG_IsOK(res1)) {
20735 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20736 }
20737 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20738 {
20739 PyThreadState* __tstate = wxPyBeginAllowThreads();
20740 result = (wxMenu *)(arg1)->GetWindowMenu();
20741 wxPyEndAllowThreads(__tstate);
20742 if (PyErr_Occurred()) SWIG_fail;
20743 }
20744 {
20745 resultobj = wxPyMake_wxObject(result, 0);
20746 }
20747 return resultobj;
20748 fail:
20749 return NULL;
20750 }
20751
20752
20753 SWIGINTERN PyObject *_wrap_MDIParentFrame_SetWindowMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20754 PyObject *resultobj = 0;
20755 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20756 wxMenu *arg2 = (wxMenu *) 0 ;
20757 void *argp1 = 0 ;
20758 int res1 = 0 ;
20759 void *argp2 = 0 ;
20760 int res2 = 0 ;
20761 PyObject * obj0 = 0 ;
20762 PyObject * obj1 = 0 ;
20763 char * kwnames[] = {
20764 (char *) "self",(char *) "menu", NULL
20765 };
20766
20767 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames,&obj0,&obj1)) SWIG_fail;
20768 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20769 if (!SWIG_IsOK(res1)) {
20770 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20771 }
20772 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20773 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
20774 if (!SWIG_IsOK(res2)) {
20775 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
20776 }
20777 arg2 = reinterpret_cast< wxMenu * >(argp2);
20778 {
20779 PyThreadState* __tstate = wxPyBeginAllowThreads();
20780 (arg1)->SetWindowMenu(arg2);
20781 wxPyEndAllowThreads(__tstate);
20782 if (PyErr_Occurred()) SWIG_fail;
20783 }
20784 resultobj = SWIG_Py_Void();
20785 return resultobj;
20786 fail:
20787 return NULL;
20788 }
20789
20790
20791 SWIGINTERN PyObject *_wrap_MDIParentFrame_Tile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20792 PyObject *resultobj = 0;
20793 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20794 wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ;
20795 void *argp1 = 0 ;
20796 int res1 = 0 ;
20797 int val2 ;
20798 int ecode2 = 0 ;
20799 PyObject * obj0 = 0 ;
20800 PyObject * obj1 = 0 ;
20801 char * kwnames[] = {
20802 (char *) "self",(char *) "orient", NULL
20803 };
20804
20805 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) SWIG_fail;
20806 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20807 if (!SWIG_IsOK(res1)) {
20808 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20809 }
20810 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20811 if (obj1) {
20812 ecode2 = SWIG_AsVal_int(obj1, &val2);
20813 if (!SWIG_IsOK(ecode2)) {
20814 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
20815 }
20816 arg2 = static_cast< wxOrientation >(val2);
20817 }
20818 {
20819 PyThreadState* __tstate = wxPyBeginAllowThreads();
20820 (arg1)->Tile(arg2);
20821 wxPyEndAllowThreads(__tstate);
20822 if (PyErr_Occurred()) SWIG_fail;
20823 }
20824 resultobj = SWIG_Py_Void();
20825 return resultobj;
20826 fail:
20827 return NULL;
20828 }
20829
20830
20831 SWIGINTERN PyObject *MDIParentFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20832 PyObject *obj;
20833 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20834 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame, SWIG_NewClientData(obj));
20835 return SWIG_Py_Void();
20836 }
20837
20838 SWIGINTERN PyObject *MDIParentFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20839 return SWIG_Python_InitShadowInstance(args);
20840 }
20841
20842 SWIGINTERN PyObject *_wrap_new_MDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20843 PyObject *resultobj = 0;
20844 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20845 int arg2 = (int) (int)-1 ;
20846 wxString const &arg3_defvalue = wxPyEmptyString ;
20847 wxString *arg3 = (wxString *) &arg3_defvalue ;
20848 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20849 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20850 wxSize const &arg5_defvalue = wxDefaultSize ;
20851 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20852 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
20853 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20854 wxString *arg7 = (wxString *) &arg7_defvalue ;
20855 wxMDIChildFrame *result = 0 ;
20856 void *argp1 = 0 ;
20857 int res1 = 0 ;
20858 int val2 ;
20859 int ecode2 = 0 ;
20860 bool temp3 = false ;
20861 wxPoint temp4 ;
20862 wxSize temp5 ;
20863 long val6 ;
20864 int ecode6 = 0 ;
20865 bool temp7 = false ;
20866 PyObject * obj0 = 0 ;
20867 PyObject * obj1 = 0 ;
20868 PyObject * obj2 = 0 ;
20869 PyObject * obj3 = 0 ;
20870 PyObject * obj4 = 0 ;
20871 PyObject * obj5 = 0 ;
20872 PyObject * obj6 = 0 ;
20873 char * kwnames[] = {
20874 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20875 };
20876
20877 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20878 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20879 if (!SWIG_IsOK(res1)) {
20880 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20881 }
20882 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20883 if (obj1) {
20884 ecode2 = SWIG_AsVal_int(obj1, &val2);
20885 if (!SWIG_IsOK(ecode2)) {
20886 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
20887 }
20888 arg2 = static_cast< int >(val2);
20889 }
20890 if (obj2) {
20891 {
20892 arg3 = wxString_in_helper(obj2);
20893 if (arg3 == NULL) SWIG_fail;
20894 temp3 = true;
20895 }
20896 }
20897 if (obj3) {
20898 {
20899 arg4 = &temp4;
20900 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20901 }
20902 }
20903 if (obj4) {
20904 {
20905 arg5 = &temp5;
20906 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20907 }
20908 }
20909 if (obj5) {
20910 ecode6 = SWIG_AsVal_long(obj5, &val6);
20911 if (!SWIG_IsOK(ecode6)) {
20912 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
20913 }
20914 arg6 = static_cast< long >(val6);
20915 }
20916 if (obj6) {
20917 {
20918 arg7 = wxString_in_helper(obj6);
20919 if (arg7 == NULL) SWIG_fail;
20920 temp7 = true;
20921 }
20922 }
20923 {
20924 if (!wxPyCheckForApp()) SWIG_fail;
20925 PyThreadState* __tstate = wxPyBeginAllowThreads();
20926 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20927 wxPyEndAllowThreads(__tstate);
20928 if (PyErr_Occurred()) SWIG_fail;
20929 }
20930 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_NEW | 0 );
20931 {
20932 if (temp3)
20933 delete arg3;
20934 }
20935 {
20936 if (temp7)
20937 delete arg7;
20938 }
20939 return resultobj;
20940 fail:
20941 {
20942 if (temp3)
20943 delete arg3;
20944 }
20945 {
20946 if (temp7)
20947 delete arg7;
20948 }
20949 return NULL;
20950 }
20951
20952
20953 SWIGINTERN PyObject *_wrap_new_PreMDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20954 PyObject *resultobj = 0;
20955 wxMDIChildFrame *result = 0 ;
20956
20957 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIChildFrame",0,0,0)) SWIG_fail;
20958 {
20959 if (!wxPyCheckForApp()) SWIG_fail;
20960 PyThreadState* __tstate = wxPyBeginAllowThreads();
20961 result = (wxMDIChildFrame *)new wxMDIChildFrame();
20962 wxPyEndAllowThreads(__tstate);
20963 if (PyErr_Occurred()) SWIG_fail;
20964 }
20965 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_OWN | 0 );
20966 return resultobj;
20967 fail:
20968 return NULL;
20969 }
20970
20971
20972 SWIGINTERN PyObject *_wrap_MDIChildFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20973 PyObject *resultobj = 0;
20974 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
20975 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
20976 int arg3 = (int) (int)-1 ;
20977 wxString const &arg4_defvalue = wxPyEmptyString ;
20978 wxString *arg4 = (wxString *) &arg4_defvalue ;
20979 wxPoint const &arg5_defvalue = wxDefaultPosition ;
20980 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
20981 wxSize const &arg6_defvalue = wxDefaultSize ;
20982 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
20983 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
20984 wxString const &arg8_defvalue = wxPyFrameNameStr ;
20985 wxString *arg8 = (wxString *) &arg8_defvalue ;
20986 bool result;
20987 void *argp1 = 0 ;
20988 int res1 = 0 ;
20989 void *argp2 = 0 ;
20990 int res2 = 0 ;
20991 int val3 ;
20992 int ecode3 = 0 ;
20993 bool temp4 = false ;
20994 wxPoint temp5 ;
20995 wxSize temp6 ;
20996 long val7 ;
20997 int ecode7 = 0 ;
20998 bool temp8 = false ;
20999 PyObject * obj0 = 0 ;
21000 PyObject * obj1 = 0 ;
21001 PyObject * obj2 = 0 ;
21002 PyObject * obj3 = 0 ;
21003 PyObject * obj4 = 0 ;
21004 PyObject * obj5 = 0 ;
21005 PyObject * obj6 = 0 ;
21006 PyObject * obj7 = 0 ;
21007 char * kwnames[] = {
21008 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21009 };
21010
21011 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
21012 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
21013 if (!SWIG_IsOK(res1)) {
21014 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21015 }
21016 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
21017 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21018 if (!SWIG_IsOK(res2)) {
21019 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21020 }
21021 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21022 if (obj2) {
21023 ecode3 = SWIG_AsVal_int(obj2, &val3);
21024 if (!SWIG_IsOK(ecode3)) {
21025 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
21026 }
21027 arg3 = static_cast< int >(val3);
21028 }
21029 if (obj3) {
21030 {
21031 arg4 = wxString_in_helper(obj3);
21032 if (arg4 == NULL) SWIG_fail;
21033 temp4 = true;
21034 }
21035 }
21036 if (obj4) {
21037 {
21038 arg5 = &temp5;
21039 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
21040 }
21041 }
21042 if (obj5) {
21043 {
21044 arg6 = &temp6;
21045 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
21046 }
21047 }
21048 if (obj6) {
21049 ecode7 = SWIG_AsVal_long(obj6, &val7);
21050 if (!SWIG_IsOK(ecode7)) {
21051 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
21052 }
21053 arg7 = static_cast< long >(val7);
21054 }
21055 if (obj7) {
21056 {
21057 arg8 = wxString_in_helper(obj7);
21058 if (arg8 == NULL) SWIG_fail;
21059 temp8 = true;
21060 }
21061 }
21062 {
21063 PyThreadState* __tstate = wxPyBeginAllowThreads();
21064 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
21065 wxPyEndAllowThreads(__tstate);
21066 if (PyErr_Occurred()) SWIG_fail;
21067 }
21068 {
21069 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21070 }
21071 {
21072 if (temp4)
21073 delete arg4;
21074 }
21075 {
21076 if (temp8)
21077 delete arg8;
21078 }
21079 return resultobj;
21080 fail:
21081 {
21082 if (temp4)
21083 delete arg4;
21084 }
21085 {
21086 if (temp8)
21087 delete arg8;
21088 }
21089 return NULL;
21090 }
21091
21092
21093 SWIGINTERN PyObject *_wrap_MDIChildFrame_Activate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21094 PyObject *resultobj = 0;
21095 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
21096 void *argp1 = 0 ;
21097 int res1 = 0 ;
21098 PyObject *swig_obj[1] ;
21099
21100 if (!args) SWIG_fail;
21101 swig_obj[0] = args;
21102 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
21103 if (!SWIG_IsOK(res1)) {
21104 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21105 }
21106 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
21107 {
21108 PyThreadState* __tstate = wxPyBeginAllowThreads();
21109 (arg1)->Activate();
21110 wxPyEndAllowThreads(__tstate);
21111 if (PyErr_Occurred()) SWIG_fail;
21112 }
21113 resultobj = SWIG_Py_Void();
21114 return resultobj;
21115 fail:
21116 return NULL;
21117 }
21118
21119
21120 SWIGINTERN PyObject *MDIChildFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21121 PyObject *obj;
21122 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21123 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame, SWIG_NewClientData(obj));
21124 return SWIG_Py_Void();
21125 }
21126
21127 SWIGINTERN PyObject *MDIChildFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21128 return SWIG_Python_InitShadowInstance(args);
21129 }
21130
21131 SWIGINTERN PyObject *_wrap_new_MDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21132 PyObject *resultobj = 0;
21133 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21134 long arg2 = (long) 0 ;
21135 wxMDIClientWindow *result = 0 ;
21136 void *argp1 = 0 ;
21137 int res1 = 0 ;
21138 long val2 ;
21139 int ecode2 = 0 ;
21140 PyObject * obj0 = 0 ;
21141 PyObject * obj1 = 0 ;
21142 char * kwnames[] = {
21143 (char *) "parent",(char *) "style", NULL
21144 };
21145
21146 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
21147 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21148 if (!SWIG_IsOK(res1)) {
21149 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21150 }
21151 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21152 if (obj1) {
21153 ecode2 = SWIG_AsVal_long(obj1, &val2);
21154 if (!SWIG_IsOK(ecode2)) {
21155 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
21156 }
21157 arg2 = static_cast< long >(val2);
21158 }
21159 {
21160 if (!wxPyCheckForApp()) SWIG_fail;
21161 PyThreadState* __tstate = wxPyBeginAllowThreads();
21162 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
21163 wxPyEndAllowThreads(__tstate);
21164 if (PyErr_Occurred()) SWIG_fail;
21165 }
21166 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_NEW | 0 );
21167 return resultobj;
21168 fail:
21169 return NULL;
21170 }
21171
21172
21173 SWIGINTERN PyObject *_wrap_new_PreMDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21174 PyObject *resultobj = 0;
21175 wxMDIClientWindow *result = 0 ;
21176
21177 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIClientWindow",0,0,0)) SWIG_fail;
21178 {
21179 if (!wxPyCheckForApp()) SWIG_fail;
21180 PyThreadState* __tstate = wxPyBeginAllowThreads();
21181 result = (wxMDIClientWindow *)new wxMDIClientWindow();
21182 wxPyEndAllowThreads(__tstate);
21183 if (PyErr_Occurred()) SWIG_fail;
21184 }
21185 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_OWN | 0 );
21186 return resultobj;
21187 fail:
21188 return NULL;
21189 }
21190
21191
21192 SWIGINTERN PyObject *_wrap_MDIClientWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21193 PyObject *resultobj = 0;
21194 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
21195 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
21196 long arg3 = (long) 0 ;
21197 bool result;
21198 void *argp1 = 0 ;
21199 int res1 = 0 ;
21200 void *argp2 = 0 ;
21201 int res2 = 0 ;
21202 long val3 ;
21203 int ecode3 = 0 ;
21204 PyObject * obj0 = 0 ;
21205 PyObject * obj1 = 0 ;
21206 PyObject * obj2 = 0 ;
21207 char * kwnames[] = {
21208 (char *) "self",(char *) "parent",(char *) "style", NULL
21209 };
21210
21211 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21212 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIClientWindow, 0 | 0 );
21213 if (!SWIG_IsOK(res1)) {
21214 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21215 }
21216 arg1 = reinterpret_cast< wxMDIClientWindow * >(argp1);
21217 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21218 if (!SWIG_IsOK(res2)) {
21219 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21220 }
21221 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21222 if (obj2) {
21223 ecode3 = SWIG_AsVal_long(obj2, &val3);
21224 if (!SWIG_IsOK(ecode3)) {
21225 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21226 }
21227 arg3 = static_cast< long >(val3);
21228 }
21229 {
21230 PyThreadState* __tstate = wxPyBeginAllowThreads();
21231 result = (bool)(arg1)->Create(arg2,arg3);
21232 wxPyEndAllowThreads(__tstate);
21233 if (PyErr_Occurred()) SWIG_fail;
21234 }
21235 {
21236 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21237 }
21238 return resultobj;
21239 fail:
21240 return NULL;
21241 }
21242
21243
21244 SWIGINTERN PyObject *MDIClientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21245 PyObject *obj;
21246 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21247 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow, SWIG_NewClientData(obj));
21248 return SWIG_Py_Void();
21249 }
21250
21251 SWIGINTERN PyObject *MDIClientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21252 return SWIG_Python_InitShadowInstance(args);
21253 }
21254
21255 SWIGINTERN PyObject *_wrap_new_PyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21256 PyObject *resultobj = 0;
21257 wxWindow *arg1 = (wxWindow *) 0 ;
21258 int arg2 = (int) (int)-1 ;
21259 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21260 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21261 wxSize const &arg4_defvalue = wxDefaultSize ;
21262 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21263 long arg5 = (long) 0 ;
21264 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21265 wxString *arg6 = (wxString *) &arg6_defvalue ;
21266 wxPyWindow *result = 0 ;
21267 void *argp1 = 0 ;
21268 int res1 = 0 ;
21269 int val2 ;
21270 int ecode2 = 0 ;
21271 wxPoint temp3 ;
21272 wxSize temp4 ;
21273 long val5 ;
21274 int ecode5 = 0 ;
21275 bool temp6 = false ;
21276 PyObject * obj0 = 0 ;
21277 PyObject * obj1 = 0 ;
21278 PyObject * obj2 = 0 ;
21279 PyObject * obj3 = 0 ;
21280 PyObject * obj4 = 0 ;
21281 PyObject * obj5 = 0 ;
21282 char * kwnames[] = {
21283 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21284 };
21285
21286 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21287 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21288 if (!SWIG_IsOK(res1)) {
21289 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21290 }
21291 arg1 = reinterpret_cast< wxWindow * >(argp1);
21292 if (obj1) {
21293 ecode2 = SWIG_AsVal_int(obj1, &val2);
21294 if (!SWIG_IsOK(ecode2)) {
21295 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21296 }
21297 arg2 = static_cast< int >(val2);
21298 }
21299 if (obj2) {
21300 {
21301 arg3 = &temp3;
21302 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21303 }
21304 }
21305 if (obj3) {
21306 {
21307 arg4 = &temp4;
21308 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21309 }
21310 }
21311 if (obj4) {
21312 ecode5 = SWIG_AsVal_long(obj4, &val5);
21313 if (!SWIG_IsOK(ecode5)) {
21314 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21315 }
21316 arg5 = static_cast< long >(val5);
21317 }
21318 if (obj5) {
21319 {
21320 arg6 = wxString_in_helper(obj5);
21321 if (arg6 == NULL) SWIG_fail;
21322 temp6 = true;
21323 }
21324 }
21325 {
21326 if (!wxPyCheckForApp()) SWIG_fail;
21327 PyThreadState* __tstate = wxPyBeginAllowThreads();
21328 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21329 wxPyEndAllowThreads(__tstate);
21330 if (PyErr_Occurred()) SWIG_fail;
21331 }
21332 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_NEW | 0 );
21333 {
21334 if (temp6)
21335 delete arg6;
21336 }
21337 return resultobj;
21338 fail:
21339 {
21340 if (temp6)
21341 delete arg6;
21342 }
21343 return NULL;
21344 }
21345
21346
21347 SWIGINTERN PyObject *_wrap_new_PrePyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21348 PyObject *resultobj = 0;
21349 wxPyWindow *result = 0 ;
21350
21351 if (!SWIG_Python_UnpackTuple(args,"new_PrePyWindow",0,0,0)) SWIG_fail;
21352 {
21353 if (!wxPyCheckForApp()) SWIG_fail;
21354 PyThreadState* __tstate = wxPyBeginAllowThreads();
21355 result = (wxPyWindow *)new wxPyWindow();
21356 wxPyEndAllowThreads(__tstate);
21357 if (PyErr_Occurred()) SWIG_fail;
21358 }
21359 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_OWN | 0 );
21360 return resultobj;
21361 fail:
21362 return NULL;
21363 }
21364
21365
21366 SWIGINTERN PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21367 PyObject *resultobj = 0;
21368 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21369 PyObject *arg2 = (PyObject *) 0 ;
21370 PyObject *arg3 = (PyObject *) 0 ;
21371 void *argp1 = 0 ;
21372 int res1 = 0 ;
21373 PyObject * obj0 = 0 ;
21374 PyObject * obj1 = 0 ;
21375 PyObject * obj2 = 0 ;
21376 char * kwnames[] = {
21377 (char *) "self",(char *) "self",(char *) "_class", NULL
21378 };
21379
21380 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21381 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21382 if (!SWIG_IsOK(res1)) {
21383 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21384 }
21385 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21386 arg2 = obj1;
21387 arg3 = obj2;
21388 {
21389 PyThreadState* __tstate = wxPyBeginAllowThreads();
21390 (arg1)->_setCallbackInfo(arg2,arg3);
21391 wxPyEndAllowThreads(__tstate);
21392 if (PyErr_Occurred()) SWIG_fail;
21393 }
21394 resultobj = SWIG_Py_Void();
21395 return resultobj;
21396 fail:
21397 return NULL;
21398 }
21399
21400
21401 SWIGINTERN PyObject *_wrap_PyWindow_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21402 PyObject *resultobj = 0;
21403 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21404 wxSize *arg2 = 0 ;
21405 void *argp1 = 0 ;
21406 int res1 = 0 ;
21407 wxSize temp2 ;
21408 PyObject * obj0 = 0 ;
21409 PyObject * obj1 = 0 ;
21410 char * kwnames[] = {
21411 (char *) "self",(char *) "size", NULL
21412 };
21413
21414 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
21415 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21416 if (!SWIG_IsOK(res1)) {
21417 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21418 }
21419 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21420 {
21421 arg2 = &temp2;
21422 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21423 }
21424 {
21425 PyThreadState* __tstate = wxPyBeginAllowThreads();
21426 (arg1)->SetBestSize((wxSize const &)*arg2);
21427 wxPyEndAllowThreads(__tstate);
21428 if (PyErr_Occurred()) SWIG_fail;
21429 }
21430 resultobj = SWIG_Py_Void();
21431 return resultobj;
21432 fail:
21433 return NULL;
21434 }
21435
21436
21437 SWIGINTERN PyObject *_wrap_PyWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21438 PyObject *resultobj = 0;
21439 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21440 wxDC *arg2 = (wxDC *) 0 ;
21441 bool result;
21442 void *argp1 = 0 ;
21443 int res1 = 0 ;
21444 void *argp2 = 0 ;
21445 int res2 = 0 ;
21446 PyObject * obj0 = 0 ;
21447 PyObject * obj1 = 0 ;
21448 char * kwnames[] = {
21449 (char *) "self",(char *) "dc", NULL
21450 };
21451
21452 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
21453 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21454 if (!SWIG_IsOK(res1)) {
21455 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21456 }
21457 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21458 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
21459 if (!SWIG_IsOK(res2)) {
21460 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21461 }
21462 arg2 = reinterpret_cast< wxDC * >(argp2);
21463 {
21464 PyThreadState* __tstate = wxPyBeginAllowThreads();
21465 result = (bool)(arg1)->DoEraseBackground(arg2);
21466 wxPyEndAllowThreads(__tstate);
21467 if (PyErr_Occurred()) SWIG_fail;
21468 }
21469 {
21470 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21471 }
21472 return resultobj;
21473 fail:
21474 return NULL;
21475 }
21476
21477
21478 SWIGINTERN PyObject *_wrap_PyWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21479 PyObject *resultobj = 0;
21480 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21481 int arg2 ;
21482 int arg3 ;
21483 int arg4 ;
21484 int arg5 ;
21485 void *argp1 = 0 ;
21486 int res1 = 0 ;
21487 int val2 ;
21488 int ecode2 = 0 ;
21489 int val3 ;
21490 int ecode3 = 0 ;
21491 int val4 ;
21492 int ecode4 = 0 ;
21493 int val5 ;
21494 int ecode5 = 0 ;
21495 PyObject * obj0 = 0 ;
21496 PyObject * obj1 = 0 ;
21497 PyObject * obj2 = 0 ;
21498 PyObject * obj3 = 0 ;
21499 PyObject * obj4 = 0 ;
21500 char * kwnames[] = {
21501 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21502 };
21503
21504 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
21505 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21506 if (!SWIG_IsOK(res1)) {
21507 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21508 }
21509 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21510 ecode2 = SWIG_AsVal_int(obj1, &val2);
21511 if (!SWIG_IsOK(ecode2)) {
21512 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21513 }
21514 arg2 = static_cast< int >(val2);
21515 ecode3 = SWIG_AsVal_int(obj2, &val3);
21516 if (!SWIG_IsOK(ecode3)) {
21517 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21518 }
21519 arg3 = static_cast< int >(val3);
21520 ecode4 = SWIG_AsVal_int(obj3, &val4);
21521 if (!SWIG_IsOK(ecode4)) {
21522 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21523 }
21524 arg4 = static_cast< int >(val4);
21525 ecode5 = SWIG_AsVal_int(obj4, &val5);
21526 if (!SWIG_IsOK(ecode5)) {
21527 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21528 }
21529 arg5 = static_cast< int >(val5);
21530 {
21531 PyThreadState* __tstate = wxPyBeginAllowThreads();
21532 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
21533 wxPyEndAllowThreads(__tstate);
21534 if (PyErr_Occurred()) SWIG_fail;
21535 }
21536 resultobj = SWIG_Py_Void();
21537 return resultobj;
21538 fail:
21539 return NULL;
21540 }
21541
21542
21543 SWIGINTERN PyObject *_wrap_PyWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21544 PyObject *resultobj = 0;
21545 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21546 int arg2 ;
21547 int arg3 ;
21548 int arg4 ;
21549 int arg5 ;
21550 int arg6 = (int) wxSIZE_AUTO ;
21551 void *argp1 = 0 ;
21552 int res1 = 0 ;
21553 int val2 ;
21554 int ecode2 = 0 ;
21555 int val3 ;
21556 int ecode3 = 0 ;
21557 int val4 ;
21558 int ecode4 = 0 ;
21559 int val5 ;
21560 int ecode5 = 0 ;
21561 int val6 ;
21562 int ecode6 = 0 ;
21563 PyObject * obj0 = 0 ;
21564 PyObject * obj1 = 0 ;
21565 PyObject * obj2 = 0 ;
21566 PyObject * obj3 = 0 ;
21567 PyObject * obj4 = 0 ;
21568 PyObject * obj5 = 0 ;
21569 char * kwnames[] = {
21570 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21571 };
21572
21573 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21574 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21575 if (!SWIG_IsOK(res1)) {
21576 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21577 }
21578 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21579 ecode2 = SWIG_AsVal_int(obj1, &val2);
21580 if (!SWIG_IsOK(ecode2)) {
21581 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21582 }
21583 arg2 = static_cast< int >(val2);
21584 ecode3 = SWIG_AsVal_int(obj2, &val3);
21585 if (!SWIG_IsOK(ecode3)) {
21586 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21587 }
21588 arg3 = static_cast< int >(val3);
21589 ecode4 = SWIG_AsVal_int(obj3, &val4);
21590 if (!SWIG_IsOK(ecode4)) {
21591 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21592 }
21593 arg4 = static_cast< int >(val4);
21594 ecode5 = SWIG_AsVal_int(obj4, &val5);
21595 if (!SWIG_IsOK(ecode5)) {
21596 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21597 }
21598 arg5 = static_cast< int >(val5);
21599 if (obj5) {
21600 ecode6 = SWIG_AsVal_int(obj5, &val6);
21601 if (!SWIG_IsOK(ecode6)) {
21602 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21603 }
21604 arg6 = static_cast< int >(val6);
21605 }
21606 {
21607 PyThreadState* __tstate = wxPyBeginAllowThreads();
21608 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
21609 wxPyEndAllowThreads(__tstate);
21610 if (PyErr_Occurred()) SWIG_fail;
21611 }
21612 resultobj = SWIG_Py_Void();
21613 return resultobj;
21614 fail:
21615 return NULL;
21616 }
21617
21618
21619 SWIGINTERN PyObject *_wrap_PyWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21620 PyObject *resultobj = 0;
21621 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21622 int arg2 ;
21623 int arg3 ;
21624 void *argp1 = 0 ;
21625 int res1 = 0 ;
21626 int val2 ;
21627 int ecode2 = 0 ;
21628 int val3 ;
21629 int ecode3 = 0 ;
21630 PyObject * obj0 = 0 ;
21631 PyObject * obj1 = 0 ;
21632 PyObject * obj2 = 0 ;
21633 char * kwnames[] = {
21634 (char *) "self",(char *) "width",(char *) "height", NULL
21635 };
21636
21637 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21638 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21639 if (!SWIG_IsOK(res1)) {
21640 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21641 }
21642 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21643 ecode2 = SWIG_AsVal_int(obj1, &val2);
21644 if (!SWIG_IsOK(ecode2)) {
21645 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21646 }
21647 arg2 = static_cast< int >(val2);
21648 ecode3 = SWIG_AsVal_int(obj2, &val3);
21649 if (!SWIG_IsOK(ecode3)) {
21650 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21651 }
21652 arg3 = static_cast< int >(val3);
21653 {
21654 PyThreadState* __tstate = wxPyBeginAllowThreads();
21655 (arg1)->DoSetClientSize(arg2,arg3);
21656 wxPyEndAllowThreads(__tstate);
21657 if (PyErr_Occurred()) SWIG_fail;
21658 }
21659 resultobj = SWIG_Py_Void();
21660 return resultobj;
21661 fail:
21662 return NULL;
21663 }
21664
21665
21666 SWIGINTERN PyObject *_wrap_PyWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21667 PyObject *resultobj = 0;
21668 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21669 int arg2 ;
21670 int arg3 ;
21671 void *argp1 = 0 ;
21672 int res1 = 0 ;
21673 int val2 ;
21674 int ecode2 = 0 ;
21675 int val3 ;
21676 int ecode3 = 0 ;
21677 PyObject * obj0 = 0 ;
21678 PyObject * obj1 = 0 ;
21679 PyObject * obj2 = 0 ;
21680 char * kwnames[] = {
21681 (char *) "self",(char *) "x",(char *) "y", NULL
21682 };
21683
21684 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21685 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21686 if (!SWIG_IsOK(res1)) {
21687 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21688 }
21689 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21690 ecode2 = SWIG_AsVal_int(obj1, &val2);
21691 if (!SWIG_IsOK(ecode2)) {
21692 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21693 }
21694 arg2 = static_cast< int >(val2);
21695 ecode3 = SWIG_AsVal_int(obj2, &val3);
21696 if (!SWIG_IsOK(ecode3)) {
21697 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21698 }
21699 arg3 = static_cast< int >(val3);
21700 {
21701 PyThreadState* __tstate = wxPyBeginAllowThreads();
21702 (arg1)->DoSetVirtualSize(arg2,arg3);
21703 wxPyEndAllowThreads(__tstate);
21704 if (PyErr_Occurred()) SWIG_fail;
21705 }
21706 resultobj = SWIG_Py_Void();
21707 return resultobj;
21708 fail:
21709 return NULL;
21710 }
21711
21712
21713 SWIGINTERN PyObject *_wrap_PyWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21714 PyObject *resultobj = 0;
21715 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21716 int *arg2 = (int *) 0 ;
21717 int *arg3 = (int *) 0 ;
21718 void *argp1 = 0 ;
21719 int res1 = 0 ;
21720 int temp2 ;
21721 int res2 = SWIG_TMPOBJ ;
21722 int temp3 ;
21723 int res3 = SWIG_TMPOBJ ;
21724 PyObject *swig_obj[1] ;
21725
21726 arg2 = &temp2;
21727 arg3 = &temp3;
21728 if (!args) SWIG_fail;
21729 swig_obj[0] = args;
21730 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21731 if (!SWIG_IsOK(res1)) {
21732 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21733 }
21734 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21735 {
21736 PyThreadState* __tstate = wxPyBeginAllowThreads();
21737 ((wxPyWindow const *)arg1)->DoGetSize(arg2,arg3);
21738 wxPyEndAllowThreads(__tstate);
21739 if (PyErr_Occurred()) SWIG_fail;
21740 }
21741 resultobj = SWIG_Py_Void();
21742 if (SWIG_IsTmpObj(res2)) {
21743 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21744 } else {
21745 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21746 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21747 }
21748 if (SWIG_IsTmpObj(res3)) {
21749 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21750 } else {
21751 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21752 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21753 }
21754 return resultobj;
21755 fail:
21756 return NULL;
21757 }
21758
21759
21760 SWIGINTERN PyObject *_wrap_PyWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21761 PyObject *resultobj = 0;
21762 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21763 int *arg2 = (int *) 0 ;
21764 int *arg3 = (int *) 0 ;
21765 void *argp1 = 0 ;
21766 int res1 = 0 ;
21767 int temp2 ;
21768 int res2 = SWIG_TMPOBJ ;
21769 int temp3 ;
21770 int res3 = SWIG_TMPOBJ ;
21771 PyObject *swig_obj[1] ;
21772
21773 arg2 = &temp2;
21774 arg3 = &temp3;
21775 if (!args) SWIG_fail;
21776 swig_obj[0] = args;
21777 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21778 if (!SWIG_IsOK(res1)) {
21779 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21780 }
21781 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21782 {
21783 PyThreadState* __tstate = wxPyBeginAllowThreads();
21784 ((wxPyWindow const *)arg1)->DoGetClientSize(arg2,arg3);
21785 wxPyEndAllowThreads(__tstate);
21786 if (PyErr_Occurred()) SWIG_fail;
21787 }
21788 resultobj = SWIG_Py_Void();
21789 if (SWIG_IsTmpObj(res2)) {
21790 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21791 } else {
21792 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21793 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21794 }
21795 if (SWIG_IsTmpObj(res3)) {
21796 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21797 } else {
21798 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21799 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21800 }
21801 return resultobj;
21802 fail:
21803 return NULL;
21804 }
21805
21806
21807 SWIGINTERN PyObject *_wrap_PyWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21808 PyObject *resultobj = 0;
21809 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21810 int *arg2 = (int *) 0 ;
21811 int *arg3 = (int *) 0 ;
21812 void *argp1 = 0 ;
21813 int res1 = 0 ;
21814 int temp2 ;
21815 int res2 = SWIG_TMPOBJ ;
21816 int temp3 ;
21817 int res3 = SWIG_TMPOBJ ;
21818 PyObject *swig_obj[1] ;
21819
21820 arg2 = &temp2;
21821 arg3 = &temp3;
21822 if (!args) SWIG_fail;
21823 swig_obj[0] = args;
21824 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21825 if (!SWIG_IsOK(res1)) {
21826 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21827 }
21828 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21829 {
21830 PyThreadState* __tstate = wxPyBeginAllowThreads();
21831 ((wxPyWindow const *)arg1)->DoGetPosition(arg2,arg3);
21832 wxPyEndAllowThreads(__tstate);
21833 if (PyErr_Occurred()) SWIG_fail;
21834 }
21835 resultobj = SWIG_Py_Void();
21836 if (SWIG_IsTmpObj(res2)) {
21837 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21838 } else {
21839 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21840 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21841 }
21842 if (SWIG_IsTmpObj(res3)) {
21843 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21844 } else {
21845 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21846 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21847 }
21848 return resultobj;
21849 fail:
21850 return NULL;
21851 }
21852
21853
21854 SWIGINTERN PyObject *_wrap_PyWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21855 PyObject *resultobj = 0;
21856 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21857 wxSize result;
21858 void *argp1 = 0 ;
21859 int res1 = 0 ;
21860 PyObject *swig_obj[1] ;
21861
21862 if (!args) SWIG_fail;
21863 swig_obj[0] = args;
21864 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21865 if (!SWIG_IsOK(res1)) {
21866 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21867 }
21868 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21869 {
21870 PyThreadState* __tstate = wxPyBeginAllowThreads();
21871 result = ((wxPyWindow const *)arg1)->DoGetVirtualSize();
21872 wxPyEndAllowThreads(__tstate);
21873 if (PyErr_Occurred()) SWIG_fail;
21874 }
21875 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
21876 return resultobj;
21877 fail:
21878 return NULL;
21879 }
21880
21881
21882 SWIGINTERN PyObject *_wrap_PyWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21883 PyObject *resultobj = 0;
21884 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21885 wxSize result;
21886 void *argp1 = 0 ;
21887 int res1 = 0 ;
21888 PyObject *swig_obj[1] ;
21889
21890 if (!args) SWIG_fail;
21891 swig_obj[0] = args;
21892 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21893 if (!SWIG_IsOK(res1)) {
21894 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21895 }
21896 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21897 {
21898 PyThreadState* __tstate = wxPyBeginAllowThreads();
21899 result = ((wxPyWindow const *)arg1)->DoGetBestSize();
21900 wxPyEndAllowThreads(__tstate);
21901 if (PyErr_Occurred()) SWIG_fail;
21902 }
21903 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
21904 return resultobj;
21905 fail:
21906 return NULL;
21907 }
21908
21909
21910 SWIGINTERN PyObject *_wrap_PyWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21911 PyObject *resultobj = 0;
21912 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21913 SwigValueWrapper<wxVisualAttributes > result;
21914 void *argp1 = 0 ;
21915 int res1 = 0 ;
21916 PyObject *swig_obj[1] ;
21917
21918 if (!args) SWIG_fail;
21919 swig_obj[0] = args;
21920 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21921 if (!SWIG_IsOK(res1)) {
21922 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21923 }
21924 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21925 {
21926 PyThreadState* __tstate = wxPyBeginAllowThreads();
21927 result = (arg1)->GetDefaultAttributes();
21928 wxPyEndAllowThreads(__tstate);
21929 if (PyErr_Occurred()) SWIG_fail;
21930 }
21931 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
21932 return resultobj;
21933 fail:
21934 return NULL;
21935 }
21936
21937
21938 SWIGINTERN PyObject *_wrap_PyWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21939 PyObject *resultobj = 0;
21940 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21941 void *argp1 = 0 ;
21942 int res1 = 0 ;
21943 PyObject *swig_obj[1] ;
21944
21945 if (!args) SWIG_fail;
21946 swig_obj[0] = args;
21947 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21948 if (!SWIG_IsOK(res1)) {
21949 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21950 }
21951 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21952 {
21953 PyThreadState* __tstate = wxPyBeginAllowThreads();
21954 (arg1)->OnInternalIdle();
21955 wxPyEndAllowThreads(__tstate);
21956 if (PyErr_Occurred()) SWIG_fail;
21957 }
21958 resultobj = SWIG_Py_Void();
21959 return resultobj;
21960 fail:
21961 return NULL;
21962 }
21963
21964
21965 SWIGINTERN PyObject *PyWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21966 PyObject *obj;
21967 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21968 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow, SWIG_NewClientData(obj));
21969 return SWIG_Py_Void();
21970 }
21971
21972 SWIGINTERN PyObject *PyWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21973 return SWIG_Python_InitShadowInstance(args);
21974 }
21975
21976 SWIGINTERN PyObject *_wrap_new_PyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21977 PyObject *resultobj = 0;
21978 wxWindow *arg1 = (wxWindow *) 0 ;
21979 int arg2 = (int) (int)-1 ;
21980 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21981 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21982 wxSize const &arg4_defvalue = wxDefaultSize ;
21983 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21984 long arg5 = (long) 0 ;
21985 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21986 wxString *arg6 = (wxString *) &arg6_defvalue ;
21987 wxPyPanel *result = 0 ;
21988 void *argp1 = 0 ;
21989 int res1 = 0 ;
21990 int val2 ;
21991 int ecode2 = 0 ;
21992 wxPoint temp3 ;
21993 wxSize temp4 ;
21994 long val5 ;
21995 int ecode5 = 0 ;
21996 bool temp6 = false ;
21997 PyObject * obj0 = 0 ;
21998 PyObject * obj1 = 0 ;
21999 PyObject * obj2 = 0 ;
22000 PyObject * obj3 = 0 ;
22001 PyObject * obj4 = 0 ;
22002 PyObject * obj5 = 0 ;
22003 char * kwnames[] = {
22004 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22005 };
22006
22007 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22008 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22009 if (!SWIG_IsOK(res1)) {
22010 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
22011 }
22012 arg1 = reinterpret_cast< wxWindow * >(argp1);
22013 if (obj1) {
22014 ecode2 = SWIG_AsVal_int(obj1, &val2);
22015 if (!SWIG_IsOK(ecode2)) {
22016 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
22017 }
22018 arg2 = static_cast< int >(val2);
22019 }
22020 if (obj2) {
22021 {
22022 arg3 = &temp3;
22023 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22024 }
22025 }
22026 if (obj3) {
22027 {
22028 arg4 = &temp4;
22029 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22030 }
22031 }
22032 if (obj4) {
22033 ecode5 = SWIG_AsVal_long(obj4, &val5);
22034 if (!SWIG_IsOK(ecode5)) {
22035 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
22036 }
22037 arg5 = static_cast< long >(val5);
22038 }
22039 if (obj5) {
22040 {
22041 arg6 = wxString_in_helper(obj5);
22042 if (arg6 == NULL) SWIG_fail;
22043 temp6 = true;
22044 }
22045 }
22046 {
22047 if (!wxPyCheckForApp()) SWIG_fail;
22048 PyThreadState* __tstate = wxPyBeginAllowThreads();
22049 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22050 wxPyEndAllowThreads(__tstate);
22051 if (PyErr_Occurred()) SWIG_fail;
22052 }
22053 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_NEW | 0 );
22054 {
22055 if (temp6)
22056 delete arg6;
22057 }
22058 return resultobj;
22059 fail:
22060 {
22061 if (temp6)
22062 delete arg6;
22063 }
22064 return NULL;
22065 }
22066
22067
22068 SWIGINTERN PyObject *_wrap_new_PrePyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22069 PyObject *resultobj = 0;
22070 wxPyPanel *result = 0 ;
22071
22072 if (!SWIG_Python_UnpackTuple(args,"new_PrePyPanel",0,0,0)) SWIG_fail;
22073 {
22074 if (!wxPyCheckForApp()) SWIG_fail;
22075 PyThreadState* __tstate = wxPyBeginAllowThreads();
22076 result = (wxPyPanel *)new wxPyPanel();
22077 wxPyEndAllowThreads(__tstate);
22078 if (PyErr_Occurred()) SWIG_fail;
22079 }
22080 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_OWN | 0 );
22081 return resultobj;
22082 fail:
22083 return NULL;
22084 }
22085
22086
22087 SWIGINTERN PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22088 PyObject *resultobj = 0;
22089 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22090 PyObject *arg2 = (PyObject *) 0 ;
22091 PyObject *arg3 = (PyObject *) 0 ;
22092 void *argp1 = 0 ;
22093 int res1 = 0 ;
22094 PyObject * obj0 = 0 ;
22095 PyObject * obj1 = 0 ;
22096 PyObject * obj2 = 0 ;
22097 char * kwnames[] = {
22098 (char *) "self",(char *) "self",(char *) "_class", NULL
22099 };
22100
22101 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22102 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22103 if (!SWIG_IsOK(res1)) {
22104 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22105 }
22106 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22107 arg2 = obj1;
22108 arg3 = obj2;
22109 {
22110 PyThreadState* __tstate = wxPyBeginAllowThreads();
22111 (arg1)->_setCallbackInfo(arg2,arg3);
22112 wxPyEndAllowThreads(__tstate);
22113 if (PyErr_Occurred()) SWIG_fail;
22114 }
22115 resultobj = SWIG_Py_Void();
22116 return resultobj;
22117 fail:
22118 return NULL;
22119 }
22120
22121
22122 SWIGINTERN PyObject *_wrap_PyPanel_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22123 PyObject *resultobj = 0;
22124 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22125 wxSize *arg2 = 0 ;
22126 void *argp1 = 0 ;
22127 int res1 = 0 ;
22128 wxSize temp2 ;
22129 PyObject * obj0 = 0 ;
22130 PyObject * obj1 = 0 ;
22131 char * kwnames[] = {
22132 (char *) "self",(char *) "size", NULL
22133 };
22134
22135 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
22136 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22137 if (!SWIG_IsOK(res1)) {
22138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_SetBestSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22139 }
22140 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22141 {
22142 arg2 = &temp2;
22143 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22144 }
22145 {
22146 PyThreadState* __tstate = wxPyBeginAllowThreads();
22147 (arg1)->SetBestSize((wxSize const &)*arg2);
22148 wxPyEndAllowThreads(__tstate);
22149 if (PyErr_Occurred()) SWIG_fail;
22150 }
22151 resultobj = SWIG_Py_Void();
22152 return resultobj;
22153 fail:
22154 return NULL;
22155 }
22156
22157
22158 SWIGINTERN PyObject *_wrap_PyPanel_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22159 PyObject *resultobj = 0;
22160 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22161 wxDC *arg2 = (wxDC *) 0 ;
22162 bool result;
22163 void *argp1 = 0 ;
22164 int res1 = 0 ;
22165 void *argp2 = 0 ;
22166 int res2 = 0 ;
22167 PyObject * obj0 = 0 ;
22168 PyObject * obj1 = 0 ;
22169 char * kwnames[] = {
22170 (char *) "self",(char *) "dc", NULL
22171 };
22172
22173 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
22174 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22175 if (!SWIG_IsOK(res1)) {
22176 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22177 }
22178 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22179 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
22180 if (!SWIG_IsOK(res2)) {
22181 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22182 }
22183 arg2 = reinterpret_cast< wxDC * >(argp2);
22184 {
22185 PyThreadState* __tstate = wxPyBeginAllowThreads();
22186 result = (bool)(arg1)->DoEraseBackground(arg2);
22187 wxPyEndAllowThreads(__tstate);
22188 if (PyErr_Occurred()) SWIG_fail;
22189 }
22190 {
22191 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22192 }
22193 return resultobj;
22194 fail:
22195 return NULL;
22196 }
22197
22198
22199 SWIGINTERN PyObject *_wrap_PyPanel_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22200 PyObject *resultobj = 0;
22201 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22202 int arg2 ;
22203 int arg3 ;
22204 int arg4 ;
22205 int arg5 ;
22206 void *argp1 = 0 ;
22207 int res1 = 0 ;
22208 int val2 ;
22209 int ecode2 = 0 ;
22210 int val3 ;
22211 int ecode3 = 0 ;
22212 int val4 ;
22213 int ecode4 = 0 ;
22214 int val5 ;
22215 int ecode5 = 0 ;
22216 PyObject * obj0 = 0 ;
22217 PyObject * obj1 = 0 ;
22218 PyObject * obj2 = 0 ;
22219 PyObject * obj3 = 0 ;
22220 PyObject * obj4 = 0 ;
22221 char * kwnames[] = {
22222 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22223 };
22224
22225 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22226 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22227 if (!SWIG_IsOK(res1)) {
22228 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22229 }
22230 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22231 ecode2 = SWIG_AsVal_int(obj1, &val2);
22232 if (!SWIG_IsOK(ecode2)) {
22233 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22234 }
22235 arg2 = static_cast< int >(val2);
22236 ecode3 = SWIG_AsVal_int(obj2, &val3);
22237 if (!SWIG_IsOK(ecode3)) {
22238 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22239 }
22240 arg3 = static_cast< int >(val3);
22241 ecode4 = SWIG_AsVal_int(obj3, &val4);
22242 if (!SWIG_IsOK(ecode4)) {
22243 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22244 }
22245 arg4 = static_cast< int >(val4);
22246 ecode5 = SWIG_AsVal_int(obj4, &val5);
22247 if (!SWIG_IsOK(ecode5)) {
22248 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22249 }
22250 arg5 = static_cast< int >(val5);
22251 {
22252 PyThreadState* __tstate = wxPyBeginAllowThreads();
22253 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
22254 wxPyEndAllowThreads(__tstate);
22255 if (PyErr_Occurred()) SWIG_fail;
22256 }
22257 resultobj = SWIG_Py_Void();
22258 return resultobj;
22259 fail:
22260 return NULL;
22261 }
22262
22263
22264 SWIGINTERN PyObject *_wrap_PyPanel_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22265 PyObject *resultobj = 0;
22266 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22267 int arg2 ;
22268 int arg3 ;
22269 int arg4 ;
22270 int arg5 ;
22271 int arg6 = (int) wxSIZE_AUTO ;
22272 void *argp1 = 0 ;
22273 int res1 = 0 ;
22274 int val2 ;
22275 int ecode2 = 0 ;
22276 int val3 ;
22277 int ecode3 = 0 ;
22278 int val4 ;
22279 int ecode4 = 0 ;
22280 int val5 ;
22281 int ecode5 = 0 ;
22282 int val6 ;
22283 int ecode6 = 0 ;
22284 PyObject * obj0 = 0 ;
22285 PyObject * obj1 = 0 ;
22286 PyObject * obj2 = 0 ;
22287 PyObject * obj3 = 0 ;
22288 PyObject * obj4 = 0 ;
22289 PyObject * obj5 = 0 ;
22290 char * kwnames[] = {
22291 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22292 };
22293
22294 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22295 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22296 if (!SWIG_IsOK(res1)) {
22297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22298 }
22299 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22300 ecode2 = SWIG_AsVal_int(obj1, &val2);
22301 if (!SWIG_IsOK(ecode2)) {
22302 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22303 }
22304 arg2 = static_cast< int >(val2);
22305 ecode3 = SWIG_AsVal_int(obj2, &val3);
22306 if (!SWIG_IsOK(ecode3)) {
22307 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22308 }
22309 arg3 = static_cast< int >(val3);
22310 ecode4 = SWIG_AsVal_int(obj3, &val4);
22311 if (!SWIG_IsOK(ecode4)) {
22312 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22313 }
22314 arg4 = static_cast< int >(val4);
22315 ecode5 = SWIG_AsVal_int(obj4, &val5);
22316 if (!SWIG_IsOK(ecode5)) {
22317 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22318 }
22319 arg5 = static_cast< int >(val5);
22320 if (obj5) {
22321 ecode6 = SWIG_AsVal_int(obj5, &val6);
22322 if (!SWIG_IsOK(ecode6)) {
22323 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22324 }
22325 arg6 = static_cast< int >(val6);
22326 }
22327 {
22328 PyThreadState* __tstate = wxPyBeginAllowThreads();
22329 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
22330 wxPyEndAllowThreads(__tstate);
22331 if (PyErr_Occurred()) SWIG_fail;
22332 }
22333 resultobj = SWIG_Py_Void();
22334 return resultobj;
22335 fail:
22336 return NULL;
22337 }
22338
22339
22340 SWIGINTERN PyObject *_wrap_PyPanel_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22341 PyObject *resultobj = 0;
22342 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22343 int arg2 ;
22344 int arg3 ;
22345 void *argp1 = 0 ;
22346 int res1 = 0 ;
22347 int val2 ;
22348 int ecode2 = 0 ;
22349 int val3 ;
22350 int ecode3 = 0 ;
22351 PyObject * obj0 = 0 ;
22352 PyObject * obj1 = 0 ;
22353 PyObject * obj2 = 0 ;
22354 char * kwnames[] = {
22355 (char *) "self",(char *) "width",(char *) "height", NULL
22356 };
22357
22358 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22359 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22360 if (!SWIG_IsOK(res1)) {
22361 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22362 }
22363 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22364 ecode2 = SWIG_AsVal_int(obj1, &val2);
22365 if (!SWIG_IsOK(ecode2)) {
22366 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22367 }
22368 arg2 = static_cast< int >(val2);
22369 ecode3 = SWIG_AsVal_int(obj2, &val3);
22370 if (!SWIG_IsOK(ecode3)) {
22371 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22372 }
22373 arg3 = static_cast< int >(val3);
22374 {
22375 PyThreadState* __tstate = wxPyBeginAllowThreads();
22376 (arg1)->DoSetClientSize(arg2,arg3);
22377 wxPyEndAllowThreads(__tstate);
22378 if (PyErr_Occurred()) SWIG_fail;
22379 }
22380 resultobj = SWIG_Py_Void();
22381 return resultobj;
22382 fail:
22383 return NULL;
22384 }
22385
22386
22387 SWIGINTERN PyObject *_wrap_PyPanel_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22388 PyObject *resultobj = 0;
22389 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22390 int arg2 ;
22391 int arg3 ;
22392 void *argp1 = 0 ;
22393 int res1 = 0 ;
22394 int val2 ;
22395 int ecode2 = 0 ;
22396 int val3 ;
22397 int ecode3 = 0 ;
22398 PyObject * obj0 = 0 ;
22399 PyObject * obj1 = 0 ;
22400 PyObject * obj2 = 0 ;
22401 char * kwnames[] = {
22402 (char *) "self",(char *) "x",(char *) "y", NULL
22403 };
22404
22405 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22406 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22407 if (!SWIG_IsOK(res1)) {
22408 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22409 }
22410 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22411 ecode2 = SWIG_AsVal_int(obj1, &val2);
22412 if (!SWIG_IsOK(ecode2)) {
22413 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22414 }
22415 arg2 = static_cast< int >(val2);
22416 ecode3 = SWIG_AsVal_int(obj2, &val3);
22417 if (!SWIG_IsOK(ecode3)) {
22418 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22419 }
22420 arg3 = static_cast< int >(val3);
22421 {
22422 PyThreadState* __tstate = wxPyBeginAllowThreads();
22423 (arg1)->DoSetVirtualSize(arg2,arg3);
22424 wxPyEndAllowThreads(__tstate);
22425 if (PyErr_Occurred()) SWIG_fail;
22426 }
22427 resultobj = SWIG_Py_Void();
22428 return resultobj;
22429 fail:
22430 return NULL;
22431 }
22432
22433
22434 SWIGINTERN PyObject *_wrap_PyPanel_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22435 PyObject *resultobj = 0;
22436 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22437 int *arg2 = (int *) 0 ;
22438 int *arg3 = (int *) 0 ;
22439 void *argp1 = 0 ;
22440 int res1 = 0 ;
22441 int temp2 ;
22442 int res2 = SWIG_TMPOBJ ;
22443 int temp3 ;
22444 int res3 = SWIG_TMPOBJ ;
22445 PyObject *swig_obj[1] ;
22446
22447 arg2 = &temp2;
22448 arg3 = &temp3;
22449 if (!args) SWIG_fail;
22450 swig_obj[0] = args;
22451 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22452 if (!SWIG_IsOK(res1)) {
22453 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22454 }
22455 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22456 {
22457 PyThreadState* __tstate = wxPyBeginAllowThreads();
22458 ((wxPyPanel const *)arg1)->DoGetSize(arg2,arg3);
22459 wxPyEndAllowThreads(__tstate);
22460 if (PyErr_Occurred()) SWIG_fail;
22461 }
22462 resultobj = SWIG_Py_Void();
22463 if (SWIG_IsTmpObj(res2)) {
22464 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22465 } else {
22466 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22467 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22468 }
22469 if (SWIG_IsTmpObj(res3)) {
22470 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22471 } else {
22472 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22473 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22474 }
22475 return resultobj;
22476 fail:
22477 return NULL;
22478 }
22479
22480
22481 SWIGINTERN PyObject *_wrap_PyPanel_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22482 PyObject *resultobj = 0;
22483 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22484 int *arg2 = (int *) 0 ;
22485 int *arg3 = (int *) 0 ;
22486 void *argp1 = 0 ;
22487 int res1 = 0 ;
22488 int temp2 ;
22489 int res2 = SWIG_TMPOBJ ;
22490 int temp3 ;
22491 int res3 = SWIG_TMPOBJ ;
22492 PyObject *swig_obj[1] ;
22493
22494 arg2 = &temp2;
22495 arg3 = &temp3;
22496 if (!args) SWIG_fail;
22497 swig_obj[0] = args;
22498 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22499 if (!SWIG_IsOK(res1)) {
22500 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22501 }
22502 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22503 {
22504 PyThreadState* __tstate = wxPyBeginAllowThreads();
22505 ((wxPyPanel const *)arg1)->DoGetClientSize(arg2,arg3);
22506 wxPyEndAllowThreads(__tstate);
22507 if (PyErr_Occurred()) SWIG_fail;
22508 }
22509 resultobj = SWIG_Py_Void();
22510 if (SWIG_IsTmpObj(res2)) {
22511 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22512 } else {
22513 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22514 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22515 }
22516 if (SWIG_IsTmpObj(res3)) {
22517 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22518 } else {
22519 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22520 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22521 }
22522 return resultobj;
22523 fail:
22524 return NULL;
22525 }
22526
22527
22528 SWIGINTERN PyObject *_wrap_PyPanel_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22529 PyObject *resultobj = 0;
22530 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22531 int *arg2 = (int *) 0 ;
22532 int *arg3 = (int *) 0 ;
22533 void *argp1 = 0 ;
22534 int res1 = 0 ;
22535 int temp2 ;
22536 int res2 = SWIG_TMPOBJ ;
22537 int temp3 ;
22538 int res3 = SWIG_TMPOBJ ;
22539 PyObject *swig_obj[1] ;
22540
22541 arg2 = &temp2;
22542 arg3 = &temp3;
22543 if (!args) SWIG_fail;
22544 swig_obj[0] = args;
22545 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22546 if (!SWIG_IsOK(res1)) {
22547 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22548 }
22549 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22550 {
22551 PyThreadState* __tstate = wxPyBeginAllowThreads();
22552 ((wxPyPanel const *)arg1)->DoGetPosition(arg2,arg3);
22553 wxPyEndAllowThreads(__tstate);
22554 if (PyErr_Occurred()) SWIG_fail;
22555 }
22556 resultobj = SWIG_Py_Void();
22557 if (SWIG_IsTmpObj(res2)) {
22558 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22559 } else {
22560 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22561 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22562 }
22563 if (SWIG_IsTmpObj(res3)) {
22564 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22565 } else {
22566 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22567 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22568 }
22569 return resultobj;
22570 fail:
22571 return NULL;
22572 }
22573
22574
22575 SWIGINTERN PyObject *_wrap_PyPanel_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22576 PyObject *resultobj = 0;
22577 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22578 wxSize result;
22579 void *argp1 = 0 ;
22580 int res1 = 0 ;
22581 PyObject *swig_obj[1] ;
22582
22583 if (!args) SWIG_fail;
22584 swig_obj[0] = args;
22585 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22586 if (!SWIG_IsOK(res1)) {
22587 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22588 }
22589 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22590 {
22591 PyThreadState* __tstate = wxPyBeginAllowThreads();
22592 result = ((wxPyPanel const *)arg1)->DoGetVirtualSize();
22593 wxPyEndAllowThreads(__tstate);
22594 if (PyErr_Occurred()) SWIG_fail;
22595 }
22596 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22597 return resultobj;
22598 fail:
22599 return NULL;
22600 }
22601
22602
22603 SWIGINTERN PyObject *_wrap_PyPanel_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22604 PyObject *resultobj = 0;
22605 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22606 wxSize result;
22607 void *argp1 = 0 ;
22608 int res1 = 0 ;
22609 PyObject *swig_obj[1] ;
22610
22611 if (!args) SWIG_fail;
22612 swig_obj[0] = args;
22613 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22614 if (!SWIG_IsOK(res1)) {
22615 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22616 }
22617 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22618 {
22619 PyThreadState* __tstate = wxPyBeginAllowThreads();
22620 result = ((wxPyPanel const *)arg1)->DoGetBestSize();
22621 wxPyEndAllowThreads(__tstate);
22622 if (PyErr_Occurred()) SWIG_fail;
22623 }
22624 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22625 return resultobj;
22626 fail:
22627 return NULL;
22628 }
22629
22630
22631 SWIGINTERN PyObject *_wrap_PyPanel_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22632 PyObject *resultobj = 0;
22633 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22634 SwigValueWrapper<wxVisualAttributes > result;
22635 void *argp1 = 0 ;
22636 int res1 = 0 ;
22637 PyObject *swig_obj[1] ;
22638
22639 if (!args) SWIG_fail;
22640 swig_obj[0] = args;
22641 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22642 if (!SWIG_IsOK(res1)) {
22643 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22644 }
22645 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22646 {
22647 PyThreadState* __tstate = wxPyBeginAllowThreads();
22648 result = (arg1)->GetDefaultAttributes();
22649 wxPyEndAllowThreads(__tstate);
22650 if (PyErr_Occurred()) SWIG_fail;
22651 }
22652 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
22653 return resultobj;
22654 fail:
22655 return NULL;
22656 }
22657
22658
22659 SWIGINTERN PyObject *_wrap_PyPanel_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22660 PyObject *resultobj = 0;
22661 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22662 void *argp1 = 0 ;
22663 int res1 = 0 ;
22664 PyObject *swig_obj[1] ;
22665
22666 if (!args) SWIG_fail;
22667 swig_obj[0] = args;
22668 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22669 if (!SWIG_IsOK(res1)) {
22670 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22671 }
22672 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22673 {
22674 PyThreadState* __tstate = wxPyBeginAllowThreads();
22675 (arg1)->OnInternalIdle();
22676 wxPyEndAllowThreads(__tstate);
22677 if (PyErr_Occurred()) SWIG_fail;
22678 }
22679 resultobj = SWIG_Py_Void();
22680 return resultobj;
22681 fail:
22682 return NULL;
22683 }
22684
22685
22686 SWIGINTERN PyObject *PyPanel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22687 PyObject *obj;
22688 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22689 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel, SWIG_NewClientData(obj));
22690 return SWIG_Py_Void();
22691 }
22692
22693 SWIGINTERN PyObject *PyPanel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22694 return SWIG_Python_InitShadowInstance(args);
22695 }
22696
22697 SWIGINTERN PyObject *_wrap_new_PyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22698 PyObject *resultobj = 0;
22699 wxWindow *arg1 = (wxWindow *) 0 ;
22700 int arg2 = (int) (int)-1 ;
22701 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22702 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22703 wxSize const &arg4_defvalue = wxDefaultSize ;
22704 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22705 long arg5 = (long) 0 ;
22706 wxString const &arg6_defvalue = wxPyPanelNameStr ;
22707 wxString *arg6 = (wxString *) &arg6_defvalue ;
22708 wxPyScrolledWindow *result = 0 ;
22709 void *argp1 = 0 ;
22710 int res1 = 0 ;
22711 int val2 ;
22712 int ecode2 = 0 ;
22713 wxPoint temp3 ;
22714 wxSize temp4 ;
22715 long val5 ;
22716 int ecode5 = 0 ;
22717 bool temp6 = false ;
22718 PyObject * obj0 = 0 ;
22719 PyObject * obj1 = 0 ;
22720 PyObject * obj2 = 0 ;
22721 PyObject * obj3 = 0 ;
22722 PyObject * obj4 = 0 ;
22723 PyObject * obj5 = 0 ;
22724 char * kwnames[] = {
22725 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22726 };
22727
22728 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22729 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22730 if (!SWIG_IsOK(res1)) {
22731 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
22732 }
22733 arg1 = reinterpret_cast< wxWindow * >(argp1);
22734 if (obj1) {
22735 ecode2 = SWIG_AsVal_int(obj1, &val2);
22736 if (!SWIG_IsOK(ecode2)) {
22737 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
22738 }
22739 arg2 = static_cast< int >(val2);
22740 }
22741 if (obj2) {
22742 {
22743 arg3 = &temp3;
22744 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22745 }
22746 }
22747 if (obj3) {
22748 {
22749 arg4 = &temp4;
22750 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22751 }
22752 }
22753 if (obj4) {
22754 ecode5 = SWIG_AsVal_long(obj4, &val5);
22755 if (!SWIG_IsOK(ecode5)) {
22756 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
22757 }
22758 arg5 = static_cast< long >(val5);
22759 }
22760 if (obj5) {
22761 {
22762 arg6 = wxString_in_helper(obj5);
22763 if (arg6 == NULL) SWIG_fail;
22764 temp6 = true;
22765 }
22766 }
22767 {
22768 if (!wxPyCheckForApp()) SWIG_fail;
22769 PyThreadState* __tstate = wxPyBeginAllowThreads();
22770 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22771 wxPyEndAllowThreads(__tstate);
22772 if (PyErr_Occurred()) SWIG_fail;
22773 }
22774 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_NEW | 0 );
22775 {
22776 if (temp6)
22777 delete arg6;
22778 }
22779 return resultobj;
22780 fail:
22781 {
22782 if (temp6)
22783 delete arg6;
22784 }
22785 return NULL;
22786 }
22787
22788
22789 SWIGINTERN PyObject *_wrap_new_PrePyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22790 PyObject *resultobj = 0;
22791 wxPyScrolledWindow *result = 0 ;
22792
22793 if (!SWIG_Python_UnpackTuple(args,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail;
22794 {
22795 if (!wxPyCheckForApp()) SWIG_fail;
22796 PyThreadState* __tstate = wxPyBeginAllowThreads();
22797 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
22798 wxPyEndAllowThreads(__tstate);
22799 if (PyErr_Occurred()) SWIG_fail;
22800 }
22801 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_OWN | 0 );
22802 return resultobj;
22803 fail:
22804 return NULL;
22805 }
22806
22807
22808 SWIGINTERN PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22809 PyObject *resultobj = 0;
22810 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22811 PyObject *arg2 = (PyObject *) 0 ;
22812 PyObject *arg3 = (PyObject *) 0 ;
22813 void *argp1 = 0 ;
22814 int res1 = 0 ;
22815 PyObject * obj0 = 0 ;
22816 PyObject * obj1 = 0 ;
22817 PyObject * obj2 = 0 ;
22818 char * kwnames[] = {
22819 (char *) "self",(char *) "self",(char *) "_class", NULL
22820 };
22821
22822 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22823 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22824 if (!SWIG_IsOK(res1)) {
22825 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22826 }
22827 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22828 arg2 = obj1;
22829 arg3 = obj2;
22830 {
22831 PyThreadState* __tstate = wxPyBeginAllowThreads();
22832 (arg1)->_setCallbackInfo(arg2,arg3);
22833 wxPyEndAllowThreads(__tstate);
22834 if (PyErr_Occurred()) SWIG_fail;
22835 }
22836 resultobj = SWIG_Py_Void();
22837 return resultobj;
22838 fail:
22839 return NULL;
22840 }
22841
22842
22843 SWIGINTERN PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22844 PyObject *resultobj = 0;
22845 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22846 wxSize *arg2 = 0 ;
22847 void *argp1 = 0 ;
22848 int res1 = 0 ;
22849 wxSize temp2 ;
22850 PyObject * obj0 = 0 ;
22851 PyObject * obj1 = 0 ;
22852 char * kwnames[] = {
22853 (char *) "self",(char *) "size", NULL
22854 };
22855
22856 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
22857 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22858 if (!SWIG_IsOK(res1)) {
22859 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22860 }
22861 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22862 {
22863 arg2 = &temp2;
22864 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22865 }
22866 {
22867 PyThreadState* __tstate = wxPyBeginAllowThreads();
22868 (arg1)->SetBestSize((wxSize const &)*arg2);
22869 wxPyEndAllowThreads(__tstate);
22870 if (PyErr_Occurred()) SWIG_fail;
22871 }
22872 resultobj = SWIG_Py_Void();
22873 return resultobj;
22874 fail:
22875 return NULL;
22876 }
22877
22878
22879 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22880 PyObject *resultobj = 0;
22881 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22882 wxDC *arg2 = (wxDC *) 0 ;
22883 bool result;
22884 void *argp1 = 0 ;
22885 int res1 = 0 ;
22886 void *argp2 = 0 ;
22887 int res2 = 0 ;
22888 PyObject * obj0 = 0 ;
22889 PyObject * obj1 = 0 ;
22890 char * kwnames[] = {
22891 (char *) "self",(char *) "dc", NULL
22892 };
22893
22894 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
22895 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22896 if (!SWIG_IsOK(res1)) {
22897 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22898 }
22899 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22900 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
22901 if (!SWIG_IsOK(res2)) {
22902 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22903 }
22904 arg2 = reinterpret_cast< wxDC * >(argp2);
22905 {
22906 PyThreadState* __tstate = wxPyBeginAllowThreads();
22907 result = (bool)(arg1)->DoEraseBackground(arg2);
22908 wxPyEndAllowThreads(__tstate);
22909 if (PyErr_Occurred()) SWIG_fail;
22910 }
22911 {
22912 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22913 }
22914 return resultobj;
22915 fail:
22916 return NULL;
22917 }
22918
22919
22920 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22921 PyObject *resultobj = 0;
22922 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22923 int arg2 ;
22924 int arg3 ;
22925 int arg4 ;
22926 int arg5 ;
22927 void *argp1 = 0 ;
22928 int res1 = 0 ;
22929 int val2 ;
22930 int ecode2 = 0 ;
22931 int val3 ;
22932 int ecode3 = 0 ;
22933 int val4 ;
22934 int ecode4 = 0 ;
22935 int val5 ;
22936 int ecode5 = 0 ;
22937 PyObject * obj0 = 0 ;
22938 PyObject * obj1 = 0 ;
22939 PyObject * obj2 = 0 ;
22940 PyObject * obj3 = 0 ;
22941 PyObject * obj4 = 0 ;
22942 char * kwnames[] = {
22943 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22944 };
22945
22946 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22947 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22948 if (!SWIG_IsOK(res1)) {
22949 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22950 }
22951 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22952 ecode2 = SWIG_AsVal_int(obj1, &val2);
22953 if (!SWIG_IsOK(ecode2)) {
22954 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22955 }
22956 arg2 = static_cast< int >(val2);
22957 ecode3 = SWIG_AsVal_int(obj2, &val3);
22958 if (!SWIG_IsOK(ecode3)) {
22959 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22960 }
22961 arg3 = static_cast< int >(val3);
22962 ecode4 = SWIG_AsVal_int(obj3, &val4);
22963 if (!SWIG_IsOK(ecode4)) {
22964 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22965 }
22966 arg4 = static_cast< int >(val4);
22967 ecode5 = SWIG_AsVal_int(obj4, &val5);
22968 if (!SWIG_IsOK(ecode5)) {
22969 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22970 }
22971 arg5 = static_cast< int >(val5);
22972 {
22973 PyThreadState* __tstate = wxPyBeginAllowThreads();
22974 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
22975 wxPyEndAllowThreads(__tstate);
22976 if (PyErr_Occurred()) SWIG_fail;
22977 }
22978 resultobj = SWIG_Py_Void();
22979 return resultobj;
22980 fail:
22981 return NULL;
22982 }
22983
22984
22985 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22986 PyObject *resultobj = 0;
22987 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22988 int arg2 ;
22989 int arg3 ;
22990 int arg4 ;
22991 int arg5 ;
22992 int arg6 = (int) wxSIZE_AUTO ;
22993 void *argp1 = 0 ;
22994 int res1 = 0 ;
22995 int val2 ;
22996 int ecode2 = 0 ;
22997 int val3 ;
22998 int ecode3 = 0 ;
22999 int val4 ;
23000 int ecode4 = 0 ;
23001 int val5 ;
23002 int ecode5 = 0 ;
23003 int val6 ;
23004 int ecode6 = 0 ;
23005 PyObject * obj0 = 0 ;
23006 PyObject * obj1 = 0 ;
23007 PyObject * obj2 = 0 ;
23008 PyObject * obj3 = 0 ;
23009 PyObject * obj4 = 0 ;
23010 PyObject * obj5 = 0 ;
23011 char * kwnames[] = {
23012 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
23013 };
23014
23015 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
23016 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23017 if (!SWIG_IsOK(res1)) {
23018 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23019 }
23020 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23021 ecode2 = SWIG_AsVal_int(obj1, &val2);
23022 if (!SWIG_IsOK(ecode2)) {
23023 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
23024 }
23025 arg2 = static_cast< int >(val2);
23026 ecode3 = SWIG_AsVal_int(obj2, &val3);
23027 if (!SWIG_IsOK(ecode3)) {
23028 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
23029 }
23030 arg3 = static_cast< int >(val3);
23031 ecode4 = SWIG_AsVal_int(obj3, &val4);
23032 if (!SWIG_IsOK(ecode4)) {
23033 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
23034 }
23035 arg4 = static_cast< int >(val4);
23036 ecode5 = SWIG_AsVal_int(obj4, &val5);
23037 if (!SWIG_IsOK(ecode5)) {
23038 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
23039 }
23040 arg5 = static_cast< int >(val5);
23041 if (obj5) {
23042 ecode6 = SWIG_AsVal_int(obj5, &val6);
23043 if (!SWIG_IsOK(ecode6)) {
23044 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
23045 }
23046 arg6 = static_cast< int >(val6);
23047 }
23048 {
23049 PyThreadState* __tstate = wxPyBeginAllowThreads();
23050 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
23051 wxPyEndAllowThreads(__tstate);
23052 if (PyErr_Occurred()) SWIG_fail;
23053 }
23054 resultobj = SWIG_Py_Void();
23055 return resultobj;
23056 fail:
23057 return NULL;
23058 }
23059
23060
23061 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23062 PyObject *resultobj = 0;
23063 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23064 int arg2 ;
23065 int arg3 ;
23066 void *argp1 = 0 ;
23067 int res1 = 0 ;
23068 int val2 ;
23069 int ecode2 = 0 ;
23070 int val3 ;
23071 int ecode3 = 0 ;
23072 PyObject * obj0 = 0 ;
23073 PyObject * obj1 = 0 ;
23074 PyObject * obj2 = 0 ;
23075 char * kwnames[] = {
23076 (char *) "self",(char *) "width",(char *) "height", NULL
23077 };
23078
23079 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23080 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23081 if (!SWIG_IsOK(res1)) {
23082 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23083 }
23084 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23085 ecode2 = SWIG_AsVal_int(obj1, &val2);
23086 if (!SWIG_IsOK(ecode2)) {
23087 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
23088 }
23089 arg2 = static_cast< int >(val2);
23090 ecode3 = SWIG_AsVal_int(obj2, &val3);
23091 if (!SWIG_IsOK(ecode3)) {
23092 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
23093 }
23094 arg3 = static_cast< int >(val3);
23095 {
23096 PyThreadState* __tstate = wxPyBeginAllowThreads();
23097 (arg1)->DoSetClientSize(arg2,arg3);
23098 wxPyEndAllowThreads(__tstate);
23099 if (PyErr_Occurred()) SWIG_fail;
23100 }
23101 resultobj = SWIG_Py_Void();
23102 return resultobj;
23103 fail:
23104 return NULL;
23105 }
23106
23107
23108 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23109 PyObject *resultobj = 0;
23110 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23111 int arg2 ;
23112 int arg3 ;
23113 void *argp1 = 0 ;
23114 int res1 = 0 ;
23115 int val2 ;
23116 int ecode2 = 0 ;
23117 int val3 ;
23118 int ecode3 = 0 ;
23119 PyObject * obj0 = 0 ;
23120 PyObject * obj1 = 0 ;
23121 PyObject * obj2 = 0 ;
23122 char * kwnames[] = {
23123 (char *) "self",(char *) "x",(char *) "y", NULL
23124 };
23125
23126 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23127 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23128 if (!SWIG_IsOK(res1)) {
23129 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23130 }
23131 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23132 ecode2 = SWIG_AsVal_int(obj1, &val2);
23133 if (!SWIG_IsOK(ecode2)) {
23134 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
23135 }
23136 arg2 = static_cast< int >(val2);
23137 ecode3 = SWIG_AsVal_int(obj2, &val3);
23138 if (!SWIG_IsOK(ecode3)) {
23139 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
23140 }
23141 arg3 = static_cast< int >(val3);
23142 {
23143 PyThreadState* __tstate = wxPyBeginAllowThreads();
23144 (arg1)->DoSetVirtualSize(arg2,arg3);
23145 wxPyEndAllowThreads(__tstate);
23146 if (PyErr_Occurred()) SWIG_fail;
23147 }
23148 resultobj = SWIG_Py_Void();
23149 return resultobj;
23150 fail:
23151 return NULL;
23152 }
23153
23154
23155 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23156 PyObject *resultobj = 0;
23157 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23158 int *arg2 = (int *) 0 ;
23159 int *arg3 = (int *) 0 ;
23160 void *argp1 = 0 ;
23161 int res1 = 0 ;
23162 int temp2 ;
23163 int res2 = SWIG_TMPOBJ ;
23164 int temp3 ;
23165 int res3 = SWIG_TMPOBJ ;
23166 PyObject *swig_obj[1] ;
23167
23168 arg2 = &temp2;
23169 arg3 = &temp3;
23170 if (!args) SWIG_fail;
23171 swig_obj[0] = args;
23172 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23173 if (!SWIG_IsOK(res1)) {
23174 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23175 }
23176 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23177 {
23178 PyThreadState* __tstate = wxPyBeginAllowThreads();
23179 ((wxPyScrolledWindow const *)arg1)->DoGetSize(arg2,arg3);
23180 wxPyEndAllowThreads(__tstate);
23181 if (PyErr_Occurred()) SWIG_fail;
23182 }
23183 resultobj = SWIG_Py_Void();
23184 if (SWIG_IsTmpObj(res2)) {
23185 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23186 } else {
23187 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23188 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23189 }
23190 if (SWIG_IsTmpObj(res3)) {
23191 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23192 } else {
23193 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23194 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23195 }
23196 return resultobj;
23197 fail:
23198 return NULL;
23199 }
23200
23201
23202 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23203 PyObject *resultobj = 0;
23204 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23205 int *arg2 = (int *) 0 ;
23206 int *arg3 = (int *) 0 ;
23207 void *argp1 = 0 ;
23208 int res1 = 0 ;
23209 int temp2 ;
23210 int res2 = SWIG_TMPOBJ ;
23211 int temp3 ;
23212 int res3 = SWIG_TMPOBJ ;
23213 PyObject *swig_obj[1] ;
23214
23215 arg2 = &temp2;
23216 arg3 = &temp3;
23217 if (!args) SWIG_fail;
23218 swig_obj[0] = args;
23219 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23220 if (!SWIG_IsOK(res1)) {
23221 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23222 }
23223 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23224 {
23225 PyThreadState* __tstate = wxPyBeginAllowThreads();
23226 ((wxPyScrolledWindow const *)arg1)->DoGetClientSize(arg2,arg3);
23227 wxPyEndAllowThreads(__tstate);
23228 if (PyErr_Occurred()) SWIG_fail;
23229 }
23230 resultobj = SWIG_Py_Void();
23231 if (SWIG_IsTmpObj(res2)) {
23232 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23233 } else {
23234 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23235 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23236 }
23237 if (SWIG_IsTmpObj(res3)) {
23238 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23239 } else {
23240 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23241 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23242 }
23243 return resultobj;
23244 fail:
23245 return NULL;
23246 }
23247
23248
23249 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23250 PyObject *resultobj = 0;
23251 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23252 int *arg2 = (int *) 0 ;
23253 int *arg3 = (int *) 0 ;
23254 void *argp1 = 0 ;
23255 int res1 = 0 ;
23256 int temp2 ;
23257 int res2 = SWIG_TMPOBJ ;
23258 int temp3 ;
23259 int res3 = SWIG_TMPOBJ ;
23260 PyObject *swig_obj[1] ;
23261
23262 arg2 = &temp2;
23263 arg3 = &temp3;
23264 if (!args) SWIG_fail;
23265 swig_obj[0] = args;
23266 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23267 if (!SWIG_IsOK(res1)) {
23268 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23269 }
23270 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23271 {
23272 PyThreadState* __tstate = wxPyBeginAllowThreads();
23273 ((wxPyScrolledWindow const *)arg1)->DoGetPosition(arg2,arg3);
23274 wxPyEndAllowThreads(__tstate);
23275 if (PyErr_Occurred()) SWIG_fail;
23276 }
23277 resultobj = SWIG_Py_Void();
23278 if (SWIG_IsTmpObj(res2)) {
23279 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23280 } else {
23281 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23282 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23283 }
23284 if (SWIG_IsTmpObj(res3)) {
23285 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23286 } else {
23287 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23288 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23289 }
23290 return resultobj;
23291 fail:
23292 return NULL;
23293 }
23294
23295
23296 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23297 PyObject *resultobj = 0;
23298 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23299 wxSize result;
23300 void *argp1 = 0 ;
23301 int res1 = 0 ;
23302 PyObject *swig_obj[1] ;
23303
23304 if (!args) SWIG_fail;
23305 swig_obj[0] = args;
23306 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23307 if (!SWIG_IsOK(res1)) {
23308 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23309 }
23310 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23311 {
23312 PyThreadState* __tstate = wxPyBeginAllowThreads();
23313 result = ((wxPyScrolledWindow const *)arg1)->DoGetVirtualSize();
23314 wxPyEndAllowThreads(__tstate);
23315 if (PyErr_Occurred()) SWIG_fail;
23316 }
23317 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23318 return resultobj;
23319 fail:
23320 return NULL;
23321 }
23322
23323
23324 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23325 PyObject *resultobj = 0;
23326 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23327 wxSize result;
23328 void *argp1 = 0 ;
23329 int res1 = 0 ;
23330 PyObject *swig_obj[1] ;
23331
23332 if (!args) SWIG_fail;
23333 swig_obj[0] = args;
23334 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23335 if (!SWIG_IsOK(res1)) {
23336 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23337 }
23338 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23339 {
23340 PyThreadState* __tstate = wxPyBeginAllowThreads();
23341 result = ((wxPyScrolledWindow const *)arg1)->DoGetBestSize();
23342 wxPyEndAllowThreads(__tstate);
23343 if (PyErr_Occurred()) SWIG_fail;
23344 }
23345 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23346 return resultobj;
23347 fail:
23348 return NULL;
23349 }
23350
23351
23352 SWIGINTERN PyObject *_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23353 PyObject *resultobj = 0;
23354 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23355 SwigValueWrapper<wxVisualAttributes > result;
23356 void *argp1 = 0 ;
23357 int res1 = 0 ;
23358 PyObject *swig_obj[1] ;
23359
23360 if (!args) SWIG_fail;
23361 swig_obj[0] = args;
23362 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23363 if (!SWIG_IsOK(res1)) {
23364 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23365 }
23366 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23367 {
23368 PyThreadState* __tstate = wxPyBeginAllowThreads();
23369 result = (arg1)->GetDefaultAttributes();
23370 wxPyEndAllowThreads(__tstate);
23371 if (PyErr_Occurred()) SWIG_fail;
23372 }
23373 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
23374 return resultobj;
23375 fail:
23376 return NULL;
23377 }
23378
23379
23380 SWIGINTERN PyObject *_wrap_PyScrolledWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23381 PyObject *resultobj = 0;
23382 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23383 void *argp1 = 0 ;
23384 int res1 = 0 ;
23385 PyObject *swig_obj[1] ;
23386
23387 if (!args) SWIG_fail;
23388 swig_obj[0] = args;
23389 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23390 if (!SWIG_IsOK(res1)) {
23391 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23392 }
23393 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23394 {
23395 PyThreadState* __tstate = wxPyBeginAllowThreads();
23396 (arg1)->OnInternalIdle();
23397 wxPyEndAllowThreads(__tstate);
23398 if (PyErr_Occurred()) SWIG_fail;
23399 }
23400 resultobj = SWIG_Py_Void();
23401 return resultobj;
23402 fail:
23403 return NULL;
23404 }
23405
23406
23407 SWIGINTERN PyObject *PyScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23408 PyObject *obj;
23409 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23410 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow, SWIG_NewClientData(obj));
23411 return SWIG_Py_Void();
23412 }
23413
23414 SWIGINTERN PyObject *PyScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23415 return SWIG_Python_InitShadowInstance(args);
23416 }
23417
23418 SWIGINTERN int PrintoutTitleStr_set(PyObject *) {
23419 SWIG_Error(SWIG_AttributeError,"Variable PrintoutTitleStr is read-only.");
23420 return 1;
23421 }
23422
23423
23424 SWIGINTERN PyObject *PrintoutTitleStr_get(void) {
23425 PyObject *pyobj = 0;
23426
23427 {
23428 #if wxUSE_UNICODE
23429 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23430 #else
23431 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23432 #endif
23433 }
23434 return pyobj;
23435 }
23436
23437
23438 SWIGINTERN int PreviewCanvasNameStr_set(PyObject *) {
23439 SWIG_Error(SWIG_AttributeError,"Variable PreviewCanvasNameStr is read-only.");
23440 return 1;
23441 }
23442
23443
23444 SWIGINTERN PyObject *PreviewCanvasNameStr_get(void) {
23445 PyObject *pyobj = 0;
23446
23447 {
23448 #if wxUSE_UNICODE
23449 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23450 #else
23451 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23452 #endif
23453 }
23454 return pyobj;
23455 }
23456
23457
23458 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
23459 PyObject *resultobj = 0;
23460 wxPrintData *result = 0 ;
23461
23462 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
23463 {
23464 PyThreadState* __tstate = wxPyBeginAllowThreads();
23465 result = (wxPrintData *)new wxPrintData();
23466 wxPyEndAllowThreads(__tstate);
23467 if (PyErr_Occurred()) SWIG_fail;
23468 }
23469 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23470 return resultobj;
23471 fail:
23472 return NULL;
23473 }
23474
23475
23476 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
23477 PyObject *resultobj = 0;
23478 wxPrintData *arg1 = 0 ;
23479 wxPrintData *result = 0 ;
23480 void *argp1 = 0 ;
23481 int res1 = 0 ;
23482
23483 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
23484 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
23485 if (!SWIG_IsOK(res1)) {
23486 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23487 }
23488 if (!argp1) {
23489 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23490 }
23491 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23492 {
23493 PyThreadState* __tstate = wxPyBeginAllowThreads();
23494 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
23495 wxPyEndAllowThreads(__tstate);
23496 if (PyErr_Occurred()) SWIG_fail;
23497 }
23498 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23499 return resultobj;
23500 fail:
23501 return NULL;
23502 }
23503
23504
23505 SWIGINTERN PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
23506 int argc;
23507 PyObject *argv[2];
23508
23509 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintData",0,1,argv))) SWIG_fail;
23510 --argc;
23511 if (argc == 0) {
23512 return _wrap_new_PrintData__SWIG_0(self, argc, argv);
23513 }
23514 if (argc == 1) {
23515 return _wrap_new_PrintData__SWIG_1(self, argc, argv);
23516 }
23517
23518 fail:
23519 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
23520 return NULL;
23521 }
23522
23523
23524 SWIGINTERN PyObject *_wrap_delete_PrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23525 PyObject *resultobj = 0;
23526 wxPrintData *arg1 = (wxPrintData *) 0 ;
23527 void *argp1 = 0 ;
23528 int res1 = 0 ;
23529 PyObject *swig_obj[1] ;
23530
23531 if (!args) SWIG_fail;
23532 swig_obj[0] = args;
23533 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, SWIG_POINTER_DISOWN | 0 );
23534 if (!SWIG_IsOK(res1)) {
23535 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23536 }
23537 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23538 {
23539 PyThreadState* __tstate = wxPyBeginAllowThreads();
23540 delete arg1;
23541
23542 wxPyEndAllowThreads(__tstate);
23543 if (PyErr_Occurred()) SWIG_fail;
23544 }
23545 resultobj = SWIG_Py_Void();
23546 return resultobj;
23547 fail:
23548 return NULL;
23549 }
23550
23551
23552 SWIGINTERN PyObject *_wrap_PrintData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23553 PyObject *resultobj = 0;
23554 wxPrintData *arg1 = (wxPrintData *) 0 ;
23555 int result;
23556 void *argp1 = 0 ;
23557 int res1 = 0 ;
23558 PyObject *swig_obj[1] ;
23559
23560 if (!args) SWIG_fail;
23561 swig_obj[0] = args;
23562 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23563 if (!SWIG_IsOK(res1)) {
23564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23565 }
23566 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23567 {
23568 PyThreadState* __tstate = wxPyBeginAllowThreads();
23569 result = (int)(arg1)->GetNoCopies();
23570 wxPyEndAllowThreads(__tstate);
23571 if (PyErr_Occurred()) SWIG_fail;
23572 }
23573 resultobj = SWIG_From_int(static_cast< int >(result));
23574 return resultobj;
23575 fail:
23576 return NULL;
23577 }
23578
23579
23580 SWIGINTERN PyObject *_wrap_PrintData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23581 PyObject *resultobj = 0;
23582 wxPrintData *arg1 = (wxPrintData *) 0 ;
23583 bool result;
23584 void *argp1 = 0 ;
23585 int res1 = 0 ;
23586 PyObject *swig_obj[1] ;
23587
23588 if (!args) SWIG_fail;
23589 swig_obj[0] = args;
23590 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23591 if (!SWIG_IsOK(res1)) {
23592 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23593 }
23594 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23595 {
23596 PyThreadState* __tstate = wxPyBeginAllowThreads();
23597 result = (bool)(arg1)->GetCollate();
23598 wxPyEndAllowThreads(__tstate);
23599 if (PyErr_Occurred()) SWIG_fail;
23600 }
23601 {
23602 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23603 }
23604 return resultobj;
23605 fail:
23606 return NULL;
23607 }
23608
23609
23610 SWIGINTERN PyObject *_wrap_PrintData_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23611 PyObject *resultobj = 0;
23612 wxPrintData *arg1 = (wxPrintData *) 0 ;
23613 int result;
23614 void *argp1 = 0 ;
23615 int res1 = 0 ;
23616 PyObject *swig_obj[1] ;
23617
23618 if (!args) SWIG_fail;
23619 swig_obj[0] = args;
23620 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23621 if (!SWIG_IsOK(res1)) {
23622 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23623 }
23624 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23625 {
23626 PyThreadState* __tstate = wxPyBeginAllowThreads();
23627 result = (int)(arg1)->GetOrientation();
23628 wxPyEndAllowThreads(__tstate);
23629 if (PyErr_Occurred()) SWIG_fail;
23630 }
23631 resultobj = SWIG_From_int(static_cast< int >(result));
23632 return resultobj;
23633 fail:
23634 return NULL;
23635 }
23636
23637
23638 SWIGINTERN PyObject *_wrap_PrintData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23639 PyObject *resultobj = 0;
23640 wxPrintData *arg1 = (wxPrintData *) 0 ;
23641 bool result;
23642 void *argp1 = 0 ;
23643 int res1 = 0 ;
23644 PyObject *swig_obj[1] ;
23645
23646 if (!args) SWIG_fail;
23647 swig_obj[0] = args;
23648 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23649 if (!SWIG_IsOK(res1)) {
23650 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_Ok" "', expected argument " "1"" of type '" "wxPrintData *""'");
23651 }
23652 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23653 {
23654 PyThreadState* __tstate = wxPyBeginAllowThreads();
23655 result = (bool)(arg1)->Ok();
23656 wxPyEndAllowThreads(__tstate);
23657 if (PyErr_Occurred()) SWIG_fail;
23658 }
23659 {
23660 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23661 }
23662 return resultobj;
23663 fail:
23664 return NULL;
23665 }
23666
23667
23668 SWIGINTERN PyObject *_wrap_PrintData_GetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23669 PyObject *resultobj = 0;
23670 wxPrintData *arg1 = (wxPrintData *) 0 ;
23671 wxString *result = 0 ;
23672 void *argp1 = 0 ;
23673 int res1 = 0 ;
23674 PyObject *swig_obj[1] ;
23675
23676 if (!args) SWIG_fail;
23677 swig_obj[0] = args;
23678 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23679 if (!SWIG_IsOK(res1)) {
23680 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23681 }
23682 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23683 {
23684 PyThreadState* __tstate = wxPyBeginAllowThreads();
23685 {
23686 wxString const &_result_ref = (arg1)->GetPrinterName();
23687 result = (wxString *) &_result_ref;
23688 }
23689 wxPyEndAllowThreads(__tstate);
23690 if (PyErr_Occurred()) SWIG_fail;
23691 }
23692 {
23693 #if wxUSE_UNICODE
23694 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23695 #else
23696 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23697 #endif
23698 }
23699 return resultobj;
23700 fail:
23701 return NULL;
23702 }
23703
23704
23705 SWIGINTERN PyObject *_wrap_PrintData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23706 PyObject *resultobj = 0;
23707 wxPrintData *arg1 = (wxPrintData *) 0 ;
23708 bool result;
23709 void *argp1 = 0 ;
23710 int res1 = 0 ;
23711 PyObject *swig_obj[1] ;
23712
23713 if (!args) SWIG_fail;
23714 swig_obj[0] = args;
23715 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23716 if (!SWIG_IsOK(res1)) {
23717 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23718 }
23719 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23720 {
23721 PyThreadState* __tstate = wxPyBeginAllowThreads();
23722 result = (bool)(arg1)->GetColour();
23723 wxPyEndAllowThreads(__tstate);
23724 if (PyErr_Occurred()) SWIG_fail;
23725 }
23726 {
23727 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23728 }
23729 return resultobj;
23730 fail:
23731 return NULL;
23732 }
23733
23734
23735 SWIGINTERN PyObject *_wrap_PrintData_GetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23736 PyObject *resultobj = 0;
23737 wxPrintData *arg1 = (wxPrintData *) 0 ;
23738 wxDuplexMode result;
23739 void *argp1 = 0 ;
23740 int res1 = 0 ;
23741 PyObject *swig_obj[1] ;
23742
23743 if (!args) SWIG_fail;
23744 swig_obj[0] = args;
23745 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23746 if (!SWIG_IsOK(res1)) {
23747 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23748 }
23749 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23750 {
23751 PyThreadState* __tstate = wxPyBeginAllowThreads();
23752 result = (wxDuplexMode)(arg1)->GetDuplex();
23753 wxPyEndAllowThreads(__tstate);
23754 if (PyErr_Occurred()) SWIG_fail;
23755 }
23756 resultobj = SWIG_From_int(static_cast< int >(result));
23757 return resultobj;
23758 fail:
23759 return NULL;
23760 }
23761
23762
23763 SWIGINTERN PyObject *_wrap_PrintData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23764 PyObject *resultobj = 0;
23765 wxPrintData *arg1 = (wxPrintData *) 0 ;
23766 wxPaperSize result;
23767 void *argp1 = 0 ;
23768 int res1 = 0 ;
23769 PyObject *swig_obj[1] ;
23770
23771 if (!args) SWIG_fail;
23772 swig_obj[0] = args;
23773 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23774 if (!SWIG_IsOK(res1)) {
23775 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23776 }
23777 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23778 {
23779 PyThreadState* __tstate = wxPyBeginAllowThreads();
23780 result = (wxPaperSize)(arg1)->GetPaperId();
23781 wxPyEndAllowThreads(__tstate);
23782 if (PyErr_Occurred()) SWIG_fail;
23783 }
23784 resultobj = SWIG_From_int(static_cast< int >(result));
23785 return resultobj;
23786 fail:
23787 return NULL;
23788 }
23789
23790
23791 SWIGINTERN PyObject *_wrap_PrintData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23792 PyObject *resultobj = 0;
23793 wxPrintData *arg1 = (wxPrintData *) 0 ;
23794 wxSize *result = 0 ;
23795 void *argp1 = 0 ;
23796 int res1 = 0 ;
23797 PyObject *swig_obj[1] ;
23798
23799 if (!args) SWIG_fail;
23800 swig_obj[0] = args;
23801 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23802 if (!SWIG_IsOK(res1)) {
23803 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23804 }
23805 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23806 {
23807 PyThreadState* __tstate = wxPyBeginAllowThreads();
23808 {
23809 wxSize const &_result_ref = (arg1)->GetPaperSize();
23810 result = (wxSize *) &_result_ref;
23811 }
23812 wxPyEndAllowThreads(__tstate);
23813 if (PyErr_Occurred()) SWIG_fail;
23814 }
23815 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
23816 return resultobj;
23817 fail:
23818 return NULL;
23819 }
23820
23821
23822 SWIGINTERN PyObject *_wrap_PrintData_GetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23823 PyObject *resultobj = 0;
23824 wxPrintData *arg1 = (wxPrintData *) 0 ;
23825 int result;
23826 void *argp1 = 0 ;
23827 int res1 = 0 ;
23828 PyObject *swig_obj[1] ;
23829
23830 if (!args) SWIG_fail;
23831 swig_obj[0] = args;
23832 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23833 if (!SWIG_IsOK(res1)) {
23834 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
23835 }
23836 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23837 {
23838 PyThreadState* __tstate = wxPyBeginAllowThreads();
23839 result = (int)(arg1)->GetQuality();
23840 wxPyEndAllowThreads(__tstate);
23841 if (PyErr_Occurred()) SWIG_fail;
23842 }
23843 resultobj = SWIG_From_int(static_cast< int >(result));
23844 return resultobj;
23845 fail:
23846 return NULL;
23847 }
23848
23849
23850 SWIGINTERN PyObject *_wrap_PrintData_GetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23851 PyObject *resultobj = 0;
23852 wxPrintData *arg1 = (wxPrintData *) 0 ;
23853 wxPrintBin result;
23854 void *argp1 = 0 ;
23855 int res1 = 0 ;
23856 PyObject *swig_obj[1] ;
23857
23858 if (!args) SWIG_fail;
23859 swig_obj[0] = args;
23860 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23861 if (!SWIG_IsOK(res1)) {
23862 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
23863 }
23864 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23865 {
23866 PyThreadState* __tstate = wxPyBeginAllowThreads();
23867 result = (wxPrintBin)(arg1)->GetBin();
23868 wxPyEndAllowThreads(__tstate);
23869 if (PyErr_Occurred()) SWIG_fail;
23870 }
23871 resultobj = SWIG_From_int(static_cast< int >(result));
23872 return resultobj;
23873 fail:
23874 return NULL;
23875 }
23876
23877
23878 SWIGINTERN PyObject *_wrap_PrintData_GetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23879 PyObject *resultobj = 0;
23880 wxPrintData *arg1 = (wxPrintData *) 0 ;
23881 wxPrintMode result;
23882 void *argp1 = 0 ;
23883 int res1 = 0 ;
23884 PyObject *swig_obj[1] ;
23885
23886 if (!args) SWIG_fail;
23887 swig_obj[0] = args;
23888 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23889 if (!SWIG_IsOK(res1)) {
23890 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23891 }
23892 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23893 {
23894 PyThreadState* __tstate = wxPyBeginAllowThreads();
23895 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
23896 wxPyEndAllowThreads(__tstate);
23897 if (PyErr_Occurred()) SWIG_fail;
23898 }
23899 resultobj = SWIG_From_int(static_cast< int >(result));
23900 return resultobj;
23901 fail:
23902 return NULL;
23903 }
23904
23905
23906 SWIGINTERN PyObject *_wrap_PrintData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23907 PyObject *resultobj = 0;
23908 wxPrintData *arg1 = (wxPrintData *) 0 ;
23909 int arg2 ;
23910 void *argp1 = 0 ;
23911 int res1 = 0 ;
23912 int val2 ;
23913 int ecode2 = 0 ;
23914 PyObject * obj0 = 0 ;
23915 PyObject * obj1 = 0 ;
23916 char * kwnames[] = {
23917 (char *) "self",(char *) "v", NULL
23918 };
23919
23920 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
23921 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23922 if (!SWIG_IsOK(res1)) {
23923 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23924 }
23925 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23926 ecode2 = SWIG_AsVal_int(obj1, &val2);
23927 if (!SWIG_IsOK(ecode2)) {
23928 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
23929 }
23930 arg2 = static_cast< int >(val2);
23931 {
23932 PyThreadState* __tstate = wxPyBeginAllowThreads();
23933 (arg1)->SetNoCopies(arg2);
23934 wxPyEndAllowThreads(__tstate);
23935 if (PyErr_Occurred()) SWIG_fail;
23936 }
23937 resultobj = SWIG_Py_Void();
23938 return resultobj;
23939 fail:
23940 return NULL;
23941 }
23942
23943
23944 SWIGINTERN PyObject *_wrap_PrintData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23945 PyObject *resultobj = 0;
23946 wxPrintData *arg1 = (wxPrintData *) 0 ;
23947 bool arg2 ;
23948 void *argp1 = 0 ;
23949 int res1 = 0 ;
23950 bool val2 ;
23951 int ecode2 = 0 ;
23952 PyObject * obj0 = 0 ;
23953 PyObject * obj1 = 0 ;
23954 char * kwnames[] = {
23955 (char *) "self",(char *) "flag", NULL
23956 };
23957
23958 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
23959 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23960 if (!SWIG_IsOK(res1)) {
23961 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23962 }
23963 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23964 ecode2 = SWIG_AsVal_bool(obj1, &val2);
23965 if (!SWIG_IsOK(ecode2)) {
23966 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
23967 }
23968 arg2 = static_cast< bool >(val2);
23969 {
23970 PyThreadState* __tstate = wxPyBeginAllowThreads();
23971 (arg1)->SetCollate(arg2);
23972 wxPyEndAllowThreads(__tstate);
23973 if (PyErr_Occurred()) SWIG_fail;
23974 }
23975 resultobj = SWIG_Py_Void();
23976 return resultobj;
23977 fail:
23978 return NULL;
23979 }
23980
23981
23982 SWIGINTERN PyObject *_wrap_PrintData_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23983 PyObject *resultobj = 0;
23984 wxPrintData *arg1 = (wxPrintData *) 0 ;
23985 int arg2 ;
23986 void *argp1 = 0 ;
23987 int res1 = 0 ;
23988 int val2 ;
23989 int ecode2 = 0 ;
23990 PyObject * obj0 = 0 ;
23991 PyObject * obj1 = 0 ;
23992 char * kwnames[] = {
23993 (char *) "self",(char *) "orient", NULL
23994 };
23995
23996 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
23997 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23998 if (!SWIG_IsOK(res1)) {
23999 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
24000 }
24001 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24002 ecode2 = SWIG_AsVal_int(obj1, &val2);
24003 if (!SWIG_IsOK(ecode2)) {
24004 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
24005 }
24006 arg2 = static_cast< int >(val2);
24007 {
24008 PyThreadState* __tstate = wxPyBeginAllowThreads();
24009 (arg1)->SetOrientation(arg2);
24010 wxPyEndAllowThreads(__tstate);
24011 if (PyErr_Occurred()) SWIG_fail;
24012 }
24013 resultobj = SWIG_Py_Void();
24014 return resultobj;
24015 fail:
24016 return NULL;
24017 }
24018
24019
24020 SWIGINTERN PyObject *_wrap_PrintData_SetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24021 PyObject *resultobj = 0;
24022 wxPrintData *arg1 = (wxPrintData *) 0 ;
24023 wxString *arg2 = 0 ;
24024 void *argp1 = 0 ;
24025 int res1 = 0 ;
24026 bool temp2 = false ;
24027 PyObject * obj0 = 0 ;
24028 PyObject * obj1 = 0 ;
24029 char * kwnames[] = {
24030 (char *) "self",(char *) "name", NULL
24031 };
24032
24033 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) SWIG_fail;
24034 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24035 if (!SWIG_IsOK(res1)) {
24036 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24037 }
24038 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24039 {
24040 arg2 = wxString_in_helper(obj1);
24041 if (arg2 == NULL) SWIG_fail;
24042 temp2 = true;
24043 }
24044 {
24045 PyThreadState* __tstate = wxPyBeginAllowThreads();
24046 (arg1)->SetPrinterName((wxString const &)*arg2);
24047 wxPyEndAllowThreads(__tstate);
24048 if (PyErr_Occurred()) SWIG_fail;
24049 }
24050 resultobj = SWIG_Py_Void();
24051 {
24052 if (temp2)
24053 delete arg2;
24054 }
24055 return resultobj;
24056 fail:
24057 {
24058 if (temp2)
24059 delete arg2;
24060 }
24061 return NULL;
24062 }
24063
24064
24065 SWIGINTERN PyObject *_wrap_PrintData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24066 PyObject *resultobj = 0;
24067 wxPrintData *arg1 = (wxPrintData *) 0 ;
24068 bool arg2 ;
24069 void *argp1 = 0 ;
24070 int res1 = 0 ;
24071 bool val2 ;
24072 int ecode2 = 0 ;
24073 PyObject * obj0 = 0 ;
24074 PyObject * obj1 = 0 ;
24075 char * kwnames[] = {
24076 (char *) "self",(char *) "colour", NULL
24077 };
24078
24079 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
24080 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24081 if (!SWIG_IsOK(res1)) {
24082 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24083 }
24084 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24085 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24086 if (!SWIG_IsOK(ecode2)) {
24087 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
24088 }
24089 arg2 = static_cast< bool >(val2);
24090 {
24091 PyThreadState* __tstate = wxPyBeginAllowThreads();
24092 (arg1)->SetColour(arg2);
24093 wxPyEndAllowThreads(__tstate);
24094 if (PyErr_Occurred()) SWIG_fail;
24095 }
24096 resultobj = SWIG_Py_Void();
24097 return resultobj;
24098 fail:
24099 return NULL;
24100 }
24101
24102
24103 SWIGINTERN PyObject *_wrap_PrintData_SetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24104 PyObject *resultobj = 0;
24105 wxPrintData *arg1 = (wxPrintData *) 0 ;
24106 wxDuplexMode arg2 ;
24107 void *argp1 = 0 ;
24108 int res1 = 0 ;
24109 int val2 ;
24110 int ecode2 = 0 ;
24111 PyObject * obj0 = 0 ;
24112 PyObject * obj1 = 0 ;
24113 char * kwnames[] = {
24114 (char *) "self",(char *) "duplex", NULL
24115 };
24116
24117 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) SWIG_fail;
24118 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24119 if (!SWIG_IsOK(res1)) {
24120 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24121 }
24122 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24123 ecode2 = SWIG_AsVal_int(obj1, &val2);
24124 if (!SWIG_IsOK(ecode2)) {
24125 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
24126 }
24127 arg2 = static_cast< wxDuplexMode >(val2);
24128 {
24129 PyThreadState* __tstate = wxPyBeginAllowThreads();
24130 (arg1)->SetDuplex(arg2);
24131 wxPyEndAllowThreads(__tstate);
24132 if (PyErr_Occurred()) SWIG_fail;
24133 }
24134 resultobj = SWIG_Py_Void();
24135 return resultobj;
24136 fail:
24137 return NULL;
24138 }
24139
24140
24141 SWIGINTERN PyObject *_wrap_PrintData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24142 PyObject *resultobj = 0;
24143 wxPrintData *arg1 = (wxPrintData *) 0 ;
24144 wxPaperSize arg2 ;
24145 void *argp1 = 0 ;
24146 int res1 = 0 ;
24147 int val2 ;
24148 int ecode2 = 0 ;
24149 PyObject * obj0 = 0 ;
24150 PyObject * obj1 = 0 ;
24151 char * kwnames[] = {
24152 (char *) "self",(char *) "sizeId", NULL
24153 };
24154
24155 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
24156 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24157 if (!SWIG_IsOK(res1)) {
24158 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24159 }
24160 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24161 ecode2 = SWIG_AsVal_int(obj1, &val2);
24162 if (!SWIG_IsOK(ecode2)) {
24163 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24164 }
24165 arg2 = static_cast< wxPaperSize >(val2);
24166 {
24167 PyThreadState* __tstate = wxPyBeginAllowThreads();
24168 (arg1)->SetPaperId(arg2);
24169 wxPyEndAllowThreads(__tstate);
24170 if (PyErr_Occurred()) SWIG_fail;
24171 }
24172 resultobj = SWIG_Py_Void();
24173 return resultobj;
24174 fail:
24175 return NULL;
24176 }
24177
24178
24179 SWIGINTERN PyObject *_wrap_PrintData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24180 PyObject *resultobj = 0;
24181 wxPrintData *arg1 = (wxPrintData *) 0 ;
24182 wxSize *arg2 = 0 ;
24183 void *argp1 = 0 ;
24184 int res1 = 0 ;
24185 wxSize temp2 ;
24186 PyObject * obj0 = 0 ;
24187 PyObject * obj1 = 0 ;
24188 char * kwnames[] = {
24189 (char *) "self",(char *) "sz", NULL
24190 };
24191
24192 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
24193 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24194 if (!SWIG_IsOK(res1)) {
24195 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24196 }
24197 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24198 {
24199 arg2 = &temp2;
24200 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
24201 }
24202 {
24203 PyThreadState* __tstate = wxPyBeginAllowThreads();
24204 (arg1)->SetPaperSize((wxSize const &)*arg2);
24205 wxPyEndAllowThreads(__tstate);
24206 if (PyErr_Occurred()) SWIG_fail;
24207 }
24208 resultobj = SWIG_Py_Void();
24209 return resultobj;
24210 fail:
24211 return NULL;
24212 }
24213
24214
24215 SWIGINTERN PyObject *_wrap_PrintData_SetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24216 PyObject *resultobj = 0;
24217 wxPrintData *arg1 = (wxPrintData *) 0 ;
24218 int arg2 ;
24219 void *argp1 = 0 ;
24220 int res1 = 0 ;
24221 int val2 ;
24222 int ecode2 = 0 ;
24223 PyObject * obj0 = 0 ;
24224 PyObject * obj1 = 0 ;
24225 char * kwnames[] = {
24226 (char *) "self",(char *) "quality", NULL
24227 };
24228
24229 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) SWIG_fail;
24230 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24231 if (!SWIG_IsOK(res1)) {
24232 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24233 }
24234 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24235 ecode2 = SWIG_AsVal_int(obj1, &val2);
24236 if (!SWIG_IsOK(ecode2)) {
24237 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24238 }
24239 arg2 = static_cast< int >(val2);
24240 {
24241 PyThreadState* __tstate = wxPyBeginAllowThreads();
24242 (arg1)->SetQuality(arg2);
24243 wxPyEndAllowThreads(__tstate);
24244 if (PyErr_Occurred()) SWIG_fail;
24245 }
24246 resultobj = SWIG_Py_Void();
24247 return resultobj;
24248 fail:
24249 return NULL;
24250 }
24251
24252
24253 SWIGINTERN PyObject *_wrap_PrintData_SetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24254 PyObject *resultobj = 0;
24255 wxPrintData *arg1 = (wxPrintData *) 0 ;
24256 wxPrintBin arg2 ;
24257 void *argp1 = 0 ;
24258 int res1 = 0 ;
24259 int val2 ;
24260 int ecode2 = 0 ;
24261 PyObject * obj0 = 0 ;
24262 PyObject * obj1 = 0 ;
24263 char * kwnames[] = {
24264 (char *) "self",(char *) "bin", NULL
24265 };
24266
24267 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) SWIG_fail;
24268 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24269 if (!SWIG_IsOK(res1)) {
24270 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24271 }
24272 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24273 ecode2 = SWIG_AsVal_int(obj1, &val2);
24274 if (!SWIG_IsOK(ecode2)) {
24275 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24276 }
24277 arg2 = static_cast< wxPrintBin >(val2);
24278 {
24279 PyThreadState* __tstate = wxPyBeginAllowThreads();
24280 (arg1)->SetBin(arg2);
24281 wxPyEndAllowThreads(__tstate);
24282 if (PyErr_Occurred()) SWIG_fail;
24283 }
24284 resultobj = SWIG_Py_Void();
24285 return resultobj;
24286 fail:
24287 return NULL;
24288 }
24289
24290
24291 SWIGINTERN PyObject *_wrap_PrintData_SetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24292 PyObject *resultobj = 0;
24293 wxPrintData *arg1 = (wxPrintData *) 0 ;
24294 wxPrintMode arg2 ;
24295 void *argp1 = 0 ;
24296 int res1 = 0 ;
24297 int val2 ;
24298 int ecode2 = 0 ;
24299 PyObject * obj0 = 0 ;
24300 PyObject * obj1 = 0 ;
24301 char * kwnames[] = {
24302 (char *) "self",(char *) "printMode", NULL
24303 };
24304
24305 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) SWIG_fail;
24306 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24307 if (!SWIG_IsOK(res1)) {
24308 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24309 }
24310 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24311 ecode2 = SWIG_AsVal_int(obj1, &val2);
24312 if (!SWIG_IsOK(ecode2)) {
24313 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24314 }
24315 arg2 = static_cast< wxPrintMode >(val2);
24316 {
24317 PyThreadState* __tstate = wxPyBeginAllowThreads();
24318 (arg1)->SetPrintMode(arg2);
24319 wxPyEndAllowThreads(__tstate);
24320 if (PyErr_Occurred()) SWIG_fail;
24321 }
24322 resultobj = SWIG_Py_Void();
24323 return resultobj;
24324 fail:
24325 return NULL;
24326 }
24327
24328
24329 SWIGINTERN PyObject *_wrap_PrintData_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24330 PyObject *resultobj = 0;
24331 wxPrintData *arg1 = (wxPrintData *) 0 ;
24332 wxString result;
24333 void *argp1 = 0 ;
24334 int res1 = 0 ;
24335 PyObject *swig_obj[1] ;
24336
24337 if (!args) SWIG_fail;
24338 swig_obj[0] = args;
24339 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24340 if (!SWIG_IsOK(res1)) {
24341 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24342 }
24343 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24344 {
24345 PyThreadState* __tstate = wxPyBeginAllowThreads();
24346 result = ((wxPrintData const *)arg1)->GetFilename();
24347 wxPyEndAllowThreads(__tstate);
24348 if (PyErr_Occurred()) SWIG_fail;
24349 }
24350 {
24351 #if wxUSE_UNICODE
24352 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24353 #else
24354 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24355 #endif
24356 }
24357 return resultobj;
24358 fail:
24359 return NULL;
24360 }
24361
24362
24363 SWIGINTERN PyObject *_wrap_PrintData_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24364 PyObject *resultobj = 0;
24365 wxPrintData *arg1 = (wxPrintData *) 0 ;
24366 wxString *arg2 = 0 ;
24367 void *argp1 = 0 ;
24368 int res1 = 0 ;
24369 bool temp2 = false ;
24370 PyObject * obj0 = 0 ;
24371 PyObject * obj1 = 0 ;
24372 char * kwnames[] = {
24373 (char *) "self",(char *) "filename", NULL
24374 };
24375
24376 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
24377 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24378 if (!SWIG_IsOK(res1)) {
24379 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24380 }
24381 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24382 {
24383 arg2 = wxString_in_helper(obj1);
24384 if (arg2 == NULL) SWIG_fail;
24385 temp2 = true;
24386 }
24387 {
24388 PyThreadState* __tstate = wxPyBeginAllowThreads();
24389 (arg1)->SetFilename((wxString const &)*arg2);
24390 wxPyEndAllowThreads(__tstate);
24391 if (PyErr_Occurred()) SWIG_fail;
24392 }
24393 resultobj = SWIG_Py_Void();
24394 {
24395 if (temp2)
24396 delete arg2;
24397 }
24398 return resultobj;
24399 fail:
24400 {
24401 if (temp2)
24402 delete arg2;
24403 }
24404 return NULL;
24405 }
24406
24407
24408 SWIGINTERN PyObject *_wrap_PrintData_GetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24409 PyObject *resultobj = 0;
24410 wxPrintData *arg1 = (wxPrintData *) 0 ;
24411 PyObject *result = 0 ;
24412 void *argp1 = 0 ;
24413 int res1 = 0 ;
24414 PyObject *swig_obj[1] ;
24415
24416 if (!args) SWIG_fail;
24417 swig_obj[0] = args;
24418 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24419 if (!SWIG_IsOK(res1)) {
24420 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24421 }
24422 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24423 {
24424 PyThreadState* __tstate = wxPyBeginAllowThreads();
24425 result = (PyObject *)wxPrintData_GetPrivData(arg1);
24426 wxPyEndAllowThreads(__tstate);
24427 if (PyErr_Occurred()) SWIG_fail;
24428 }
24429 resultobj = result;
24430 return resultobj;
24431 fail:
24432 return NULL;
24433 }
24434
24435
24436 SWIGINTERN PyObject *_wrap_PrintData_SetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24437 PyObject *resultobj = 0;
24438 wxPrintData *arg1 = (wxPrintData *) 0 ;
24439 PyObject *arg2 = (PyObject *) 0 ;
24440 void *argp1 = 0 ;
24441 int res1 = 0 ;
24442 PyObject * obj0 = 0 ;
24443 PyObject * obj1 = 0 ;
24444 char * kwnames[] = {
24445 (char *) "self",(char *) "data", NULL
24446 };
24447
24448 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) SWIG_fail;
24449 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24450 if (!SWIG_IsOK(res1)) {
24451 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24452 }
24453 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24454 arg2 = obj1;
24455 {
24456 PyThreadState* __tstate = wxPyBeginAllowThreads();
24457 wxPrintData_SetPrivData(arg1,arg2);
24458 wxPyEndAllowThreads(__tstate);
24459 if (PyErr_Occurred()) SWIG_fail;
24460 }
24461 resultobj = SWIG_Py_Void();
24462 return resultobj;
24463 fail:
24464 return NULL;
24465 }
24466
24467
24468 SWIGINTERN PyObject *PrintData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24469 PyObject *obj;
24470 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
24471 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData, SWIG_NewClientData(obj));
24472 return SWIG_Py_Void();
24473 }
24474
24475 SWIGINTERN PyObject *PrintData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24476 return SWIG_Python_InitShadowInstance(args);
24477 }
24478
24479 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
24480 PyObject *resultobj = 0;
24481 wxPageSetupDialogData *result = 0 ;
24482
24483 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
24484 {
24485 PyThreadState* __tstate = wxPyBeginAllowThreads();
24486 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
24487 wxPyEndAllowThreads(__tstate);
24488 if (PyErr_Occurred()) SWIG_fail;
24489 }
24490 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24491 return resultobj;
24492 fail:
24493 return NULL;
24494 }
24495
24496
24497 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24498 PyObject *resultobj = 0;
24499 wxPageSetupDialogData *arg1 = 0 ;
24500 wxPageSetupDialogData *result = 0 ;
24501 void *argp1 = 0 ;
24502 int res1 = 0 ;
24503
24504 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24505 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
24506 if (!SWIG_IsOK(res1)) {
24507 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24508 }
24509 if (!argp1) {
24510 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24511 }
24512 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24513 {
24514 PyThreadState* __tstate = wxPyBeginAllowThreads();
24515 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
24516 wxPyEndAllowThreads(__tstate);
24517 if (PyErr_Occurred()) SWIG_fail;
24518 }
24519 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24520 return resultobj;
24521 fail:
24522 return NULL;
24523 }
24524
24525
24526 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24527 PyObject *resultobj = 0;
24528 wxPrintData *arg1 = 0 ;
24529 wxPageSetupDialogData *result = 0 ;
24530 void *argp1 = 0 ;
24531 int res1 = 0 ;
24532
24533 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24534 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
24535 if (!SWIG_IsOK(res1)) {
24536 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24537 }
24538 if (!argp1) {
24539 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24540 }
24541 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24542 {
24543 PyThreadState* __tstate = wxPyBeginAllowThreads();
24544 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
24545 wxPyEndAllowThreads(__tstate);
24546 if (PyErr_Occurred()) SWIG_fail;
24547 }
24548 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24549 return resultobj;
24550 fail:
24551 return NULL;
24552 }
24553
24554
24555 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
24556 int argc;
24557 PyObject *argv[2];
24558
24559 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PageSetupDialogData",0,1,argv))) SWIG_fail;
24560 --argc;
24561 if (argc == 0) {
24562 return _wrap_new_PageSetupDialogData__SWIG_0(self, argc, argv);
24563 }
24564 if (argc == 1) {
24565 int _v = 0;
24566 {
24567 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPageSetupDialogData, 0);
24568 _v = SWIG_CheckState(res);
24569 }
24570 if (!_v) goto check_2;
24571 return _wrap_new_PageSetupDialogData__SWIG_1(self, argc, argv);
24572 }
24573 check_2:
24574
24575 if (argc == 1) {
24576 return _wrap_new_PageSetupDialogData__SWIG_2(self, argc, argv);
24577 }
24578
24579 fail:
24580 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
24581 return NULL;
24582 }
24583
24584
24585 SWIGINTERN PyObject *_wrap_delete_PageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24586 PyObject *resultobj = 0;
24587 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24588 void *argp1 = 0 ;
24589 int res1 = 0 ;
24590 PyObject *swig_obj[1] ;
24591
24592 if (!args) SWIG_fail;
24593 swig_obj[0] = args;
24594 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_DISOWN | 0 );
24595 if (!SWIG_IsOK(res1)) {
24596 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24597 }
24598 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24599 {
24600 PyThreadState* __tstate = wxPyBeginAllowThreads();
24601 delete arg1;
24602
24603 wxPyEndAllowThreads(__tstate);
24604 if (PyErr_Occurred()) SWIG_fail;
24605 }
24606 resultobj = SWIG_Py_Void();
24607 return resultobj;
24608 fail:
24609 return NULL;
24610 }
24611
24612
24613 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24614 PyObject *resultobj = 0;
24615 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24616 bool arg2 ;
24617 void *argp1 = 0 ;
24618 int res1 = 0 ;
24619 bool val2 ;
24620 int ecode2 = 0 ;
24621 PyObject * obj0 = 0 ;
24622 PyObject * obj1 = 0 ;
24623 char * kwnames[] = {
24624 (char *) "self",(char *) "flag", NULL
24625 };
24626
24627 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
24628 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24629 if (!SWIG_IsOK(res1)) {
24630 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24631 }
24632 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24633 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24634 if (!SWIG_IsOK(ecode2)) {
24635 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24636 }
24637 arg2 = static_cast< bool >(val2);
24638 {
24639 PyThreadState* __tstate = wxPyBeginAllowThreads();
24640 (arg1)->EnableHelp(arg2);
24641 wxPyEndAllowThreads(__tstate);
24642 if (PyErr_Occurred()) SWIG_fail;
24643 }
24644 resultobj = SWIG_Py_Void();
24645 return resultobj;
24646 fail:
24647 return NULL;
24648 }
24649
24650
24651 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24652 PyObject *resultobj = 0;
24653 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24654 bool arg2 ;
24655 void *argp1 = 0 ;
24656 int res1 = 0 ;
24657 bool val2 ;
24658 int ecode2 = 0 ;
24659 PyObject * obj0 = 0 ;
24660 PyObject * obj1 = 0 ;
24661 char * kwnames[] = {
24662 (char *) "self",(char *) "flag", NULL
24663 };
24664
24665 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) SWIG_fail;
24666 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24667 if (!SWIG_IsOK(res1)) {
24668 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24669 }
24670 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24671 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24672 if (!SWIG_IsOK(ecode2)) {
24673 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
24674 }
24675 arg2 = static_cast< bool >(val2);
24676 {
24677 PyThreadState* __tstate = wxPyBeginAllowThreads();
24678 (arg1)->EnableMargins(arg2);
24679 wxPyEndAllowThreads(__tstate);
24680 if (PyErr_Occurred()) SWIG_fail;
24681 }
24682 resultobj = SWIG_Py_Void();
24683 return resultobj;
24684 fail:
24685 return NULL;
24686 }
24687
24688
24689 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24690 PyObject *resultobj = 0;
24691 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24692 bool arg2 ;
24693 void *argp1 = 0 ;
24694 int res1 = 0 ;
24695 bool val2 ;
24696 int ecode2 = 0 ;
24697 PyObject * obj0 = 0 ;
24698 PyObject * obj1 = 0 ;
24699 char * kwnames[] = {
24700 (char *) "self",(char *) "flag", NULL
24701 };
24702
24703 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
24704 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24705 if (!SWIG_IsOK(res1)) {
24706 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24707 }
24708 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24709 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24710 if (!SWIG_IsOK(ecode2)) {
24711 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
24712 }
24713 arg2 = static_cast< bool >(val2);
24714 {
24715 PyThreadState* __tstate = wxPyBeginAllowThreads();
24716 (arg1)->EnableOrientation(arg2);
24717 wxPyEndAllowThreads(__tstate);
24718 if (PyErr_Occurred()) SWIG_fail;
24719 }
24720 resultobj = SWIG_Py_Void();
24721 return resultobj;
24722 fail:
24723 return NULL;
24724 }
24725
24726
24727 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24728 PyObject *resultobj = 0;
24729 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24730 bool arg2 ;
24731 void *argp1 = 0 ;
24732 int res1 = 0 ;
24733 bool val2 ;
24734 int ecode2 = 0 ;
24735 PyObject * obj0 = 0 ;
24736 PyObject * obj1 = 0 ;
24737 char * kwnames[] = {
24738 (char *) "self",(char *) "flag", NULL
24739 };
24740
24741 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) SWIG_fail;
24742 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24743 if (!SWIG_IsOK(res1)) {
24744 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24745 }
24746 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24747 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24748 if (!SWIG_IsOK(ecode2)) {
24749 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
24750 }
24751 arg2 = static_cast< bool >(val2);
24752 {
24753 PyThreadState* __tstate = wxPyBeginAllowThreads();
24754 (arg1)->EnablePaper(arg2);
24755 wxPyEndAllowThreads(__tstate);
24756 if (PyErr_Occurred()) SWIG_fail;
24757 }
24758 resultobj = SWIG_Py_Void();
24759 return resultobj;
24760 fail:
24761 return NULL;
24762 }
24763
24764
24765 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24766 PyObject *resultobj = 0;
24767 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24768 bool arg2 ;
24769 void *argp1 = 0 ;
24770 int res1 = 0 ;
24771 bool val2 ;
24772 int ecode2 = 0 ;
24773 PyObject * obj0 = 0 ;
24774 PyObject * obj1 = 0 ;
24775 char * kwnames[] = {
24776 (char *) "self",(char *) "flag", NULL
24777 };
24778
24779 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) SWIG_fail;
24780 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24781 if (!SWIG_IsOK(res1)) {
24782 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24783 }
24784 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24785 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24786 if (!SWIG_IsOK(ecode2)) {
24787 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
24788 }
24789 arg2 = static_cast< bool >(val2);
24790 {
24791 PyThreadState* __tstate = wxPyBeginAllowThreads();
24792 (arg1)->EnablePrinter(arg2);
24793 wxPyEndAllowThreads(__tstate);
24794 if (PyErr_Occurred()) SWIG_fail;
24795 }
24796 resultobj = SWIG_Py_Void();
24797 return resultobj;
24798 fail:
24799 return NULL;
24800 }
24801
24802
24803 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24804 PyObject *resultobj = 0;
24805 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24806 bool result;
24807 void *argp1 = 0 ;
24808 int res1 = 0 ;
24809 PyObject *swig_obj[1] ;
24810
24811 if (!args) SWIG_fail;
24812 swig_obj[0] = args;
24813 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24814 if (!SWIG_IsOK(res1)) {
24815 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24816 }
24817 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24818 {
24819 PyThreadState* __tstate = wxPyBeginAllowThreads();
24820 result = (bool)(arg1)->GetDefaultMinMargins();
24821 wxPyEndAllowThreads(__tstate);
24822 if (PyErr_Occurred()) SWIG_fail;
24823 }
24824 {
24825 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24826 }
24827 return resultobj;
24828 fail:
24829 return NULL;
24830 }
24831
24832
24833 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24834 PyObject *resultobj = 0;
24835 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24836 bool result;
24837 void *argp1 = 0 ;
24838 int res1 = 0 ;
24839 PyObject *swig_obj[1] ;
24840
24841 if (!args) SWIG_fail;
24842 swig_obj[0] = args;
24843 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24844 if (!SWIG_IsOK(res1)) {
24845 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24846 }
24847 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24848 {
24849 PyThreadState* __tstate = wxPyBeginAllowThreads();
24850 result = (bool)(arg1)->GetEnableMargins();
24851 wxPyEndAllowThreads(__tstate);
24852 if (PyErr_Occurred()) SWIG_fail;
24853 }
24854 {
24855 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24856 }
24857 return resultobj;
24858 fail:
24859 return NULL;
24860 }
24861
24862
24863 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24864 PyObject *resultobj = 0;
24865 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24866 bool result;
24867 void *argp1 = 0 ;
24868 int res1 = 0 ;
24869 PyObject *swig_obj[1] ;
24870
24871 if (!args) SWIG_fail;
24872 swig_obj[0] = args;
24873 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24874 if (!SWIG_IsOK(res1)) {
24875 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24876 }
24877 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24878 {
24879 PyThreadState* __tstate = wxPyBeginAllowThreads();
24880 result = (bool)(arg1)->GetEnableOrientation();
24881 wxPyEndAllowThreads(__tstate);
24882 if (PyErr_Occurred()) SWIG_fail;
24883 }
24884 {
24885 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24886 }
24887 return resultobj;
24888 fail:
24889 return NULL;
24890 }
24891
24892
24893 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24894 PyObject *resultobj = 0;
24895 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24896 bool result;
24897 void *argp1 = 0 ;
24898 int res1 = 0 ;
24899 PyObject *swig_obj[1] ;
24900
24901 if (!args) SWIG_fail;
24902 swig_obj[0] = args;
24903 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24904 if (!SWIG_IsOK(res1)) {
24905 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24906 }
24907 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24908 {
24909 PyThreadState* __tstate = wxPyBeginAllowThreads();
24910 result = (bool)(arg1)->GetEnablePaper();
24911 wxPyEndAllowThreads(__tstate);
24912 if (PyErr_Occurred()) SWIG_fail;
24913 }
24914 {
24915 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24916 }
24917 return resultobj;
24918 fail:
24919 return NULL;
24920 }
24921
24922
24923 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24924 PyObject *resultobj = 0;
24925 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24926 bool result;
24927 void *argp1 = 0 ;
24928 int res1 = 0 ;
24929 PyObject *swig_obj[1] ;
24930
24931 if (!args) SWIG_fail;
24932 swig_obj[0] = args;
24933 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24934 if (!SWIG_IsOK(res1)) {
24935 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24936 }
24937 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24938 {
24939 PyThreadState* __tstate = wxPyBeginAllowThreads();
24940 result = (bool)(arg1)->GetEnablePrinter();
24941 wxPyEndAllowThreads(__tstate);
24942 if (PyErr_Occurred()) SWIG_fail;
24943 }
24944 {
24945 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24946 }
24947 return resultobj;
24948 fail:
24949 return NULL;
24950 }
24951
24952
24953 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24954 PyObject *resultobj = 0;
24955 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24956 bool result;
24957 void *argp1 = 0 ;
24958 int res1 = 0 ;
24959 PyObject *swig_obj[1] ;
24960
24961 if (!args) SWIG_fail;
24962 swig_obj[0] = args;
24963 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24964 if (!SWIG_IsOK(res1)) {
24965 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24966 }
24967 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24968 {
24969 PyThreadState* __tstate = wxPyBeginAllowThreads();
24970 result = (bool)(arg1)->GetEnableHelp();
24971 wxPyEndAllowThreads(__tstate);
24972 if (PyErr_Occurred()) SWIG_fail;
24973 }
24974 {
24975 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24976 }
24977 return resultobj;
24978 fail:
24979 return NULL;
24980 }
24981
24982
24983 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24984 PyObject *resultobj = 0;
24985 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24986 bool result;
24987 void *argp1 = 0 ;
24988 int res1 = 0 ;
24989 PyObject *swig_obj[1] ;
24990
24991 if (!args) SWIG_fail;
24992 swig_obj[0] = args;
24993 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24994 if (!SWIG_IsOK(res1)) {
24995 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24996 }
24997 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24998 {
24999 PyThreadState* __tstate = wxPyBeginAllowThreads();
25000 result = (bool)(arg1)->GetDefaultInfo();
25001 wxPyEndAllowThreads(__tstate);
25002 if (PyErr_Occurred()) SWIG_fail;
25003 }
25004 {
25005 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25006 }
25007 return resultobj;
25008 fail:
25009 return NULL;
25010 }
25011
25012
25013 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25014 PyObject *resultobj = 0;
25015 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25016 wxPoint result;
25017 void *argp1 = 0 ;
25018 int res1 = 0 ;
25019 PyObject *swig_obj[1] ;
25020
25021 if (!args) SWIG_fail;
25022 swig_obj[0] = args;
25023 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25024 if (!SWIG_IsOK(res1)) {
25025 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25026 }
25027 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25028 {
25029 PyThreadState* __tstate = wxPyBeginAllowThreads();
25030 result = (arg1)->GetMarginTopLeft();
25031 wxPyEndAllowThreads(__tstate);
25032 if (PyErr_Occurred()) SWIG_fail;
25033 }
25034 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25035 return resultobj;
25036 fail:
25037 return NULL;
25038 }
25039
25040
25041 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25042 PyObject *resultobj = 0;
25043 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25044 wxPoint result;
25045 void *argp1 = 0 ;
25046 int res1 = 0 ;
25047 PyObject *swig_obj[1] ;
25048
25049 if (!args) SWIG_fail;
25050 swig_obj[0] = args;
25051 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25052 if (!SWIG_IsOK(res1)) {
25053 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25054 }
25055 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25056 {
25057 PyThreadState* __tstate = wxPyBeginAllowThreads();
25058 result = (arg1)->GetMarginBottomRight();
25059 wxPyEndAllowThreads(__tstate);
25060 if (PyErr_Occurred()) SWIG_fail;
25061 }
25062 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25063 return resultobj;
25064 fail:
25065 return NULL;
25066 }
25067
25068
25069 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25070 PyObject *resultobj = 0;
25071 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25072 wxPoint result;
25073 void *argp1 = 0 ;
25074 int res1 = 0 ;
25075 PyObject *swig_obj[1] ;
25076
25077 if (!args) SWIG_fail;
25078 swig_obj[0] = args;
25079 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25080 if (!SWIG_IsOK(res1)) {
25081 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25082 }
25083 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25084 {
25085 PyThreadState* __tstate = wxPyBeginAllowThreads();
25086 result = (arg1)->GetMinMarginTopLeft();
25087 wxPyEndAllowThreads(__tstate);
25088 if (PyErr_Occurred()) SWIG_fail;
25089 }
25090 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25091 return resultobj;
25092 fail:
25093 return NULL;
25094 }
25095
25096
25097 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25098 PyObject *resultobj = 0;
25099 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25100 wxPoint result;
25101 void *argp1 = 0 ;
25102 int res1 = 0 ;
25103 PyObject *swig_obj[1] ;
25104
25105 if (!args) SWIG_fail;
25106 swig_obj[0] = args;
25107 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25108 if (!SWIG_IsOK(res1)) {
25109 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25110 }
25111 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25112 {
25113 PyThreadState* __tstate = wxPyBeginAllowThreads();
25114 result = (arg1)->GetMinMarginBottomRight();
25115 wxPyEndAllowThreads(__tstate);
25116 if (PyErr_Occurred()) SWIG_fail;
25117 }
25118 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25119 return resultobj;
25120 fail:
25121 return NULL;
25122 }
25123
25124
25125 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25126 PyObject *resultobj = 0;
25127 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25128 wxPaperSize result;
25129 void *argp1 = 0 ;
25130 int res1 = 0 ;
25131 PyObject *swig_obj[1] ;
25132
25133 if (!args) SWIG_fail;
25134 swig_obj[0] = args;
25135 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25136 if (!SWIG_IsOK(res1)) {
25137 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25138 }
25139 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25140 {
25141 PyThreadState* __tstate = wxPyBeginAllowThreads();
25142 result = (wxPaperSize)(arg1)->GetPaperId();
25143 wxPyEndAllowThreads(__tstate);
25144 if (PyErr_Occurred()) SWIG_fail;
25145 }
25146 resultobj = SWIG_From_int(static_cast< int >(result));
25147 return resultobj;
25148 fail:
25149 return NULL;
25150 }
25151
25152
25153 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25154 PyObject *resultobj = 0;
25155 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25156 wxSize result;
25157 void *argp1 = 0 ;
25158 int res1 = 0 ;
25159 PyObject *swig_obj[1] ;
25160
25161 if (!args) SWIG_fail;
25162 swig_obj[0] = args;
25163 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25164 if (!SWIG_IsOK(res1)) {
25165 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25166 }
25167 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25168 {
25169 PyThreadState* __tstate = wxPyBeginAllowThreads();
25170 result = (arg1)->GetPaperSize();
25171 wxPyEndAllowThreads(__tstate);
25172 if (PyErr_Occurred()) SWIG_fail;
25173 }
25174 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25175 return resultobj;
25176 fail:
25177 return NULL;
25178 }
25179
25180
25181 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25182 PyObject *resultobj = 0;
25183 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25184 wxPrintData *result = 0 ;
25185 void *argp1 = 0 ;
25186 int res1 = 0 ;
25187 PyObject *swig_obj[1] ;
25188
25189 if (!args) SWIG_fail;
25190 swig_obj[0] = args;
25191 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25192 if (!SWIG_IsOK(res1)) {
25193 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25194 }
25195 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25196 {
25197 PyThreadState* __tstate = wxPyBeginAllowThreads();
25198 {
25199 wxPrintData &_result_ref = (arg1)->GetPrintData();
25200 result = (wxPrintData *) &_result_ref;
25201 }
25202 wxPyEndAllowThreads(__tstate);
25203 if (PyErr_Occurred()) SWIG_fail;
25204 }
25205 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
25206 return resultobj;
25207 fail:
25208 return NULL;
25209 }
25210
25211
25212 SWIGINTERN PyObject *_wrap_PageSetupDialogData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25213 PyObject *resultobj = 0;
25214 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25215 bool result;
25216 void *argp1 = 0 ;
25217 int res1 = 0 ;
25218 PyObject *swig_obj[1] ;
25219
25220 if (!args) SWIG_fail;
25221 swig_obj[0] = args;
25222 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25223 if (!SWIG_IsOK(res1)) {
25224 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_Ok" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25225 }
25226 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25227 {
25228 PyThreadState* __tstate = wxPyBeginAllowThreads();
25229 result = (bool)(arg1)->Ok();
25230 wxPyEndAllowThreads(__tstate);
25231 if (PyErr_Occurred()) SWIG_fail;
25232 }
25233 {
25234 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25235 }
25236 return resultobj;
25237 fail:
25238 return NULL;
25239 }
25240
25241
25242 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25243 PyObject *resultobj = 0;
25244 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25245 bool arg2 ;
25246 void *argp1 = 0 ;
25247 int res1 = 0 ;
25248 bool val2 ;
25249 int ecode2 = 0 ;
25250 PyObject * obj0 = 0 ;
25251 PyObject * obj1 = 0 ;
25252 char * kwnames[] = {
25253 (char *) "self",(char *) "flag", NULL
25254 };
25255
25256 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) SWIG_fail;
25257 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25258 if (!SWIG_IsOK(res1)) {
25259 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25260 }
25261 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25262 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25263 if (!SWIG_IsOK(ecode2)) {
25264 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25265 }
25266 arg2 = static_cast< bool >(val2);
25267 {
25268 PyThreadState* __tstate = wxPyBeginAllowThreads();
25269 (arg1)->SetDefaultInfo(arg2);
25270 wxPyEndAllowThreads(__tstate);
25271 if (PyErr_Occurred()) SWIG_fail;
25272 }
25273 resultobj = SWIG_Py_Void();
25274 return resultobj;
25275 fail:
25276 return NULL;
25277 }
25278
25279
25280 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25281 PyObject *resultobj = 0;
25282 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25283 bool arg2 ;
25284 void *argp1 = 0 ;
25285 int res1 = 0 ;
25286 bool val2 ;
25287 int ecode2 = 0 ;
25288 PyObject * obj0 = 0 ;
25289 PyObject * obj1 = 0 ;
25290 char * kwnames[] = {
25291 (char *) "self",(char *) "flag", NULL
25292 };
25293
25294 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) SWIG_fail;
25295 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25296 if (!SWIG_IsOK(res1)) {
25297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25298 }
25299 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25300 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25301 if (!SWIG_IsOK(ecode2)) {
25302 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25303 }
25304 arg2 = static_cast< bool >(val2);
25305 {
25306 PyThreadState* __tstate = wxPyBeginAllowThreads();
25307 (arg1)->SetDefaultMinMargins(arg2);
25308 wxPyEndAllowThreads(__tstate);
25309 if (PyErr_Occurred()) SWIG_fail;
25310 }
25311 resultobj = SWIG_Py_Void();
25312 return resultobj;
25313 fail:
25314 return NULL;
25315 }
25316
25317
25318 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25319 PyObject *resultobj = 0;
25320 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25321 wxPoint *arg2 = 0 ;
25322 void *argp1 = 0 ;
25323 int res1 = 0 ;
25324 wxPoint temp2 ;
25325 PyObject * obj0 = 0 ;
25326 PyObject * obj1 = 0 ;
25327 char * kwnames[] = {
25328 (char *) "self",(char *) "pt", NULL
25329 };
25330
25331 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25332 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25333 if (!SWIG_IsOK(res1)) {
25334 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25335 }
25336 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25337 {
25338 arg2 = &temp2;
25339 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25340 }
25341 {
25342 PyThreadState* __tstate = wxPyBeginAllowThreads();
25343 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
25344 wxPyEndAllowThreads(__tstate);
25345 if (PyErr_Occurred()) SWIG_fail;
25346 }
25347 resultobj = SWIG_Py_Void();
25348 return resultobj;
25349 fail:
25350 return NULL;
25351 }
25352
25353
25354 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25355 PyObject *resultobj = 0;
25356 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25357 wxPoint *arg2 = 0 ;
25358 void *argp1 = 0 ;
25359 int res1 = 0 ;
25360 wxPoint temp2 ;
25361 PyObject * obj0 = 0 ;
25362 PyObject * obj1 = 0 ;
25363 char * kwnames[] = {
25364 (char *) "self",(char *) "pt", NULL
25365 };
25366
25367 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25368 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25369 if (!SWIG_IsOK(res1)) {
25370 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25371 }
25372 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25373 {
25374 arg2 = &temp2;
25375 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25376 }
25377 {
25378 PyThreadState* __tstate = wxPyBeginAllowThreads();
25379 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
25380 wxPyEndAllowThreads(__tstate);
25381 if (PyErr_Occurred()) SWIG_fail;
25382 }
25383 resultobj = SWIG_Py_Void();
25384 return resultobj;
25385 fail:
25386 return NULL;
25387 }
25388
25389
25390 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25391 PyObject *resultobj = 0;
25392 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25393 wxPoint *arg2 = 0 ;
25394 void *argp1 = 0 ;
25395 int res1 = 0 ;
25396 wxPoint temp2 ;
25397 PyObject * obj0 = 0 ;
25398 PyObject * obj1 = 0 ;
25399 char * kwnames[] = {
25400 (char *) "self",(char *) "pt", NULL
25401 };
25402
25403 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25404 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25405 if (!SWIG_IsOK(res1)) {
25406 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25407 }
25408 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25409 {
25410 arg2 = &temp2;
25411 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25412 }
25413 {
25414 PyThreadState* __tstate = wxPyBeginAllowThreads();
25415 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
25416 wxPyEndAllowThreads(__tstate);
25417 if (PyErr_Occurred()) SWIG_fail;
25418 }
25419 resultobj = SWIG_Py_Void();
25420 return resultobj;
25421 fail:
25422 return NULL;
25423 }
25424
25425
25426 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25427 PyObject *resultobj = 0;
25428 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25429 wxPoint *arg2 = 0 ;
25430 void *argp1 = 0 ;
25431 int res1 = 0 ;
25432 wxPoint temp2 ;
25433 PyObject * obj0 = 0 ;
25434 PyObject * obj1 = 0 ;
25435 char * kwnames[] = {
25436 (char *) "self",(char *) "pt", NULL
25437 };
25438
25439 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25440 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25441 if (!SWIG_IsOK(res1)) {
25442 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25443 }
25444 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25445 {
25446 arg2 = &temp2;
25447 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25448 }
25449 {
25450 PyThreadState* __tstate = wxPyBeginAllowThreads();
25451 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
25452 wxPyEndAllowThreads(__tstate);
25453 if (PyErr_Occurred()) SWIG_fail;
25454 }
25455 resultobj = SWIG_Py_Void();
25456 return resultobj;
25457 fail:
25458 return NULL;
25459 }
25460
25461
25462 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25463 PyObject *resultobj = 0;
25464 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25465 wxPaperSize arg2 ;
25466 void *argp1 = 0 ;
25467 int res1 = 0 ;
25468 int val2 ;
25469 int ecode2 = 0 ;
25470 PyObject * obj0 = 0 ;
25471 PyObject * obj1 = 0 ;
25472 char * kwnames[] = {
25473 (char *) "self",(char *) "id", NULL
25474 };
25475
25476 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
25477 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25478 if (!SWIG_IsOK(res1)) {
25479 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25480 }
25481 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25482 ecode2 = SWIG_AsVal_int(obj1, &val2);
25483 if (!SWIG_IsOK(ecode2)) {
25484 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25485 }
25486 arg2 = static_cast< wxPaperSize >(val2);
25487 {
25488 PyThreadState* __tstate = wxPyBeginAllowThreads();
25489 (arg1)->SetPaperId(arg2);
25490 wxPyEndAllowThreads(__tstate);
25491 if (PyErr_Occurred()) SWIG_fail;
25492 }
25493 resultobj = SWIG_Py_Void();
25494 return resultobj;
25495 fail:
25496 return NULL;
25497 }
25498
25499
25500 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25501 PyObject *resultobj = 0;
25502 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25503 wxSize *arg2 = 0 ;
25504 void *argp1 = 0 ;
25505 int res1 = 0 ;
25506 wxSize temp2 ;
25507 PyObject * obj0 = 0 ;
25508 PyObject * obj1 = 0 ;
25509 char * kwnames[] = {
25510 (char *) "self",(char *) "size", NULL
25511 };
25512
25513 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
25514 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25515 if (!SWIG_IsOK(res1)) {
25516 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25517 }
25518 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25519 {
25520 arg2 = &temp2;
25521 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25522 }
25523 {
25524 PyThreadState* __tstate = wxPyBeginAllowThreads();
25525 (arg1)->SetPaperSize((wxSize const &)*arg2);
25526 wxPyEndAllowThreads(__tstate);
25527 if (PyErr_Occurred()) SWIG_fail;
25528 }
25529 resultobj = SWIG_Py_Void();
25530 return resultobj;
25531 fail:
25532 return NULL;
25533 }
25534
25535
25536 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25537 PyObject *resultobj = 0;
25538 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25539 wxPrintData *arg2 = 0 ;
25540 void *argp1 = 0 ;
25541 int res1 = 0 ;
25542 void *argp2 = 0 ;
25543 int res2 = 0 ;
25544 PyObject * obj0 = 0 ;
25545 PyObject * obj1 = 0 ;
25546 char * kwnames[] = {
25547 (char *) "self",(char *) "printData", NULL
25548 };
25549
25550 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
25551 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25552 if (!SWIG_IsOK(res1)) {
25553 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25554 }
25555 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25556 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
25557 if (!SWIG_IsOK(res2)) {
25558 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25559 }
25560 if (!argp2) {
25561 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25562 }
25563 arg2 = reinterpret_cast< wxPrintData * >(argp2);
25564 {
25565 PyThreadState* __tstate = wxPyBeginAllowThreads();
25566 (arg1)->SetPrintData((wxPrintData const &)*arg2);
25567 wxPyEndAllowThreads(__tstate);
25568 if (PyErr_Occurred()) SWIG_fail;
25569 }
25570 resultobj = SWIG_Py_Void();
25571 return resultobj;
25572 fail:
25573 return NULL;
25574 }
25575
25576
25577 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25578 PyObject *resultobj = 0;
25579 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25580 void *argp1 = 0 ;
25581 int res1 = 0 ;
25582 PyObject *swig_obj[1] ;
25583
25584 if (!args) SWIG_fail;
25585 swig_obj[0] = args;
25586 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25587 if (!SWIG_IsOK(res1)) {
25588 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25589 }
25590 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25591 {
25592 PyThreadState* __tstate = wxPyBeginAllowThreads();
25593 (arg1)->CalculateIdFromPaperSize();
25594 wxPyEndAllowThreads(__tstate);
25595 if (PyErr_Occurred()) SWIG_fail;
25596 }
25597 resultobj = SWIG_Py_Void();
25598 return resultobj;
25599 fail:
25600 return NULL;
25601 }
25602
25603
25604 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25605 PyObject *resultobj = 0;
25606 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25607 void *argp1 = 0 ;
25608 int res1 = 0 ;
25609 PyObject *swig_obj[1] ;
25610
25611 if (!args) SWIG_fail;
25612 swig_obj[0] = args;
25613 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25614 if (!SWIG_IsOK(res1)) {
25615 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25616 }
25617 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25618 {
25619 PyThreadState* __tstate = wxPyBeginAllowThreads();
25620 (arg1)->CalculatePaperSizeFromId();
25621 wxPyEndAllowThreads(__tstate);
25622 if (PyErr_Occurred()) SWIG_fail;
25623 }
25624 resultobj = SWIG_Py_Void();
25625 return resultobj;
25626 fail:
25627 return NULL;
25628 }
25629
25630
25631 SWIGINTERN PyObject *PageSetupDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25632 PyObject *obj;
25633 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25634 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData, SWIG_NewClientData(obj));
25635 return SWIG_Py_Void();
25636 }
25637
25638 SWIGINTERN PyObject *PageSetupDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25639 return SWIG_Python_InitShadowInstance(args);
25640 }
25641
25642 SWIGINTERN PyObject *_wrap_new_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25643 PyObject *resultobj = 0;
25644 wxWindow *arg1 = (wxWindow *) 0 ;
25645 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
25646 wxPageSetupDialog *result = 0 ;
25647 void *argp1 = 0 ;
25648 int res1 = 0 ;
25649 void *argp2 = 0 ;
25650 int res2 = 0 ;
25651 PyObject * obj0 = 0 ;
25652 PyObject * obj1 = 0 ;
25653 char * kwnames[] = {
25654 (char *) "parent",(char *) "data", NULL
25655 };
25656
25657 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) SWIG_fail;
25658 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
25659 if (!SWIG_IsOK(res1)) {
25660 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25661 }
25662 arg1 = reinterpret_cast< wxWindow * >(argp1);
25663 if (obj1) {
25664 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25665 if (!SWIG_IsOK(res2)) {
25666 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
25667 }
25668 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
25669 }
25670 {
25671 if (!wxPyCheckForApp()) SWIG_fail;
25672 PyThreadState* __tstate = wxPyBeginAllowThreads();
25673 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
25674 wxPyEndAllowThreads(__tstate);
25675 if (PyErr_Occurred()) SWIG_fail;
25676 }
25677 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_NEW | 0 );
25678 return resultobj;
25679 fail:
25680 return NULL;
25681 }
25682
25683
25684 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25685 PyObject *resultobj = 0;
25686 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25687 wxPageSetupDialogData *result = 0 ;
25688 void *argp1 = 0 ;
25689 int res1 = 0 ;
25690 PyObject *swig_obj[1] ;
25691
25692 if (!args) SWIG_fail;
25693 swig_obj[0] = args;
25694 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25695 if (!SWIG_IsOK(res1)) {
25696 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25697 }
25698 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25699 {
25700 PyThreadState* __tstate = wxPyBeginAllowThreads();
25701 {
25702 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
25703 result = (wxPageSetupDialogData *) &_result_ref;
25704 }
25705 wxPyEndAllowThreads(__tstate);
25706 if (PyErr_Occurred()) SWIG_fail;
25707 }
25708 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25709 return resultobj;
25710 fail:
25711 return NULL;
25712 }
25713
25714
25715 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25716 PyObject *resultobj = 0;
25717 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25718 wxPageSetupDialogData *result = 0 ;
25719 void *argp1 = 0 ;
25720 int res1 = 0 ;
25721 PyObject *swig_obj[1] ;
25722
25723 if (!args) SWIG_fail;
25724 swig_obj[0] = args;
25725 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25726 if (!SWIG_IsOK(res1)) {
25727 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25728 }
25729 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25730 {
25731 PyThreadState* __tstate = wxPyBeginAllowThreads();
25732 {
25733 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
25734 result = (wxPageSetupDialogData *) &_result_ref;
25735 }
25736 wxPyEndAllowThreads(__tstate);
25737 if (PyErr_Occurred()) SWIG_fail;
25738 }
25739 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25740 return resultobj;
25741 fail:
25742 return NULL;
25743 }
25744
25745
25746 SWIGINTERN PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25747 PyObject *resultobj = 0;
25748 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25749 int result;
25750 void *argp1 = 0 ;
25751 int res1 = 0 ;
25752 PyObject *swig_obj[1] ;
25753
25754 if (!args) SWIG_fail;
25755 swig_obj[0] = args;
25756 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25757 if (!SWIG_IsOK(res1)) {
25758 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25759 }
25760 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25761 {
25762 PyThreadState* __tstate = wxPyBeginAllowThreads();
25763 result = (int)(arg1)->ShowModal();
25764 wxPyEndAllowThreads(__tstate);
25765 if (PyErr_Occurred()) SWIG_fail;
25766 }
25767 resultobj = SWIG_From_int(static_cast< int >(result));
25768 return resultobj;
25769 fail:
25770 return NULL;
25771 }
25772
25773
25774 SWIGINTERN PyObject *PageSetupDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25775 PyObject *obj;
25776 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25777 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog, SWIG_NewClientData(obj));
25778 return SWIG_Py_Void();
25779 }
25780
25781 SWIGINTERN PyObject *PageSetupDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25782 return SWIG_Python_InitShadowInstance(args);
25783 }
25784
25785 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
25786 PyObject *resultobj = 0;
25787 wxPrintDialogData *result = 0 ;
25788
25789 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
25790 {
25791 PyThreadState* __tstate = wxPyBeginAllowThreads();
25792 result = (wxPrintDialogData *)new wxPrintDialogData();
25793 wxPyEndAllowThreads(__tstate);
25794 if (PyErr_Occurred()) SWIG_fail;
25795 }
25796 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25797 return resultobj;
25798 fail:
25799 return NULL;
25800 }
25801
25802
25803 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
25804 PyObject *resultobj = 0;
25805 wxPrintData *arg1 = 0 ;
25806 wxPrintDialogData *result = 0 ;
25807 void *argp1 = 0 ;
25808 int res1 = 0 ;
25809
25810 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
25811 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
25812 if (!SWIG_IsOK(res1)) {
25813 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25814 }
25815 if (!argp1) {
25816 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25817 }
25818 arg1 = reinterpret_cast< wxPrintData * >(argp1);
25819 {
25820 PyThreadState* __tstate = wxPyBeginAllowThreads();
25821 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
25822 wxPyEndAllowThreads(__tstate);
25823 if (PyErr_Occurred()) SWIG_fail;
25824 }
25825 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25826 return resultobj;
25827 fail:
25828 return NULL;
25829 }
25830
25831
25832 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
25833 PyObject *resultobj = 0;
25834 wxPrintDialogData *arg1 = 0 ;
25835 wxPrintDialogData *result = 0 ;
25836 void *argp1 = 0 ;
25837 int res1 = 0 ;
25838
25839 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
25840 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintDialogData, 0 | 0);
25841 if (!SWIG_IsOK(res1)) {
25842 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25843 }
25844 if (!argp1) {
25845 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25846 }
25847 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25848 {
25849 PyThreadState* __tstate = wxPyBeginAllowThreads();
25850 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
25851 wxPyEndAllowThreads(__tstate);
25852 if (PyErr_Occurred()) SWIG_fail;
25853 }
25854 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25855 return resultobj;
25856 fail:
25857 return NULL;
25858 }
25859
25860
25861 SWIGINTERN PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
25862 int argc;
25863 PyObject *argv[2];
25864
25865 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintDialogData",0,1,argv))) SWIG_fail;
25866 --argc;
25867 if (argc == 0) {
25868 return _wrap_new_PrintDialogData__SWIG_0(self, argc, argv);
25869 }
25870 if (argc == 1) {
25871 int _v = 0;
25872 {
25873 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPrintData, 0);
25874 _v = SWIG_CheckState(res);
25875 }
25876 if (!_v) goto check_2;
25877 return _wrap_new_PrintDialogData__SWIG_1(self, argc, argv);
25878 }
25879 check_2:
25880
25881 if (argc == 1) {
25882 return _wrap_new_PrintDialogData__SWIG_2(self, argc, argv);
25883 }
25884
25885 fail:
25886 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
25887 return NULL;
25888 }
25889
25890
25891 SWIGINTERN PyObject *_wrap_delete_PrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25892 PyObject *resultobj = 0;
25893 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25894 void *argp1 = 0 ;
25895 int res1 = 0 ;
25896 PyObject *swig_obj[1] ;
25897
25898 if (!args) SWIG_fail;
25899 swig_obj[0] = args;
25900 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_DISOWN | 0 );
25901 if (!SWIG_IsOK(res1)) {
25902 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25903 }
25904 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25905 {
25906 PyThreadState* __tstate = wxPyBeginAllowThreads();
25907 delete arg1;
25908
25909 wxPyEndAllowThreads(__tstate);
25910 if (PyErr_Occurred()) SWIG_fail;
25911 }
25912 resultobj = SWIG_Py_Void();
25913 return resultobj;
25914 fail:
25915 return NULL;
25916 }
25917
25918
25919 SWIGINTERN PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25920 PyObject *resultobj = 0;
25921 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25922 int result;
25923 void *argp1 = 0 ;
25924 int res1 = 0 ;
25925 PyObject *swig_obj[1] ;
25926
25927 if (!args) SWIG_fail;
25928 swig_obj[0] = args;
25929 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25930 if (!SWIG_IsOK(res1)) {
25931 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25932 }
25933 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25934 {
25935 PyThreadState* __tstate = wxPyBeginAllowThreads();
25936 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
25937 wxPyEndAllowThreads(__tstate);
25938 if (PyErr_Occurred()) SWIG_fail;
25939 }
25940 resultobj = SWIG_From_int(static_cast< int >(result));
25941 return resultobj;
25942 fail:
25943 return NULL;
25944 }
25945
25946
25947 SWIGINTERN PyObject *_wrap_PrintDialogData_GetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25948 PyObject *resultobj = 0;
25949 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25950 int result;
25951 void *argp1 = 0 ;
25952 int res1 = 0 ;
25953 PyObject *swig_obj[1] ;
25954
25955 if (!args) SWIG_fail;
25956 swig_obj[0] = args;
25957 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25958 if (!SWIG_IsOK(res1)) {
25959 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25960 }
25961 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25962 {
25963 PyThreadState* __tstate = wxPyBeginAllowThreads();
25964 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
25965 wxPyEndAllowThreads(__tstate);
25966 if (PyErr_Occurred()) SWIG_fail;
25967 }
25968 resultobj = SWIG_From_int(static_cast< int >(result));
25969 return resultobj;
25970 fail:
25971 return NULL;
25972 }
25973
25974
25975 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25976 PyObject *resultobj = 0;
25977 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25978 int result;
25979 void *argp1 = 0 ;
25980 int res1 = 0 ;
25981 PyObject *swig_obj[1] ;
25982
25983 if (!args) SWIG_fail;
25984 swig_obj[0] = args;
25985 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25986 if (!SWIG_IsOK(res1)) {
25987 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25988 }
25989 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25990 {
25991 PyThreadState* __tstate = wxPyBeginAllowThreads();
25992 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
25993 wxPyEndAllowThreads(__tstate);
25994 if (PyErr_Occurred()) SWIG_fail;
25995 }
25996 resultobj = SWIG_From_int(static_cast< int >(result));
25997 return resultobj;
25998 fail:
25999 return NULL;
26000 }
26001
26002
26003 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26004 PyObject *resultobj = 0;
26005 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26006 int result;
26007 void *argp1 = 0 ;
26008 int res1 = 0 ;
26009 PyObject *swig_obj[1] ;
26010
26011 if (!args) SWIG_fail;
26012 swig_obj[0] = args;
26013 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26014 if (!SWIG_IsOK(res1)) {
26015 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26016 }
26017 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26018 {
26019 PyThreadState* __tstate = wxPyBeginAllowThreads();
26020 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
26021 wxPyEndAllowThreads(__tstate);
26022 if (PyErr_Occurred()) SWIG_fail;
26023 }
26024 resultobj = SWIG_From_int(static_cast< int >(result));
26025 return resultobj;
26026 fail:
26027 return NULL;
26028 }
26029
26030
26031 SWIGINTERN PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26032 PyObject *resultobj = 0;
26033 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26034 int result;
26035 void *argp1 = 0 ;
26036 int res1 = 0 ;
26037 PyObject *swig_obj[1] ;
26038
26039 if (!args) SWIG_fail;
26040 swig_obj[0] = args;
26041 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26042 if (!SWIG_IsOK(res1)) {
26043 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26044 }
26045 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26046 {
26047 PyThreadState* __tstate = wxPyBeginAllowThreads();
26048 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
26049 wxPyEndAllowThreads(__tstate);
26050 if (PyErr_Occurred()) SWIG_fail;
26051 }
26052 resultobj = SWIG_From_int(static_cast< int >(result));
26053 return resultobj;
26054 fail:
26055 return NULL;
26056 }
26057
26058
26059 SWIGINTERN PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26060 PyObject *resultobj = 0;
26061 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26062 bool result;
26063 void *argp1 = 0 ;
26064 int res1 = 0 ;
26065 PyObject *swig_obj[1] ;
26066
26067 if (!args) SWIG_fail;
26068 swig_obj[0] = args;
26069 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26070 if (!SWIG_IsOK(res1)) {
26071 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26072 }
26073 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26074 {
26075 PyThreadState* __tstate = wxPyBeginAllowThreads();
26076 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
26077 wxPyEndAllowThreads(__tstate);
26078 if (PyErr_Occurred()) SWIG_fail;
26079 }
26080 {
26081 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26082 }
26083 return resultobj;
26084 fail:
26085 return NULL;
26086 }
26087
26088
26089 SWIGINTERN PyObject *_wrap_PrintDialogData_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26090 PyObject *resultobj = 0;
26091 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26092 bool result;
26093 void *argp1 = 0 ;
26094 int res1 = 0 ;
26095 PyObject *swig_obj[1] ;
26096
26097 if (!args) SWIG_fail;
26098 swig_obj[0] = args;
26099 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26100 if (!SWIG_IsOK(res1)) {
26101 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26102 }
26103 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26104 {
26105 PyThreadState* __tstate = wxPyBeginAllowThreads();
26106 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
26107 wxPyEndAllowThreads(__tstate);
26108 if (PyErr_Occurred()) SWIG_fail;
26109 }
26110 {
26111 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26112 }
26113 return resultobj;
26114 fail:
26115 return NULL;
26116 }
26117
26118
26119 SWIGINTERN PyObject *_wrap_PrintDialogData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26120 PyObject *resultobj = 0;
26121 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26122 bool result;
26123 void *argp1 = 0 ;
26124 int res1 = 0 ;
26125 PyObject *swig_obj[1] ;
26126
26127 if (!args) SWIG_fail;
26128 swig_obj[0] = args;
26129 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26130 if (!SWIG_IsOK(res1)) {
26131 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26132 }
26133 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26134 {
26135 PyThreadState* __tstate = wxPyBeginAllowThreads();
26136 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
26137 wxPyEndAllowThreads(__tstate);
26138 if (PyErr_Occurred()) SWIG_fail;
26139 }
26140 {
26141 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26142 }
26143 return resultobj;
26144 fail:
26145 return NULL;
26146 }
26147
26148
26149 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26150 PyObject *resultobj = 0;
26151 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26152 bool result;
26153 void *argp1 = 0 ;
26154 int res1 = 0 ;
26155 PyObject *swig_obj[1] ;
26156
26157 if (!args) SWIG_fail;
26158 swig_obj[0] = args;
26159 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26160 if (!SWIG_IsOK(res1)) {
26161 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26162 }
26163 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26164 {
26165 PyThreadState* __tstate = wxPyBeginAllowThreads();
26166 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
26167 wxPyEndAllowThreads(__tstate);
26168 if (PyErr_Occurred()) SWIG_fail;
26169 }
26170 {
26171 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26172 }
26173 return resultobj;
26174 fail:
26175 return NULL;
26176 }
26177
26178
26179 SWIGINTERN PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26180 PyObject *resultobj = 0;
26181 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26182 int arg2 ;
26183 void *argp1 = 0 ;
26184 int res1 = 0 ;
26185 int val2 ;
26186 int ecode2 = 0 ;
26187 PyObject * obj0 = 0 ;
26188 PyObject * obj1 = 0 ;
26189 char * kwnames[] = {
26190 (char *) "self",(char *) "v", NULL
26191 };
26192
26193 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) SWIG_fail;
26194 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26195 if (!SWIG_IsOK(res1)) {
26196 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26197 }
26198 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26199 ecode2 = SWIG_AsVal_int(obj1, &val2);
26200 if (!SWIG_IsOK(ecode2)) {
26201 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26202 }
26203 arg2 = static_cast< int >(val2);
26204 {
26205 PyThreadState* __tstate = wxPyBeginAllowThreads();
26206 (arg1)->SetFromPage(arg2);
26207 wxPyEndAllowThreads(__tstate);
26208 if (PyErr_Occurred()) SWIG_fail;
26209 }
26210 resultobj = SWIG_Py_Void();
26211 return resultobj;
26212 fail:
26213 return NULL;
26214 }
26215
26216
26217 SWIGINTERN PyObject *_wrap_PrintDialogData_SetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26218 PyObject *resultobj = 0;
26219 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26220 int arg2 ;
26221 void *argp1 = 0 ;
26222 int res1 = 0 ;
26223 int val2 ;
26224 int ecode2 = 0 ;
26225 PyObject * obj0 = 0 ;
26226 PyObject * obj1 = 0 ;
26227 char * kwnames[] = {
26228 (char *) "self",(char *) "v", NULL
26229 };
26230
26231 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) SWIG_fail;
26232 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26233 if (!SWIG_IsOK(res1)) {
26234 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26235 }
26236 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26237 ecode2 = SWIG_AsVal_int(obj1, &val2);
26238 if (!SWIG_IsOK(ecode2)) {
26239 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26240 }
26241 arg2 = static_cast< int >(val2);
26242 {
26243 PyThreadState* __tstate = wxPyBeginAllowThreads();
26244 (arg1)->SetToPage(arg2);
26245 wxPyEndAllowThreads(__tstate);
26246 if (PyErr_Occurred()) SWIG_fail;
26247 }
26248 resultobj = SWIG_Py_Void();
26249 return resultobj;
26250 fail:
26251 return NULL;
26252 }
26253
26254
26255 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26256 PyObject *resultobj = 0;
26257 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26258 int arg2 ;
26259 void *argp1 = 0 ;
26260 int res1 = 0 ;
26261 int val2 ;
26262 int ecode2 = 0 ;
26263 PyObject * obj0 = 0 ;
26264 PyObject * obj1 = 0 ;
26265 char * kwnames[] = {
26266 (char *) "self",(char *) "v", NULL
26267 };
26268
26269 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) SWIG_fail;
26270 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26271 if (!SWIG_IsOK(res1)) {
26272 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26273 }
26274 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26275 ecode2 = SWIG_AsVal_int(obj1, &val2);
26276 if (!SWIG_IsOK(ecode2)) {
26277 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26278 }
26279 arg2 = static_cast< int >(val2);
26280 {
26281 PyThreadState* __tstate = wxPyBeginAllowThreads();
26282 (arg1)->SetMinPage(arg2);
26283 wxPyEndAllowThreads(__tstate);
26284 if (PyErr_Occurred()) SWIG_fail;
26285 }
26286 resultobj = SWIG_Py_Void();
26287 return resultobj;
26288 fail:
26289 return NULL;
26290 }
26291
26292
26293 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26294 PyObject *resultobj = 0;
26295 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26296 int arg2 ;
26297 void *argp1 = 0 ;
26298 int res1 = 0 ;
26299 int val2 ;
26300 int ecode2 = 0 ;
26301 PyObject * obj0 = 0 ;
26302 PyObject * obj1 = 0 ;
26303 char * kwnames[] = {
26304 (char *) "self",(char *) "v", NULL
26305 };
26306
26307 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) SWIG_fail;
26308 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26309 if (!SWIG_IsOK(res1)) {
26310 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26311 }
26312 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26313 ecode2 = SWIG_AsVal_int(obj1, &val2);
26314 if (!SWIG_IsOK(ecode2)) {
26315 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26316 }
26317 arg2 = static_cast< int >(val2);
26318 {
26319 PyThreadState* __tstate = wxPyBeginAllowThreads();
26320 (arg1)->SetMaxPage(arg2);
26321 wxPyEndAllowThreads(__tstate);
26322 if (PyErr_Occurred()) SWIG_fail;
26323 }
26324 resultobj = SWIG_Py_Void();
26325 return resultobj;
26326 fail:
26327 return NULL;
26328 }
26329
26330
26331 SWIGINTERN PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26332 PyObject *resultobj = 0;
26333 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26334 int arg2 ;
26335 void *argp1 = 0 ;
26336 int res1 = 0 ;
26337 int val2 ;
26338 int ecode2 = 0 ;
26339 PyObject * obj0 = 0 ;
26340 PyObject * obj1 = 0 ;
26341 char * kwnames[] = {
26342 (char *) "self",(char *) "v", NULL
26343 };
26344
26345 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
26346 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26347 if (!SWIG_IsOK(res1)) {
26348 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26349 }
26350 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26351 ecode2 = SWIG_AsVal_int(obj1, &val2);
26352 if (!SWIG_IsOK(ecode2)) {
26353 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26354 }
26355 arg2 = static_cast< int >(val2);
26356 {
26357 PyThreadState* __tstate = wxPyBeginAllowThreads();
26358 (arg1)->SetNoCopies(arg2);
26359 wxPyEndAllowThreads(__tstate);
26360 if (PyErr_Occurred()) SWIG_fail;
26361 }
26362 resultobj = SWIG_Py_Void();
26363 return resultobj;
26364 fail:
26365 return NULL;
26366 }
26367
26368
26369 SWIGINTERN PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26370 PyObject *resultobj = 0;
26371 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26372 bool arg2 ;
26373 void *argp1 = 0 ;
26374 int res1 = 0 ;
26375 bool val2 ;
26376 int ecode2 = 0 ;
26377 PyObject * obj0 = 0 ;
26378 PyObject * obj1 = 0 ;
26379 char * kwnames[] = {
26380 (char *) "self",(char *) "flag", NULL
26381 };
26382
26383 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) SWIG_fail;
26384 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26385 if (!SWIG_IsOK(res1)) {
26386 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26387 }
26388 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26389 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26390 if (!SWIG_IsOK(ecode2)) {
26391 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26392 }
26393 arg2 = static_cast< bool >(val2);
26394 {
26395 PyThreadState* __tstate = wxPyBeginAllowThreads();
26396 (arg1)->SetAllPages(arg2);
26397 wxPyEndAllowThreads(__tstate);
26398 if (PyErr_Occurred()) SWIG_fail;
26399 }
26400 resultobj = SWIG_Py_Void();
26401 return resultobj;
26402 fail:
26403 return NULL;
26404 }
26405
26406
26407 SWIGINTERN PyObject *_wrap_PrintDialogData_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26408 PyObject *resultobj = 0;
26409 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26410 bool arg2 ;
26411 void *argp1 = 0 ;
26412 int res1 = 0 ;
26413 bool val2 ;
26414 int ecode2 = 0 ;
26415 PyObject * obj0 = 0 ;
26416 PyObject * obj1 = 0 ;
26417 char * kwnames[] = {
26418 (char *) "self",(char *) "flag", NULL
26419 };
26420
26421 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26422 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26423 if (!SWIG_IsOK(res1)) {
26424 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26425 }
26426 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26427 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26428 if (!SWIG_IsOK(ecode2)) {
26429 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26430 }
26431 arg2 = static_cast< bool >(val2);
26432 {
26433 PyThreadState* __tstate = wxPyBeginAllowThreads();
26434 (arg1)->SetSelection(arg2);
26435 wxPyEndAllowThreads(__tstate);
26436 if (PyErr_Occurred()) SWIG_fail;
26437 }
26438 resultobj = SWIG_Py_Void();
26439 return resultobj;
26440 fail:
26441 return NULL;
26442 }
26443
26444
26445 SWIGINTERN PyObject *_wrap_PrintDialogData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26446 PyObject *resultobj = 0;
26447 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26448 bool arg2 ;
26449 void *argp1 = 0 ;
26450 int res1 = 0 ;
26451 bool val2 ;
26452 int ecode2 = 0 ;
26453 PyObject * obj0 = 0 ;
26454 PyObject * obj1 = 0 ;
26455 char * kwnames[] = {
26456 (char *) "self",(char *) "flag", NULL
26457 };
26458
26459 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
26460 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26461 if (!SWIG_IsOK(res1)) {
26462 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26463 }
26464 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26465 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26466 if (!SWIG_IsOK(ecode2)) {
26467 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26468 }
26469 arg2 = static_cast< bool >(val2);
26470 {
26471 PyThreadState* __tstate = wxPyBeginAllowThreads();
26472 (arg1)->SetCollate(arg2);
26473 wxPyEndAllowThreads(__tstate);
26474 if (PyErr_Occurred()) SWIG_fail;
26475 }
26476 resultobj = SWIG_Py_Void();
26477 return resultobj;
26478 fail:
26479 return NULL;
26480 }
26481
26482
26483 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26484 PyObject *resultobj = 0;
26485 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26486 bool arg2 ;
26487 void *argp1 = 0 ;
26488 int res1 = 0 ;
26489 bool val2 ;
26490 int ecode2 = 0 ;
26491 PyObject * obj0 = 0 ;
26492 PyObject * obj1 = 0 ;
26493 char * kwnames[] = {
26494 (char *) "self",(char *) "flag", NULL
26495 };
26496
26497 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26498 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26499 if (!SWIG_IsOK(res1)) {
26500 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26501 }
26502 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26503 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26504 if (!SWIG_IsOK(ecode2)) {
26505 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26506 }
26507 arg2 = static_cast< bool >(val2);
26508 {
26509 PyThreadState* __tstate = wxPyBeginAllowThreads();
26510 (arg1)->SetPrintToFile(arg2);
26511 wxPyEndAllowThreads(__tstate);
26512 if (PyErr_Occurred()) SWIG_fail;
26513 }
26514 resultobj = SWIG_Py_Void();
26515 return resultobj;
26516 fail:
26517 return NULL;
26518 }
26519
26520
26521 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26522 PyObject *resultobj = 0;
26523 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26524 bool arg2 ;
26525 void *argp1 = 0 ;
26526 int res1 = 0 ;
26527 bool val2 ;
26528 int ecode2 = 0 ;
26529 PyObject * obj0 = 0 ;
26530 PyObject * obj1 = 0 ;
26531 char * kwnames[] = {
26532 (char *) "self",(char *) "flag", NULL
26533 };
26534
26535 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26536 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26537 if (!SWIG_IsOK(res1)) {
26538 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26539 }
26540 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26541 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26542 if (!SWIG_IsOK(ecode2)) {
26543 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26544 }
26545 arg2 = static_cast< bool >(val2);
26546 {
26547 PyThreadState* __tstate = wxPyBeginAllowThreads();
26548 (arg1)->EnablePrintToFile(arg2);
26549 wxPyEndAllowThreads(__tstate);
26550 if (PyErr_Occurred()) SWIG_fail;
26551 }
26552 resultobj = SWIG_Py_Void();
26553 return resultobj;
26554 fail:
26555 return NULL;
26556 }
26557
26558
26559 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26560 PyObject *resultobj = 0;
26561 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26562 bool arg2 ;
26563 void *argp1 = 0 ;
26564 int res1 = 0 ;
26565 bool val2 ;
26566 int ecode2 = 0 ;
26567 PyObject * obj0 = 0 ;
26568 PyObject * obj1 = 0 ;
26569 char * kwnames[] = {
26570 (char *) "self",(char *) "flag", NULL
26571 };
26572
26573 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26574 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26575 if (!SWIG_IsOK(res1)) {
26576 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26577 }
26578 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26579 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26580 if (!SWIG_IsOK(ecode2)) {
26581 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26582 }
26583 arg2 = static_cast< bool >(val2);
26584 {
26585 PyThreadState* __tstate = wxPyBeginAllowThreads();
26586 (arg1)->EnableSelection(arg2);
26587 wxPyEndAllowThreads(__tstate);
26588 if (PyErr_Occurred()) SWIG_fail;
26589 }
26590 resultobj = SWIG_Py_Void();
26591 return resultobj;
26592 fail:
26593 return NULL;
26594 }
26595
26596
26597 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26598 PyObject *resultobj = 0;
26599 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26600 bool arg2 ;
26601 void *argp1 = 0 ;
26602 int res1 = 0 ;
26603 bool val2 ;
26604 int ecode2 = 0 ;
26605 PyObject * obj0 = 0 ;
26606 PyObject * obj1 = 0 ;
26607 char * kwnames[] = {
26608 (char *) "self",(char *) "flag", NULL
26609 };
26610
26611 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) SWIG_fail;
26612 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26613 if (!SWIG_IsOK(res1)) {
26614 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26615 }
26616 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26617 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26618 if (!SWIG_IsOK(ecode2)) {
26619 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26620 }
26621 arg2 = static_cast< bool >(val2);
26622 {
26623 PyThreadState* __tstate = wxPyBeginAllowThreads();
26624 (arg1)->EnablePageNumbers(arg2);
26625 wxPyEndAllowThreads(__tstate);
26626 if (PyErr_Occurred()) SWIG_fail;
26627 }
26628 resultobj = SWIG_Py_Void();
26629 return resultobj;
26630 fail:
26631 return NULL;
26632 }
26633
26634
26635 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26636 PyObject *resultobj = 0;
26637 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26638 bool arg2 ;
26639 void *argp1 = 0 ;
26640 int res1 = 0 ;
26641 bool val2 ;
26642 int ecode2 = 0 ;
26643 PyObject * obj0 = 0 ;
26644 PyObject * obj1 = 0 ;
26645 char * kwnames[] = {
26646 (char *) "self",(char *) "flag", NULL
26647 };
26648
26649 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
26650 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26651 if (!SWIG_IsOK(res1)) {
26652 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26653 }
26654 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26655 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26656 if (!SWIG_IsOK(ecode2)) {
26657 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
26658 }
26659 arg2 = static_cast< bool >(val2);
26660 {
26661 PyThreadState* __tstate = wxPyBeginAllowThreads();
26662 (arg1)->EnableHelp(arg2);
26663 wxPyEndAllowThreads(__tstate);
26664 if (PyErr_Occurred()) SWIG_fail;
26665 }
26666 resultobj = SWIG_Py_Void();
26667 return resultobj;
26668 fail:
26669 return NULL;
26670 }
26671
26672
26673 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26674 PyObject *resultobj = 0;
26675 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26676 bool result;
26677 void *argp1 = 0 ;
26678 int res1 = 0 ;
26679 PyObject *swig_obj[1] ;
26680
26681 if (!args) SWIG_fail;
26682 swig_obj[0] = args;
26683 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26684 if (!SWIG_IsOK(res1)) {
26685 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26686 }
26687 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26688 {
26689 PyThreadState* __tstate = wxPyBeginAllowThreads();
26690 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
26691 wxPyEndAllowThreads(__tstate);
26692 if (PyErr_Occurred()) SWIG_fail;
26693 }
26694 {
26695 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26696 }
26697 return resultobj;
26698 fail:
26699 return NULL;
26700 }
26701
26702
26703 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26704 PyObject *resultobj = 0;
26705 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26706 bool result;
26707 void *argp1 = 0 ;
26708 int res1 = 0 ;
26709 PyObject *swig_obj[1] ;
26710
26711 if (!args) SWIG_fail;
26712 swig_obj[0] = args;
26713 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26714 if (!SWIG_IsOK(res1)) {
26715 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26716 }
26717 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26718 {
26719 PyThreadState* __tstate = wxPyBeginAllowThreads();
26720 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
26721 wxPyEndAllowThreads(__tstate);
26722 if (PyErr_Occurred()) SWIG_fail;
26723 }
26724 {
26725 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26726 }
26727 return resultobj;
26728 fail:
26729 return NULL;
26730 }
26731
26732
26733 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26734 PyObject *resultobj = 0;
26735 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26736 bool result;
26737 void *argp1 = 0 ;
26738 int res1 = 0 ;
26739 PyObject *swig_obj[1] ;
26740
26741 if (!args) SWIG_fail;
26742 swig_obj[0] = args;
26743 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26744 if (!SWIG_IsOK(res1)) {
26745 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26746 }
26747 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26748 {
26749 PyThreadState* __tstate = wxPyBeginAllowThreads();
26750 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
26751 wxPyEndAllowThreads(__tstate);
26752 if (PyErr_Occurred()) SWIG_fail;
26753 }
26754 {
26755 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26756 }
26757 return resultobj;
26758 fail:
26759 return NULL;
26760 }
26761
26762
26763 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26764 PyObject *resultobj = 0;
26765 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26766 bool result;
26767 void *argp1 = 0 ;
26768 int res1 = 0 ;
26769 PyObject *swig_obj[1] ;
26770
26771 if (!args) SWIG_fail;
26772 swig_obj[0] = args;
26773 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26774 if (!SWIG_IsOK(res1)) {
26775 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26776 }
26777 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26778 {
26779 PyThreadState* __tstate = wxPyBeginAllowThreads();
26780 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
26781 wxPyEndAllowThreads(__tstate);
26782 if (PyErr_Occurred()) SWIG_fail;
26783 }
26784 {
26785 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26786 }
26787 return resultobj;
26788 fail:
26789 return NULL;
26790 }
26791
26792
26793 SWIGINTERN PyObject *_wrap_PrintDialogData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26794 PyObject *resultobj = 0;
26795 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26796 bool result;
26797 void *argp1 = 0 ;
26798 int res1 = 0 ;
26799 PyObject *swig_obj[1] ;
26800
26801 if (!args) SWIG_fail;
26802 swig_obj[0] = args;
26803 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26804 if (!SWIG_IsOK(res1)) {
26805 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_Ok" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26806 }
26807 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26808 {
26809 PyThreadState* __tstate = wxPyBeginAllowThreads();
26810 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
26811 wxPyEndAllowThreads(__tstate);
26812 if (PyErr_Occurred()) SWIG_fail;
26813 }
26814 {
26815 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26816 }
26817 return resultobj;
26818 fail:
26819 return NULL;
26820 }
26821
26822
26823 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26824 PyObject *resultobj = 0;
26825 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26826 wxPrintData *result = 0 ;
26827 void *argp1 = 0 ;
26828 int res1 = 0 ;
26829 PyObject *swig_obj[1] ;
26830
26831 if (!args) SWIG_fail;
26832 swig_obj[0] = args;
26833 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26834 if (!SWIG_IsOK(res1)) {
26835 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26836 }
26837 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26838 {
26839 PyThreadState* __tstate = wxPyBeginAllowThreads();
26840 {
26841 wxPrintData &_result_ref = (arg1)->GetPrintData();
26842 result = (wxPrintData *) &_result_ref;
26843 }
26844 wxPyEndAllowThreads(__tstate);
26845 if (PyErr_Occurred()) SWIG_fail;
26846 }
26847 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
26848 return resultobj;
26849 fail:
26850 return NULL;
26851 }
26852
26853
26854 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26855 PyObject *resultobj = 0;
26856 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26857 wxPrintData *arg2 = 0 ;
26858 void *argp1 = 0 ;
26859 int res1 = 0 ;
26860 void *argp2 = 0 ;
26861 int res2 = 0 ;
26862 PyObject * obj0 = 0 ;
26863 PyObject * obj1 = 0 ;
26864 char * kwnames[] = {
26865 (char *) "self",(char *) "printData", NULL
26866 };
26867
26868 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
26869 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26870 if (!SWIG_IsOK(res1)) {
26871 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26872 }
26873 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26874 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
26875 if (!SWIG_IsOK(res2)) {
26876 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26877 }
26878 if (!argp2) {
26879 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26880 }
26881 arg2 = reinterpret_cast< wxPrintData * >(argp2);
26882 {
26883 PyThreadState* __tstate = wxPyBeginAllowThreads();
26884 (arg1)->SetPrintData((wxPrintData const &)*arg2);
26885 wxPyEndAllowThreads(__tstate);
26886 if (PyErr_Occurred()) SWIG_fail;
26887 }
26888 resultobj = SWIG_Py_Void();
26889 return resultobj;
26890 fail:
26891 return NULL;
26892 }
26893
26894
26895 SWIGINTERN PyObject *PrintDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26896 PyObject *obj;
26897 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26898 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData, SWIG_NewClientData(obj));
26899 return SWIG_Py_Void();
26900 }
26901
26902 SWIGINTERN PyObject *PrintDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26903 return SWIG_Python_InitShadowInstance(args);
26904 }
26905
26906 SWIGINTERN PyObject *_wrap_new_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26907 PyObject *resultobj = 0;
26908 wxWindow *arg1 = (wxWindow *) 0 ;
26909 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
26910 wxPrintDialog *result = 0 ;
26911 void *argp1 = 0 ;
26912 int res1 = 0 ;
26913 void *argp2 = 0 ;
26914 int res2 = 0 ;
26915 PyObject * obj0 = 0 ;
26916 PyObject * obj1 = 0 ;
26917 char * kwnames[] = {
26918 (char *) "parent",(char *) "data", NULL
26919 };
26920
26921 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
26922 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
26923 if (!SWIG_IsOK(res1)) {
26924 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
26925 }
26926 arg1 = reinterpret_cast< wxWindow * >(argp1);
26927 if (obj1) {
26928 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26929 if (!SWIG_IsOK(res2)) {
26930 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
26931 }
26932 arg2 = reinterpret_cast< wxPrintDialogData * >(argp2);
26933 }
26934 {
26935 if (!wxPyCheckForApp()) SWIG_fail;
26936 PyThreadState* __tstate = wxPyBeginAllowThreads();
26937 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
26938 wxPyEndAllowThreads(__tstate);
26939 if (PyErr_Occurred()) SWIG_fail;
26940 }
26941 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_NEW | 0 );
26942 return resultobj;
26943 fail:
26944 return NULL;
26945 }
26946
26947
26948 SWIGINTERN PyObject *_wrap_PrintDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26949 PyObject *resultobj = 0;
26950 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26951 int result;
26952 void *argp1 = 0 ;
26953 int res1 = 0 ;
26954 PyObject *swig_obj[1] ;
26955
26956 if (!args) SWIG_fail;
26957 swig_obj[0] = args;
26958 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
26959 if (!SWIG_IsOK(res1)) {
26960 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26961 }
26962 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26963 {
26964 PyThreadState* __tstate = wxPyBeginAllowThreads();
26965 result = (int)(arg1)->ShowModal();
26966 wxPyEndAllowThreads(__tstate);
26967 if (PyErr_Occurred()) SWIG_fail;
26968 }
26969 resultobj = SWIG_From_int(static_cast< int >(result));
26970 return resultobj;
26971 fail:
26972 return NULL;
26973 }
26974
26975
26976 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26977 PyObject *resultobj = 0;
26978 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26979 wxPrintDialogData *result = 0 ;
26980 void *argp1 = 0 ;
26981 int res1 = 0 ;
26982 PyObject *swig_obj[1] ;
26983
26984 if (!args) SWIG_fail;
26985 swig_obj[0] = args;
26986 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
26987 if (!SWIG_IsOK(res1)) {
26988 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26989 }
26990 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26991 {
26992 PyThreadState* __tstate = wxPyBeginAllowThreads();
26993 {
26994 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
26995 result = (wxPrintDialogData *) &_result_ref;
26996 }
26997 wxPyEndAllowThreads(__tstate);
26998 if (PyErr_Occurred()) SWIG_fail;
26999 }
27000 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27001 return resultobj;
27002 fail:
27003 return NULL;
27004 }
27005
27006
27007 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27008 PyObject *resultobj = 0;
27009 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27010 wxPrintData *result = 0 ;
27011 void *argp1 = 0 ;
27012 int res1 = 0 ;
27013 PyObject *swig_obj[1] ;
27014
27015 if (!args) SWIG_fail;
27016 swig_obj[0] = args;
27017 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27018 if (!SWIG_IsOK(res1)) {
27019 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27020 }
27021 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27022 {
27023 PyThreadState* __tstate = wxPyBeginAllowThreads();
27024 {
27025 wxPrintData &_result_ref = (arg1)->GetPrintData();
27026 result = (wxPrintData *) &_result_ref;
27027 }
27028 wxPyEndAllowThreads(__tstate);
27029 if (PyErr_Occurred()) SWIG_fail;
27030 }
27031 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
27032 return resultobj;
27033 fail:
27034 return NULL;
27035 }
27036
27037
27038 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27039 PyObject *resultobj = 0;
27040 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27041 wxDC *result = 0 ;
27042 void *argp1 = 0 ;
27043 int res1 = 0 ;
27044 PyObject *swig_obj[1] ;
27045
27046 if (!args) SWIG_fail;
27047 swig_obj[0] = args;
27048 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27049 if (!SWIG_IsOK(res1)) {
27050 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27051 }
27052 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27053 {
27054 PyThreadState* __tstate = wxPyBeginAllowThreads();
27055 result = (wxDC *)(arg1)->GetPrintDC();
27056 wxPyEndAllowThreads(__tstate);
27057 if (PyErr_Occurred()) SWIG_fail;
27058 }
27059 {
27060 resultobj = wxPyMake_wxObject(result, (bool)SWIG_POINTER_OWN);
27061 }
27062 return resultobj;
27063 fail:
27064 return NULL;
27065 }
27066
27067
27068 SWIGINTERN PyObject *PrintDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27069 PyObject *obj;
27070 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27071 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog, SWIG_NewClientData(obj));
27072 return SWIG_Py_Void();
27073 }
27074
27075 SWIGINTERN PyObject *PrintDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27076 return SWIG_Python_InitShadowInstance(args);
27077 }
27078
27079 SWIGINTERN PyObject *_wrap_new_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27080 PyObject *resultobj = 0;
27081 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
27082 wxPrinter *result = 0 ;
27083 void *argp1 = 0 ;
27084 int res1 = 0 ;
27085 PyObject * obj0 = 0 ;
27086 char * kwnames[] = {
27087 (char *) "data", NULL
27088 };
27089
27090 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) SWIG_fail;
27091 if (obj0) {
27092 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27093 if (!SWIG_IsOK(res1)) {
27094 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27095 }
27096 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27097 }
27098 {
27099 if (!wxPyCheckForApp()) SWIG_fail;
27100 PyThreadState* __tstate = wxPyBeginAllowThreads();
27101 result = (wxPrinter *)new wxPrinter(arg1);
27102 wxPyEndAllowThreads(__tstate);
27103 if (PyErr_Occurred()) SWIG_fail;
27104 }
27105 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrinter, SWIG_POINTER_NEW | 0 );
27106 return resultobj;
27107 fail:
27108 return NULL;
27109 }
27110
27111
27112 SWIGINTERN PyObject *_wrap_delete_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27113 PyObject *resultobj = 0;
27114 wxPrinter *arg1 = (wxPrinter *) 0 ;
27115 void *argp1 = 0 ;
27116 int res1 = 0 ;
27117 PyObject *swig_obj[1] ;
27118
27119 if (!args) SWIG_fail;
27120 swig_obj[0] = args;
27121 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, SWIG_POINTER_DISOWN | 0 );
27122 if (!SWIG_IsOK(res1)) {
27123 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27124 }
27125 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27126 {
27127 PyThreadState* __tstate = wxPyBeginAllowThreads();
27128 delete arg1;
27129
27130 wxPyEndAllowThreads(__tstate);
27131 if (PyErr_Occurred()) SWIG_fail;
27132 }
27133 resultobj = SWIG_Py_Void();
27134 return resultobj;
27135 fail:
27136 return NULL;
27137 }
27138
27139
27140 SWIGINTERN PyObject *_wrap_Printer_CreateAbortWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27141 PyObject *resultobj = 0;
27142 wxPrinter *arg1 = (wxPrinter *) 0 ;
27143 wxWindow *arg2 = (wxWindow *) 0 ;
27144 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27145 wxWindow *result = 0 ;
27146 void *argp1 = 0 ;
27147 int res1 = 0 ;
27148 void *argp2 = 0 ;
27149 int res2 = 0 ;
27150 void *argp3 = 0 ;
27151 int res3 = 0 ;
27152 PyObject * obj0 = 0 ;
27153 PyObject * obj1 = 0 ;
27154 PyObject * obj2 = 0 ;
27155 char * kwnames[] = {
27156 (char *) "self",(char *) "parent",(char *) "printout", NULL
27157 };
27158
27159 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27160 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27161 if (!SWIG_IsOK(res1)) {
27162 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27163 }
27164 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27165 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27166 if (!SWIG_IsOK(res2)) {
27167 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27168 }
27169 arg2 = reinterpret_cast< wxWindow * >(argp2);
27170 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27171 if (!SWIG_IsOK(res3)) {
27172 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27173 }
27174 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27175 {
27176 PyThreadState* __tstate = wxPyBeginAllowThreads();
27177 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
27178 wxPyEndAllowThreads(__tstate);
27179 if (PyErr_Occurred()) SWIG_fail;
27180 }
27181 {
27182 resultobj = wxPyMake_wxObject(result, 0);
27183 }
27184 return resultobj;
27185 fail:
27186 return NULL;
27187 }
27188
27189
27190 SWIGINTERN PyObject *_wrap_Printer_ReportError(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27191 PyObject *resultobj = 0;
27192 wxPrinter *arg1 = (wxPrinter *) 0 ;
27193 wxWindow *arg2 = (wxWindow *) 0 ;
27194 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27195 wxString *arg4 = 0 ;
27196 void *argp1 = 0 ;
27197 int res1 = 0 ;
27198 void *argp2 = 0 ;
27199 int res2 = 0 ;
27200 void *argp3 = 0 ;
27201 int res3 = 0 ;
27202 bool temp4 = false ;
27203 PyObject * obj0 = 0 ;
27204 PyObject * obj1 = 0 ;
27205 PyObject * obj2 = 0 ;
27206 PyObject * obj3 = 0 ;
27207 char * kwnames[] = {
27208 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27209 };
27210
27211 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27212 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27213 if (!SWIG_IsOK(res1)) {
27214 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27215 }
27216 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27217 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27218 if (!SWIG_IsOK(res2)) {
27219 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27220 }
27221 arg2 = reinterpret_cast< wxWindow * >(argp2);
27222 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27223 if (!SWIG_IsOK(res3)) {
27224 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27225 }
27226 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27227 {
27228 arg4 = wxString_in_helper(obj3);
27229 if (arg4 == NULL) SWIG_fail;
27230 temp4 = true;
27231 }
27232 {
27233 PyThreadState* __tstate = wxPyBeginAllowThreads();
27234 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
27235 wxPyEndAllowThreads(__tstate);
27236 if (PyErr_Occurred()) SWIG_fail;
27237 }
27238 resultobj = SWIG_Py_Void();
27239 {
27240 if (temp4)
27241 delete arg4;
27242 }
27243 return resultobj;
27244 fail:
27245 {
27246 if (temp4)
27247 delete arg4;
27248 }
27249 return NULL;
27250 }
27251
27252
27253 SWIGINTERN PyObject *_wrap_Printer_Setup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27254 PyObject *resultobj = 0;
27255 wxPrinter *arg1 = (wxPrinter *) 0 ;
27256 wxWindow *arg2 = (wxWindow *) 0 ;
27257 bool result;
27258 void *argp1 = 0 ;
27259 int res1 = 0 ;
27260 void *argp2 = 0 ;
27261 int res2 = 0 ;
27262 PyObject * obj0 = 0 ;
27263 PyObject * obj1 = 0 ;
27264 char * kwnames[] = {
27265 (char *) "self",(char *) "parent", NULL
27266 };
27267
27268 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) SWIG_fail;
27269 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27270 if (!SWIG_IsOK(res1)) {
27271 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27272 }
27273 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27274 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27275 if (!SWIG_IsOK(res2)) {
27276 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27277 }
27278 arg2 = reinterpret_cast< wxWindow * >(argp2);
27279 {
27280 PyThreadState* __tstate = wxPyBeginAllowThreads();
27281 result = (bool)(arg1)->Setup(arg2);
27282 wxPyEndAllowThreads(__tstate);
27283 if (PyErr_Occurred()) SWIG_fail;
27284 }
27285 {
27286 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27287 }
27288 return resultobj;
27289 fail:
27290 return NULL;
27291 }
27292
27293
27294 SWIGINTERN PyObject *_wrap_Printer_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27295 PyObject *resultobj = 0;
27296 wxPrinter *arg1 = (wxPrinter *) 0 ;
27297 wxWindow *arg2 = (wxWindow *) 0 ;
27298 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27299 bool arg4 = (bool) true ;
27300 bool result;
27301 void *argp1 = 0 ;
27302 int res1 = 0 ;
27303 void *argp2 = 0 ;
27304 int res2 = 0 ;
27305 void *argp3 = 0 ;
27306 int res3 = 0 ;
27307 bool val4 ;
27308 int ecode4 = 0 ;
27309 PyObject * obj0 = 0 ;
27310 PyObject * obj1 = 0 ;
27311 PyObject * obj2 = 0 ;
27312 PyObject * obj3 = 0 ;
27313 char * kwnames[] = {
27314 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27315 };
27316
27317 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27318 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27319 if (!SWIG_IsOK(res1)) {
27320 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27321 }
27322 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27323 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27324 if (!SWIG_IsOK(res2)) {
27325 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27326 }
27327 arg2 = reinterpret_cast< wxWindow * >(argp2);
27328 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27329 if (!SWIG_IsOK(res3)) {
27330 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27331 }
27332 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27333 if (obj3) {
27334 ecode4 = SWIG_AsVal_bool(obj3, &val4);
27335 if (!SWIG_IsOK(ecode4)) {
27336 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27337 }
27338 arg4 = static_cast< bool >(val4);
27339 }
27340 {
27341 PyThreadState* __tstate = wxPyBeginAllowThreads();
27342 result = (bool)(arg1)->Print(arg2,arg3,arg4);
27343 wxPyEndAllowThreads(__tstate);
27344 if (PyErr_Occurred()) SWIG_fail;
27345 }
27346 {
27347 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27348 }
27349 return resultobj;
27350 fail:
27351 return NULL;
27352 }
27353
27354
27355 SWIGINTERN PyObject *_wrap_Printer_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27356 PyObject *resultobj = 0;
27357 wxPrinter *arg1 = (wxPrinter *) 0 ;
27358 wxWindow *arg2 = (wxWindow *) 0 ;
27359 wxDC *result = 0 ;
27360 void *argp1 = 0 ;
27361 int res1 = 0 ;
27362 void *argp2 = 0 ;
27363 int res2 = 0 ;
27364 PyObject * obj0 = 0 ;
27365 PyObject * obj1 = 0 ;
27366 char * kwnames[] = {
27367 (char *) "self",(char *) "parent", NULL
27368 };
27369
27370 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
27371 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27372 if (!SWIG_IsOK(res1)) {
27373 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27374 }
27375 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27376 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27377 if (!SWIG_IsOK(res2)) {
27378 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27379 }
27380 arg2 = reinterpret_cast< wxWindow * >(argp2);
27381 {
27382 PyThreadState* __tstate = wxPyBeginAllowThreads();
27383 result = (wxDC *)(arg1)->PrintDialog(arg2);
27384 wxPyEndAllowThreads(__tstate);
27385 if (PyErr_Occurred()) SWIG_fail;
27386 }
27387 {
27388 resultobj = wxPyMake_wxObject(result, (bool)0);
27389 }
27390 return resultobj;
27391 fail:
27392 return NULL;
27393 }
27394
27395
27396 SWIGINTERN PyObject *_wrap_Printer_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27397 PyObject *resultobj = 0;
27398 wxPrinter *arg1 = (wxPrinter *) 0 ;
27399 wxPrintDialogData *result = 0 ;
27400 void *argp1 = 0 ;
27401 int res1 = 0 ;
27402 PyObject *swig_obj[1] ;
27403
27404 if (!args) SWIG_fail;
27405 swig_obj[0] = args;
27406 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27407 if (!SWIG_IsOK(res1)) {
27408 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27409 }
27410 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27411 {
27412 PyThreadState* __tstate = wxPyBeginAllowThreads();
27413 {
27414 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
27415 result = (wxPrintDialogData *) &_result_ref;
27416 }
27417 wxPyEndAllowThreads(__tstate);
27418 if (PyErr_Occurred()) SWIG_fail;
27419 }
27420 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27421 return resultobj;
27422 fail:
27423 return NULL;
27424 }
27425
27426
27427 SWIGINTERN PyObject *_wrap_Printer_GetAbort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27428 PyObject *resultobj = 0;
27429 wxPrinter *arg1 = (wxPrinter *) 0 ;
27430 bool result;
27431 void *argp1 = 0 ;
27432 int res1 = 0 ;
27433 PyObject *swig_obj[1] ;
27434
27435 if (!args) SWIG_fail;
27436 swig_obj[0] = args;
27437 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27438 if (!SWIG_IsOK(res1)) {
27439 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27440 }
27441 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27442 {
27443 PyThreadState* __tstate = wxPyBeginAllowThreads();
27444 result = (bool)(arg1)->GetAbort();
27445 wxPyEndAllowThreads(__tstate);
27446 if (PyErr_Occurred()) SWIG_fail;
27447 }
27448 {
27449 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27450 }
27451 return resultobj;
27452 fail:
27453 return NULL;
27454 }
27455
27456
27457 SWIGINTERN PyObject *_wrap_Printer_GetLastError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27458 PyObject *resultobj = 0;
27459 wxPrinterError result;
27460
27461 if (!SWIG_Python_UnpackTuple(args,"Printer_GetLastError",0,0,0)) SWIG_fail;
27462 {
27463 PyThreadState* __tstate = wxPyBeginAllowThreads();
27464 result = (wxPrinterError)wxPrinter::GetLastError();
27465 wxPyEndAllowThreads(__tstate);
27466 if (PyErr_Occurred()) SWIG_fail;
27467 }
27468 resultobj = SWIG_From_int(static_cast< int >(result));
27469 return resultobj;
27470 fail:
27471 return NULL;
27472 }
27473
27474
27475 SWIGINTERN PyObject *Printer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27476 PyObject *obj;
27477 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27478 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter, SWIG_NewClientData(obj));
27479 return SWIG_Py_Void();
27480 }
27481
27482 SWIGINTERN PyObject *Printer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27483 return SWIG_Python_InitShadowInstance(args);
27484 }
27485
27486 SWIGINTERN PyObject *_wrap_new_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27487 PyObject *resultobj = 0;
27488 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
27489 wxString *arg1 = (wxString *) &arg1_defvalue ;
27490 wxPyPrintout *result = 0 ;
27491 bool temp1 = false ;
27492 PyObject * obj0 = 0 ;
27493 char * kwnames[] = {
27494 (char *) "title", NULL
27495 };
27496
27497 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) SWIG_fail;
27498 if (obj0) {
27499 {
27500 arg1 = wxString_in_helper(obj0);
27501 if (arg1 == NULL) SWIG_fail;
27502 temp1 = true;
27503 }
27504 }
27505 {
27506 if (!wxPyCheckForApp()) SWIG_fail;
27507 PyThreadState* __tstate = wxPyBeginAllowThreads();
27508 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
27509 wxPyEndAllowThreads(__tstate);
27510 if (PyErr_Occurred()) SWIG_fail;
27511 }
27512 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_NEW | 0 );
27513 {
27514 if (temp1)
27515 delete arg1;
27516 }
27517 return resultobj;
27518 fail:
27519 {
27520 if (temp1)
27521 delete arg1;
27522 }
27523 return NULL;
27524 }
27525
27526
27527 SWIGINTERN PyObject *_wrap_delete_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27528 PyObject *resultobj = 0;
27529 wxPyPrintout *arg1 = (wxPyPrintout *) 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_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
27537 if (!SWIG_IsOK(res1)) {
27538 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27539 }
27540 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27541 {
27542 PyThreadState* __tstate = wxPyBeginAllowThreads();
27543 delete arg1;
27544
27545 wxPyEndAllowThreads(__tstate);
27546 if (PyErr_Occurred()) SWIG_fail;
27547 }
27548 resultobj = SWIG_Py_Void();
27549 return resultobj;
27550 fail:
27551 return NULL;
27552 }
27553
27554
27555 SWIGINTERN PyObject *_wrap_Printout__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27556 PyObject *resultobj = 0;
27557 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27558 PyObject *arg2 = (PyObject *) 0 ;
27559 PyObject *arg3 = (PyObject *) 0 ;
27560 void *argp1 = 0 ;
27561 int res1 = 0 ;
27562 PyObject * obj0 = 0 ;
27563 PyObject * obj1 = 0 ;
27564 PyObject * obj2 = 0 ;
27565 char * kwnames[] = {
27566 (char *) "self",(char *) "self",(char *) "_class", NULL
27567 };
27568
27569 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27570 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27571 if (!SWIG_IsOK(res1)) {
27572 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27573 }
27574 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27575 arg2 = obj1;
27576 arg3 = obj2;
27577 {
27578 PyThreadState* __tstate = wxPyBeginAllowThreads();
27579 (arg1)->_setCallbackInfo(arg2,arg3);
27580 wxPyEndAllowThreads(__tstate);
27581 if (PyErr_Occurred()) SWIG_fail;
27582 }
27583 resultobj = SWIG_Py_Void();
27584 return resultobj;
27585 fail:
27586 return NULL;
27587 }
27588
27589
27590 SWIGINTERN PyObject *_wrap_Printout_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27591 PyObject *resultobj = 0;
27592 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27593 wxString result;
27594 void *argp1 = 0 ;
27595 int res1 = 0 ;
27596 PyObject *swig_obj[1] ;
27597
27598 if (!args) SWIG_fail;
27599 swig_obj[0] = args;
27600 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27601 if (!SWIG_IsOK(res1)) {
27602 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27603 }
27604 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27605 {
27606 PyThreadState* __tstate = wxPyBeginAllowThreads();
27607 result = ((wxPyPrintout const *)arg1)->GetTitle();
27608 wxPyEndAllowThreads(__tstate);
27609 if (PyErr_Occurred()) SWIG_fail;
27610 }
27611 {
27612 #if wxUSE_UNICODE
27613 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27614 #else
27615 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27616 #endif
27617 }
27618 return resultobj;
27619 fail:
27620 return NULL;
27621 }
27622
27623
27624 SWIGINTERN PyObject *_wrap_Printout_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27625 PyObject *resultobj = 0;
27626 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27627 wxDC *result = 0 ;
27628 void *argp1 = 0 ;
27629 int res1 = 0 ;
27630 PyObject *swig_obj[1] ;
27631
27632 if (!args) SWIG_fail;
27633 swig_obj[0] = args;
27634 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27635 if (!SWIG_IsOK(res1)) {
27636 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27637 }
27638 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27639 {
27640 PyThreadState* __tstate = wxPyBeginAllowThreads();
27641 result = (wxDC *)(arg1)->GetDC();
27642 wxPyEndAllowThreads(__tstate);
27643 if (PyErr_Occurred()) SWIG_fail;
27644 }
27645 {
27646 resultobj = wxPyMake_wxObject(result, (bool)0);
27647 }
27648 return resultobj;
27649 fail:
27650 return NULL;
27651 }
27652
27653
27654 SWIGINTERN PyObject *_wrap_Printout_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27655 PyObject *resultobj = 0;
27656 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27657 wxDC *arg2 = (wxDC *) 0 ;
27658 void *argp1 = 0 ;
27659 int res1 = 0 ;
27660 void *argp2 = 0 ;
27661 int res2 = 0 ;
27662 PyObject * obj0 = 0 ;
27663 PyObject * obj1 = 0 ;
27664 char * kwnames[] = {
27665 (char *) "self",(char *) "dc", NULL
27666 };
27667
27668 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) SWIG_fail;
27669 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27670 if (!SWIG_IsOK(res1)) {
27671 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27672 }
27673 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27674 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
27675 if (!SWIG_IsOK(res2)) {
27676 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
27677 }
27678 arg2 = reinterpret_cast< wxDC * >(argp2);
27679 {
27680 PyThreadState* __tstate = wxPyBeginAllowThreads();
27681 (arg1)->SetDC(arg2);
27682 wxPyEndAllowThreads(__tstate);
27683 if (PyErr_Occurred()) SWIG_fail;
27684 }
27685 resultobj = SWIG_Py_Void();
27686 return resultobj;
27687 fail:
27688 return NULL;
27689 }
27690
27691
27692 SWIGINTERN PyObject *_wrap_Printout_SetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27693 PyObject *resultobj = 0;
27694 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27695 int arg2 ;
27696 int arg3 ;
27697 void *argp1 = 0 ;
27698 int res1 = 0 ;
27699 int val2 ;
27700 int ecode2 = 0 ;
27701 int val3 ;
27702 int ecode3 = 0 ;
27703 PyObject * obj0 = 0 ;
27704 PyObject * obj1 = 0 ;
27705 PyObject * obj2 = 0 ;
27706 char * kwnames[] = {
27707 (char *) "self",(char *) "w",(char *) "h", NULL
27708 };
27709
27710 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27711 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27712 if (!SWIG_IsOK(res1)) {
27713 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27714 }
27715 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27716 ecode2 = SWIG_AsVal_int(obj1, &val2);
27717 if (!SWIG_IsOK(ecode2)) {
27718 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
27719 }
27720 arg2 = static_cast< int >(val2);
27721 ecode3 = SWIG_AsVal_int(obj2, &val3);
27722 if (!SWIG_IsOK(ecode3)) {
27723 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
27724 }
27725 arg3 = static_cast< int >(val3);
27726 {
27727 PyThreadState* __tstate = wxPyBeginAllowThreads();
27728 (arg1)->SetPageSizePixels(arg2,arg3);
27729 wxPyEndAllowThreads(__tstate);
27730 if (PyErr_Occurred()) SWIG_fail;
27731 }
27732 resultobj = SWIG_Py_Void();
27733 return resultobj;
27734 fail:
27735 return NULL;
27736 }
27737
27738
27739 SWIGINTERN PyObject *_wrap_Printout_GetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27740 PyObject *resultobj = 0;
27741 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27742 int *arg2 = (int *) 0 ;
27743 int *arg3 = (int *) 0 ;
27744 void *argp1 = 0 ;
27745 int res1 = 0 ;
27746 int temp2 ;
27747 int res2 = SWIG_TMPOBJ ;
27748 int temp3 ;
27749 int res3 = SWIG_TMPOBJ ;
27750 PyObject *swig_obj[1] ;
27751
27752 arg2 = &temp2;
27753 arg3 = &temp3;
27754 if (!args) SWIG_fail;
27755 swig_obj[0] = args;
27756 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27757 if (!SWIG_IsOK(res1)) {
27758 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27759 }
27760 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27761 {
27762 PyThreadState* __tstate = wxPyBeginAllowThreads();
27763 (arg1)->GetPageSizePixels(arg2,arg3);
27764 wxPyEndAllowThreads(__tstate);
27765 if (PyErr_Occurred()) SWIG_fail;
27766 }
27767 resultobj = SWIG_Py_Void();
27768 if (SWIG_IsTmpObj(res2)) {
27769 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27770 } else {
27771 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27772 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27773 }
27774 if (SWIG_IsTmpObj(res3)) {
27775 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27776 } else {
27777 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27778 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27779 }
27780 return resultobj;
27781 fail:
27782 return NULL;
27783 }
27784
27785
27786 SWIGINTERN PyObject *_wrap_Printout_SetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27787 PyObject *resultobj = 0;
27788 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27789 int arg2 ;
27790 int arg3 ;
27791 void *argp1 = 0 ;
27792 int res1 = 0 ;
27793 int val2 ;
27794 int ecode2 = 0 ;
27795 int val3 ;
27796 int ecode3 = 0 ;
27797 PyObject * obj0 = 0 ;
27798 PyObject * obj1 = 0 ;
27799 PyObject * obj2 = 0 ;
27800 char * kwnames[] = {
27801 (char *) "self",(char *) "w",(char *) "h", NULL
27802 };
27803
27804 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27805 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27806 if (!SWIG_IsOK(res1)) {
27807 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27808 }
27809 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27810 ecode2 = SWIG_AsVal_int(obj1, &val2);
27811 if (!SWIG_IsOK(ecode2)) {
27812 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
27813 }
27814 arg2 = static_cast< int >(val2);
27815 ecode3 = SWIG_AsVal_int(obj2, &val3);
27816 if (!SWIG_IsOK(ecode3)) {
27817 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
27818 }
27819 arg3 = static_cast< int >(val3);
27820 {
27821 PyThreadState* __tstate = wxPyBeginAllowThreads();
27822 (arg1)->SetPageSizeMM(arg2,arg3);
27823 wxPyEndAllowThreads(__tstate);
27824 if (PyErr_Occurred()) SWIG_fail;
27825 }
27826 resultobj = SWIG_Py_Void();
27827 return resultobj;
27828 fail:
27829 return NULL;
27830 }
27831
27832
27833 SWIGINTERN PyObject *_wrap_Printout_GetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27834 PyObject *resultobj = 0;
27835 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27836 int *arg2 = (int *) 0 ;
27837 int *arg3 = (int *) 0 ;
27838 void *argp1 = 0 ;
27839 int res1 = 0 ;
27840 int temp2 ;
27841 int res2 = SWIG_TMPOBJ ;
27842 int temp3 ;
27843 int res3 = SWIG_TMPOBJ ;
27844 PyObject *swig_obj[1] ;
27845
27846 arg2 = &temp2;
27847 arg3 = &temp3;
27848 if (!args) SWIG_fail;
27849 swig_obj[0] = args;
27850 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27851 if (!SWIG_IsOK(res1)) {
27852 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27853 }
27854 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27855 {
27856 PyThreadState* __tstate = wxPyBeginAllowThreads();
27857 (arg1)->GetPageSizeMM(arg2,arg3);
27858 wxPyEndAllowThreads(__tstate);
27859 if (PyErr_Occurred()) SWIG_fail;
27860 }
27861 resultobj = SWIG_Py_Void();
27862 if (SWIG_IsTmpObj(res2)) {
27863 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27864 } else {
27865 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27866 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27867 }
27868 if (SWIG_IsTmpObj(res3)) {
27869 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27870 } else {
27871 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27872 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27873 }
27874 return resultobj;
27875 fail:
27876 return NULL;
27877 }
27878
27879
27880 SWIGINTERN PyObject *_wrap_Printout_SetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27881 PyObject *resultobj = 0;
27882 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27883 int arg2 ;
27884 int arg3 ;
27885 void *argp1 = 0 ;
27886 int res1 = 0 ;
27887 int val2 ;
27888 int ecode2 = 0 ;
27889 int val3 ;
27890 int ecode3 = 0 ;
27891 PyObject * obj0 = 0 ;
27892 PyObject * obj1 = 0 ;
27893 PyObject * obj2 = 0 ;
27894 char * kwnames[] = {
27895 (char *) "self",(char *) "x",(char *) "y", NULL
27896 };
27897
27898 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27899 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27900 if (!SWIG_IsOK(res1)) {
27901 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27902 }
27903 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27904 ecode2 = SWIG_AsVal_int(obj1, &val2);
27905 if (!SWIG_IsOK(ecode2)) {
27906 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
27907 }
27908 arg2 = static_cast< int >(val2);
27909 ecode3 = SWIG_AsVal_int(obj2, &val3);
27910 if (!SWIG_IsOK(ecode3)) {
27911 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
27912 }
27913 arg3 = static_cast< int >(val3);
27914 {
27915 PyThreadState* __tstate = wxPyBeginAllowThreads();
27916 (arg1)->SetPPIScreen(arg2,arg3);
27917 wxPyEndAllowThreads(__tstate);
27918 if (PyErr_Occurred()) SWIG_fail;
27919 }
27920 resultobj = SWIG_Py_Void();
27921 return resultobj;
27922 fail:
27923 return NULL;
27924 }
27925
27926
27927 SWIGINTERN PyObject *_wrap_Printout_GetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27928 PyObject *resultobj = 0;
27929 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27930 int *arg2 = (int *) 0 ;
27931 int *arg3 = (int *) 0 ;
27932 void *argp1 = 0 ;
27933 int res1 = 0 ;
27934 int temp2 ;
27935 int res2 = SWIG_TMPOBJ ;
27936 int temp3 ;
27937 int res3 = SWIG_TMPOBJ ;
27938 PyObject *swig_obj[1] ;
27939
27940 arg2 = &temp2;
27941 arg3 = &temp3;
27942 if (!args) SWIG_fail;
27943 swig_obj[0] = args;
27944 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27945 if (!SWIG_IsOK(res1)) {
27946 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27947 }
27948 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27949 {
27950 PyThreadState* __tstate = wxPyBeginAllowThreads();
27951 (arg1)->GetPPIScreen(arg2,arg3);
27952 wxPyEndAllowThreads(__tstate);
27953 if (PyErr_Occurred()) SWIG_fail;
27954 }
27955 resultobj = SWIG_Py_Void();
27956 if (SWIG_IsTmpObj(res2)) {
27957 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27958 } else {
27959 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27960 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27961 }
27962 if (SWIG_IsTmpObj(res3)) {
27963 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27964 } else {
27965 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27966 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27967 }
27968 return resultobj;
27969 fail:
27970 return NULL;
27971 }
27972
27973
27974 SWIGINTERN PyObject *_wrap_Printout_SetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27975 PyObject *resultobj = 0;
27976 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27977 int arg2 ;
27978 int arg3 ;
27979 void *argp1 = 0 ;
27980 int res1 = 0 ;
27981 int val2 ;
27982 int ecode2 = 0 ;
27983 int val3 ;
27984 int ecode3 = 0 ;
27985 PyObject * obj0 = 0 ;
27986 PyObject * obj1 = 0 ;
27987 PyObject * obj2 = 0 ;
27988 char * kwnames[] = {
27989 (char *) "self",(char *) "x",(char *) "y", NULL
27990 };
27991
27992 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27993 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27994 if (!SWIG_IsOK(res1)) {
27995 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27996 }
27997 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27998 ecode2 = SWIG_AsVal_int(obj1, &val2);
27999 if (!SWIG_IsOK(ecode2)) {
28000 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
28001 }
28002 arg2 = static_cast< int >(val2);
28003 ecode3 = SWIG_AsVal_int(obj2, &val3);
28004 if (!SWIG_IsOK(ecode3)) {
28005 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
28006 }
28007 arg3 = static_cast< int >(val3);
28008 {
28009 PyThreadState* __tstate = wxPyBeginAllowThreads();
28010 (arg1)->SetPPIPrinter(arg2,arg3);
28011 wxPyEndAllowThreads(__tstate);
28012 if (PyErr_Occurred()) SWIG_fail;
28013 }
28014 resultobj = SWIG_Py_Void();
28015 return resultobj;
28016 fail:
28017 return NULL;
28018 }
28019
28020
28021 SWIGINTERN PyObject *_wrap_Printout_GetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28022 PyObject *resultobj = 0;
28023 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28024 int *arg2 = (int *) 0 ;
28025 int *arg3 = (int *) 0 ;
28026 void *argp1 = 0 ;
28027 int res1 = 0 ;
28028 int temp2 ;
28029 int res2 = SWIG_TMPOBJ ;
28030 int temp3 ;
28031 int res3 = SWIG_TMPOBJ ;
28032 PyObject *swig_obj[1] ;
28033
28034 arg2 = &temp2;
28035 arg3 = &temp3;
28036 if (!args) SWIG_fail;
28037 swig_obj[0] = args;
28038 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28039 if (!SWIG_IsOK(res1)) {
28040 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28041 }
28042 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28043 {
28044 PyThreadState* __tstate = wxPyBeginAllowThreads();
28045 (arg1)->GetPPIPrinter(arg2,arg3);
28046 wxPyEndAllowThreads(__tstate);
28047 if (PyErr_Occurred()) SWIG_fail;
28048 }
28049 resultobj = SWIG_Py_Void();
28050 if (SWIG_IsTmpObj(res2)) {
28051 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28052 } else {
28053 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28054 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28055 }
28056 if (SWIG_IsTmpObj(res3)) {
28057 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28058 } else {
28059 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28060 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28061 }
28062 return resultobj;
28063 fail:
28064 return NULL;
28065 }
28066
28067
28068 SWIGINTERN PyObject *_wrap_Printout_IsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28069 PyObject *resultobj = 0;
28070 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28071 bool result;
28072 void *argp1 = 0 ;
28073 int res1 = 0 ;
28074 PyObject *swig_obj[1] ;
28075
28076 if (!args) SWIG_fail;
28077 swig_obj[0] = args;
28078 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28079 if (!SWIG_IsOK(res1)) {
28080 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28081 }
28082 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28083 {
28084 PyThreadState* __tstate = wxPyBeginAllowThreads();
28085 result = (bool)(arg1)->IsPreview();
28086 wxPyEndAllowThreads(__tstate);
28087 if (PyErr_Occurred()) SWIG_fail;
28088 }
28089 {
28090 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28091 }
28092 return resultobj;
28093 fail:
28094 return NULL;
28095 }
28096
28097
28098 SWIGINTERN PyObject *_wrap_Printout_SetIsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28099 PyObject *resultobj = 0;
28100 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28101 bool arg2 ;
28102 void *argp1 = 0 ;
28103 int res1 = 0 ;
28104 bool val2 ;
28105 int ecode2 = 0 ;
28106 PyObject * obj0 = 0 ;
28107 PyObject * obj1 = 0 ;
28108 char * kwnames[] = {
28109 (char *) "self",(char *) "p", NULL
28110 };
28111
28112 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) SWIG_fail;
28113 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28114 if (!SWIG_IsOK(res1)) {
28115 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28116 }
28117 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28118 ecode2 = SWIG_AsVal_bool(obj1, &val2);
28119 if (!SWIG_IsOK(ecode2)) {
28120 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
28121 }
28122 arg2 = static_cast< bool >(val2);
28123 {
28124 PyThreadState* __tstate = wxPyBeginAllowThreads();
28125 (arg1)->SetIsPreview(arg2);
28126 wxPyEndAllowThreads(__tstate);
28127 if (PyErr_Occurred()) SWIG_fail;
28128 }
28129 resultobj = SWIG_Py_Void();
28130 return resultobj;
28131 fail:
28132 return NULL;
28133 }
28134
28135
28136 SWIGINTERN PyObject *_wrap_Printout_OnBeginDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28137 PyObject *resultobj = 0;
28138 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28139 int arg2 ;
28140 int arg3 ;
28141 bool result;
28142 void *argp1 = 0 ;
28143 int res1 = 0 ;
28144 int val2 ;
28145 int ecode2 = 0 ;
28146 int val3 ;
28147 int ecode3 = 0 ;
28148 PyObject * obj0 = 0 ;
28149 PyObject * obj1 = 0 ;
28150 PyObject * obj2 = 0 ;
28151 char * kwnames[] = {
28152 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
28153 };
28154
28155 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28156 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28157 if (!SWIG_IsOK(res1)) {
28158 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28159 }
28160 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28161 ecode2 = SWIG_AsVal_int(obj1, &val2);
28162 if (!SWIG_IsOK(ecode2)) {
28163 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
28164 }
28165 arg2 = static_cast< int >(val2);
28166 ecode3 = SWIG_AsVal_int(obj2, &val3);
28167 if (!SWIG_IsOK(ecode3)) {
28168 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
28169 }
28170 arg3 = static_cast< int >(val3);
28171 {
28172 PyThreadState* __tstate = wxPyBeginAllowThreads();
28173 result = (bool)(arg1)->OnBeginDocument(arg2,arg3);
28174 wxPyEndAllowThreads(__tstate);
28175 if (PyErr_Occurred()) SWIG_fail;
28176 }
28177 {
28178 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28179 }
28180 return resultobj;
28181 fail:
28182 return NULL;
28183 }
28184
28185
28186 SWIGINTERN PyObject *_wrap_Printout_OnEndDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28187 PyObject *resultobj = 0;
28188 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28189 void *argp1 = 0 ;
28190 int res1 = 0 ;
28191 PyObject *swig_obj[1] ;
28192
28193 if (!args) SWIG_fail;
28194 swig_obj[0] = args;
28195 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28196 if (!SWIG_IsOK(res1)) {
28197 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28198 }
28199 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28200 {
28201 PyThreadState* __tstate = wxPyBeginAllowThreads();
28202 (arg1)->OnEndDocument();
28203 wxPyEndAllowThreads(__tstate);
28204 if (PyErr_Occurred()) SWIG_fail;
28205 }
28206 resultobj = SWIG_Py_Void();
28207 return resultobj;
28208 fail:
28209 return NULL;
28210 }
28211
28212
28213 SWIGINTERN PyObject *_wrap_Printout_OnBeginPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28214 PyObject *resultobj = 0;
28215 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28216 void *argp1 = 0 ;
28217 int res1 = 0 ;
28218 PyObject *swig_obj[1] ;
28219
28220 if (!args) SWIG_fail;
28221 swig_obj[0] = args;
28222 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28223 if (!SWIG_IsOK(res1)) {
28224 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28225 }
28226 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28227 {
28228 PyThreadState* __tstate = wxPyBeginAllowThreads();
28229 (arg1)->OnBeginPrinting();
28230 wxPyEndAllowThreads(__tstate);
28231 if (PyErr_Occurred()) SWIG_fail;
28232 }
28233 resultobj = SWIG_Py_Void();
28234 return resultobj;
28235 fail:
28236 return NULL;
28237 }
28238
28239
28240 SWIGINTERN PyObject *_wrap_Printout_OnEndPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28241 PyObject *resultobj = 0;
28242 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28243 void *argp1 = 0 ;
28244 int res1 = 0 ;
28245 PyObject *swig_obj[1] ;
28246
28247 if (!args) SWIG_fail;
28248 swig_obj[0] = args;
28249 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28250 if (!SWIG_IsOK(res1)) {
28251 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28252 }
28253 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28254 {
28255 PyThreadState* __tstate = wxPyBeginAllowThreads();
28256 (arg1)->OnEndPrinting();
28257 wxPyEndAllowThreads(__tstate);
28258 if (PyErr_Occurred()) SWIG_fail;
28259 }
28260 resultobj = SWIG_Py_Void();
28261 return resultobj;
28262 fail:
28263 return NULL;
28264 }
28265
28266
28267 SWIGINTERN PyObject *_wrap_Printout_OnPreparePrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28268 PyObject *resultobj = 0;
28269 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28270 void *argp1 = 0 ;
28271 int res1 = 0 ;
28272 PyObject *swig_obj[1] ;
28273
28274 if (!args) SWIG_fail;
28275 swig_obj[0] = args;
28276 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28277 if (!SWIG_IsOK(res1)) {
28278 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28279 }
28280 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28281 {
28282 PyThreadState* __tstate = wxPyBeginAllowThreads();
28283 (arg1)->OnPreparePrinting();
28284 wxPyEndAllowThreads(__tstate);
28285 if (PyErr_Occurred()) SWIG_fail;
28286 }
28287 resultobj = SWIG_Py_Void();
28288 return resultobj;
28289 fail:
28290 return NULL;
28291 }
28292
28293
28294 SWIGINTERN PyObject *_wrap_Printout_HasPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28295 PyObject *resultobj = 0;
28296 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28297 int arg2 ;
28298 bool result;
28299 void *argp1 = 0 ;
28300 int res1 = 0 ;
28301 int val2 ;
28302 int ecode2 = 0 ;
28303 PyObject * obj0 = 0 ;
28304 PyObject * obj1 = 0 ;
28305 char * kwnames[] = {
28306 (char *) "self",(char *) "page", NULL
28307 };
28308
28309 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_HasPage",kwnames,&obj0,&obj1)) SWIG_fail;
28310 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28311 if (!SWIG_IsOK(res1)) {
28312 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28313 }
28314 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28315 ecode2 = SWIG_AsVal_int(obj1, &val2);
28316 if (!SWIG_IsOK(ecode2)) {
28317 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
28318 }
28319 arg2 = static_cast< int >(val2);
28320 {
28321 PyThreadState* __tstate = wxPyBeginAllowThreads();
28322 result = (bool)(arg1)->HasPage(arg2);
28323 wxPyEndAllowThreads(__tstate);
28324 if (PyErr_Occurred()) SWIG_fail;
28325 }
28326 {
28327 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28328 }
28329 return resultobj;
28330 fail:
28331 return NULL;
28332 }
28333
28334
28335 SWIGINTERN PyObject *_wrap_Printout_GetPageInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28336 PyObject *resultobj = 0;
28337 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28338 int *arg2 = (int *) 0 ;
28339 int *arg3 = (int *) 0 ;
28340 int *arg4 = (int *) 0 ;
28341 int *arg5 = (int *) 0 ;
28342 void *argp1 = 0 ;
28343 int res1 = 0 ;
28344 int temp2 ;
28345 int res2 = SWIG_TMPOBJ ;
28346 int temp3 ;
28347 int res3 = SWIG_TMPOBJ ;
28348 int temp4 ;
28349 int res4 = SWIG_TMPOBJ ;
28350 int temp5 ;
28351 int res5 = SWIG_TMPOBJ ;
28352 PyObject *swig_obj[1] ;
28353
28354 arg2 = &temp2;
28355 arg3 = &temp3;
28356 arg4 = &temp4;
28357 arg5 = &temp5;
28358 if (!args) SWIG_fail;
28359 swig_obj[0] = args;
28360 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28361 if (!SWIG_IsOK(res1)) {
28362 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28363 }
28364 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28365 {
28366 PyThreadState* __tstate = wxPyBeginAllowThreads();
28367 (arg1)->GetPageInfo(arg2,arg3,arg4,arg5);
28368 wxPyEndAllowThreads(__tstate);
28369 if (PyErr_Occurred()) SWIG_fail;
28370 }
28371 resultobj = SWIG_Py_Void();
28372 if (SWIG_IsTmpObj(res2)) {
28373 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28374 } else {
28375 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28376 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28377 }
28378 if (SWIG_IsTmpObj(res3)) {
28379 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28380 } else {
28381 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28382 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28383 }
28384 if (SWIG_IsTmpObj(res4)) {
28385 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
28386 } else {
28387 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28388 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
28389 }
28390 if (SWIG_IsTmpObj(res5)) {
28391 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
28392 } else {
28393 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28394 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
28395 }
28396 return resultobj;
28397 fail:
28398 return NULL;
28399 }
28400
28401
28402 SWIGINTERN PyObject *Printout_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28403 PyObject *obj;
28404 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28405 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout, SWIG_NewClientData(obj));
28406 return SWIG_Py_Void();
28407 }
28408
28409 SWIGINTERN PyObject *Printout_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28410 return SWIG_Python_InitShadowInstance(args);
28411 }
28412
28413 SWIGINTERN PyObject *_wrap_new_PreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28414 PyObject *resultobj = 0;
28415 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28416 wxWindow *arg2 = (wxWindow *) 0 ;
28417 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28418 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28419 wxSize const &arg4_defvalue = wxDefaultSize ;
28420 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28421 long arg5 = (long) 0 ;
28422 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
28423 wxString *arg6 = (wxString *) &arg6_defvalue ;
28424 wxPreviewCanvas *result = 0 ;
28425 void *argp1 = 0 ;
28426 int res1 = 0 ;
28427 void *argp2 = 0 ;
28428 int res2 = 0 ;
28429 wxPoint temp3 ;
28430 wxSize temp4 ;
28431 long val5 ;
28432 int ecode5 = 0 ;
28433 bool temp6 = false ;
28434 PyObject * obj0 = 0 ;
28435 PyObject * obj1 = 0 ;
28436 PyObject * obj2 = 0 ;
28437 PyObject * obj3 = 0 ;
28438 PyObject * obj4 = 0 ;
28439 PyObject * obj5 = 0 ;
28440 char * kwnames[] = {
28441 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28442 };
28443
28444 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
28445 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28446 if (!SWIG_IsOK(res1)) {
28447 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28448 }
28449 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28450 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
28451 if (!SWIG_IsOK(res2)) {
28452 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
28453 }
28454 arg2 = reinterpret_cast< wxWindow * >(argp2);
28455 if (obj2) {
28456 {
28457 arg3 = &temp3;
28458 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28459 }
28460 }
28461 if (obj3) {
28462 {
28463 arg4 = &temp4;
28464 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
28465 }
28466 }
28467 if (obj4) {
28468 ecode5 = SWIG_AsVal_long(obj4, &val5);
28469 if (!SWIG_IsOK(ecode5)) {
28470 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
28471 }
28472 arg5 = static_cast< long >(val5);
28473 }
28474 if (obj5) {
28475 {
28476 arg6 = wxString_in_helper(obj5);
28477 if (arg6 == NULL) SWIG_fail;
28478 temp6 = true;
28479 }
28480 }
28481 {
28482 if (!wxPyCheckForApp()) SWIG_fail;
28483 PyThreadState* __tstate = wxPyBeginAllowThreads();
28484 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
28485 wxPyEndAllowThreads(__tstate);
28486 if (PyErr_Occurred()) SWIG_fail;
28487 }
28488 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_NEW | 0 );
28489 {
28490 if (temp6)
28491 delete arg6;
28492 }
28493 return resultobj;
28494 fail:
28495 {
28496 if (temp6)
28497 delete arg6;
28498 }
28499 return NULL;
28500 }
28501
28502
28503 SWIGINTERN PyObject *PreviewCanvas_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28504 PyObject *obj;
28505 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28506 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas, SWIG_NewClientData(obj));
28507 return SWIG_Py_Void();
28508 }
28509
28510 SWIGINTERN PyObject *PreviewCanvas_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28511 return SWIG_Python_InitShadowInstance(args);
28512 }
28513
28514 SWIGINTERN PyObject *_wrap_new_PreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28515 PyObject *resultobj = 0;
28516 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28517 wxFrame *arg2 = (wxFrame *) 0 ;
28518 wxString *arg3 = 0 ;
28519 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28520 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28521 wxSize const &arg5_defvalue = wxDefaultSize ;
28522 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28523 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
28524 wxString const &arg7_defvalue = wxPyFrameNameStr ;
28525 wxString *arg7 = (wxString *) &arg7_defvalue ;
28526 wxPreviewFrame *result = 0 ;
28527 int res1 = 0 ;
28528 void *argp2 = 0 ;
28529 int res2 = 0 ;
28530 bool temp3 = false ;
28531 wxPoint temp4 ;
28532 wxSize temp5 ;
28533 long val6 ;
28534 int ecode6 = 0 ;
28535 bool temp7 = false ;
28536 PyObject * obj0 = 0 ;
28537 PyObject * obj1 = 0 ;
28538 PyObject * obj2 = 0 ;
28539 PyObject * obj3 = 0 ;
28540 PyObject * obj4 = 0 ;
28541 PyObject * obj5 = 0 ;
28542 PyObject * obj6 = 0 ;
28543 char * kwnames[] = {
28544 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28545 };
28546
28547 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
28548 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
28549 if (!SWIG_IsOK(res1)) {
28550 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28551 }
28552 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
28553 if (!SWIG_IsOK(res2)) {
28554 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
28555 }
28556 arg2 = reinterpret_cast< wxFrame * >(argp2);
28557 {
28558 arg3 = wxString_in_helper(obj2);
28559 if (arg3 == NULL) SWIG_fail;
28560 temp3 = true;
28561 }
28562 if (obj3) {
28563 {
28564 arg4 = &temp4;
28565 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28566 }
28567 }
28568 if (obj4) {
28569 {
28570 arg5 = &temp5;
28571 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28572 }
28573 }
28574 if (obj5) {
28575 ecode6 = SWIG_AsVal_long(obj5, &val6);
28576 if (!SWIG_IsOK(ecode6)) {
28577 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
28578 }
28579 arg6 = static_cast< long >(val6);
28580 }
28581 if (obj6) {
28582 {
28583 arg7 = wxString_in_helper(obj6);
28584 if (arg7 == NULL) SWIG_fail;
28585 temp7 = true;
28586 }
28587 }
28588 {
28589 if (!wxPyCheckForApp()) SWIG_fail;
28590 PyThreadState* __tstate = wxPyBeginAllowThreads();
28591 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
28592 wxPyEndAllowThreads(__tstate);
28593 if (PyErr_Occurred()) SWIG_fail;
28594 }
28595 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_NEW | 0 );
28596 {
28597 if (temp3)
28598 delete arg3;
28599 }
28600 {
28601 if (temp7)
28602 delete arg7;
28603 }
28604 return resultobj;
28605 fail:
28606 {
28607 if (temp3)
28608 delete arg3;
28609 }
28610 {
28611 if (temp7)
28612 delete arg7;
28613 }
28614 return NULL;
28615 }
28616
28617
28618 SWIGINTERN PyObject *_wrap_PreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28619 PyObject *resultobj = 0;
28620 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28621 void *argp1 = 0 ;
28622 int res1 = 0 ;
28623 PyObject *swig_obj[1] ;
28624
28625 if (!args) SWIG_fail;
28626 swig_obj[0] = args;
28627 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28628 if (!SWIG_IsOK(res1)) {
28629 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28630 }
28631 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28632 {
28633 PyThreadState* __tstate = wxPyBeginAllowThreads();
28634 (arg1)->Initialize();
28635 wxPyEndAllowThreads(__tstate);
28636 if (PyErr_Occurred()) SWIG_fail;
28637 }
28638 resultobj = SWIG_Py_Void();
28639 return resultobj;
28640 fail:
28641 return NULL;
28642 }
28643
28644
28645 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28646 PyObject *resultobj = 0;
28647 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28648 void *argp1 = 0 ;
28649 int res1 = 0 ;
28650 PyObject *swig_obj[1] ;
28651
28652 if (!args) SWIG_fail;
28653 swig_obj[0] = args;
28654 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28655 if (!SWIG_IsOK(res1)) {
28656 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28657 }
28658 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28659 {
28660 PyThreadState* __tstate = wxPyBeginAllowThreads();
28661 (arg1)->CreateControlBar();
28662 wxPyEndAllowThreads(__tstate);
28663 if (PyErr_Occurred()) SWIG_fail;
28664 }
28665 resultobj = SWIG_Py_Void();
28666 return resultobj;
28667 fail:
28668 return NULL;
28669 }
28670
28671
28672 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28673 PyObject *resultobj = 0;
28674 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28675 void *argp1 = 0 ;
28676 int res1 = 0 ;
28677 PyObject *swig_obj[1] ;
28678
28679 if (!args) SWIG_fail;
28680 swig_obj[0] = args;
28681 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28682 if (!SWIG_IsOK(res1)) {
28683 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28684 }
28685 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28686 {
28687 PyThreadState* __tstate = wxPyBeginAllowThreads();
28688 (arg1)->CreateCanvas();
28689 wxPyEndAllowThreads(__tstate);
28690 if (PyErr_Occurred()) SWIG_fail;
28691 }
28692 resultobj = SWIG_Py_Void();
28693 return resultobj;
28694 fail:
28695 return NULL;
28696 }
28697
28698
28699 SWIGINTERN PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28700 PyObject *resultobj = 0;
28701 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28702 wxPreviewControlBar *result = 0 ;
28703 void *argp1 = 0 ;
28704 int res1 = 0 ;
28705 PyObject *swig_obj[1] ;
28706
28707 if (!args) SWIG_fail;
28708 swig_obj[0] = args;
28709 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28710 if (!SWIG_IsOK(res1)) {
28711 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
28712 }
28713 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28714 {
28715 PyThreadState* __tstate = wxPyBeginAllowThreads();
28716 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
28717 wxPyEndAllowThreads(__tstate);
28718 if (PyErr_Occurred()) SWIG_fail;
28719 }
28720 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28721 return resultobj;
28722 fail:
28723 return NULL;
28724 }
28725
28726
28727 SWIGINTERN PyObject *PreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28728 PyObject *obj;
28729 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28730 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame, SWIG_NewClientData(obj));
28731 return SWIG_Py_Void();
28732 }
28733
28734 SWIGINTERN PyObject *PreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28735 return SWIG_Python_InitShadowInstance(args);
28736 }
28737
28738 SWIGINTERN PyObject *_wrap_new_PreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28739 PyObject *resultobj = 0;
28740 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28741 long arg2 ;
28742 wxWindow *arg3 = (wxWindow *) 0 ;
28743 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28744 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28745 wxSize const &arg5_defvalue = wxDefaultSize ;
28746 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28747 long arg6 = (long) wxTAB_TRAVERSAL ;
28748 wxString const &arg7_defvalue = wxPyPanelNameStr ;
28749 wxString *arg7 = (wxString *) &arg7_defvalue ;
28750 wxPreviewControlBar *result = 0 ;
28751 void *argp1 = 0 ;
28752 int res1 = 0 ;
28753 long val2 ;
28754 int ecode2 = 0 ;
28755 void *argp3 = 0 ;
28756 int res3 = 0 ;
28757 wxPoint temp4 ;
28758 wxSize temp5 ;
28759 long val6 ;
28760 int ecode6 = 0 ;
28761 bool temp7 = false ;
28762 PyObject * obj0 = 0 ;
28763 PyObject * obj1 = 0 ;
28764 PyObject * obj2 = 0 ;
28765 PyObject * obj3 = 0 ;
28766 PyObject * obj4 = 0 ;
28767 PyObject * obj5 = 0 ;
28768 PyObject * obj6 = 0 ;
28769 char * kwnames[] = {
28770 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28771 };
28772
28773 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
28774 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28775 if (!SWIG_IsOK(res1)) {
28776 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28777 }
28778 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28779 ecode2 = SWIG_AsVal_long(obj1, &val2);
28780 if (!SWIG_IsOK(ecode2)) {
28781 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
28782 }
28783 arg2 = static_cast< long >(val2);
28784 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
28785 if (!SWIG_IsOK(res3)) {
28786 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
28787 }
28788 arg3 = reinterpret_cast< wxWindow * >(argp3);
28789 if (obj3) {
28790 {
28791 arg4 = &temp4;
28792 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28793 }
28794 }
28795 if (obj4) {
28796 {
28797 arg5 = &temp5;
28798 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28799 }
28800 }
28801 if (obj5) {
28802 ecode6 = SWIG_AsVal_long(obj5, &val6);
28803 if (!SWIG_IsOK(ecode6)) {
28804 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
28805 }
28806 arg6 = static_cast< long >(val6);
28807 }
28808 if (obj6) {
28809 {
28810 arg7 = wxString_in_helper(obj6);
28811 if (arg7 == NULL) SWIG_fail;
28812 temp7 = true;
28813 }
28814 }
28815 {
28816 if (!wxPyCheckForApp()) SWIG_fail;
28817 PyThreadState* __tstate = wxPyBeginAllowThreads();
28818 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
28819 wxPyEndAllowThreads(__tstate);
28820 if (PyErr_Occurred()) SWIG_fail;
28821 }
28822 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_NEW | 0 );
28823 {
28824 if (temp7)
28825 delete arg7;
28826 }
28827 return resultobj;
28828 fail:
28829 {
28830 if (temp7)
28831 delete arg7;
28832 }
28833 return NULL;
28834 }
28835
28836
28837 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28838 PyObject *resultobj = 0;
28839 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28840 int result;
28841 void *argp1 = 0 ;
28842 int res1 = 0 ;
28843 PyObject *swig_obj[1] ;
28844
28845 if (!args) SWIG_fail;
28846 swig_obj[0] = args;
28847 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28848 if (!SWIG_IsOK(res1)) {
28849 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28850 }
28851 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28852 {
28853 PyThreadState* __tstate = wxPyBeginAllowThreads();
28854 result = (int)(arg1)->GetZoomControl();
28855 wxPyEndAllowThreads(__tstate);
28856 if (PyErr_Occurred()) SWIG_fail;
28857 }
28858 resultobj = SWIG_From_int(static_cast< int >(result));
28859 return resultobj;
28860 fail:
28861 return NULL;
28862 }
28863
28864
28865 SWIGINTERN PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28866 PyObject *resultobj = 0;
28867 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28868 int arg2 ;
28869 void *argp1 = 0 ;
28870 int res1 = 0 ;
28871 int val2 ;
28872 int ecode2 = 0 ;
28873 PyObject * obj0 = 0 ;
28874 PyObject * obj1 = 0 ;
28875 char * kwnames[] = {
28876 (char *) "self",(char *) "zoom", NULL
28877 };
28878
28879 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
28880 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28881 if (!SWIG_IsOK(res1)) {
28882 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28883 }
28884 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28885 ecode2 = SWIG_AsVal_int(obj1, &val2);
28886 if (!SWIG_IsOK(ecode2)) {
28887 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
28888 }
28889 arg2 = static_cast< int >(val2);
28890 {
28891 PyThreadState* __tstate = wxPyBeginAllowThreads();
28892 (arg1)->SetZoomControl(arg2);
28893 wxPyEndAllowThreads(__tstate);
28894 if (PyErr_Occurred()) SWIG_fail;
28895 }
28896 resultobj = SWIG_Py_Void();
28897 return resultobj;
28898 fail:
28899 return NULL;
28900 }
28901
28902
28903 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28904 PyObject *resultobj = 0;
28905 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28906 wxPrintPreview *result = 0 ;
28907 void *argp1 = 0 ;
28908 int res1 = 0 ;
28909 PyObject *swig_obj[1] ;
28910
28911 if (!args) SWIG_fail;
28912 swig_obj[0] = args;
28913 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28914 if (!SWIG_IsOK(res1)) {
28915 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28916 }
28917 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28918 {
28919 PyThreadState* __tstate = wxPyBeginAllowThreads();
28920 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
28921 wxPyEndAllowThreads(__tstate);
28922 if (PyErr_Occurred()) SWIG_fail;
28923 }
28924 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28925 return resultobj;
28926 fail:
28927 return NULL;
28928 }
28929
28930
28931 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28932 PyObject *resultobj = 0;
28933 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28934 void *argp1 = 0 ;
28935 int res1 = 0 ;
28936 PyObject *swig_obj[1] ;
28937
28938 if (!args) SWIG_fail;
28939 swig_obj[0] = args;
28940 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28941 if (!SWIG_IsOK(res1)) {
28942 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28943 }
28944 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28945 {
28946 PyThreadState* __tstate = wxPyBeginAllowThreads();
28947 (arg1)->OnNext();
28948 wxPyEndAllowThreads(__tstate);
28949 if (PyErr_Occurred()) SWIG_fail;
28950 }
28951 resultobj = SWIG_Py_Void();
28952 return resultobj;
28953 fail:
28954 return NULL;
28955 }
28956
28957
28958 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28959 PyObject *resultobj = 0;
28960 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28961 void *argp1 = 0 ;
28962 int res1 = 0 ;
28963 PyObject *swig_obj[1] ;
28964
28965 if (!args) SWIG_fail;
28966 swig_obj[0] = args;
28967 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28968 if (!SWIG_IsOK(res1)) {
28969 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28970 }
28971 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28972 {
28973 PyThreadState* __tstate = wxPyBeginAllowThreads();
28974 (arg1)->OnPrevious();
28975 wxPyEndAllowThreads(__tstate);
28976 if (PyErr_Occurred()) SWIG_fail;
28977 }
28978 resultobj = SWIG_Py_Void();
28979 return resultobj;
28980 fail:
28981 return NULL;
28982 }
28983
28984
28985 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28986 PyObject *resultobj = 0;
28987 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28988 void *argp1 = 0 ;
28989 int res1 = 0 ;
28990 PyObject *swig_obj[1] ;
28991
28992 if (!args) SWIG_fail;
28993 swig_obj[0] = args;
28994 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28995 if (!SWIG_IsOK(res1)) {
28996 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28997 }
28998 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28999 {
29000 PyThreadState* __tstate = wxPyBeginAllowThreads();
29001 (arg1)->OnFirst();
29002 wxPyEndAllowThreads(__tstate);
29003 if (PyErr_Occurred()) SWIG_fail;
29004 }
29005 resultobj = SWIG_Py_Void();
29006 return resultobj;
29007 fail:
29008 return NULL;
29009 }
29010
29011
29012 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnLast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29013 PyObject *resultobj = 0;
29014 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29015 void *argp1 = 0 ;
29016 int res1 = 0 ;
29017 PyObject *swig_obj[1] ;
29018
29019 if (!args) SWIG_fail;
29020 swig_obj[0] = args;
29021 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29022 if (!SWIG_IsOK(res1)) {
29023 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29024 }
29025 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29026 {
29027 PyThreadState* __tstate = wxPyBeginAllowThreads();
29028 (arg1)->OnLast();
29029 wxPyEndAllowThreads(__tstate);
29030 if (PyErr_Occurred()) SWIG_fail;
29031 }
29032 resultobj = SWIG_Py_Void();
29033 return resultobj;
29034 fail:
29035 return NULL;
29036 }
29037
29038
29039 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29040 PyObject *resultobj = 0;
29041 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29042 void *argp1 = 0 ;
29043 int res1 = 0 ;
29044 PyObject *swig_obj[1] ;
29045
29046 if (!args) SWIG_fail;
29047 swig_obj[0] = args;
29048 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29049 if (!SWIG_IsOK(res1)) {
29050 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29051 }
29052 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29053 {
29054 PyThreadState* __tstate = wxPyBeginAllowThreads();
29055 (arg1)->OnGoto();
29056 wxPyEndAllowThreads(__tstate);
29057 if (PyErr_Occurred()) SWIG_fail;
29058 }
29059 resultobj = SWIG_Py_Void();
29060 return resultobj;
29061 fail:
29062 return NULL;
29063 }
29064
29065
29066 SWIGINTERN PyObject *PreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29067 PyObject *obj;
29068 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29069 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar, SWIG_NewClientData(obj));
29070 return SWIG_Py_Void();
29071 }
29072
29073 SWIGINTERN PyObject *PreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29074 return SWIG_Python_InitShadowInstance(args);
29075 }
29076
29077 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29078 PyObject *resultobj = 0;
29079 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29080 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29081 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
29082 wxPrintPreview *result = 0 ;
29083 int res1 = 0 ;
29084 int res2 = 0 ;
29085 void *argp3 = 0 ;
29086 int res3 = 0 ;
29087
29088 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
29089 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29090 if (!SWIG_IsOK(res1)) {
29091 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29092 }
29093 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29094 if (!SWIG_IsOK(res2)) {
29095 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29096 }
29097 if (swig_obj[2]) {
29098 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29099 if (!SWIG_IsOK(res3)) {
29100 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29101 }
29102 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
29103 }
29104 {
29105 if (!wxPyCheckForApp()) SWIG_fail;
29106 PyThreadState* __tstate = wxPyBeginAllowThreads();
29107 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
29108 wxPyEndAllowThreads(__tstate);
29109 if (PyErr_Occurred()) SWIG_fail;
29110 }
29111 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
29112 return resultobj;
29113 fail:
29114 return NULL;
29115 }
29116
29117
29118 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29119 PyObject *resultobj = 0;
29120 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29121 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29122 wxPrintData *arg3 = (wxPrintData *) 0 ;
29123 wxPrintPreview *result = 0 ;
29124 int res1 = 0 ;
29125 int res2 = 0 ;
29126 void *argp3 = 0 ;
29127 int res3 = 0 ;
29128
29129 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
29130 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29131 if (!SWIG_IsOK(res1)) {
29132 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29133 }
29134 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29135 if (!SWIG_IsOK(res2)) {
29136 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29137 }
29138 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
29139 if (!SWIG_IsOK(res3)) {
29140 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29141 }
29142 arg3 = reinterpret_cast< wxPrintData * >(argp3);
29143 {
29144 if (!wxPyCheckForApp()) SWIG_fail;
29145 PyThreadState* __tstate = wxPyBeginAllowThreads();
29146 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
29147 wxPyEndAllowThreads(__tstate);
29148 if (PyErr_Occurred()) SWIG_fail;
29149 }
29150 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
29151 return resultobj;
29152 fail:
29153 return NULL;
29154 }
29155
29156
29157 SWIGINTERN PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
29158 int argc;
29159 PyObject *argv[4];
29160
29161 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintPreview",0,3,argv))) SWIG_fail;
29162 --argc;
29163 if ((argc >= 2) && (argc <= 3)) {
29164 int _v = 0;
29165 if (argc > 2) {
29166 {
29167 void *vptr = 0;
29168 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
29169 _v = SWIG_CheckState(res);
29170 }
29171 if (!_v) goto check_1;
29172 }
29173 return _wrap_new_PrintPreview__SWIG_0(self, argc, argv);
29174 }
29175 check_1:
29176
29177 if (argc == 3) {
29178 return _wrap_new_PrintPreview__SWIG_1(self, argc, argv);
29179 }
29180
29181 fail:
29182 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
29183 return NULL;
29184 }
29185
29186
29187 SWIGINTERN PyObject *_wrap_delete_PrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29188 PyObject *resultobj = 0;
29189 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29190 void *argp1 = 0 ;
29191 int res1 = 0 ;
29192 PyObject *swig_obj[1] ;
29193
29194 if (!args) SWIG_fail;
29195 swig_obj[0] = args;
29196 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
29197 if (!SWIG_IsOK(res1)) {
29198 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29199 }
29200 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29201 {
29202 PyThreadState* __tstate = wxPyBeginAllowThreads();
29203 delete arg1;
29204
29205 wxPyEndAllowThreads(__tstate);
29206 if (PyErr_Occurred()) SWIG_fail;
29207 }
29208 resultobj = SWIG_Py_Void();
29209 return resultobj;
29210 fail:
29211 return NULL;
29212 }
29213
29214
29215 SWIGINTERN PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29216 PyObject *resultobj = 0;
29217 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29218 int arg2 ;
29219 bool result;
29220 void *argp1 = 0 ;
29221 int res1 = 0 ;
29222 int val2 ;
29223 int ecode2 = 0 ;
29224 PyObject * obj0 = 0 ;
29225 PyObject * obj1 = 0 ;
29226 char * kwnames[] = {
29227 (char *) "self",(char *) "pageNum", NULL
29228 };
29229
29230 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) SWIG_fail;
29231 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29232 if (!SWIG_IsOK(res1)) {
29233 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29234 }
29235 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29236 ecode2 = SWIG_AsVal_int(obj1, &val2);
29237 if (!SWIG_IsOK(ecode2)) {
29238 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
29239 }
29240 arg2 = static_cast< int >(val2);
29241 {
29242 PyThreadState* __tstate = wxPyBeginAllowThreads();
29243 result = (bool)(arg1)->SetCurrentPage(arg2);
29244 wxPyEndAllowThreads(__tstate);
29245 if (PyErr_Occurred()) SWIG_fail;
29246 }
29247 {
29248 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29249 }
29250 return resultobj;
29251 fail:
29252 return NULL;
29253 }
29254
29255
29256 SWIGINTERN PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29257 PyObject *resultobj = 0;
29258 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29259 int result;
29260 void *argp1 = 0 ;
29261 int res1 = 0 ;
29262 PyObject *swig_obj[1] ;
29263
29264 if (!args) SWIG_fail;
29265 swig_obj[0] = args;
29266 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29267 if (!SWIG_IsOK(res1)) {
29268 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29269 }
29270 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29271 {
29272 PyThreadState* __tstate = wxPyBeginAllowThreads();
29273 result = (int)(arg1)->GetCurrentPage();
29274 wxPyEndAllowThreads(__tstate);
29275 if (PyErr_Occurred()) SWIG_fail;
29276 }
29277 resultobj = SWIG_From_int(static_cast< int >(result));
29278 return resultobj;
29279 fail:
29280 return NULL;
29281 }
29282
29283
29284 SWIGINTERN PyObject *_wrap_PrintPreview_SetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29285 PyObject *resultobj = 0;
29286 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29287 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29288 void *argp1 = 0 ;
29289 int res1 = 0 ;
29290 int res2 = 0 ;
29291 PyObject * obj0 = 0 ;
29292 PyObject * obj1 = 0 ;
29293 char * kwnames[] = {
29294 (char *) "self",(char *) "printout", NULL
29295 };
29296
29297 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) SWIG_fail;
29298 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29299 if (!SWIG_IsOK(res1)) {
29300 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29301 }
29302 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29303 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29304 if (!SWIG_IsOK(res2)) {
29305 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29306 }
29307 {
29308 PyThreadState* __tstate = wxPyBeginAllowThreads();
29309 (arg1)->SetPrintout(arg2);
29310 wxPyEndAllowThreads(__tstate);
29311 if (PyErr_Occurred()) SWIG_fail;
29312 }
29313 resultobj = SWIG_Py_Void();
29314 return resultobj;
29315 fail:
29316 return NULL;
29317 }
29318
29319
29320 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29321 PyObject *resultobj = 0;
29322 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29323 wxPyPrintout *result = 0 ;
29324 void *argp1 = 0 ;
29325 int res1 = 0 ;
29326 PyObject *swig_obj[1] ;
29327
29328 if (!args) SWIG_fail;
29329 swig_obj[0] = args;
29330 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29331 if (!SWIG_IsOK(res1)) {
29332 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29333 }
29334 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29335 {
29336 PyThreadState* __tstate = wxPyBeginAllowThreads();
29337 result = (wxPyPrintout *)(arg1)->GetPrintout();
29338 wxPyEndAllowThreads(__tstate);
29339 if (PyErr_Occurred()) SWIG_fail;
29340 }
29341 {
29342 resultobj = wxPyMake_wxObject(result, 0);
29343 }
29344 return resultobj;
29345 fail:
29346 return NULL;
29347 }
29348
29349
29350 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29351 PyObject *resultobj = 0;
29352 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29353 wxPyPrintout *result = 0 ;
29354 void *argp1 = 0 ;
29355 int res1 = 0 ;
29356 PyObject *swig_obj[1] ;
29357
29358 if (!args) SWIG_fail;
29359 swig_obj[0] = args;
29360 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29361 if (!SWIG_IsOK(res1)) {
29362 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29363 }
29364 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29365 {
29366 PyThreadState* __tstate = wxPyBeginAllowThreads();
29367 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
29368 wxPyEndAllowThreads(__tstate);
29369 if (PyErr_Occurred()) SWIG_fail;
29370 }
29371 {
29372 resultobj = wxPyMake_wxObject(result, 0);
29373 }
29374 return resultobj;
29375 fail:
29376 return NULL;
29377 }
29378
29379
29380 SWIGINTERN PyObject *_wrap_PrintPreview_SetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29381 PyObject *resultobj = 0;
29382 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29383 wxFrame *arg2 = (wxFrame *) 0 ;
29384 void *argp1 = 0 ;
29385 int res1 = 0 ;
29386 void *argp2 = 0 ;
29387 int res2 = 0 ;
29388 PyObject * obj0 = 0 ;
29389 PyObject * obj1 = 0 ;
29390 char * kwnames[] = {
29391 (char *) "self",(char *) "frame", NULL
29392 };
29393
29394 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) SWIG_fail;
29395 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29396 if (!SWIG_IsOK(res1)) {
29397 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29398 }
29399 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29400 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
29401 if (!SWIG_IsOK(res2)) {
29402 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29403 }
29404 arg2 = reinterpret_cast< wxFrame * >(argp2);
29405 {
29406 PyThreadState* __tstate = wxPyBeginAllowThreads();
29407 (arg1)->SetFrame(arg2);
29408 wxPyEndAllowThreads(__tstate);
29409 if (PyErr_Occurred()) SWIG_fail;
29410 }
29411 resultobj = SWIG_Py_Void();
29412 return resultobj;
29413 fail:
29414 return NULL;
29415 }
29416
29417
29418 SWIGINTERN PyObject *_wrap_PrintPreview_SetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29419 PyObject *resultobj = 0;
29420 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29421 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29422 void *argp1 = 0 ;
29423 int res1 = 0 ;
29424 void *argp2 = 0 ;
29425 int res2 = 0 ;
29426 PyObject * obj0 = 0 ;
29427 PyObject * obj1 = 0 ;
29428 char * kwnames[] = {
29429 (char *) "self",(char *) "canvas", NULL
29430 };
29431
29432 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
29433 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29434 if (!SWIG_IsOK(res1)) {
29435 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29436 }
29437 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29438 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29439 if (!SWIG_IsOK(res2)) {
29440 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29441 }
29442 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29443 {
29444 PyThreadState* __tstate = wxPyBeginAllowThreads();
29445 (arg1)->SetCanvas(arg2);
29446 wxPyEndAllowThreads(__tstate);
29447 if (PyErr_Occurred()) SWIG_fail;
29448 }
29449 resultobj = SWIG_Py_Void();
29450 return resultobj;
29451 fail:
29452 return NULL;
29453 }
29454
29455
29456 SWIGINTERN PyObject *_wrap_PrintPreview_GetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29457 PyObject *resultobj = 0;
29458 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29459 wxFrame *result = 0 ;
29460 void *argp1 = 0 ;
29461 int res1 = 0 ;
29462 PyObject *swig_obj[1] ;
29463
29464 if (!args) SWIG_fail;
29465 swig_obj[0] = args;
29466 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29467 if (!SWIG_IsOK(res1)) {
29468 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29469 }
29470 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29471 {
29472 PyThreadState* __tstate = wxPyBeginAllowThreads();
29473 result = (wxFrame *)(arg1)->GetFrame();
29474 wxPyEndAllowThreads(__tstate);
29475 if (PyErr_Occurred()) SWIG_fail;
29476 }
29477 {
29478 resultobj = wxPyMake_wxObject(result, 0);
29479 }
29480 return resultobj;
29481 fail:
29482 return NULL;
29483 }
29484
29485
29486 SWIGINTERN PyObject *_wrap_PrintPreview_GetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29487 PyObject *resultobj = 0;
29488 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29489 wxPreviewCanvas *result = 0 ;
29490 void *argp1 = 0 ;
29491 int res1 = 0 ;
29492 PyObject *swig_obj[1] ;
29493
29494 if (!args) SWIG_fail;
29495 swig_obj[0] = args;
29496 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29497 if (!SWIG_IsOK(res1)) {
29498 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29499 }
29500 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29501 {
29502 PyThreadState* __tstate = wxPyBeginAllowThreads();
29503 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
29504 wxPyEndAllowThreads(__tstate);
29505 if (PyErr_Occurred()) SWIG_fail;
29506 }
29507 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29508 return resultobj;
29509 fail:
29510 return NULL;
29511 }
29512
29513
29514 SWIGINTERN PyObject *_wrap_PrintPreview_PaintPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29515 PyObject *resultobj = 0;
29516 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29517 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29518 wxDC *arg3 = 0 ;
29519 bool result;
29520 void *argp1 = 0 ;
29521 int res1 = 0 ;
29522 void *argp2 = 0 ;
29523 int res2 = 0 ;
29524 void *argp3 = 0 ;
29525 int res3 = 0 ;
29526 PyObject * obj0 = 0 ;
29527 PyObject * obj1 = 0 ;
29528 PyObject * obj2 = 0 ;
29529 char * kwnames[] = {
29530 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29531 };
29532
29533 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29534 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29535 if (!SWIG_IsOK(res1)) {
29536 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29537 }
29538 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29539 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29540 if (!SWIG_IsOK(res2)) {
29541 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29542 }
29543 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29544 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
29545 if (!SWIG_IsOK(res3)) {
29546 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29547 }
29548 if (!argp3) {
29549 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29550 }
29551 arg3 = reinterpret_cast< wxDC * >(argp3);
29552 {
29553 PyThreadState* __tstate = wxPyBeginAllowThreads();
29554 result = (bool)(arg1)->PaintPage(arg2,*arg3);
29555 wxPyEndAllowThreads(__tstate);
29556 if (PyErr_Occurred()) SWIG_fail;
29557 }
29558 {
29559 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29560 }
29561 return resultobj;
29562 fail:
29563 return NULL;
29564 }
29565
29566
29567 SWIGINTERN PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29568 PyObject *resultobj = 0;
29569 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29570 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29571 wxDC *arg3 = 0 ;
29572 bool result;
29573 void *argp1 = 0 ;
29574 int res1 = 0 ;
29575 void *argp2 = 0 ;
29576 int res2 = 0 ;
29577 void *argp3 = 0 ;
29578 int res3 = 0 ;
29579 PyObject * obj0 = 0 ;
29580 PyObject * obj1 = 0 ;
29581 PyObject * obj2 = 0 ;
29582 char * kwnames[] = {
29583 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29584 };
29585
29586 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29587 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29588 if (!SWIG_IsOK(res1)) {
29589 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29590 }
29591 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29592 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29593 if (!SWIG_IsOK(res2)) {
29594 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29595 }
29596 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29597 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
29598 if (!SWIG_IsOK(res3)) {
29599 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29600 }
29601 if (!argp3) {
29602 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29603 }
29604 arg3 = reinterpret_cast< wxDC * >(argp3);
29605 {
29606 PyThreadState* __tstate = wxPyBeginAllowThreads();
29607 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
29608 wxPyEndAllowThreads(__tstate);
29609 if (PyErr_Occurred()) SWIG_fail;
29610 }
29611 {
29612 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29613 }
29614 return resultobj;
29615 fail:
29616 return NULL;
29617 }
29618
29619
29620 SWIGINTERN PyObject *_wrap_PrintPreview_RenderPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29621 PyObject *resultobj = 0;
29622 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29623 int arg2 ;
29624 bool result;
29625 void *argp1 = 0 ;
29626 int res1 = 0 ;
29627 int val2 ;
29628 int ecode2 = 0 ;
29629 PyObject * obj0 = 0 ;
29630 PyObject * obj1 = 0 ;
29631 char * kwnames[] = {
29632 (char *) "self",(char *) "pageNum", NULL
29633 };
29634
29635 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) SWIG_fail;
29636 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29637 if (!SWIG_IsOK(res1)) {
29638 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29639 }
29640 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29641 ecode2 = SWIG_AsVal_int(obj1, &val2);
29642 if (!SWIG_IsOK(ecode2)) {
29643 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
29644 }
29645 arg2 = static_cast< int >(val2);
29646 {
29647 PyThreadState* __tstate = wxPyBeginAllowThreads();
29648 result = (bool)(arg1)->RenderPage(arg2);
29649 wxPyEndAllowThreads(__tstate);
29650 if (PyErr_Occurred()) SWIG_fail;
29651 }
29652 {
29653 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29654 }
29655 return resultobj;
29656 fail:
29657 return NULL;
29658 }
29659
29660
29661 SWIGINTERN PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29662 PyObject *resultobj = 0;
29663 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29664 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29665 void *argp1 = 0 ;
29666 int res1 = 0 ;
29667 void *argp2 = 0 ;
29668 int res2 = 0 ;
29669 PyObject * obj0 = 0 ;
29670 PyObject * obj1 = 0 ;
29671 char * kwnames[] = {
29672 (char *) "self",(char *) "canvas", NULL
29673 };
29674
29675 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) SWIG_fail;
29676 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29677 if (!SWIG_IsOK(res1)) {
29678 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29679 }
29680 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29681 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29682 if (!SWIG_IsOK(res2)) {
29683 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29684 }
29685 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29686 {
29687 PyThreadState* __tstate = wxPyBeginAllowThreads();
29688 (arg1)->AdjustScrollbars(arg2);
29689 wxPyEndAllowThreads(__tstate);
29690 if (PyErr_Occurred()) SWIG_fail;
29691 }
29692 resultobj = SWIG_Py_Void();
29693 return resultobj;
29694 fail:
29695 return NULL;
29696 }
29697
29698
29699 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29700 PyObject *resultobj = 0;
29701 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29702 wxPrintDialogData *result = 0 ;
29703 void *argp1 = 0 ;
29704 int res1 = 0 ;
29705 PyObject *swig_obj[1] ;
29706
29707 if (!args) SWIG_fail;
29708 swig_obj[0] = args;
29709 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29710 if (!SWIG_IsOK(res1)) {
29711 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29712 }
29713 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29714 {
29715 PyThreadState* __tstate = wxPyBeginAllowThreads();
29716 {
29717 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
29718 result = (wxPrintDialogData *) &_result_ref;
29719 }
29720 wxPyEndAllowThreads(__tstate);
29721 if (PyErr_Occurred()) SWIG_fail;
29722 }
29723 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29724 return resultobj;
29725 fail:
29726 return NULL;
29727 }
29728
29729
29730 SWIGINTERN PyObject *_wrap_PrintPreview_SetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29731 PyObject *resultobj = 0;
29732 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29733 int arg2 ;
29734 void *argp1 = 0 ;
29735 int res1 = 0 ;
29736 int val2 ;
29737 int ecode2 = 0 ;
29738 PyObject * obj0 = 0 ;
29739 PyObject * obj1 = 0 ;
29740 char * kwnames[] = {
29741 (char *) "self",(char *) "percent", NULL
29742 };
29743
29744 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) SWIG_fail;
29745 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29746 if (!SWIG_IsOK(res1)) {
29747 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29748 }
29749 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29750 ecode2 = SWIG_AsVal_int(obj1, &val2);
29751 if (!SWIG_IsOK(ecode2)) {
29752 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
29753 }
29754 arg2 = static_cast< int >(val2);
29755 {
29756 PyThreadState* __tstate = wxPyBeginAllowThreads();
29757 (arg1)->SetZoom(arg2);
29758 wxPyEndAllowThreads(__tstate);
29759 if (PyErr_Occurred()) SWIG_fail;
29760 }
29761 resultobj = SWIG_Py_Void();
29762 return resultobj;
29763 fail:
29764 return NULL;
29765 }
29766
29767
29768 SWIGINTERN PyObject *_wrap_PrintPreview_GetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29769 PyObject *resultobj = 0;
29770 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29771 int result;
29772 void *argp1 = 0 ;
29773 int res1 = 0 ;
29774 PyObject *swig_obj[1] ;
29775
29776 if (!args) SWIG_fail;
29777 swig_obj[0] = args;
29778 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29779 if (!SWIG_IsOK(res1)) {
29780 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29781 }
29782 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29783 {
29784 PyThreadState* __tstate = wxPyBeginAllowThreads();
29785 result = (int)(arg1)->GetZoom();
29786 wxPyEndAllowThreads(__tstate);
29787 if (PyErr_Occurred()) SWIG_fail;
29788 }
29789 resultobj = SWIG_From_int(static_cast< int >(result));
29790 return resultobj;
29791 fail:
29792 return NULL;
29793 }
29794
29795
29796 SWIGINTERN PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29797 PyObject *resultobj = 0;
29798 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29799 int result;
29800 void *argp1 = 0 ;
29801 int res1 = 0 ;
29802 PyObject *swig_obj[1] ;
29803
29804 if (!args) SWIG_fail;
29805 swig_obj[0] = args;
29806 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29807 if (!SWIG_IsOK(res1)) {
29808 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29809 }
29810 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29811 {
29812 PyThreadState* __tstate = wxPyBeginAllowThreads();
29813 result = (int)(arg1)->GetMaxPage();
29814 wxPyEndAllowThreads(__tstate);
29815 if (PyErr_Occurred()) SWIG_fail;
29816 }
29817 resultobj = SWIG_From_int(static_cast< int >(result));
29818 return resultobj;
29819 fail:
29820 return NULL;
29821 }
29822
29823
29824 SWIGINTERN PyObject *_wrap_PrintPreview_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29825 PyObject *resultobj = 0;
29826 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29827 int result;
29828 void *argp1 = 0 ;
29829 int res1 = 0 ;
29830 PyObject *swig_obj[1] ;
29831
29832 if (!args) SWIG_fail;
29833 swig_obj[0] = args;
29834 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29835 if (!SWIG_IsOK(res1)) {
29836 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29837 }
29838 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29839 {
29840 PyThreadState* __tstate = wxPyBeginAllowThreads();
29841 result = (int)(arg1)->GetMinPage();
29842 wxPyEndAllowThreads(__tstate);
29843 if (PyErr_Occurred()) SWIG_fail;
29844 }
29845 resultobj = SWIG_From_int(static_cast< int >(result));
29846 return resultobj;
29847 fail:
29848 return NULL;
29849 }
29850
29851
29852 SWIGINTERN PyObject *_wrap_PrintPreview_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29853 PyObject *resultobj = 0;
29854 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29855 bool result;
29856 void *argp1 = 0 ;
29857 int res1 = 0 ;
29858 PyObject *swig_obj[1] ;
29859
29860 if (!args) SWIG_fail;
29861 swig_obj[0] = args;
29862 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29863 if (!SWIG_IsOK(res1)) {
29864 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Ok" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29865 }
29866 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29867 {
29868 PyThreadState* __tstate = wxPyBeginAllowThreads();
29869 result = (bool)(arg1)->Ok();
29870 wxPyEndAllowThreads(__tstate);
29871 if (PyErr_Occurred()) SWIG_fail;
29872 }
29873 {
29874 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29875 }
29876 return resultobj;
29877 fail:
29878 return NULL;
29879 }
29880
29881
29882 SWIGINTERN PyObject *_wrap_PrintPreview_SetOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29883 PyObject *resultobj = 0;
29884 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29885 bool arg2 ;
29886 void *argp1 = 0 ;
29887 int res1 = 0 ;
29888 bool val2 ;
29889 int ecode2 = 0 ;
29890 PyObject * obj0 = 0 ;
29891 PyObject * obj1 = 0 ;
29892 char * kwnames[] = {
29893 (char *) "self",(char *) "ok", NULL
29894 };
29895
29896 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) SWIG_fail;
29897 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29898 if (!SWIG_IsOK(res1)) {
29899 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29900 }
29901 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29902 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29903 if (!SWIG_IsOK(ecode2)) {
29904 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
29905 }
29906 arg2 = static_cast< bool >(val2);
29907 {
29908 PyThreadState* __tstate = wxPyBeginAllowThreads();
29909 (arg1)->SetOk(arg2);
29910 wxPyEndAllowThreads(__tstate);
29911 if (PyErr_Occurred()) SWIG_fail;
29912 }
29913 resultobj = SWIG_Py_Void();
29914 return resultobj;
29915 fail:
29916 return NULL;
29917 }
29918
29919
29920 SWIGINTERN PyObject *_wrap_PrintPreview_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29921 PyObject *resultobj = 0;
29922 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29923 bool arg2 ;
29924 bool result;
29925 void *argp1 = 0 ;
29926 int res1 = 0 ;
29927 bool val2 ;
29928 int ecode2 = 0 ;
29929 PyObject * obj0 = 0 ;
29930 PyObject * obj1 = 0 ;
29931 char * kwnames[] = {
29932 (char *) "self",(char *) "interactive", NULL
29933 };
29934
29935 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) SWIG_fail;
29936 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29937 if (!SWIG_IsOK(res1)) {
29938 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29939 }
29940 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29941 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29942 if (!SWIG_IsOK(ecode2)) {
29943 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
29944 }
29945 arg2 = static_cast< bool >(val2);
29946 {
29947 PyThreadState* __tstate = wxPyBeginAllowThreads();
29948 result = (bool)(arg1)->Print(arg2);
29949 wxPyEndAllowThreads(__tstate);
29950 if (PyErr_Occurred()) SWIG_fail;
29951 }
29952 {
29953 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29954 }
29955 return resultobj;
29956 fail:
29957 return NULL;
29958 }
29959
29960
29961 SWIGINTERN PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29962 PyObject *resultobj = 0;
29963 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29964 void *argp1 = 0 ;
29965 int res1 = 0 ;
29966 PyObject *swig_obj[1] ;
29967
29968 if (!args) SWIG_fail;
29969 swig_obj[0] = args;
29970 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29971 if (!SWIG_IsOK(res1)) {
29972 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29973 }
29974 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29975 {
29976 PyThreadState* __tstate = wxPyBeginAllowThreads();
29977 (arg1)->DetermineScaling();
29978 wxPyEndAllowThreads(__tstate);
29979 if (PyErr_Occurred()) SWIG_fail;
29980 }
29981 resultobj = SWIG_Py_Void();
29982 return resultobj;
29983 fail:
29984 return NULL;
29985 }
29986
29987
29988 SWIGINTERN PyObject *PrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29989 PyObject *obj;
29990 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29991 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview, SWIG_NewClientData(obj));
29992 return SWIG_Py_Void();
29993 }
29994
29995 SWIGINTERN PyObject *PrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29996 return SWIG_Python_InitShadowInstance(args);
29997 }
29998
29999 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30000 PyObject *resultobj = 0;
30001 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30002 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30003 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
30004 wxPyPrintPreview *result = 0 ;
30005 int res1 = 0 ;
30006 int res2 = 0 ;
30007 void *argp3 = 0 ;
30008 int res3 = 0 ;
30009
30010 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
30011 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30012 if (!SWIG_IsOK(res1)) {
30013 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30014 }
30015 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30016 if (!SWIG_IsOK(res2)) {
30017 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30018 }
30019 if (swig_obj[2]) {
30020 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
30021 if (!SWIG_IsOK(res3)) {
30022 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
30023 }
30024 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
30025 }
30026 {
30027 if (!wxPyCheckForApp()) SWIG_fail;
30028 PyThreadState* __tstate = wxPyBeginAllowThreads();
30029 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
30030 wxPyEndAllowThreads(__tstate);
30031 if (PyErr_Occurred()) SWIG_fail;
30032 }
30033 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
30034 return resultobj;
30035 fail:
30036 return NULL;
30037 }
30038
30039
30040 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30041 PyObject *resultobj = 0;
30042 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30043 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30044 wxPrintData *arg3 = (wxPrintData *) 0 ;
30045 wxPyPrintPreview *result = 0 ;
30046 int res1 = 0 ;
30047 int res2 = 0 ;
30048 void *argp3 = 0 ;
30049 int res3 = 0 ;
30050
30051 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
30052 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30053 if (!SWIG_IsOK(res1)) {
30054 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30055 }
30056 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30057 if (!SWIG_IsOK(res2)) {
30058 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30059 }
30060 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
30061 if (!SWIG_IsOK(res3)) {
30062 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30063 }
30064 arg3 = reinterpret_cast< wxPrintData * >(argp3);
30065 {
30066 if (!wxPyCheckForApp()) SWIG_fail;
30067 PyThreadState* __tstate = wxPyBeginAllowThreads();
30068 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
30069 wxPyEndAllowThreads(__tstate);
30070 if (PyErr_Occurred()) SWIG_fail;
30071 }
30072 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
30073 return resultobj;
30074 fail:
30075 return NULL;
30076 }
30077
30078
30079 SWIGINTERN PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
30080 int argc;
30081 PyObject *argv[4];
30082
30083 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PyPrintPreview",0,3,argv))) SWIG_fail;
30084 --argc;
30085 if ((argc >= 2) && (argc <= 3)) {
30086 int _v = 0;
30087 if (argc > 2) {
30088 {
30089 void *vptr = 0;
30090 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
30091 _v = SWIG_CheckState(res);
30092 }
30093 if (!_v) goto check_1;
30094 }
30095 return _wrap_new_PyPrintPreview__SWIG_0(self, argc, argv);
30096 }
30097 check_1:
30098
30099 if (argc == 3) {
30100 return _wrap_new_PyPrintPreview__SWIG_1(self, argc, argv);
30101 }
30102
30103 fail:
30104 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
30105 return NULL;
30106 }
30107
30108
30109 SWIGINTERN PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30110 PyObject *resultobj = 0;
30111 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
30112 PyObject *arg2 = (PyObject *) 0 ;
30113 PyObject *arg3 = (PyObject *) 0 ;
30114 void *argp1 = 0 ;
30115 int res1 = 0 ;
30116 PyObject * obj0 = 0 ;
30117 PyObject * obj1 = 0 ;
30118 PyObject * obj2 = 0 ;
30119 char * kwnames[] = {
30120 (char *) "self",(char *) "self",(char *) "_class", NULL
30121 };
30122
30123 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30124 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintPreview, 0 | 0 );
30125 if (!SWIG_IsOK(res1)) {
30126 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
30127 }
30128 arg1 = reinterpret_cast< wxPyPrintPreview * >(argp1);
30129 arg2 = obj1;
30130 arg3 = obj2;
30131 {
30132 PyThreadState* __tstate = wxPyBeginAllowThreads();
30133 (arg1)->_setCallbackInfo(arg2,arg3);
30134 wxPyEndAllowThreads(__tstate);
30135 if (PyErr_Occurred()) SWIG_fail;
30136 }
30137 resultobj = SWIG_Py_Void();
30138 return resultobj;
30139 fail:
30140 return NULL;
30141 }
30142
30143
30144 SWIGINTERN PyObject *PyPrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30145 PyObject *obj;
30146 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30147 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview, SWIG_NewClientData(obj));
30148 return SWIG_Py_Void();
30149 }
30150
30151 SWIGINTERN PyObject *PyPrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30152 return SWIG_Python_InitShadowInstance(args);
30153 }
30154
30155 SWIGINTERN PyObject *_wrap_new_PyPreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30156 PyObject *resultobj = 0;
30157 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30158 wxFrame *arg2 = (wxFrame *) 0 ;
30159 wxString *arg3 = 0 ;
30160 wxPoint const &arg4_defvalue = wxDefaultPosition ;
30161 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
30162 wxSize const &arg5_defvalue = wxDefaultSize ;
30163 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
30164 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
30165 wxString const &arg7_defvalue = wxPyFrameNameStr ;
30166 wxString *arg7 = (wxString *) &arg7_defvalue ;
30167 wxPyPreviewFrame *result = 0 ;
30168 void *argp1 = 0 ;
30169 int res1 = 0 ;
30170 void *argp2 = 0 ;
30171 int res2 = 0 ;
30172 bool temp3 = false ;
30173 wxPoint temp4 ;
30174 wxSize temp5 ;
30175 long val6 ;
30176 int ecode6 = 0 ;
30177 bool temp7 = false ;
30178 PyObject * obj0 = 0 ;
30179 PyObject * obj1 = 0 ;
30180 PyObject * obj2 = 0 ;
30181 PyObject * obj3 = 0 ;
30182 PyObject * obj4 = 0 ;
30183 PyObject * obj5 = 0 ;
30184 PyObject * obj6 = 0 ;
30185 char * kwnames[] = {
30186 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30187 };
30188
30189 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
30190 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30191 if (!SWIG_IsOK(res1)) {
30192 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30193 }
30194 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30195 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
30196 if (!SWIG_IsOK(res2)) {
30197 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30198 }
30199 arg2 = reinterpret_cast< wxFrame * >(argp2);
30200 {
30201 arg3 = wxString_in_helper(obj2);
30202 if (arg3 == NULL) SWIG_fail;
30203 temp3 = true;
30204 }
30205 if (obj3) {
30206 {
30207 arg4 = &temp4;
30208 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
30209 }
30210 }
30211 if (obj4) {
30212 {
30213 arg5 = &temp5;
30214 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
30215 }
30216 }
30217 if (obj5) {
30218 ecode6 = SWIG_AsVal_long(obj5, &val6);
30219 if (!SWIG_IsOK(ecode6)) {
30220 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
30221 }
30222 arg6 = static_cast< long >(val6);
30223 }
30224 if (obj6) {
30225 {
30226 arg7 = wxString_in_helper(obj6);
30227 if (arg7 == NULL) SWIG_fail;
30228 temp7 = true;
30229 }
30230 }
30231 {
30232 if (!wxPyCheckForApp()) SWIG_fail;
30233 PyThreadState* __tstate = wxPyBeginAllowThreads();
30234 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
30235 wxPyEndAllowThreads(__tstate);
30236 if (PyErr_Occurred()) SWIG_fail;
30237 }
30238 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_NEW | 0 );
30239 {
30240 if (temp3)
30241 delete arg3;
30242 }
30243 {
30244 if (temp7)
30245 delete arg7;
30246 }
30247 return resultobj;
30248 fail:
30249 {
30250 if (temp3)
30251 delete arg3;
30252 }
30253 {
30254 if (temp7)
30255 delete arg7;
30256 }
30257 return NULL;
30258 }
30259
30260
30261 SWIGINTERN PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30262 PyObject *resultobj = 0;
30263 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30264 PyObject *arg2 = (PyObject *) 0 ;
30265 PyObject *arg3 = (PyObject *) 0 ;
30266 void *argp1 = 0 ;
30267 int res1 = 0 ;
30268 PyObject * obj0 = 0 ;
30269 PyObject * obj1 = 0 ;
30270 PyObject * obj2 = 0 ;
30271 char * kwnames[] = {
30272 (char *) "self",(char *) "self",(char *) "_class", NULL
30273 };
30274
30275 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30276 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30277 if (!SWIG_IsOK(res1)) {
30278 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30279 }
30280 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30281 arg2 = obj1;
30282 arg3 = obj2;
30283 {
30284 PyThreadState* __tstate = wxPyBeginAllowThreads();
30285 (arg1)->_setCallbackInfo(arg2,arg3);
30286 wxPyEndAllowThreads(__tstate);
30287 if (PyErr_Occurred()) SWIG_fail;
30288 }
30289 resultobj = SWIG_Py_Void();
30290 return resultobj;
30291 fail:
30292 return NULL;
30293 }
30294
30295
30296 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30297 PyObject *resultobj = 0;
30298 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30299 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30300 void *argp1 = 0 ;
30301 int res1 = 0 ;
30302 void *argp2 = 0 ;
30303 int res2 = 0 ;
30304 PyObject * obj0 = 0 ;
30305 PyObject * obj1 = 0 ;
30306 char * kwnames[] = {
30307 (char *) "self",(char *) "canvas", NULL
30308 };
30309
30310 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
30311 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30312 if (!SWIG_IsOK(res1)) {
30313 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30314 }
30315 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30316 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30317 if (!SWIG_IsOK(res2)) {
30318 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30319 }
30320 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30321 {
30322 PyThreadState* __tstate = wxPyBeginAllowThreads();
30323 (arg1)->SetPreviewCanvas(arg2);
30324 wxPyEndAllowThreads(__tstate);
30325 if (PyErr_Occurred()) SWIG_fail;
30326 }
30327 resultobj = SWIG_Py_Void();
30328 return resultobj;
30329 fail:
30330 return NULL;
30331 }
30332
30333
30334 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30335 PyObject *resultobj = 0;
30336 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30337 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
30338 void *argp1 = 0 ;
30339 int res1 = 0 ;
30340 void *argp2 = 0 ;
30341 int res2 = 0 ;
30342 PyObject * obj0 = 0 ;
30343 PyObject * obj1 = 0 ;
30344 char * kwnames[] = {
30345 (char *) "self",(char *) "bar", NULL
30346 };
30347
30348 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) SWIG_fail;
30349 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30350 if (!SWIG_IsOK(res1)) {
30351 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30352 }
30353 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30354 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30355 if (!SWIG_IsOK(res2)) {
30356 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
30357 }
30358 arg2 = reinterpret_cast< wxPreviewControlBar * >(argp2);
30359 {
30360 PyThreadState* __tstate = wxPyBeginAllowThreads();
30361 (arg1)->SetControlBar(arg2);
30362 wxPyEndAllowThreads(__tstate);
30363 if (PyErr_Occurred()) SWIG_fail;
30364 }
30365 resultobj = SWIG_Py_Void();
30366 return resultobj;
30367 fail:
30368 return NULL;
30369 }
30370
30371
30372 SWIGINTERN PyObject *_wrap_PyPreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30373 PyObject *resultobj = 0;
30374 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30375 void *argp1 = 0 ;
30376 int res1 = 0 ;
30377 PyObject *swig_obj[1] ;
30378
30379 if (!args) SWIG_fail;
30380 swig_obj[0] = args;
30381 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30382 if (!SWIG_IsOK(res1)) {
30383 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30384 }
30385 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30386 {
30387 PyThreadState* __tstate = wxPyBeginAllowThreads();
30388 (arg1)->Initialize();
30389 wxPyEndAllowThreads(__tstate);
30390 if (PyErr_Occurred()) SWIG_fail;
30391 }
30392 resultobj = SWIG_Py_Void();
30393 return resultobj;
30394 fail:
30395 return NULL;
30396 }
30397
30398
30399 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30400 PyObject *resultobj = 0;
30401 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30402 void *argp1 = 0 ;
30403 int res1 = 0 ;
30404 PyObject *swig_obj[1] ;
30405
30406 if (!args) SWIG_fail;
30407 swig_obj[0] = args;
30408 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30409 if (!SWIG_IsOK(res1)) {
30410 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30411 }
30412 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30413 {
30414 PyThreadState* __tstate = wxPyBeginAllowThreads();
30415 (arg1)->CreateCanvas();
30416 wxPyEndAllowThreads(__tstate);
30417 if (PyErr_Occurred()) SWIG_fail;
30418 }
30419 resultobj = SWIG_Py_Void();
30420 return resultobj;
30421 fail:
30422 return NULL;
30423 }
30424
30425
30426 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30427 PyObject *resultobj = 0;
30428 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30429 void *argp1 = 0 ;
30430 int res1 = 0 ;
30431 PyObject *swig_obj[1] ;
30432
30433 if (!args) SWIG_fail;
30434 swig_obj[0] = args;
30435 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30436 if (!SWIG_IsOK(res1)) {
30437 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30438 }
30439 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30440 {
30441 PyThreadState* __tstate = wxPyBeginAllowThreads();
30442 (arg1)->CreateControlBar();
30443 wxPyEndAllowThreads(__tstate);
30444 if (PyErr_Occurred()) SWIG_fail;
30445 }
30446 resultobj = SWIG_Py_Void();
30447 return resultobj;
30448 fail:
30449 return NULL;
30450 }
30451
30452
30453 SWIGINTERN PyObject *PyPreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30454 PyObject *obj;
30455 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30456 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame, SWIG_NewClientData(obj));
30457 return SWIG_Py_Void();
30458 }
30459
30460 SWIGINTERN PyObject *PyPreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30461 return SWIG_Python_InitShadowInstance(args);
30462 }
30463
30464 SWIGINTERN PyObject *_wrap_new_PyPreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30465 PyObject *resultobj = 0;
30466 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30467 long arg2 ;
30468 wxWindow *arg3 = (wxWindow *) 0 ;
30469 wxPoint const &arg4_defvalue = wxDefaultPosition ;
30470 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
30471 wxSize const &arg5_defvalue = wxDefaultSize ;
30472 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
30473 long arg6 = (long) 0 ;
30474 wxString const &arg7_defvalue = wxPyPanelNameStr ;
30475 wxString *arg7 = (wxString *) &arg7_defvalue ;
30476 wxPyPreviewControlBar *result = 0 ;
30477 void *argp1 = 0 ;
30478 int res1 = 0 ;
30479 long val2 ;
30480 int ecode2 = 0 ;
30481 void *argp3 = 0 ;
30482 int res3 = 0 ;
30483 wxPoint temp4 ;
30484 wxSize temp5 ;
30485 long val6 ;
30486 int ecode6 = 0 ;
30487 bool temp7 = false ;
30488 PyObject * obj0 = 0 ;
30489 PyObject * obj1 = 0 ;
30490 PyObject * obj2 = 0 ;
30491 PyObject * obj3 = 0 ;
30492 PyObject * obj4 = 0 ;
30493 PyObject * obj5 = 0 ;
30494 PyObject * obj6 = 0 ;
30495 char * kwnames[] = {
30496 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30497 };
30498
30499 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
30500 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30501 if (!SWIG_IsOK(res1)) {
30502 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30503 }
30504 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30505 ecode2 = SWIG_AsVal_long(obj1, &val2);
30506 if (!SWIG_IsOK(ecode2)) {
30507 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
30508 }
30509 arg2 = static_cast< long >(val2);
30510 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
30511 if (!SWIG_IsOK(res3)) {
30512 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
30513 }
30514 arg3 = reinterpret_cast< wxWindow * >(argp3);
30515 if (obj3) {
30516 {
30517 arg4 = &temp4;
30518 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
30519 }
30520 }
30521 if (obj4) {
30522 {
30523 arg5 = &temp5;
30524 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
30525 }
30526 }
30527 if (obj5) {
30528 ecode6 = SWIG_AsVal_long(obj5, &val6);
30529 if (!SWIG_IsOK(ecode6)) {
30530 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
30531 }
30532 arg6 = static_cast< long >(val6);
30533 }
30534 if (obj6) {
30535 {
30536 arg7 = wxString_in_helper(obj6);
30537 if (arg7 == NULL) SWIG_fail;
30538 temp7 = true;
30539 }
30540 }
30541 {
30542 if (!wxPyCheckForApp()) SWIG_fail;
30543 PyThreadState* __tstate = wxPyBeginAllowThreads();
30544 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
30545 wxPyEndAllowThreads(__tstate);
30546 if (PyErr_Occurred()) SWIG_fail;
30547 }
30548 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_NEW | 0 );
30549 {
30550 if (temp7)
30551 delete arg7;
30552 }
30553 return resultobj;
30554 fail:
30555 {
30556 if (temp7)
30557 delete arg7;
30558 }
30559 return NULL;
30560 }
30561
30562
30563 SWIGINTERN PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30564 PyObject *resultobj = 0;
30565 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30566 PyObject *arg2 = (PyObject *) 0 ;
30567 PyObject *arg3 = (PyObject *) 0 ;
30568 void *argp1 = 0 ;
30569 int res1 = 0 ;
30570 PyObject * obj0 = 0 ;
30571 PyObject * obj1 = 0 ;
30572 PyObject * obj2 = 0 ;
30573 char * kwnames[] = {
30574 (char *) "self",(char *) "self",(char *) "_class", NULL
30575 };
30576
30577 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30578 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30579 if (!SWIG_IsOK(res1)) {
30580 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30581 }
30582 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30583 arg2 = obj1;
30584 arg3 = obj2;
30585 {
30586 PyThreadState* __tstate = wxPyBeginAllowThreads();
30587 (arg1)->_setCallbackInfo(arg2,arg3);
30588 wxPyEndAllowThreads(__tstate);
30589 if (PyErr_Occurred()) SWIG_fail;
30590 }
30591 resultobj = SWIG_Py_Void();
30592 return resultobj;
30593 fail:
30594 return NULL;
30595 }
30596
30597
30598 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30599 PyObject *resultobj = 0;
30600 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30601 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
30602 void *argp1 = 0 ;
30603 int res1 = 0 ;
30604 void *argp2 = 0 ;
30605 int res2 = 0 ;
30606 PyObject * obj0 = 0 ;
30607 PyObject * obj1 = 0 ;
30608 char * kwnames[] = {
30609 (char *) "self",(char *) "preview", NULL
30610 };
30611
30612 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) SWIG_fail;
30613 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30614 if (!SWIG_IsOK(res1)) {
30615 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30616 }
30617 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30618 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30619 if (!SWIG_IsOK(res2)) {
30620 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
30621 }
30622 arg2 = reinterpret_cast< wxPrintPreview * >(argp2);
30623 {
30624 PyThreadState* __tstate = wxPyBeginAllowThreads();
30625 (arg1)->SetPrintPreview(arg2);
30626 wxPyEndAllowThreads(__tstate);
30627 if (PyErr_Occurred()) SWIG_fail;
30628 }
30629 resultobj = SWIG_Py_Void();
30630 return resultobj;
30631 fail:
30632 return NULL;
30633 }
30634
30635
30636 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_CreateButtons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30637 PyObject *resultobj = 0;
30638 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30639 void *argp1 = 0 ;
30640 int res1 = 0 ;
30641 PyObject *swig_obj[1] ;
30642
30643 if (!args) SWIG_fail;
30644 swig_obj[0] = args;
30645 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30646 if (!SWIG_IsOK(res1)) {
30647 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30648 }
30649 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30650 {
30651 PyThreadState* __tstate = wxPyBeginAllowThreads();
30652 (arg1)->CreateButtons();
30653 wxPyEndAllowThreads(__tstate);
30654 if (PyErr_Occurred()) SWIG_fail;
30655 }
30656 resultobj = SWIG_Py_Void();
30657 return resultobj;
30658 fail:
30659 return NULL;
30660 }
30661
30662
30663 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30664 PyObject *resultobj = 0;
30665 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30666 int arg2 ;
30667 void *argp1 = 0 ;
30668 int res1 = 0 ;
30669 int val2 ;
30670 int ecode2 = 0 ;
30671 PyObject * obj0 = 0 ;
30672 PyObject * obj1 = 0 ;
30673 char * kwnames[] = {
30674 (char *) "self",(char *) "zoom", NULL
30675 };
30676
30677 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
30678 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30679 if (!SWIG_IsOK(res1)) {
30680 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30681 }
30682 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30683 ecode2 = SWIG_AsVal_int(obj1, &val2);
30684 if (!SWIG_IsOK(ecode2)) {
30685 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
30686 }
30687 arg2 = static_cast< int >(val2);
30688 {
30689 PyThreadState* __tstate = wxPyBeginAllowThreads();
30690 (arg1)->SetZoomControl(arg2);
30691 wxPyEndAllowThreads(__tstate);
30692 if (PyErr_Occurred()) SWIG_fail;
30693 }
30694 resultobj = SWIG_Py_Void();
30695 return resultobj;
30696 fail:
30697 return NULL;
30698 }
30699
30700
30701 SWIGINTERN PyObject *PyPreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30702 PyObject *obj;
30703 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30704 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar, SWIG_NewClientData(obj));
30705 return SWIG_Py_Void();
30706 }
30707
30708 SWIGINTERN PyObject *PyPreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30709 return SWIG_Python_InitShadowInstance(args);
30710 }
30711
30712 static PyMethodDef SwigMethods[] = {
30713 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
30714 { (char *)"new_PrePanel", (PyCFunction)_wrap_new_PrePanel, METH_NOARGS, NULL},
30715 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30716 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction)_wrap_Panel_SetFocusIgnoringChildren, METH_O, NULL},
30717 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30718 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
30719 { (char *)"Panel_swiginit", Panel_swiginit, METH_VARARGS, NULL},
30720 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30721 { (char *)"new_PreScrolledWindow", (PyCFunction)_wrap_new_PreScrolledWindow, METH_NOARGS, NULL},
30722 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30723 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
30724 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
30725 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
30726 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
30727 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
30728 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction)_wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_O, NULL},
30729 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
30730 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction)_wrap_ScrolledWindow_GetViewStart, METH_O, NULL},
30731 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
30732 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction)_wrap_ScrolledWindow_GetScaleX, METH_O, NULL},
30733 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction)_wrap_ScrolledWindow_GetScaleY, METH_O, NULL},
30734 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
30735 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
30736 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction)_wrap_ScrolledWindow_AdjustScrollbars, METH_O, NULL},
30737 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
30738 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30739 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction)_wrap_ScrolledWindow_GetTargetWindow, METH_O, NULL},
30740 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL},
30741 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction)_wrap_ScrolledWindow_GetTargetRect, METH_O, NULL},
30742 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
30743 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30744 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
30745 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit, METH_VARARGS, NULL},
30746 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
30747 { (char *)"TopLevelWindow_Restore", (PyCFunction)_wrap_TopLevelWindow_Restore, METH_O, NULL},
30748 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
30749 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction)_wrap_TopLevelWindow_IsMaximized, METH_O, NULL},
30750 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction)_wrap_TopLevelWindow_IsAlwaysMaximized, METH_O, NULL},
30751 { (char *)"TopLevelWindow_IsIconized", (PyCFunction)_wrap_TopLevelWindow_IsIconized, METH_O, NULL},
30752 { (char *)"TopLevelWindow_GetIcon", (PyCFunction)_wrap_TopLevelWindow_GetIcon, METH_O, NULL},
30753 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
30754 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
30755 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
30756 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction)_wrap_TopLevelWindow_IsFullScreen, METH_O, NULL},
30757 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
30758 { (char *)"TopLevelWindow_GetTitle", (PyCFunction)_wrap_TopLevelWindow_GetTitle, METH_O, NULL},
30759 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
30760 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
30761 { (char *)"TopLevelWindow_IsActive", (PyCFunction)_wrap_TopLevelWindow_IsActive, METH_O, NULL},
30762 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
30763 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction)_wrap_TopLevelWindow_MacGetMetalAppearance, METH_O, NULL},
30764 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction) _wrap_TopLevelWindow_CenterOnScreen, METH_VARARGS | METH_KEYWORDS, NULL},
30765 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
30766 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
30767 { (char *)"new_PreFrame", (PyCFunction)_wrap_new_PreFrame, METH_NOARGS, NULL},
30768 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30769 { (char *)"Frame_SendSizeEvent", (PyCFunction)_wrap_Frame_SendSizeEvent, METH_O, NULL},
30770 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
30771 { (char *)"Frame_GetMenuBar", (PyCFunction)_wrap_Frame_GetMenuBar, METH_O, NULL},
30772 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
30773 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
30774 { (char *)"Frame_GetStatusBar", (PyCFunction)_wrap_Frame_GetStatusBar, METH_O, NULL},
30775 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
30776 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30777 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
30778 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30779 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30780 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
30781 { (char *)"Frame_GetStatusBarPane", (PyCFunction)_wrap_Frame_GetStatusBarPane, METH_O, NULL},
30782 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
30783 { (char *)"Frame_GetToolBar", (PyCFunction)_wrap_Frame_GetToolBar, METH_O, NULL},
30784 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
30785 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
30786 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
30787 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30788 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
30789 { (char *)"Frame_swiginit", Frame_swiginit, METH_VARARGS, NULL},
30790 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
30791 { (char *)"new_PreDialog", (PyCFunction)_wrap_new_PreDialog, METH_NOARGS, NULL},
30792 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30793 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
30794 { (char *)"Dialog_GetReturnCode", (PyCFunction)_wrap_Dialog_GetReturnCode, METH_O, NULL},
30795 { (char *)"Dialog_SetAffirmativeId", (PyCFunction) _wrap_Dialog_SetAffirmativeId, METH_VARARGS | METH_KEYWORDS, NULL},
30796 { (char *)"Dialog_GetAffirmativeId", (PyCFunction)_wrap_Dialog_GetAffirmativeId, METH_O, NULL},
30797 { (char *)"Dialog_SetEscapeId", (PyCFunction) _wrap_Dialog_SetEscapeId, METH_VARARGS | METH_KEYWORDS, NULL},
30798 { (char *)"Dialog_GetEscapeId", (PyCFunction)_wrap_Dialog_GetEscapeId, METH_O, NULL},
30799 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
30800 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
30801 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
30802 { (char *)"Dialog_IsModal", (PyCFunction)_wrap_Dialog_IsModal, METH_O, NULL},
30803 { (char *)"Dialog_ShowModal", (PyCFunction)_wrap_Dialog_ShowModal, METH_O, NULL},
30804 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
30805 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30806 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
30807 { (char *)"Dialog_swiginit", Dialog_swiginit, METH_VARARGS, NULL},
30808 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30809 { (char *)"new_PreMiniFrame", (PyCFunction)_wrap_new_PreMiniFrame, METH_NOARGS, NULL},
30810 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30811 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
30812 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit, METH_VARARGS, NULL},
30813 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30814 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
30815 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction)_wrap_SplashScreenWindow_GetBitmap, METH_O, NULL},
30816 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
30817 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit, METH_VARARGS, NULL},
30818 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
30819 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction)_wrap_SplashScreen_GetSplashStyle, METH_O, NULL},
30820 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction)_wrap_SplashScreen_GetSplashWindow, METH_O, NULL},
30821 { (char *)"SplashScreen_GetTimeout", (PyCFunction)_wrap_SplashScreen_GetTimeout, METH_O, NULL},
30822 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
30823 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit, METH_VARARGS, NULL},
30824 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
30825 { (char *)"new_PreStatusBar", (PyCFunction)_wrap_new_PreStatusBar, METH_NOARGS, NULL},
30826 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30827 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
30828 { (char *)"StatusBar_GetFieldsCount", (PyCFunction)_wrap_StatusBar_GetFieldsCount, METH_O, NULL},
30829 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30830 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30831 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30832 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30833 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
30834 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
30835 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
30836 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
30837 { (char *)"StatusBar_GetBorderX", (PyCFunction)_wrap_StatusBar_GetBorderX, METH_O, NULL},
30838 { (char *)"StatusBar_GetBorderY", (PyCFunction)_wrap_StatusBar_GetBorderY, METH_O, NULL},
30839 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30840 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
30841 { (char *)"StatusBar_swiginit", StatusBar_swiginit, METH_VARARGS, NULL},
30842 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30843 { (char *)"new_PreSplitterWindow", (PyCFunction)_wrap_new_PreSplitterWindow, METH_NOARGS, NULL},
30844 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30845 { (char *)"SplitterWindow_GetWindow1", (PyCFunction)_wrap_SplitterWindow_GetWindow1, METH_O, NULL},
30846 { (char *)"SplitterWindow_GetWindow2", (PyCFunction)_wrap_SplitterWindow_GetWindow2, METH_O, NULL},
30847 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
30848 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction)_wrap_SplitterWindow_GetSplitMode, METH_O, NULL},
30849 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
30850 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
30851 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
30852 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
30853 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30854 { (char *)"SplitterWindow_UpdateSize", (PyCFunction)_wrap_SplitterWindow_UpdateSize, METH_O, NULL},
30855 { (char *)"SplitterWindow_IsSplit", (PyCFunction)_wrap_SplitterWindow_IsSplit, METH_O, NULL},
30856 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
30857 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
30858 { (char *)"SplitterWindow_GetSashSize", (PyCFunction)_wrap_SplitterWindow_GetSashSize, METH_O, NULL},
30859 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction)_wrap_SplitterWindow_GetBorderSize, METH_O, NULL},
30860 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
30861 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction)_wrap_SplitterWindow_GetSashPosition, METH_O, NULL},
30862 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
30863 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction)_wrap_SplitterWindow_GetSashGravity, METH_O, NULL},
30864 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
30865 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction)_wrap_SplitterWindow_GetMinimumPaneSize, METH_O, NULL},
30866 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
30867 { (char *)"SplitterWindow_SizeWindows", (PyCFunction)_wrap_SplitterWindow_SizeWindows, METH_O, NULL},
30868 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
30869 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction)_wrap_SplitterWindow_GetNeedUpdating, METH_O, NULL},
30870 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30871 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
30872 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit, METH_VARARGS, NULL},
30873 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30874 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
30875 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction)_wrap_SplitterEvent_GetSashPosition, METH_O, NULL},
30876 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction)_wrap_SplitterEvent_GetWindowBeingRemoved, METH_O, NULL},
30877 { (char *)"SplitterEvent_GetX", (PyCFunction)_wrap_SplitterEvent_GetX, METH_O, NULL},
30878 { (char *)"SplitterEvent_GetY", (PyCFunction)_wrap_SplitterEvent_GetY, METH_O, NULL},
30879 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
30880 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit, METH_VARARGS, NULL},
30881 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30882 { (char *)"new_PreSashWindow", (PyCFunction)_wrap_new_PreSashWindow, METH_NOARGS, NULL},
30883 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30884 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
30885 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
30886 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL},
30887 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL},
30888 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
30889 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
30890 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction)_wrap_SashWindow_GetDefaultBorderSize, METH_O, NULL},
30891 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
30892 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction)_wrap_SashWindow_GetExtraBorderSize, METH_O, NULL},
30893 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
30894 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
30895 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction)_wrap_SashWindow_GetMinimumSizeX, METH_O, NULL},
30896 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction)_wrap_SashWindow_GetMinimumSizeY, METH_O, NULL},
30897 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
30898 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
30899 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction)_wrap_SashWindow_GetMaximumSizeX, METH_O, NULL},
30900 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction)_wrap_SashWindow_GetMaximumSizeY, METH_O, NULL},
30901 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
30902 { (char *)"SashWindow_SizeWindows", (PyCFunction)_wrap_SashWindow_SizeWindows, METH_O, NULL},
30903 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
30904 { (char *)"SashWindow_swiginit", SashWindow_swiginit, METH_VARARGS, NULL},
30905 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30906 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
30907 { (char *)"SashEvent_GetEdge", (PyCFunction)_wrap_SashEvent_GetEdge, METH_O, NULL},
30908 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
30909 { (char *)"SashEvent_GetDragRect", (PyCFunction)_wrap_SashEvent_GetDragRect, METH_O, NULL},
30910 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
30911 { (char *)"SashEvent_GetDragStatus", (PyCFunction)_wrap_SashEvent_GetDragStatus, METH_O, NULL},
30912 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
30913 { (char *)"SashEvent_swiginit", SashEvent_swiginit, METH_VARARGS, NULL},
30914 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30915 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
30916 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_O, NULL},
30917 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
30918 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetFlags, METH_O, NULL},
30919 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
30920 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetSize, METH_O, NULL},
30921 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
30922 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetOrientation, METH_O, NULL},
30923 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
30924 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetAlignment, METH_O, NULL},
30925 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
30926 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit, METH_VARARGS, NULL},
30927 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30928 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
30929 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction)_wrap_CalculateLayoutEvent_GetFlags, METH_O, NULL},
30930 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
30931 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction)_wrap_CalculateLayoutEvent_GetRect, METH_O, NULL},
30932 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
30933 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit, METH_VARARGS, NULL},
30934 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30935 { (char *)"new_PreSashLayoutWindow", (PyCFunction)_wrap_new_PreSashLayoutWindow, METH_NOARGS, NULL},
30936 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30937 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction)_wrap_SashLayoutWindow_GetAlignment, METH_O, NULL},
30938 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction)_wrap_SashLayoutWindow_GetOrientation, METH_O, NULL},
30939 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
30940 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
30941 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
30942 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
30943 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit, METH_VARARGS, NULL},
30944 { (char *)"new_LayoutAlgorithm", (PyCFunction)_wrap_new_LayoutAlgorithm, METH_NOARGS, NULL},
30945 { (char *)"delete_LayoutAlgorithm", (PyCFunction)_wrap_delete_LayoutAlgorithm, METH_O, NULL},
30946 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30947 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30948 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30949 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
30950 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit, METH_VARARGS, NULL},
30951 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30952 { (char *)"new_PrePopupWindow", (PyCFunction)_wrap_new_PrePopupWindow, METH_NOARGS, NULL},
30953 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30954 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS, NULL},
30955 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
30956 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit, METH_VARARGS, NULL},
30957 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30958 { (char *)"new_PrePopupTransientWindow", (PyCFunction)_wrap_new_PrePopupTransientWindow, METH_NOARGS, NULL},
30959 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30960 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS, NULL},
30961 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction)_wrap_PopupTransientWindow_Dismiss, METH_O, NULL},
30962 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
30963 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit, METH_VARARGS, NULL},
30964 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30965 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
30966 { (char *)"TipWindow_Close", (PyCFunction)_wrap_TipWindow_Close, METH_O, NULL},
30967 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
30968 { (char *)"TipWindow_swiginit", TipWindow_swiginit, METH_VARARGS, NULL},
30969 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30970 { (char *)"new_PreVScrolledWindow", (PyCFunction)_wrap_new_PreVScrolledWindow, METH_NOARGS, NULL},
30971 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30972 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30973 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
30974 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
30975 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL},
30976 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL},
30977 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
30978 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
30979 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction)_wrap_VScrolledWindow_RefreshAll, METH_O, NULL},
30980 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction)_wrap_VScrolledWindow_GetLineCount, METH_O, NULL},
30981 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction)_wrap_VScrolledWindow_GetVisibleBegin, METH_O, NULL},
30982 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction)_wrap_VScrolledWindow_GetVisibleEnd, METH_O, NULL},
30983 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
30984 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetFirstVisibleLine, METH_O, NULL},
30985 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetLastVisibleLine, METH_O, NULL},
30986 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction) _wrap_VScrolledWindow_FindFirstFromBottom, METH_VARARGS | METH_KEYWORDS, NULL},
30987 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction) _wrap_VScrolledWindow_GetLinesHeight, METH_VARARGS | METH_KEYWORDS, NULL},
30988 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
30989 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit, METH_VARARGS, NULL},
30990 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
30991 { (char *)"new_PreVListBox", (PyCFunction)_wrap_new_PreVListBox, METH_NOARGS, NULL},
30992 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30993 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30994 { (char *)"VListBox_GetItemCount", (PyCFunction)_wrap_VListBox_GetItemCount, METH_O, NULL},
30995 { (char *)"VListBox_HasMultipleSelection", (PyCFunction)_wrap_VListBox_HasMultipleSelection, METH_O, NULL},
30996 { (char *)"VListBox_GetSelection", (PyCFunction)_wrap_VListBox_GetSelection, METH_O, NULL},
30997 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
30998 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
30999 { (char *)"VListBox_GetSelectedCount", (PyCFunction)_wrap_VListBox_GetSelectedCount, METH_O, NULL},
31000 { (char *)"VListBox_GetFirstSelected", (PyCFunction)_wrap_VListBox_GetFirstSelected, METH_O, NULL},
31001 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
31002 { (char *)"VListBox_GetMargins", (PyCFunction)_wrap_VListBox_GetMargins, METH_O, NULL},
31003 { (char *)"VListBox_GetSelectionBackground", (PyCFunction)_wrap_VListBox_GetSelectionBackground, METH_O, NULL},
31004 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
31005 { (char *)"VListBox_Clear", (PyCFunction)_wrap_VListBox_Clear, METH_O, NULL},
31006 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31007 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
31008 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
31009 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
31010 { (char *)"VListBox_SelectAll", (PyCFunction)_wrap_VListBox_SelectAll, METH_O, NULL},
31011 { (char *)"VListBox_DeselectAll", (PyCFunction)_wrap_VListBox_DeselectAll, METH_O, NULL},
31012 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31013 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
31014 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31015 { (char *)"VListBox_OnDrawSeparator", (PyCFunction) _wrap_VListBox_OnDrawSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
31016 { (char *)"VListBox_OnDrawBackground", (PyCFunction) _wrap_VListBox_OnDrawBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31017 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
31018 { (char *)"VListBox_swiginit", VListBox_swiginit, METH_VARARGS, NULL},
31019 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
31020 { (char *)"new_PreHtmlListBox", (PyCFunction)_wrap_new_PreHtmlListBox, METH_NOARGS, NULL},
31021 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31022 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31023 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
31024 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction)_wrap_HtmlListBox_GetFileSystem, METH_O, NULL},
31025 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction) _wrap_HtmlListBox_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL},
31026 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
31027 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit, METH_VARARGS, NULL},
31028 { (char *)"new_TaskBarIcon", (PyCFunction)_wrap_new_TaskBarIcon, METH_NOARGS, NULL},
31029 { (char *)"delete_TaskBarIcon", (PyCFunction)_wrap_delete_TaskBarIcon, METH_O, NULL},
31030 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31031 { (char *)"TaskBarIcon_Destroy", (PyCFunction)_wrap_TaskBarIcon_Destroy, METH_O, NULL},
31032 { (char *)"TaskBarIcon_IsOk", (PyCFunction)_wrap_TaskBarIcon_IsOk, METH_O, NULL},
31033 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction)_wrap_TaskBarIcon_IsIconInstalled, METH_O, NULL},
31034 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
31035 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction)_wrap_TaskBarIcon_RemoveIcon, METH_O, NULL},
31036 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
31037 { (char *)"TaskBarIcon_GetHandle", (PyCFunction)_wrap_TaskBarIcon_GetHandle, METH_O, NULL},
31038 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
31039 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit, METH_VARARGS, NULL},
31040 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31041 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
31042 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit, METH_VARARGS, NULL},
31043 { (char *)"new_ColourData", (PyCFunction)_wrap_new_ColourData, METH_NOARGS, NULL},
31044 { (char *)"delete_ColourData", (PyCFunction)_wrap_delete_ColourData, METH_O, NULL},
31045 { (char *)"ColourData_GetChooseFull", (PyCFunction)_wrap_ColourData_GetChooseFull, METH_O, NULL},
31046 { (char *)"ColourData_GetColour", (PyCFunction)_wrap_ColourData_GetColour, METH_O, NULL},
31047 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
31048 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
31049 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31050 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
31051 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
31052 { (char *)"ColourData_swiginit", ColourData_swiginit, METH_VARARGS, NULL},
31053 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31054 { (char *)"ColourDialog_GetColourData", (PyCFunction)_wrap_ColourDialog_GetColourData, METH_O, NULL},
31055 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
31056 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit, METH_VARARGS, NULL},
31057 { (char *)"GetColourFromUser", (PyCFunction) _wrap_GetColourFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
31058 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31059 { (char *)"DirDialog_GetPath", (PyCFunction)_wrap_DirDialog_GetPath, METH_O, NULL},
31060 { (char *)"DirDialog_GetMessage", (PyCFunction)_wrap_DirDialog_GetMessage, METH_O, NULL},
31061 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
31062 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
31063 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
31064 { (char *)"DirDialog_swiginit", DirDialog_swiginit, METH_VARARGS, NULL},
31065 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31066 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
31067 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
31068 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
31069 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
31070 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
31071 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
31072 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
31073 { (char *)"FileDialog_GetMessage", (PyCFunction)_wrap_FileDialog_GetMessage, METH_O, NULL},
31074 { (char *)"FileDialog_GetPath", (PyCFunction)_wrap_FileDialog_GetPath, METH_O, NULL},
31075 { (char *)"FileDialog_GetDirectory", (PyCFunction)_wrap_FileDialog_GetDirectory, METH_O, NULL},
31076 { (char *)"FileDialog_GetFilename", (PyCFunction)_wrap_FileDialog_GetFilename, METH_O, NULL},
31077 { (char *)"FileDialog_GetWildcard", (PyCFunction)_wrap_FileDialog_GetWildcard, METH_O, NULL},
31078 { (char *)"FileDialog_GetStyle", (PyCFunction)_wrap_FileDialog_GetStyle, METH_O, NULL},
31079 { (char *)"FileDialog_GetFilterIndex", (PyCFunction)_wrap_FileDialog_GetFilterIndex, METH_O, NULL},
31080 { (char *)"FileDialog_GetFilenames", (PyCFunction)_wrap_FileDialog_GetFilenames, METH_O, NULL},
31081 { (char *)"FileDialog_GetPaths", (PyCFunction)_wrap_FileDialog_GetPaths, METH_O, NULL},
31082 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
31083 { (char *)"FileDialog_swiginit", FileDialog_swiginit, METH_VARARGS, NULL},
31084 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31085 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
31086 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction)_wrap_MultiChoiceDialog_GetSelections, METH_O, NULL},
31087 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
31088 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit, METH_VARARGS, NULL},
31089 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31090 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetSelection, METH_O, NULL},
31091 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetStringSelection, METH_O, NULL},
31092 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31093 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
31094 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit, METH_VARARGS, NULL},
31095 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31096 { (char *)"TextEntryDialog_GetValue", (PyCFunction)_wrap_TextEntryDialog_GetValue, METH_O, NULL},
31097 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
31098 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
31099 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit, METH_VARARGS, NULL},
31100 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31101 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
31102 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit, METH_VARARGS, NULL},
31103 { (char *)"new_FontData", (PyCFunction)_wrap_new_FontData, METH_NOARGS, NULL},
31104 { (char *)"delete_FontData", (PyCFunction)_wrap_delete_FontData, METH_O, NULL},
31105 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
31106 { (char *)"FontData_GetAllowSymbols", (PyCFunction)_wrap_FontData_GetAllowSymbols, METH_O, NULL},
31107 { (char *)"FontData_GetColour", (PyCFunction)_wrap_FontData_GetColour, METH_O, NULL},
31108 { (char *)"FontData_GetChosenFont", (PyCFunction)_wrap_FontData_GetChosenFont, METH_O, NULL},
31109 { (char *)"FontData_GetEnableEffects", (PyCFunction)_wrap_FontData_GetEnableEffects, METH_O, NULL},
31110 { (char *)"FontData_GetInitialFont", (PyCFunction)_wrap_FontData_GetInitialFont, METH_O, NULL},
31111 { (char *)"FontData_GetShowHelp", (PyCFunction)_wrap_FontData_GetShowHelp, METH_O, NULL},
31112 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
31113 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
31114 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31115 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
31116 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
31117 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31118 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
31119 { (char *)"FontData_swiginit", FontData_swiginit, METH_VARARGS, NULL},
31120 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31121 { (char *)"FontDialog_GetFontData", (PyCFunction)_wrap_FontDialog_GetFontData, METH_O, NULL},
31122 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
31123 { (char *)"FontDialog_swiginit", FontDialog_swiginit, METH_VARARGS, NULL},
31124 { (char *)"GetFontFromUser", (PyCFunction) _wrap_GetFontFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
31125 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31126 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
31127 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit, METH_VARARGS, NULL},
31128 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31129 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
31130 { (char *)"ProgressDialog_Resume", (PyCFunction)_wrap_ProgressDialog_Resume, METH_O, NULL},
31131 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
31132 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit, METH_VARARGS, NULL},
31133 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31134 { (char *)"FindDialogEvent_GetFlags", (PyCFunction)_wrap_FindDialogEvent_GetFlags, METH_O, NULL},
31135 { (char *)"FindDialogEvent_GetFindString", (PyCFunction)_wrap_FindDialogEvent_GetFindString, METH_O, NULL},
31136 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction)_wrap_FindDialogEvent_GetReplaceString, METH_O, NULL},
31137 { (char *)"FindDialogEvent_GetDialog", (PyCFunction)_wrap_FindDialogEvent_GetDialog, METH_O, NULL},
31138 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31139 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
31140 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
31141 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
31142 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit, METH_VARARGS, NULL},
31143 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
31144 { (char *)"delete_FindReplaceData", (PyCFunction)_wrap_delete_FindReplaceData, METH_O, NULL},
31145 { (char *)"FindReplaceData_GetFindString", (PyCFunction)_wrap_FindReplaceData_GetFindString, METH_O, NULL},
31146 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction)_wrap_FindReplaceData_GetReplaceString, METH_O, NULL},
31147 { (char *)"FindReplaceData_GetFlags", (PyCFunction)_wrap_FindReplaceData_GetFlags, METH_O, NULL},
31148 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31149 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
31150 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
31151 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
31152 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit, METH_VARARGS, NULL},
31153 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31154 { (char *)"new_PreFindReplaceDialog", (PyCFunction)_wrap_new_PreFindReplaceDialog, METH_NOARGS, NULL},
31155 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31156 { (char *)"FindReplaceDialog_GetData", (PyCFunction)_wrap_FindReplaceDialog_GetData, METH_O, NULL},
31157 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
31158 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
31159 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit, METH_VARARGS, NULL},
31160 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31161 { (char *)"new_PreMDIParentFrame", (PyCFunction)_wrap_new_PreMDIParentFrame, METH_NOARGS, NULL},
31162 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31163 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction)_wrap_MDIParentFrame_ActivateNext, METH_O, NULL},
31164 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction)_wrap_MDIParentFrame_ActivatePrevious, METH_O, NULL},
31165 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction)_wrap_MDIParentFrame_ArrangeIcons, METH_O, NULL},
31166 { (char *)"MDIParentFrame_Cascade", (PyCFunction)_wrap_MDIParentFrame_Cascade, METH_O, NULL},
31167 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction)_wrap_MDIParentFrame_GetActiveChild, METH_O, NULL},
31168 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction)_wrap_MDIParentFrame_GetClientWindow, METH_O, NULL},
31169 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction)_wrap_MDIParentFrame_GetToolBar, METH_O, NULL},
31170 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction)_wrap_MDIParentFrame_GetWindowMenu, METH_O, NULL},
31171 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_SetWindowMenu, METH_VARARGS | METH_KEYWORDS, NULL},
31172 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
31173 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
31174 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit, METH_VARARGS, NULL},
31175 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31176 { (char *)"new_PreMDIChildFrame", (PyCFunction)_wrap_new_PreMDIChildFrame, METH_NOARGS, NULL},
31177 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31178 { (char *)"MDIChildFrame_Activate", (PyCFunction)_wrap_MDIChildFrame_Activate, METH_O, NULL},
31179 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
31180 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit, METH_VARARGS, NULL},
31181 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31182 { (char *)"new_PreMDIClientWindow", (PyCFunction)_wrap_new_PreMDIClientWindow, METH_NOARGS, NULL},
31183 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31184 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
31185 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit, METH_VARARGS, NULL},
31186 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31187 { (char *)"new_PrePyWindow", (PyCFunction)_wrap_new_PrePyWindow, METH_NOARGS, NULL},
31188 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31189 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
31190 { (char *)"PyWindow_DoEraseBackground", (PyCFunction) _wrap_PyWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31191 { (char *)"PyWindow_DoMoveWindow", (PyCFunction) _wrap_PyWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31192 { (char *)"PyWindow_DoSetSize", (PyCFunction) _wrap_PyWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31193 { (char *)"PyWindow_DoSetClientSize", (PyCFunction) _wrap_PyWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31194 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
31195 { (char *)"PyWindow_DoGetSize", (PyCFunction)_wrap_PyWindow_DoGetSize, METH_O, NULL},
31196 { (char *)"PyWindow_DoGetClientSize", (PyCFunction)_wrap_PyWindow_DoGetClientSize, METH_O, NULL},
31197 { (char *)"PyWindow_DoGetPosition", (PyCFunction)_wrap_PyWindow_DoGetPosition, METH_O, NULL},
31198 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyWindow_DoGetVirtualSize, METH_O, NULL},
31199 { (char *)"PyWindow_DoGetBestSize", (PyCFunction)_wrap_PyWindow_DoGetBestSize, METH_O, NULL},
31200 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyWindow_GetDefaultAttributes, METH_O, NULL},
31201 { (char *)"PyWindow_OnInternalIdle", (PyCFunction)_wrap_PyWindow_OnInternalIdle, METH_O, NULL},
31202 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
31203 { (char *)"PyWindow_swiginit", PyWindow_swiginit, METH_VARARGS, NULL},
31204 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
31205 { (char *)"new_PrePyPanel", (PyCFunction)_wrap_new_PrePyPanel, METH_NOARGS, NULL},
31206 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31207 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
31208 { (char *)"PyPanel_DoEraseBackground", (PyCFunction) _wrap_PyPanel_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31209 { (char *)"PyPanel_DoMoveWindow", (PyCFunction) _wrap_PyPanel_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31210 { (char *)"PyPanel_DoSetSize", (PyCFunction) _wrap_PyPanel_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31211 { (char *)"PyPanel_DoSetClientSize", (PyCFunction) _wrap_PyPanel_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31212 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
31213 { (char *)"PyPanel_DoGetSize", (PyCFunction)_wrap_PyPanel_DoGetSize, METH_O, NULL},
31214 { (char *)"PyPanel_DoGetClientSize", (PyCFunction)_wrap_PyPanel_DoGetClientSize, METH_O, NULL},
31215 { (char *)"PyPanel_DoGetPosition", (PyCFunction)_wrap_PyPanel_DoGetPosition, METH_O, NULL},
31216 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction)_wrap_PyPanel_DoGetVirtualSize, METH_O, NULL},
31217 { (char *)"PyPanel_DoGetBestSize", (PyCFunction)_wrap_PyPanel_DoGetBestSize, METH_O, NULL},
31218 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction)_wrap_PyPanel_GetDefaultAttributes, METH_O, NULL},
31219 { (char *)"PyPanel_OnInternalIdle", (PyCFunction)_wrap_PyPanel_OnInternalIdle, METH_O, NULL},
31220 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
31221 { (char *)"PyPanel_swiginit", PyPanel_swiginit, METH_VARARGS, NULL},
31222 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31223 { (char *)"new_PrePyScrolledWindow", (PyCFunction)_wrap_new_PrePyScrolledWindow, METH_NOARGS, NULL},
31224 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31225 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
31226 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction) _wrap_PyScrolledWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31227 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31228 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31229 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31230 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
31231 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetSize, METH_O, NULL},
31232 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetClientSize, METH_O, NULL},
31233 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction)_wrap_PyScrolledWindow_DoGetPosition, METH_O, NULL},
31234 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetVirtualSize, METH_O, NULL},
31235 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetBestSize, METH_O, NULL},
31236 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyScrolledWindow_GetDefaultAttributes, METH_O, NULL},
31237 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction)_wrap_PyScrolledWindow_OnInternalIdle, METH_O, NULL},
31238 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
31239 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit, METH_VARARGS, NULL},
31240 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
31241 { (char *)"delete_PrintData", (PyCFunction)_wrap_delete_PrintData, METH_O, NULL},
31242 { (char *)"PrintData_GetNoCopies", (PyCFunction)_wrap_PrintData_GetNoCopies, METH_O, NULL},
31243 { (char *)"PrintData_GetCollate", (PyCFunction)_wrap_PrintData_GetCollate, METH_O, NULL},
31244 { (char *)"PrintData_GetOrientation", (PyCFunction)_wrap_PrintData_GetOrientation, METH_O, NULL},
31245 { (char *)"PrintData_Ok", (PyCFunction)_wrap_PrintData_Ok, METH_O, NULL},
31246 { (char *)"PrintData_GetPrinterName", (PyCFunction)_wrap_PrintData_GetPrinterName, METH_O, NULL},
31247 { (char *)"PrintData_GetColour", (PyCFunction)_wrap_PrintData_GetColour, METH_O, NULL},
31248 { (char *)"PrintData_GetDuplex", (PyCFunction)_wrap_PrintData_GetDuplex, METH_O, NULL},
31249 { (char *)"PrintData_GetPaperId", (PyCFunction)_wrap_PrintData_GetPaperId, METH_O, NULL},
31250 { (char *)"PrintData_GetPaperSize", (PyCFunction)_wrap_PrintData_GetPaperSize, METH_O, NULL},
31251 { (char *)"PrintData_GetQuality", (PyCFunction)_wrap_PrintData_GetQuality, METH_O, NULL},
31252 { (char *)"PrintData_GetBin", (PyCFunction)_wrap_PrintData_GetBin, METH_O, NULL},
31253 { (char *)"PrintData_GetPrintMode", (PyCFunction)_wrap_PrintData_GetPrintMode, METH_O, NULL},
31254 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
31255 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
31256 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31257 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
31258 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31259 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
31260 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
31261 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
31262 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
31263 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
31264 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
31265 { (char *)"PrintData_GetFilename", (PyCFunction)_wrap_PrintData_GetFilename, METH_O, NULL},
31266 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
31267 { (char *)"PrintData_GetPrivData", (PyCFunction)_wrap_PrintData_GetPrivData, METH_O, NULL},
31268 { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
31269 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
31270 { (char *)"PrintData_swiginit", PrintData_swiginit, METH_VARARGS, NULL},
31271 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
31272 { (char *)"delete_PageSetupDialogData", (PyCFunction)_wrap_delete_PageSetupDialogData, METH_O, NULL},
31273 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31274 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31275 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31276 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
31277 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
31278 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultMinMargins, METH_O, NULL},
31279 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction)_wrap_PageSetupDialogData_GetEnableMargins, METH_O, NULL},
31280 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction)_wrap_PageSetupDialogData_GetEnableOrientation, METH_O, NULL},
31281 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePaper, METH_O, NULL},
31282 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePrinter, METH_O, NULL},
31283 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction)_wrap_PageSetupDialogData_GetEnableHelp, METH_O, NULL},
31284 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultInfo, METH_O, NULL},
31285 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMarginTopLeft, METH_O, NULL},
31286 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMarginBottomRight, METH_O, NULL},
31287 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_O, NULL},
31288 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_O, NULL},
31289 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction)_wrap_PageSetupDialogData_GetPaperId, METH_O, NULL},
31290 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction)_wrap_PageSetupDialogData_GetPaperSize, METH_O, NULL},
31291 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction)_wrap_PageSetupDialogData_GetPrintData, METH_O, NULL},
31292 { (char *)"PageSetupDialogData_Ok", (PyCFunction)_wrap_PageSetupDialogData_Ok, METH_O, NULL},
31293 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31294 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31295 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
31296 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
31297 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
31298 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
31299 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
31300 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
31301 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
31302 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction)_wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_O, NULL},
31303 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction)_wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_O, NULL},
31304 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
31305 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit, METH_VARARGS, NULL},
31306 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31307 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupData, METH_O, NULL},
31308 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupDialogData, METH_O, NULL},
31309 { (char *)"PageSetupDialog_ShowModal", (PyCFunction)_wrap_PageSetupDialog_ShowModal, METH_O, NULL},
31310 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
31311 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit, METH_VARARGS, NULL},
31312 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
31313 { (char *)"delete_PrintDialogData", (PyCFunction)_wrap_delete_PrintDialogData, METH_O, NULL},
31314 { (char *)"PrintDialogData_GetFromPage", (PyCFunction)_wrap_PrintDialogData_GetFromPage, METH_O, NULL},
31315 { (char *)"PrintDialogData_GetToPage", (PyCFunction)_wrap_PrintDialogData_GetToPage, METH_O, NULL},
31316 { (char *)"PrintDialogData_GetMinPage", (PyCFunction)_wrap_PrintDialogData_GetMinPage, METH_O, NULL},
31317 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction)_wrap_PrintDialogData_GetMaxPage, METH_O, NULL},
31318 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction)_wrap_PrintDialogData_GetNoCopies, METH_O, NULL},
31319 { (char *)"PrintDialogData_GetAllPages", (PyCFunction)_wrap_PrintDialogData_GetAllPages, METH_O, NULL},
31320 { (char *)"PrintDialogData_GetSelection", (PyCFunction)_wrap_PrintDialogData_GetSelection, METH_O, NULL},
31321 { (char *)"PrintDialogData_GetCollate", (PyCFunction)_wrap_PrintDialogData_GetCollate, METH_O, NULL},
31322 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction)_wrap_PrintDialogData_GetPrintToFile, METH_O, NULL},
31323 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
31324 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
31325 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
31326 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
31327 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
31328 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
31329 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31330 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
31331 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
31332 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
31333 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31334 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
31335 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31336 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction)_wrap_PrintDialogData_GetEnablePrintToFile, METH_O, NULL},
31337 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction)_wrap_PrintDialogData_GetEnableSelection, METH_O, NULL},
31338 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction)_wrap_PrintDialogData_GetEnablePageNumbers, METH_O, NULL},
31339 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction)_wrap_PrintDialogData_GetEnableHelp, METH_O, NULL},
31340 { (char *)"PrintDialogData_Ok", (PyCFunction)_wrap_PrintDialogData_Ok, METH_O, NULL},
31341 { (char *)"PrintDialogData_GetPrintData", (PyCFunction)_wrap_PrintDialogData_GetPrintData, METH_O, NULL},
31342 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
31343 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
31344 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit, METH_VARARGS, NULL},
31345 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31346 { (char *)"PrintDialog_ShowModal", (PyCFunction)_wrap_PrintDialog_ShowModal, METH_O, NULL},
31347 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction)_wrap_PrintDialog_GetPrintDialogData, METH_O, NULL},
31348 { (char *)"PrintDialog_GetPrintData", (PyCFunction)_wrap_PrintDialog_GetPrintData, METH_O, NULL},
31349 { (char *)"PrintDialog_GetPrintDC", (PyCFunction)_wrap_PrintDialog_GetPrintDC, METH_O, NULL},
31350 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
31351 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit, METH_VARARGS, NULL},
31352 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
31353 { (char *)"delete_Printer", (PyCFunction)_wrap_delete_Printer, METH_O, NULL},
31354 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31355 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
31356 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
31357 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
31358 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31359 { (char *)"Printer_GetPrintDialogData", (PyCFunction)_wrap_Printer_GetPrintDialogData, METH_O, NULL},
31360 { (char *)"Printer_GetAbort", (PyCFunction)_wrap_Printer_GetAbort, METH_O, NULL},
31361 { (char *)"Printer_GetLastError", (PyCFunction)_wrap_Printer_GetLastError, METH_NOARGS, NULL},
31362 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
31363 { (char *)"Printer_swiginit", Printer_swiginit, METH_VARARGS, NULL},
31364 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
31365 { (char *)"delete_Printout", (PyCFunction)_wrap_delete_Printout, METH_O, NULL},
31366 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31367 { (char *)"Printout_GetTitle", (PyCFunction)_wrap_Printout_GetTitle, METH_O, NULL},
31368 { (char *)"Printout_GetDC", (PyCFunction)_wrap_Printout_GetDC, METH_O, NULL},
31369 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
31370 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
31371 { (char *)"Printout_GetPageSizePixels", (PyCFunction)_wrap_Printout_GetPageSizePixels, METH_O, NULL},
31372 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
31373 { (char *)"Printout_GetPageSizeMM", (PyCFunction)_wrap_Printout_GetPageSizeMM, METH_O, NULL},
31374 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31375 { (char *)"Printout_GetPPIScreen", (PyCFunction)_wrap_Printout_GetPPIScreen, METH_O, NULL},
31376 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
31377 { (char *)"Printout_GetPPIPrinter", (PyCFunction)_wrap_Printout_GetPPIPrinter, METH_O, NULL},
31378 { (char *)"Printout_IsPreview", (PyCFunction)_wrap_Printout_IsPreview, METH_O, NULL},
31379 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
31380 { (char *)"Printout_OnBeginDocument", (PyCFunction) _wrap_Printout_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
31381 { (char *)"Printout_OnEndDocument", (PyCFunction)_wrap_Printout_OnEndDocument, METH_O, NULL},
31382 { (char *)"Printout_OnBeginPrinting", (PyCFunction)_wrap_Printout_OnBeginPrinting, METH_O, NULL},
31383 { (char *)"Printout_OnEndPrinting", (PyCFunction)_wrap_Printout_OnEndPrinting, METH_O, NULL},
31384 { (char *)"Printout_OnPreparePrinting", (PyCFunction)_wrap_Printout_OnPreparePrinting, METH_O, NULL},
31385 { (char *)"Printout_HasPage", (PyCFunction) _wrap_Printout_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
31386 { (char *)"Printout_GetPageInfo", (PyCFunction)_wrap_Printout_GetPageInfo, METH_O, NULL},
31387 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
31388 { (char *)"Printout_swiginit", Printout_swiginit, METH_VARARGS, NULL},
31389 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31390 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
31391 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit, METH_VARARGS, NULL},
31392 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31393 { (char *)"PreviewFrame_Initialize", (PyCFunction)_wrap_PreviewFrame_Initialize, METH_O, NULL},
31394 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction)_wrap_PreviewFrame_CreateControlBar, METH_O, NULL},
31395 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction)_wrap_PreviewFrame_CreateCanvas, METH_O, NULL},
31396 { (char *)"PreviewFrame_GetControlBar", (PyCFunction)_wrap_PreviewFrame_GetControlBar, METH_O, NULL},
31397 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
31398 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit, METH_VARARGS, NULL},
31399 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31400 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction)_wrap_PreviewControlBar_GetZoomControl, METH_O, NULL},
31401 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
31402 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction)_wrap_PreviewControlBar_GetPrintPreview, METH_O, NULL},
31403 { (char *)"PreviewControlBar_OnNext", (PyCFunction)_wrap_PreviewControlBar_OnNext, METH_O, NULL},
31404 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction)_wrap_PreviewControlBar_OnPrevious, METH_O, NULL},
31405 { (char *)"PreviewControlBar_OnFirst", (PyCFunction)_wrap_PreviewControlBar_OnFirst, METH_O, NULL},
31406 { (char *)"PreviewControlBar_OnLast", (PyCFunction)_wrap_PreviewControlBar_OnLast, METH_O, NULL},
31407 { (char *)"PreviewControlBar_OnGoto", (PyCFunction)_wrap_PreviewControlBar_OnGoto, METH_O, NULL},
31408 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
31409 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit, METH_VARARGS, NULL},
31410 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
31411 { (char *)"delete_PrintPreview", (PyCFunction)_wrap_delete_PrintPreview, METH_O, NULL},
31412 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
31413 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction)_wrap_PrintPreview_GetCurrentPage, METH_O, NULL},
31414 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
31415 { (char *)"PrintPreview_GetPrintout", (PyCFunction)_wrap_PrintPreview_GetPrintout, METH_O, NULL},
31416 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction)_wrap_PrintPreview_GetPrintoutForPrinting, METH_O, NULL},
31417 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31418 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31419 { (char *)"PrintPreview_GetFrame", (PyCFunction)_wrap_PrintPreview_GetFrame, METH_O, NULL},
31420 { (char *)"PrintPreview_GetCanvas", (PyCFunction)_wrap_PrintPreview_GetCanvas, METH_O, NULL},
31421 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
31422 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
31423 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
31424 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
31425 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction)_wrap_PrintPreview_GetPrintDialogData, METH_O, NULL},
31426 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
31427 { (char *)"PrintPreview_GetZoom", (PyCFunction)_wrap_PrintPreview_GetZoom, METH_O, NULL},
31428 { (char *)"PrintPreview_GetMaxPage", (PyCFunction)_wrap_PrintPreview_GetMaxPage, METH_O, NULL},
31429 { (char *)"PrintPreview_GetMinPage", (PyCFunction)_wrap_PrintPreview_GetMinPage, METH_O, NULL},
31430 { (char *)"PrintPreview_Ok", (PyCFunction)_wrap_PrintPreview_Ok, METH_O, NULL},
31431 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
31432 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
31433 { (char *)"PrintPreview_DetermineScaling", (PyCFunction)_wrap_PrintPreview_DetermineScaling, METH_O, NULL},
31434 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
31435 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit, METH_VARARGS, NULL},
31436 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
31437 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31438 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
31439 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit, METH_VARARGS, NULL},
31440 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31441 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31442 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31443 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31444 { (char *)"PyPreviewFrame_Initialize", (PyCFunction)_wrap_PyPreviewFrame_Initialize, METH_O, NULL},
31445 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction)_wrap_PyPreviewFrame_CreateCanvas, METH_O, NULL},
31446 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction)_wrap_PyPreviewFrame_CreateControlBar, METH_O, NULL},
31447 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
31448 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit, METH_VARARGS, NULL},
31449 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31450 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31451 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
31452 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction)_wrap_PyPreviewControlBar_CreateButtons, METH_O, NULL},
31453 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
31454 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
31455 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit, METH_VARARGS, NULL},
31456 { NULL, NULL, 0, NULL }
31457 };
31458
31459
31460 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31461
31462 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
31463 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31464 }
31465 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
31466 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
31467 }
31468 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
31469 return (void *)((wxEvent *) ((wxMenuEvent *) x));
31470 }
31471 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
31472 return (void *)((wxEvent *) ((wxCloseEvent *) x));
31473 }
31474 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
31475 return (void *)((wxEvent *) ((wxMouseEvent *) x));
31476 }
31477 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
31478 return (void *)((wxEvent *) ((wxEraseEvent *) x));
31479 }
31480 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
31481 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
31482 }
31483 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
31484 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
31485 }
31486 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
31487 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
31488 }
31489 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
31490 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
31491 }
31492 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
31493 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
31494 }
31495 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
31496 return (void *)((wxEvent *) ((wxPyEvent *) x));
31497 }
31498 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
31499 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
31500 }
31501 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
31502 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
31503 }
31504 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
31505 return (void *)((wxEvent *) ((wxIdleEvent *) x));
31506 }
31507 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
31508 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
31509 }
31510 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
31511 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
31512 }
31513 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
31514 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
31515 }
31516 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
31517 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
31518 }
31519 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
31520 return (void *)((wxEvent *) ((wxActivateEvent *) x));
31521 }
31522 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
31523 return (void *)((wxEvent *) ((wxSizeEvent *) x));
31524 }
31525 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
31526 return (void *)((wxEvent *) ((wxMoveEvent *) x));
31527 }
31528 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
31529 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
31530 }
31531 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
31532 return (void *)((wxEvent *) ((wxPaintEvent *) x));
31533 }
31534 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
31535 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
31536 }
31537 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
31538 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
31539 }
31540 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
31541 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
31542 }
31543 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
31544 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
31545 }
31546 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
31547 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
31548 }
31549 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
31550 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
31551 }
31552 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
31553 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
31554 }
31555 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
31556 return (void *)((wxEvent *) ((wxFocusEvent *) x));
31557 }
31558 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
31559 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
31560 }
31561 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
31562 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
31563 }
31564 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
31565 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
31566 }
31567 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
31568 return (void *)((wxEvent *) ((wxShowEvent *) x));
31569 }
31570 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
31571 return (void *)((wxEvent *) ((wxCommandEvent *) x));
31572 }
31573 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
31574 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
31575 }
31576 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
31577 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31578 }
31579 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
31580 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
31581 }
31582 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
31583 return (void *)((wxEvent *) ((wxKeyEvent *) x));
31584 }
31585 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
31586 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
31587 }
31588 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
31589 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
31590 }
31591 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
31592 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
31593 }
31594 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
31595 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31596 }
31597 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
31598 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
31599 }
31600 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
31601 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
31602 }
31603 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
31604 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
31605 }
31606 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
31607 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
31608 }
31609 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
31610 return (void *)((wxEvtHandler *) ((wxValidator *) x));
31611 }
31612 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
31613 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
31614 }
31615 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
31616 return (void *)((wxEvtHandler *) ((wxMenu *) x));
31617 }
31618 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
31619 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31620 }
31621 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
31622 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
31623 }
31624 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
31625 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
31626 }
31627 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
31628 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
31629 }
31630 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
31631 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
31632 }
31633 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
31634 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
31635 }
31636 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
31637 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
31638 }
31639 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
31640 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
31641 }
31642 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
31643 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
31644 }
31645 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
31646 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
31647 }
31648 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
31649 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
31650 }
31651 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
31652 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
31653 }
31654 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
31655 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
31656 }
31657 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
31658 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
31659 }
31660 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
31661 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
31662 }
31663 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
31664 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
31665 }
31666 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
31667 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
31668 }
31669 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
31670 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
31671 }
31672 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
31673 return (void *)((wxEvtHandler *) ((wxWindow *) x));
31674 }
31675 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
31676 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
31677 }
31678 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
31679 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
31680 }
31681 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
31682 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
31683 }
31684 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
31685 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
31686 }
31687 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
31688 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
31689 }
31690 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
31691 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
31692 }
31693 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
31694 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31695 }
31696 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
31697 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
31698 }
31699 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
31700 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
31701 }
31702 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
31703 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
31704 }
31705 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
31706 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
31707 }
31708 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
31709 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
31710 }
31711 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
31712 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
31713 }
31714 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
31715 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
31716 }
31717 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
31718 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
31719 }
31720 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
31721 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
31722 }
31723 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
31724 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
31725 }
31726 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
31727 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
31728 }
31729 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
31730 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
31731 }
31732 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
31733 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
31734 }
31735 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
31736 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
31737 }
31738 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
31739 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
31740 }
31741 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
31742 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
31743 }
31744 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
31745 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
31746 }
31747 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
31748 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
31749 }
31750 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
31751 return (void *)((wxFrame *) ((wxProgressDialog *) x));
31752 }
31753 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
31754 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
31755 }
31756 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
31757 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31758 }
31759 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
31760 return (void *)((wxFrame *) ((wxMiniFrame *) x));
31761 }
31762 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
31763 return (void *)((wxFrame *) ((wxSplashScreen *) x));
31764 }
31765 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
31766 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
31767 }
31768 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
31769 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
31770 }
31771 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
31772 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
31773 }
31774 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
31775 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
31776 }
31777 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
31778 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31779 }
31780 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
31781 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
31782 }
31783 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
31784 return (void *)((wxObject *) ((wxSizerItem *) x));
31785 }
31786 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
31787 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
31788 }
31789 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
31790 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
31791 }
31792 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
31793 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
31794 }
31795 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
31796 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
31797 }
31798 static void *_p_wxSizerTo_p_wxObject(void *x) {
31799 return (void *)((wxObject *) ((wxSizer *) x));
31800 }
31801 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
31802 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
31803 }
31804 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
31805 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
31806 }
31807 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
31808 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
31809 }
31810 static void *_p_wxEventTo_p_wxObject(void *x) {
31811 return (void *)((wxObject *) ((wxEvent *) x));
31812 }
31813 static void *_p_wxFontDataTo_p_wxObject(void *x) {
31814 return (void *)((wxObject *) ((wxFontData *) x));
31815 }
31816 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
31817 return (void *)((wxObject *) ((wxPrintData *) x));
31818 }
31819 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
31820 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
31821 }
31822 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
31823 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
31824 }
31825 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
31826 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
31827 }
31828 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
31829 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
31830 }
31831 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
31832 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
31833 }
31834 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
31835 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
31836 }
31837 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
31838 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
31839 }
31840 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
31841 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
31842 }
31843 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
31844 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
31845 }
31846 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
31847 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
31848 }
31849 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
31850 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
31851 }
31852 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
31853 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
31854 }
31855 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
31856 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
31857 }
31858 static void *_p_wxControlTo_p_wxObject(void *x) {
31859 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
31860 }
31861 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
31862 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
31863 }
31864 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
31865 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
31866 }
31867 static void *_p_wxFSFileTo_p_wxObject(void *x) {
31868 return (void *)((wxObject *) ((wxFSFile *) x));
31869 }
31870 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
31871 return (void *)((wxObject *) ((wxFindReplaceData *) x));
31872 }
31873 static void *_p_wxPySizerTo_p_wxObject(void *x) {
31874 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
31875 }
31876 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
31877 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
31878 }
31879 static void *_p_wxColourDataTo_p_wxObject(void *x) {
31880 return (void *)((wxObject *) ((wxColourData *) x));
31881 }
31882 static void *_p_wxPyEventTo_p_wxObject(void *x) {
31883 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
31884 }
31885 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
31886 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
31887 }
31888 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
31889 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
31890 }
31891 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
31892 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
31893 }
31894 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
31895 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
31896 }
31897 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
31898 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
31899 }
31900 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
31901 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
31902 }
31903 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
31904 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
31905 }
31906 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
31907 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31908 }
31909 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
31910 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
31911 }
31912 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
31913 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
31914 }
31915 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
31916 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
31917 }
31918 static void *_p_wxShowEventTo_p_wxObject(void *x) {
31919 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
31920 }
31921 static void *_p_wxPrinterTo_p_wxObject(void *x) {
31922 return (void *)((wxObject *) ((wxPrinter *) x));
31923 }
31924 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
31925 return (void *)((wxObject *) ((wxMenuItem *) x));
31926 }
31927 static void *_p_wxDateEventTo_p_wxObject(void *x) {
31928 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
31929 }
31930 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
31931 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
31932 }
31933 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
31934 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
31935 }
31936 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
31937 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
31938 }
31939 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
31940 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
31941 }
31942 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
31943 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
31944 }
31945 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
31946 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
31947 }
31948 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
31949 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
31950 }
31951 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
31952 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
31953 }
31954 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
31955 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
31956 }
31957 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
31958 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
31959 }
31960 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
31961 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
31962 }
31963 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
31964 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
31965 }
31966 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
31967 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
31968 }
31969 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
31970 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
31971 }
31972 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
31973 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
31974 }
31975 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
31976 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
31977 }
31978 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
31979 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
31980 }
31981 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
31982 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
31983 }
31984 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
31985 return (void *)((wxObject *) ((wxImageHandler *) x));
31986 }
31987 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
31988 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
31989 }
31990 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
31991 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
31992 }
31993 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
31994 return (void *)((wxObject *) ((wxEvtHandler *) x));
31995 }
31996 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
31997 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
31998 }
31999 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
32000 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32001 }
32002 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
32003 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32004 }
32005 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
32006 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
32007 }
32008 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
32009 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
32010 }
32011 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
32012 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32013 }
32014 static void *_p_wxImageTo_p_wxObject(void *x) {
32015 return (void *)((wxObject *) ((wxImage *) x));
32016 }
32017 static void *_p_wxFrameTo_p_wxObject(void *x) {
32018 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
32019 }
32020 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
32021 return (void *)((wxObject *) ((wxPyPrintout *) x));
32022 }
32023 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
32024 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
32025 }
32026 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
32027 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
32028 }
32029 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
32030 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
32031 }
32032 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
32033 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32034 }
32035 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
32036 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32037 }
32038 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
32039 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
32040 }
32041 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
32042 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
32043 }
32044 static void *_p_wxWindowTo_p_wxObject(void *x) {
32045 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
32046 }
32047 static void *_p_wxMenuTo_p_wxObject(void *x) {
32048 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
32049 }
32050 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
32051 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
32052 }
32053 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
32054 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
32055 }
32056 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
32057 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
32058 }
32059 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
32060 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
32061 }
32062 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
32063 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
32064 }
32065 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
32066 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
32067 }
32068 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
32069 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
32070 }
32071 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
32072 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
32073 }
32074 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
32075 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32076 }
32077 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
32078 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32079 }
32080 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
32081 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
32082 }
32083 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
32084 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
32085 }
32086 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
32087 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32088 }
32089 static void *_p_wxSashEventTo_p_wxObject(void *x) {
32090 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
32091 }
32092 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
32093 return (void *)((wxObject *) ((wxPrintPreview *) x));
32094 }
32095 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
32096 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
32097 }
32098 static void *_p_wxPanelTo_p_wxObject(void *x) {
32099 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
32100 }
32101 static void *_p_wxDialogTo_p_wxObject(void *x) {
32102 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
32103 }
32104 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
32105 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32106 }
32107 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
32108 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32109 }
32110 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
32111 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32112 }
32113 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
32114 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
32115 }
32116 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
32117 return (void *)((wxObject *) ((wxPrintDialog *) x));
32118 }
32119 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
32120 return (void *)((wxObject *) ((wxFileSystem *) x));
32121 }
32122 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
32123 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
32124 }
32125 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
32126 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
32127 }
32128 static void *_p_wxPyAppTo_p_wxObject(void *x) {
32129 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
32130 }
32131 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
32132 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
32133 }
32134 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
32135 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
32136 }
32137 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
32138 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
32139 }
32140 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
32141 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
32142 }
32143 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
32144 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
32145 }
32146 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
32147 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
32148 }
32149 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
32150 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32151 }
32152 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
32153 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
32154 }
32155 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
32156 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
32157 }
32158 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
32159 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
32160 }
32161 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
32162 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32163 }
32164 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
32165 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
32166 }
32167 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
32168 return (void *)((wxObject *) ((wxPrintDialogData *) x));
32169 }
32170 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
32171 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
32172 }
32173 static void *_p_wxValidatorTo_p_wxObject(void *x) {
32174 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
32175 }
32176 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
32177 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32178 }
32179 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
32180 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
32181 }
32182 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
32183 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32184 }
32185 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
32186 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32187 }
32188 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
32189 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32190 }
32191 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
32192 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
32193 }
32194 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
32195 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
32196 }
32197 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
32198 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
32199 }
32200 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
32201 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
32202 }
32203 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
32204 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
32205 }
32206 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
32207 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
32208 }
32209 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
32210 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
32211 }
32212 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
32213 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
32214 }
32215 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
32216 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
32217 }
32218 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
32219 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
32220 }
32221 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
32222 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
32223 }
32224 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
32225 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
32226 }
32227 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
32228 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32229 }
32230 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
32231 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
32232 }
32233 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
32234 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
32235 }
32236 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
32237 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
32238 }
32239 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
32240 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
32241 }
32242 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
32243 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
32244 }
32245 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
32246 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
32247 }
32248 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
32249 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32250 }
32251 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
32252 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32253 }
32254 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
32255 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32256 }
32257 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
32258 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
32259 }
32260 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
32261 return (void *)((wxWindow *) ((wxMenuBar *) x));
32262 }
32263 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
32264 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32265 }
32266 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
32267 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32268 }
32269 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
32270 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32271 }
32272 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
32273 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32274 }
32275 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
32276 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32277 }
32278 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
32279 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32280 }
32281 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
32282 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32283 }
32284 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
32285 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32286 }
32287 static void *_p_wxPanelTo_p_wxWindow(void *x) {
32288 return (void *)((wxWindow *) ((wxPanel *) x));
32289 }
32290 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
32291 return (void *)((wxWindow *) ((wxStatusBar *) x));
32292 }
32293 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
32294 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
32295 }
32296 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
32297 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32298 }
32299 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
32300 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32301 }
32302 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
32303 return (void *)((wxWindow *) ((wxPopupWindow *) x));
32304 }
32305 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
32306 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
32307 }
32308 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
32309 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
32310 }
32311 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
32312 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
32313 }
32314 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
32315 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
32316 }
32317 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
32318 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
32319 }
32320 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
32321 return (void *)((wxWindow *) ((wxSashWindow *) x));
32322 }
32323 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
32324 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
32325 }
32326 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
32327 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32328 }
32329 static void *_p_wxControlTo_p_wxWindow(void *x) {
32330 return (void *)((wxWindow *) ((wxControl *) x));
32331 }
32332 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
32333 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32334 }
32335 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
32336 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32337 }
32338 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
32339 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32340 }
32341 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
32342 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
32343 }
32344 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
32345 return (void *)((wxWindow *) ((wxPyWindow *) x));
32346 }
32347 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
32348 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32349 }
32350 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
32351 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32352 }
32353 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
32354 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32355 }
32356 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
32357 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
32358 }
32359 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
32360 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32361 }
32362 static void *_p_wxFrameTo_p_wxWindow(void *x) {
32363 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
32364 }
32365 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
32366 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32367 }
32368 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
32369 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32370 }
32371 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
32372 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32373 }
32374 static void *_p_wxDialogTo_p_wxWindow(void *x) {
32375 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
32376 }
32377 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
32378 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32379 }
32380 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
32381 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32382 }
32383 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
32384 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
32385 }
32386 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
32387 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
32388 }
32389 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
32390 return (void *)((wxDialog *) ((wxColourDialog *) x));
32391 }
32392 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
32393 return (void *)((wxDialog *) ((wxDirDialog *) x));
32394 }
32395 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
32396 return (void *)((wxDialog *) ((wxFontDialog *) x));
32397 }
32398 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
32399 return (void *)((wxDialog *) ((wxFileDialog *) x));
32400 }
32401 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
32402 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
32403 }
32404 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
32405 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
32406 }
32407 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
32408 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
32409 }
32410 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
32411 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32412 }
32413 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
32414 return (void *)((wxDialog *) ((wxMessageDialog *) x));
32415 }
32416 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
32417 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
32418 }
32419 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
32420 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
32421 }
32422 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
32423 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
32424 }
32425 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
32426 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32427 }
32428 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
32429 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32430 }
32431 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
32432 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32433 }
32434 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
32435 return (void *)((wxPanel *) ((wxPyPanel *) x));
32436 }
32437 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
32438 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
32439 }
32440 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
32441 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
32442 }
32443 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
32444 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32445 }
32446 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
32447 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
32448 }
32449 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
32450 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
32451 }
32452 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
32453 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
32454 }
32455 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
32456 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
32457 }
32458 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
32459 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
32460 }
32461 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
32462 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
32463 }
32464 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
32465 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32466 }
32467 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
32468 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
32469 }
32470 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
32471 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
32472 }
32473 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
32474 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
32475 }
32476 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
32477 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
32478 }
32479 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
32480 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
32481 }
32482 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
32483 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32484 }
32485 static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
32486 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
32487 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};
32488 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
32489 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
32490 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
32491 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
32492 static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
32493 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
32494 static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
32495 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
32496 static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
32497 static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
32498 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
32499 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
32500 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
32501 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
32502 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
32503 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
32504 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
32505 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
32506 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
32507 static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
32508 static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
32509 static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
32510 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
32511 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
32512 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
32513 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
32514 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
32515 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
32516 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
32517 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
32518 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
32519 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
32520 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
32521 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
32522 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
32523 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
32524 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
32525 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
32526 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
32527 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
32528 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
32529 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
32530 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
32531 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
32532 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
32533 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
32534 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
32535 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
32536 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
32537 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
32538 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0};
32539 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
32540 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0};
32541 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
32542 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
32543 static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
32544 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
32545 static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
32546 static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
32547 static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
32548 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
32549 static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
32550 static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
32551 static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
32552 static swig_type_info _swigt__p_wxHtmlLinkInfo = {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
32553 static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
32554 static swig_type_info _swigt__p_wxIconBundle = {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
32555 static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
32556 static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
32557 static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
32558 static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
32559 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
32560 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
32561 static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
32562 static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
32563 static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
32564 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
32565 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
32566 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
32567 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
32568 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
32569 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
32570 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
32571 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
32572 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
32573 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
32574 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
32575 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
32576 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
32577 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
32578 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
32579 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
32580 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
32581 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
32582 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
32583 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
32584 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
32585 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
32586 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
32587 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
32588 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
32589 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
32590 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
32591 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
32592 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
32593 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
32594 static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
32595 static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
32596 static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
32597 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
32598 static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
32599 static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
32600 static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
32601 static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
32602 static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
32603 static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
32604 static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
32605 static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
32606 static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
32607 static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
32608 static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
32609 static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
32610 static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
32611 static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
32612 static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
32613 static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
32614 static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
32615 static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
32616 static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
32617 static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
32618 static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
32619 static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
32620 static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
32621 static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
32622 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
32623 static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
32624 static swig_type_info _swigt__p_wxRegion = {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
32625 static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
32626 static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
32627 static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
32628 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
32629 static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
32630 static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
32631 static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
32632 static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
32633 static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
32634 static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
32635 static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
32636 static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
32637 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
32638 static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
32639 static swig_type_info _swigt__p_wxTaskBarIcon = {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
32640 static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
32641 static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
32642 static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
32643 static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
32644 static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
32645 static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
32646 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
32647
32648 static swig_type_info *swig_type_initial[] = {
32649 &_swigt__p_bool,
32650 &_swigt__p_char,
32651 &_swigt__p_form_ops_t,
32652 &_swigt__p_int,
32653 &_swigt__p_unsigned_char,
32654 &_swigt__p_unsigned_int,
32655 &_swigt__p_unsigned_long,
32656 &_swigt__p_wxANIHandler,
32657 &_swigt__p_wxAcceleratorTable,
32658 &_swigt__p_wxActivateEvent,
32659 &_swigt__p_wxArrayInt,
32660 &_swigt__p_wxBMPHandler,
32661 &_swigt__p_wxBitmap,
32662 &_swigt__p_wxBoxSizer,
32663 &_swigt__p_wxCURHandler,
32664 &_swigt__p_wxCalculateLayoutEvent,
32665 &_swigt__p_wxChildFocusEvent,
32666 &_swigt__p_wxCloseEvent,
32667 &_swigt__p_wxColour,
32668 &_swigt__p_wxColourData,
32669 &_swigt__p_wxColourDialog,
32670 &_swigt__p_wxCommandEvent,
32671 &_swigt__p_wxContextMenuEvent,
32672 &_swigt__p_wxControl,
32673 &_swigt__p_wxControlWithItems,
32674 &_swigt__p_wxDC,
32675 &_swigt__p_wxDateEvent,
32676 &_swigt__p_wxDialog,
32677 &_swigt__p_wxDirDialog,
32678 &_swigt__p_wxDisplayChangedEvent,
32679 &_swigt__p_wxDropFilesEvent,
32680 &_swigt__p_wxDuplexMode,
32681 &_swigt__p_wxEraseEvent,
32682 &_swigt__p_wxEvent,
32683 &_swigt__p_wxEvtHandler,
32684 &_swigt__p_wxFSFile,
32685 &_swigt__p_wxFileDialog,
32686 &_swigt__p_wxFileSystem,
32687 &_swigt__p_wxFindDialogEvent,
32688 &_swigt__p_wxFindReplaceData,
32689 &_swigt__p_wxFindReplaceDialog,
32690 &_swigt__p_wxFlexGridSizer,
32691 &_swigt__p_wxFocusEvent,
32692 &_swigt__p_wxFont,
32693 &_swigt__p_wxFontData,
32694 &_swigt__p_wxFontDialog,
32695 &_swigt__p_wxFrame,
32696 &_swigt__p_wxGBSizerItem,
32697 &_swigt__p_wxGIFHandler,
32698 &_swigt__p_wxGridBagSizer,
32699 &_swigt__p_wxGridSizer,
32700 &_swigt__p_wxHtmlLinkInfo,
32701 &_swigt__p_wxICOHandler,
32702 &_swigt__p_wxIcon,
32703 &_swigt__p_wxIconBundle,
32704 &_swigt__p_wxIconizeEvent,
32705 &_swigt__p_wxIdleEvent,
32706 &_swigt__p_wxImage,
32707 &_swigt__p_wxImageHandler,
32708 &_swigt__p_wxIndividualLayoutConstraint,
32709 &_swigt__p_wxInitDialogEvent,
32710 &_swigt__p_wxJPEGHandler,
32711 &_swigt__p_wxKeyEvent,
32712 &_swigt__p_wxLayoutAlgorithm,
32713 &_swigt__p_wxLayoutConstraints,
32714 &_swigt__p_wxMDIChildFrame,
32715 &_swigt__p_wxMDIClientWindow,
32716 &_swigt__p_wxMDIParentFrame,
32717 &_swigt__p_wxMaximizeEvent,
32718 &_swigt__p_wxMenu,
32719 &_swigt__p_wxMenuBar,
32720 &_swigt__p_wxMenuEvent,
32721 &_swigt__p_wxMenuItem,
32722 &_swigt__p_wxMessageDialog,
32723 &_swigt__p_wxMiniFrame,
32724 &_swigt__p_wxMouseCaptureChangedEvent,
32725 &_swigt__p_wxMouseEvent,
32726 &_swigt__p_wxMoveEvent,
32727 &_swigt__p_wxMultiChoiceDialog,
32728 &_swigt__p_wxNavigationKeyEvent,
32729 &_swigt__p_wxNcPaintEvent,
32730 &_swigt__p_wxNotifyEvent,
32731 &_swigt__p_wxObject,
32732 &_swigt__p_wxPCXHandler,
32733 &_swigt__p_wxPNGHandler,
32734 &_swigt__p_wxPNMHandler,
32735 &_swigt__p_wxPageSetupDialog,
32736 &_swigt__p_wxPageSetupDialogData,
32737 &_swigt__p_wxPaintEvent,
32738 &_swigt__p_wxPaletteChangedEvent,
32739 &_swigt__p_wxPanel,
32740 &_swigt__p_wxPaperSize,
32741 &_swigt__p_wxPasswordEntryDialog,
32742 &_swigt__p_wxPoint,
32743 &_swigt__p_wxPopupWindow,
32744 &_swigt__p_wxPreviewCanvas,
32745 &_swigt__p_wxPreviewControlBar,
32746 &_swigt__p_wxPreviewFrame,
32747 &_swigt__p_wxPrintData,
32748 &_swigt__p_wxPrintDialog,
32749 &_swigt__p_wxPrintDialogData,
32750 &_swigt__p_wxPrintPreview,
32751 &_swigt__p_wxPrinter,
32752 &_swigt__p_wxProgressDialog,
32753 &_swigt__p_wxPyApp,
32754 &_swigt__p_wxPyCommandEvent,
32755 &_swigt__p_wxPyEvent,
32756 &_swigt__p_wxPyHtmlListBox,
32757 &_swigt__p_wxPyImageHandler,
32758 &_swigt__p_wxPyPanel,
32759 &_swigt__p_wxPyPopupTransientWindow,
32760 &_swigt__p_wxPyPreviewControlBar,
32761 &_swigt__p_wxPyPreviewFrame,
32762 &_swigt__p_wxPyPrintPreview,
32763 &_swigt__p_wxPyPrintout,
32764 &_swigt__p_wxPyScrolledWindow,
32765 &_swigt__p_wxPySizer,
32766 &_swigt__p_wxPyTaskBarIcon,
32767 &_swigt__p_wxPyVListBox,
32768 &_swigt__p_wxPyVScrolledWindow,
32769 &_swigt__p_wxPyValidator,
32770 &_swigt__p_wxPyWindow,
32771 &_swigt__p_wxQueryLayoutInfoEvent,
32772 &_swigt__p_wxQueryNewPaletteEvent,
32773 &_swigt__p_wxRect,
32774 &_swigt__p_wxRegion,
32775 &_swigt__p_wxSashEvent,
32776 &_swigt__p_wxSashLayoutWindow,
32777 &_swigt__p_wxSashWindow,
32778 &_swigt__p_wxScrollEvent,
32779 &_swigt__p_wxScrollWinEvent,
32780 &_swigt__p_wxScrolledWindow,
32781 &_swigt__p_wxSetCursorEvent,
32782 &_swigt__p_wxShowEvent,
32783 &_swigt__p_wxSingleChoiceDialog,
32784 &_swigt__p_wxSize,
32785 &_swigt__p_wxSizeEvent,
32786 &_swigt__p_wxSizer,
32787 &_swigt__p_wxSizerItem,
32788 &_swigt__p_wxSplashScreen,
32789 &_swigt__p_wxSplashScreenWindow,
32790 &_swigt__p_wxSplitterEvent,
32791 &_swigt__p_wxSplitterWindow,
32792 &_swigt__p_wxStaticBoxSizer,
32793 &_swigt__p_wxStatusBar,
32794 &_swigt__p_wxStdDialogButtonSizer,
32795 &_swigt__p_wxString,
32796 &_swigt__p_wxSysColourChangedEvent,
32797 &_swigt__p_wxTIFFHandler,
32798 &_swigt__p_wxTaskBarIcon,
32799 &_swigt__p_wxTaskBarIconEvent,
32800 &_swigt__p_wxTextEntryDialog,
32801 &_swigt__p_wxTipWindow,
32802 &_swigt__p_wxToolBar,
32803 &_swigt__p_wxTopLevelWindow,
32804 &_swigt__p_wxUpdateUIEvent,
32805 &_swigt__p_wxValidator,
32806 &_swigt__p_wxVisualAttributes,
32807 &_swigt__p_wxWindow,
32808 &_swigt__p_wxWindowCreateEvent,
32809 &_swigt__p_wxWindowDestroyEvent,
32810 &_swigt__p_wxXPMHandler,
32811 };
32812
32813 static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
32814 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
32815 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
32816 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
32817 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
32818 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
32819 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
32820 static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
32821 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
32822 static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = { {&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
32823 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
32824 static swig_cast_info _swigc__p_wxColourData[] = { {&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
32825 static swig_cast_info _swigc__p_wxColourDialog[] = { {&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
32826 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
32827 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
32828 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
32829 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
32830 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
32831 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
32832 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
32833 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
32834 static swig_cast_info _swigc__p_wxCommandEvent[] = { {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}};
32835 static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
32836 static swig_cast_info _swigc__p_wxDialog[] = { {&_swigt__p_wxDialog, 0, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxDialog, 0, 0},{0, 0, 0, 0}};
32837 static swig_cast_info _swigc__p_wxDirDialog[] = { {&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
32838 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
32839 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
32840 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
32841 static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
32842 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
32843 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
32844 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
32845 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
32846 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
32847 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
32848 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
32849 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
32850 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
32851 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
32852 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
32853 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
32854 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
32855 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32856 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32857 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32858 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32859 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
32860 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
32861 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
32862 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
32863 static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
32864 static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}};
32865 static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
32866 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
32867 static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
32868 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
32869 static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
32870 static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
32871 static swig_cast_info _swigc__p_wxFileDialog[] = { {&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
32872 static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
32873 static swig_cast_info _swigc__p_wxFindDialogEvent[] = { {&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
32874 static swig_cast_info _swigc__p_wxFindReplaceData[] = { {&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
32875 static swig_cast_info _swigc__p_wxFindReplaceDialog[] = { {&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
32876 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
32877 static swig_cast_info _swigc__p_wxFontData[] = { {&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
32878 static swig_cast_info _swigc__p_wxFontDialog[] = { {&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
32879 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}};
32880 static swig_cast_info _swigc__p_wxHtmlLinkInfo[] = { {&_swigt__p_wxHtmlLinkInfo, 0, 0, 0},{0, 0, 0, 0}};
32881 static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
32882 static swig_cast_info _swigc__p_wxIconBundle[] = { {&_swigt__p_wxIconBundle, 0, 0, 0},{0, 0, 0, 0}};
32883 static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = { {&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
32884 static swig_cast_info _swigc__p_wxMDIChildFrame[] = { {&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
32885 static swig_cast_info _swigc__p_wxMDIClientWindow[] = { {&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
32886 static swig_cast_info _swigc__p_wxMDIParentFrame[] = { {&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
32887 static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
32888 static swig_cast_info _swigc__p_wxMenuBar[] = { {&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
32889 static swig_cast_info _swigc__p_wxMessageDialog[] = { {&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
32890 static swig_cast_info _swigc__p_wxMiniFrame[] = { {&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
32891 static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = { {&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
32892 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}};
32893 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
32894 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
32895 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
32896 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
32897 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
32898 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
32899 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
32900 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
32901 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
32902 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
32903 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
32904 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
32905 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
32906 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
32907 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
32908 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
32909 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
32910 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
32911 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
32912 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
32913 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
32914 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
32915 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
32916 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
32917 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
32918 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
32919 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
32920 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
32921 static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintData, _p_wxPrintDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialogData, _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialogData, _p_wxPrintDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
32922 static swig_cast_info _swigc__p_wxPageSetupDialog[] = { {&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
32923 static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
32924 static swig_cast_info _swigc__p_wxPanel[] = { {&_swigt__p_wxPanel, 0, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxPanel, 0, 0},{0, 0, 0, 0}};
32925 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
32926 static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = { {&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
32927 static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
32928 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}};
32929 static swig_cast_info _swigc__p_wxPreviewCanvas[] = { {&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
32930 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}};
32931 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}};
32932 static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
32933 static swig_cast_info _swigc__p_wxPrintDialog[] = { {&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
32934 static swig_cast_info _swigc__p_wxPrintDialogData[] = { {&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
32935 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}};
32936 static swig_cast_info _swigc__p_wxPrinter[] = { {&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
32937 static swig_cast_info _swigc__p_wxProgressDialog[] = { {&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
32938 static swig_cast_info _swigc__p_wxPyHtmlListBox[] = { {&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
32939 static swig_cast_info _swigc__p_wxPyPanel[] = { {&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
32940 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}};
32941 static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = { {&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
32942 static swig_cast_info _swigc__p_wxPyPreviewFrame[] = { {&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
32943 static swig_cast_info _swigc__p_wxPyPrintPreview[] = { {&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
32944 static swig_cast_info _swigc__p_wxPyPrintout[] = { {&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
32945 static swig_cast_info _swigc__p_wxPyScrolledWindow[] = { {&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
32946 static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = { {&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
32947 static swig_cast_info _swigc__p_wxPyVListBox[] = { {&_swigt__p_wxPyVListBox, 0, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPyVListBox, 0, 0},{0, 0, 0, 0}};
32948 static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = { {&_swigt__p_wxPyVScrolledWindow, 0, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxPyVScrolledWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow, 0, 0},{0, 0, 0, 0}};
32949 static swig_cast_info _swigc__p_wxPyWindow[] = { {&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
32950 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = { {&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
32951 static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
32952 static swig_cast_info _swigc__p_wxRegion[] = { {&_swigt__p_wxRegion, 0, 0, 0},{0, 0, 0, 0}};
32953 static swig_cast_info _swigc__p_wxSashEvent[] = { {&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
32954 static swig_cast_info _swigc__p_wxSashLayoutWindow[] = { {&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
32955 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}};
32956 static swig_cast_info _swigc__p_wxScrollWinEvent[] = { {&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
32957 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}};
32958 static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = { {&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
32959 static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
32960 static swig_cast_info _swigc__p_wxSplashScreen[] = { {&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
32961 static swig_cast_info _swigc__p_wxSplashScreenWindow[] = { {&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
32962 static swig_cast_info _swigc__p_wxSplitterEvent[] = { {&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
32963 static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
32964 static swig_cast_info _swigc__p_wxStatusBar[] = { {&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
32965 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = { {&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
32966 static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
32967 static swig_cast_info _swigc__p_wxTaskBarIcon[] = { {&_swigt__p_wxTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
32968 static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = { {&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
32969 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}};
32970 static swig_cast_info _swigc__p_wxTipWindow[] = { {&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
32971 static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
32972 static swig_cast_info _swigc__p_wxTopLevelWindow[] = { {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0},{0, 0, 0, 0}};
32973 static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
32974 static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
32975
32976 static swig_cast_info *swig_cast_initial[] = {
32977 _swigc__p_bool,
32978 _swigc__p_char,
32979 _swigc__p_form_ops_t,
32980 _swigc__p_int,
32981 _swigc__p_unsigned_char,
32982 _swigc__p_unsigned_int,
32983 _swigc__p_unsigned_long,
32984 _swigc__p_wxANIHandler,
32985 _swigc__p_wxAcceleratorTable,
32986 _swigc__p_wxActivateEvent,
32987 _swigc__p_wxArrayInt,
32988 _swigc__p_wxBMPHandler,
32989 _swigc__p_wxBitmap,
32990 _swigc__p_wxBoxSizer,
32991 _swigc__p_wxCURHandler,
32992 _swigc__p_wxCalculateLayoutEvent,
32993 _swigc__p_wxChildFocusEvent,
32994 _swigc__p_wxCloseEvent,
32995 _swigc__p_wxColour,
32996 _swigc__p_wxColourData,
32997 _swigc__p_wxColourDialog,
32998 _swigc__p_wxCommandEvent,
32999 _swigc__p_wxContextMenuEvent,
33000 _swigc__p_wxControl,
33001 _swigc__p_wxControlWithItems,
33002 _swigc__p_wxDC,
33003 _swigc__p_wxDateEvent,
33004 _swigc__p_wxDialog,
33005 _swigc__p_wxDirDialog,
33006 _swigc__p_wxDisplayChangedEvent,
33007 _swigc__p_wxDropFilesEvent,
33008 _swigc__p_wxDuplexMode,
33009 _swigc__p_wxEraseEvent,
33010 _swigc__p_wxEvent,
33011 _swigc__p_wxEvtHandler,
33012 _swigc__p_wxFSFile,
33013 _swigc__p_wxFileDialog,
33014 _swigc__p_wxFileSystem,
33015 _swigc__p_wxFindDialogEvent,
33016 _swigc__p_wxFindReplaceData,
33017 _swigc__p_wxFindReplaceDialog,
33018 _swigc__p_wxFlexGridSizer,
33019 _swigc__p_wxFocusEvent,
33020 _swigc__p_wxFont,
33021 _swigc__p_wxFontData,
33022 _swigc__p_wxFontDialog,
33023 _swigc__p_wxFrame,
33024 _swigc__p_wxGBSizerItem,
33025 _swigc__p_wxGIFHandler,
33026 _swigc__p_wxGridBagSizer,
33027 _swigc__p_wxGridSizer,
33028 _swigc__p_wxHtmlLinkInfo,
33029 _swigc__p_wxICOHandler,
33030 _swigc__p_wxIcon,
33031 _swigc__p_wxIconBundle,
33032 _swigc__p_wxIconizeEvent,
33033 _swigc__p_wxIdleEvent,
33034 _swigc__p_wxImage,
33035 _swigc__p_wxImageHandler,
33036 _swigc__p_wxIndividualLayoutConstraint,
33037 _swigc__p_wxInitDialogEvent,
33038 _swigc__p_wxJPEGHandler,
33039 _swigc__p_wxKeyEvent,
33040 _swigc__p_wxLayoutAlgorithm,
33041 _swigc__p_wxLayoutConstraints,
33042 _swigc__p_wxMDIChildFrame,
33043 _swigc__p_wxMDIClientWindow,
33044 _swigc__p_wxMDIParentFrame,
33045 _swigc__p_wxMaximizeEvent,
33046 _swigc__p_wxMenu,
33047 _swigc__p_wxMenuBar,
33048 _swigc__p_wxMenuEvent,
33049 _swigc__p_wxMenuItem,
33050 _swigc__p_wxMessageDialog,
33051 _swigc__p_wxMiniFrame,
33052 _swigc__p_wxMouseCaptureChangedEvent,
33053 _swigc__p_wxMouseEvent,
33054 _swigc__p_wxMoveEvent,
33055 _swigc__p_wxMultiChoiceDialog,
33056 _swigc__p_wxNavigationKeyEvent,
33057 _swigc__p_wxNcPaintEvent,
33058 _swigc__p_wxNotifyEvent,
33059 _swigc__p_wxObject,
33060 _swigc__p_wxPCXHandler,
33061 _swigc__p_wxPNGHandler,
33062 _swigc__p_wxPNMHandler,
33063 _swigc__p_wxPageSetupDialog,
33064 _swigc__p_wxPageSetupDialogData,
33065 _swigc__p_wxPaintEvent,
33066 _swigc__p_wxPaletteChangedEvent,
33067 _swigc__p_wxPanel,
33068 _swigc__p_wxPaperSize,
33069 _swigc__p_wxPasswordEntryDialog,
33070 _swigc__p_wxPoint,
33071 _swigc__p_wxPopupWindow,
33072 _swigc__p_wxPreviewCanvas,
33073 _swigc__p_wxPreviewControlBar,
33074 _swigc__p_wxPreviewFrame,
33075 _swigc__p_wxPrintData,
33076 _swigc__p_wxPrintDialog,
33077 _swigc__p_wxPrintDialogData,
33078 _swigc__p_wxPrintPreview,
33079 _swigc__p_wxPrinter,
33080 _swigc__p_wxProgressDialog,
33081 _swigc__p_wxPyApp,
33082 _swigc__p_wxPyCommandEvent,
33083 _swigc__p_wxPyEvent,
33084 _swigc__p_wxPyHtmlListBox,
33085 _swigc__p_wxPyImageHandler,
33086 _swigc__p_wxPyPanel,
33087 _swigc__p_wxPyPopupTransientWindow,
33088 _swigc__p_wxPyPreviewControlBar,
33089 _swigc__p_wxPyPreviewFrame,
33090 _swigc__p_wxPyPrintPreview,
33091 _swigc__p_wxPyPrintout,
33092 _swigc__p_wxPyScrolledWindow,
33093 _swigc__p_wxPySizer,
33094 _swigc__p_wxPyTaskBarIcon,
33095 _swigc__p_wxPyVListBox,
33096 _swigc__p_wxPyVScrolledWindow,
33097 _swigc__p_wxPyValidator,
33098 _swigc__p_wxPyWindow,
33099 _swigc__p_wxQueryLayoutInfoEvent,
33100 _swigc__p_wxQueryNewPaletteEvent,
33101 _swigc__p_wxRect,
33102 _swigc__p_wxRegion,
33103 _swigc__p_wxSashEvent,
33104 _swigc__p_wxSashLayoutWindow,
33105 _swigc__p_wxSashWindow,
33106 _swigc__p_wxScrollEvent,
33107 _swigc__p_wxScrollWinEvent,
33108 _swigc__p_wxScrolledWindow,
33109 _swigc__p_wxSetCursorEvent,
33110 _swigc__p_wxShowEvent,
33111 _swigc__p_wxSingleChoiceDialog,
33112 _swigc__p_wxSize,
33113 _swigc__p_wxSizeEvent,
33114 _swigc__p_wxSizer,
33115 _swigc__p_wxSizerItem,
33116 _swigc__p_wxSplashScreen,
33117 _swigc__p_wxSplashScreenWindow,
33118 _swigc__p_wxSplitterEvent,
33119 _swigc__p_wxSplitterWindow,
33120 _swigc__p_wxStaticBoxSizer,
33121 _swigc__p_wxStatusBar,
33122 _swigc__p_wxStdDialogButtonSizer,
33123 _swigc__p_wxString,
33124 _swigc__p_wxSysColourChangedEvent,
33125 _swigc__p_wxTIFFHandler,
33126 _swigc__p_wxTaskBarIcon,
33127 _swigc__p_wxTaskBarIconEvent,
33128 _swigc__p_wxTextEntryDialog,
33129 _swigc__p_wxTipWindow,
33130 _swigc__p_wxToolBar,
33131 _swigc__p_wxTopLevelWindow,
33132 _swigc__p_wxUpdateUIEvent,
33133 _swigc__p_wxValidator,
33134 _swigc__p_wxVisualAttributes,
33135 _swigc__p_wxWindow,
33136 _swigc__p_wxWindowCreateEvent,
33137 _swigc__p_wxWindowDestroyEvent,
33138 _swigc__p_wxXPMHandler,
33139 };
33140
33141
33142 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33143
33144 static swig_const_info swig_const_table[] = {
33145 {0, 0, 0, 0.0, 0, 0}};
33146
33147 #ifdef __cplusplus
33148 }
33149 #endif
33150 /* -----------------------------------------------------------------------------
33151 * Type initialization:
33152 * This problem is tough by the requirement that no dynamic
33153 * memory is used. Also, since swig_type_info structures store pointers to
33154 * swig_cast_info structures and swig_cast_info structures store pointers back
33155 * to swig_type_info structures, we need some lookup code at initialization.
33156 * The idea is that swig generates all the structures that are needed.
33157 * The runtime then collects these partially filled structures.
33158 * The SWIG_InitializeModule function takes these initial arrays out of
33159 * swig_module, and does all the lookup, filling in the swig_module.types
33160 * array with the correct data and linking the correct swig_cast_info
33161 * structures together.
33162 *
33163 * The generated swig_type_info structures are assigned staticly to an initial
33164 * array. We just loop though that array, and handle each type individually.
33165 * First we lookup if this type has been already loaded, and if so, use the
33166 * loaded structure instead of the generated one. Then we have to fill in the
33167 * cast linked list. The cast data is initially stored in something like a
33168 * two-dimensional array. Each row corresponds to a type (there are the same
33169 * number of rows as there are in the swig_type_initial array). Each entry in
33170 * a column is one of the swig_cast_info structures for that type.
33171 * The cast_initial array is actually an array of arrays, because each row has
33172 * a variable number of columns. So to actually build the cast linked list,
33173 * we find the array of casts associated with the type, and loop through it
33174 * adding the casts to the list. The one last trick we need to do is making
33175 * sure the type pointer in the swig_cast_info struct is correct.
33176 *
33177 * First off, we lookup the cast->type name to see if it is already loaded.
33178 * There are three cases to handle:
33179 * 1) If the cast->type has already been loaded AND the type we are adding
33180 * casting info to has not been loaded (it is in this module), THEN we
33181 * replace the cast->type pointer with the type pointer that has already
33182 * been loaded.
33183 * 2) If BOTH types (the one we are adding casting info to, and the
33184 * cast->type) are loaded, THEN the cast info has already been loaded by
33185 * the previous module so we just ignore it.
33186 * 3) Finally, if cast->type has not already been loaded, then we add that
33187 * swig_cast_info to the linked list (because the cast->type) pointer will
33188 * be correct.
33189 * ----------------------------------------------------------------------------- */
33190
33191 #ifdef __cplusplus
33192 extern "C" {
33193 #if 0
33194 } /* c-mode */
33195 #endif
33196 #endif
33197
33198 #if 0
33199 #define SWIGRUNTIME_DEBUG
33200 #endif
33201
33202 SWIGRUNTIME void
33203 SWIG_InitializeModule(void *clientdata) {
33204 size_t i;
33205 swig_module_info *module_head;
33206 static int init_run = 0;
33207
33208 clientdata = clientdata;
33209
33210 if (init_run) return;
33211 init_run = 1;
33212
33213 /* Initialize the swig_module */
33214 swig_module.type_initial = swig_type_initial;
33215 swig_module.cast_initial = swig_cast_initial;
33216
33217 /* Try and load any already created modules */
33218 module_head = SWIG_GetModule(clientdata);
33219 if (module_head) {
33220 swig_module.next = module_head->next;
33221 module_head->next = &swig_module;
33222 } else {
33223 /* This is the first module loaded */
33224 swig_module.next = &swig_module;
33225 SWIG_SetModule(clientdata, &swig_module);
33226 }
33227
33228 /* Now work on filling in swig_module.types */
33229 #ifdef SWIGRUNTIME_DEBUG
33230 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
33231 #endif
33232 for (i = 0; i < swig_module.size; ++i) {
33233 swig_type_info *type = 0;
33234 swig_type_info *ret;
33235 swig_cast_info *cast;
33236
33237 #ifdef SWIGRUNTIME_DEBUG
33238 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
33239 #endif
33240
33241 /* if there is another module already loaded */
33242 if (swig_module.next != &swig_module) {
33243 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
33244 }
33245 if (type) {
33246 /* Overwrite clientdata field */
33247 #ifdef SWIGRUNTIME_DEBUG
33248 printf("SWIG_InitializeModule: found type %s\n", type->name);
33249 #endif
33250 if (swig_module.type_initial[i]->clientdata) {
33251 type->clientdata = swig_module.type_initial[i]->clientdata;
33252 #ifdef SWIGRUNTIME_DEBUG
33253 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
33254 #endif
33255 }
33256 } else {
33257 type = swig_module.type_initial[i];
33258 }
33259
33260 /* Insert casting types */
33261 cast = swig_module.cast_initial[i];
33262 while (cast->type) {
33263 /* Don't need to add information already in the list */
33264 ret = 0;
33265 #ifdef SWIGRUNTIME_DEBUG
33266 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
33267 #endif
33268 if (swig_module.next != &swig_module) {
33269 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
33270 #ifdef SWIGRUNTIME_DEBUG
33271 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
33272 #endif
33273 }
33274 if (ret) {
33275 if (type == swig_module.type_initial[i]) {
33276 #ifdef SWIGRUNTIME_DEBUG
33277 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
33278 #endif
33279 cast->type = ret;
33280 ret = 0;
33281 } else {
33282 /* Check for casting already in the list */
33283 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
33284 #ifdef SWIGRUNTIME_DEBUG
33285 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
33286 #endif
33287 if (!ocast) ret = 0;
33288 }
33289 }
33290
33291 if (!ret) {
33292 #ifdef SWIGRUNTIME_DEBUG
33293 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
33294 #endif
33295 if (type->cast) {
33296 type->cast->prev = cast;
33297 cast->next = type->cast;
33298 }
33299 type->cast = cast;
33300 }
33301 cast++;
33302 }
33303 /* Set entry in modules->types array equal to the type */
33304 swig_module.types[i] = type;
33305 }
33306 swig_module.types[i] = 0;
33307
33308 #ifdef SWIGRUNTIME_DEBUG
33309 printf("**** SWIG_InitializeModule: Cast List ******\n");
33310 for (i = 0; i < swig_module.size; ++i) {
33311 int j = 0;
33312 swig_cast_info *cast = swig_module.cast_initial[i];
33313 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
33314 while (cast->type) {
33315 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
33316 cast++;
33317 ++j;
33318 }
33319 printf("---- Total casts: %d\n",j);
33320 }
33321 printf("**** SWIG_InitializeModule: Cast List ******\n");
33322 #endif
33323 }
33324
33325 /* This function will propagate the clientdata field of type to
33326 * any new swig_type_info structures that have been added into the list
33327 * of equivalent types. It is like calling
33328 * SWIG_TypeClientData(type, clientdata) a second time.
33329 */
33330 SWIGRUNTIME void
33331 SWIG_PropagateClientData(void) {
33332 size_t i;
33333 swig_cast_info *equiv;
33334 static int init_run = 0;
33335
33336 if (init_run) return;
33337 init_run = 1;
33338
33339 for (i = 0; i < swig_module.size; i++) {
33340 if (swig_module.types[i]->clientdata) {
33341 equiv = swig_module.types[i]->cast;
33342 while (equiv) {
33343 if (!equiv->converter) {
33344 if (equiv->type && !equiv->type->clientdata)
33345 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
33346 }
33347 equiv = equiv->next;
33348 }
33349 }
33350 }
33351 }
33352
33353 #ifdef __cplusplus
33354 #if 0
33355 {
33356 /* c-mode */
33357 #endif
33358 }
33359 #endif
33360
33361
33362
33363 #ifdef __cplusplus
33364 extern "C" {
33365 #endif
33366
33367 /* Python-specific SWIG API */
33368 #define SWIG_newvarlink() SWIG_Python_newvarlink()
33369 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33370 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33371
33372 /* -----------------------------------------------------------------------------
33373 * global variable support code.
33374 * ----------------------------------------------------------------------------- */
33375
33376 typedef struct swig_globalvar {
33377 char *name; /* Name of global variable */
33378 PyObject *(*get_attr)(void); /* Return the current value */
33379 int (*set_attr)(PyObject *); /* Set the value */
33380 struct swig_globalvar *next;
33381 } swig_globalvar;
33382
33383 typedef struct swig_varlinkobject {
33384 PyObject_HEAD
33385 swig_globalvar *vars;
33386 } swig_varlinkobject;
33387
33388 SWIGINTERN PyObject *
33389 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
33390 return PyString_FromString("<Swig global variables>");
33391 }
33392
33393 SWIGINTERN PyObject *
33394 swig_varlink_str(swig_varlinkobject *v) {
33395 PyObject *str = PyString_FromString("(");
33396 swig_globalvar *var;
33397 for (var = v->vars; var; var=var->next) {
33398 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
33399 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
33400 }
33401 PyString_ConcatAndDel(&str,PyString_FromString(")"));
33402 return str;
33403 }
33404
33405 SWIGINTERN int
33406 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
33407 PyObject *str = swig_varlink_str(v);
33408 fprintf(fp,"Swig global variables ");
33409 fprintf(fp,"%s\n", PyString_AsString(str));
33410 Py_DECREF(str);
33411 return 0;
33412 }
33413
33414 SWIGINTERN void
33415 swig_varlink_dealloc(swig_varlinkobject *v) {
33416 swig_globalvar *var = v->vars;
33417 while (var) {
33418 swig_globalvar *n = var->next;
33419 free(var->name);
33420 free(var);
33421 var = n;
33422 }
33423 }
33424
33425 SWIGINTERN PyObject *
33426 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
33427 PyObject *res = NULL;
33428 swig_globalvar *var = v->vars;
33429 while (var) {
33430 if (strcmp(var->name,n) == 0) {
33431 res = (*var->get_attr)();
33432 break;
33433 }
33434 var = var->next;
33435 }
33436 if (res == NULL && !PyErr_Occurred()) {
33437 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
33438 }
33439 return res;
33440 }
33441
33442 SWIGINTERN int
33443 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
33444 int res = 1;
33445 swig_globalvar *var = v->vars;
33446 while (var) {
33447 if (strcmp(var->name,n) == 0) {
33448 res = (*var->set_attr)(p);
33449 break;
33450 }
33451 var = var->next;
33452 }
33453 if (res == 1 && !PyErr_Occurred()) {
33454 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
33455 }
33456 return res;
33457 }
33458
33459 SWIGINTERN PyTypeObject*
33460 swig_varlink_type(void) {
33461 static char varlink__doc__[] = "Swig var link object";
33462 static PyTypeObject varlink_type;
33463 static int type_init = 0;
33464 if (!type_init) {
33465 const PyTypeObject tmp
33466 = {
33467 PyObject_HEAD_INIT(NULL)
33468 0, /* Number of items in variable part (ob_size) */
33469 (char *)"swigvarlink", /* Type name (tp_name) */
33470 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
33471 0, /* Itemsize (tp_itemsize) */
33472 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
33473 (printfunc) swig_varlink_print, /* Print (tp_print) */
33474 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
33475 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
33476 0, /* tp_compare */
33477 (reprfunc) swig_varlink_repr, /* tp_repr */
33478 0, /* tp_as_number */
33479 0, /* tp_as_sequence */
33480 0, /* tp_as_mapping */
33481 0, /* tp_hash */
33482 0, /* tp_call */
33483 (reprfunc)swig_varlink_str, /* tp_str */
33484 0, /* tp_getattro */
33485 0, /* tp_setattro */
33486 0, /* tp_as_buffer */
33487 0, /* tp_flags */
33488 varlink__doc__, /* tp_doc */
33489 0, /* tp_traverse */
33490 0, /* tp_clear */
33491 0, /* tp_richcompare */
33492 0, /* tp_weaklistoffset */
33493 #if PY_VERSION_HEX >= 0x02020000
33494 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33495 #endif
33496 #if PY_VERSION_HEX >= 0x02030000
33497 0, /* tp_del */
33498 #endif
33499 #ifdef COUNT_ALLOCS
33500 0,0,0,0 /* tp_alloc -> tp_next */
33501 #endif
33502 };
33503 varlink_type = tmp;
33504 varlink_type.ob_type = &PyType_Type;
33505 type_init = 1;
33506 }
33507 return &varlink_type;
33508 }
33509
33510 /* Create a variable linking object for use later */
33511 SWIGINTERN PyObject *
33512 SWIG_Python_newvarlink(void) {
33513 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
33514 if (result) {
33515 result->vars = 0;
33516 }
33517 return ((PyObject*) result);
33518 }
33519
33520 SWIGINTERN void
33521 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
33522 swig_varlinkobject *v = (swig_varlinkobject *) p;
33523 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
33524 if (gv) {
33525 size_t size = strlen(name)+1;
33526 gv->name = (char *)malloc(size);
33527 if (gv->name) {
33528 strncpy(gv->name,name,size);
33529 gv->get_attr = get_attr;
33530 gv->set_attr = set_attr;
33531 gv->next = v->vars;
33532 }
33533 }
33534 v->vars = gv;
33535 }
33536
33537 SWIGINTERN PyObject *
33538 SWIG_globals() {
33539 static PyObject *_SWIG_globals = 0;
33540 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
33541 return _SWIG_globals;
33542 }
33543
33544 /* -----------------------------------------------------------------------------
33545 * constants/methods manipulation
33546 * ----------------------------------------------------------------------------- */
33547
33548 /* Install Constants */
33549 SWIGINTERN void
33550 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
33551 PyObject *obj = 0;
33552 size_t i;
33553 for (i = 0; constants[i].type; ++i) {
33554 switch(constants[i].type) {
33555 case SWIG_PY_POINTER:
33556 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
33557 break;
33558 case SWIG_PY_BINARY:
33559 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
33560 break;
33561 default:
33562 obj = 0;
33563 break;
33564 }
33565 if (obj) {
33566 PyDict_SetItemString(d, constants[i].name, obj);
33567 Py_DECREF(obj);
33568 }
33569 }
33570 }
33571
33572 /* -----------------------------------------------------------------------------*/
33573 /* Fix SwigMethods to carry the callback ptrs when needed */
33574 /* -----------------------------------------------------------------------------*/
33575
33576 SWIGINTERN void
33577 SWIG_Python_FixMethods(PyMethodDef *methods,
33578 swig_const_info *const_table,
33579 swig_type_info **types,
33580 swig_type_info **types_initial) {
33581 size_t i;
33582 for (i = 0; methods[i].ml_name; ++i) {
33583 char *c = methods[i].ml_doc;
33584 if (c && (c = strstr(c, "swig_ptr: "))) {
33585 int j;
33586 swig_const_info *ci = 0;
33587 char *name = c + 10;
33588 for (j = 0; const_table[j].type; ++j) {
33589 if (strncmp(const_table[j].name, name,
33590 strlen(const_table[j].name)) == 0) {
33591 ci = &(const_table[j]);
33592 break;
33593 }
33594 }
33595 if (ci) {
33596 size_t shift = (ci->ptype) - types;
33597 swig_type_info *ty = types_initial[shift];
33598 size_t ldoc = (c - methods[i].ml_doc);
33599 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
33600 char *ndoc = (char*)malloc(ldoc + lptr + 10);
33601 if (ndoc) {
33602 char *buff = ndoc;
33603 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
33604 if (ptr) {
33605 strncpy(buff, methods[i].ml_doc, ldoc);
33606 buff += ldoc;
33607 strncpy(buff, "swig_ptr: ", 10);
33608 buff += 10;
33609 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
33610 methods[i].ml_doc = ndoc;
33611 }
33612 }
33613 }
33614 }
33615 }
33616 }
33617
33618 #ifdef __cplusplus
33619 }
33620 #endif
33621
33622 /* -----------------------------------------------------------------------------*
33623 * Partial Init method
33624 * -----------------------------------------------------------------------------*/
33625
33626 #ifdef __cplusplus
33627 extern "C"
33628 #endif
33629 SWIGEXPORT void SWIG_init(void) {
33630 PyObject *m, *d;
33631
33632 /* Fix SwigMethods to carry the callback ptrs when needed */
33633 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
33634
33635 m = Py_InitModule((char *) SWIG_name, SwigMethods);
33636 d = PyModule_GetDict(m);
33637
33638 SWIG_InitializeModule(0);
33639 SWIG_InstallConstants(d,swig_const_table);
33640
33641
33642 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
33643 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get, FrameNameStr_set);
33644 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get, DialogNameStr_set);
33645 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get, StatusLineNameStr_set);
33646 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get, ToolBarNameStr_set);
33647 SWIG_Python_SetConstant(d, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP)));
33648 SWIG_Python_SetConstant(d, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE)));
33649 SWIG_Python_SetConstant(d, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE)));
33650 SWIG_Python_SetConstant(d, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE)));
33651 SWIG_Python_SetConstant(d, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX)));
33652 SWIG_Python_SetConstant(d, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME)));
33653 SWIG_Python_SetConstant(d, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU)));
33654 SWIG_Python_SetConstant(d, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX)));
33655 SWIG_Python_SetConstant(d, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX)));
33656 SWIG_Python_SetConstant(d, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ)));
33657 SWIG_Python_SetConstant(d, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT)));
33658 SWIG_Python_SetConstant(d, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX)));
33659 SWIG_Python_SetConstant(d, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER)));
33660 SWIG_Python_SetConstant(d, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT)));
33661 SWIG_Python_SetConstant(d, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE)));
33662 SWIG_Python_SetConstant(d, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE)));
33663 SWIG_Python_SetConstant(d, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW)));
33664 SWIG_Python_SetConstant(d, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT)));
33665 SWIG_Python_SetConstant(d, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU)));
33666 SWIG_Python_SetConstant(d, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR)));
33667 SWIG_Python_SetConstant(d, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED)));
33668 SWIG_Python_SetConstant(d, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER)));
33669 SWIG_Python_SetConstant(d, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL)));
33670 SWIG_Python_SetConstant(d, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL)));
33671 SWIG_Python_SetConstant(d, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL)));
33672 SWIG_Python_SetConstant(d, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS)));
33673 SWIG_Python_SetConstant(d, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS)));
33674 SWIG_Python_SetConstant(d, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D)));
33675 SWIG_Python_SetConstant(d, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR)));
33676 SWIG_Python_SetConstant(d, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR)));
33677 SWIG_Python_SetConstant(d, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR)));
33678 SWIG_Python_SetConstant(d, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER)));
33679 SWIG_Python_SetConstant(d, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION)));
33680 SWIG_Python_SetConstant(d, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL)));
33681 SWIG_Python_SetConstant(d, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG)));
33682 SWIG_Python_SetConstant(d, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO)));
33683 SWIG_Python_SetConstant(d, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR)));
33684 SWIG_Python_SetConstant(d, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags)));
33685 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT)));
33686 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN)));
33687 SWIG_Python_SetConstant(d, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE)));
33688 SWIG_Python_SetConstant(d, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT)));
33689 SWIG_Python_SetConstant(d, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT)));
33690 SWIG_Python_SetConstant(d, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL)));
33691 SWIG_Python_SetConstant(d, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT)));
33692 SWIG_Python_SetConstant(d, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED)));
33693 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get, SplitterNameStr_set);
33694 SWIG_Python_SetConstant(d, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER)));
33695 SWIG_Python_SetConstant(d, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH)));
33696 SWIG_Python_SetConstant(d, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT)));
33697 SWIG_Python_SetConstant(d, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE)));
33698 SWIG_Python_SetConstant(d, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH)));
33699 SWIG_Python_SetConstant(d, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER)));
33700 SWIG_Python_SetConstant(d, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME)));
33701 SWIG_Python_SetConstant(d, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER)));
33702 SWIG_Python_SetConstant(d, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D)));
33703 SWIG_Python_SetConstant(d, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL)));
33704 SWIG_Python_SetConstant(d, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL)));
33705 SWIG_Python_SetConstant(d, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE)));
33706 SWIG_Python_SetConstant(d, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING)));
33707 SWIG_Python_SetConstant(d, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN)));
33708 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
33709 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
33710 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
33711 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
33712 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get, SashNameStr_set);
33713 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get, SashLayoutNameStr_set);
33714 SWIG_Python_SetConstant(d, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE)));
33715 SWIG_Python_SetConstant(d, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING)));
33716 SWIG_Python_SetConstant(d, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN)));
33717 SWIG_Python_SetConstant(d, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER)));
33718 SWIG_Python_SetConstant(d, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER)));
33719 SWIG_Python_SetConstant(d, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH)));
33720 SWIG_Python_SetConstant(d, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER)));
33721 SWIG_Python_SetConstant(d, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D)));
33722 SWIG_Python_SetConstant(d, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP)));
33723 SWIG_Python_SetConstant(d, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT)));
33724 SWIG_Python_SetConstant(d, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM)));
33725 SWIG_Python_SetConstant(d, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT)));
33726 SWIG_Python_SetConstant(d, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE)));
33727 SWIG_Python_SetConstant(d, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK)));
33728 SWIG_Python_SetConstant(d, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE)));
33729 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
33730 SWIG_Python_SetConstant(d, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL)));
33731 SWIG_Python_SetConstant(d, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL)));
33732 SWIG_Python_SetConstant(d, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE)));
33733 SWIG_Python_SetConstant(d, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP)));
33734 SWIG_Python_SetConstant(d, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT)));
33735 SWIG_Python_SetConstant(d, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT)));
33736 SWIG_Python_SetConstant(d, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM)));
33737 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y)));
33738 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X)));
33739 SWIG_Python_SetConstant(d, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH)));
33740 SWIG_Python_SetConstant(d, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY)));
33741 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
33742 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
33743 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get, VListBoxNameStr_set);
33744
33745 // Map renamed classes back to their common name for OOR
33746 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
33747 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
33748 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
33749
33750 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
33751 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
33752 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
33753 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
33754 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
33755 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
33756 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
33757 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get, FileSelectorPromptStr_set);
33758 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get, DirSelectorPromptStr_set);
33759 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get, DirDialogNameStr_set);
33760 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get, FileSelectorDefaultWildcardStr_set);
33761 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get, GetTextFromUserPromptStr_set);
33762 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get, MessageBoxCaptionStr_set);
33763 SWIG_Python_SetConstant(d, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE)));
33764 SWIG_Python_SetConstant(d, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle)));
33765 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get, GetPasswordFromUserPromptStr_set);
33766 SWIG_Python_SetConstant(d, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN)));
33767 SWIG_Python_SetConstant(d, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD)));
33768 SWIG_Python_SetConstant(d, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE)));
33769 SWIG_Python_SetConstant(d, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG)));
33770 SWIG_Python_SetConstant(d, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN)));
33771 SWIG_Python_SetConstant(d, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE)));
33772 SWIG_Python_SetConstant(d, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD)));
33773 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
33774 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
33775 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
33776 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
33777 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
33778 SWIG_Python_SetConstant(d, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
33779 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
33780 SWIG_Python_SetConstant(d, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
33781 SWIG_Python_SetConstant(d, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
33782 SWIG_Python_SetConstant(d, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
33783 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
33784 SWIG_Python_SetConstant(d, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
33785 SWIG_Python_SetConstant(d, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
33786 SWIG_Python_SetConstant(d, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
33787 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get, PrintoutTitleStr_set);
33788 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get, PreviewCanvasNameStr_set);
33789 SWIG_Python_SetConstant(d, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE)));
33790 SWIG_Python_SetConstant(d, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW)));
33791 SWIG_Python_SetConstant(d, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE)));
33792 SWIG_Python_SetConstant(d, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER)));
33793 SWIG_Python_SetConstant(d, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM)));
33794 SWIG_Python_SetConstant(d, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT)));
33795 SWIG_Python_SetConstant(d, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE)));
33796 SWIG_Python_SetConstant(d, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER)));
33797 SWIG_Python_SetConstant(d, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE)));
33798 SWIG_Python_SetConstant(d, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL)));
33799 SWIG_Python_SetConstant(d, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE)));
33800 SWIG_Python_SetConstant(d, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL)));
33801 SWIG_Python_SetConstant(d, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO)));
33802 SWIG_Python_SetConstant(d, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR)));
33803 SWIG_Python_SetConstant(d, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT)));
33804 SWIG_Python_SetConstant(d, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT)));
33805 SWIG_Python_SetConstant(d, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY)));
33806 SWIG_Python_SetConstant(d, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE)));
33807 SWIG_Python_SetConstant(d, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE)));
33808 SWIG_Python_SetConstant(d, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER)));
33809 SWIG_Python_SetConstant(d, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR)));
33810 SWIG_Python_SetConstant(d, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED)));
33811 SWIG_Python_SetConstant(d, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR)));
33812 SWIG_Python_SetConstant(d, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT)));
33813 SWIG_Python_SetConstant(d, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS)));
33814 SWIG_Python_SetConstant(d, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT)));
33815 SWIG_Python_SetConstant(d, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM)));
33816 SWIG_Python_SetConstant(d, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST)));
33817 SWIG_Python_SetConstant(d, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST)));
33818 SWIG_Python_SetConstant(d, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO)));
33819 SWIG_Python_SetConstant(d, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT)));
33820 SWIG_Python_SetConstant(d, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE)));
33821 SWIG_Python_SetConstant(d, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT)));
33822 SWIG_Python_SetConstant(d, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS)));
33823 SWIG_Python_SetConstant(d, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT)));
33824 SWIG_Python_SetConstant(d, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM)));
33825 SWIG_Python_SetConstant(d, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST)));
33826 SWIG_Python_SetConstant(d, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST)));
33827 SWIG_Python_SetConstant(d, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO)));
33828
33829 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
33830
33831 }
33832