]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/_windows_wrap.cpp
Implement deep copy of wxBitmapRefData
[wxWidgets.git] / wxPython / src / msw / _windows_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.29
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
34
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
40 # else
41 # define SWIGTEMPLATEDISAMBIGUATOR
42 # endif
43 # else
44 # define SWIGTEMPLATEDISAMBIGUATOR
45 # endif
46 #endif
47
48 /* inline attribute */
49 #ifndef SWIGINLINE
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
52 # else
53 # define SWIGINLINE
54 # endif
55 #endif
56
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
58 #ifndef SWIGUNUSED
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
62 # else
63 # define SWIGUNUSED
64 # endif
65 # elif defined(__ICC)
66 # define SWIGUNUSED __attribute__ ((__unused__))
67 # else
68 # define SWIGUNUSED
69 # endif
70 #endif
71
72 #ifndef SWIGUNUSEDPARM
73 # ifdef __cplusplus
74 # define SWIGUNUSEDPARM(p)
75 # else
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
77 # endif
78 #endif
79
80 /* internal SWIG method */
81 #ifndef SWIGINTERN
82 # define SWIGINTERN static SWIGUNUSED
83 #endif
84
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
88 #endif
89
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
94 # endif
95 #endif
96
97 #ifndef SWIGEXPORT
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
100 # define SWIGEXPORT
101 # else
102 # define SWIGEXPORT __declspec(dllexport)
103 # endif
104 # else
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
107 # else
108 # define SWIGEXPORT
109 # endif
110 # endif
111 #endif
112
113 /* calling conventions for Windows */
114 #ifndef SWIGSTDCALL
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
117 # else
118 # define SWIGSTDCALL
119 # endif
120 #endif
121
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
125 #endif
126
127
128 /* Python.h has to appear first */
129 #include <Python.h>
130
131 /* -----------------------------------------------------------------------------
132 * swigrun.swg
133 *
134 * This file contains generic CAPI SWIG runtime support for pointer
135 * type checking.
136 * ----------------------------------------------------------------------------- */
137
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
141
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
147 #else
148 # define SWIG_TYPE_TABLE_NAME
149 #endif
150
151 /*
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
155
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
158 */
159
160 #ifndef SWIGRUNTIME
161 # define SWIGRUNTIME SWIGINTERN
162 #endif
163
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
166 #endif
167
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
171 #endif
172
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
175
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
178
179
180 /*
181 Flags/methods for returning states.
182
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
186
187 Use the following macros/flags to set or process the returning
188 states.
189
190 In old swig versions, you usually write code as:
191
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
193 // success code
194 } else {
195 //fail code
196 }
197
198 Now you can be more explicit as:
199
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
202 // success code
203 } else {
204 // fail code
205 }
206
207 that seems to be the same, but now you can also do
208
209 Type *ptr;
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
212 // success code
213 if (SWIG_IsNewObj(res) {
214 ...
215 delete *ptr;
216 } else {
217 ...
218 }
219 } else {
220 // fail code
221 }
222
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
226
227 int SWIG_ConvertPtr(obj, ptr,...) {
228 if (<obj is ok>) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
231 return SWIG_NEWOBJ;
232 } else {
233 *ptr = <ptr to old object>;
234 return SWIG_OLDOBJ;
235 }
236 } else {
237 return SWIG_BADOBJ;
238 }
239 }
240
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
243 swig errors code.
244
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
247
248 int food(double)
249 int fooi(int);
250
251 and you call
252
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
255
256 just use the SWIG_AddCast()/SWIG_CheckState()
257
258
259 */
260 #define SWIG_OK (0)
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
264
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
283
284
285 /* Cast-Rank Mode */
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
289 # endif
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
292 # endif
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE int SWIG_AddCast(int r) {
296 return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
297 }
298 SWIGINTERNINLINE int SWIG_CheckState(int r) {
299 return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
300 }
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
304 #endif
305
306
307
308
309 #include <string.h>
310
311 #ifdef __cplusplus
312 extern "C" {
313 #endif
314
315 typedef void *(*swig_converter_func)(void *);
316 typedef struct swig_type_info *(*swig_dycast_func)(void **);
317
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info {
320 const char *name; /* mangled name of this type */
321 const char *str; /* human readable name of this type */
322 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
324 void *clientdata; /* language specific type data */
325 int owndata; /* flag if the structure owns the clientdata */
326 } swig_type_info;
327
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info {
330 swig_type_info *type; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter; /* function to cast the void pointers */
332 struct swig_cast_info *next; /* pointer to next cast in linked list */
333 struct swig_cast_info *prev; /* pointer to the previous cast */
334 } swig_cast_info;
335
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info {
340 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size; /* Number of types in this module */
342 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
343 swig_type_info **type_initial; /* Array of initially generated type structures */
344 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
345 void *clientdata; /* Language specific module data */
346 } swig_module_info;
347
348 /*
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
351
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
354 */
355 SWIGRUNTIME int
356 SWIG_TypeNameComp(const char *f1, const char *l1,
357 const char *f2, const char *l2) {
358 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
359 while ((*f1 == ' ') && (f1 != l1)) ++f1;
360 while ((*f2 == ' ') && (f2 != l2)) ++f2;
361 if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
362 }
363 return (l1 - f1) - (l2 - f2);
364 }
365
366 /*
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
369 */
370 SWIGRUNTIME int
371 SWIG_TypeEquiv(const char *nb, const char *tb) {
372 int equiv = 0;
373 const char* te = tb + strlen(tb);
374 const char* ne = nb;
375 while (!equiv && *ne) {
376 for (nb = ne; *ne; ++ne) {
377 if (*ne == '|') break;
378 }
379 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
380 if (*ne) ++ne;
381 }
382 return equiv;
383 }
384
385 /*
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
388 */
389 SWIGRUNTIME int
390 SWIG_TypeCompare(const char *nb, const char *tb) {
391 int equiv = 0;
392 const char* te = tb + strlen(tb);
393 const char* ne = nb;
394 while (!equiv && *ne) {
395 for (nb = ne; *ne; ++ne) {
396 if (*ne == '|') break;
397 }
398 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
399 if (*ne) ++ne;
400 }
401 return equiv;
402 }
403
404
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
407 if (ty) { \
408 swig_cast_info *iter = ty->cast; \
409 while (iter) { \
410 if (comparison) { \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
414 if (iter->next) \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
417 iter->prev = 0; \
418 if (ty->cast) ty->cast->prev = iter; \
419 ty->cast = iter; \
420 return iter; \
421 } \
422 iter = iter->next; \
423 } \
424 } \
425 return 0
426
427 /*
428 Check the typename
429 */
430 SWIGRUNTIME swig_cast_info *
431 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
432 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
433 }
434
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info *
437 SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
438 SWIG_TypeCheck_Template(iter->type == from, into);
439 }
440
441 /*
442 Cast a pointer up an inheritance hierarchy
443 */
444 SWIGRUNTIMEINLINE void *
445 SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
446 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
447 }
448
449 /*
450 Dynamic pointer casting. Down an inheritance hierarchy
451 */
452 SWIGRUNTIME swig_type_info *
453 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
454 swig_type_info *lastty = ty;
455 if (!ty || !ty->dcast) return ty;
456 while (ty && (ty->dcast)) {
457 ty = (*ty->dcast)(ptr);
458 if (ty) lastty = ty;
459 }
460 return lastty;
461 }
462
463 /*
464 Return the name associated with this type
465 */
466 SWIGRUNTIMEINLINE const char *
467 SWIG_TypeName(const swig_type_info *ty) {
468 return ty->name;
469 }
470
471 /*
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
474 */
475 SWIGRUNTIME const char *
476 SWIG_TypePrettyName(const swig_type_info *type) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
480 specific. */
481 if (!type) return NULL;
482 if (type->str != NULL) {
483 const char *last_name = type->str;
484 const char *s;
485 for (s = type->str; *s; s++)
486 if (*s == '|') last_name = s+1;
487 return last_name;
488 }
489 else
490 return type->name;
491 }
492
493 /*
494 Set the clientdata field for a type
495 */
496 SWIGRUNTIME void
497 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
498 swig_cast_info *cast = ti->cast;
499 /* if (ti->clientdata == clientdata) return; */
500 ti->clientdata = clientdata;
501
502 while (cast) {
503 if (!cast->converter) {
504 swig_type_info *tc = cast->type;
505 if (!tc->clientdata) {
506 SWIG_TypeClientData(tc, clientdata);
507 }
508 }
509 cast = cast->next;
510 }
511 }
512 SWIGRUNTIME void
513 SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
514 SWIG_TypeClientData(ti, clientdata);
515 ti->owndata = 1;
516 }
517
518 /*
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
521
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
524 the circular list.
525 */
526 SWIGRUNTIME swig_type_info *
527 SWIG_MangledTypeQueryModule(swig_module_info *start,
528 swig_module_info *end,
529 const char *name) {
530 swig_module_info *iter = start;
531 do {
532 if (iter->size) {
533 register size_t l = 0;
534 register size_t r = iter->size - 1;
535 do {
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i = (l + r) >> 1;
538 const char *iname = iter->types[i]->name;
539 if (iname) {
540 register int compare = strcmp(name, iname);
541 if (compare == 0) {
542 return iter->types[i];
543 } else if (compare < 0) {
544 if (i) {
545 r = i - 1;
546 } else {
547 break;
548 }
549 } else if (compare > 0) {
550 l = i + 1;
551 }
552 } else {
553 break; /* should never happen */
554 }
555 } while (l <= r);
556 }
557 iter = iter->next;
558 } while (iter != end);
559 return 0;
560 }
561
562 /*
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
566
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
569 the circular list.
570 */
571 SWIGRUNTIME swig_type_info *
572 SWIG_TypeQueryModule(swig_module_info *start,
573 swig_module_info *end,
574 const char *name) {
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
577 if (ret) {
578 return ret;
579 } else {
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info *iter = start;
583 do {
584 register size_t i = 0;
585 for (; i < iter->size; ++i) {
586 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
587 return iter->types[i];
588 }
589 iter = iter->next;
590 } while (iter != end);
591 }
592
593 /* neither found a match */
594 return 0;
595 }
596
597 /*
598 Pack binary data into a string
599 */
600 SWIGRUNTIME char *
601 SWIG_PackData(char *c, void *ptr, size_t sz) {
602 static const char hex[17] = "0123456789abcdef";
603 register const unsigned char *u = (unsigned char *) ptr;
604 register const unsigned char *eu = u + sz;
605 for (; u != eu; ++u) {
606 register unsigned char uu = *u;
607 *(c++) = hex[(uu & 0xf0) >> 4];
608 *(c++) = hex[uu & 0xf];
609 }
610 return c;
611 }
612
613 /*
614 Unpack binary data from a string
615 */
616 SWIGRUNTIME const char *
617 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
618 register unsigned char *u = (unsigned char *) ptr;
619 register const unsigned char *eu = u + sz;
620 for (; u != eu; ++u) {
621 register char d = *(c++);
622 register unsigned char uu;
623 if ((d >= '0') && (d <= '9'))
624 uu = ((d - '0') << 4);
625 else if ((d >= 'a') && (d <= 'f'))
626 uu = ((d - ('a'-10)) << 4);
627 else
628 return (char *) 0;
629 d = *(c++);
630 if ((d >= '0') && (d <= '9'))
631 uu |= (d - '0');
632 else if ((d >= 'a') && (d <= 'f'))
633 uu |= (d - ('a'-10));
634 else
635 return (char *) 0;
636 *u = uu;
637 }
638 return c;
639 }
640
641 /*
642 Pack 'void *' into a string buffer.
643 */
644 SWIGRUNTIME char *
645 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
646 char *r = buff;
647 if ((2*sizeof(void *) + 2) > bsz) return 0;
648 *(r++) = '_';
649 r = SWIG_PackData(r,&ptr,sizeof(void *));
650 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
651 strcpy(r,name);
652 return buff;
653 }
654
655 SWIGRUNTIME const char *
656 SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
657 if (*c != '_') {
658 if (strcmp(c,"NULL") == 0) {
659 *ptr = (void *) 0;
660 return name;
661 } else {
662 return 0;
663 }
664 }
665 return SWIG_UnpackData(++c,ptr,sizeof(void *));
666 }
667
668 SWIGRUNTIME char *
669 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
670 char *r = buff;
671 size_t lname = (name ? strlen(name) : 0);
672 if ((2*sz + 2 + lname) > bsz) return 0;
673 *(r++) = '_';
674 r = SWIG_PackData(r,ptr,sz);
675 if (lname) {
676 strncpy(r,name,lname+1);
677 } else {
678 *r = 0;
679 }
680 return buff;
681 }
682
683 SWIGRUNTIME const char *
684 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
685 if (*c != '_') {
686 if (strcmp(c,"NULL") == 0) {
687 memset(ptr,0,sz);
688 return name;
689 } else {
690 return 0;
691 }
692 }
693 return SWIG_UnpackData(++c,ptr,sz);
694 }
695
696 #ifdef __cplusplus
697 }
698 #endif
699
700 /* Errors in SWIG */
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
714
715
716
717 /* Python.h has to appear first */
718 #include <Python.h>
719
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
724 # else
725 # define PyOS_snprintf snprintf
726 # endif
727 #endif
728
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
731
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
734 #endif
735
736 static PyObject *
737 PyString_FromFormat(const char *fmt, ...) {
738 va_list ap;
739 char buf[SWIG_PYBUFFER_SIZE * 2];
740 int res;
741 va_start(ap, fmt);
742 res = vsnprintf(buf, sizeof(buf), fmt, ap);
743 va_end(ap);
744 return (res < 0 || res >= (int)sizeof(buf)) ? 0 : PyString_FromString(buf);
745 }
746 #endif
747
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
751 #endif
752 #ifndef PyObject_DEL
753 # define PyObject_DEL PyObject_Del
754 #endif
755
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
760 # endif
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
763 # endif
764 #endif
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
769 # endif
770 #endif
771
772
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
777 # endif
778 #endif
779
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
784 # endif
785 #endif
786
787
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
790 static
791 PyObject *PyBool_FromLong(long ok)
792 {
793 PyObject *result = ok ? Py_True : Py_False;
794 Py_INCREF(result);
795 return result;
796 }
797 #endif
798
799
800 /* -----------------------------------------------------------------------------
801 * error manipulation
802 * ----------------------------------------------------------------------------- */
803
804 SWIGRUNTIME PyObject*
805 SWIG_Python_ErrorType(int code) {
806 PyObject* type = 0;
807 switch(code) {
808 case SWIG_MemoryError:
809 type = PyExc_MemoryError;
810 break;
811 case SWIG_IOError:
812 type = PyExc_IOError;
813 break;
814 case SWIG_RuntimeError:
815 type = PyExc_RuntimeError;
816 break;
817 case SWIG_IndexError:
818 type = PyExc_IndexError;
819 break;
820 case SWIG_TypeError:
821 type = PyExc_TypeError;
822 break;
823 case SWIG_DivisionByZero:
824 type = PyExc_ZeroDivisionError;
825 break;
826 case SWIG_OverflowError:
827 type = PyExc_OverflowError;
828 break;
829 case SWIG_SyntaxError:
830 type = PyExc_SyntaxError;
831 break;
832 case SWIG_ValueError:
833 type = PyExc_ValueError;
834 break;
835 case SWIG_SystemError:
836 type = PyExc_SystemError;
837 break;
838 case SWIG_AttributeError:
839 type = PyExc_AttributeError;
840 break;
841 default:
842 type = PyExc_RuntimeError;
843 }
844 return type;
845 }
846
847
848 SWIGRUNTIME void
849 SWIG_Python_AddErrorMsg(const char* mesg)
850 {
851 PyObject *type = 0;
852 PyObject *value = 0;
853 PyObject *traceback = 0;
854
855 if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback);
856 if (value) {
857 PyObject *old_str = PyObject_Str(value);
858 PyErr_Clear();
859 Py_XINCREF(type);
860 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
861 Py_DECREF(old_str);
862 Py_DECREF(value);
863 } else {
864 PyErr_Format(PyExc_RuntimeError, mesg);
865 }
866 }
867
868
869
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
873 # endif
874 #endif
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
879 # endif
880 # endif
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
884 # endif
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block {
887 bool status;
888 PyGILState_STATE state;
889 public:
890 void end() { if (status) { PyGILState_Release(state); status = false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
893 };
894 class SWIG_Python_Thread_Allow {
895 bool status;
896 PyThreadState *save;
897 public:
898 void end() { if (status) { PyEval_RestoreThread(save); status = false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
901 };
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
906 # else /* C code */
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
911 # endif
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
915 # endif
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
918 # endif
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
921 # endif
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
924 # endif
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
927 # endif
928 # endif
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
935 #endif
936
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
940
941 #ifdef __cplusplus
942 extern "C" {
943 #if 0
944 } /* cc-mode */
945 #endif
946 #endif
947
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
951
952 /* Constant Types */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
955
956 /* Constant information structure */
957 typedef struct swig_const_info {
958 int type;
959 char *name;
960 long lvalue;
961 double dvalue;
962 void *pvalue;
963 swig_type_info **ptype;
964 } swig_const_info;
965
966 #ifdef __cplusplus
967 #if 0
968 { /* cc-mode */
969 #endif
970 }
971 #endif
972
973
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
977 *
978 * pyrun.swg
979 *
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
982 * type checking.
983 *
984 * ----------------------------------------------------------------------------- */
985
986 /* Common SWIG API */
987
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t;
990 #endif
991
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1000
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1004
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1008
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1012
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016
1017
1018 /* Runtime API */
1019
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1023
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1029
1030
1031 /* Runtime API implementation */
1032
1033 /* Error manipulation */
1034
1035 SWIGINTERN void
1036 SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1038 PyErr_SetObject(errtype, obj);
1039 Py_DECREF(obj);
1040 SWIG_PYTHON_THREAD_END_BLOCK;
1041 }
1042
1043 SWIGINTERN void
1044 SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1046 PyErr_SetString(errtype, (char *) msg);
1047 SWIG_PYTHON_THREAD_END_BLOCK;
1048 }
1049
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1051
1052 /* Set a constant value */
1053
1054 SWIGINTERN void
1055 SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
1056 PyDict_SetItemString(d, (char*) name, obj);
1057 Py_DECREF(obj);
1058 }
1059
1060 /* Append a value to the result obj */
1061
1062 SWIGINTERN PyObject*
1063 SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1065 if (!result) {
1066 result = obj;
1067 } else if (result == Py_None) {
1068 Py_DECREF(result);
1069 result = obj;
1070 } else {
1071 if (!PyList_Check(result)) {
1072 PyObject *o2 = result;
1073 result = PyList_New(1);
1074 PyList_SetItem(result, 0, o2);
1075 }
1076 PyList_Append(result,obj);
1077 Py_DECREF(obj);
1078 }
1079 return result;
1080 #else
1081 PyObject* o2;
1082 PyObject* o3;
1083 if (!result) {
1084 result = obj;
1085 } else if (result == Py_None) {
1086 Py_DECREF(result);
1087 result = obj;
1088 } else {
1089 if (!PyTuple_Check(result)) {
1090 o2 = result;
1091 result = PyTuple_New(1);
1092 PyTuple_SET_ITEM(result, 0, o2);
1093 }
1094 o3 = PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3, 0, obj);
1096 o2 = result;
1097 result = PySequence_Concat(o2, o3);
1098 Py_DECREF(o2);
1099 Py_DECREF(o3);
1100 }
1101 return result;
1102 #endif
1103 }
1104
1105 /* Unpack the argument tuple */
1106
1107 SWIGINTERN int
1108 SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs)
1109 {
1110 if (!args) {
1111 if (!min && !max) {
1112 return 1;
1113 } else {
1114 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none",
1115 name, (min == max ? "" : "at least "), min);
1116 return 0;
1117 }
1118 }
1119 if (!PyTuple_Check(args)) {
1120 PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
1121 return 0;
1122 } else {
1123 register int l = PyTuple_GET_SIZE(args);
1124 if (l < min) {
1125 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1126 name, (min == max ? "" : "at least "), min, l);
1127 return 0;
1128 } else if (l > max) {
1129 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1130 name, (min == max ? "" : "at most "), max, l);
1131 return 0;
1132 } else {
1133 register int i;
1134 for (i = 0; i < l; ++i) {
1135 objs[i] = PyTuple_GET_ITEM(args, i);
1136 }
1137 for (; l < max; ++l) {
1138 objs[l] = 0;
1139 }
1140 return i + 1;
1141 }
1142 }
1143 }
1144
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1148 #else
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1150 #endif
1151
1152 /*
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1155 */
1156 #ifdef __cplusplus
1157 #define SWIG_STATIC_POINTER(var) var
1158 #else
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1160 #endif
1161
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1165
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1169
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1171
1172 #ifdef __cplusplus
1173 extern "C" {
1174 #if 0
1175 } /* cc-mode */
1176 #endif
1177 #endif
1178
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1184 # endif
1185 # endif
1186 #endif
1187
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1189 # ifdef Py_None
1190 # undef Py_None
1191 # define Py_None SWIG_Py_None()
1192 # endif
1193 SWIGRUNTIMEINLINE PyObject *
1194 _SWIG_Py_None(void)
1195 {
1196 PyObject *none = Py_BuildValue("");
1197 Py_DECREF(none);
1198 return none;
1199 }
1200 SWIGRUNTIME PyObject *
1201 SWIG_Py_None(void)
1202 {
1203 static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
1204 return none;
1205 }
1206 #endif
1207
1208 /* The python void return value */
1209
1210 SWIGRUNTIMEINLINE PyObject *
1211 SWIG_Py_Void(void)
1212 {
1213 PyObject *none = Py_None;
1214 Py_INCREF(none);
1215 return none;
1216 }
1217
1218 /* PySwigClientData */
1219
1220 typedef struct {
1221 PyObject *klass;
1222 PyObject *newraw;
1223 PyObject *newargs;
1224 PyObject *destroy;
1225 int delargs;
1226 int implicitconv;
1227 } PySwigClientData;
1228
1229 SWIGRUNTIMEINLINE int
1230 SWIG_Python_CheckImplicit(swig_type_info *ty)
1231 {
1232 PySwigClientData *data = (PySwigClientData *)ty->clientdata;
1233 return data ? data->implicitconv : 0;
1234 }
1235
1236 SWIGRUNTIMEINLINE PyObject *
1237 SWIG_Python_ExceptionType(swig_type_info *desc) {
1238 PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0;
1239 PyObject *klass = data ? data->klass : 0;
1240 return (klass ? klass : PyExc_RuntimeError);
1241 }
1242
1243
1244 SWIGRUNTIME PySwigClientData *
1245 PySwigClientData_New(PyObject* obj)
1246 {
1247 if (!obj) {
1248 return 0;
1249 } else {
1250 PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData));
1251 /* the klass element */
1252 data->klass = obj;
1253 Py_INCREF(data->klass);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj)) {
1256 data->newraw = 0;
1257 data->newargs = obj;
1258 Py_INCREF(obj);
1259 } else {
1260 #if (PY_VERSION_HEX < 0x02020000)
1261 data->newraw = 0;
1262 #else
1263 data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
1264 #endif
1265 if (data->newraw) {
1266 Py_INCREF(data->newraw);
1267 data->newargs = PyTuple_New(1);
1268 PyTuple_SetItem(data->newargs, 0, obj);
1269 } else {
1270 data->newargs = obj;
1271 }
1272 Py_INCREF(data->newargs);
1273 }
1274 /* the destroy method, aka as the C++ delete method */
1275 data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1277 PyErr_Clear();
1278 data->destroy = 0;
1279 }
1280 if (data->destroy) {
1281 int flags;
1282 Py_INCREF(data->destroy);
1283 flags = PyCFunction_GET_FLAGS(data->destroy);
1284 #ifdef METH_O
1285 data->delargs = !(flags & (METH_O));
1286 #else
1287 data->delargs = 0;
1288 #endif
1289 } else {
1290 data->delargs = 0;
1291 }
1292 data->implicitconv = 0;
1293 return data;
1294 }
1295 }
1296
1297 SWIGRUNTIME void
1298 PySwigClientData_Del(PySwigClientData* data)
1299 {
1300 Py_XDECREF(data->newraw);
1301 Py_XDECREF(data->newargs);
1302 Py_XDECREF(data->destroy);
1303 }
1304
1305 /* =============== PySwigObject =====================*/
1306
1307 typedef struct {
1308 PyObject_HEAD
1309 void *ptr;
1310 swig_type_info *ty;
1311 int own;
1312 PyObject *next;
1313 } PySwigObject;
1314
1315 SWIGRUNTIME PyObject *
1316 PySwigObject_long(PySwigObject *v)
1317 {
1318 return PyLong_FromVoidPtr(v->ptr);
1319 }
1320
1321 SWIGRUNTIME PyObject *
1322 PySwigObject_format(const char* fmt, PySwigObject *v)
1323 {
1324 PyObject *res = NULL;
1325 PyObject *args = PyTuple_New(1);
1326 if (args) {
1327 if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) {
1328 PyObject *ofmt = PyString_FromString(fmt);
1329 if (ofmt) {
1330 res = PyString_Format(ofmt,args);
1331 Py_DECREF(ofmt);
1332 }
1333 Py_DECREF(args);
1334 }
1335 }
1336 return res;
1337 }
1338
1339 SWIGRUNTIME PyObject *
1340 PySwigObject_oct(PySwigObject *v)
1341 {
1342 return PySwigObject_format("%o",v);
1343 }
1344
1345 SWIGRUNTIME PyObject *
1346 PySwigObject_hex(PySwigObject *v)
1347 {
1348 return PySwigObject_format("%x",v);
1349 }
1350
1351 SWIGRUNTIME PyObject *
1352 #ifdef METH_NOARGS
1353 PySwigObject_repr(PySwigObject *v)
1354 #else
1355 PySwigObject_repr(PySwigObject *v, PyObject *args)
1356 #endif
1357 {
1358 const char *name = SWIG_TypePrettyName(v->ty);
1359 PyObject *hex = PySwigObject_hex(v);
1360 PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex));
1361 Py_DECREF(hex);
1362 if (v->next) {
1363 #ifdef METH_NOARGS
1364 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next);
1365 #else
1366 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args);
1367 #endif
1368 PyString_ConcatAndDel(&repr,nrep);
1369 }
1370 return repr;
1371 }
1372
1373 SWIGRUNTIME int
1374 PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1375 {
1376 #ifdef METH_NOARGS
1377 PyObject *repr = PySwigObject_repr(v);
1378 #else
1379 PyObject *repr = PySwigObject_repr(v, NULL);
1380 #endif
1381 if (repr) {
1382 fputs(PyString_AsString(repr), fp);
1383 Py_DECREF(repr);
1384 return 0;
1385 } else {
1386 return 1;
1387 }
1388 }
1389
1390 SWIGRUNTIME PyObject *
1391 PySwigObject_str(PySwigObject *v)
1392 {
1393 char result[SWIG_BUFFER_SIZE];
1394 return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ?
1395 PyString_FromString(result) : 0;
1396 }
1397
1398 SWIGRUNTIME int
1399 PySwigObject_compare(PySwigObject *v, PySwigObject *w)
1400 {
1401 void *i = v->ptr;
1402 void *j = w->ptr;
1403 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1404 }
1405
1406 SWIGRUNTIME PyTypeObject* _PySwigObject_type(void);
1407
1408 SWIGRUNTIME PyTypeObject*
1409 PySwigObject_type(void) {
1410 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type();
1411 return type;
1412 }
1413
1414 SWIGRUNTIMEINLINE int
1415 PySwigObject_Check(PyObject *op) {
1416 return ((op)->ob_type == PySwigObject_type())
1417 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
1418 }
1419
1420 SWIGRUNTIME PyObject *
1421 PySwigObject_New(void *ptr, swig_type_info *ty, int own);
1422
1423 SWIGRUNTIME void
1424 PySwigObject_dealloc(PyObject *v)
1425 {
1426 PySwigObject *sobj = (PySwigObject *) v;
1427 PyObject *next = sobj->next;
1428 if (sobj->own) {
1429 swig_type_info *ty = sobj->ty;
1430 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
1431 PyObject *destroy = data ? data->destroy : 0;
1432 if (destroy) {
1433 /* destroy is always a VARARGS method */
1434 PyObject *res;
1435 if (data->delargs) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0);
1438 res = SWIG_Python_CallFunctor(destroy, tmp);
1439 Py_DECREF(tmp);
1440 } else {
1441 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
1442 PyObject *mself = PyCFunction_GET_SELF(destroy);
1443 res = ((*meth)(mself, v));
1444 }
1445 Py_XDECREF(res);
1446 } else {
1447 const char *name = SWIG_TypePrettyName(ty);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name);
1450 #endif
1451 }
1452 }
1453 Py_XDECREF(next);
1454 PyObject_DEL(v);
1455 }
1456
1457 SWIGRUNTIME PyObject*
1458 PySwigObject_append(PyObject* v, PyObject* next)
1459 {
1460 PySwigObject *sobj = (PySwigObject *) v;
1461 #ifndef METH_O
1462 PyObject *tmp = 0;
1463 if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
1464 next = tmp;
1465 #endif
1466 if (!PySwigObject_Check(next)) {
1467 return NULL;
1468 }
1469 sobj->next = next;
1470 Py_INCREF(next);
1471 return SWIG_Py_Void();
1472 }
1473
1474 SWIGRUNTIME PyObject*
1475 #ifdef METH_NOARGS
1476 PySwigObject_next(PyObject* v)
1477 #else
1478 PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1479 #endif
1480 {
1481 PySwigObject *sobj = (PySwigObject *) v;
1482 if (sobj->next) {
1483 Py_INCREF(sobj->next);
1484 return sobj->next;
1485 } else {
1486 return SWIG_Py_Void();
1487 }
1488 }
1489
1490 SWIGINTERN PyObject*
1491 #ifdef METH_NOARGS
1492 PySwigObject_disown(PyObject *v)
1493 #else
1494 PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1495 #endif
1496 {
1497 PySwigObject *sobj = (PySwigObject *)v;
1498 sobj->own = 0;
1499 return SWIG_Py_Void();
1500 }
1501
1502 SWIGINTERN PyObject*
1503 #ifdef METH_NOARGS
1504 PySwigObject_acquire(PyObject *v)
1505 #else
1506 PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1507 #endif
1508 {
1509 PySwigObject *sobj = (PySwigObject *)v;
1510 sobj->own = SWIG_POINTER_OWN;
1511 return SWIG_Py_Void();
1512 }
1513
1514 SWIGINTERN PyObject*
1515 PySwigObject_own(PyObject *v, PyObject *args)
1516 {
1517 PyObject *val = 0;
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
1520 #else
1521 if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val))
1522 #endif
1523 {
1524 return NULL;
1525 }
1526 else
1527 {
1528 PySwigObject *sobj = (PySwigObject *)v;
1529 PyObject *obj = PyBool_FromLong(sobj->own);
1530 if (val) {
1531 #ifdef METH_NOARGS
1532 if (PyObject_IsTrue(val)) {
1533 PySwigObject_acquire(v);
1534 } else {
1535 PySwigObject_disown(v);
1536 }
1537 #else
1538 if (PyObject_IsTrue(val)) {
1539 PySwigObject_acquire(v,args);
1540 } else {
1541 PySwigObject_disown(v,args);
1542 }
1543 #endif
1544 }
1545 return obj;
1546 }
1547 }
1548
1549 #ifdef METH_O
1550 static PyMethodDef
1551 swigobject_methods[] = {
1552 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"},
1558 {0, 0, 0, 0}
1559 };
1560 #else
1561 static PyMethodDef
1562 swigobject_methods[] = {
1563 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"},
1569 {0, 0, 0, 0}
1570 };
1571 #endif
1572
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject *
1575 PySwigObject_getattr(PySwigObject *sobj,char *name)
1576 {
1577 return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
1578 }
1579 #endif
1580
1581 SWIGRUNTIME PyTypeObject*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
1584
1585 static PyNumberMethods PySwigObject_as_number = {
1586 (binaryfunc)0, /*nb_add*/
1587 (binaryfunc)0, /*nb_subtract*/
1588 (binaryfunc)0, /*nb_multiply*/
1589 (binaryfunc)0, /*nb_divide*/
1590 (binaryfunc)0, /*nb_remainder*/
1591 (binaryfunc)0, /*nb_divmod*/
1592 (ternaryfunc)0,/*nb_power*/
1593 (unaryfunc)0, /*nb_negative*/
1594 (unaryfunc)0, /*nb_positive*/
1595 (unaryfunc)0, /*nb_absolute*/
1596 (inquiry)0, /*nb_nonzero*/
1597 0, /*nb_invert*/
1598 0, /*nb_lshift*/
1599 0, /*nb_rshift*/
1600 0, /*nb_and*/
1601 0, /*nb_xor*/
1602 0, /*nb_or*/
1603 (coercion)0, /*nb_coerce*/
1604 (unaryfunc)PySwigObject_long, /*nb_int*/
1605 (unaryfunc)PySwigObject_long, /*nb_long*/
1606 (unaryfunc)0, /*nb_float*/
1607 (unaryfunc)PySwigObject_oct, /*nb_oct*/
1608 (unaryfunc)PySwigObject_hex, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1613 #endif
1614 };
1615
1616 static PyTypeObject pyswigobject_type;
1617 static int type_init = 0;
1618 if (!type_init) {
1619 const PyTypeObject tmp
1620 = {
1621 PyObject_HEAD_INIT(NULL)
1622 0, /* ob_size */
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor)PySwigObject_dealloc, /* tp_dealloc */
1627 (printfunc)PySwigObject_print, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc)PySwigObject_getattr, /* tp_getattr */
1630 #else
1631 (getattrfunc)0, /* tp_getattr */
1632 #endif
1633 (setattrfunc)0, /* tp_setattr */
1634 (cmpfunc)PySwigObject_compare, /* tp_compare */
1635 (reprfunc)PySwigObject_repr, /* tp_repr */
1636 &PySwigObject_as_number, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc)0, /* tp_hash */
1640 (ternaryfunc)0, /* tp_call */
1641 (reprfunc)PySwigObject_str, /* tp_str */
1642 PyObject_GenericGetAttr, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT, /* tp_flags */
1646 swigobject_doc, /* tp_doc */
1647 0, /* tp_traverse */
1648 0, /* tp_clear */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1652 0, /* tp_iter */
1653 0, /* tp_iternext */
1654 swigobject_methods, /* tp_methods */
1655 0, /* tp_members */
1656 0, /* tp_getset */
1657 0, /* tp_base */
1658 0, /* tp_dict */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1662 0, /* tp_init */
1663 0, /* tp_alloc */
1664 0, /* tp_new */
1665 0, /* tp_free */
1666 0, /* tp_is_gc */
1667 0, /* tp_bases */
1668 0, /* tp_mro */
1669 0, /* tp_cache */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1672 #endif
1673 #if PY_VERSION_HEX >= 0x02030000
1674 0, /* tp_del */
1675 #endif
1676 #ifdef COUNT_ALLOCS
1677 0,0,0,0 /* tp_alloc -> tp_next */
1678 #endif
1679 };
1680 pyswigobject_type = tmp;
1681 pyswigobject_type.ob_type = &PyType_Type;
1682 type_init = 1;
1683 }
1684 return &pyswigobject_type;
1685 }
1686
1687 SWIGRUNTIME PyObject *
1688 PySwigObject_New(void *ptr, swig_type_info *ty, int own)
1689 {
1690 PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type());
1691 if (sobj) {
1692 sobj->ptr = ptr;
1693 sobj->ty = ty;
1694 sobj->own = own;
1695 sobj->next = 0;
1696 }
1697 return (PyObject *)sobj;
1698 }
1699
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1703
1704 typedef struct {
1705 PyObject_HEAD
1706 void *pack;
1707 swig_type_info *ty;
1708 size_t size;
1709 } PySwigPacked;
1710
1711 SWIGRUNTIME int
1712 PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1713 {
1714 char result[SWIG_BUFFER_SIZE];
1715 fputs("<Swig Packed ", fp);
1716 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1717 fputs("at ", fp);
1718 fputs(result, fp);
1719 }
1720 fputs(v->ty->name,fp);
1721 fputs(">", fp);
1722 return 0;
1723 }
1724
1725 SWIGRUNTIME PyObject *
1726 PySwigPacked_repr(PySwigPacked *v)
1727 {
1728 char result[SWIG_BUFFER_SIZE];
1729 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
1731 } else {
1732 return PyString_FromFormat("<Swig Packed %s>", v->ty->name);
1733 }
1734 }
1735
1736 SWIGRUNTIME PyObject *
1737 PySwigPacked_str(PySwigPacked *v)
1738 {
1739 char result[SWIG_BUFFER_SIZE];
1740 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
1741 return PyString_FromFormat("%s%s", result, v->ty->name);
1742 } else {
1743 return PyString_FromString(v->ty->name);
1744 }
1745 }
1746
1747 SWIGRUNTIME int
1748 PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
1749 {
1750 size_t i = v->size;
1751 size_t j = w->size;
1752 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
1753 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
1754 }
1755
1756 SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);
1757
1758 SWIGRUNTIME PyTypeObject*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type();
1761 return type;
1762 }
1763
1764 SWIGRUNTIMEINLINE int
1765 PySwigPacked_Check(PyObject *op) {
1766 return ((op)->ob_type == _PySwigPacked_type())
1767 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1768 }
1769
1770 SWIGRUNTIME void
1771 PySwigPacked_dealloc(PyObject *v)
1772 {
1773 if (PySwigPacked_Check(v)) {
1774 PySwigPacked *sobj = (PySwigPacked *) v;
1775 free(sobj->pack);
1776 }
1777 PyObject_DEL(v);
1778 }
1779
1780 SWIGRUNTIME PyTypeObject*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type;
1784 static int type_init = 0;
1785 if (!type_init) {
1786 const PyTypeObject tmp
1787 = {
1788 PyObject_HEAD_INIT(NULL)
1789 0, /* ob_size */
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor)PySwigPacked_dealloc, /* tp_dealloc */
1794 (printfunc)PySwigPacked_print, /* tp_print */
1795 (getattrfunc)0, /* tp_getattr */
1796 (setattrfunc)0, /* tp_setattr */
1797 (cmpfunc)PySwigPacked_compare, /* tp_compare */
1798 (reprfunc)PySwigPacked_repr, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc)0, /* tp_hash */
1803 (ternaryfunc)0, /* tp_call */
1804 (reprfunc)PySwigPacked_str, /* tp_str */
1805 PyObject_GenericGetAttr, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT, /* tp_flags */
1809 swigpacked_doc, /* tp_doc */
1810 0, /* tp_traverse */
1811 0, /* tp_clear */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1815 0, /* tp_iter */
1816 0, /* tp_iternext */
1817 0, /* tp_methods */
1818 0, /* tp_members */
1819 0, /* tp_getset */
1820 0, /* tp_base */
1821 0, /* tp_dict */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1825 0, /* tp_init */
1826 0, /* tp_alloc */
1827 0, /* tp_new */
1828 0, /* tp_free */
1829 0, /* tp_is_gc */
1830 0, /* tp_bases */
1831 0, /* tp_mro */
1832 0, /* tp_cache */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1835 #endif
1836 #if PY_VERSION_HEX >= 0x02030000
1837 0, /* tp_del */
1838 #endif
1839 #ifdef COUNT_ALLOCS
1840 0,0,0,0 /* tp_alloc -> tp_next */
1841 #endif
1842 };
1843 pyswigpacked_type = tmp;
1844 pyswigpacked_type.ob_type = &PyType_Type;
1845 type_init = 1;
1846 }
1847 return &pyswigpacked_type;
1848 }
1849
1850 SWIGRUNTIME PyObject *
1851 PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty)
1852 {
1853 PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1854 if (sobj) {
1855 void *pack = malloc(size);
1856 if (pack) {
1857 memcpy(pack, ptr, size);
1858 sobj->pack = pack;
1859 sobj->ty = ty;
1860 sobj->size = size;
1861 } else {
1862 PyObject_DEL((PyObject *) sobj);
1863 sobj = 0;
1864 }
1865 }
1866 return (PyObject *) sobj;
1867 }
1868
1869 SWIGRUNTIME swig_type_info *
1870 PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1871 {
1872 if (PySwigPacked_Check(obj)) {
1873 PySwigPacked *sobj = (PySwigPacked *)obj;
1874 if (sobj->size != size) return 0;
1875 memcpy(ptr, sobj->pack, size);
1876 return sobj->ty;
1877 } else {
1878 return 0;
1879 }
1880 }
1881
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1885
1886 SWIGRUNTIMEINLINE PyObject *
1887 _SWIG_This(void)
1888 {
1889 return PyString_FromString("this");
1890 }
1891
1892 SWIGRUNTIME PyObject *
1893 SWIG_This(void)
1894 {
1895 static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
1896 return swig_this;
1897 }
1898
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1900
1901 SWIGRUNTIME PySwigObject *
1902 SWIG_Python_GetSwigThis(PyObject *pyobj)
1903 {
1904 if (PySwigObject_Check(pyobj)) {
1905 return (PySwigObject *) pyobj;
1906 } else {
1907 PyObject *obj = 0;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj)) {
1910 obj = _PyInstance_Lookup(pyobj, SWIG_This());
1911 } else {
1912 PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
1913 if (dictptr != NULL) {
1914 PyObject *dict = *dictptr;
1915 obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
1916 } else {
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj)) {
1919 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
1920 return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
1921 }
1922 #endif
1923 obj = PyObject_GetAttr(pyobj,SWIG_This());
1924 if (obj) {
1925 Py_DECREF(obj);
1926 } else {
1927 if (PyErr_Occurred()) PyErr_Clear();
1928 return 0;
1929 }
1930 }
1931 }
1932 #else
1933 obj = PyObject_GetAttr(pyobj,SWIG_This());
1934 if (obj) {
1935 Py_DECREF(obj);
1936 } else {
1937 if (PyErr_Occurred()) PyErr_Clear();
1938 return 0;
1939 }
1940 #endif
1941 if (obj && !PySwigObject_Check(obj)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj);
1945 }
1946 return (PySwigObject *)obj;
1947 }
1948 }
1949
1950 /* Acquire a pointer value */
1951
1952 SWIGRUNTIME int
1953 SWIG_Python_AcquirePtr(PyObject *obj, int own) {
1954 if (own) {
1955 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1956 if (sobj) {
1957 int oldown = sobj->own;
1958 sobj->own = own;
1959 return oldown;
1960 }
1961 }
1962 return 0;
1963 }
1964
1965 /* Convert a pointer value */
1966
1967 SWIGRUNTIME int
1968 SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
1969 if (!obj) return SWIG_ERROR;
1970 if (obj == Py_None) {
1971 if (ptr) *ptr = 0;
1972 return SWIG_OK;
1973 } else {
1974 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1975 while (sobj) {
1976 void *vptr = sobj->ptr;
1977 if (ty) {
1978 swig_type_info *to = sobj->ty;
1979 if (to == ty) {
1980 /* no type cast needed */
1981 if (ptr) *ptr = vptr;
1982 break;
1983 } else {
1984 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
1985 if (!tc) {
1986 sobj = (PySwigObject *)sobj->next;
1987 } else {
1988 if (ptr) *ptr = SWIG_TypeCast(tc,vptr);
1989 break;
1990 }
1991 }
1992 } else {
1993 if (ptr) *ptr = vptr;
1994 break;
1995 }
1996 }
1997 if (sobj) {
1998 if (own) *own = sobj->own;
1999 if (flags & SWIG_POINTER_DISOWN) {
2000 sobj->own = 0;
2001 }
2002 return SWIG_OK;
2003 } else {
2004 int res = SWIG_ERROR;
2005 if (flags & SWIG_POINTER_IMPLICIT_CONV) {
2006 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
2007 if (data && !data->implicitconv) {
2008 PyObject *klass = data->klass;
2009 if (klass) {
2010 PyObject *impconv;
2011 data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv = SWIG_Python_CallFunctor(klass, obj);
2013 data->implicitconv = 0;
2014 if (PyErr_Occurred()) {
2015 PyErr_Clear();
2016 impconv = 0;
2017 }
2018 if (impconv) {
2019 PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv);
2020 if (iobj) {
2021 void *vptr;
2022 res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
2023 if (SWIG_IsOK(res)) {
2024 if (ptr) {
2025 *ptr = vptr;
2026 /* transfer the ownership to 'ptr' */
2027 iobj->own = 0;
2028 res = SWIG_AddCast(res);
2029 res = SWIG_AddNewMask(res);
2030 } else {
2031 res = SWIG_AddCast(res);
2032 }
2033 }
2034 }
2035 Py_DECREF(impconv);
2036 }
2037 }
2038 }
2039 }
2040 return res;
2041 }
2042 }
2043 }
2044
2045 /* Convert a function ptr value */
2046
2047 SWIGRUNTIME int
2048 SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
2049 if (!PyCFunction_Check(obj)) {
2050 return SWIG_ConvertPtr(obj, ptr, ty, 0);
2051 } else {
2052 void *vptr = 0;
2053
2054 /* here we get the method pointer for callbacks */
2055 const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
2056 const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
2057 if (desc) {
2058 desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
2059 if (!desc) return SWIG_ERROR;
2060 }
2061 if (ty) {
2062 swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
2063 if (!tc) return SWIG_ERROR;
2064 *ptr = SWIG_TypeCast(tc,vptr);
2065 } else {
2066 *ptr = vptr;
2067 }
2068 return SWIG_OK;
2069 }
2070 }
2071
2072 /* Convert a packed value value */
2073
2074 SWIGRUNTIME int
2075 SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
2076 swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz);
2077 if (!to) return SWIG_ERROR;
2078 if (ty) {
2079 if (to != ty) {
2080 /* check type cast? */
2081 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2082 if (!tc) return SWIG_ERROR;
2083 }
2084 }
2085 return SWIG_OK;
2086 }
2087
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2091
2092 /*
2093 Create a new instance object, whitout calling __init__, and set the
2094 'this' attribute.
2095 */
2096
2097 SWIGRUNTIME PyObject*
2098 SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this)
2099 {
2100 #if (PY_VERSION_HEX >= 0x02020000)
2101 PyObject *inst = 0;
2102 PyObject *newraw = data->newraw;
2103 if (newraw) {
2104 inst = PyObject_Call(newraw, data->newargs, NULL);
2105 if (inst) {
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2108 if (dictptr != NULL) {
2109 PyObject *dict = *dictptr;
2110 if (dict == NULL) {
2111 dict = PyDict_New();
2112 *dictptr = dict;
2113 PyDict_SetItem(dict, SWIG_This(), swig_this);
2114 }
2115 }
2116 #else
2117 PyObject *key = SWIG_This();
2118 PyObject_SetAttr(inst, key, swig_this);
2119 #endif
2120 }
2121 } else {
2122 PyObject *dict = PyDict_New();
2123 PyDict_SetItem(dict, SWIG_This(), swig_this);
2124 inst = PyInstance_NewRaw(data->newargs, dict);
2125 Py_DECREF(dict);
2126 }
2127 return inst;
2128 #else
2129 #if (PY_VERSION_HEX >= 0x02010000)
2130 PyObject *inst;
2131 PyObject *dict = PyDict_New();
2132 PyDict_SetItem(dict, SWIG_This(), swig_this);
2133 inst = PyInstance_NewRaw(data->newargs, dict);
2134 Py_DECREF(dict);
2135 return (PyObject *) inst;
2136 #else
2137 PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
2138 if (inst == NULL) {
2139 return NULL;
2140 }
2141 inst->in_class = (PyClassObject *)data->newargs;
2142 Py_INCREF(inst->in_class);
2143 inst->in_dict = PyDict_New();
2144 if (inst->in_dict == NULL) {
2145 Py_DECREF(inst);
2146 return NULL;
2147 }
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst->in_weakreflist = NULL;
2150 #endif
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst);
2153 #endif
2154 PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
2155 return (PyObject *) inst;
2156 #endif
2157 #endif
2158 }
2159
2160 SWIGRUNTIME void
2161 SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
2162 {
2163 PyObject *dict;
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2166 if (dictptr != NULL) {
2167 dict = *dictptr;
2168 if (dict == NULL) {
2169 dict = PyDict_New();
2170 *dictptr = dict;
2171 }
2172 PyDict_SetItem(dict, SWIG_This(), swig_this);
2173 return;
2174 }
2175 #endif
2176 dict = PyObject_GetAttrString(inst, "__dict__");
2177 PyDict_SetItem(dict, SWIG_This(), swig_this);
2178 Py_DECREF(dict);
2179 }
2180
2181
2182 SWIGINTERN PyObject *
2183 SWIG_Python_InitShadowInstance(PyObject *args) {
2184 PyObject *obj[2];
2185 if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) {
2186 return NULL;
2187 } else {
2188 PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
2189 if (sthis) {
2190 PySwigObject_append((PyObject*) sthis, obj[1]);
2191 } else {
2192 SWIG_Python_SetSwigThis(obj[0], obj[1]);
2193 }
2194 return SWIG_Py_Void();
2195 }
2196 }
2197
2198 /* Create a new pointer object */
2199
2200 SWIGRUNTIME PyObject *
2201 SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
2202 if (!ptr) {
2203 return SWIG_Py_Void();
2204 } else {
2205 int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
2206 PyObject *robj = PySwigObject_New(ptr, type, own);
2207 PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0;
2208 if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
2209 PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
2210 if (inst) {
2211 Py_DECREF(robj);
2212 robj = inst;
2213 }
2214 }
2215 return robj;
2216 }
2217 }
2218
2219 /* Create a new packed object */
2220
2221 SWIGRUNTIMEINLINE PyObject *
2222 SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
2223 return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
2224 }
2225
2226 /* -----------------------------------------------------------------------------*
2227 * Get type list
2228 * -----------------------------------------------------------------------------*/
2229
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2232 #endif
2233
2234 SWIGRUNTIME swig_module_info *
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer = (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
2241 #else
2242 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
2244 if (PyErr_Occurred()) {
2245 PyErr_Clear();
2246 type_pointer = (void *)0;
2247 }
2248 #endif
2249 }
2250 return (swig_module_info *) type_pointer;
2251 }
2252
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2256 SWIGINTERN int
2257 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
2258 {
2259 PyObject *dict;
2260 if (!PyModule_Check(m)) {
2261 PyErr_SetString(PyExc_TypeError,
2262 "PyModule_AddObject() needs module as first arg");
2263 return SWIG_ERROR;
2264 }
2265 if (!o) {
2266 PyErr_SetString(PyExc_TypeError,
2267 "PyModule_AddObject() needs non-NULL value");
2268 return SWIG_ERROR;
2269 }
2270
2271 dict = PyModule_GetDict(m);
2272 if (dict == NULL) {
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
2275 PyModule_GetName(m));
2276 return SWIG_ERROR;
2277 }
2278 if (PyDict_SetItemString(dict, name, o))
2279 return SWIG_ERROR;
2280 Py_DECREF(o);
2281 return SWIG_OK;
2282 }
2283 #endif
2284
2285 SWIGRUNTIME void
2286 SWIG_Python_DestroyModule(void *vptr)
2287 {
2288 swig_module_info *swig_module = (swig_module_info *) vptr;
2289 swig_type_info **types = swig_module->types;
2290 size_t i;
2291 for (i =0; i < swig_module->size; ++i) {
2292 swig_type_info *ty = types[i];
2293 if (ty->owndata) {
2294 PySwigClientData *data = (PySwigClientData *) ty->clientdata;
2295 if (data) PySwigClientData_Del(data);
2296 }
2297 }
2298 Py_DECREF(SWIG_This());
2299 }
2300
2301 SWIGRUNTIME void
2302 SWIG_Python_SetModule(swig_module_info *swig_module) {
2303 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
2304
2305 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2306 swig_empty_runtime_method_table);
2307 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
2308 if (pointer && module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
2310 } else {
2311 Py_XDECREF(pointer);
2312 }
2313 }
2314
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject *
2317 SWIG_Python_TypeCache() {
2318 static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
2319 return cache;
2320 }
2321
2322 SWIGRUNTIME swig_type_info *
2323 SWIG_Python_TypeQuery(const char *type)
2324 {
2325 PyObject *cache = SWIG_Python_TypeCache();
2326 PyObject *key = PyString_FromString(type);
2327 PyObject *obj = PyDict_GetItem(cache, key);
2328 swig_type_info *descriptor;
2329 if (obj) {
2330 descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
2331 } else {
2332 swig_module_info *swig_module = SWIG_Python_GetModule();
2333 descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
2334 if (descriptor) {
2335 obj = PyCObject_FromVoidPtr(descriptor, NULL);
2336 PyDict_SetItem(cache, key, obj);
2337 Py_DECREF(obj);
2338 }
2339 }
2340 Py_DECREF(key);
2341 return descriptor;
2342 }
2343
2344 /*
2345 For backward compatibility only
2346 */
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2350
2351 SWIGRUNTIME int
2352 SWIG_Python_AddErrMesg(const char* mesg, int infront)
2353 {
2354 if (PyErr_Occurred()) {
2355 PyObject *type = 0;
2356 PyObject *value = 0;
2357 PyObject *traceback = 0;
2358 PyErr_Fetch(&type, &value, &traceback);
2359 if (value) {
2360 PyObject *old_str = PyObject_Str(value);
2361 Py_XINCREF(type);
2362 PyErr_Clear();
2363 if (infront) {
2364 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
2365 } else {
2366 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
2367 }
2368 Py_DECREF(old_str);
2369 }
2370 return 1;
2371 } else {
2372 return 0;
2373 }
2374 }
2375
2376 SWIGRUNTIME int
2377 SWIG_Python_ArgFail(int argnum)
2378 {
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2381 char mesg[256];
2382 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
2383 return SWIG_Python_AddErrMesg(mesg, 1);
2384 } else {
2385 return 0;
2386 }
2387 }
2388
2389 SWIGRUNTIMEINLINE const char *
2390 PySwigObject_GetDesc(PyObject *self)
2391 {
2392 PySwigObject *v = (PySwigObject *)self;
2393 swig_type_info *ty = v ? v->ty : 0;
2394 return ty ? ty->str : (char*)"";
2395 }
2396
2397 SWIGRUNTIME void
2398 SWIG_Python_TypeError(const char *type, PyObject *obj)
2399 {
2400 if (type) {
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj && PySwigObject_Check(obj)) {
2403 const char *otype = (const char *) PySwigObject_GetDesc(obj);
2404 if (otype) {
2405 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
2406 type, otype);
2407 return;
2408 }
2409 } else
2410 #endif
2411 {
2412 const char *otype = (obj ? obj->ob_type->tp_name : 0);
2413 if (otype) {
2414 PyObject *str = PyObject_Str(obj);
2415 const char *cstr = str ? PyString_AsString(str) : 0;
2416 if (cstr) {
2417 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
2418 type, otype, cstr);
2419 } else {
2420 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
2421 type, otype);
2422 }
2423 Py_XDECREF(str);
2424 return;
2425 }
2426 }
2427 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
2428 } else {
2429 PyErr_Format(PyExc_TypeError, "unexpected type is received");
2430 }
2431 }
2432
2433
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2435 SWIGRUNTIME void *
2436 SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
2437 void *result;
2438 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
2439 PyErr_Clear();
2440 if (flags & SWIG_POINTER_EXCEPTION) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
2442 SWIG_Python_ArgFail(argnum);
2443 }
2444 }
2445 return result;
2446 }
2447
2448
2449 #ifdef __cplusplus
2450 #if 0
2451 { /* cc-mode */
2452 #endif
2453 }
2454 #endif
2455
2456
2457
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2459
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2461
2462
2463
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2465
2466 #define SWIGTYPE_p_bool swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_unsigned_char swig_types[4]
2471 #define SWIGTYPE_p_unsigned_int swig_types[5]
2472 #define SWIGTYPE_p_unsigned_long swig_types[6]
2473 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2474 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476 #define SWIGTYPE_p_wxArrayInt swig_types[10]
2477 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
2478 #define SWIGTYPE_p_wxBitmap swig_types[12]
2479 #define SWIGTYPE_p_wxBoxSizer swig_types[13]
2480 #define SWIGTYPE_p_wxCURHandler swig_types[14]
2481 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[15]
2482 #define SWIGTYPE_p_wxChildFocusEvent swig_types[16]
2483 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[17]
2484 #define SWIGTYPE_p_wxCloseEvent swig_types[18]
2485 #define SWIGTYPE_p_wxColour swig_types[19]
2486 #define SWIGTYPE_p_wxColourData swig_types[20]
2487 #define SWIGTYPE_p_wxColourDialog swig_types[21]
2488 #define SWIGTYPE_p_wxCommandEvent swig_types[22]
2489 #define SWIGTYPE_p_wxContextMenuEvent swig_types[23]
2490 #define SWIGTYPE_p_wxControl swig_types[24]
2491 #define SWIGTYPE_p_wxControlWithItems swig_types[25]
2492 #define SWIGTYPE_p_wxDC swig_types[26]
2493 #define SWIGTYPE_p_wxDateEvent swig_types[27]
2494 #define SWIGTYPE_p_wxDialog swig_types[28]
2495 #define SWIGTYPE_p_wxDirDialog swig_types[29]
2496 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[30]
2497 #define SWIGTYPE_p_wxDropFilesEvent swig_types[31]
2498 #define SWIGTYPE_p_wxDuplexMode swig_types[32]
2499 #define SWIGTYPE_p_wxEraseEvent swig_types[33]
2500 #define SWIGTYPE_p_wxEvent swig_types[34]
2501 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
2502 #define SWIGTYPE_p_wxFSFile swig_types[36]
2503 #define SWIGTYPE_p_wxFileDialog swig_types[37]
2504 #define SWIGTYPE_p_wxFileSystem swig_types[38]
2505 #define SWIGTYPE_p_wxFindDialogEvent swig_types[39]
2506 #define SWIGTYPE_p_wxFindReplaceData swig_types[40]
2507 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[41]
2508 #define SWIGTYPE_p_wxFlexGridSizer swig_types[42]
2509 #define SWIGTYPE_p_wxFocusEvent swig_types[43]
2510 #define SWIGTYPE_p_wxFont swig_types[44]
2511 #define SWIGTYPE_p_wxFontData swig_types[45]
2512 #define SWIGTYPE_p_wxFontDialog swig_types[46]
2513 #define SWIGTYPE_p_wxFrame swig_types[47]
2514 #define SWIGTYPE_p_wxGBSizerItem swig_types[48]
2515 #define SWIGTYPE_p_wxGIFHandler swig_types[49]
2516 #define SWIGTYPE_p_wxGridBagSizer swig_types[50]
2517 #define SWIGTYPE_p_wxGridSizer swig_types[51]
2518 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[52]
2519 #define SWIGTYPE_p_wxICOHandler swig_types[53]
2520 #define SWIGTYPE_p_wxIcon swig_types[54]
2521 #define SWIGTYPE_p_wxIconBundle swig_types[55]
2522 #define SWIGTYPE_p_wxIconizeEvent swig_types[56]
2523 #define SWIGTYPE_p_wxIdleEvent swig_types[57]
2524 #define SWIGTYPE_p_wxImage swig_types[58]
2525 #define SWIGTYPE_p_wxImageHandler swig_types[59]
2526 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[60]
2527 #define SWIGTYPE_p_wxInitDialogEvent swig_types[61]
2528 #define SWIGTYPE_p_wxJPEGHandler swig_types[62]
2529 #define SWIGTYPE_p_wxKeyEvent swig_types[63]
2530 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[64]
2531 #define SWIGTYPE_p_wxLayoutConstraints swig_types[65]
2532 #define SWIGTYPE_p_wxMDIChildFrame swig_types[66]
2533 #define SWIGTYPE_p_wxMDIClientWindow swig_types[67]
2534 #define SWIGTYPE_p_wxMDIParentFrame swig_types[68]
2535 #define SWIGTYPE_p_wxMaximizeEvent swig_types[69]
2536 #define SWIGTYPE_p_wxMenu swig_types[70]
2537 #define SWIGTYPE_p_wxMenuBar swig_types[71]
2538 #define SWIGTYPE_p_wxMenuEvent swig_types[72]
2539 #define SWIGTYPE_p_wxMenuItem swig_types[73]
2540 #define SWIGTYPE_p_wxMessageDialog swig_types[74]
2541 #define SWIGTYPE_p_wxMiniFrame swig_types[75]
2542 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[76]
2543 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[77]
2544 #define SWIGTYPE_p_wxMouseEvent swig_types[78]
2545 #define SWIGTYPE_p_wxMoveEvent swig_types[79]
2546 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[80]
2547 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[81]
2548 #define SWIGTYPE_p_wxNcPaintEvent swig_types[82]
2549 #define SWIGTYPE_p_wxNotifyEvent swig_types[83]
2550 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[84]
2551 #define SWIGTYPE_p_wxObject swig_types[85]
2552 #define SWIGTYPE_p_wxPCXHandler swig_types[86]
2553 #define SWIGTYPE_p_wxPNGHandler swig_types[87]
2554 #define SWIGTYPE_p_wxPNMHandler swig_types[88]
2555 #define SWIGTYPE_p_wxPageSetupDialog swig_types[89]
2556 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[90]
2557 #define SWIGTYPE_p_wxPaintEvent swig_types[91]
2558 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[92]
2559 #define SWIGTYPE_p_wxPanel swig_types[93]
2560 #define SWIGTYPE_p_wxPaperSize swig_types[94]
2561 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[95]
2562 #define SWIGTYPE_p_wxPoint swig_types[96]
2563 #define SWIGTYPE_p_wxPopupWindow swig_types[97]
2564 #define SWIGTYPE_p_wxPreviewCanvas swig_types[98]
2565 #define SWIGTYPE_p_wxPreviewControlBar swig_types[99]
2566 #define SWIGTYPE_p_wxPreviewFrame swig_types[100]
2567 #define SWIGTYPE_p_wxPrintData swig_types[101]
2568 #define SWIGTYPE_p_wxPrintDialog swig_types[102]
2569 #define SWIGTYPE_p_wxPrintDialogData swig_types[103]
2570 #define SWIGTYPE_p_wxPrintPreview swig_types[104]
2571 #define SWIGTYPE_p_wxPrinter swig_types[105]
2572 #define SWIGTYPE_p_wxProgressDialog swig_types[106]
2573 #define SWIGTYPE_p_wxPyApp swig_types[107]
2574 #define SWIGTYPE_p_wxPyCommandEvent swig_types[108]
2575 #define SWIGTYPE_p_wxPyEvent swig_types[109]
2576 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[110]
2577 #define SWIGTYPE_p_wxPyImageHandler swig_types[111]
2578 #define SWIGTYPE_p_wxPyPanel swig_types[112]
2579 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[113]
2580 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[114]
2581 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[115]
2582 #define SWIGTYPE_p_wxPyPrintPreview swig_types[116]
2583 #define SWIGTYPE_p_wxPyPrintout swig_types[117]
2584 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[118]
2585 #define SWIGTYPE_p_wxPySizer swig_types[119]
2586 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[120]
2587 #define SWIGTYPE_p_wxPyVListBox swig_types[121]
2588 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[122]
2589 #define SWIGTYPE_p_wxPyValidator swig_types[123]
2590 #define SWIGTYPE_p_wxPyWindow swig_types[124]
2591 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[125]
2592 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[126]
2593 #define SWIGTYPE_p_wxRect swig_types[127]
2594 #define SWIGTYPE_p_wxRegion swig_types[128]
2595 #define SWIGTYPE_p_wxSashEvent swig_types[129]
2596 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[130]
2597 #define SWIGTYPE_p_wxSashWindow swig_types[131]
2598 #define SWIGTYPE_p_wxScrollEvent swig_types[132]
2599 #define SWIGTYPE_p_wxScrollWinEvent swig_types[133]
2600 #define SWIGTYPE_p_wxScrolledWindow swig_types[134]
2601 #define SWIGTYPE_p_wxSetCursorEvent swig_types[135]
2602 #define SWIGTYPE_p_wxShowEvent swig_types[136]
2603 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[137]
2604 #define SWIGTYPE_p_wxSize swig_types[138]
2605 #define SWIGTYPE_p_wxSizeEvent swig_types[139]
2606 #define SWIGTYPE_p_wxSizer swig_types[140]
2607 #define SWIGTYPE_p_wxSizerItem swig_types[141]
2608 #define SWIGTYPE_p_wxSplashScreen swig_types[142]
2609 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[143]
2610 #define SWIGTYPE_p_wxSplitterEvent swig_types[144]
2611 #define SWIGTYPE_p_wxSplitterWindow swig_types[145]
2612 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[146]
2613 #define SWIGTYPE_p_wxStatusBar swig_types[147]
2614 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[148]
2615 #define SWIGTYPE_p_wxString swig_types[149]
2616 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[150]
2617 #define SWIGTYPE_p_wxTGAHandler swig_types[151]
2618 #define SWIGTYPE_p_wxTIFFHandler swig_types[152]
2619 #define SWIGTYPE_p_wxTaskBarIcon swig_types[153]
2620 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[154]
2621 #define SWIGTYPE_p_wxTextEntryDialog swig_types[155]
2622 #define SWIGTYPE_p_wxTipWindow swig_types[156]
2623 #define SWIGTYPE_p_wxToolBar swig_types[157]
2624 #define SWIGTYPE_p_wxTopLevelWindow swig_types[158]
2625 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[159]
2626 #define SWIGTYPE_p_wxValidator swig_types[160]
2627 #define SWIGTYPE_p_wxVisualAttributes swig_types[161]
2628 #define SWIGTYPE_p_wxWindow swig_types[162]
2629 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[163]
2630 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[164]
2631 #define SWIGTYPE_p_wxXPMHandler swig_types[165]
2632 static swig_type_info *swig_types[167];
2633 static swig_module_info swig_module = {swig_types, 166, 0, 0, 0, 0};
2634 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2635 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2636
2637 /* -------- TYPES TABLE (END) -------- */
2638
2639 #if (PY_VERSION_HEX <= 0x02000000)
2640 # if !defined(SWIG_PYTHON_CLASSIC)
2641 # error "This python version requires to use swig with the '-classic' option"
2642 # endif
2643 #endif
2644 #if (PY_VERSION_HEX <= 0x02020000)
2645 # error "This python version requires to use swig with the '-nomodern' option"
2646 #endif
2647 #if (PY_VERSION_HEX <= 0x02020000)
2648 # error "This python version requires to use swig with the '-nomodernargs' option"
2649 #endif
2650 #ifndef METH_O
2651 # error "This python version requires to use swig with the '-nofastunpack' option"
2652 #endif
2653
2654 /*-----------------------------------------------
2655 @(target):= _windows_.so
2656 ------------------------------------------------*/
2657 #define SWIG_init init_windows_
2658
2659 #define SWIG_name "_windows_"
2660
2661 #define SWIGVERSION 0x010329
2662
2663
2664 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2665 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2666
2667
2668 #include <stdexcept>
2669
2670
2671 namespace swig {
2672 class PyObject_ptr {
2673 protected:
2674 PyObject *_obj;
2675
2676 public:
2677 PyObject_ptr() :_obj(0)
2678 {
2679 }
2680
2681 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2682 {
2683 Py_XINCREF(_obj);
2684 }
2685
2686 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2687 {
2688 if (initial_ref) Py_XINCREF(_obj);
2689 }
2690
2691 PyObject_ptr & operator=(const PyObject_ptr& item)
2692 {
2693 Py_XINCREF(item._obj);
2694 Py_XDECREF(_obj);
2695 _obj = item._obj;
2696 return *this;
2697 }
2698
2699 ~PyObject_ptr()
2700 {
2701 Py_XDECREF(_obj);
2702 }
2703
2704 operator PyObject *() const
2705 {
2706 return _obj;
2707 }
2708
2709 PyObject *operator->() const
2710 {
2711 return _obj;
2712 }
2713 };
2714 }
2715
2716
2717 namespace swig {
2718 struct PyObject_var : PyObject_ptr {
2719 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2720
2721 PyObject_var & operator = (PyObject* obj)
2722 {
2723 Py_XDECREF(_obj);
2724 _obj = obj;
2725 return *this;
2726 }
2727 };
2728 }
2729
2730
2731 #include "wx/wxPython/wxPython.h"
2732 #include "wx/wxPython/pyclasses.h"
2733
2734
2735 static const wxString wxPyEmptyString(wxEmptyString);
2736 static const wxString wxPyPanelNameStr(wxPanelNameStr);
2737
2738
2739
2740 #include <limits.h>
2741 #ifndef LLONG_MIN
2742 # define LLONG_MIN LONG_LONG_MIN
2743 #endif
2744 #ifndef LLONG_MAX
2745 # define LLONG_MAX LONG_LONG_MAX
2746 #endif
2747 #ifndef ULLONG_MAX
2748 # define ULLONG_MAX ULONG_LONG_MAX
2749 #endif
2750
2751
2752 SWIGINTERN int
2753 SWIG_AsVal_long (PyObject* obj, long* val)
2754 {
2755 if (PyNumber_Check(obj)) {
2756 if (val) *val = PyInt_AsLong(obj);
2757 return SWIG_OK;
2758 }
2759 return SWIG_TypeError;
2760 }
2761
2762
2763 SWIGINTERN int
2764 SWIG_AsVal_int (PyObject * obj, int *val)
2765 {
2766 long v;
2767 int res = SWIG_AsVal_long (obj, &v);
2768 if (SWIG_IsOK(res)) {
2769 if ((v < INT_MIN || v > INT_MAX)) {
2770 return SWIG_OverflowError;
2771 } else {
2772 if (val) *val = static_cast< int >(v);
2773 }
2774 }
2775 return res;
2776 }
2777
2778
2779 SWIGINTERN int
2780 SWIG_AsVal_bool (PyObject *obj, bool *val)
2781 {
2782 if (obj == Py_True) {
2783 if (val) *val = true;
2784 return SWIG_OK;
2785 } else if (obj == Py_False) {
2786 if (val) *val = false;
2787 return SWIG_OK;
2788 } else {
2789 long v = 0;
2790 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2791 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2792 return res;
2793 }
2794 }
2795
2796
2797 #define SWIG_From_long PyInt_FromLong
2798
2799
2800 SWIGINTERNINLINE PyObject *
2801 SWIG_From_int (int value)
2802 {
2803 return SWIG_From_long (value);
2804 }
2805
2806
2807 SWIGINTERN int
2808 SWIG_AsVal_double (PyObject *obj, double* val)
2809 {
2810 if (PyNumber_Check(obj)) {
2811 if (val) *val = PyFloat_AsDouble(obj);
2812 return SWIG_OK;
2813 }
2814 return SWIG_TypeError;
2815 }
2816
2817
2818 #define SWIG_From_double PyFloat_FromDouble
2819
2820 static const wxString wxPyFrameNameStr(wxFrameNameStr);
2821 static const wxString wxPyDialogNameStr(wxDialogNameStr);
2822 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
2823 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
2824 SWIGINTERN void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){ /*wxPyRaiseNotImplemented();*/ }
2825 SWIGINTERN bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow const *self){ /*wxPyRaiseNotImplemented();*/ return false; }
2826
2827
2828 SWIGINTERN wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
2829 wxRect r;
2830 self->GetFieldRect(i, r);
2831 return r;
2832 }
2833 static const wxString wxPySplitterNameStr(wxT("splitter"));
2834 static const wxString wxPySashNameStr(wxT("sashWindow"));
2835 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
2836
2837 #include <wx/popupwin.h>
2838
2839
2840 class wxPyPopupTransientWindow : public wxPopupTransientWindow
2841 {
2842 public:
2843 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
2844 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
2845 : wxPopupTransientWindow(parent, style) {}
2846
2847 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
2848 DEC_PYCALLBACK__(OnDismiss);
2849 DEC_PYCALLBACK_BOOL_(CanDismiss);
2850 PYPRIVATE;
2851 };
2852
2853
2854 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
2855 IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
2856 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
2857
2858
2859 #include <wx/tipwin.h>
2860
2861 SWIGINTERN wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){
2862 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
2863 }
2864
2865 #include <wx/tipwin.h>
2866
2867
2868 #include <wx/vscroll.h>
2869
2870
2871 class wxPyVScrolledWindow : public wxVScrolledWindow
2872 {
2873 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow)
2874 public:
2875 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2876
2877 wxPyVScrolledWindow(wxWindow *parent,
2878 wxWindowID id = wxID_ANY,
2879 const wxPoint& pos = wxDefaultPosition,
2880 const wxSize& size = wxDefaultSize,
2881 long style = 0,
2882 const wxString& name = wxPyPanelNameStr)
2883 : wxVScrolledWindow(parent, id, pos, size, style, name)
2884 {}
2885
2886 // Overridable virtuals
2887
2888 // this function must be overridden in the derived class and it should
2889 // return the height of the given line in pixels
2890 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
2891
2892
2893 // this function doesn't have to be overridden but it may be useful to do
2894 // it if calculating the lines heights is a relatively expensive operation
2895 // as it gives the user code a possibility to calculate several of them at
2896 // once
2897 //
2898 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2899 // shouldn't rely on the latter being called for all lines in the interval
2900 // specified here. It is also possible that OnGetLineHeight() will be
2901 // called for the lines outside of this interval, so this is really just a
2902 // hint, not a promise.
2903 //
2904 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2905 // usual
2906 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
2907
2908
2909 // when the number of lines changes, we try to estimate the total height
2910 // of all lines which is a rather expensive operation in terms of lines
2911 // access, so if the user code may estimate the average height
2912 // better/faster than we do, it should override this function to implement
2913 // its own logic
2914 //
2915 // this function should return the best guess for the total height it may
2916 // make
2917 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
2918
2919
2920 // Also expose some other interesting protected methods
2921
2922
2923 // find the index of the line we need to show at the top of the window such
2924 // that the last (fully or partially) visible line is the given one
2925 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
2926 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
2927
2928 // get the total height of the lines between lineMin (inclusive) and
2929 // lineMax (exclusive)
2930 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
2931 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
2932
2933 // update the thumb size shown by the scrollbar
2934 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2935
2936 // remove the scrollbar completely because we don't need it
2937 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
2938
2939 PYPRIVATE;
2940 };
2941
2942 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
2943
2944 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
2945 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
2946 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
2947
2948
2949 SWIGINTERN int
2950 SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2951 {
2952 long v = 0;
2953 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2954 return SWIG_TypeError;
2955 }
2956 else if (val)
2957 *val = (unsigned long)v;
2958 return SWIG_OK;
2959 }
2960
2961
2962 SWIGINTERNINLINE int
2963 SWIG_AsVal_size_t (PyObject * obj, size_t *val)
2964 {
2965 unsigned long v;
2966 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2967 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2968 return res;
2969 }
2970
2971
2972 SWIGINTERNINLINE PyObject*
2973 SWIG_From_unsigned_SS_long (unsigned long value)
2974 {
2975 return (value > LONG_MAX) ?
2976 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2977 }
2978
2979
2980 SWIGINTERNINLINE PyObject *
2981 SWIG_From_size_t (size_t value)
2982 {
2983 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
2984 }
2985
2986
2987 #include <wx/vlbox.h>
2988
2989 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
2990
2991 class wxPyVListBox : public wxVListBox
2992 {
2993 DECLARE_ABSTRACT_CLASS(wxPyVListBox)
2994 public:
2995 wxPyVListBox() : wxVListBox() {}
2996
2997 wxPyVListBox(wxWindow *parent,
2998 wxWindowID id = wxID_ANY,
2999 const wxPoint& pos = wxDefaultPosition,
3000 const wxSize& size = wxDefaultSize,
3001 long style = 0,
3002 const wxString& name = wxPyVListBoxNameStr)
3003 : wxVListBox(parent, id, pos, size, style, name)
3004 {}
3005
3006 // Overridable virtuals
3007
3008 // the derived class must implement this function to actually draw the item
3009 // with the given index on the provided DC
3010 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3011 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
3012
3013
3014 // the derived class must implement this method to return the height of the
3015 // specified item
3016 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3017 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
3018
3019
3020 // this method may be used to draw separators between the lines; note that
3021 // the rectangle may be modified, typically to deflate it a bit before
3022 // passing to OnDrawItem()
3023 //
3024 // the base class version doesn't do anything
3025 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3026 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3027
3028
3029 // this method is used to draw the items background and, maybe, a border
3030 // around it
3031 //
3032 // the base class version implements a reasonable default behaviour which
3033 // consists in drawing the selected item with the standard background
3034 // colour and drawing a border around the item if it is either selected or
3035 // current
3036 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3037 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3038
3039
3040 PYPRIVATE;
3041 };
3042
3043 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
3044
3045 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
3046 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
3047 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox, wxVListBox, OnDrawSeparator);
3048 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
3049
3050
3051 SWIGINTERN PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
3052 unsigned long cookie = 0;
3053 int selected = self->GetFirstSelected(cookie);
3054 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3055 PyObject* tup = PyTuple_New(2);
3056 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3057 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3058 wxPyEndBlockThreads(blocked);
3059 return tup;
3060 }
3061 SWIGINTERN PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
3062 int selected = self->GetNextSelected(cookie);
3063 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3064 PyObject* tup = PyTuple_New(2);
3065 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3066 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3067 wxPyEndBlockThreads(blocked);
3068 return tup;
3069 }
3070
3071 #include <wx/htmllbox.h>
3072
3073
3074 class wxPyHtmlListBox : public wxHtmlListBox
3075 {
3076 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox)
3077 public:
3078 wxPyHtmlListBox() : wxHtmlListBox() {}
3079
3080 wxPyHtmlListBox(wxWindow *parent,
3081 wxWindowID id = wxID_ANY,
3082 const wxPoint& pos = wxDefaultPosition,
3083 const wxSize& size = wxDefaultSize,
3084 long style = 0,
3085 const wxString& name = wxPyVListBoxNameStr)
3086 : wxHtmlListBox(parent, id, pos, size, style, name)
3087 {}
3088
3089 // Overridable virtuals
3090
3091 // this method must be implemented in the derived class and should return
3092 // the body (i.e. without <html>) of the HTML for the given item
3093 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
3094
3095 // this function may be overridden to decorate HTML returned by OnGetItem()
3096 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
3097
3098 // These are from wxVListBox
3099 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3100 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3101
3102 // TODO:
3103 // // this method allows to customize the selection appearance: it may be used
3104 // // to specify the colour of the text which normally has the given colour
3105 // // colFg when it is inside the selection
3106 // //
3107 // // by default, the original colour is not used at all and all text has the
3108 // // same (default for this system) colour inside selection
3109 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3110
3111 // // this is the same as GetSelectedTextColour() but allows to customize the
3112 // // background colour -- this is even more rarely used as you can change it
3113 // // globally using SetSelectionBackground()
3114 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3115
3116
3117 // This method may be overriden to handle clicking on a link in
3118 // the listbox. By default, clicking links is ignored.
3119 virtual void OnLinkClicked(size_t n,
3120 const wxHtmlLinkInfo& link);
3121
3122 PYPRIVATE;
3123 };
3124
3125
3126 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
3127
3128 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
3129 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
3130 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawSeparator);
3131 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawBackground);
3132
3133
3134 void wxPyHtmlListBox::OnLinkClicked(size_t n,
3135 const wxHtmlLinkInfo& link) {
3136 bool found;
3137 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3138 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
3139 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
3140 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", n, obj));
3141 Py_DECREF(obj);
3142 }
3143 wxPyEndBlockThreads(blocked);
3144 if (! found)
3145 wxPyHtmlListBox::OnLinkClicked(n, link);
3146 }
3147
3148
3149
3150
3151
3152 #ifndef wxHAS_TASK_BAR_ICON
3153 // implement dummy classes for platforms that don't have it
3154
3155 class wxTaskBarIcon : public wxEvtHandler
3156 {
3157 public:
3158 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3159 };
3160
3161
3162 class wxTaskBarIconEvent : public wxEvent
3163 {
3164 public:
3165 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
3166 { wxPyRaiseNotImplemented(); }
3167 virtual wxEvent* Clone() const { return NULL; }
3168 bool IsOk() const { return false; }
3169 bool IsIconInstalled() const { return false; }
3170 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
3171 bool RemoveIcon() { return false; }
3172 bool PopupMenu(wxMenu *menu) { return false; }
3173 };
3174
3175 enum {
3176 wxEVT_TASKBAR_MOVE = 0,
3177 wxEVT_TASKBAR_LEFT_DOWN = 0,
3178 wxEVT_TASKBAR_LEFT_UP = 0,
3179 wxEVT_TASKBAR_RIGHT_DOWN = 0,
3180 wxEVT_TASKBAR_RIGHT_UP = 0,
3181 wxEVT_TASKBAR_LEFT_DCLICK = 0,
3182 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
3183 };
3184
3185
3186 #else
3187 // Otherwise make a class that can virtualize CreatePopupMenu
3188 class wxPyTaskBarIcon : public wxTaskBarIcon
3189 {
3190 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon)
3191 public:
3192 wxPyTaskBarIcon() : wxTaskBarIcon()
3193 {}
3194
3195 wxMenu* CreatePopupMenu() {
3196 wxMenu *rval = NULL;
3197 bool found;
3198 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3199 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
3200 PyObject* ro;
3201 wxMenu* ptr;
3202 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3203 if (ro) {
3204 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
3205 rval = ptr;
3206 Py_DECREF(ro);
3207 }
3208 }
3209 wxPyEndBlockThreads(blocked);
3210 if (! found)
3211 rval = wxTaskBarIcon::CreatePopupMenu();
3212 return rval;
3213 }
3214
3215 PYPRIVATE;
3216 };
3217
3218 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
3219
3220 #endif
3221
3222 SWIGINTERN void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
3223 self->RemoveIcon();
3224 delete self;
3225 }
3226 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
3227 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
3228 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
3229 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
3230 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
3231 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
3232
3233 // for compatibility only
3234 #define wxHIDE_READONLY 0
3235
3236 SWIGINTERN PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
3237 wxArrayString arr;
3238 self->GetFilenames(arr);
3239 return wxArrayString2PyList_helper(arr);
3240 }
3241 SWIGINTERN PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
3242 wxArrayString arr;
3243 self->GetPaths(arr);
3244 return wxArrayString2PyList_helper(arr);
3245 }
3246 SWIGINTERN PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
3247 return wxArrayInt2PyList_helper(self->GetSelections());
3248 }
3249 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){
3250 return new wxSingleChoiceDialog(parent, message, caption,
3251 choices, choices_array, NULL, style, pos);
3252 }
3253 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
3254
3255 SWIGINTERNINLINE PyObject*
3256 SWIG_From_bool (bool value)
3257 {
3258 return PyBool_FromLong(value ? 1 : 0);
3259 }
3260
3261
3262 #include <wx/mdi.h>
3263
3264 // C++ version of Python aware wxWindow
3265 class wxPyWindow : public wxWindow
3266 {
3267 DECLARE_DYNAMIC_CLASS(wxPyWindow)
3268 public:
3269 wxPyWindow() : wxWindow() {}
3270 wxPyWindow(wxWindow* parent, const wxWindowID id,
3271 const wxPoint& pos = wxDefaultPosition,
3272 const wxSize& size = wxDefaultSize,
3273 long style = 0,
3274 const wxString& name = wxPyPanelNameStr)
3275 : wxWindow(parent, id, pos, size, style, name) {}
3276
3277
3278 bool DoEraseBackground(wxDC* dc) {
3279 #ifdef __WXMSW__
3280 return wxWindow::DoEraseBackground(dc->GetHDC());
3281 #else
3282 dc->SetBackground(wxBrush(GetBackgroundColour()));
3283 dc->Clear();
3284 return true;
3285 #endif
3286 }
3287
3288 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3289 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3290 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3291 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3292
3293 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3294 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3295 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3296
3297 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3298 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3299
3300 DEC_PYCALLBACK__(InitDialog);
3301 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3302 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3303 DEC_PYCALLBACK_BOOL_(Validate);
3304
3305 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3306 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3307 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3308
3309 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3310 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3311
3312 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3313 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3314
3315 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3316
3317 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3318
3319 PYPRIVATE;
3320 };
3321
3322 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
3323
3324 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
3325 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
3326 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
3327 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
3328
3329 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
3330 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
3331 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
3332
3333 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
3334 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
3335
3336 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
3337 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
3338 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
3339 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
3340
3341 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
3342 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
3343 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
3344
3345 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
3346 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
3347
3348 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
3349 IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
3350
3351 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
3352
3353 IMP_PYCALLBACK_VOID_(wxPyWindow, wxWindow, OnInternalIdle);
3354
3355 // C++ version of Python aware wxPanel
3356 class wxPyPanel : public wxPanel
3357 {
3358 DECLARE_DYNAMIC_CLASS(wxPyPanel)
3359 public:
3360 wxPyPanel() : wxPanel() {}
3361 wxPyPanel(wxWindow* parent, const wxWindowID id,
3362 const wxPoint& pos = wxDefaultPosition,
3363 const wxSize& size = wxDefaultSize,
3364 long style = 0,
3365 const wxString& name = wxPyPanelNameStr)
3366 : wxPanel(parent, id, pos, size, style, name) {}
3367
3368 bool DoEraseBackground(wxDC* dc) {
3369 #ifdef __WXMSW__
3370 return wxWindow::DoEraseBackground(dc->GetHDC());
3371 #else
3372 dc->SetBackground(wxBrush(GetBackgroundColour()));
3373 dc->Clear();
3374 return true;
3375 #endif
3376 }
3377
3378
3379 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3380 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3381 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3382 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3383
3384 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3385 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3386 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3387
3388 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3389 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3390
3391 DEC_PYCALLBACK__(InitDialog);
3392 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3393 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3394 DEC_PYCALLBACK_BOOL_(Validate);
3395
3396 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3397 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3398 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3399
3400 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3401 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3402
3403 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3404 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3405
3406 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3407
3408 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3409
3410 PYPRIVATE;
3411 };
3412
3413 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
3414
3415 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
3416 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
3417 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
3418 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
3419
3420 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
3421 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
3422 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
3423
3424 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
3425 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
3426
3427 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
3428 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
3429 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
3430 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
3431
3432 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
3433 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
3434 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
3435
3436 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
3437 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
3438
3439 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
3440 IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
3441
3442 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
3443
3444 IMP_PYCALLBACK_VOID_(wxPyPanel, wxPanel, OnInternalIdle);
3445
3446 // C++ version of Python aware wxScrolledWindow
3447 class wxPyScrolledWindow : public wxScrolledWindow
3448 {
3449 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
3450 public:
3451 wxPyScrolledWindow() : wxScrolledWindow() {}
3452 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
3453 const wxPoint& pos = wxDefaultPosition,
3454 const wxSize& size = wxDefaultSize,
3455 long style = 0,
3456 const wxString& name = wxPyPanelNameStr)
3457 : wxScrolledWindow(parent, id, pos, size, style, name) {}
3458
3459 bool DoEraseBackground(wxDC* dc) {
3460 #ifdef __WXMSW__
3461 return wxWindow::DoEraseBackground(dc->GetHDC());
3462 #else
3463 dc->SetBackground(wxBrush(GetBackgroundColour()));
3464 dc->Clear();
3465 return true;
3466 #endif
3467 }
3468
3469 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3470 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3471 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3472 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3473
3474 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3475 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3476 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3477
3478 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3479 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3480
3481 DEC_PYCALLBACK__(InitDialog);
3482 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3483 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3484 DEC_PYCALLBACK_BOOL_(Validate);
3485
3486 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3487 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3488 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3489
3490 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3491 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3492
3493 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3494 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3495
3496 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3497
3498 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3499
3500 PYPRIVATE;
3501 };
3502
3503 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
3504
3505 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
3506 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
3507 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
3508 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
3509
3510 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
3511 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
3512 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
3513
3514 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
3515 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
3516
3517 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
3518 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
3519 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
3520 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
3521
3522 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
3523 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
3524 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
3525
3526 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
3527 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
3528
3529 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
3530 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
3531
3532 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
3533
3534 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow, wxScrolledWindow, OnInternalIdle);
3535
3536
3537 #include "wx/wxPython/printfw.h"
3538
3539
3540 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
3541 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3542 SWIGINTERN PyObject *wxPrintData_GetPrivData(wxPrintData *self){
3543 PyObject* data;
3544 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3545 data = PyString_FromStringAndSize(self->GetPrivData(),
3546 self->GetPrivDataLen());
3547 wxPyEndBlockThreads(blocked);
3548 return data;
3549 }
3550 SWIGINTERN void wxPrintData_SetPrivData(wxPrintData *self,PyObject *data){
3551 if (! PyString_Check(data)) {
3552 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
3553 "Expected string object"));
3554 return /* NULL */ ;
3555 }
3556
3557 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3558 self->SetPrivData(PyString_AS_STRING(data), PyString_GET_SIZE(data));
3559 wxPyEndBlockThreads(blocked);
3560 }
3561
3562
3563 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
3564
3565 // Since this one would be tough and ugly to do with the Macros...
3566 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
3567 bool hadErr = false;
3568 bool found;
3569
3570 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3571 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
3572 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3573 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
3574 PyObject* val;
3575
3576 val = PyTuple_GetItem(result, 0);
3577 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
3578 else hadErr = true;
3579
3580 val = PyTuple_GetItem(result, 1);
3581 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
3582 else hadErr = true;
3583
3584 val = PyTuple_GetItem(result, 2);
3585 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
3586 else hadErr = true;
3587
3588 val = PyTuple_GetItem(result, 3);
3589 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
3590 else hadErr = true;
3591 }
3592 else
3593 hadErr = true;
3594
3595 if (hadErr) {
3596 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
3597 PyErr_Print();
3598 }
3599 Py_DECREF(result);
3600 }
3601 wxPyEndBlockThreads(blocked);
3602 if (! found)
3603 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
3604 }
3605
3606
3607
3608 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
3609 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
3610 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
3611 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
3612 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
3613 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
3614 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
3615
3616
3617
3618
3619
3620 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3621 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3622
3623
3624 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3625 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3626 bool rval=false; \
3627 bool found; \
3628 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3629 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3630 PyObject* win = wxPyMake_wxObject(a,false); \
3631 PyObject* dc = wxPyMake_wxObject(&b,false); \
3632 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3633 Py_DECREF(win); \
3634 Py_DECREF(dc); \
3635 } \
3636 wxPyEndBlockThreads(blocked); \
3637 if (! found) \
3638 rval = PCLASS::CBNAME(a, b); \
3639 return rval; \
3640 }
3641
3642
3643
3644
3645 class wxPyPrintPreview : public wxPrintPreview
3646 {
3647 DECLARE_CLASS(wxPyPrintPreview)
3648 public:
3649 wxPyPrintPreview(wxPyPrintout* printout,
3650 wxPyPrintout* printoutForPrinting,
3651 wxPrintDialogData* data=NULL)
3652 : wxPrintPreview(printout, printoutForPrinting, data)
3653 {}
3654 wxPyPrintPreview(wxPyPrintout* printout,
3655 wxPyPrintout* printoutForPrinting,
3656 wxPrintData* data)
3657 : wxPrintPreview(printout, printoutForPrinting, data)
3658 {}
3659
3660 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
3661 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
3662 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
3663 DEC_PYCALLBACK_BOOL_INT(RenderPage);
3664 DEC_PYCALLBACK_VOID_INT(SetZoom);
3665 DEC_PYCALLBACK_BOOL_BOOL(Print);
3666 DEC_PYCALLBACK_VOID_(DetermineScaling);
3667
3668 PYPRIVATE;
3669 };
3670
3671 // Stupid renamed classes... Fix this in 2.5...
3672 #if defined(__WXMSW__)
3673 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
3674 #elif defined(__WXMAC__)
3675 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
3676 #else
3677 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
3678 #endif
3679
3680 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
3681 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
3682 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
3683 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
3684 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
3685 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
3686 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
3687
3688
3689 class wxPyPreviewFrame : public wxPreviewFrame
3690 {
3691 DECLARE_CLASS(wxPyPreviewFrame)
3692 public:
3693 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
3694 const wxString& title,
3695 const wxPoint& pos = wxDefaultPosition,
3696 const wxSize& size = wxDefaultSize,
3697 long style = wxDEFAULT_FRAME_STYLE,
3698 const wxString& name = wxPyFrameNameStr)
3699 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
3700 {}
3701
3702 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
3703 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
3704
3705 DEC_PYCALLBACK_VOID_(Initialize);
3706 DEC_PYCALLBACK_VOID_(CreateCanvas);
3707 DEC_PYCALLBACK_VOID_(CreateControlBar);
3708
3709 PYPRIVATE;
3710 };
3711
3712 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
3713
3714 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
3715 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
3716 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
3717
3718
3719 class wxPyPreviewControlBar : public wxPreviewControlBar
3720 {
3721 DECLARE_CLASS(wxPyPreviewControlBar)
3722 public:
3723 wxPyPreviewControlBar(wxPrintPreview *preview,
3724 long buttons,
3725 wxWindow *parent,
3726 const wxPoint& pos = wxDefaultPosition,
3727 const wxSize& size = wxDefaultSize,
3728 long style = 0,
3729 const wxString& name = wxPyPanelNameStr)
3730 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
3731 {}
3732
3733 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
3734
3735 DEC_PYCALLBACK_VOID_(CreateButtons);
3736 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
3737
3738 PYPRIVATE;
3739 };
3740
3741 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
3742 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
3743 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
3744
3745 #ifdef __cplusplus
3746 extern "C" {
3747 #endif
3748 SWIGINTERN PyObject *_wrap_new_Panel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3749 PyObject *resultobj = 0;
3750 wxWindow *arg1 = (wxWindow *) 0 ;
3751 int arg2 = (int) (int)-1 ;
3752 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3753 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3754 wxSize const &arg4_defvalue = wxDefaultSize ;
3755 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3756 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3757 wxString const &arg6_defvalue = wxPyPanelNameStr ;
3758 wxString *arg6 = (wxString *) &arg6_defvalue ;
3759 wxPanel *result = 0 ;
3760 void *argp1 = 0 ;
3761 int res1 = 0 ;
3762 int val2 ;
3763 int ecode2 = 0 ;
3764 wxPoint temp3 ;
3765 wxSize temp4 ;
3766 long val5 ;
3767 int ecode5 = 0 ;
3768 bool temp6 = false ;
3769 PyObject * obj0 = 0 ;
3770 PyObject * obj1 = 0 ;
3771 PyObject * obj2 = 0 ;
3772 PyObject * obj3 = 0 ;
3773 PyObject * obj4 = 0 ;
3774 PyObject * obj5 = 0 ;
3775 char * kwnames[] = {
3776 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3777 };
3778
3779 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
3780 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3781 if (!SWIG_IsOK(res1)) {
3782 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3783 }
3784 arg1 = reinterpret_cast< wxWindow * >(argp1);
3785 if (obj1) {
3786 ecode2 = SWIG_AsVal_int(obj1, &val2);
3787 if (!SWIG_IsOK(ecode2)) {
3788 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3789 }
3790 arg2 = static_cast< int >(val2);
3791 }
3792 if (obj2) {
3793 {
3794 arg3 = &temp3;
3795 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3796 }
3797 }
3798 if (obj3) {
3799 {
3800 arg4 = &temp4;
3801 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3802 }
3803 }
3804 if (obj4) {
3805 ecode5 = SWIG_AsVal_long(obj4, &val5);
3806 if (!SWIG_IsOK(ecode5)) {
3807 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3808 }
3809 arg5 = static_cast< long >(val5);
3810 }
3811 if (obj5) {
3812 {
3813 arg6 = wxString_in_helper(obj5);
3814 if (arg6 == NULL) SWIG_fail;
3815 temp6 = true;
3816 }
3817 }
3818 {
3819 if (!wxPyCheckForApp()) SWIG_fail;
3820 PyThreadState* __tstate = wxPyBeginAllowThreads();
3821 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3822 wxPyEndAllowThreads(__tstate);
3823 if (PyErr_Occurred()) SWIG_fail;
3824 }
3825 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_NEW | 0 );
3826 {
3827 if (temp6)
3828 delete arg6;
3829 }
3830 return resultobj;
3831 fail:
3832 {
3833 if (temp6)
3834 delete arg6;
3835 }
3836 return NULL;
3837 }
3838
3839
3840 SWIGINTERN PyObject *_wrap_new_PrePanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3841 PyObject *resultobj = 0;
3842 wxPanel *result = 0 ;
3843
3844 if (!SWIG_Python_UnpackTuple(args,"new_PrePanel",0,0,0)) SWIG_fail;
3845 {
3846 if (!wxPyCheckForApp()) SWIG_fail;
3847 PyThreadState* __tstate = wxPyBeginAllowThreads();
3848 result = (wxPanel *)new wxPanel();
3849 wxPyEndAllowThreads(__tstate);
3850 if (PyErr_Occurred()) SWIG_fail;
3851 }
3852 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_OWN | 0 );
3853 return resultobj;
3854 fail:
3855 return NULL;
3856 }
3857
3858
3859 SWIGINTERN PyObject *_wrap_Panel_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3860 PyObject *resultobj = 0;
3861 wxPanel *arg1 = (wxPanel *) 0 ;
3862 wxWindow *arg2 = (wxWindow *) 0 ;
3863 int arg3 = (int) (int)-1 ;
3864 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3865 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3866 wxSize const &arg5_defvalue = wxDefaultSize ;
3867 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3868 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3869 wxString const &arg7_defvalue = wxPyPanelNameStr ;
3870 wxString *arg7 = (wxString *) &arg7_defvalue ;
3871 bool result;
3872 void *argp1 = 0 ;
3873 int res1 = 0 ;
3874 void *argp2 = 0 ;
3875 int res2 = 0 ;
3876 int val3 ;
3877 int ecode3 = 0 ;
3878 wxPoint temp4 ;
3879 wxSize temp5 ;
3880 long val6 ;
3881 int ecode6 = 0 ;
3882 bool temp7 = false ;
3883 PyObject * obj0 = 0 ;
3884 PyObject * obj1 = 0 ;
3885 PyObject * obj2 = 0 ;
3886 PyObject * obj3 = 0 ;
3887 PyObject * obj4 = 0 ;
3888 PyObject * obj5 = 0 ;
3889 PyObject * obj6 = 0 ;
3890 char * kwnames[] = {
3891 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3892 };
3893
3894 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3895 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3896 if (!SWIG_IsOK(res1)) {
3897 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3898 }
3899 arg1 = reinterpret_cast< wxPanel * >(argp1);
3900 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3901 if (!SWIG_IsOK(res2)) {
3902 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3903 }
3904 arg2 = reinterpret_cast< wxWindow * >(argp2);
3905 if (obj2) {
3906 ecode3 = SWIG_AsVal_int(obj2, &val3);
3907 if (!SWIG_IsOK(ecode3)) {
3908 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3909 }
3910 arg3 = static_cast< int >(val3);
3911 }
3912 if (obj3) {
3913 {
3914 arg4 = &temp4;
3915 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3916 }
3917 }
3918 if (obj4) {
3919 {
3920 arg5 = &temp5;
3921 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3922 }
3923 }
3924 if (obj5) {
3925 ecode6 = SWIG_AsVal_long(obj5, &val6);
3926 if (!SWIG_IsOK(ecode6)) {
3927 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3928 }
3929 arg6 = static_cast< long >(val6);
3930 }
3931 if (obj6) {
3932 {
3933 arg7 = wxString_in_helper(obj6);
3934 if (arg7 == NULL) SWIG_fail;
3935 temp7 = true;
3936 }
3937 }
3938 {
3939 PyThreadState* __tstate = wxPyBeginAllowThreads();
3940 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3941 wxPyEndAllowThreads(__tstate);
3942 if (PyErr_Occurred()) SWIG_fail;
3943 }
3944 {
3945 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3946 }
3947 {
3948 if (temp7)
3949 delete arg7;
3950 }
3951 return resultobj;
3952 fail:
3953 {
3954 if (temp7)
3955 delete arg7;
3956 }
3957 return NULL;
3958 }
3959
3960
3961 SWIGINTERN PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3962 PyObject *resultobj = 0;
3963 wxPanel *arg1 = (wxPanel *) 0 ;
3964 void *argp1 = 0 ;
3965 int res1 = 0 ;
3966 PyObject *swig_obj[1] ;
3967
3968 if (!args) SWIG_fail;
3969 swig_obj[0] = args;
3970 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3971 if (!SWIG_IsOK(res1)) {
3972 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3973 }
3974 arg1 = reinterpret_cast< wxPanel * >(argp1);
3975 {
3976 PyThreadState* __tstate = wxPyBeginAllowThreads();
3977 (arg1)->SetFocusIgnoringChildren();
3978 wxPyEndAllowThreads(__tstate);
3979 if (PyErr_Occurred()) SWIG_fail;
3980 }
3981 resultobj = SWIG_Py_Void();
3982 return resultobj;
3983 fail:
3984 return NULL;
3985 }
3986
3987
3988 SWIGINTERN PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3989 PyObject *resultobj = 0;
3990 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
3991 SwigValueWrapper<wxVisualAttributes > result;
3992 int val1 ;
3993 int ecode1 = 0 ;
3994 PyObject * obj0 = 0 ;
3995 char * kwnames[] = {
3996 (char *) "variant", NULL
3997 };
3998
3999 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
4000 if (obj0) {
4001 ecode1 = SWIG_AsVal_int(obj0, &val1);
4002 if (!SWIG_IsOK(ecode1)) {
4003 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4004 }
4005 arg1 = static_cast< wxWindowVariant >(val1);
4006 }
4007 {
4008 if (!wxPyCheckForApp()) SWIG_fail;
4009 PyThreadState* __tstate = wxPyBeginAllowThreads();
4010 result = wxPanel::GetClassDefaultAttributes(arg1);
4011 wxPyEndAllowThreads(__tstate);
4012 if (PyErr_Occurred()) SWIG_fail;
4013 }
4014 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
4015 return resultobj;
4016 fail:
4017 return NULL;
4018 }
4019
4020
4021 SWIGINTERN PyObject *Panel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4022 PyObject *obj;
4023 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4024 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel, SWIG_NewClientData(obj));
4025 return SWIG_Py_Void();
4026 }
4027
4028 SWIGINTERN PyObject *Panel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4029 return SWIG_Python_InitShadowInstance(args);
4030 }
4031
4032 SWIGINTERN PyObject *_wrap_new_ScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4033 PyObject *resultobj = 0;
4034 wxWindow *arg1 = (wxWindow *) 0 ;
4035 int arg2 = (int) (int)-1 ;
4036 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4037 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4038 wxSize const &arg4_defvalue = wxDefaultSize ;
4039 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4040 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
4041 wxString const &arg6_defvalue = wxPyPanelNameStr ;
4042 wxString *arg6 = (wxString *) &arg6_defvalue ;
4043 wxScrolledWindow *result = 0 ;
4044 void *argp1 = 0 ;
4045 int res1 = 0 ;
4046 int val2 ;
4047 int ecode2 = 0 ;
4048 wxPoint temp3 ;
4049 wxSize temp4 ;
4050 long val5 ;
4051 int ecode5 = 0 ;
4052 bool temp6 = false ;
4053 PyObject * obj0 = 0 ;
4054 PyObject * obj1 = 0 ;
4055 PyObject * obj2 = 0 ;
4056 PyObject * obj3 = 0 ;
4057 PyObject * obj4 = 0 ;
4058 PyObject * obj5 = 0 ;
4059 char * kwnames[] = {
4060 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4061 };
4062
4063 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
4064 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4065 if (!SWIG_IsOK(res1)) {
4066 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4067 }
4068 arg1 = reinterpret_cast< wxWindow * >(argp1);
4069 if (obj1) {
4070 ecode2 = SWIG_AsVal_int(obj1, &val2);
4071 if (!SWIG_IsOK(ecode2)) {
4072 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4073 }
4074 arg2 = static_cast< int >(val2);
4075 }
4076 if (obj2) {
4077 {
4078 arg3 = &temp3;
4079 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4080 }
4081 }
4082 if (obj3) {
4083 {
4084 arg4 = &temp4;
4085 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4086 }
4087 }
4088 if (obj4) {
4089 ecode5 = SWIG_AsVal_long(obj4, &val5);
4090 if (!SWIG_IsOK(ecode5)) {
4091 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4092 }
4093 arg5 = static_cast< long >(val5);
4094 }
4095 if (obj5) {
4096 {
4097 arg6 = wxString_in_helper(obj5);
4098 if (arg6 == NULL) SWIG_fail;
4099 temp6 = true;
4100 }
4101 }
4102 {
4103 if (!wxPyCheckForApp()) SWIG_fail;
4104 PyThreadState* __tstate = wxPyBeginAllowThreads();
4105 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4106 wxPyEndAllowThreads(__tstate);
4107 if (PyErr_Occurred()) SWIG_fail;
4108 }
4109 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_NEW | 0 );
4110 {
4111 if (temp6)
4112 delete arg6;
4113 }
4114 return resultobj;
4115 fail:
4116 {
4117 if (temp6)
4118 delete arg6;
4119 }
4120 return NULL;
4121 }
4122
4123
4124 SWIGINTERN PyObject *_wrap_new_PreScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4125 PyObject *resultobj = 0;
4126 wxScrolledWindow *result = 0 ;
4127
4128 if (!SWIG_Python_UnpackTuple(args,"new_PreScrolledWindow",0,0,0)) SWIG_fail;
4129 {
4130 if (!wxPyCheckForApp()) SWIG_fail;
4131 PyThreadState* __tstate = wxPyBeginAllowThreads();
4132 result = (wxScrolledWindow *)new wxScrolledWindow();
4133 wxPyEndAllowThreads(__tstate);
4134 if (PyErr_Occurred()) SWIG_fail;
4135 }
4136 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_OWN | 0 );
4137 return resultobj;
4138 fail:
4139 return NULL;
4140 }
4141
4142
4143 SWIGINTERN PyObject *_wrap_ScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4144 PyObject *resultobj = 0;
4145 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4146 wxWindow *arg2 = (wxWindow *) 0 ;
4147 int arg3 = (int) (int)-1 ;
4148 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4149 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4150 wxSize const &arg5_defvalue = wxDefaultSize ;
4151 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4152 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
4153 wxString const &arg7_defvalue = wxPyPanelNameStr ;
4154 wxString *arg7 = (wxString *) &arg7_defvalue ;
4155 bool result;
4156 void *argp1 = 0 ;
4157 int res1 = 0 ;
4158 void *argp2 = 0 ;
4159 int res2 = 0 ;
4160 int val3 ;
4161 int ecode3 = 0 ;
4162 wxPoint temp4 ;
4163 wxSize temp5 ;
4164 long val6 ;
4165 int ecode6 = 0 ;
4166 bool temp7 = false ;
4167 PyObject * obj0 = 0 ;
4168 PyObject * obj1 = 0 ;
4169 PyObject * obj2 = 0 ;
4170 PyObject * obj3 = 0 ;
4171 PyObject * obj4 = 0 ;
4172 PyObject * obj5 = 0 ;
4173 PyObject * obj6 = 0 ;
4174 char * kwnames[] = {
4175 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4176 };
4177
4178 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
4179 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4180 if (!SWIG_IsOK(res1)) {
4181 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4182 }
4183 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4184 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4185 if (!SWIG_IsOK(res2)) {
4186 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4187 }
4188 arg2 = reinterpret_cast< wxWindow * >(argp2);
4189 if (obj2) {
4190 ecode3 = SWIG_AsVal_int(obj2, &val3);
4191 if (!SWIG_IsOK(ecode3)) {
4192 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4193 }
4194 arg3 = static_cast< int >(val3);
4195 }
4196 if (obj3) {
4197 {
4198 arg4 = &temp4;
4199 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4200 }
4201 }
4202 if (obj4) {
4203 {
4204 arg5 = &temp5;
4205 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4206 }
4207 }
4208 if (obj5) {
4209 ecode6 = SWIG_AsVal_long(obj5, &val6);
4210 if (!SWIG_IsOK(ecode6)) {
4211 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4212 }
4213 arg6 = static_cast< long >(val6);
4214 }
4215 if (obj6) {
4216 {
4217 arg7 = wxString_in_helper(obj6);
4218 if (arg7 == NULL) SWIG_fail;
4219 temp7 = true;
4220 }
4221 }
4222 {
4223 PyThreadState* __tstate = wxPyBeginAllowThreads();
4224 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4225 wxPyEndAllowThreads(__tstate);
4226 if (PyErr_Occurred()) SWIG_fail;
4227 }
4228 {
4229 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4230 }
4231 {
4232 if (temp7)
4233 delete arg7;
4234 }
4235 return resultobj;
4236 fail:
4237 {
4238 if (temp7)
4239 delete arg7;
4240 }
4241 return NULL;
4242 }
4243
4244
4245 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4246 PyObject *resultobj = 0;
4247 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4248 int arg2 ;
4249 int arg3 ;
4250 int arg4 ;
4251 int arg5 ;
4252 int arg6 = (int) 0 ;
4253 int arg7 = (int) 0 ;
4254 bool arg8 = (bool) false ;
4255 void *argp1 = 0 ;
4256 int res1 = 0 ;
4257 int val2 ;
4258 int ecode2 = 0 ;
4259 int val3 ;
4260 int ecode3 = 0 ;
4261 int val4 ;
4262 int ecode4 = 0 ;
4263 int val5 ;
4264 int ecode5 = 0 ;
4265 int val6 ;
4266 int ecode6 = 0 ;
4267 int val7 ;
4268 int ecode7 = 0 ;
4269 bool val8 ;
4270 int ecode8 = 0 ;
4271 PyObject * obj0 = 0 ;
4272 PyObject * obj1 = 0 ;
4273 PyObject * obj2 = 0 ;
4274 PyObject * obj3 = 0 ;
4275 PyObject * obj4 = 0 ;
4276 PyObject * obj5 = 0 ;
4277 PyObject * obj6 = 0 ;
4278 PyObject * obj7 = 0 ;
4279 char * kwnames[] = {
4280 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4281 };
4282
4283 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
4284 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4285 if (!SWIG_IsOK(res1)) {
4286 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4287 }
4288 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4289 ecode2 = SWIG_AsVal_int(obj1, &val2);
4290 if (!SWIG_IsOK(ecode2)) {
4291 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4292 }
4293 arg2 = static_cast< int >(val2);
4294 ecode3 = SWIG_AsVal_int(obj2, &val3);
4295 if (!SWIG_IsOK(ecode3)) {
4296 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4297 }
4298 arg3 = static_cast< int >(val3);
4299 ecode4 = SWIG_AsVal_int(obj3, &val4);
4300 if (!SWIG_IsOK(ecode4)) {
4301 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4302 }
4303 arg4 = static_cast< int >(val4);
4304 ecode5 = SWIG_AsVal_int(obj4, &val5);
4305 if (!SWIG_IsOK(ecode5)) {
4306 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4307 }
4308 arg5 = static_cast< int >(val5);
4309 if (obj5) {
4310 ecode6 = SWIG_AsVal_int(obj5, &val6);
4311 if (!SWIG_IsOK(ecode6)) {
4312 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4313 }
4314 arg6 = static_cast< int >(val6);
4315 }
4316 if (obj6) {
4317 ecode7 = SWIG_AsVal_int(obj6, &val7);
4318 if (!SWIG_IsOK(ecode7)) {
4319 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4320 }
4321 arg7 = static_cast< int >(val7);
4322 }
4323 if (obj7) {
4324 ecode8 = SWIG_AsVal_bool(obj7, &val8);
4325 if (!SWIG_IsOK(ecode8)) {
4326 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4327 }
4328 arg8 = static_cast< bool >(val8);
4329 }
4330 {
4331 PyThreadState* __tstate = wxPyBeginAllowThreads();
4332 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
4333 wxPyEndAllowThreads(__tstate);
4334 if (PyErr_Occurred()) SWIG_fail;
4335 }
4336 resultobj = SWIG_Py_Void();
4337 return resultobj;
4338 fail:
4339 return NULL;
4340 }
4341
4342
4343 SWIGINTERN PyObject *_wrap_ScrolledWindow_Scroll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4344 PyObject *resultobj = 0;
4345 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4346 int arg2 ;
4347 int arg3 ;
4348 void *argp1 = 0 ;
4349 int res1 = 0 ;
4350 int val2 ;
4351 int ecode2 = 0 ;
4352 int val3 ;
4353 int ecode3 = 0 ;
4354 PyObject * obj0 = 0 ;
4355 PyObject * obj1 = 0 ;
4356 PyObject * obj2 = 0 ;
4357 char * kwnames[] = {
4358 (char *) "self",(char *) "x",(char *) "y", NULL
4359 };
4360
4361 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4362 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4363 if (!SWIG_IsOK(res1)) {
4364 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4365 }
4366 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4367 ecode2 = SWIG_AsVal_int(obj1, &val2);
4368 if (!SWIG_IsOK(ecode2)) {
4369 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4370 }
4371 arg2 = static_cast< int >(val2);
4372 ecode3 = SWIG_AsVal_int(obj2, &val3);
4373 if (!SWIG_IsOK(ecode3)) {
4374 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4375 }
4376 arg3 = static_cast< int >(val3);
4377 {
4378 PyThreadState* __tstate = wxPyBeginAllowThreads();
4379 (arg1)->Scroll(arg2,arg3);
4380 wxPyEndAllowThreads(__tstate);
4381 if (PyErr_Occurred()) SWIG_fail;
4382 }
4383 resultobj = SWIG_Py_Void();
4384 return resultobj;
4385 fail:
4386 return NULL;
4387 }
4388
4389
4390 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4391 PyObject *resultobj = 0;
4392 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4393 int arg2 ;
4394 int result;
4395 void *argp1 = 0 ;
4396 int res1 = 0 ;
4397 int val2 ;
4398 int ecode2 = 0 ;
4399 PyObject * obj0 = 0 ;
4400 PyObject * obj1 = 0 ;
4401 char * kwnames[] = {
4402 (char *) "self",(char *) "orient", NULL
4403 };
4404
4405 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
4406 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4407 if (!SWIG_IsOK(res1)) {
4408 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4409 }
4410 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4411 ecode2 = SWIG_AsVal_int(obj1, &val2);
4412 if (!SWIG_IsOK(ecode2)) {
4413 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4414 }
4415 arg2 = static_cast< int >(val2);
4416 {
4417 PyThreadState* __tstate = wxPyBeginAllowThreads();
4418 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
4419 wxPyEndAllowThreads(__tstate);
4420 if (PyErr_Occurred()) SWIG_fail;
4421 }
4422 resultobj = SWIG_From_int(static_cast< int >(result));
4423 return resultobj;
4424 fail:
4425 return NULL;
4426 }
4427
4428
4429 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4430 PyObject *resultobj = 0;
4431 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4432 int arg2 ;
4433 int arg3 ;
4434 void *argp1 = 0 ;
4435 int res1 = 0 ;
4436 int val2 ;
4437 int ecode2 = 0 ;
4438 int val3 ;
4439 int ecode3 = 0 ;
4440 PyObject * obj0 = 0 ;
4441 PyObject * obj1 = 0 ;
4442 PyObject * obj2 = 0 ;
4443 char * kwnames[] = {
4444 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4445 };
4446
4447 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4448 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4449 if (!SWIG_IsOK(res1)) {
4450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4451 }
4452 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4453 ecode2 = SWIG_AsVal_int(obj1, &val2);
4454 if (!SWIG_IsOK(ecode2)) {
4455 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4456 }
4457 arg2 = static_cast< int >(val2);
4458 ecode3 = SWIG_AsVal_int(obj2, &val3);
4459 if (!SWIG_IsOK(ecode3)) {
4460 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4461 }
4462 arg3 = static_cast< int >(val3);
4463 {
4464 PyThreadState* __tstate = wxPyBeginAllowThreads();
4465 (arg1)->SetScrollPageSize(arg2,arg3);
4466 wxPyEndAllowThreads(__tstate);
4467 if (PyErr_Occurred()) SWIG_fail;
4468 }
4469 resultobj = SWIG_Py_Void();
4470 return resultobj;
4471 fail:
4472 return NULL;
4473 }
4474
4475
4476 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4477 PyObject *resultobj = 0;
4478 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4479 int arg2 ;
4480 int arg3 ;
4481 void *argp1 = 0 ;
4482 int res1 = 0 ;
4483 int val2 ;
4484 int ecode2 = 0 ;
4485 int val3 ;
4486 int ecode3 = 0 ;
4487 PyObject * obj0 = 0 ;
4488 PyObject * obj1 = 0 ;
4489 PyObject * obj2 = 0 ;
4490 char * kwnames[] = {
4491 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4492 };
4493
4494 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4495 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4496 if (!SWIG_IsOK(res1)) {
4497 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4498 }
4499 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4500 ecode2 = SWIG_AsVal_int(obj1, &val2);
4501 if (!SWIG_IsOK(ecode2)) {
4502 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4503 }
4504 arg2 = static_cast< int >(val2);
4505 ecode3 = SWIG_AsVal_int(obj2, &val3);
4506 if (!SWIG_IsOK(ecode3)) {
4507 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4508 }
4509 arg3 = static_cast< int >(val3);
4510 {
4511 PyThreadState* __tstate = wxPyBeginAllowThreads();
4512 (arg1)->SetScrollRate(arg2,arg3);
4513 wxPyEndAllowThreads(__tstate);
4514 if (PyErr_Occurred()) SWIG_fail;
4515 }
4516 resultobj = SWIG_Py_Void();
4517 return resultobj;
4518 fail:
4519 return NULL;
4520 }
4521
4522
4523 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4524 PyObject *resultobj = 0;
4525 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4526 int *arg2 = (int *) 0 ;
4527 int *arg3 = (int *) 0 ;
4528 void *argp1 = 0 ;
4529 int res1 = 0 ;
4530 int temp2 ;
4531 int res2 = SWIG_TMPOBJ ;
4532 int temp3 ;
4533 int res3 = SWIG_TMPOBJ ;
4534 PyObject *swig_obj[1] ;
4535
4536 arg2 = &temp2;
4537 arg3 = &temp3;
4538 if (!args) SWIG_fail;
4539 swig_obj[0] = args;
4540 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4541 if (!SWIG_IsOK(res1)) {
4542 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4543 }
4544 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4545 {
4546 PyThreadState* __tstate = wxPyBeginAllowThreads();
4547 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
4548 wxPyEndAllowThreads(__tstate);
4549 if (PyErr_Occurred()) SWIG_fail;
4550 }
4551 resultobj = SWIG_Py_Void();
4552 if (SWIG_IsTmpObj(res2)) {
4553 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4554 } else {
4555 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4556 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4557 }
4558 if (SWIG_IsTmpObj(res3)) {
4559 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4560 } else {
4561 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4562 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4563 }
4564 return resultobj;
4565 fail:
4566 return NULL;
4567 }
4568
4569
4570 SWIGINTERN PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4571 PyObject *resultobj = 0;
4572 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4573 bool arg2 ;
4574 bool arg3 ;
4575 void *argp1 = 0 ;
4576 int res1 = 0 ;
4577 bool val2 ;
4578 int ecode2 = 0 ;
4579 bool val3 ;
4580 int ecode3 = 0 ;
4581 PyObject * obj0 = 0 ;
4582 PyObject * obj1 = 0 ;
4583 PyObject * obj2 = 0 ;
4584 char * kwnames[] = {
4585 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4586 };
4587
4588 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4589 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4590 if (!SWIG_IsOK(res1)) {
4591 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4592 }
4593 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4594 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4595 if (!SWIG_IsOK(ecode2)) {
4596 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4597 }
4598 arg2 = static_cast< bool >(val2);
4599 ecode3 = SWIG_AsVal_bool(obj2, &val3);
4600 if (!SWIG_IsOK(ecode3)) {
4601 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4602 }
4603 arg3 = static_cast< bool >(val3);
4604 {
4605 PyThreadState* __tstate = wxPyBeginAllowThreads();
4606 (arg1)->EnableScrolling(arg2,arg3);
4607 wxPyEndAllowThreads(__tstate);
4608 if (PyErr_Occurred()) SWIG_fail;
4609 }
4610 resultobj = SWIG_Py_Void();
4611 return resultobj;
4612 fail:
4613 return NULL;
4614 }
4615
4616
4617 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4618 PyObject *resultobj = 0;
4619 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4620 int *arg2 = (int *) 0 ;
4621 int *arg3 = (int *) 0 ;
4622 void *argp1 = 0 ;
4623 int res1 = 0 ;
4624 int temp2 ;
4625 int res2 = SWIG_TMPOBJ ;
4626 int temp3 ;
4627 int res3 = SWIG_TMPOBJ ;
4628 PyObject *swig_obj[1] ;
4629
4630 arg2 = &temp2;
4631 arg3 = &temp3;
4632 if (!args) SWIG_fail;
4633 swig_obj[0] = args;
4634 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4635 if (!SWIG_IsOK(res1)) {
4636 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4637 }
4638 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4639 {
4640 PyThreadState* __tstate = wxPyBeginAllowThreads();
4641 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
4642 wxPyEndAllowThreads(__tstate);
4643 if (PyErr_Occurred()) SWIG_fail;
4644 }
4645 resultobj = SWIG_Py_Void();
4646 if (SWIG_IsTmpObj(res2)) {
4647 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4648 } else {
4649 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4650 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4651 }
4652 if (SWIG_IsTmpObj(res3)) {
4653 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4654 } else {
4655 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4656 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4657 }
4658 return resultobj;
4659 fail:
4660 return NULL;
4661 }
4662
4663
4664 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4665 PyObject *resultobj = 0;
4666 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4667 double arg2 ;
4668 double arg3 ;
4669 void *argp1 = 0 ;
4670 int res1 = 0 ;
4671 double val2 ;
4672 int ecode2 = 0 ;
4673 double val3 ;
4674 int ecode3 = 0 ;
4675 PyObject * obj0 = 0 ;
4676 PyObject * obj1 = 0 ;
4677 PyObject * obj2 = 0 ;
4678 char * kwnames[] = {
4679 (char *) "self",(char *) "xs",(char *) "ys", NULL
4680 };
4681
4682 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4683 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4684 if (!SWIG_IsOK(res1)) {
4685 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4686 }
4687 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4688 ecode2 = SWIG_AsVal_double(obj1, &val2);
4689 if (!SWIG_IsOK(ecode2)) {
4690 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4691 }
4692 arg2 = static_cast< double >(val2);
4693 ecode3 = SWIG_AsVal_double(obj2, &val3);
4694 if (!SWIG_IsOK(ecode3)) {
4695 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4696 }
4697 arg3 = static_cast< double >(val3);
4698 {
4699 PyThreadState* __tstate = wxPyBeginAllowThreads();
4700 (arg1)->SetScale(arg2,arg3);
4701 wxPyEndAllowThreads(__tstate);
4702 if (PyErr_Occurred()) SWIG_fail;
4703 }
4704 resultobj = SWIG_Py_Void();
4705 return resultobj;
4706 fail:
4707 return NULL;
4708 }
4709
4710
4711 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4712 PyObject *resultobj = 0;
4713 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4714 double result;
4715 void *argp1 = 0 ;
4716 int res1 = 0 ;
4717 PyObject *swig_obj[1] ;
4718
4719 if (!args) SWIG_fail;
4720 swig_obj[0] = args;
4721 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4722 if (!SWIG_IsOK(res1)) {
4723 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4724 }
4725 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4726 {
4727 PyThreadState* __tstate = wxPyBeginAllowThreads();
4728 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
4729 wxPyEndAllowThreads(__tstate);
4730 if (PyErr_Occurred()) SWIG_fail;
4731 }
4732 resultobj = SWIG_From_double(static_cast< double >(result));
4733 return resultobj;
4734 fail:
4735 return NULL;
4736 }
4737
4738
4739 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4740 PyObject *resultobj = 0;
4741 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4742 double result;
4743 void *argp1 = 0 ;
4744 int res1 = 0 ;
4745 PyObject *swig_obj[1] ;
4746
4747 if (!args) SWIG_fail;
4748 swig_obj[0] = args;
4749 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4750 if (!SWIG_IsOK(res1)) {
4751 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4752 }
4753 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4754 {
4755 PyThreadState* __tstate = wxPyBeginAllowThreads();
4756 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
4757 wxPyEndAllowThreads(__tstate);
4758 if (PyErr_Occurred()) SWIG_fail;
4759 }
4760 resultobj = SWIG_From_double(static_cast< double >(result));
4761 return resultobj;
4762 fail:
4763 return NULL;
4764 }
4765
4766
4767 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4768 PyObject *resultobj = 0;
4769 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4770 wxPoint *arg2 = 0 ;
4771 wxPoint result;
4772 void *argp1 = 0 ;
4773 int res1 = 0 ;
4774 wxPoint temp2 ;
4775
4776 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4777 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4778 if (!SWIG_IsOK(res1)) {
4779 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4780 }
4781 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4782 {
4783 arg2 = &temp2;
4784 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4785 }
4786 {
4787 PyThreadState* __tstate = wxPyBeginAllowThreads();
4788 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
4789 wxPyEndAllowThreads(__tstate);
4790 if (PyErr_Occurred()) SWIG_fail;
4791 }
4792 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4793 return resultobj;
4794 fail:
4795 return NULL;
4796 }
4797
4798
4799 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4800 PyObject *resultobj = 0;
4801 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4802 int arg2 ;
4803 int arg3 ;
4804 int *arg4 = (int *) 0 ;
4805 int *arg5 = (int *) 0 ;
4806 void *argp1 = 0 ;
4807 int res1 = 0 ;
4808 int val2 ;
4809 int ecode2 = 0 ;
4810 int val3 ;
4811 int ecode3 = 0 ;
4812 int temp4 ;
4813 int res4 = SWIG_TMPOBJ ;
4814 int temp5 ;
4815 int res5 = SWIG_TMPOBJ ;
4816
4817 arg4 = &temp4;
4818 arg5 = &temp5;
4819 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4820 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4821 if (!SWIG_IsOK(res1)) {
4822 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4823 }
4824 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4825 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4826 if (!SWIG_IsOK(ecode2)) {
4827 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4828 }
4829 arg2 = static_cast< int >(val2);
4830 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4831 if (!SWIG_IsOK(ecode3)) {
4832 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4833 }
4834 arg3 = static_cast< int >(val3);
4835 {
4836 PyThreadState* __tstate = wxPyBeginAllowThreads();
4837 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
4838 wxPyEndAllowThreads(__tstate);
4839 if (PyErr_Occurred()) SWIG_fail;
4840 }
4841 resultobj = SWIG_Py_Void();
4842 if (SWIG_IsTmpObj(res4)) {
4843 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4844 } else {
4845 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4846 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4847 }
4848 if (SWIG_IsTmpObj(res5)) {
4849 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4850 } else {
4851 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4852 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4853 }
4854 return resultobj;
4855 fail:
4856 return NULL;
4857 }
4858
4859
4860 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
4861 int argc;
4862 PyObject *argv[4];
4863
4864 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcScrolledPosition",0,3,argv))) SWIG_fail;
4865 --argc;
4866 if (argc == 2) {
4867 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self, argc, argv);
4868 }
4869 if (argc == 3) {
4870 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self, argc, argv);
4871 }
4872
4873 fail:
4874 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4875 return NULL;
4876 }
4877
4878
4879 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4880 PyObject *resultobj = 0;
4881 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4882 wxPoint *arg2 = 0 ;
4883 wxPoint result;
4884 void *argp1 = 0 ;
4885 int res1 = 0 ;
4886 wxPoint temp2 ;
4887
4888 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4889 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4890 if (!SWIG_IsOK(res1)) {
4891 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4892 }
4893 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4894 {
4895 arg2 = &temp2;
4896 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4897 }
4898 {
4899 PyThreadState* __tstate = wxPyBeginAllowThreads();
4900 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
4901 wxPyEndAllowThreads(__tstate);
4902 if (PyErr_Occurred()) SWIG_fail;
4903 }
4904 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4905 return resultobj;
4906 fail:
4907 return NULL;
4908 }
4909
4910
4911 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4912 PyObject *resultobj = 0;
4913 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4914 int arg2 ;
4915 int arg3 ;
4916 int *arg4 = (int *) 0 ;
4917 int *arg5 = (int *) 0 ;
4918 void *argp1 = 0 ;
4919 int res1 = 0 ;
4920 int val2 ;
4921 int ecode2 = 0 ;
4922 int val3 ;
4923 int ecode3 = 0 ;
4924 int temp4 ;
4925 int res4 = SWIG_TMPOBJ ;
4926 int temp5 ;
4927 int res5 = SWIG_TMPOBJ ;
4928
4929 arg4 = &temp4;
4930 arg5 = &temp5;
4931 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4932 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4933 if (!SWIG_IsOK(res1)) {
4934 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4935 }
4936 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4937 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4938 if (!SWIG_IsOK(ecode2)) {
4939 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4940 }
4941 arg2 = static_cast< int >(val2);
4942 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4943 if (!SWIG_IsOK(ecode3)) {
4944 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4945 }
4946 arg3 = static_cast< int >(val3);
4947 {
4948 PyThreadState* __tstate = wxPyBeginAllowThreads();
4949 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
4950 wxPyEndAllowThreads(__tstate);
4951 if (PyErr_Occurred()) SWIG_fail;
4952 }
4953 resultobj = SWIG_Py_Void();
4954 if (SWIG_IsTmpObj(res4)) {
4955 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4956 } else {
4957 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4958 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4959 }
4960 if (SWIG_IsTmpObj(res5)) {
4961 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4962 } else {
4963 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4964 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4965 }
4966 return resultobj;
4967 fail:
4968 return NULL;
4969 }
4970
4971
4972 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
4973 int argc;
4974 PyObject *argv[4];
4975
4976 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv))) SWIG_fail;
4977 --argc;
4978 if (argc == 2) {
4979 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self, argc, argv);
4980 }
4981 if (argc == 3) {
4982 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self, argc, argv);
4983 }
4984
4985 fail:
4986 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4987 return NULL;
4988 }
4989
4990
4991 SWIGINTERN PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4992 PyObject *resultobj = 0;
4993 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4994 void *argp1 = 0 ;
4995 int res1 = 0 ;
4996 PyObject *swig_obj[1] ;
4997
4998 if (!args) SWIG_fail;
4999 swig_obj[0] = args;
5000 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5001 if (!SWIG_IsOK(res1)) {
5002 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5003 }
5004 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5005 {
5006 PyThreadState* __tstate = wxPyBeginAllowThreads();
5007 (arg1)->AdjustScrollbars();
5008 wxPyEndAllowThreads(__tstate);
5009 if (PyErr_Occurred()) SWIG_fail;
5010 }
5011 resultobj = SWIG_Py_Void();
5012 return resultobj;
5013 fail:
5014 return NULL;
5015 }
5016
5017
5018 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5019 PyObject *resultobj = 0;
5020 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5021 wxScrollWinEvent *arg2 = 0 ;
5022 int result;
5023 void *argp1 = 0 ;
5024 int res1 = 0 ;
5025 void *argp2 = 0 ;
5026 int res2 = 0 ;
5027 PyObject * obj0 = 0 ;
5028 PyObject * obj1 = 0 ;
5029 char * kwnames[] = {
5030 (char *) "self",(char *) "event", NULL
5031 };
5032
5033 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) SWIG_fail;
5034 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5035 if (!SWIG_IsOK(res1)) {
5036 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5037 }
5038 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5039 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxScrollWinEvent, 0 );
5040 if (!SWIG_IsOK(res2)) {
5041 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5042 }
5043 if (!argp2) {
5044 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5045 }
5046 arg2 = reinterpret_cast< wxScrollWinEvent * >(argp2);
5047 {
5048 PyThreadState* __tstate = wxPyBeginAllowThreads();
5049 result = (int)(arg1)->CalcScrollInc(*arg2);
5050 wxPyEndAllowThreads(__tstate);
5051 if (PyErr_Occurred()) SWIG_fail;
5052 }
5053 resultobj = SWIG_From_int(static_cast< int >(result));
5054 return resultobj;
5055 fail:
5056 return NULL;
5057 }
5058
5059
5060 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5061 PyObject *resultobj = 0;
5062 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5063 wxWindow *arg2 = (wxWindow *) 0 ;
5064 void *argp1 = 0 ;
5065 int res1 = 0 ;
5066 void *argp2 = 0 ;
5067 int res2 = 0 ;
5068 PyObject * obj0 = 0 ;
5069 PyObject * obj1 = 0 ;
5070 char * kwnames[] = {
5071 (char *) "self",(char *) "target", NULL
5072 };
5073
5074 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) SWIG_fail;
5075 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5076 if (!SWIG_IsOK(res1)) {
5077 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5078 }
5079 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5080 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5081 if (!SWIG_IsOK(res2)) {
5082 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5083 }
5084 arg2 = reinterpret_cast< wxWindow * >(argp2);
5085 {
5086 PyThreadState* __tstate = wxPyBeginAllowThreads();
5087 (arg1)->SetTargetWindow(arg2);
5088 wxPyEndAllowThreads(__tstate);
5089 if (PyErr_Occurred()) SWIG_fail;
5090 }
5091 resultobj = SWIG_Py_Void();
5092 return resultobj;
5093 fail:
5094 return NULL;
5095 }
5096
5097
5098 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5099 PyObject *resultobj = 0;
5100 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5101 wxWindow *result = 0 ;
5102 void *argp1 = 0 ;
5103 int res1 = 0 ;
5104 PyObject *swig_obj[1] ;
5105
5106 if (!args) SWIG_fail;
5107 swig_obj[0] = args;
5108 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5109 if (!SWIG_IsOK(res1)) {
5110 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5111 }
5112 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5113 {
5114 PyThreadState* __tstate = wxPyBeginAllowThreads();
5115 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
5116 wxPyEndAllowThreads(__tstate);
5117 if (PyErr_Occurred()) SWIG_fail;
5118 }
5119 {
5120 resultobj = wxPyMake_wxObject(result, 0);
5121 }
5122 return resultobj;
5123 fail:
5124 return NULL;
5125 }
5126
5127
5128 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5129 PyObject *resultobj = 0;
5130 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5131 wxRect *arg2 = 0 ;
5132 void *argp1 = 0 ;
5133 int res1 = 0 ;
5134 wxRect temp2 ;
5135 PyObject * obj0 = 0 ;
5136 PyObject * obj1 = 0 ;
5137 char * kwnames[] = {
5138 (char *) "self",(char *) "rect", NULL
5139 };
5140
5141 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) SWIG_fail;
5142 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5143 if (!SWIG_IsOK(res1)) {
5144 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5145 }
5146 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5147 {
5148 arg2 = &temp2;
5149 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
5150 }
5151 {
5152 PyThreadState* __tstate = wxPyBeginAllowThreads();
5153 (arg1)->SetTargetRect((wxRect const &)*arg2);
5154 wxPyEndAllowThreads(__tstate);
5155 if (PyErr_Occurred()) SWIG_fail;
5156 }
5157 resultobj = SWIG_Py_Void();
5158 return resultobj;
5159 fail:
5160 return NULL;
5161 }
5162
5163
5164 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5165 PyObject *resultobj = 0;
5166 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5167 wxRect result;
5168 void *argp1 = 0 ;
5169 int res1 = 0 ;
5170 PyObject *swig_obj[1] ;
5171
5172 if (!args) SWIG_fail;
5173 swig_obj[0] = args;
5174 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5175 if (!SWIG_IsOK(res1)) {
5176 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5177 }
5178 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5179 {
5180 PyThreadState* __tstate = wxPyBeginAllowThreads();
5181 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
5182 wxPyEndAllowThreads(__tstate);
5183 if (PyErr_Occurred()) SWIG_fail;
5184 }
5185 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
5186 return resultobj;
5187 fail:
5188 return NULL;
5189 }
5190
5191
5192 SWIGINTERN PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5193 PyObject *resultobj = 0;
5194 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5195 wxDC *arg2 = 0 ;
5196 void *argp1 = 0 ;
5197 int res1 = 0 ;
5198 void *argp2 = 0 ;
5199 int res2 = 0 ;
5200 PyObject * obj0 = 0 ;
5201 PyObject * obj1 = 0 ;
5202 char * kwnames[] = {
5203 (char *) "self",(char *) "dc", NULL
5204 };
5205
5206 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) SWIG_fail;
5207 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5208 if (!SWIG_IsOK(res1)) {
5209 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5210 }
5211 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5212 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
5213 if (!SWIG_IsOK(res2)) {
5214 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5215 }
5216 if (!argp2) {
5217 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5218 }
5219 arg2 = reinterpret_cast< wxDC * >(argp2);
5220 {
5221 PyThreadState* __tstate = wxPyBeginAllowThreads();
5222 (arg1)->DoPrepareDC(*arg2);
5223 wxPyEndAllowThreads(__tstate);
5224 if (PyErr_Occurred()) SWIG_fail;
5225 }
5226 resultobj = SWIG_Py_Void();
5227 return resultobj;
5228 fail:
5229 return NULL;
5230 }
5231
5232
5233 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5234 PyObject *resultobj = 0;
5235 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5236 SwigValueWrapper<wxVisualAttributes > result;
5237 int val1 ;
5238 int ecode1 = 0 ;
5239 PyObject * obj0 = 0 ;
5240 char * kwnames[] = {
5241 (char *) "variant", NULL
5242 };
5243
5244 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5245 if (obj0) {
5246 ecode1 = SWIG_AsVal_int(obj0, &val1);
5247 if (!SWIG_IsOK(ecode1)) {
5248 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5249 }
5250 arg1 = static_cast< wxWindowVariant >(val1);
5251 }
5252 {
5253 if (!wxPyCheckForApp()) SWIG_fail;
5254 PyThreadState* __tstate = wxPyBeginAllowThreads();
5255 result = wxScrolledWindow::GetClassDefaultAttributes(arg1);
5256 wxPyEndAllowThreads(__tstate);
5257 if (PyErr_Occurred()) SWIG_fail;
5258 }
5259 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5260 return resultobj;
5261 fail:
5262 return NULL;
5263 }
5264
5265
5266 SWIGINTERN PyObject *ScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5267 PyObject *obj;
5268 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5269 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow, SWIG_NewClientData(obj));
5270 return SWIG_Py_Void();
5271 }
5272
5273 SWIGINTERN PyObject *ScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5274 return SWIG_Python_InitShadowInstance(args);
5275 }
5276
5277 SWIGINTERN int FrameNameStr_set(PyObject *) {
5278 SWIG_Error(SWIG_AttributeError,"Variable FrameNameStr is read-only.");
5279 return 1;
5280 }
5281
5282
5283 SWIGINTERN PyObject *FrameNameStr_get(void) {
5284 PyObject *pyobj = 0;
5285
5286 {
5287 #if wxUSE_UNICODE
5288 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5289 #else
5290 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5291 #endif
5292 }
5293 return pyobj;
5294 }
5295
5296
5297 SWIGINTERN int DialogNameStr_set(PyObject *) {
5298 SWIG_Error(SWIG_AttributeError,"Variable DialogNameStr is read-only.");
5299 return 1;
5300 }
5301
5302
5303 SWIGINTERN PyObject *DialogNameStr_get(void) {
5304 PyObject *pyobj = 0;
5305
5306 {
5307 #if wxUSE_UNICODE
5308 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5309 #else
5310 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5311 #endif
5312 }
5313 return pyobj;
5314 }
5315
5316
5317 SWIGINTERN int StatusLineNameStr_set(PyObject *) {
5318 SWIG_Error(SWIG_AttributeError,"Variable StatusLineNameStr is read-only.");
5319 return 1;
5320 }
5321
5322
5323 SWIGINTERN PyObject *StatusLineNameStr_get(void) {
5324 PyObject *pyobj = 0;
5325
5326 {
5327 #if wxUSE_UNICODE
5328 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5329 #else
5330 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5331 #endif
5332 }
5333 return pyobj;
5334 }
5335
5336
5337 SWIGINTERN int ToolBarNameStr_set(PyObject *) {
5338 SWIG_Error(SWIG_AttributeError,"Variable ToolBarNameStr is read-only.");
5339 return 1;
5340 }
5341
5342
5343 SWIGINTERN PyObject *ToolBarNameStr_get(void) {
5344 PyObject *pyobj = 0;
5345
5346 {
5347 #if wxUSE_UNICODE
5348 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5349 #else
5350 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5351 #endif
5352 }
5353 return pyobj;
5354 }
5355
5356
5357 SWIGINTERN PyObject *_wrap_TopLevelWindow_Maximize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5358 PyObject *resultobj = 0;
5359 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5360 bool arg2 = (bool) true ;
5361 void *argp1 = 0 ;
5362 int res1 = 0 ;
5363 bool val2 ;
5364 int ecode2 = 0 ;
5365 PyObject * obj0 = 0 ;
5366 PyObject * obj1 = 0 ;
5367 char * kwnames[] = {
5368 (char *) "self",(char *) "maximize", NULL
5369 };
5370
5371 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) SWIG_fail;
5372 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5373 if (!SWIG_IsOK(res1)) {
5374 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5375 }
5376 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5377 if (obj1) {
5378 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5379 if (!SWIG_IsOK(ecode2)) {
5380 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5381 }
5382 arg2 = static_cast< bool >(val2);
5383 }
5384 {
5385 PyThreadState* __tstate = wxPyBeginAllowThreads();
5386 (arg1)->Maximize(arg2);
5387 wxPyEndAllowThreads(__tstate);
5388 if (PyErr_Occurred()) SWIG_fail;
5389 }
5390 resultobj = SWIG_Py_Void();
5391 return resultobj;
5392 fail:
5393 return NULL;
5394 }
5395
5396
5397 SWIGINTERN PyObject *_wrap_TopLevelWindow_Restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5398 PyObject *resultobj = 0;
5399 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5400 void *argp1 = 0 ;
5401 int res1 = 0 ;
5402 PyObject *swig_obj[1] ;
5403
5404 if (!args) SWIG_fail;
5405 swig_obj[0] = args;
5406 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5407 if (!SWIG_IsOK(res1)) {
5408 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5409 }
5410 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5411 {
5412 PyThreadState* __tstate = wxPyBeginAllowThreads();
5413 (arg1)->Restore();
5414 wxPyEndAllowThreads(__tstate);
5415 if (PyErr_Occurred()) SWIG_fail;
5416 }
5417 resultobj = SWIG_Py_Void();
5418 return resultobj;
5419 fail:
5420 return NULL;
5421 }
5422
5423
5424 SWIGINTERN PyObject *_wrap_TopLevelWindow_Iconize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5425 PyObject *resultobj = 0;
5426 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5427 bool arg2 = (bool) true ;
5428 void *argp1 = 0 ;
5429 int res1 = 0 ;
5430 bool val2 ;
5431 int ecode2 = 0 ;
5432 PyObject * obj0 = 0 ;
5433 PyObject * obj1 = 0 ;
5434 char * kwnames[] = {
5435 (char *) "self",(char *) "iconize", NULL
5436 };
5437
5438 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) SWIG_fail;
5439 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5440 if (!SWIG_IsOK(res1)) {
5441 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5442 }
5443 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5444 if (obj1) {
5445 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5446 if (!SWIG_IsOK(ecode2)) {
5447 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5448 }
5449 arg2 = static_cast< bool >(val2);
5450 }
5451 {
5452 PyThreadState* __tstate = wxPyBeginAllowThreads();
5453 (arg1)->Iconize(arg2);
5454 wxPyEndAllowThreads(__tstate);
5455 if (PyErr_Occurred()) SWIG_fail;
5456 }
5457 resultobj = SWIG_Py_Void();
5458 return resultobj;
5459 fail:
5460 return NULL;
5461 }
5462
5463
5464 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5465 PyObject *resultobj = 0;
5466 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5467 bool result;
5468 void *argp1 = 0 ;
5469 int res1 = 0 ;
5470 PyObject *swig_obj[1] ;
5471
5472 if (!args) SWIG_fail;
5473 swig_obj[0] = args;
5474 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5475 if (!SWIG_IsOK(res1)) {
5476 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5477 }
5478 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5479 {
5480 PyThreadState* __tstate = wxPyBeginAllowThreads();
5481 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
5482 wxPyEndAllowThreads(__tstate);
5483 if (PyErr_Occurred()) SWIG_fail;
5484 }
5485 {
5486 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5487 }
5488 return resultobj;
5489 fail:
5490 return NULL;
5491 }
5492
5493
5494 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5495 PyObject *resultobj = 0;
5496 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5497 bool result;
5498 void *argp1 = 0 ;
5499 int res1 = 0 ;
5500 PyObject *swig_obj[1] ;
5501
5502 if (!args) SWIG_fail;
5503 swig_obj[0] = args;
5504 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5505 if (!SWIG_IsOK(res1)) {
5506 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5507 }
5508 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5509 {
5510 PyThreadState* __tstate = wxPyBeginAllowThreads();
5511 result = (bool)((wxTopLevelWindow const *)arg1)->IsAlwaysMaximized();
5512 wxPyEndAllowThreads(__tstate);
5513 if (PyErr_Occurred()) SWIG_fail;
5514 }
5515 {
5516 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5517 }
5518 return resultobj;
5519 fail:
5520 return NULL;
5521 }
5522
5523
5524 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5525 PyObject *resultobj = 0;
5526 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5527 bool result;
5528 void *argp1 = 0 ;
5529 int res1 = 0 ;
5530 PyObject *swig_obj[1] ;
5531
5532 if (!args) SWIG_fail;
5533 swig_obj[0] = args;
5534 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5535 if (!SWIG_IsOK(res1)) {
5536 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5537 }
5538 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5539 {
5540 PyThreadState* __tstate = wxPyBeginAllowThreads();
5541 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
5542 wxPyEndAllowThreads(__tstate);
5543 if (PyErr_Occurred()) SWIG_fail;
5544 }
5545 {
5546 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5547 }
5548 return resultobj;
5549 fail:
5550 return NULL;
5551 }
5552
5553
5554 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5555 PyObject *resultobj = 0;
5556 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5557 wxIcon result;
5558 void *argp1 = 0 ;
5559 int res1 = 0 ;
5560 PyObject *swig_obj[1] ;
5561
5562 if (!args) SWIG_fail;
5563 swig_obj[0] = args;
5564 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5565 if (!SWIG_IsOK(res1)) {
5566 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5567 }
5568 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5569 {
5570 PyThreadState* __tstate = wxPyBeginAllowThreads();
5571 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
5572 wxPyEndAllowThreads(__tstate);
5573 if (PyErr_Occurred()) SWIG_fail;
5574 }
5575 resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN | 0 );
5576 return resultobj;
5577 fail:
5578 return NULL;
5579 }
5580
5581
5582 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5583 PyObject *resultobj = 0;
5584 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5585 wxIcon *arg2 = 0 ;
5586 void *argp1 = 0 ;
5587 int res1 = 0 ;
5588 void *argp2 = 0 ;
5589 int res2 = 0 ;
5590 PyObject * obj0 = 0 ;
5591 PyObject * obj1 = 0 ;
5592 char * kwnames[] = {
5593 (char *) "self",(char *) "icon", NULL
5594 };
5595
5596 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
5597 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5598 if (!SWIG_IsOK(res1)) {
5599 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5600 }
5601 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5602 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
5603 if (!SWIG_IsOK(res2)) {
5604 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5605 }
5606 if (!argp2) {
5607 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5608 }
5609 arg2 = reinterpret_cast< wxIcon * >(argp2);
5610 {
5611 PyThreadState* __tstate = wxPyBeginAllowThreads();
5612 (arg1)->SetIcon((wxIcon const &)*arg2);
5613 wxPyEndAllowThreads(__tstate);
5614 if (PyErr_Occurred()) SWIG_fail;
5615 }
5616 resultobj = SWIG_Py_Void();
5617 return resultobj;
5618 fail:
5619 return NULL;
5620 }
5621
5622
5623 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5624 PyObject *resultobj = 0;
5625 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5626 wxIconBundle *arg2 = 0 ;
5627 void *argp1 = 0 ;
5628 int res1 = 0 ;
5629 void *argp2 = 0 ;
5630 int res2 = 0 ;
5631 PyObject * obj0 = 0 ;
5632 PyObject * obj1 = 0 ;
5633 char * kwnames[] = {
5634 (char *) "self",(char *) "icons", NULL
5635 };
5636
5637 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) SWIG_fail;
5638 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5639 if (!SWIG_IsOK(res1)) {
5640 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5641 }
5642 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5643 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIconBundle, 0 | 0);
5644 if (!SWIG_IsOK(res2)) {
5645 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5646 }
5647 if (!argp2) {
5648 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5649 }
5650 arg2 = reinterpret_cast< wxIconBundle * >(argp2);
5651 {
5652 PyThreadState* __tstate = wxPyBeginAllowThreads();
5653 (arg1)->SetIcons((wxIconBundle const &)*arg2);
5654 wxPyEndAllowThreads(__tstate);
5655 if (PyErr_Occurred()) SWIG_fail;
5656 }
5657 resultobj = SWIG_Py_Void();
5658 return resultobj;
5659 fail:
5660 return NULL;
5661 }
5662
5663
5664 SWIGINTERN PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5665 PyObject *resultobj = 0;
5666 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5667 bool arg2 ;
5668 long arg3 = (long) wxFULLSCREEN_ALL ;
5669 bool result;
5670 void *argp1 = 0 ;
5671 int res1 = 0 ;
5672 bool val2 ;
5673 int ecode2 = 0 ;
5674 long val3 ;
5675 int ecode3 = 0 ;
5676 PyObject * obj0 = 0 ;
5677 PyObject * obj1 = 0 ;
5678 PyObject * obj2 = 0 ;
5679 char * kwnames[] = {
5680 (char *) "self",(char *) "show",(char *) "style", NULL
5681 };
5682
5683 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5684 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5685 if (!SWIG_IsOK(res1)) {
5686 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5687 }
5688 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5689 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5690 if (!SWIG_IsOK(ecode2)) {
5691 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5692 }
5693 arg2 = static_cast< bool >(val2);
5694 if (obj2) {
5695 ecode3 = SWIG_AsVal_long(obj2, &val3);
5696 if (!SWIG_IsOK(ecode3)) {
5697 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5698 }
5699 arg3 = static_cast< long >(val3);
5700 }
5701 {
5702 PyThreadState* __tstate = wxPyBeginAllowThreads();
5703 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
5704 wxPyEndAllowThreads(__tstate);
5705 if (PyErr_Occurred()) SWIG_fail;
5706 }
5707 {
5708 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5709 }
5710 return resultobj;
5711 fail:
5712 return NULL;
5713 }
5714
5715
5716 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5717 PyObject *resultobj = 0;
5718 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5719 bool result;
5720 void *argp1 = 0 ;
5721 int res1 = 0 ;
5722 PyObject *swig_obj[1] ;
5723
5724 if (!args) SWIG_fail;
5725 swig_obj[0] = args;
5726 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5727 if (!SWIG_IsOK(res1)) {
5728 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5729 }
5730 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5731 {
5732 PyThreadState* __tstate = wxPyBeginAllowThreads();
5733 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
5734 wxPyEndAllowThreads(__tstate);
5735 if (PyErr_Occurred()) SWIG_fail;
5736 }
5737 {
5738 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5739 }
5740 return resultobj;
5741 fail:
5742 return NULL;
5743 }
5744
5745
5746 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5747 PyObject *resultobj = 0;
5748 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5749 wxString *arg2 = 0 ;
5750 void *argp1 = 0 ;
5751 int res1 = 0 ;
5752 bool temp2 = false ;
5753 PyObject * obj0 = 0 ;
5754 PyObject * obj1 = 0 ;
5755 char * kwnames[] = {
5756 (char *) "self",(char *) "title", NULL
5757 };
5758
5759 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) SWIG_fail;
5760 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5761 if (!SWIG_IsOK(res1)) {
5762 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5763 }
5764 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5765 {
5766 arg2 = wxString_in_helper(obj1);
5767 if (arg2 == NULL) SWIG_fail;
5768 temp2 = true;
5769 }
5770 {
5771 PyThreadState* __tstate = wxPyBeginAllowThreads();
5772 (arg1)->SetTitle((wxString const &)*arg2);
5773 wxPyEndAllowThreads(__tstate);
5774 if (PyErr_Occurred()) SWIG_fail;
5775 }
5776 resultobj = SWIG_Py_Void();
5777 {
5778 if (temp2)
5779 delete arg2;
5780 }
5781 return resultobj;
5782 fail:
5783 {
5784 if (temp2)
5785 delete arg2;
5786 }
5787 return NULL;
5788 }
5789
5790
5791 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5792 PyObject *resultobj = 0;
5793 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5794 wxString result;
5795 void *argp1 = 0 ;
5796 int res1 = 0 ;
5797 PyObject *swig_obj[1] ;
5798
5799 if (!args) SWIG_fail;
5800 swig_obj[0] = args;
5801 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5802 if (!SWIG_IsOK(res1)) {
5803 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5804 }
5805 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5806 {
5807 PyThreadState* __tstate = wxPyBeginAllowThreads();
5808 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
5809 wxPyEndAllowThreads(__tstate);
5810 if (PyErr_Occurred()) SWIG_fail;
5811 }
5812 {
5813 #if wxUSE_UNICODE
5814 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5815 #else
5816 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5817 #endif
5818 }
5819 return resultobj;
5820 fail:
5821 return NULL;
5822 }
5823
5824
5825 SWIGINTERN PyObject *_wrap_TopLevelWindow_EnableCloseButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5826 PyObject *resultobj = 0;
5827 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5828 bool arg2 ;
5829 bool result;
5830 void *argp1 = 0 ;
5831 int res1 = 0 ;
5832 bool val2 ;
5833 int ecode2 = 0 ;
5834 PyObject * obj0 = 0 ;
5835 PyObject * obj1 = 0 ;
5836 char * kwnames[] = {
5837 (char *) "self",(char *) "enable", NULL
5838 };
5839
5840 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_EnableCloseButton",kwnames,&obj0,&obj1)) SWIG_fail;
5841 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5842 if (!SWIG_IsOK(res1)) {
5843 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5844 }
5845 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5846 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5847 if (!SWIG_IsOK(ecode2)) {
5848 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "2"" of type '" "bool""'");
5849 }
5850 arg2 = static_cast< bool >(val2);
5851 {
5852 PyThreadState* __tstate = wxPyBeginAllowThreads();
5853 result = (bool)(arg1)->EnableCloseButton(arg2);
5854 wxPyEndAllowThreads(__tstate);
5855 if (PyErr_Occurred()) SWIG_fail;
5856 }
5857 {
5858 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5859 }
5860 return resultobj;
5861 fail:
5862 return NULL;
5863 }
5864
5865
5866 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetShape(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5867 PyObject *resultobj = 0;
5868 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5869 wxRegion *arg2 = 0 ;
5870 bool result;
5871 void *argp1 = 0 ;
5872 int res1 = 0 ;
5873 void *argp2 = 0 ;
5874 int res2 = 0 ;
5875 PyObject * obj0 = 0 ;
5876 PyObject * obj1 = 0 ;
5877 char * kwnames[] = {
5878 (char *) "self",(char *) "region", NULL
5879 };
5880
5881 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) SWIG_fail;
5882 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5883 if (!SWIG_IsOK(res1)) {
5884 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5885 }
5886 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5887 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRegion, 0 | 0);
5888 if (!SWIG_IsOK(res2)) {
5889 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5890 }
5891 if (!argp2) {
5892 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5893 }
5894 arg2 = reinterpret_cast< wxRegion * >(argp2);
5895 {
5896 PyThreadState* __tstate = wxPyBeginAllowThreads();
5897 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
5898 wxPyEndAllowThreads(__tstate);
5899 if (PyErr_Occurred()) SWIG_fail;
5900 }
5901 {
5902 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5903 }
5904 return resultobj;
5905 fail:
5906 return NULL;
5907 }
5908
5909
5910 SWIGINTERN PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5911 PyObject *resultobj = 0;
5912 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5913 int arg2 = (int) wxUSER_ATTENTION_INFO ;
5914 void *argp1 = 0 ;
5915 int res1 = 0 ;
5916 int val2 ;
5917 int ecode2 = 0 ;
5918 PyObject * obj0 = 0 ;
5919 PyObject * obj1 = 0 ;
5920 char * kwnames[] = {
5921 (char *) "self",(char *) "flags", NULL
5922 };
5923
5924 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) SWIG_fail;
5925 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5926 if (!SWIG_IsOK(res1)) {
5927 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5928 }
5929 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5930 if (obj1) {
5931 ecode2 = SWIG_AsVal_int(obj1, &val2);
5932 if (!SWIG_IsOK(ecode2)) {
5933 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5934 }
5935 arg2 = static_cast< int >(val2);
5936 }
5937 {
5938 PyThreadState* __tstate = wxPyBeginAllowThreads();
5939 (arg1)->RequestUserAttention(arg2);
5940 wxPyEndAllowThreads(__tstate);
5941 if (PyErr_Occurred()) SWIG_fail;
5942 }
5943 resultobj = SWIG_Py_Void();
5944 return resultobj;
5945 fail:
5946 return NULL;
5947 }
5948
5949
5950 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5951 PyObject *resultobj = 0;
5952 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5953 bool result;
5954 void *argp1 = 0 ;
5955 int res1 = 0 ;
5956 PyObject *swig_obj[1] ;
5957
5958 if (!args) SWIG_fail;
5959 swig_obj[0] = args;
5960 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5961 if (!SWIG_IsOK(res1)) {
5962 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5963 }
5964 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5965 {
5966 PyThreadState* __tstate = wxPyBeginAllowThreads();
5967 result = (bool)(arg1)->IsActive();
5968 wxPyEndAllowThreads(__tstate);
5969 if (PyErr_Occurred()) SWIG_fail;
5970 }
5971 {
5972 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5973 }
5974 return resultobj;
5975 fail:
5976 return NULL;
5977 }
5978
5979
5980 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5981 PyObject *resultobj = 0;
5982 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5983 bool arg2 ;
5984 void *argp1 = 0 ;
5985 int res1 = 0 ;
5986 bool val2 ;
5987 int ecode2 = 0 ;
5988 PyObject * obj0 = 0 ;
5989 PyObject * obj1 = 0 ;
5990 char * kwnames[] = {
5991 (char *) "self",(char *) "on", NULL
5992 };
5993
5994 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) SWIG_fail;
5995 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5996 if (!SWIG_IsOK(res1)) {
5997 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5998 }
5999 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6000 ecode2 = SWIG_AsVal_bool(obj1, &val2);
6001 if (!SWIG_IsOK(ecode2)) {
6002 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
6003 }
6004 arg2 = static_cast< bool >(val2);
6005 {
6006 PyThreadState* __tstate = wxPyBeginAllowThreads();
6007 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
6008 wxPyEndAllowThreads(__tstate);
6009 if (PyErr_Occurred()) SWIG_fail;
6010 }
6011 resultobj = SWIG_Py_Void();
6012 return resultobj;
6013 fail:
6014 return NULL;
6015 }
6016
6017
6018 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6019 PyObject *resultobj = 0;
6020 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6021 bool result;
6022 void *argp1 = 0 ;
6023 int res1 = 0 ;
6024 PyObject *swig_obj[1] ;
6025
6026 if (!args) SWIG_fail;
6027 swig_obj[0] = args;
6028 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6029 if (!SWIG_IsOK(res1)) {
6030 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6031 }
6032 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6033 {
6034 PyThreadState* __tstate = wxPyBeginAllowThreads();
6035 result = (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow const *)arg1);
6036 wxPyEndAllowThreads(__tstate);
6037 if (PyErr_Occurred()) SWIG_fail;
6038 }
6039 {
6040 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6041 }
6042 return resultobj;
6043 fail:
6044 return NULL;
6045 }
6046
6047
6048 SWIGINTERN PyObject *_wrap_TopLevelWindow_CenterOnScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6049 PyObject *resultobj = 0;
6050 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6051 int arg2 = (int) wxBOTH ;
6052 void *argp1 = 0 ;
6053 int res1 = 0 ;
6054 int val2 ;
6055 int ecode2 = 0 ;
6056 PyObject * obj0 = 0 ;
6057 PyObject * obj1 = 0 ;
6058 char * kwnames[] = {
6059 (char *) "self",(char *) "dir", NULL
6060 };
6061
6062 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames,&obj0,&obj1)) SWIG_fail;
6063 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6064 if (!SWIG_IsOK(res1)) {
6065 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6066 }
6067 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6068 if (obj1) {
6069 ecode2 = SWIG_AsVal_int(obj1, &val2);
6070 if (!SWIG_IsOK(ecode2)) {
6071 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6072 }
6073 arg2 = static_cast< int >(val2);
6074 }
6075 {
6076 PyThreadState* __tstate = wxPyBeginAllowThreads();
6077 (arg1)->CenterOnScreen(arg2);
6078 wxPyEndAllowThreads(__tstate);
6079 if (PyErr_Occurred()) SWIG_fail;
6080 }
6081 resultobj = SWIG_Py_Void();
6082 return resultobj;
6083 fail:
6084 return NULL;
6085 }
6086
6087
6088 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6089 PyObject *resultobj = 0;
6090 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6091 wxWindow *result = 0 ;
6092 void *argp1 = 0 ;
6093 int res1 = 0 ;
6094 PyObject *swig_obj[1] ;
6095
6096 if (!args) SWIG_fail;
6097 swig_obj[0] = args;
6098 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6099 if (!SWIG_IsOK(res1)) {
6100 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6101 }
6102 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6103 {
6104 PyThreadState* __tstate = wxPyBeginAllowThreads();
6105 result = (wxWindow *)((wxTopLevelWindow const *)arg1)->GetDefaultItem();
6106 wxPyEndAllowThreads(__tstate);
6107 if (PyErr_Occurred()) SWIG_fail;
6108 }
6109 {
6110 resultobj = wxPyMake_wxObject(result, 0);
6111 }
6112 return resultobj;
6113 fail:
6114 return NULL;
6115 }
6116
6117
6118 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6119 PyObject *resultobj = 0;
6120 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6121 wxWindow *arg2 = (wxWindow *) 0 ;
6122 wxWindow *result = 0 ;
6123 void *argp1 = 0 ;
6124 int res1 = 0 ;
6125 void *argp2 = 0 ;
6126 int res2 = 0 ;
6127 PyObject * obj0 = 0 ;
6128 PyObject * obj1 = 0 ;
6129 char * kwnames[] = {
6130 (char *) "self",(char *) "child", NULL
6131 };
6132
6133 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetDefaultItem",kwnames,&obj0,&obj1)) SWIG_fail;
6134 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6135 if (!SWIG_IsOK(res1)) {
6136 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6137 }
6138 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6139 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6140 if (!SWIG_IsOK(res2)) {
6141 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6142 }
6143 arg2 = reinterpret_cast< wxWindow * >(argp2);
6144 {
6145 PyThreadState* __tstate = wxPyBeginAllowThreads();
6146 result = (wxWindow *)(arg1)->SetDefaultItem(arg2);
6147 wxPyEndAllowThreads(__tstate);
6148 if (PyErr_Occurred()) SWIG_fail;
6149 }
6150 {
6151 resultobj = wxPyMake_wxObject(result, 0);
6152 }
6153 return resultobj;
6154 fail:
6155 return NULL;
6156 }
6157
6158
6159 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTmpDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6160 PyObject *resultobj = 0;
6161 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6162 wxWindow *arg2 = (wxWindow *) 0 ;
6163 void *argp1 = 0 ;
6164 int res1 = 0 ;
6165 void *argp2 = 0 ;
6166 int res2 = 0 ;
6167 PyObject * obj0 = 0 ;
6168 PyObject * obj1 = 0 ;
6169 char * kwnames[] = {
6170 (char *) "self",(char *) "win", NULL
6171 };
6172
6173 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTmpDefaultItem",kwnames,&obj0,&obj1)) SWIG_fail;
6174 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6175 if (!SWIG_IsOK(res1)) {
6176 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6177 }
6178 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6179 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6180 if (!SWIG_IsOK(res2)) {
6181 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6182 }
6183 arg2 = reinterpret_cast< wxWindow * >(argp2);
6184 {
6185 PyThreadState* __tstate = wxPyBeginAllowThreads();
6186 (arg1)->SetTmpDefaultItem(arg2);
6187 wxPyEndAllowThreads(__tstate);
6188 if (PyErr_Occurred()) SWIG_fail;
6189 }
6190 resultobj = SWIG_Py_Void();
6191 return resultobj;
6192 fail:
6193 return NULL;
6194 }
6195
6196
6197 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTmpDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6198 PyObject *resultobj = 0;
6199 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6200 wxWindow *result = 0 ;
6201 void *argp1 = 0 ;
6202 int res1 = 0 ;
6203 PyObject *swig_obj[1] ;
6204
6205 if (!args) SWIG_fail;
6206 swig_obj[0] = args;
6207 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6208 if (!SWIG_IsOK(res1)) {
6209 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6210 }
6211 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6212 {
6213 PyThreadState* __tstate = wxPyBeginAllowThreads();
6214 result = (wxWindow *)((wxTopLevelWindow const *)arg1)->GetTmpDefaultItem();
6215 wxPyEndAllowThreads(__tstate);
6216 if (PyErr_Occurred()) SWIG_fail;
6217 }
6218 {
6219 resultobj = wxPyMake_wxObject(result, 0);
6220 }
6221 return resultobj;
6222 fail:
6223 return NULL;
6224 }
6225
6226
6227 SWIGINTERN PyObject *TopLevelWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6228 PyObject *obj;
6229 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6230 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow, SWIG_NewClientData(obj));
6231 return SWIG_Py_Void();
6232 }
6233
6234 SWIGINTERN PyObject *_wrap_new_Frame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6235 PyObject *resultobj = 0;
6236 wxWindow *arg1 = (wxWindow *) 0 ;
6237 int arg2 = (int) (int)-1 ;
6238 wxString const &arg3_defvalue = wxPyEmptyString ;
6239 wxString *arg3 = (wxString *) &arg3_defvalue ;
6240 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6241 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6242 wxSize const &arg5_defvalue = wxDefaultSize ;
6243 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6244 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
6245 wxString const &arg7_defvalue = wxPyFrameNameStr ;
6246 wxString *arg7 = (wxString *) &arg7_defvalue ;
6247 wxFrame *result = 0 ;
6248 void *argp1 = 0 ;
6249 int res1 = 0 ;
6250 int val2 ;
6251 int ecode2 = 0 ;
6252 bool temp3 = false ;
6253 wxPoint temp4 ;
6254 wxSize temp5 ;
6255 long val6 ;
6256 int ecode6 = 0 ;
6257 bool temp7 = false ;
6258 PyObject * obj0 = 0 ;
6259 PyObject * obj1 = 0 ;
6260 PyObject * obj2 = 0 ;
6261 PyObject * obj3 = 0 ;
6262 PyObject * obj4 = 0 ;
6263 PyObject * obj5 = 0 ;
6264 PyObject * obj6 = 0 ;
6265 char * kwnames[] = {
6266 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6267 };
6268
6269 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
6270 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
6271 if (!SWIG_IsOK(res1)) {
6272 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6273 }
6274 arg1 = reinterpret_cast< wxWindow * >(argp1);
6275 if (obj1) {
6276 ecode2 = SWIG_AsVal_int(obj1, &val2);
6277 if (!SWIG_IsOK(ecode2)) {
6278 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6279 }
6280 arg2 = static_cast< int >(val2);
6281 }
6282 if (obj2) {
6283 {
6284 arg3 = wxString_in_helper(obj2);
6285 if (arg3 == NULL) SWIG_fail;
6286 temp3 = true;
6287 }
6288 }
6289 if (obj3) {
6290 {
6291 arg4 = &temp4;
6292 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6293 }
6294 }
6295 if (obj4) {
6296 {
6297 arg5 = &temp5;
6298 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6299 }
6300 }
6301 if (obj5) {
6302 ecode6 = SWIG_AsVal_long(obj5, &val6);
6303 if (!SWIG_IsOK(ecode6)) {
6304 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6305 }
6306 arg6 = static_cast< long >(val6);
6307 }
6308 if (obj6) {
6309 {
6310 arg7 = wxString_in_helper(obj6);
6311 if (arg7 == NULL) SWIG_fail;
6312 temp7 = true;
6313 }
6314 }
6315 {
6316 if (!wxPyCheckForApp()) SWIG_fail;
6317 PyThreadState* __tstate = wxPyBeginAllowThreads();
6318 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6319 wxPyEndAllowThreads(__tstate);
6320 if (PyErr_Occurred()) SWIG_fail;
6321 }
6322 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_NEW | 0 );
6323 {
6324 if (temp3)
6325 delete arg3;
6326 }
6327 {
6328 if (temp7)
6329 delete arg7;
6330 }
6331 return resultobj;
6332 fail:
6333 {
6334 if (temp3)
6335 delete arg3;
6336 }
6337 {
6338 if (temp7)
6339 delete arg7;
6340 }
6341 return NULL;
6342 }
6343
6344
6345 SWIGINTERN PyObject *_wrap_new_PreFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6346 PyObject *resultobj = 0;
6347 wxFrame *result = 0 ;
6348
6349 if (!SWIG_Python_UnpackTuple(args,"new_PreFrame",0,0,0)) SWIG_fail;
6350 {
6351 if (!wxPyCheckForApp()) SWIG_fail;
6352 PyThreadState* __tstate = wxPyBeginAllowThreads();
6353 result = (wxFrame *)new wxFrame();
6354 wxPyEndAllowThreads(__tstate);
6355 if (PyErr_Occurred()) SWIG_fail;
6356 }
6357 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_OWN | 0 );
6358 return resultobj;
6359 fail:
6360 return NULL;
6361 }
6362
6363
6364 SWIGINTERN PyObject *_wrap_Frame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6365 PyObject *resultobj = 0;
6366 wxFrame *arg1 = (wxFrame *) 0 ;
6367 wxWindow *arg2 = (wxWindow *) 0 ;
6368 int arg3 = (int) (int)-1 ;
6369 wxString const &arg4_defvalue = wxPyEmptyString ;
6370 wxString *arg4 = (wxString *) &arg4_defvalue ;
6371 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6372 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6373 wxSize const &arg6_defvalue = wxDefaultSize ;
6374 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6375 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6376 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6377 wxString *arg8 = (wxString *) &arg8_defvalue ;
6378 bool result;
6379 void *argp1 = 0 ;
6380 int res1 = 0 ;
6381 void *argp2 = 0 ;
6382 int res2 = 0 ;
6383 int val3 ;
6384 int ecode3 = 0 ;
6385 bool temp4 = false ;
6386 wxPoint temp5 ;
6387 wxSize temp6 ;
6388 long val7 ;
6389 int ecode7 = 0 ;
6390 bool temp8 = false ;
6391 PyObject * obj0 = 0 ;
6392 PyObject * obj1 = 0 ;
6393 PyObject * obj2 = 0 ;
6394 PyObject * obj3 = 0 ;
6395 PyObject * obj4 = 0 ;
6396 PyObject * obj5 = 0 ;
6397 PyObject * obj6 = 0 ;
6398 PyObject * obj7 = 0 ;
6399 char * kwnames[] = {
6400 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6401 };
6402
6403 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6404 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6405 if (!SWIG_IsOK(res1)) {
6406 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6407 }
6408 arg1 = reinterpret_cast< wxFrame * >(argp1);
6409 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6410 if (!SWIG_IsOK(res2)) {
6411 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6412 }
6413 arg2 = reinterpret_cast< wxWindow * >(argp2);
6414 if (obj2) {
6415 ecode3 = SWIG_AsVal_int(obj2, &val3);
6416 if (!SWIG_IsOK(ecode3)) {
6417 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6418 }
6419 arg3 = static_cast< int >(val3);
6420 }
6421 if (obj3) {
6422 {
6423 arg4 = wxString_in_helper(obj3);
6424 if (arg4 == NULL) SWIG_fail;
6425 temp4 = true;
6426 }
6427 }
6428 if (obj4) {
6429 {
6430 arg5 = &temp5;
6431 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6432 }
6433 }
6434 if (obj5) {
6435 {
6436 arg6 = &temp6;
6437 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6438 }
6439 }
6440 if (obj6) {
6441 ecode7 = SWIG_AsVal_long(obj6, &val7);
6442 if (!SWIG_IsOK(ecode7)) {
6443 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6444 }
6445 arg7 = static_cast< long >(val7);
6446 }
6447 if (obj7) {
6448 {
6449 arg8 = wxString_in_helper(obj7);
6450 if (arg8 == NULL) SWIG_fail;
6451 temp8 = true;
6452 }
6453 }
6454 {
6455 PyThreadState* __tstate = wxPyBeginAllowThreads();
6456 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6457 wxPyEndAllowThreads(__tstate);
6458 if (PyErr_Occurred()) SWIG_fail;
6459 }
6460 {
6461 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6462 }
6463 {
6464 if (temp4)
6465 delete arg4;
6466 }
6467 {
6468 if (temp8)
6469 delete arg8;
6470 }
6471 return resultobj;
6472 fail:
6473 {
6474 if (temp4)
6475 delete arg4;
6476 }
6477 {
6478 if (temp8)
6479 delete arg8;
6480 }
6481 return NULL;
6482 }
6483
6484
6485 SWIGINTERN PyObject *_wrap_Frame_SendSizeEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6486 PyObject *resultobj = 0;
6487 wxFrame *arg1 = (wxFrame *) 0 ;
6488 void *argp1 = 0 ;
6489 int res1 = 0 ;
6490 PyObject *swig_obj[1] ;
6491
6492 if (!args) SWIG_fail;
6493 swig_obj[0] = args;
6494 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6495 if (!SWIG_IsOK(res1)) {
6496 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6497 }
6498 arg1 = reinterpret_cast< wxFrame * >(argp1);
6499 {
6500 PyThreadState* __tstate = wxPyBeginAllowThreads();
6501 (arg1)->SendSizeEvent();
6502 wxPyEndAllowThreads(__tstate);
6503 if (PyErr_Occurred()) SWIG_fail;
6504 }
6505 resultobj = SWIG_Py_Void();
6506 return resultobj;
6507 fail:
6508 return NULL;
6509 }
6510
6511
6512 SWIGINTERN PyObject *_wrap_Frame_SetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6513 PyObject *resultobj = 0;
6514 wxFrame *arg1 = (wxFrame *) 0 ;
6515 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
6516 void *argp1 = 0 ;
6517 int res1 = 0 ;
6518 void *argp2 = 0 ;
6519 int res2 = 0 ;
6520 PyObject * obj0 = 0 ;
6521 PyObject * obj1 = 0 ;
6522 char * kwnames[] = {
6523 (char *) "self",(char *) "menubar", NULL
6524 };
6525
6526 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) SWIG_fail;
6527 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6528 if (!SWIG_IsOK(res1)) {
6529 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6530 }
6531 arg1 = reinterpret_cast< wxFrame * >(argp1);
6532 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenuBar, 0 | 0 );
6533 if (!SWIG_IsOK(res2)) {
6534 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6535 }
6536 arg2 = reinterpret_cast< wxMenuBar * >(argp2);
6537 {
6538 PyThreadState* __tstate = wxPyBeginAllowThreads();
6539 (arg1)->SetMenuBar(arg2);
6540 wxPyEndAllowThreads(__tstate);
6541 if (PyErr_Occurred()) SWIG_fail;
6542 }
6543 resultobj = SWIG_Py_Void();
6544 return resultobj;
6545 fail:
6546 return NULL;
6547 }
6548
6549
6550 SWIGINTERN PyObject *_wrap_Frame_GetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6551 PyObject *resultobj = 0;
6552 wxFrame *arg1 = (wxFrame *) 0 ;
6553 wxMenuBar *result = 0 ;
6554 void *argp1 = 0 ;
6555 int res1 = 0 ;
6556 PyObject *swig_obj[1] ;
6557
6558 if (!args) SWIG_fail;
6559 swig_obj[0] = args;
6560 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6561 if (!SWIG_IsOK(res1)) {
6562 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6563 }
6564 arg1 = reinterpret_cast< wxFrame * >(argp1);
6565 {
6566 PyThreadState* __tstate = wxPyBeginAllowThreads();
6567 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
6568 wxPyEndAllowThreads(__tstate);
6569 if (PyErr_Occurred()) SWIG_fail;
6570 }
6571 {
6572 resultobj = wxPyMake_wxObject(result, 0);
6573 }
6574 return resultobj;
6575 fail:
6576 return NULL;
6577 }
6578
6579
6580 SWIGINTERN PyObject *_wrap_Frame_ProcessCommand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6581 PyObject *resultobj = 0;
6582 wxFrame *arg1 = (wxFrame *) 0 ;
6583 int arg2 ;
6584 bool result;
6585 void *argp1 = 0 ;
6586 int res1 = 0 ;
6587 int val2 ;
6588 int ecode2 = 0 ;
6589 PyObject * obj0 = 0 ;
6590 PyObject * obj1 = 0 ;
6591 char * kwnames[] = {
6592 (char *) "self",(char *) "winid", NULL
6593 };
6594
6595 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) SWIG_fail;
6596 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6597 if (!SWIG_IsOK(res1)) {
6598 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6599 }
6600 arg1 = reinterpret_cast< wxFrame * >(argp1);
6601 ecode2 = SWIG_AsVal_int(obj1, &val2);
6602 if (!SWIG_IsOK(ecode2)) {
6603 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6604 }
6605 arg2 = static_cast< int >(val2);
6606 {
6607 PyThreadState* __tstate = wxPyBeginAllowThreads();
6608 result = (bool)(arg1)->ProcessCommand(arg2);
6609 wxPyEndAllowThreads(__tstate);
6610 if (PyErr_Occurred()) SWIG_fail;
6611 }
6612 {
6613 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6614 }
6615 return resultobj;
6616 fail:
6617 return NULL;
6618 }
6619
6620
6621 SWIGINTERN PyObject *_wrap_Frame_CreateStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6622 PyObject *resultobj = 0;
6623 wxFrame *arg1 = (wxFrame *) 0 ;
6624 int arg2 = (int) 1 ;
6625 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
6626 int arg4 = (int) 0 ;
6627 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
6628 wxString *arg5 = (wxString *) &arg5_defvalue ;
6629 wxStatusBar *result = 0 ;
6630 void *argp1 = 0 ;
6631 int res1 = 0 ;
6632 int val2 ;
6633 int ecode2 = 0 ;
6634 long val3 ;
6635 int ecode3 = 0 ;
6636 int val4 ;
6637 int ecode4 = 0 ;
6638 bool temp5 = false ;
6639 PyObject * obj0 = 0 ;
6640 PyObject * obj1 = 0 ;
6641 PyObject * obj2 = 0 ;
6642 PyObject * obj3 = 0 ;
6643 PyObject * obj4 = 0 ;
6644 char * kwnames[] = {
6645 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6646 };
6647
6648 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
6649 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6650 if (!SWIG_IsOK(res1)) {
6651 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6652 }
6653 arg1 = reinterpret_cast< wxFrame * >(argp1);
6654 if (obj1) {
6655 ecode2 = SWIG_AsVal_int(obj1, &val2);
6656 if (!SWIG_IsOK(ecode2)) {
6657 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6658 }
6659 arg2 = static_cast< int >(val2);
6660 }
6661 if (obj2) {
6662 ecode3 = SWIG_AsVal_long(obj2, &val3);
6663 if (!SWIG_IsOK(ecode3)) {
6664 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6665 }
6666 arg3 = static_cast< long >(val3);
6667 }
6668 if (obj3) {
6669 ecode4 = SWIG_AsVal_int(obj3, &val4);
6670 if (!SWIG_IsOK(ecode4)) {
6671 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6672 }
6673 arg4 = static_cast< int >(val4);
6674 }
6675 if (obj4) {
6676 {
6677 arg5 = wxString_in_helper(obj4);
6678 if (arg5 == NULL) SWIG_fail;
6679 temp5 = true;
6680 }
6681 }
6682 {
6683 PyThreadState* __tstate = wxPyBeginAllowThreads();
6684 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
6685 wxPyEndAllowThreads(__tstate);
6686 if (PyErr_Occurred()) SWIG_fail;
6687 }
6688 {
6689 resultobj = wxPyMake_wxObject(result, (bool)0);
6690 }
6691 {
6692 if (temp5)
6693 delete arg5;
6694 }
6695 return resultobj;
6696 fail:
6697 {
6698 if (temp5)
6699 delete arg5;
6700 }
6701 return NULL;
6702 }
6703
6704
6705 SWIGINTERN PyObject *_wrap_Frame_GetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6706 PyObject *resultobj = 0;
6707 wxFrame *arg1 = (wxFrame *) 0 ;
6708 wxStatusBar *result = 0 ;
6709 void *argp1 = 0 ;
6710 int res1 = 0 ;
6711 PyObject *swig_obj[1] ;
6712
6713 if (!args) SWIG_fail;
6714 swig_obj[0] = args;
6715 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6716 if (!SWIG_IsOK(res1)) {
6717 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6718 }
6719 arg1 = reinterpret_cast< wxFrame * >(argp1);
6720 {
6721 PyThreadState* __tstate = wxPyBeginAllowThreads();
6722 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
6723 wxPyEndAllowThreads(__tstate);
6724 if (PyErr_Occurred()) SWIG_fail;
6725 }
6726 {
6727 resultobj = wxPyMake_wxObject(result, (bool)0);
6728 }
6729 return resultobj;
6730 fail:
6731 return NULL;
6732 }
6733
6734
6735 SWIGINTERN PyObject *_wrap_Frame_SetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6736 PyObject *resultobj = 0;
6737 wxFrame *arg1 = (wxFrame *) 0 ;
6738 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
6739 void *argp1 = 0 ;
6740 int res1 = 0 ;
6741 void *argp2 = 0 ;
6742 int res2 = 0 ;
6743 PyObject * obj0 = 0 ;
6744 PyObject * obj1 = 0 ;
6745 char * kwnames[] = {
6746 (char *) "self",(char *) "statBar", NULL
6747 };
6748
6749 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) SWIG_fail;
6750 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6751 if (!SWIG_IsOK(res1)) {
6752 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6753 }
6754 arg1 = reinterpret_cast< wxFrame * >(argp1);
6755 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxStatusBar, 0 | 0 );
6756 if (!SWIG_IsOK(res2)) {
6757 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6758 }
6759 arg2 = reinterpret_cast< wxStatusBar * >(argp2);
6760 {
6761 PyThreadState* __tstate = wxPyBeginAllowThreads();
6762 (arg1)->SetStatusBar(arg2);
6763 wxPyEndAllowThreads(__tstate);
6764 if (PyErr_Occurred()) SWIG_fail;
6765 }
6766 resultobj = SWIG_Py_Void();
6767 return resultobj;
6768 fail:
6769 return NULL;
6770 }
6771
6772
6773 SWIGINTERN PyObject *_wrap_Frame_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6774 PyObject *resultobj = 0;
6775 wxFrame *arg1 = (wxFrame *) 0 ;
6776 wxString *arg2 = 0 ;
6777 int arg3 = (int) 0 ;
6778 void *argp1 = 0 ;
6779 int res1 = 0 ;
6780 bool temp2 = false ;
6781 int val3 ;
6782 int ecode3 = 0 ;
6783 PyObject * obj0 = 0 ;
6784 PyObject * obj1 = 0 ;
6785 PyObject * obj2 = 0 ;
6786 char * kwnames[] = {
6787 (char *) "self",(char *) "text",(char *) "number", NULL
6788 };
6789
6790 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6791 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6792 if (!SWIG_IsOK(res1)) {
6793 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6794 }
6795 arg1 = reinterpret_cast< wxFrame * >(argp1);
6796 {
6797 arg2 = wxString_in_helper(obj1);
6798 if (arg2 == NULL) SWIG_fail;
6799 temp2 = true;
6800 }
6801 if (obj2) {
6802 ecode3 = SWIG_AsVal_int(obj2, &val3);
6803 if (!SWIG_IsOK(ecode3)) {
6804 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6805 }
6806 arg3 = static_cast< int >(val3);
6807 }
6808 {
6809 PyThreadState* __tstate = wxPyBeginAllowThreads();
6810 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
6811 wxPyEndAllowThreads(__tstate);
6812 if (PyErr_Occurred()) SWIG_fail;
6813 }
6814 resultobj = SWIG_Py_Void();
6815 {
6816 if (temp2)
6817 delete arg2;
6818 }
6819 return resultobj;
6820 fail:
6821 {
6822 if (temp2)
6823 delete arg2;
6824 }
6825 return NULL;
6826 }
6827
6828
6829 SWIGINTERN PyObject *_wrap_Frame_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6830 PyObject *resultobj = 0;
6831 wxFrame *arg1 = (wxFrame *) 0 ;
6832 int arg2 ;
6833 int *arg3 = (int *) 0 ;
6834 void *argp1 = 0 ;
6835 int res1 = 0 ;
6836 PyObject * obj0 = 0 ;
6837 PyObject * obj1 = 0 ;
6838 char * kwnames[] = {
6839 (char *) "self",(char *) "widths", NULL
6840 };
6841
6842 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
6843 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6844 if (!SWIG_IsOK(res1)) {
6845 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6846 }
6847 arg1 = reinterpret_cast< wxFrame * >(argp1);
6848 {
6849 arg2 = PyList_Size(obj1);
6850 arg3 = int_LIST_helper(obj1);
6851 if (arg3 == NULL) SWIG_fail;
6852 }
6853 {
6854 PyThreadState* __tstate = wxPyBeginAllowThreads();
6855 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
6856 wxPyEndAllowThreads(__tstate);
6857 if (PyErr_Occurred()) SWIG_fail;
6858 }
6859 resultobj = SWIG_Py_Void();
6860 {
6861 if (arg3) delete [] arg3;
6862 }
6863 return resultobj;
6864 fail:
6865 {
6866 if (arg3) delete [] arg3;
6867 }
6868 return NULL;
6869 }
6870
6871
6872 SWIGINTERN PyObject *_wrap_Frame_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6873 PyObject *resultobj = 0;
6874 wxFrame *arg1 = (wxFrame *) 0 ;
6875 wxString *arg2 = 0 ;
6876 int arg3 = (int) 0 ;
6877 void *argp1 = 0 ;
6878 int res1 = 0 ;
6879 bool temp2 = false ;
6880 int val3 ;
6881 int ecode3 = 0 ;
6882 PyObject * obj0 = 0 ;
6883 PyObject * obj1 = 0 ;
6884 PyObject * obj2 = 0 ;
6885 char * kwnames[] = {
6886 (char *) "self",(char *) "text",(char *) "number", NULL
6887 };
6888
6889 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6890 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6891 if (!SWIG_IsOK(res1)) {
6892 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6893 }
6894 arg1 = reinterpret_cast< wxFrame * >(argp1);
6895 {
6896 arg2 = wxString_in_helper(obj1);
6897 if (arg2 == NULL) SWIG_fail;
6898 temp2 = true;
6899 }
6900 if (obj2) {
6901 ecode3 = SWIG_AsVal_int(obj2, &val3);
6902 if (!SWIG_IsOK(ecode3)) {
6903 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6904 }
6905 arg3 = static_cast< int >(val3);
6906 }
6907 {
6908 PyThreadState* __tstate = wxPyBeginAllowThreads();
6909 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
6910 wxPyEndAllowThreads(__tstate);
6911 if (PyErr_Occurred()) SWIG_fail;
6912 }
6913 resultobj = SWIG_Py_Void();
6914 {
6915 if (temp2)
6916 delete arg2;
6917 }
6918 return resultobj;
6919 fail:
6920 {
6921 if (temp2)
6922 delete arg2;
6923 }
6924 return NULL;
6925 }
6926
6927
6928 SWIGINTERN PyObject *_wrap_Frame_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6929 PyObject *resultobj = 0;
6930 wxFrame *arg1 = (wxFrame *) 0 ;
6931 int arg2 = (int) 0 ;
6932 void *argp1 = 0 ;
6933 int res1 = 0 ;
6934 int val2 ;
6935 int ecode2 = 0 ;
6936 PyObject * obj0 = 0 ;
6937 PyObject * obj1 = 0 ;
6938 char * kwnames[] = {
6939 (char *) "self",(char *) "number", NULL
6940 };
6941
6942 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
6943 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6944 if (!SWIG_IsOK(res1)) {
6945 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6946 }
6947 arg1 = reinterpret_cast< wxFrame * >(argp1);
6948 if (obj1) {
6949 ecode2 = SWIG_AsVal_int(obj1, &val2);
6950 if (!SWIG_IsOK(ecode2)) {
6951 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6952 }
6953 arg2 = static_cast< int >(val2);
6954 }
6955 {
6956 PyThreadState* __tstate = wxPyBeginAllowThreads();
6957 (arg1)->PopStatusText(arg2);
6958 wxPyEndAllowThreads(__tstate);
6959 if (PyErr_Occurred()) SWIG_fail;
6960 }
6961 resultobj = SWIG_Py_Void();
6962 return resultobj;
6963 fail:
6964 return NULL;
6965 }
6966
6967
6968 SWIGINTERN PyObject *_wrap_Frame_SetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6969 PyObject *resultobj = 0;
6970 wxFrame *arg1 = (wxFrame *) 0 ;
6971 int arg2 ;
6972 void *argp1 = 0 ;
6973 int res1 = 0 ;
6974 int val2 ;
6975 int ecode2 = 0 ;
6976 PyObject * obj0 = 0 ;
6977 PyObject * obj1 = 0 ;
6978 char * kwnames[] = {
6979 (char *) "self",(char *) "n", NULL
6980 };
6981
6982 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) SWIG_fail;
6983 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6984 if (!SWIG_IsOK(res1)) {
6985 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6986 }
6987 arg1 = reinterpret_cast< wxFrame * >(argp1);
6988 ecode2 = SWIG_AsVal_int(obj1, &val2);
6989 if (!SWIG_IsOK(ecode2)) {
6990 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6991 }
6992 arg2 = static_cast< int >(val2);
6993 {
6994 PyThreadState* __tstate = wxPyBeginAllowThreads();
6995 (arg1)->SetStatusBarPane(arg2);
6996 wxPyEndAllowThreads(__tstate);
6997 if (PyErr_Occurred()) SWIG_fail;
6998 }
6999 resultobj = SWIG_Py_Void();
7000 return resultobj;
7001 fail:
7002 return NULL;
7003 }
7004
7005
7006 SWIGINTERN PyObject *_wrap_Frame_GetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7007 PyObject *resultobj = 0;
7008 wxFrame *arg1 = (wxFrame *) 0 ;
7009 int result;
7010 void *argp1 = 0 ;
7011 int res1 = 0 ;
7012 PyObject *swig_obj[1] ;
7013
7014 if (!args) SWIG_fail;
7015 swig_obj[0] = args;
7016 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7017 if (!SWIG_IsOK(res1)) {
7018 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
7019 }
7020 arg1 = reinterpret_cast< wxFrame * >(argp1);
7021 {
7022 PyThreadState* __tstate = wxPyBeginAllowThreads();
7023 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
7024 wxPyEndAllowThreads(__tstate);
7025 if (PyErr_Occurred()) SWIG_fail;
7026 }
7027 resultobj = SWIG_From_int(static_cast< int >(result));
7028 return resultobj;
7029 fail:
7030 return NULL;
7031 }
7032
7033
7034 SWIGINTERN PyObject *_wrap_Frame_CreateToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7035 PyObject *resultobj = 0;
7036 wxFrame *arg1 = (wxFrame *) 0 ;
7037 long arg2 = (long) -1 ;
7038 int arg3 = (int) -1 ;
7039 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
7040 wxString *arg4 = (wxString *) &arg4_defvalue ;
7041 wxToolBar *result = 0 ;
7042 void *argp1 = 0 ;
7043 int res1 = 0 ;
7044 long val2 ;
7045 int ecode2 = 0 ;
7046 int val3 ;
7047 int ecode3 = 0 ;
7048 bool temp4 = false ;
7049 PyObject * obj0 = 0 ;
7050 PyObject * obj1 = 0 ;
7051 PyObject * obj2 = 0 ;
7052 PyObject * obj3 = 0 ;
7053 char * kwnames[] = {
7054 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
7055 };
7056
7057 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7058 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7059 if (!SWIG_IsOK(res1)) {
7060 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7061 }
7062 arg1 = reinterpret_cast< wxFrame * >(argp1);
7063 if (obj1) {
7064 ecode2 = SWIG_AsVal_long(obj1, &val2);
7065 if (!SWIG_IsOK(ecode2)) {
7066 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
7067 }
7068 arg2 = static_cast< long >(val2);
7069 }
7070 if (obj2) {
7071 ecode3 = SWIG_AsVal_int(obj2, &val3);
7072 if (!SWIG_IsOK(ecode3)) {
7073 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
7074 }
7075 arg3 = static_cast< int >(val3);
7076 }
7077 if (obj3) {
7078 {
7079 arg4 = wxString_in_helper(obj3);
7080 if (arg4 == NULL) SWIG_fail;
7081 temp4 = true;
7082 }
7083 }
7084 {
7085 PyThreadState* __tstate = wxPyBeginAllowThreads();
7086 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
7087 wxPyEndAllowThreads(__tstate);
7088 if (PyErr_Occurred()) SWIG_fail;
7089 }
7090 {
7091 resultobj = wxPyMake_wxObject(result, (bool)0);
7092 }
7093 {
7094 if (temp4)
7095 delete arg4;
7096 }
7097 return resultobj;
7098 fail:
7099 {
7100 if (temp4)
7101 delete arg4;
7102 }
7103 return NULL;
7104 }
7105
7106
7107 SWIGINTERN PyObject *_wrap_Frame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7108 PyObject *resultobj = 0;
7109 wxFrame *arg1 = (wxFrame *) 0 ;
7110 wxToolBar *result = 0 ;
7111 void *argp1 = 0 ;
7112 int res1 = 0 ;
7113 PyObject *swig_obj[1] ;
7114
7115 if (!args) SWIG_fail;
7116 swig_obj[0] = args;
7117 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7118 if (!SWIG_IsOK(res1)) {
7119 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
7120 }
7121 arg1 = reinterpret_cast< wxFrame * >(argp1);
7122 {
7123 PyThreadState* __tstate = wxPyBeginAllowThreads();
7124 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
7125 wxPyEndAllowThreads(__tstate);
7126 if (PyErr_Occurred()) SWIG_fail;
7127 }
7128 {
7129 resultobj = wxPyMake_wxObject(result, (bool)0);
7130 }
7131 return resultobj;
7132 fail:
7133 return NULL;
7134 }
7135
7136
7137 SWIGINTERN PyObject *_wrap_Frame_SetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7138 PyObject *resultobj = 0;
7139 wxFrame *arg1 = (wxFrame *) 0 ;
7140 wxToolBar *arg2 = (wxToolBar *) 0 ;
7141 void *argp1 = 0 ;
7142 int res1 = 0 ;
7143 void *argp2 = 0 ;
7144 int res2 = 0 ;
7145 PyObject * obj0 = 0 ;
7146 PyObject * obj1 = 0 ;
7147 char * kwnames[] = {
7148 (char *) "self",(char *) "toolbar", NULL
7149 };
7150
7151 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) SWIG_fail;
7152 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7153 if (!SWIG_IsOK(res1)) {
7154 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7155 }
7156 arg1 = reinterpret_cast< wxFrame * >(argp1);
7157 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBar, 0 | 0 );
7158 if (!SWIG_IsOK(res2)) {
7159 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
7160 }
7161 arg2 = reinterpret_cast< wxToolBar * >(argp2);
7162 {
7163 PyThreadState* __tstate = wxPyBeginAllowThreads();
7164 (arg1)->SetToolBar(arg2);
7165 wxPyEndAllowThreads(__tstate);
7166 if (PyErr_Occurred()) SWIG_fail;
7167 }
7168 resultobj = SWIG_Py_Void();
7169 return resultobj;
7170 fail:
7171 return NULL;
7172 }
7173
7174
7175 SWIGINTERN PyObject *_wrap_Frame_DoGiveHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7176 PyObject *resultobj = 0;
7177 wxFrame *arg1 = (wxFrame *) 0 ;
7178 wxString *arg2 = 0 ;
7179 bool arg3 ;
7180 void *argp1 = 0 ;
7181 int res1 = 0 ;
7182 bool temp2 = false ;
7183 bool val3 ;
7184 int ecode3 = 0 ;
7185 PyObject * obj0 = 0 ;
7186 PyObject * obj1 = 0 ;
7187 PyObject * obj2 = 0 ;
7188 char * kwnames[] = {
7189 (char *) "self",(char *) "text",(char *) "show", NULL
7190 };
7191
7192 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7193 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7194 if (!SWIG_IsOK(res1)) {
7195 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7196 }
7197 arg1 = reinterpret_cast< wxFrame * >(argp1);
7198 {
7199 arg2 = wxString_in_helper(obj1);
7200 if (arg2 == NULL) SWIG_fail;
7201 temp2 = true;
7202 }
7203 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7204 if (!SWIG_IsOK(ecode3)) {
7205 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7206 }
7207 arg3 = static_cast< bool >(val3);
7208 {
7209 PyThreadState* __tstate = wxPyBeginAllowThreads();
7210 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
7211 wxPyEndAllowThreads(__tstate);
7212 if (PyErr_Occurred()) SWIG_fail;
7213 }
7214 resultobj = SWIG_Py_Void();
7215 {
7216 if (temp2)
7217 delete arg2;
7218 }
7219 return resultobj;
7220 fail:
7221 {
7222 if (temp2)
7223 delete arg2;
7224 }
7225 return NULL;
7226 }
7227
7228
7229 SWIGINTERN PyObject *_wrap_Frame_DoMenuUpdates(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7230 PyObject *resultobj = 0;
7231 wxFrame *arg1 = (wxFrame *) 0 ;
7232 wxMenu *arg2 = (wxMenu *) NULL ;
7233 void *argp1 = 0 ;
7234 int res1 = 0 ;
7235 void *argp2 = 0 ;
7236 int res2 = 0 ;
7237 PyObject * obj0 = 0 ;
7238 PyObject * obj1 = 0 ;
7239 char * kwnames[] = {
7240 (char *) "self",(char *) "menu", NULL
7241 };
7242
7243 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) SWIG_fail;
7244 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7245 if (!SWIG_IsOK(res1)) {
7246 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7247 }
7248 arg1 = reinterpret_cast< wxFrame * >(argp1);
7249 if (obj1) {
7250 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
7251 if (!SWIG_IsOK(res2)) {
7252 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7253 }
7254 arg2 = reinterpret_cast< wxMenu * >(argp2);
7255 }
7256 {
7257 PyThreadState* __tstate = wxPyBeginAllowThreads();
7258 (arg1)->DoMenuUpdates(arg2);
7259 wxPyEndAllowThreads(__tstate);
7260 if (PyErr_Occurred()) SWIG_fail;
7261 }
7262 resultobj = SWIG_Py_Void();
7263 return resultobj;
7264 fail:
7265 return NULL;
7266 }
7267
7268
7269 SWIGINTERN PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7270 PyObject *resultobj = 0;
7271 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7272 SwigValueWrapper<wxVisualAttributes > result;
7273 int val1 ;
7274 int ecode1 = 0 ;
7275 PyObject * obj0 = 0 ;
7276 char * kwnames[] = {
7277 (char *) "variant", NULL
7278 };
7279
7280 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7281 if (obj0) {
7282 ecode1 = SWIG_AsVal_int(obj0, &val1);
7283 if (!SWIG_IsOK(ecode1)) {
7284 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7285 }
7286 arg1 = static_cast< wxWindowVariant >(val1);
7287 }
7288 {
7289 if (!wxPyCheckForApp()) SWIG_fail;
7290 PyThreadState* __tstate = wxPyBeginAllowThreads();
7291 result = wxFrame::GetClassDefaultAttributes(arg1);
7292 wxPyEndAllowThreads(__tstate);
7293 if (PyErr_Occurred()) SWIG_fail;
7294 }
7295 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7296 return resultobj;
7297 fail:
7298 return NULL;
7299 }
7300
7301
7302 SWIGINTERN PyObject *Frame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7303 PyObject *obj;
7304 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7305 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame, SWIG_NewClientData(obj));
7306 return SWIG_Py_Void();
7307 }
7308
7309 SWIGINTERN PyObject *Frame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7310 return SWIG_Python_InitShadowInstance(args);
7311 }
7312
7313 SWIGINTERN PyObject *_wrap_new_Dialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7314 PyObject *resultobj = 0;
7315 wxWindow *arg1 = (wxWindow *) 0 ;
7316 int arg2 = (int) (int)-1 ;
7317 wxString const &arg3_defvalue = wxPyEmptyString ;
7318 wxString *arg3 = (wxString *) &arg3_defvalue ;
7319 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7320 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7321 wxSize const &arg5_defvalue = wxDefaultSize ;
7322 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7323 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
7324 wxString const &arg7_defvalue = wxPyDialogNameStr ;
7325 wxString *arg7 = (wxString *) &arg7_defvalue ;
7326 wxDialog *result = 0 ;
7327 void *argp1 = 0 ;
7328 int res1 = 0 ;
7329 int val2 ;
7330 int ecode2 = 0 ;
7331 bool temp3 = false ;
7332 wxPoint temp4 ;
7333 wxSize temp5 ;
7334 long val6 ;
7335 int ecode6 = 0 ;
7336 bool temp7 = false ;
7337 PyObject * obj0 = 0 ;
7338 PyObject * obj1 = 0 ;
7339 PyObject * obj2 = 0 ;
7340 PyObject * obj3 = 0 ;
7341 PyObject * obj4 = 0 ;
7342 PyObject * obj5 = 0 ;
7343 PyObject * obj6 = 0 ;
7344 char * kwnames[] = {
7345 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7346 };
7347
7348 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7349 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7350 if (!SWIG_IsOK(res1)) {
7351 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7352 }
7353 arg1 = reinterpret_cast< wxWindow * >(argp1);
7354 if (obj1) {
7355 ecode2 = SWIG_AsVal_int(obj1, &val2);
7356 if (!SWIG_IsOK(ecode2)) {
7357 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7358 }
7359 arg2 = static_cast< int >(val2);
7360 }
7361 if (obj2) {
7362 {
7363 arg3 = wxString_in_helper(obj2);
7364 if (arg3 == NULL) SWIG_fail;
7365 temp3 = true;
7366 }
7367 }
7368 if (obj3) {
7369 {
7370 arg4 = &temp4;
7371 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7372 }
7373 }
7374 if (obj4) {
7375 {
7376 arg5 = &temp5;
7377 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7378 }
7379 }
7380 if (obj5) {
7381 ecode6 = SWIG_AsVal_long(obj5, &val6);
7382 if (!SWIG_IsOK(ecode6)) {
7383 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7384 }
7385 arg6 = static_cast< long >(val6);
7386 }
7387 if (obj6) {
7388 {
7389 arg7 = wxString_in_helper(obj6);
7390 if (arg7 == NULL) SWIG_fail;
7391 temp7 = true;
7392 }
7393 }
7394 {
7395 if (!wxPyCheckForApp()) SWIG_fail;
7396 PyThreadState* __tstate = wxPyBeginAllowThreads();
7397 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7398 wxPyEndAllowThreads(__tstate);
7399 if (PyErr_Occurred()) SWIG_fail;
7400 }
7401 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_NEW | 0 );
7402 {
7403 if (temp3)
7404 delete arg3;
7405 }
7406 {
7407 if (temp7)
7408 delete arg7;
7409 }
7410 return resultobj;
7411 fail:
7412 {
7413 if (temp3)
7414 delete arg3;
7415 }
7416 {
7417 if (temp7)
7418 delete arg7;
7419 }
7420 return NULL;
7421 }
7422
7423
7424 SWIGINTERN PyObject *_wrap_new_PreDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7425 PyObject *resultobj = 0;
7426 wxDialog *result = 0 ;
7427
7428 if (!SWIG_Python_UnpackTuple(args,"new_PreDialog",0,0,0)) SWIG_fail;
7429 {
7430 if (!wxPyCheckForApp()) SWIG_fail;
7431 PyThreadState* __tstate = wxPyBeginAllowThreads();
7432 result = (wxDialog *)new wxDialog();
7433 wxPyEndAllowThreads(__tstate);
7434 if (PyErr_Occurred()) SWIG_fail;
7435 }
7436 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_OWN | 0 );
7437 return resultobj;
7438 fail:
7439 return NULL;
7440 }
7441
7442
7443 SWIGINTERN PyObject *_wrap_Dialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7444 PyObject *resultobj = 0;
7445 wxDialog *arg1 = (wxDialog *) 0 ;
7446 wxWindow *arg2 = (wxWindow *) 0 ;
7447 int arg3 = (int) (int)-1 ;
7448 wxString const &arg4_defvalue = wxPyEmptyString ;
7449 wxString *arg4 = (wxString *) &arg4_defvalue ;
7450 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7451 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7452 wxSize const &arg6_defvalue = wxDefaultSize ;
7453 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7454 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
7455 wxString const &arg8_defvalue = wxPyDialogNameStr ;
7456 wxString *arg8 = (wxString *) &arg8_defvalue ;
7457 bool result;
7458 void *argp1 = 0 ;
7459 int res1 = 0 ;
7460 void *argp2 = 0 ;
7461 int res2 = 0 ;
7462 int val3 ;
7463 int ecode3 = 0 ;
7464 bool temp4 = false ;
7465 wxPoint temp5 ;
7466 wxSize temp6 ;
7467 long val7 ;
7468 int ecode7 = 0 ;
7469 bool temp8 = false ;
7470 PyObject * obj0 = 0 ;
7471 PyObject * obj1 = 0 ;
7472 PyObject * obj2 = 0 ;
7473 PyObject * obj3 = 0 ;
7474 PyObject * obj4 = 0 ;
7475 PyObject * obj5 = 0 ;
7476 PyObject * obj6 = 0 ;
7477 PyObject * obj7 = 0 ;
7478 char * kwnames[] = {
7479 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7480 };
7481
7482 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7483 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7484 if (!SWIG_IsOK(res1)) {
7485 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7486 }
7487 arg1 = reinterpret_cast< wxDialog * >(argp1);
7488 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7489 if (!SWIG_IsOK(res2)) {
7490 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7491 }
7492 arg2 = reinterpret_cast< wxWindow * >(argp2);
7493 if (obj2) {
7494 ecode3 = SWIG_AsVal_int(obj2, &val3);
7495 if (!SWIG_IsOK(ecode3)) {
7496 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7497 }
7498 arg3 = static_cast< int >(val3);
7499 }
7500 if (obj3) {
7501 {
7502 arg4 = wxString_in_helper(obj3);
7503 if (arg4 == NULL) SWIG_fail;
7504 temp4 = true;
7505 }
7506 }
7507 if (obj4) {
7508 {
7509 arg5 = &temp5;
7510 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7511 }
7512 }
7513 if (obj5) {
7514 {
7515 arg6 = &temp6;
7516 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7517 }
7518 }
7519 if (obj6) {
7520 ecode7 = SWIG_AsVal_long(obj6, &val7);
7521 if (!SWIG_IsOK(ecode7)) {
7522 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7523 }
7524 arg7 = static_cast< long >(val7);
7525 }
7526 if (obj7) {
7527 {
7528 arg8 = wxString_in_helper(obj7);
7529 if (arg8 == NULL) SWIG_fail;
7530 temp8 = true;
7531 }
7532 }
7533 {
7534 PyThreadState* __tstate = wxPyBeginAllowThreads();
7535 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7536 wxPyEndAllowThreads(__tstate);
7537 if (PyErr_Occurred()) SWIG_fail;
7538 }
7539 {
7540 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7541 }
7542 {
7543 if (temp4)
7544 delete arg4;
7545 }
7546 {
7547 if (temp8)
7548 delete arg8;
7549 }
7550 return resultobj;
7551 fail:
7552 {
7553 if (temp4)
7554 delete arg4;
7555 }
7556 {
7557 if (temp8)
7558 delete arg8;
7559 }
7560 return NULL;
7561 }
7562
7563
7564 SWIGINTERN PyObject *_wrap_Dialog_SetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7565 PyObject *resultobj = 0;
7566 wxDialog *arg1 = (wxDialog *) 0 ;
7567 int arg2 ;
7568 void *argp1 = 0 ;
7569 int res1 = 0 ;
7570 int val2 ;
7571 int ecode2 = 0 ;
7572 PyObject * obj0 = 0 ;
7573 PyObject * obj1 = 0 ;
7574 char * kwnames[] = {
7575 (char *) "self",(char *) "returnCode", NULL
7576 };
7577
7578 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) SWIG_fail;
7579 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7580 if (!SWIG_IsOK(res1)) {
7581 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7582 }
7583 arg1 = reinterpret_cast< wxDialog * >(argp1);
7584 ecode2 = SWIG_AsVal_int(obj1, &val2);
7585 if (!SWIG_IsOK(ecode2)) {
7586 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7587 }
7588 arg2 = static_cast< int >(val2);
7589 {
7590 PyThreadState* __tstate = wxPyBeginAllowThreads();
7591 (arg1)->SetReturnCode(arg2);
7592 wxPyEndAllowThreads(__tstate);
7593 if (PyErr_Occurred()) SWIG_fail;
7594 }
7595 resultobj = SWIG_Py_Void();
7596 return resultobj;
7597 fail:
7598 return NULL;
7599 }
7600
7601
7602 SWIGINTERN PyObject *_wrap_Dialog_GetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7603 PyObject *resultobj = 0;
7604 wxDialog *arg1 = (wxDialog *) 0 ;
7605 int result;
7606 void *argp1 = 0 ;
7607 int res1 = 0 ;
7608 PyObject *swig_obj[1] ;
7609
7610 if (!args) SWIG_fail;
7611 swig_obj[0] = args;
7612 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7613 if (!SWIG_IsOK(res1)) {
7614 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7615 }
7616 arg1 = reinterpret_cast< wxDialog * >(argp1);
7617 {
7618 PyThreadState* __tstate = wxPyBeginAllowThreads();
7619 result = (int)((wxDialog const *)arg1)->GetReturnCode();
7620 wxPyEndAllowThreads(__tstate);
7621 if (PyErr_Occurred()) SWIG_fail;
7622 }
7623 resultobj = SWIG_From_int(static_cast< int >(result));
7624 return resultobj;
7625 fail:
7626 return NULL;
7627 }
7628
7629
7630 SWIGINTERN PyObject *_wrap_Dialog_SetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7631 PyObject *resultobj = 0;
7632 wxDialog *arg1 = (wxDialog *) 0 ;
7633 int arg2 ;
7634 void *argp1 = 0 ;
7635 int res1 = 0 ;
7636 int val2 ;
7637 int ecode2 = 0 ;
7638 PyObject * obj0 = 0 ;
7639 PyObject * obj1 = 0 ;
7640 char * kwnames[] = {
7641 (char *) "self",(char *) "affirmativeId", NULL
7642 };
7643
7644 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetAffirmativeId",kwnames,&obj0,&obj1)) 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_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7648 }
7649 arg1 = reinterpret_cast< wxDialog * >(argp1);
7650 ecode2 = SWIG_AsVal_int(obj1, &val2);
7651 if (!SWIG_IsOK(ecode2)) {
7652 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7653 }
7654 arg2 = static_cast< int >(val2);
7655 {
7656 PyThreadState* __tstate = wxPyBeginAllowThreads();
7657 (arg1)->SetAffirmativeId(arg2);
7658 wxPyEndAllowThreads(__tstate);
7659 if (PyErr_Occurred()) SWIG_fail;
7660 }
7661 resultobj = SWIG_Py_Void();
7662 return resultobj;
7663 fail:
7664 return NULL;
7665 }
7666
7667
7668 SWIGINTERN PyObject *_wrap_Dialog_GetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7669 PyObject *resultobj = 0;
7670 wxDialog *arg1 = (wxDialog *) 0 ;
7671 int result;
7672 void *argp1 = 0 ;
7673 int res1 = 0 ;
7674 PyObject *swig_obj[1] ;
7675
7676 if (!args) SWIG_fail;
7677 swig_obj[0] = args;
7678 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7679 if (!SWIG_IsOK(res1)) {
7680 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7681 }
7682 arg1 = reinterpret_cast< wxDialog * >(argp1);
7683 {
7684 PyThreadState* __tstate = wxPyBeginAllowThreads();
7685 result = (int)((wxDialog const *)arg1)->GetAffirmativeId();
7686 wxPyEndAllowThreads(__tstate);
7687 if (PyErr_Occurred()) SWIG_fail;
7688 }
7689 resultobj = SWIG_From_int(static_cast< int >(result));
7690 return resultobj;
7691 fail:
7692 return NULL;
7693 }
7694
7695
7696 SWIGINTERN PyObject *_wrap_Dialog_SetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7697 PyObject *resultobj = 0;
7698 wxDialog *arg1 = (wxDialog *) 0 ;
7699 int arg2 ;
7700 void *argp1 = 0 ;
7701 int res1 = 0 ;
7702 int val2 ;
7703 int ecode2 = 0 ;
7704 PyObject * obj0 = 0 ;
7705 PyObject * obj1 = 0 ;
7706 char * kwnames[] = {
7707 (char *) "self",(char *) "escapeId", NULL
7708 };
7709
7710 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetEscapeId",kwnames,&obj0,&obj1)) SWIG_fail;
7711 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7712 if (!SWIG_IsOK(res1)) {
7713 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7714 }
7715 arg1 = reinterpret_cast< wxDialog * >(argp1);
7716 ecode2 = SWIG_AsVal_int(obj1, &val2);
7717 if (!SWIG_IsOK(ecode2)) {
7718 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7719 }
7720 arg2 = static_cast< int >(val2);
7721 {
7722 PyThreadState* __tstate = wxPyBeginAllowThreads();
7723 (arg1)->SetEscapeId(arg2);
7724 wxPyEndAllowThreads(__tstate);
7725 if (PyErr_Occurred()) SWIG_fail;
7726 }
7727 resultobj = SWIG_Py_Void();
7728 return resultobj;
7729 fail:
7730 return NULL;
7731 }
7732
7733
7734 SWIGINTERN PyObject *_wrap_Dialog_GetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7735 PyObject *resultobj = 0;
7736 wxDialog *arg1 = (wxDialog *) 0 ;
7737 int result;
7738 void *argp1 = 0 ;
7739 int res1 = 0 ;
7740 PyObject *swig_obj[1] ;
7741
7742 if (!args) SWIG_fail;
7743 swig_obj[0] = args;
7744 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7745 if (!SWIG_IsOK(res1)) {
7746 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7747 }
7748 arg1 = reinterpret_cast< wxDialog * >(argp1);
7749 {
7750 PyThreadState* __tstate = wxPyBeginAllowThreads();
7751 result = (int)((wxDialog const *)arg1)->GetEscapeId();
7752 wxPyEndAllowThreads(__tstate);
7753 if (PyErr_Occurred()) SWIG_fail;
7754 }
7755 resultobj = SWIG_From_int(static_cast< int >(result));
7756 return resultobj;
7757 fail:
7758 return NULL;
7759 }
7760
7761
7762 SWIGINTERN PyObject *_wrap_Dialog_CreateTextSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7763 PyObject *resultobj = 0;
7764 wxDialog *arg1 = (wxDialog *) 0 ;
7765 wxString *arg2 = 0 ;
7766 wxSizer *result = 0 ;
7767 void *argp1 = 0 ;
7768 int res1 = 0 ;
7769 bool temp2 = false ;
7770 PyObject * obj0 = 0 ;
7771 PyObject * obj1 = 0 ;
7772 char * kwnames[] = {
7773 (char *) "self",(char *) "message", NULL
7774 };
7775
7776 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7777 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7778 if (!SWIG_IsOK(res1)) {
7779 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7780 }
7781 arg1 = reinterpret_cast< wxDialog * >(argp1);
7782 {
7783 arg2 = wxString_in_helper(obj1);
7784 if (arg2 == NULL) SWIG_fail;
7785 temp2 = true;
7786 }
7787 {
7788 PyThreadState* __tstate = wxPyBeginAllowThreads();
7789 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
7790 wxPyEndAllowThreads(__tstate);
7791 if (PyErr_Occurred()) SWIG_fail;
7792 }
7793 {
7794 resultobj = wxPyMake_wxObject(result, (bool)0);
7795 }
7796 {
7797 if (temp2)
7798 delete arg2;
7799 }
7800 return resultobj;
7801 fail:
7802 {
7803 if (temp2)
7804 delete arg2;
7805 }
7806 return NULL;
7807 }
7808
7809
7810 SWIGINTERN PyObject *_wrap_Dialog__CreateButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7811 PyObject *resultobj = 0;
7812 wxDialog *arg1 = (wxDialog *) 0 ;
7813 long arg2 ;
7814 wxSizer *result = 0 ;
7815 void *argp1 = 0 ;
7816 int res1 = 0 ;
7817 long val2 ;
7818 int ecode2 = 0 ;
7819 PyObject * obj0 = 0 ;
7820 PyObject * obj1 = 0 ;
7821 char * kwnames[] = {
7822 (char *) "self",(char *) "flags", NULL
7823 };
7824
7825 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog__CreateButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7826 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7827 if (!SWIG_IsOK(res1)) {
7828 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7829 }
7830 arg1 = reinterpret_cast< wxDialog * >(argp1);
7831 ecode2 = SWIG_AsVal_long(obj1, &val2);
7832 if (!SWIG_IsOK(ecode2)) {
7833 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7834 }
7835 arg2 = static_cast< long >(val2);
7836 {
7837 PyThreadState* __tstate = wxPyBeginAllowThreads();
7838 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
7839 wxPyEndAllowThreads(__tstate);
7840 if (PyErr_Occurred()) SWIG_fail;
7841 }
7842 {
7843 resultobj = wxPyMake_wxObject(result, (bool)0);
7844 }
7845 return resultobj;
7846 fail:
7847 return NULL;
7848 }
7849
7850
7851 SWIGINTERN PyObject *_wrap_Dialog_CreateSeparatedButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7852 PyObject *resultobj = 0;
7853 wxDialog *arg1 = (wxDialog *) 0 ;
7854 long arg2 ;
7855 wxSizer *result = 0 ;
7856 void *argp1 = 0 ;
7857 int res1 = 0 ;
7858 long val2 ;
7859 int ecode2 = 0 ;
7860 PyObject * obj0 = 0 ;
7861 PyObject * obj1 = 0 ;
7862 char * kwnames[] = {
7863 (char *) "self",(char *) "flags", NULL
7864 };
7865
7866 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateSeparatedButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7867 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7868 if (!SWIG_IsOK(res1)) {
7869 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7870 }
7871 arg1 = reinterpret_cast< wxDialog * >(argp1);
7872 ecode2 = SWIG_AsVal_long(obj1, &val2);
7873 if (!SWIG_IsOK(ecode2)) {
7874 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "2"" of type '" "long""'");
7875 }
7876 arg2 = static_cast< long >(val2);
7877 {
7878 PyThreadState* __tstate = wxPyBeginAllowThreads();
7879 result = (wxSizer *)(arg1)->CreateSeparatedButtonSizer(arg2);
7880 wxPyEndAllowThreads(__tstate);
7881 if (PyErr_Occurred()) SWIG_fail;
7882 }
7883 {
7884 resultobj = wxPyMake_wxObject(result, (bool)0);
7885 }
7886 return resultobj;
7887 fail:
7888 return NULL;
7889 }
7890
7891
7892 SWIGINTERN PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7893 PyObject *resultobj = 0;
7894 wxDialog *arg1 = (wxDialog *) 0 ;
7895 long arg2 ;
7896 wxStdDialogButtonSizer *result = 0 ;
7897 void *argp1 = 0 ;
7898 int res1 = 0 ;
7899 long val2 ;
7900 int ecode2 = 0 ;
7901 PyObject * obj0 = 0 ;
7902 PyObject * obj1 = 0 ;
7903 char * kwnames[] = {
7904 (char *) "self",(char *) "flags", NULL
7905 };
7906
7907 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7908 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7909 if (!SWIG_IsOK(res1)) {
7910 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7911 }
7912 arg1 = reinterpret_cast< wxDialog * >(argp1);
7913 ecode2 = SWIG_AsVal_long(obj1, &val2);
7914 if (!SWIG_IsOK(ecode2)) {
7915 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7916 }
7917 arg2 = static_cast< long >(val2);
7918 {
7919 PyThreadState* __tstate = wxPyBeginAllowThreads();
7920 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
7921 wxPyEndAllowThreads(__tstate);
7922 if (PyErr_Occurred()) SWIG_fail;
7923 }
7924 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0 | 0 );
7925 return resultobj;
7926 fail:
7927 return NULL;
7928 }
7929
7930
7931 SWIGINTERN PyObject *_wrap_Dialog_IsModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7932 PyObject *resultobj = 0;
7933 wxDialog *arg1 = (wxDialog *) 0 ;
7934 bool result;
7935 void *argp1 = 0 ;
7936 int res1 = 0 ;
7937 PyObject *swig_obj[1] ;
7938
7939 if (!args) SWIG_fail;
7940 swig_obj[0] = args;
7941 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7942 if (!SWIG_IsOK(res1)) {
7943 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7944 }
7945 arg1 = reinterpret_cast< wxDialog * >(argp1);
7946 {
7947 PyThreadState* __tstate = wxPyBeginAllowThreads();
7948 result = (bool)((wxDialog const *)arg1)->IsModal();
7949 wxPyEndAllowThreads(__tstate);
7950 if (PyErr_Occurred()) SWIG_fail;
7951 }
7952 {
7953 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7954 }
7955 return resultobj;
7956 fail:
7957 return NULL;
7958 }
7959
7960
7961 SWIGINTERN PyObject *_wrap_Dialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7962 PyObject *resultobj = 0;
7963 wxDialog *arg1 = (wxDialog *) 0 ;
7964 int result;
7965 void *argp1 = 0 ;
7966 int res1 = 0 ;
7967 PyObject *swig_obj[1] ;
7968
7969 if (!args) SWIG_fail;
7970 swig_obj[0] = args;
7971 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7972 if (!SWIG_IsOK(res1)) {
7973 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7974 }
7975 arg1 = reinterpret_cast< wxDialog * >(argp1);
7976 {
7977 PyThreadState* __tstate = wxPyBeginAllowThreads();
7978 result = (int)(arg1)->ShowModal();
7979 wxPyEndAllowThreads(__tstate);
7980 if (PyErr_Occurred()) SWIG_fail;
7981 }
7982 resultobj = SWIG_From_int(static_cast< int >(result));
7983 return resultobj;
7984 fail:
7985 return NULL;
7986 }
7987
7988
7989 SWIGINTERN PyObject *_wrap_Dialog_EndModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7990 PyObject *resultobj = 0;
7991 wxDialog *arg1 = (wxDialog *) 0 ;
7992 int arg2 ;
7993 void *argp1 = 0 ;
7994 int res1 = 0 ;
7995 int val2 ;
7996 int ecode2 = 0 ;
7997 PyObject * obj0 = 0 ;
7998 PyObject * obj1 = 0 ;
7999 char * kwnames[] = {
8000 (char *) "self",(char *) "retCode", NULL
8001 };
8002
8003 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) SWIG_fail;
8004 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
8005 if (!SWIG_IsOK(res1)) {
8006 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
8007 }
8008 arg1 = reinterpret_cast< wxDialog * >(argp1);
8009 ecode2 = SWIG_AsVal_int(obj1, &val2);
8010 if (!SWIG_IsOK(ecode2)) {
8011 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
8012 }
8013 arg2 = static_cast< int >(val2);
8014 {
8015 PyThreadState* __tstate = wxPyBeginAllowThreads();
8016 (arg1)->EndModal(arg2);
8017 wxPyEndAllowThreads(__tstate);
8018 if (PyErr_Occurred()) SWIG_fail;
8019 }
8020 resultobj = SWIG_Py_Void();
8021 return resultobj;
8022 fail:
8023 return NULL;
8024 }
8025
8026
8027 SWIGINTERN PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8028 PyObject *resultobj = 0;
8029 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8030 SwigValueWrapper<wxVisualAttributes > result;
8031 int val1 ;
8032 int ecode1 = 0 ;
8033 PyObject * obj0 = 0 ;
8034 char * kwnames[] = {
8035 (char *) "variant", NULL
8036 };
8037
8038 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
8039 if (obj0) {
8040 ecode1 = SWIG_AsVal_int(obj0, &val1);
8041 if (!SWIG_IsOK(ecode1)) {
8042 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8043 }
8044 arg1 = static_cast< wxWindowVariant >(val1);
8045 }
8046 {
8047 if (!wxPyCheckForApp()) SWIG_fail;
8048 PyThreadState* __tstate = wxPyBeginAllowThreads();
8049 result = wxDialog::GetClassDefaultAttributes(arg1);
8050 wxPyEndAllowThreads(__tstate);
8051 if (PyErr_Occurred()) SWIG_fail;
8052 }
8053 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8054 return resultobj;
8055 fail:
8056 return NULL;
8057 }
8058
8059
8060 SWIGINTERN PyObject *Dialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8061 PyObject *obj;
8062 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8063 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog, SWIG_NewClientData(obj));
8064 return SWIG_Py_Void();
8065 }
8066
8067 SWIGINTERN PyObject *Dialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8068 return SWIG_Python_InitShadowInstance(args);
8069 }
8070
8071 SWIGINTERN PyObject *_wrap_new_MiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8072 PyObject *resultobj = 0;
8073 wxWindow *arg1 = (wxWindow *) 0 ;
8074 int arg2 = (int) (int)-1 ;
8075 wxString const &arg3_defvalue = wxPyEmptyString ;
8076 wxString *arg3 = (wxString *) &arg3_defvalue ;
8077 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8078 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8079 wxSize const &arg5_defvalue = wxDefaultSize ;
8080 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8081 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
8082 wxString const &arg7_defvalue = wxPyFrameNameStr ;
8083 wxString *arg7 = (wxString *) &arg7_defvalue ;
8084 wxMiniFrame *result = 0 ;
8085 void *argp1 = 0 ;
8086 int res1 = 0 ;
8087 int val2 ;
8088 int ecode2 = 0 ;
8089 bool temp3 = false ;
8090 wxPoint temp4 ;
8091 wxSize temp5 ;
8092 long val6 ;
8093 int ecode6 = 0 ;
8094 bool temp7 = false ;
8095 PyObject * obj0 = 0 ;
8096 PyObject * obj1 = 0 ;
8097 PyObject * obj2 = 0 ;
8098 PyObject * obj3 = 0 ;
8099 PyObject * obj4 = 0 ;
8100 PyObject * obj5 = 0 ;
8101 PyObject * obj6 = 0 ;
8102 char * kwnames[] = {
8103 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8104 };
8105
8106 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
8107 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8108 if (!SWIG_IsOK(res1)) {
8109 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
8110 }
8111 arg1 = reinterpret_cast< wxWindow * >(argp1);
8112 if (obj1) {
8113 ecode2 = SWIG_AsVal_int(obj1, &val2);
8114 if (!SWIG_IsOK(ecode2)) {
8115 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
8116 }
8117 arg2 = static_cast< int >(val2);
8118 }
8119 if (obj2) {
8120 {
8121 arg3 = wxString_in_helper(obj2);
8122 if (arg3 == NULL) SWIG_fail;
8123 temp3 = true;
8124 }
8125 }
8126 if (obj3) {
8127 {
8128 arg4 = &temp4;
8129 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8130 }
8131 }
8132 if (obj4) {
8133 {
8134 arg5 = &temp5;
8135 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8136 }
8137 }
8138 if (obj5) {
8139 ecode6 = SWIG_AsVal_long(obj5, &val6);
8140 if (!SWIG_IsOK(ecode6)) {
8141 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
8142 }
8143 arg6 = static_cast< long >(val6);
8144 }
8145 if (obj6) {
8146 {
8147 arg7 = wxString_in_helper(obj6);
8148 if (arg7 == NULL) SWIG_fail;
8149 temp7 = true;
8150 }
8151 }
8152 {
8153 if (!wxPyCheckForApp()) SWIG_fail;
8154 PyThreadState* __tstate = wxPyBeginAllowThreads();
8155 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8156 wxPyEndAllowThreads(__tstate);
8157 if (PyErr_Occurred()) SWIG_fail;
8158 }
8159 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_NEW | 0 );
8160 {
8161 if (temp3)
8162 delete arg3;
8163 }
8164 {
8165 if (temp7)
8166 delete arg7;
8167 }
8168 return resultobj;
8169 fail:
8170 {
8171 if (temp3)
8172 delete arg3;
8173 }
8174 {
8175 if (temp7)
8176 delete arg7;
8177 }
8178 return NULL;
8179 }
8180
8181
8182 SWIGINTERN PyObject *_wrap_new_PreMiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8183 PyObject *resultobj = 0;
8184 wxMiniFrame *result = 0 ;
8185
8186 if (!SWIG_Python_UnpackTuple(args,"new_PreMiniFrame",0,0,0)) SWIG_fail;
8187 {
8188 if (!wxPyCheckForApp()) SWIG_fail;
8189 PyThreadState* __tstate = wxPyBeginAllowThreads();
8190 result = (wxMiniFrame *)new wxMiniFrame();
8191 wxPyEndAllowThreads(__tstate);
8192 if (PyErr_Occurred()) SWIG_fail;
8193 }
8194 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_OWN | 0 );
8195 return resultobj;
8196 fail:
8197 return NULL;
8198 }
8199
8200
8201 SWIGINTERN PyObject *_wrap_MiniFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8202 PyObject *resultobj = 0;
8203 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
8204 wxWindow *arg2 = (wxWindow *) 0 ;
8205 int arg3 = (int) (int)-1 ;
8206 wxString const &arg4_defvalue = wxPyEmptyString ;
8207 wxString *arg4 = (wxString *) &arg4_defvalue ;
8208 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8209 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8210 wxSize const &arg6_defvalue = wxDefaultSize ;
8211 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8212 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
8213 wxString const &arg8_defvalue = wxPyFrameNameStr ;
8214 wxString *arg8 = (wxString *) &arg8_defvalue ;
8215 bool result;
8216 void *argp1 = 0 ;
8217 int res1 = 0 ;
8218 void *argp2 = 0 ;
8219 int res2 = 0 ;
8220 int val3 ;
8221 int ecode3 = 0 ;
8222 bool temp4 = false ;
8223 wxPoint temp5 ;
8224 wxSize temp6 ;
8225 long val7 ;
8226 int ecode7 = 0 ;
8227 bool temp8 = false ;
8228 PyObject * obj0 = 0 ;
8229 PyObject * obj1 = 0 ;
8230 PyObject * obj2 = 0 ;
8231 PyObject * obj3 = 0 ;
8232 PyObject * obj4 = 0 ;
8233 PyObject * obj5 = 0 ;
8234 PyObject * obj6 = 0 ;
8235 PyObject * obj7 = 0 ;
8236 char * kwnames[] = {
8237 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8238 };
8239
8240 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8241 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMiniFrame, 0 | 0 );
8242 if (!SWIG_IsOK(res1)) {
8243 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8244 }
8245 arg1 = reinterpret_cast< wxMiniFrame * >(argp1);
8246 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8247 if (!SWIG_IsOK(res2)) {
8248 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8249 }
8250 arg2 = reinterpret_cast< wxWindow * >(argp2);
8251 if (obj2) {
8252 ecode3 = SWIG_AsVal_int(obj2, &val3);
8253 if (!SWIG_IsOK(ecode3)) {
8254 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8255 }
8256 arg3 = static_cast< int >(val3);
8257 }
8258 if (obj3) {
8259 {
8260 arg4 = wxString_in_helper(obj3);
8261 if (arg4 == NULL) SWIG_fail;
8262 temp4 = true;
8263 }
8264 }
8265 if (obj4) {
8266 {
8267 arg5 = &temp5;
8268 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8269 }
8270 }
8271 if (obj5) {
8272 {
8273 arg6 = &temp6;
8274 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8275 }
8276 }
8277 if (obj6) {
8278 ecode7 = SWIG_AsVal_long(obj6, &val7);
8279 if (!SWIG_IsOK(ecode7)) {
8280 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8281 }
8282 arg7 = static_cast< long >(val7);
8283 }
8284 if (obj7) {
8285 {
8286 arg8 = wxString_in_helper(obj7);
8287 if (arg8 == NULL) SWIG_fail;
8288 temp8 = true;
8289 }
8290 }
8291 {
8292 PyThreadState* __tstate = wxPyBeginAllowThreads();
8293 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8294 wxPyEndAllowThreads(__tstate);
8295 if (PyErr_Occurred()) SWIG_fail;
8296 }
8297 {
8298 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8299 }
8300 {
8301 if (temp4)
8302 delete arg4;
8303 }
8304 {
8305 if (temp8)
8306 delete arg8;
8307 }
8308 return resultobj;
8309 fail:
8310 {
8311 if (temp4)
8312 delete arg4;
8313 }
8314 {
8315 if (temp8)
8316 delete arg8;
8317 }
8318 return NULL;
8319 }
8320
8321
8322 SWIGINTERN PyObject *MiniFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8323 PyObject *obj;
8324 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8325 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame, SWIG_NewClientData(obj));
8326 return SWIG_Py_Void();
8327 }
8328
8329 SWIGINTERN PyObject *MiniFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8330 return SWIG_Python_InitShadowInstance(args);
8331 }
8332
8333 SWIGINTERN PyObject *_wrap_new_SplashScreenWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8334 PyObject *resultobj = 0;
8335 wxBitmap *arg1 = 0 ;
8336 wxWindow *arg2 = (wxWindow *) 0 ;
8337 int arg3 ;
8338 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8339 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8340 wxSize const &arg5_defvalue = wxDefaultSize ;
8341 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8342 long arg6 = (long) wxNO_BORDER ;
8343 wxSplashScreenWindow *result = 0 ;
8344 void *argp1 = 0 ;
8345 int res1 = 0 ;
8346 void *argp2 = 0 ;
8347 int res2 = 0 ;
8348 int val3 ;
8349 int ecode3 = 0 ;
8350 wxPoint temp4 ;
8351 wxSize temp5 ;
8352 long val6 ;
8353 int ecode6 = 0 ;
8354 PyObject * obj0 = 0 ;
8355 PyObject * obj1 = 0 ;
8356 PyObject * obj2 = 0 ;
8357 PyObject * obj3 = 0 ;
8358 PyObject * obj4 = 0 ;
8359 PyObject * obj5 = 0 ;
8360 char * kwnames[] = {
8361 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8362 };
8363
8364 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
8365 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8366 if (!SWIG_IsOK(res1)) {
8367 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8368 }
8369 if (!argp1) {
8370 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8371 }
8372 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8373 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8374 if (!SWIG_IsOK(res2)) {
8375 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8376 }
8377 arg2 = reinterpret_cast< wxWindow * >(argp2);
8378 ecode3 = SWIG_AsVal_int(obj2, &val3);
8379 if (!SWIG_IsOK(ecode3)) {
8380 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8381 }
8382 arg3 = static_cast< int >(val3);
8383 if (obj3) {
8384 {
8385 arg4 = &temp4;
8386 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8387 }
8388 }
8389 if (obj4) {
8390 {
8391 arg5 = &temp5;
8392 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8393 }
8394 }
8395 if (obj5) {
8396 ecode6 = SWIG_AsVal_long(obj5, &val6);
8397 if (!SWIG_IsOK(ecode6)) {
8398 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8399 }
8400 arg6 = static_cast< long >(val6);
8401 }
8402 {
8403 if (!wxPyCheckForApp()) SWIG_fail;
8404 PyThreadState* __tstate = wxPyBeginAllowThreads();
8405 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
8406 wxPyEndAllowThreads(__tstate);
8407 if (PyErr_Occurred()) SWIG_fail;
8408 }
8409 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_NEW | 0 );
8410 return resultobj;
8411 fail:
8412 return NULL;
8413 }
8414
8415
8416 SWIGINTERN PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8417 PyObject *resultobj = 0;
8418 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8419 wxBitmap *arg2 = 0 ;
8420 void *argp1 = 0 ;
8421 int res1 = 0 ;
8422 void *argp2 = 0 ;
8423 int res2 = 0 ;
8424 PyObject * obj0 = 0 ;
8425 PyObject * obj1 = 0 ;
8426 char * kwnames[] = {
8427 (char *) "self",(char *) "bitmap", NULL
8428 };
8429
8430 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
8431 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8432 if (!SWIG_IsOK(res1)) {
8433 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8434 }
8435 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8436 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
8437 if (!SWIG_IsOK(res2)) {
8438 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8439 }
8440 if (!argp2) {
8441 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8442 }
8443 arg2 = reinterpret_cast< wxBitmap * >(argp2);
8444 {
8445 PyThreadState* __tstate = wxPyBeginAllowThreads();
8446 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8447 wxPyEndAllowThreads(__tstate);
8448 if (PyErr_Occurred()) SWIG_fail;
8449 }
8450 resultobj = SWIG_Py_Void();
8451 return resultobj;
8452 fail:
8453 return NULL;
8454 }
8455
8456
8457 SWIGINTERN PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8458 PyObject *resultobj = 0;
8459 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8460 wxBitmap *result = 0 ;
8461 void *argp1 = 0 ;
8462 int res1 = 0 ;
8463 PyObject *swig_obj[1] ;
8464
8465 if (!args) SWIG_fail;
8466 swig_obj[0] = args;
8467 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8468 if (!SWIG_IsOK(res1)) {
8469 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8470 }
8471 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8472 {
8473 PyThreadState* __tstate = wxPyBeginAllowThreads();
8474 {
8475 wxBitmap &_result_ref = (arg1)->GetBitmap();
8476 result = (wxBitmap *) &_result_ref;
8477 }
8478 wxPyEndAllowThreads(__tstate);
8479 if (PyErr_Occurred()) SWIG_fail;
8480 }
8481 {
8482 wxBitmap* resultptr = new wxBitmap(*result);
8483 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
8484 }
8485 return resultobj;
8486 fail:
8487 return NULL;
8488 }
8489
8490
8491 SWIGINTERN PyObject *SplashScreenWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8492 PyObject *obj;
8493 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8494 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow, SWIG_NewClientData(obj));
8495 return SWIG_Py_Void();
8496 }
8497
8498 SWIGINTERN PyObject *SplashScreenWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8499 return SWIG_Python_InitShadowInstance(args);
8500 }
8501
8502 SWIGINTERN PyObject *_wrap_new_SplashScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8503 PyObject *resultobj = 0;
8504 wxBitmap *arg1 = 0 ;
8505 long arg2 ;
8506 int arg3 ;
8507 wxWindow *arg4 = (wxWindow *) 0 ;
8508 int arg5 = (int) -1 ;
8509 wxPoint const &arg6_defvalue = wxDefaultPosition ;
8510 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
8511 wxSize const &arg7_defvalue = wxDefaultSize ;
8512 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
8513 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
8514 wxSplashScreen *result = 0 ;
8515 void *argp1 = 0 ;
8516 int res1 = 0 ;
8517 long val2 ;
8518 int ecode2 = 0 ;
8519 int val3 ;
8520 int ecode3 = 0 ;
8521 void *argp4 = 0 ;
8522 int res4 = 0 ;
8523 int val5 ;
8524 int ecode5 = 0 ;
8525 wxPoint temp6 ;
8526 wxSize temp7 ;
8527 long val8 ;
8528 int ecode8 = 0 ;
8529 PyObject * obj0 = 0 ;
8530 PyObject * obj1 = 0 ;
8531 PyObject * obj2 = 0 ;
8532 PyObject * obj3 = 0 ;
8533 PyObject * obj4 = 0 ;
8534 PyObject * obj5 = 0 ;
8535 PyObject * obj6 = 0 ;
8536 PyObject * obj7 = 0 ;
8537 char * kwnames[] = {
8538 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8539 };
8540
8541 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8542 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8543 if (!SWIG_IsOK(res1)) {
8544 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8545 }
8546 if (!argp1) {
8547 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8548 }
8549 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8550 ecode2 = SWIG_AsVal_long(obj1, &val2);
8551 if (!SWIG_IsOK(ecode2)) {
8552 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8553 }
8554 arg2 = static_cast< long >(val2);
8555 ecode3 = SWIG_AsVal_int(obj2, &val3);
8556 if (!SWIG_IsOK(ecode3)) {
8557 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8558 }
8559 arg3 = static_cast< int >(val3);
8560 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
8561 if (!SWIG_IsOK(res4)) {
8562 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8563 }
8564 arg4 = reinterpret_cast< wxWindow * >(argp4);
8565 if (obj4) {
8566 ecode5 = SWIG_AsVal_int(obj4, &val5);
8567 if (!SWIG_IsOK(ecode5)) {
8568 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8569 }
8570 arg5 = static_cast< int >(val5);
8571 }
8572 if (obj5) {
8573 {
8574 arg6 = &temp6;
8575 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
8576 }
8577 }
8578 if (obj6) {
8579 {
8580 arg7 = &temp7;
8581 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
8582 }
8583 }
8584 if (obj7) {
8585 ecode8 = SWIG_AsVal_long(obj7, &val8);
8586 if (!SWIG_IsOK(ecode8)) {
8587 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8588 }
8589 arg8 = static_cast< long >(val8);
8590 }
8591 {
8592 if (!wxPyCheckForApp()) SWIG_fail;
8593 PyThreadState* __tstate = wxPyBeginAllowThreads();
8594 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
8595 wxPyEndAllowThreads(__tstate);
8596 if (PyErr_Occurred()) SWIG_fail;
8597 }
8598 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_NEW | 0 );
8599 return resultobj;
8600 fail:
8601 return NULL;
8602 }
8603
8604
8605 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8606 PyObject *resultobj = 0;
8607 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8608 long result;
8609 void *argp1 = 0 ;
8610 int res1 = 0 ;
8611 PyObject *swig_obj[1] ;
8612
8613 if (!args) SWIG_fail;
8614 swig_obj[0] = args;
8615 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8616 if (!SWIG_IsOK(res1)) {
8617 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8618 }
8619 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8620 {
8621 PyThreadState* __tstate = wxPyBeginAllowThreads();
8622 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
8623 wxPyEndAllowThreads(__tstate);
8624 if (PyErr_Occurred()) SWIG_fail;
8625 }
8626 resultobj = SWIG_From_long(static_cast< long >(result));
8627 return resultobj;
8628 fail:
8629 return NULL;
8630 }
8631
8632
8633 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8634 PyObject *resultobj = 0;
8635 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8636 wxSplashScreenWindow *result = 0 ;
8637 void *argp1 = 0 ;
8638 int res1 = 0 ;
8639 PyObject *swig_obj[1] ;
8640
8641 if (!args) SWIG_fail;
8642 swig_obj[0] = args;
8643 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8644 if (!SWIG_IsOK(res1)) {
8645 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8646 }
8647 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8648 {
8649 PyThreadState* __tstate = wxPyBeginAllowThreads();
8650 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
8651 wxPyEndAllowThreads(__tstate);
8652 if (PyErr_Occurred()) SWIG_fail;
8653 }
8654 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8655 return resultobj;
8656 fail:
8657 return NULL;
8658 }
8659
8660
8661 SWIGINTERN PyObject *_wrap_SplashScreen_GetTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8662 PyObject *resultobj = 0;
8663 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8664 int result;
8665 void *argp1 = 0 ;
8666 int res1 = 0 ;
8667 PyObject *swig_obj[1] ;
8668
8669 if (!args) SWIG_fail;
8670 swig_obj[0] = args;
8671 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8672 if (!SWIG_IsOK(res1)) {
8673 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8674 }
8675 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8676 {
8677 PyThreadState* __tstate = wxPyBeginAllowThreads();
8678 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
8679 wxPyEndAllowThreads(__tstate);
8680 if (PyErr_Occurred()) SWIG_fail;
8681 }
8682 resultobj = SWIG_From_int(static_cast< int >(result));
8683 return resultobj;
8684 fail:
8685 return NULL;
8686 }
8687
8688
8689 SWIGINTERN PyObject *SplashScreen_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8690 PyObject *obj;
8691 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8692 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen, SWIG_NewClientData(obj));
8693 return SWIG_Py_Void();
8694 }
8695
8696 SWIGINTERN PyObject *SplashScreen_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8697 return SWIG_Python_InitShadowInstance(args);
8698 }
8699
8700 SWIGINTERN PyObject *_wrap_new_StatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8701 PyObject *resultobj = 0;
8702 wxWindow *arg1 = (wxWindow *) 0 ;
8703 int arg2 = (int) -1 ;
8704 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
8705 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
8706 wxString *arg4 = (wxString *) &arg4_defvalue ;
8707 wxStatusBar *result = 0 ;
8708 void *argp1 = 0 ;
8709 int res1 = 0 ;
8710 int val2 ;
8711 int ecode2 = 0 ;
8712 long val3 ;
8713 int ecode3 = 0 ;
8714 bool temp4 = false ;
8715 PyObject * obj0 = 0 ;
8716 PyObject * obj1 = 0 ;
8717 PyObject * obj2 = 0 ;
8718 PyObject * obj3 = 0 ;
8719 char * kwnames[] = {
8720 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8721 };
8722
8723 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
8724 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8725 if (!SWIG_IsOK(res1)) {
8726 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8727 }
8728 arg1 = reinterpret_cast< wxWindow * >(argp1);
8729 if (obj1) {
8730 ecode2 = SWIG_AsVal_int(obj1, &val2);
8731 if (!SWIG_IsOK(ecode2)) {
8732 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8733 }
8734 arg2 = static_cast< int >(val2);
8735 }
8736 if (obj2) {
8737 ecode3 = SWIG_AsVal_long(obj2, &val3);
8738 if (!SWIG_IsOK(ecode3)) {
8739 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8740 }
8741 arg3 = static_cast< long >(val3);
8742 }
8743 if (obj3) {
8744 {
8745 arg4 = wxString_in_helper(obj3);
8746 if (arg4 == NULL) SWIG_fail;
8747 temp4 = true;
8748 }
8749 }
8750 {
8751 if (!wxPyCheckForApp()) SWIG_fail;
8752 PyThreadState* __tstate = wxPyBeginAllowThreads();
8753 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
8754 wxPyEndAllowThreads(__tstate);
8755 if (PyErr_Occurred()) SWIG_fail;
8756 }
8757 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_NEW | 0 );
8758 {
8759 if (temp4)
8760 delete arg4;
8761 }
8762 return resultobj;
8763 fail:
8764 {
8765 if (temp4)
8766 delete arg4;
8767 }
8768 return NULL;
8769 }
8770
8771
8772 SWIGINTERN PyObject *_wrap_new_PreStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8773 PyObject *resultobj = 0;
8774 wxStatusBar *result = 0 ;
8775
8776 if (!SWIG_Python_UnpackTuple(args,"new_PreStatusBar",0,0,0)) SWIG_fail;
8777 {
8778 if (!wxPyCheckForApp()) SWIG_fail;
8779 PyThreadState* __tstate = wxPyBeginAllowThreads();
8780 result = (wxStatusBar *)new wxStatusBar();
8781 wxPyEndAllowThreads(__tstate);
8782 if (PyErr_Occurred()) SWIG_fail;
8783 }
8784 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_OWN | 0 );
8785 return resultobj;
8786 fail:
8787 return NULL;
8788 }
8789
8790
8791 SWIGINTERN PyObject *_wrap_StatusBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8792 PyObject *resultobj = 0;
8793 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8794 wxWindow *arg2 = (wxWindow *) 0 ;
8795 int arg3 = (int) -1 ;
8796 long arg4 = (long) wxST_SIZEGRIP ;
8797 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
8798 wxString *arg5 = (wxString *) &arg5_defvalue ;
8799 bool result;
8800 void *argp1 = 0 ;
8801 int res1 = 0 ;
8802 void *argp2 = 0 ;
8803 int res2 = 0 ;
8804 int val3 ;
8805 int ecode3 = 0 ;
8806 long val4 ;
8807 int ecode4 = 0 ;
8808 bool temp5 = false ;
8809 PyObject * obj0 = 0 ;
8810 PyObject * obj1 = 0 ;
8811 PyObject * obj2 = 0 ;
8812 PyObject * obj3 = 0 ;
8813 PyObject * obj4 = 0 ;
8814 char * kwnames[] = {
8815 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8816 };
8817
8818 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
8819 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8820 if (!SWIG_IsOK(res1)) {
8821 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8822 }
8823 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8824 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8825 if (!SWIG_IsOK(res2)) {
8826 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8827 }
8828 arg2 = reinterpret_cast< wxWindow * >(argp2);
8829 if (obj2) {
8830 ecode3 = SWIG_AsVal_int(obj2, &val3);
8831 if (!SWIG_IsOK(ecode3)) {
8832 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8833 }
8834 arg3 = static_cast< int >(val3);
8835 }
8836 if (obj3) {
8837 ecode4 = SWIG_AsVal_long(obj3, &val4);
8838 if (!SWIG_IsOK(ecode4)) {
8839 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8840 }
8841 arg4 = static_cast< long >(val4);
8842 }
8843 if (obj4) {
8844 {
8845 arg5 = wxString_in_helper(obj4);
8846 if (arg5 == NULL) SWIG_fail;
8847 temp5 = true;
8848 }
8849 }
8850 {
8851 PyThreadState* __tstate = wxPyBeginAllowThreads();
8852 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
8853 wxPyEndAllowThreads(__tstate);
8854 if (PyErr_Occurred()) SWIG_fail;
8855 }
8856 {
8857 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8858 }
8859 {
8860 if (temp5)
8861 delete arg5;
8862 }
8863 return resultobj;
8864 fail:
8865 {
8866 if (temp5)
8867 delete arg5;
8868 }
8869 return NULL;
8870 }
8871
8872
8873 SWIGINTERN PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8874 PyObject *resultobj = 0;
8875 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8876 int arg2 = (int) 1 ;
8877 void *argp1 = 0 ;
8878 int res1 = 0 ;
8879 int val2 ;
8880 int ecode2 = 0 ;
8881 PyObject * obj0 = 0 ;
8882 PyObject * obj1 = 0 ;
8883 char * kwnames[] = {
8884 (char *) "self",(char *) "number", NULL
8885 };
8886
8887 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) SWIG_fail;
8888 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8889 if (!SWIG_IsOK(res1)) {
8890 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8891 }
8892 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8893 if (obj1) {
8894 ecode2 = SWIG_AsVal_int(obj1, &val2);
8895 if (!SWIG_IsOK(ecode2)) {
8896 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8897 }
8898 arg2 = static_cast< int >(val2);
8899 }
8900 {
8901 PyThreadState* __tstate = wxPyBeginAllowThreads();
8902 (arg1)->SetFieldsCount(arg2);
8903 wxPyEndAllowThreads(__tstate);
8904 if (PyErr_Occurred()) SWIG_fail;
8905 }
8906 resultobj = SWIG_Py_Void();
8907 return resultobj;
8908 fail:
8909 return NULL;
8910 }
8911
8912
8913 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8914 PyObject *resultobj = 0;
8915 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8916 int result;
8917 void *argp1 = 0 ;
8918 int res1 = 0 ;
8919 PyObject *swig_obj[1] ;
8920
8921 if (!args) SWIG_fail;
8922 swig_obj[0] = args;
8923 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8924 if (!SWIG_IsOK(res1)) {
8925 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8926 }
8927 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8928 {
8929 PyThreadState* __tstate = wxPyBeginAllowThreads();
8930 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
8931 wxPyEndAllowThreads(__tstate);
8932 if (PyErr_Occurred()) SWIG_fail;
8933 }
8934 resultobj = SWIG_From_int(static_cast< int >(result));
8935 return resultobj;
8936 fail:
8937 return NULL;
8938 }
8939
8940
8941 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8942 PyObject *resultobj = 0;
8943 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8944 wxString *arg2 = 0 ;
8945 int arg3 = (int) 0 ;
8946 void *argp1 = 0 ;
8947 int res1 = 0 ;
8948 bool temp2 = false ;
8949 int val3 ;
8950 int ecode3 = 0 ;
8951 PyObject * obj0 = 0 ;
8952 PyObject * obj1 = 0 ;
8953 PyObject * obj2 = 0 ;
8954 char * kwnames[] = {
8955 (char *) "self",(char *) "text",(char *) "number", NULL
8956 };
8957
8958 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8959 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8960 if (!SWIG_IsOK(res1)) {
8961 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8962 }
8963 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8964 {
8965 arg2 = wxString_in_helper(obj1);
8966 if (arg2 == NULL) SWIG_fail;
8967 temp2 = true;
8968 }
8969 if (obj2) {
8970 ecode3 = SWIG_AsVal_int(obj2, &val3);
8971 if (!SWIG_IsOK(ecode3)) {
8972 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8973 }
8974 arg3 = static_cast< int >(val3);
8975 }
8976 {
8977 PyThreadState* __tstate = wxPyBeginAllowThreads();
8978 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
8979 wxPyEndAllowThreads(__tstate);
8980 if (PyErr_Occurred()) SWIG_fail;
8981 }
8982 resultobj = SWIG_Py_Void();
8983 {
8984 if (temp2)
8985 delete arg2;
8986 }
8987 return resultobj;
8988 fail:
8989 {
8990 if (temp2)
8991 delete arg2;
8992 }
8993 return NULL;
8994 }
8995
8996
8997 SWIGINTERN PyObject *_wrap_StatusBar_GetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8998 PyObject *resultobj = 0;
8999 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9000 int arg2 = (int) 0 ;
9001 wxString result;
9002 void *argp1 = 0 ;
9003 int res1 = 0 ;
9004 int val2 ;
9005 int ecode2 = 0 ;
9006 PyObject * obj0 = 0 ;
9007 PyObject * obj1 = 0 ;
9008 char * kwnames[] = {
9009 (char *) "self",(char *) "number", NULL
9010 };
9011
9012 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
9013 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9014 if (!SWIG_IsOK(res1)) {
9015 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9016 }
9017 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9018 if (obj1) {
9019 ecode2 = SWIG_AsVal_int(obj1, &val2);
9020 if (!SWIG_IsOK(ecode2)) {
9021 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
9022 }
9023 arg2 = static_cast< int >(val2);
9024 }
9025 {
9026 PyThreadState* __tstate = wxPyBeginAllowThreads();
9027 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
9028 wxPyEndAllowThreads(__tstate);
9029 if (PyErr_Occurred()) SWIG_fail;
9030 }
9031 {
9032 #if wxUSE_UNICODE
9033 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9034 #else
9035 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9036 #endif
9037 }
9038 return resultobj;
9039 fail:
9040 return NULL;
9041 }
9042
9043
9044 SWIGINTERN PyObject *_wrap_StatusBar_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9045 PyObject *resultobj = 0;
9046 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9047 wxString *arg2 = 0 ;
9048 int arg3 = (int) 0 ;
9049 void *argp1 = 0 ;
9050 int res1 = 0 ;
9051 bool temp2 = false ;
9052 int val3 ;
9053 int ecode3 = 0 ;
9054 PyObject * obj0 = 0 ;
9055 PyObject * obj1 = 0 ;
9056 PyObject * obj2 = 0 ;
9057 char * kwnames[] = {
9058 (char *) "self",(char *) "text",(char *) "number", NULL
9059 };
9060
9061 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9062 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9063 if (!SWIG_IsOK(res1)) {
9064 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9065 }
9066 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9067 {
9068 arg2 = wxString_in_helper(obj1);
9069 if (arg2 == NULL) SWIG_fail;
9070 temp2 = true;
9071 }
9072 if (obj2) {
9073 ecode3 = SWIG_AsVal_int(obj2, &val3);
9074 if (!SWIG_IsOK(ecode3)) {
9075 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
9076 }
9077 arg3 = static_cast< int >(val3);
9078 }
9079 {
9080 PyThreadState* __tstate = wxPyBeginAllowThreads();
9081 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
9082 wxPyEndAllowThreads(__tstate);
9083 if (PyErr_Occurred()) SWIG_fail;
9084 }
9085 resultobj = SWIG_Py_Void();
9086 {
9087 if (temp2)
9088 delete arg2;
9089 }
9090 return resultobj;
9091 fail:
9092 {
9093 if (temp2)
9094 delete arg2;
9095 }
9096 return NULL;
9097 }
9098
9099
9100 SWIGINTERN PyObject *_wrap_StatusBar_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9101 PyObject *resultobj = 0;
9102 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9103 int arg2 = (int) 0 ;
9104 void *argp1 = 0 ;
9105 int res1 = 0 ;
9106 int val2 ;
9107 int ecode2 = 0 ;
9108 PyObject * obj0 = 0 ;
9109 PyObject * obj1 = 0 ;
9110 char * kwnames[] = {
9111 (char *) "self",(char *) "number", NULL
9112 };
9113
9114 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
9115 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9116 if (!SWIG_IsOK(res1)) {
9117 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9118 }
9119 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9120 if (obj1) {
9121 ecode2 = SWIG_AsVal_int(obj1, &val2);
9122 if (!SWIG_IsOK(ecode2)) {
9123 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
9124 }
9125 arg2 = static_cast< int >(val2);
9126 }
9127 {
9128 PyThreadState* __tstate = wxPyBeginAllowThreads();
9129 (arg1)->PopStatusText(arg2);
9130 wxPyEndAllowThreads(__tstate);
9131 if (PyErr_Occurred()) SWIG_fail;
9132 }
9133 resultobj = SWIG_Py_Void();
9134 return resultobj;
9135 fail:
9136 return NULL;
9137 }
9138
9139
9140 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9141 PyObject *resultobj = 0;
9142 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9143 int arg2 ;
9144 int *arg3 = (int *) 0 ;
9145 void *argp1 = 0 ;
9146 int res1 = 0 ;
9147 PyObject * obj0 = 0 ;
9148 PyObject * obj1 = 0 ;
9149 char * kwnames[] = {
9150 (char *) "self",(char *) "widths", NULL
9151 };
9152
9153 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
9154 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9155 if (!SWIG_IsOK(res1)) {
9156 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9157 }
9158 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9159 {
9160 arg2 = PyList_Size(obj1);
9161 arg3 = int_LIST_helper(obj1);
9162 if (arg3 == NULL) SWIG_fail;
9163 }
9164 {
9165 PyThreadState* __tstate = wxPyBeginAllowThreads();
9166 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
9167 wxPyEndAllowThreads(__tstate);
9168 if (PyErr_Occurred()) SWIG_fail;
9169 }
9170 resultobj = SWIG_Py_Void();
9171 {
9172 if (arg3) delete [] arg3;
9173 }
9174 return resultobj;
9175 fail:
9176 {
9177 if (arg3) delete [] arg3;
9178 }
9179 return NULL;
9180 }
9181
9182
9183 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9184 PyObject *resultobj = 0;
9185 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9186 int arg2 ;
9187 int *arg3 = (int *) 0 ;
9188 void *argp1 = 0 ;
9189 int res1 = 0 ;
9190 PyObject * obj0 = 0 ;
9191 PyObject * obj1 = 0 ;
9192 char * kwnames[] = {
9193 (char *) "self",(char *) "styles", NULL
9194 };
9195
9196 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) SWIG_fail;
9197 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9198 if (!SWIG_IsOK(res1)) {
9199 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9200 }
9201 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9202 {
9203 arg2 = PyList_Size(obj1);
9204 arg3 = int_LIST_helper(obj1);
9205 if (arg3 == NULL) SWIG_fail;
9206 }
9207 {
9208 PyThreadState* __tstate = wxPyBeginAllowThreads();
9209 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
9210 wxPyEndAllowThreads(__tstate);
9211 if (PyErr_Occurred()) SWIG_fail;
9212 }
9213 resultobj = SWIG_Py_Void();
9214 {
9215 if (arg3) delete [] arg3;
9216 }
9217 return resultobj;
9218 fail:
9219 {
9220 if (arg3) delete [] arg3;
9221 }
9222 return NULL;
9223 }
9224
9225
9226 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9227 PyObject *resultobj = 0;
9228 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9229 int arg2 ;
9230 wxRect result;
9231 void *argp1 = 0 ;
9232 int res1 = 0 ;
9233 int val2 ;
9234 int ecode2 = 0 ;
9235 PyObject * obj0 = 0 ;
9236 PyObject * obj1 = 0 ;
9237 char * kwnames[] = {
9238 (char *) "self",(char *) "i", NULL
9239 };
9240
9241 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) SWIG_fail;
9242 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9243 if (!SWIG_IsOK(res1)) {
9244 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9245 }
9246 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9247 ecode2 = SWIG_AsVal_int(obj1, &val2);
9248 if (!SWIG_IsOK(ecode2)) {
9249 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9250 }
9251 arg2 = static_cast< int >(val2);
9252 {
9253 PyThreadState* __tstate = wxPyBeginAllowThreads();
9254 result = wxStatusBar_GetFieldRect(arg1,arg2);
9255 wxPyEndAllowThreads(__tstate);
9256 if (PyErr_Occurred()) SWIG_fail;
9257 }
9258 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
9259 return resultobj;
9260 fail:
9261 return NULL;
9262 }
9263
9264
9265 SWIGINTERN PyObject *_wrap_StatusBar_SetMinHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9266 PyObject *resultobj = 0;
9267 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9268 int arg2 ;
9269 void *argp1 = 0 ;
9270 int res1 = 0 ;
9271 int val2 ;
9272 int ecode2 = 0 ;
9273 PyObject * obj0 = 0 ;
9274 PyObject * obj1 = 0 ;
9275 char * kwnames[] = {
9276 (char *) "self",(char *) "height", NULL
9277 };
9278
9279 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) SWIG_fail;
9280 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9281 if (!SWIG_IsOK(res1)) {
9282 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9283 }
9284 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9285 ecode2 = SWIG_AsVal_int(obj1, &val2);
9286 if (!SWIG_IsOK(ecode2)) {
9287 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9288 }
9289 arg2 = static_cast< int >(val2);
9290 {
9291 PyThreadState* __tstate = wxPyBeginAllowThreads();
9292 (arg1)->SetMinHeight(arg2);
9293 wxPyEndAllowThreads(__tstate);
9294 if (PyErr_Occurred()) SWIG_fail;
9295 }
9296 resultobj = SWIG_Py_Void();
9297 return resultobj;
9298 fail:
9299 return NULL;
9300 }
9301
9302
9303 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9304 PyObject *resultobj = 0;
9305 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9306 int result;
9307 void *argp1 = 0 ;
9308 int res1 = 0 ;
9309 PyObject *swig_obj[1] ;
9310
9311 if (!args) SWIG_fail;
9312 swig_obj[0] = args;
9313 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9314 if (!SWIG_IsOK(res1)) {
9315 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9316 }
9317 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9318 {
9319 PyThreadState* __tstate = wxPyBeginAllowThreads();
9320 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
9321 wxPyEndAllowThreads(__tstate);
9322 if (PyErr_Occurred()) SWIG_fail;
9323 }
9324 resultobj = SWIG_From_int(static_cast< int >(result));
9325 return resultobj;
9326 fail:
9327 return NULL;
9328 }
9329
9330
9331 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9332 PyObject *resultobj = 0;
9333 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9334 int result;
9335 void *argp1 = 0 ;
9336 int res1 = 0 ;
9337 PyObject *swig_obj[1] ;
9338
9339 if (!args) SWIG_fail;
9340 swig_obj[0] = args;
9341 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9342 if (!SWIG_IsOK(res1)) {
9343 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9344 }
9345 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9346 {
9347 PyThreadState* __tstate = wxPyBeginAllowThreads();
9348 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
9349 wxPyEndAllowThreads(__tstate);
9350 if (PyErr_Occurred()) SWIG_fail;
9351 }
9352 resultobj = SWIG_From_int(static_cast< int >(result));
9353 return resultobj;
9354 fail:
9355 return NULL;
9356 }
9357
9358
9359 SWIGINTERN PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9360 PyObject *resultobj = 0;
9361 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
9362 SwigValueWrapper<wxVisualAttributes > result;
9363 int val1 ;
9364 int ecode1 = 0 ;
9365 PyObject * obj0 = 0 ;
9366 char * kwnames[] = {
9367 (char *) "variant", NULL
9368 };
9369
9370 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
9371 if (obj0) {
9372 ecode1 = SWIG_AsVal_int(obj0, &val1);
9373 if (!SWIG_IsOK(ecode1)) {
9374 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9375 }
9376 arg1 = static_cast< wxWindowVariant >(val1);
9377 }
9378 {
9379 if (!wxPyCheckForApp()) SWIG_fail;
9380 PyThreadState* __tstate = wxPyBeginAllowThreads();
9381 result = wxStatusBar::GetClassDefaultAttributes(arg1);
9382 wxPyEndAllowThreads(__tstate);
9383 if (PyErr_Occurred()) SWIG_fail;
9384 }
9385 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
9386 return resultobj;
9387 fail:
9388 return NULL;
9389 }
9390
9391
9392 SWIGINTERN PyObject *StatusBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9393 PyObject *obj;
9394 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9395 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar, SWIG_NewClientData(obj));
9396 return SWIG_Py_Void();
9397 }
9398
9399 SWIGINTERN PyObject *StatusBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9400 return SWIG_Python_InitShadowInstance(args);
9401 }
9402
9403 SWIGINTERN int SplitterNameStr_set(PyObject *) {
9404 SWIG_Error(SWIG_AttributeError,"Variable SplitterNameStr is read-only.");
9405 return 1;
9406 }
9407
9408
9409 SWIGINTERN PyObject *SplitterNameStr_get(void) {
9410 PyObject *pyobj = 0;
9411
9412 {
9413 #if wxUSE_UNICODE
9414 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9415 #else
9416 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9417 #endif
9418 }
9419 return pyobj;
9420 }
9421
9422
9423 SWIGINTERN PyObject *_wrap_new_SplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9424 PyObject *resultobj = 0;
9425 wxWindow *arg1 = (wxWindow *) 0 ;
9426 int arg2 = (int) -1 ;
9427 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9428 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9429 wxSize const &arg4_defvalue = wxDefaultSize ;
9430 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9431 long arg5 = (long) wxSP_3D ;
9432 wxString const &arg6_defvalue = wxPySplitterNameStr ;
9433 wxString *arg6 = (wxString *) &arg6_defvalue ;
9434 wxSplitterWindow *result = 0 ;
9435 void *argp1 = 0 ;
9436 int res1 = 0 ;
9437 int val2 ;
9438 int ecode2 = 0 ;
9439 wxPoint temp3 ;
9440 wxSize temp4 ;
9441 long val5 ;
9442 int ecode5 = 0 ;
9443 bool temp6 = false ;
9444 PyObject * obj0 = 0 ;
9445 PyObject * obj1 = 0 ;
9446 PyObject * obj2 = 0 ;
9447 PyObject * obj3 = 0 ;
9448 PyObject * obj4 = 0 ;
9449 PyObject * obj5 = 0 ;
9450 char * kwnames[] = {
9451 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9452 };
9453
9454 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9455 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
9456 if (!SWIG_IsOK(res1)) {
9457 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9458 }
9459 arg1 = reinterpret_cast< wxWindow * >(argp1);
9460 if (obj1) {
9461 ecode2 = SWIG_AsVal_int(obj1, &val2);
9462 if (!SWIG_IsOK(ecode2)) {
9463 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9464 }
9465 arg2 = static_cast< int >(val2);
9466 }
9467 if (obj2) {
9468 {
9469 arg3 = &temp3;
9470 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9471 }
9472 }
9473 if (obj3) {
9474 {
9475 arg4 = &temp4;
9476 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9477 }
9478 }
9479 if (obj4) {
9480 ecode5 = SWIG_AsVal_long(obj4, &val5);
9481 if (!SWIG_IsOK(ecode5)) {
9482 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9483 }
9484 arg5 = static_cast< long >(val5);
9485 }
9486 if (obj5) {
9487 {
9488 arg6 = wxString_in_helper(obj5);
9489 if (arg6 == NULL) SWIG_fail;
9490 temp6 = true;
9491 }
9492 }
9493 {
9494 if (!wxPyCheckForApp()) SWIG_fail;
9495 PyThreadState* __tstate = wxPyBeginAllowThreads();
9496 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9497 wxPyEndAllowThreads(__tstate);
9498 if (PyErr_Occurred()) SWIG_fail;
9499 }
9500 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_NEW | 0 );
9501 {
9502 if (temp6)
9503 delete arg6;
9504 }
9505 return resultobj;
9506 fail:
9507 {
9508 if (temp6)
9509 delete arg6;
9510 }
9511 return NULL;
9512 }
9513
9514
9515 SWIGINTERN PyObject *_wrap_new_PreSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9516 PyObject *resultobj = 0;
9517 wxSplitterWindow *result = 0 ;
9518
9519 if (!SWIG_Python_UnpackTuple(args,"new_PreSplitterWindow",0,0,0)) SWIG_fail;
9520 {
9521 if (!wxPyCheckForApp()) SWIG_fail;
9522 PyThreadState* __tstate = wxPyBeginAllowThreads();
9523 result = (wxSplitterWindow *)new wxSplitterWindow();
9524 wxPyEndAllowThreads(__tstate);
9525 if (PyErr_Occurred()) SWIG_fail;
9526 }
9527 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_OWN | 0 );
9528 return resultobj;
9529 fail:
9530 return NULL;
9531 }
9532
9533
9534 SWIGINTERN PyObject *_wrap_SplitterWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9535 PyObject *resultobj = 0;
9536 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9537 wxWindow *arg2 = (wxWindow *) 0 ;
9538 int arg3 = (int) -1 ;
9539 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9540 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9541 wxSize const &arg5_defvalue = wxDefaultSize ;
9542 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9543 long arg6 = (long) wxSP_3D ;
9544 wxString const &arg7_defvalue = wxPySplitterNameStr ;
9545 wxString *arg7 = (wxString *) &arg7_defvalue ;
9546 bool result;
9547 void *argp1 = 0 ;
9548 int res1 = 0 ;
9549 void *argp2 = 0 ;
9550 int res2 = 0 ;
9551 int val3 ;
9552 int ecode3 = 0 ;
9553 wxPoint temp4 ;
9554 wxSize temp5 ;
9555 long val6 ;
9556 int ecode6 = 0 ;
9557 bool temp7 = false ;
9558 PyObject * obj0 = 0 ;
9559 PyObject * obj1 = 0 ;
9560 PyObject * obj2 = 0 ;
9561 PyObject * obj3 = 0 ;
9562 PyObject * obj4 = 0 ;
9563 PyObject * obj5 = 0 ;
9564 PyObject * obj6 = 0 ;
9565 char * kwnames[] = {
9566 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9567 };
9568
9569 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9570 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9571 if (!SWIG_IsOK(res1)) {
9572 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9573 }
9574 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9575 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9576 if (!SWIG_IsOK(res2)) {
9577 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9578 }
9579 arg2 = reinterpret_cast< wxWindow * >(argp2);
9580 if (obj2) {
9581 ecode3 = SWIG_AsVal_int(obj2, &val3);
9582 if (!SWIG_IsOK(ecode3)) {
9583 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9584 }
9585 arg3 = static_cast< int >(val3);
9586 }
9587 if (obj3) {
9588 {
9589 arg4 = &temp4;
9590 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9591 }
9592 }
9593 if (obj4) {
9594 {
9595 arg5 = &temp5;
9596 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9597 }
9598 }
9599 if (obj5) {
9600 ecode6 = SWIG_AsVal_long(obj5, &val6);
9601 if (!SWIG_IsOK(ecode6)) {
9602 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9603 }
9604 arg6 = static_cast< long >(val6);
9605 }
9606 if (obj6) {
9607 {
9608 arg7 = wxString_in_helper(obj6);
9609 if (arg7 == NULL) SWIG_fail;
9610 temp7 = true;
9611 }
9612 }
9613 {
9614 PyThreadState* __tstate = wxPyBeginAllowThreads();
9615 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9616 wxPyEndAllowThreads(__tstate);
9617 if (PyErr_Occurred()) SWIG_fail;
9618 }
9619 {
9620 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9621 }
9622 {
9623 if (temp7)
9624 delete arg7;
9625 }
9626 return resultobj;
9627 fail:
9628 {
9629 if (temp7)
9630 delete arg7;
9631 }
9632 return NULL;
9633 }
9634
9635
9636 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9637 PyObject *resultobj = 0;
9638 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9639 wxWindow *result = 0 ;
9640 void *argp1 = 0 ;
9641 int res1 = 0 ;
9642 PyObject *swig_obj[1] ;
9643
9644 if (!args) SWIG_fail;
9645 swig_obj[0] = args;
9646 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9647 if (!SWIG_IsOK(res1)) {
9648 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9649 }
9650 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9651 {
9652 PyThreadState* __tstate = wxPyBeginAllowThreads();
9653 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
9654 wxPyEndAllowThreads(__tstate);
9655 if (PyErr_Occurred()) SWIG_fail;
9656 }
9657 {
9658 resultobj = wxPyMake_wxObject(result, 0);
9659 }
9660 return resultobj;
9661 fail:
9662 return NULL;
9663 }
9664
9665
9666 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9667 PyObject *resultobj = 0;
9668 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9669 wxWindow *result = 0 ;
9670 void *argp1 = 0 ;
9671 int res1 = 0 ;
9672 PyObject *swig_obj[1] ;
9673
9674 if (!args) SWIG_fail;
9675 swig_obj[0] = args;
9676 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9677 if (!SWIG_IsOK(res1)) {
9678 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9679 }
9680 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9681 {
9682 PyThreadState* __tstate = wxPyBeginAllowThreads();
9683 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
9684 wxPyEndAllowThreads(__tstate);
9685 if (PyErr_Occurred()) SWIG_fail;
9686 }
9687 {
9688 resultobj = wxPyMake_wxObject(result, 0);
9689 }
9690 return resultobj;
9691 fail:
9692 return NULL;
9693 }
9694
9695
9696 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9697 PyObject *resultobj = 0;
9698 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9699 int arg2 ;
9700 void *argp1 = 0 ;
9701 int res1 = 0 ;
9702 int val2 ;
9703 int ecode2 = 0 ;
9704 PyObject * obj0 = 0 ;
9705 PyObject * obj1 = 0 ;
9706 char * kwnames[] = {
9707 (char *) "self",(char *) "mode", NULL
9708 };
9709
9710 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) SWIG_fail;
9711 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9712 if (!SWIG_IsOK(res1)) {
9713 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9714 }
9715 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9716 ecode2 = SWIG_AsVal_int(obj1, &val2);
9717 if (!SWIG_IsOK(ecode2)) {
9718 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9719 }
9720 arg2 = static_cast< int >(val2);
9721 {
9722 PyThreadState* __tstate = wxPyBeginAllowThreads();
9723 (arg1)->SetSplitMode(arg2);
9724 wxPyEndAllowThreads(__tstate);
9725 if (PyErr_Occurred()) SWIG_fail;
9726 }
9727 resultobj = SWIG_Py_Void();
9728 return resultobj;
9729 fail:
9730 return NULL;
9731 }
9732
9733
9734 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9735 PyObject *resultobj = 0;
9736 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9737 wxSplitMode result;
9738 void *argp1 = 0 ;
9739 int res1 = 0 ;
9740 PyObject *swig_obj[1] ;
9741
9742 if (!args) SWIG_fail;
9743 swig_obj[0] = args;
9744 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9745 if (!SWIG_IsOK(res1)) {
9746 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9747 }
9748 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9749 {
9750 PyThreadState* __tstate = wxPyBeginAllowThreads();
9751 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
9752 wxPyEndAllowThreads(__tstate);
9753 if (PyErr_Occurred()) SWIG_fail;
9754 }
9755 resultobj = SWIG_From_int(static_cast< int >(result));
9756 return resultobj;
9757 fail:
9758 return NULL;
9759 }
9760
9761
9762 SWIGINTERN PyObject *_wrap_SplitterWindow_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9763 PyObject *resultobj = 0;
9764 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9765 wxWindow *arg2 = (wxWindow *) 0 ;
9766 void *argp1 = 0 ;
9767 int res1 = 0 ;
9768 void *argp2 = 0 ;
9769 int res2 = 0 ;
9770 PyObject * obj0 = 0 ;
9771 PyObject * obj1 = 0 ;
9772 char * kwnames[] = {
9773 (char *) "self",(char *) "window", NULL
9774 };
9775
9776 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) 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_Initialize" "', 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_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9785 }
9786 arg2 = reinterpret_cast< wxWindow * >(argp2);
9787 {
9788 PyThreadState* __tstate = wxPyBeginAllowThreads();
9789 (arg1)->Initialize(arg2);
9790 wxPyEndAllowThreads(__tstate);
9791 if (PyErr_Occurred()) SWIG_fail;
9792 }
9793 resultobj = SWIG_Py_Void();
9794 return resultobj;
9795 fail:
9796 return NULL;
9797 }
9798
9799
9800 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9801 PyObject *resultobj = 0;
9802 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9803 wxWindow *arg2 = (wxWindow *) 0 ;
9804 wxWindow *arg3 = (wxWindow *) 0 ;
9805 int arg4 = (int) 0 ;
9806 bool result;
9807 void *argp1 = 0 ;
9808 int res1 = 0 ;
9809 void *argp2 = 0 ;
9810 int res2 = 0 ;
9811 void *argp3 = 0 ;
9812 int res3 = 0 ;
9813 int val4 ;
9814 int ecode4 = 0 ;
9815 PyObject * obj0 = 0 ;
9816 PyObject * obj1 = 0 ;
9817 PyObject * obj2 = 0 ;
9818 PyObject * obj3 = 0 ;
9819 char * kwnames[] = {
9820 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9821 };
9822
9823 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9824 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9825 if (!SWIG_IsOK(res1)) {
9826 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9827 }
9828 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9829 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9830 if (!SWIG_IsOK(res2)) {
9831 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9832 }
9833 arg2 = reinterpret_cast< wxWindow * >(argp2);
9834 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9835 if (!SWIG_IsOK(res3)) {
9836 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9837 }
9838 arg3 = reinterpret_cast< wxWindow * >(argp3);
9839 if (obj3) {
9840 ecode4 = SWIG_AsVal_int(obj3, &val4);
9841 if (!SWIG_IsOK(ecode4)) {
9842 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9843 }
9844 arg4 = static_cast< int >(val4);
9845 }
9846 {
9847 PyThreadState* __tstate = wxPyBeginAllowThreads();
9848 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
9849 wxPyEndAllowThreads(__tstate);
9850 if (PyErr_Occurred()) SWIG_fail;
9851 }
9852 {
9853 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9854 }
9855 return resultobj;
9856 fail:
9857 return NULL;
9858 }
9859
9860
9861 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9862 PyObject *resultobj = 0;
9863 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9864 wxWindow *arg2 = (wxWindow *) 0 ;
9865 wxWindow *arg3 = (wxWindow *) 0 ;
9866 int arg4 = (int) 0 ;
9867 bool result;
9868 void *argp1 = 0 ;
9869 int res1 = 0 ;
9870 void *argp2 = 0 ;
9871 int res2 = 0 ;
9872 void *argp3 = 0 ;
9873 int res3 = 0 ;
9874 int val4 ;
9875 int ecode4 = 0 ;
9876 PyObject * obj0 = 0 ;
9877 PyObject * obj1 = 0 ;
9878 PyObject * obj2 = 0 ;
9879 PyObject * obj3 = 0 ;
9880 char * kwnames[] = {
9881 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9882 };
9883
9884 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9885 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9886 if (!SWIG_IsOK(res1)) {
9887 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9888 }
9889 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9890 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9891 if (!SWIG_IsOK(res2)) {
9892 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9893 }
9894 arg2 = reinterpret_cast< wxWindow * >(argp2);
9895 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9896 if (!SWIG_IsOK(res3)) {
9897 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9898 }
9899 arg3 = reinterpret_cast< wxWindow * >(argp3);
9900 if (obj3) {
9901 ecode4 = SWIG_AsVal_int(obj3, &val4);
9902 if (!SWIG_IsOK(ecode4)) {
9903 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9904 }
9905 arg4 = static_cast< int >(val4);
9906 }
9907 {
9908 PyThreadState* __tstate = wxPyBeginAllowThreads();
9909 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
9910 wxPyEndAllowThreads(__tstate);
9911 if (PyErr_Occurred()) SWIG_fail;
9912 }
9913 {
9914 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9915 }
9916 return resultobj;
9917 fail:
9918 return NULL;
9919 }
9920
9921
9922 SWIGINTERN PyObject *_wrap_SplitterWindow_Unsplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9923 PyObject *resultobj = 0;
9924 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9925 wxWindow *arg2 = (wxWindow *) NULL ;
9926 bool result;
9927 void *argp1 = 0 ;
9928 int res1 = 0 ;
9929 void *argp2 = 0 ;
9930 int res2 = 0 ;
9931 PyObject * obj0 = 0 ;
9932 PyObject * obj1 = 0 ;
9933 char * kwnames[] = {
9934 (char *) "self",(char *) "toRemove", NULL
9935 };
9936
9937 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) SWIG_fail;
9938 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9939 if (!SWIG_IsOK(res1)) {
9940 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9941 }
9942 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9943 if (obj1) {
9944 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9945 if (!SWIG_IsOK(res2)) {
9946 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9947 }
9948 arg2 = reinterpret_cast< wxWindow * >(argp2);
9949 }
9950 {
9951 PyThreadState* __tstate = wxPyBeginAllowThreads();
9952 result = (bool)(arg1)->Unsplit(arg2);
9953 wxPyEndAllowThreads(__tstate);
9954 if (PyErr_Occurred()) SWIG_fail;
9955 }
9956 {
9957 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9958 }
9959 return resultobj;
9960 fail:
9961 return NULL;
9962 }
9963
9964
9965 SWIGINTERN PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9966 PyObject *resultobj = 0;
9967 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9968 wxWindow *arg2 = (wxWindow *) 0 ;
9969 wxWindow *arg3 = (wxWindow *) 0 ;
9970 bool result;
9971 void *argp1 = 0 ;
9972 int res1 = 0 ;
9973 void *argp2 = 0 ;
9974 int res2 = 0 ;
9975 void *argp3 = 0 ;
9976 int res3 = 0 ;
9977 PyObject * obj0 = 0 ;
9978 PyObject * obj1 = 0 ;
9979 PyObject * obj2 = 0 ;
9980 char * kwnames[] = {
9981 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9982 };
9983
9984 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9985 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9986 if (!SWIG_IsOK(res1)) {
9987 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9988 }
9989 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9990 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9991 if (!SWIG_IsOK(res2)) {
9992 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
9993 }
9994 arg2 = reinterpret_cast< wxWindow * >(argp2);
9995 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9996 if (!SWIG_IsOK(res3)) {
9997 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
9998 }
9999 arg3 = reinterpret_cast< wxWindow * >(argp3);
10000 {
10001 PyThreadState* __tstate = wxPyBeginAllowThreads();
10002 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
10003 wxPyEndAllowThreads(__tstate);
10004 if (PyErr_Occurred()) SWIG_fail;
10005 }
10006 {
10007 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10008 }
10009 return resultobj;
10010 fail:
10011 return NULL;
10012 }
10013
10014
10015 SWIGINTERN PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10016 PyObject *resultobj = 0;
10017 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10018 void *argp1 = 0 ;
10019 int res1 = 0 ;
10020 PyObject *swig_obj[1] ;
10021
10022 if (!args) SWIG_fail;
10023 swig_obj[0] = args;
10024 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10025 if (!SWIG_IsOK(res1)) {
10026 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10027 }
10028 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10029 {
10030 PyThreadState* __tstate = wxPyBeginAllowThreads();
10031 (arg1)->UpdateSize();
10032 wxPyEndAllowThreads(__tstate);
10033 if (PyErr_Occurred()) SWIG_fail;
10034 }
10035 resultobj = SWIG_Py_Void();
10036 return resultobj;
10037 fail:
10038 return NULL;
10039 }
10040
10041
10042 SWIGINTERN PyObject *_wrap_SplitterWindow_IsSplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10043 PyObject *resultobj = 0;
10044 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10045 bool result;
10046 void *argp1 = 0 ;
10047 int res1 = 0 ;
10048 PyObject *swig_obj[1] ;
10049
10050 if (!args) SWIG_fail;
10051 swig_obj[0] = args;
10052 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10053 if (!SWIG_IsOK(res1)) {
10054 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10055 }
10056 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10057 {
10058 PyThreadState* __tstate = wxPyBeginAllowThreads();
10059 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
10060 wxPyEndAllowThreads(__tstate);
10061 if (PyErr_Occurred()) SWIG_fail;
10062 }
10063 {
10064 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10065 }
10066 return resultobj;
10067 fail:
10068 return NULL;
10069 }
10070
10071
10072 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10073 PyObject *resultobj = 0;
10074 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10075 int arg2 ;
10076 void *argp1 = 0 ;
10077 int res1 = 0 ;
10078 int val2 ;
10079 int ecode2 = 0 ;
10080 PyObject * obj0 = 0 ;
10081 PyObject * obj1 = 0 ;
10082 char * kwnames[] = {
10083 (char *) "self",(char *) "width", NULL
10084 };
10085
10086 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) SWIG_fail;
10087 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10088 if (!SWIG_IsOK(res1)) {
10089 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10090 }
10091 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10092 ecode2 = SWIG_AsVal_int(obj1, &val2);
10093 if (!SWIG_IsOK(ecode2)) {
10094 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
10095 }
10096 arg2 = static_cast< int >(val2);
10097 {
10098 PyThreadState* __tstate = wxPyBeginAllowThreads();
10099 (arg1)->SetSashSize(arg2);
10100 wxPyEndAllowThreads(__tstate);
10101 if (PyErr_Occurred()) SWIG_fail;
10102 }
10103 resultobj = SWIG_Py_Void();
10104 return resultobj;
10105 fail:
10106 return NULL;
10107 }
10108
10109
10110 SWIGINTERN PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10111 PyObject *resultobj = 0;
10112 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10113 int arg2 ;
10114 void *argp1 = 0 ;
10115 int res1 = 0 ;
10116 int val2 ;
10117 int ecode2 = 0 ;
10118 PyObject * obj0 = 0 ;
10119 PyObject * obj1 = 0 ;
10120 char * kwnames[] = {
10121 (char *) "self",(char *) "width", NULL
10122 };
10123
10124 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
10125 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10126 if (!SWIG_IsOK(res1)) {
10127 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10128 }
10129 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10130 ecode2 = SWIG_AsVal_int(obj1, &val2);
10131 if (!SWIG_IsOK(ecode2)) {
10132 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
10133 }
10134 arg2 = static_cast< int >(val2);
10135 {
10136 PyThreadState* __tstate = wxPyBeginAllowThreads();
10137 (arg1)->SetBorderSize(arg2);
10138 wxPyEndAllowThreads(__tstate);
10139 if (PyErr_Occurred()) SWIG_fail;
10140 }
10141 resultobj = SWIG_Py_Void();
10142 return resultobj;
10143 fail:
10144 return NULL;
10145 }
10146
10147
10148 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10149 PyObject *resultobj = 0;
10150 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10151 int result;
10152 void *argp1 = 0 ;
10153 int res1 = 0 ;
10154 PyObject *swig_obj[1] ;
10155
10156 if (!args) SWIG_fail;
10157 swig_obj[0] = args;
10158 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10159 if (!SWIG_IsOK(res1)) {
10160 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10161 }
10162 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10163 {
10164 PyThreadState* __tstate = wxPyBeginAllowThreads();
10165 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
10166 wxPyEndAllowThreads(__tstate);
10167 if (PyErr_Occurred()) SWIG_fail;
10168 }
10169 resultobj = SWIG_From_int(static_cast< int >(result));
10170 return resultobj;
10171 fail:
10172 return NULL;
10173 }
10174
10175
10176 SWIGINTERN PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10177 PyObject *resultobj = 0;
10178 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10179 int result;
10180 void *argp1 = 0 ;
10181 int res1 = 0 ;
10182 PyObject *swig_obj[1] ;
10183
10184 if (!args) SWIG_fail;
10185 swig_obj[0] = args;
10186 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10187 if (!SWIG_IsOK(res1)) {
10188 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10189 }
10190 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10191 {
10192 PyThreadState* __tstate = wxPyBeginAllowThreads();
10193 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
10194 wxPyEndAllowThreads(__tstate);
10195 if (PyErr_Occurred()) SWIG_fail;
10196 }
10197 resultobj = SWIG_From_int(static_cast< int >(result));
10198 return resultobj;
10199 fail:
10200 return NULL;
10201 }
10202
10203
10204 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10205 PyObject *resultobj = 0;
10206 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10207 int arg2 ;
10208 bool arg3 = (bool) true ;
10209 void *argp1 = 0 ;
10210 int res1 = 0 ;
10211 int val2 ;
10212 int ecode2 = 0 ;
10213 bool val3 ;
10214 int ecode3 = 0 ;
10215 PyObject * obj0 = 0 ;
10216 PyObject * obj1 = 0 ;
10217 PyObject * obj2 = 0 ;
10218 char * kwnames[] = {
10219 (char *) "self",(char *) "position",(char *) "redraw", NULL
10220 };
10221
10222 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10223 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10224 if (!SWIG_IsOK(res1)) {
10225 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10226 }
10227 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10228 ecode2 = SWIG_AsVal_int(obj1, &val2);
10229 if (!SWIG_IsOK(ecode2)) {
10230 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10231 }
10232 arg2 = static_cast< int >(val2);
10233 if (obj2) {
10234 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10235 if (!SWIG_IsOK(ecode3)) {
10236 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10237 }
10238 arg3 = static_cast< bool >(val3);
10239 }
10240 {
10241 PyThreadState* __tstate = wxPyBeginAllowThreads();
10242 (arg1)->SetSashPosition(arg2,arg3);
10243 wxPyEndAllowThreads(__tstate);
10244 if (PyErr_Occurred()) SWIG_fail;
10245 }
10246 resultobj = SWIG_Py_Void();
10247 return resultobj;
10248 fail:
10249 return NULL;
10250 }
10251
10252
10253 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10254 PyObject *resultobj = 0;
10255 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10256 int result;
10257 void *argp1 = 0 ;
10258 int res1 = 0 ;
10259 PyObject *swig_obj[1] ;
10260
10261 if (!args) SWIG_fail;
10262 swig_obj[0] = args;
10263 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10264 if (!SWIG_IsOK(res1)) {
10265 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10266 }
10267 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10268 {
10269 PyThreadState* __tstate = wxPyBeginAllowThreads();
10270 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
10271 wxPyEndAllowThreads(__tstate);
10272 if (PyErr_Occurred()) SWIG_fail;
10273 }
10274 resultobj = SWIG_From_int(static_cast< int >(result));
10275 return resultobj;
10276 fail:
10277 return NULL;
10278 }
10279
10280
10281 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10282 PyObject *resultobj = 0;
10283 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10284 double arg2 ;
10285 void *argp1 = 0 ;
10286 int res1 = 0 ;
10287 double val2 ;
10288 int ecode2 = 0 ;
10289 PyObject * obj0 = 0 ;
10290 PyObject * obj1 = 0 ;
10291 char * kwnames[] = {
10292 (char *) "self",(char *) "gravity", NULL
10293 };
10294
10295 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) SWIG_fail;
10296 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10297 if (!SWIG_IsOK(res1)) {
10298 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10299 }
10300 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10301 ecode2 = SWIG_AsVal_double(obj1, &val2);
10302 if (!SWIG_IsOK(ecode2)) {
10303 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10304 }
10305 arg2 = static_cast< double >(val2);
10306 {
10307 PyThreadState* __tstate = wxPyBeginAllowThreads();
10308 (arg1)->SetSashGravity(arg2);
10309 wxPyEndAllowThreads(__tstate);
10310 if (PyErr_Occurred()) SWIG_fail;
10311 }
10312 resultobj = SWIG_Py_Void();
10313 return resultobj;
10314 fail:
10315 return NULL;
10316 }
10317
10318
10319 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10320 PyObject *resultobj = 0;
10321 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10322 double result;
10323 void *argp1 = 0 ;
10324 int res1 = 0 ;
10325 PyObject *swig_obj[1] ;
10326
10327 if (!args) SWIG_fail;
10328 swig_obj[0] = args;
10329 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10330 if (!SWIG_IsOK(res1)) {
10331 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10332 }
10333 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10334 {
10335 PyThreadState* __tstate = wxPyBeginAllowThreads();
10336 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
10337 wxPyEndAllowThreads(__tstate);
10338 if (PyErr_Occurred()) SWIG_fail;
10339 }
10340 resultobj = SWIG_From_double(static_cast< double >(result));
10341 return resultobj;
10342 fail:
10343 return NULL;
10344 }
10345
10346
10347 SWIGINTERN PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10348 PyObject *resultobj = 0;
10349 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10350 int arg2 ;
10351 void *argp1 = 0 ;
10352 int res1 = 0 ;
10353 int val2 ;
10354 int ecode2 = 0 ;
10355 PyObject * obj0 = 0 ;
10356 PyObject * obj1 = 0 ;
10357 char * kwnames[] = {
10358 (char *) "self",(char *) "min", NULL
10359 };
10360
10361 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) SWIG_fail;
10362 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10363 if (!SWIG_IsOK(res1)) {
10364 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10365 }
10366 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10367 ecode2 = SWIG_AsVal_int(obj1, &val2);
10368 if (!SWIG_IsOK(ecode2)) {
10369 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10370 }
10371 arg2 = static_cast< int >(val2);
10372 {
10373 PyThreadState* __tstate = wxPyBeginAllowThreads();
10374 (arg1)->SetMinimumPaneSize(arg2);
10375 wxPyEndAllowThreads(__tstate);
10376 if (PyErr_Occurred()) SWIG_fail;
10377 }
10378 resultobj = SWIG_Py_Void();
10379 return resultobj;
10380 fail:
10381 return NULL;
10382 }
10383
10384
10385 SWIGINTERN PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10386 PyObject *resultobj = 0;
10387 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10388 int result;
10389 void *argp1 = 0 ;
10390 int res1 = 0 ;
10391 PyObject *swig_obj[1] ;
10392
10393 if (!args) SWIG_fail;
10394 swig_obj[0] = args;
10395 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10396 if (!SWIG_IsOK(res1)) {
10397 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10398 }
10399 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10400 {
10401 PyThreadState* __tstate = wxPyBeginAllowThreads();
10402 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
10403 wxPyEndAllowThreads(__tstate);
10404 if (PyErr_Occurred()) SWIG_fail;
10405 }
10406 resultobj = SWIG_From_int(static_cast< int >(result));
10407 return resultobj;
10408 fail:
10409 return NULL;
10410 }
10411
10412
10413 SWIGINTERN PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10414 PyObject *resultobj = 0;
10415 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10416 int arg2 ;
10417 int arg3 ;
10418 int arg4 = (int) 5 ;
10419 bool result;
10420 void *argp1 = 0 ;
10421 int res1 = 0 ;
10422 int val2 ;
10423 int ecode2 = 0 ;
10424 int val3 ;
10425 int ecode3 = 0 ;
10426 int val4 ;
10427 int ecode4 = 0 ;
10428 PyObject * obj0 = 0 ;
10429 PyObject * obj1 = 0 ;
10430 PyObject * obj2 = 0 ;
10431 PyObject * obj3 = 0 ;
10432 char * kwnames[] = {
10433 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10434 };
10435
10436 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10437 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10438 if (!SWIG_IsOK(res1)) {
10439 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10440 }
10441 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10442 ecode2 = SWIG_AsVal_int(obj1, &val2);
10443 if (!SWIG_IsOK(ecode2)) {
10444 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10445 }
10446 arg2 = static_cast< int >(val2);
10447 ecode3 = SWIG_AsVal_int(obj2, &val3);
10448 if (!SWIG_IsOK(ecode3)) {
10449 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10450 }
10451 arg3 = static_cast< int >(val3);
10452 if (obj3) {
10453 ecode4 = SWIG_AsVal_int(obj3, &val4);
10454 if (!SWIG_IsOK(ecode4)) {
10455 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10456 }
10457 arg4 = static_cast< int >(val4);
10458 }
10459 {
10460 PyThreadState* __tstate = wxPyBeginAllowThreads();
10461 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
10462 wxPyEndAllowThreads(__tstate);
10463 if (PyErr_Occurred()) SWIG_fail;
10464 }
10465 {
10466 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10467 }
10468 return resultobj;
10469 fail:
10470 return NULL;
10471 }
10472
10473
10474 SWIGINTERN PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10475 PyObject *resultobj = 0;
10476 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10477 void *argp1 = 0 ;
10478 int res1 = 0 ;
10479 PyObject *swig_obj[1] ;
10480
10481 if (!args) SWIG_fail;
10482 swig_obj[0] = args;
10483 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10484 if (!SWIG_IsOK(res1)) {
10485 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10486 }
10487 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10488 {
10489 PyThreadState* __tstate = wxPyBeginAllowThreads();
10490 (arg1)->SizeWindows();
10491 wxPyEndAllowThreads(__tstate);
10492 if (PyErr_Occurred()) SWIG_fail;
10493 }
10494 resultobj = SWIG_Py_Void();
10495 return resultobj;
10496 fail:
10497 return NULL;
10498 }
10499
10500
10501 SWIGINTERN PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10502 PyObject *resultobj = 0;
10503 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10504 bool arg2 ;
10505 void *argp1 = 0 ;
10506 int res1 = 0 ;
10507 bool val2 ;
10508 int ecode2 = 0 ;
10509 PyObject * obj0 = 0 ;
10510 PyObject * obj1 = 0 ;
10511 char * kwnames[] = {
10512 (char *) "self",(char *) "needUpdating", NULL
10513 };
10514
10515 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) SWIG_fail;
10516 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10517 if (!SWIG_IsOK(res1)) {
10518 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10519 }
10520 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10521 ecode2 = SWIG_AsVal_bool(obj1, &val2);
10522 if (!SWIG_IsOK(ecode2)) {
10523 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10524 }
10525 arg2 = static_cast< bool >(val2);
10526 {
10527 PyThreadState* __tstate = wxPyBeginAllowThreads();
10528 (arg1)->SetNeedUpdating(arg2);
10529 wxPyEndAllowThreads(__tstate);
10530 if (PyErr_Occurred()) SWIG_fail;
10531 }
10532 resultobj = SWIG_Py_Void();
10533 return resultobj;
10534 fail:
10535 return NULL;
10536 }
10537
10538
10539 SWIGINTERN PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10540 PyObject *resultobj = 0;
10541 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10542 bool result;
10543 void *argp1 = 0 ;
10544 int res1 = 0 ;
10545 PyObject *swig_obj[1] ;
10546
10547 if (!args) SWIG_fail;
10548 swig_obj[0] = args;
10549 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10550 if (!SWIG_IsOK(res1)) {
10551 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10552 }
10553 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10554 {
10555 PyThreadState* __tstate = wxPyBeginAllowThreads();
10556 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
10557 wxPyEndAllowThreads(__tstate);
10558 if (PyErr_Occurred()) SWIG_fail;
10559 }
10560 {
10561 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10562 }
10563 return resultobj;
10564 fail:
10565 return NULL;
10566 }
10567
10568
10569 SWIGINTERN PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10570 PyObject *resultobj = 0;
10571 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
10572 SwigValueWrapper<wxVisualAttributes > result;
10573 int val1 ;
10574 int ecode1 = 0 ;
10575 PyObject * obj0 = 0 ;
10576 char * kwnames[] = {
10577 (char *) "variant", NULL
10578 };
10579
10580 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
10581 if (obj0) {
10582 ecode1 = SWIG_AsVal_int(obj0, &val1);
10583 if (!SWIG_IsOK(ecode1)) {
10584 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10585 }
10586 arg1 = static_cast< wxWindowVariant >(val1);
10587 }
10588 {
10589 if (!wxPyCheckForApp()) SWIG_fail;
10590 PyThreadState* __tstate = wxPyBeginAllowThreads();
10591 result = wxSplitterWindow::GetClassDefaultAttributes(arg1);
10592 wxPyEndAllowThreads(__tstate);
10593 if (PyErr_Occurred()) SWIG_fail;
10594 }
10595 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
10596 return resultobj;
10597 fail:
10598 return NULL;
10599 }
10600
10601
10602 SWIGINTERN PyObject *SplitterWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10603 PyObject *obj;
10604 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10605 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow, SWIG_NewClientData(obj));
10606 return SWIG_Py_Void();
10607 }
10608
10609 SWIGINTERN PyObject *SplitterWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10610 return SWIG_Python_InitShadowInstance(args);
10611 }
10612
10613 SWIGINTERN PyObject *_wrap_new_SplitterEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10614 PyObject *resultobj = 0;
10615 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10616 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
10617 wxSplitterEvent *result = 0 ;
10618 int val1 ;
10619 int ecode1 = 0 ;
10620 void *argp2 = 0 ;
10621 int res2 = 0 ;
10622 PyObject * obj0 = 0 ;
10623 PyObject * obj1 = 0 ;
10624 char * kwnames[] = {
10625 (char *) "type",(char *) "splitter", NULL
10626 };
10627
10628 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) SWIG_fail;
10629 if (obj0) {
10630 ecode1 = SWIG_AsVal_int(obj0, &val1);
10631 if (!SWIG_IsOK(ecode1)) {
10632 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10633 }
10634 arg1 = static_cast< wxEventType >(val1);
10635 }
10636 if (obj1) {
10637 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10638 if (!SWIG_IsOK(res2)) {
10639 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10640 }
10641 arg2 = reinterpret_cast< wxSplitterWindow * >(argp2);
10642 }
10643 {
10644 PyThreadState* __tstate = wxPyBeginAllowThreads();
10645 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
10646 wxPyEndAllowThreads(__tstate);
10647 if (PyErr_Occurred()) SWIG_fail;
10648 }
10649 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_NEW | 0 );
10650 return resultobj;
10651 fail:
10652 return NULL;
10653 }
10654
10655
10656 SWIGINTERN PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10657 PyObject *resultobj = 0;
10658 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10659 int arg2 ;
10660 void *argp1 = 0 ;
10661 int res1 = 0 ;
10662 int val2 ;
10663 int ecode2 = 0 ;
10664 PyObject * obj0 = 0 ;
10665 PyObject * obj1 = 0 ;
10666 char * kwnames[] = {
10667 (char *) "self",(char *) "pos", NULL
10668 };
10669
10670 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) SWIG_fail;
10671 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10672 if (!SWIG_IsOK(res1)) {
10673 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10674 }
10675 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10676 ecode2 = SWIG_AsVal_int(obj1, &val2);
10677 if (!SWIG_IsOK(ecode2)) {
10678 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10679 }
10680 arg2 = static_cast< int >(val2);
10681 {
10682 PyThreadState* __tstate = wxPyBeginAllowThreads();
10683 (arg1)->SetSashPosition(arg2);
10684 wxPyEndAllowThreads(__tstate);
10685 if (PyErr_Occurred()) SWIG_fail;
10686 }
10687 resultobj = SWIG_Py_Void();
10688 return resultobj;
10689 fail:
10690 return NULL;
10691 }
10692
10693
10694 SWIGINTERN PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10695 PyObject *resultobj = 0;
10696 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10697 int result;
10698 void *argp1 = 0 ;
10699 int res1 = 0 ;
10700 PyObject *swig_obj[1] ;
10701
10702 if (!args) SWIG_fail;
10703 swig_obj[0] = args;
10704 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10705 if (!SWIG_IsOK(res1)) {
10706 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10707 }
10708 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10709 {
10710 PyThreadState* __tstate = wxPyBeginAllowThreads();
10711 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
10712 wxPyEndAllowThreads(__tstate);
10713 if (PyErr_Occurred()) SWIG_fail;
10714 }
10715 resultobj = SWIG_From_int(static_cast< int >(result));
10716 return resultobj;
10717 fail:
10718 return NULL;
10719 }
10720
10721
10722 SWIGINTERN PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10723 PyObject *resultobj = 0;
10724 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10725 wxWindow *result = 0 ;
10726 void *argp1 = 0 ;
10727 int res1 = 0 ;
10728 PyObject *swig_obj[1] ;
10729
10730 if (!args) SWIG_fail;
10731 swig_obj[0] = args;
10732 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10733 if (!SWIG_IsOK(res1)) {
10734 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10735 }
10736 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10737 {
10738 PyThreadState* __tstate = wxPyBeginAllowThreads();
10739 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
10740 wxPyEndAllowThreads(__tstate);
10741 if (PyErr_Occurred()) SWIG_fail;
10742 }
10743 {
10744 resultobj = wxPyMake_wxObject(result, 0);
10745 }
10746 return resultobj;
10747 fail:
10748 return NULL;
10749 }
10750
10751
10752 SWIGINTERN PyObject *_wrap_SplitterEvent_GetX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10753 PyObject *resultobj = 0;
10754 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10755 int result;
10756 void *argp1 = 0 ;
10757 int res1 = 0 ;
10758 PyObject *swig_obj[1] ;
10759
10760 if (!args) SWIG_fail;
10761 swig_obj[0] = args;
10762 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10763 if (!SWIG_IsOK(res1)) {
10764 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10765 }
10766 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10767 {
10768 PyThreadState* __tstate = wxPyBeginAllowThreads();
10769 result = (int)((wxSplitterEvent const *)arg1)->GetX();
10770 wxPyEndAllowThreads(__tstate);
10771 if (PyErr_Occurred()) SWIG_fail;
10772 }
10773 resultobj = SWIG_From_int(static_cast< int >(result));
10774 return resultobj;
10775 fail:
10776 return NULL;
10777 }
10778
10779
10780 SWIGINTERN PyObject *_wrap_SplitterEvent_GetY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10781 PyObject *resultobj = 0;
10782 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10783 int result;
10784 void *argp1 = 0 ;
10785 int res1 = 0 ;
10786 PyObject *swig_obj[1] ;
10787
10788 if (!args) SWIG_fail;
10789 swig_obj[0] = args;
10790 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10791 if (!SWIG_IsOK(res1)) {
10792 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10793 }
10794 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10795 {
10796 PyThreadState* __tstate = wxPyBeginAllowThreads();
10797 result = (int)((wxSplitterEvent const *)arg1)->GetY();
10798 wxPyEndAllowThreads(__tstate);
10799 if (PyErr_Occurred()) SWIG_fail;
10800 }
10801 resultobj = SWIG_From_int(static_cast< int >(result));
10802 return resultobj;
10803 fail:
10804 return NULL;
10805 }
10806
10807
10808 SWIGINTERN PyObject *SplitterEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10809 PyObject *obj;
10810 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10811 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent, SWIG_NewClientData(obj));
10812 return SWIG_Py_Void();
10813 }
10814
10815 SWIGINTERN PyObject *SplitterEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10816 return SWIG_Python_InitShadowInstance(args);
10817 }
10818
10819 SWIGINTERN int SashNameStr_set(PyObject *) {
10820 SWIG_Error(SWIG_AttributeError,"Variable SashNameStr is read-only.");
10821 return 1;
10822 }
10823
10824
10825 SWIGINTERN PyObject *SashNameStr_get(void) {
10826 PyObject *pyobj = 0;
10827
10828 {
10829 #if wxUSE_UNICODE
10830 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10831 #else
10832 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10833 #endif
10834 }
10835 return pyobj;
10836 }
10837
10838
10839 SWIGINTERN int SashLayoutNameStr_set(PyObject *) {
10840 SWIG_Error(SWIG_AttributeError,"Variable SashLayoutNameStr is read-only.");
10841 return 1;
10842 }
10843
10844
10845 SWIGINTERN PyObject *SashLayoutNameStr_get(void) {
10846 PyObject *pyobj = 0;
10847
10848 {
10849 #if wxUSE_UNICODE
10850 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10851 #else
10852 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10853 #endif
10854 }
10855 return pyobj;
10856 }
10857
10858
10859 SWIGINTERN PyObject *_wrap_new_SashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10860 PyObject *resultobj = 0;
10861 wxWindow *arg1 = (wxWindow *) 0 ;
10862 int arg2 = (int) -1 ;
10863 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10864 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10865 wxSize const &arg4_defvalue = wxDefaultSize ;
10866 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10867 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10868 wxString const &arg6_defvalue = wxPySashNameStr ;
10869 wxString *arg6 = (wxString *) &arg6_defvalue ;
10870 wxSashWindow *result = 0 ;
10871 void *argp1 = 0 ;
10872 int res1 = 0 ;
10873 int val2 ;
10874 int ecode2 = 0 ;
10875 wxPoint temp3 ;
10876 wxSize temp4 ;
10877 long val5 ;
10878 int ecode5 = 0 ;
10879 bool temp6 = false ;
10880 PyObject * obj0 = 0 ;
10881 PyObject * obj1 = 0 ;
10882 PyObject * obj2 = 0 ;
10883 PyObject * obj3 = 0 ;
10884 PyObject * obj4 = 0 ;
10885 PyObject * obj5 = 0 ;
10886 char * kwnames[] = {
10887 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10888 };
10889
10890 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
10891 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10892 if (!SWIG_IsOK(res1)) {
10893 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10894 }
10895 arg1 = reinterpret_cast< wxWindow * >(argp1);
10896 if (obj1) {
10897 ecode2 = SWIG_AsVal_int(obj1, &val2);
10898 if (!SWIG_IsOK(ecode2)) {
10899 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10900 }
10901 arg2 = static_cast< int >(val2);
10902 }
10903 if (obj2) {
10904 {
10905 arg3 = &temp3;
10906 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10907 }
10908 }
10909 if (obj3) {
10910 {
10911 arg4 = &temp4;
10912 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10913 }
10914 }
10915 if (obj4) {
10916 ecode5 = SWIG_AsVal_long(obj4, &val5);
10917 if (!SWIG_IsOK(ecode5)) {
10918 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10919 }
10920 arg5 = static_cast< long >(val5);
10921 }
10922 if (obj5) {
10923 {
10924 arg6 = wxString_in_helper(obj5);
10925 if (arg6 == NULL) SWIG_fail;
10926 temp6 = true;
10927 }
10928 }
10929 {
10930 if (!wxPyCheckForApp()) SWIG_fail;
10931 PyThreadState* __tstate = wxPyBeginAllowThreads();
10932 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10933 wxPyEndAllowThreads(__tstate);
10934 if (PyErr_Occurred()) SWIG_fail;
10935 }
10936 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_NEW | 0 );
10937 {
10938 if (temp6)
10939 delete arg6;
10940 }
10941 return resultobj;
10942 fail:
10943 {
10944 if (temp6)
10945 delete arg6;
10946 }
10947 return NULL;
10948 }
10949
10950
10951 SWIGINTERN PyObject *_wrap_new_PreSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10952 PyObject *resultobj = 0;
10953 wxSashWindow *result = 0 ;
10954
10955 if (!SWIG_Python_UnpackTuple(args,"new_PreSashWindow",0,0,0)) SWIG_fail;
10956 {
10957 if (!wxPyCheckForApp()) SWIG_fail;
10958 PyThreadState* __tstate = wxPyBeginAllowThreads();
10959 result = (wxSashWindow *)new wxSashWindow();
10960 wxPyEndAllowThreads(__tstate);
10961 if (PyErr_Occurred()) SWIG_fail;
10962 }
10963 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_OWN | 0 );
10964 return resultobj;
10965 fail:
10966 return NULL;
10967 }
10968
10969
10970 SWIGINTERN PyObject *_wrap_SashWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10971 PyObject *resultobj = 0;
10972 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10973 wxWindow *arg2 = (wxWindow *) 0 ;
10974 int arg3 = (int) -1 ;
10975 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10976 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10977 wxSize const &arg5_defvalue = wxDefaultSize ;
10978 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10979 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10980 wxString const &arg7_defvalue = wxPySashNameStr ;
10981 wxString *arg7 = (wxString *) &arg7_defvalue ;
10982 bool result;
10983 void *argp1 = 0 ;
10984 int res1 = 0 ;
10985 void *argp2 = 0 ;
10986 int res2 = 0 ;
10987 int val3 ;
10988 int ecode3 = 0 ;
10989 wxPoint temp4 ;
10990 wxSize temp5 ;
10991 long val6 ;
10992 int ecode6 = 0 ;
10993 bool temp7 = false ;
10994 PyObject * obj0 = 0 ;
10995 PyObject * obj1 = 0 ;
10996 PyObject * obj2 = 0 ;
10997 PyObject * obj3 = 0 ;
10998 PyObject * obj4 = 0 ;
10999 PyObject * obj5 = 0 ;
11000 PyObject * obj6 = 0 ;
11001 char * kwnames[] = {
11002 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11003 };
11004
11005 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
11006 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11007 if (!SWIG_IsOK(res1)) {
11008 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11009 }
11010 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11011 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
11012 if (!SWIG_IsOK(res2)) {
11013 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11014 }
11015 arg2 = reinterpret_cast< wxWindow * >(argp2);
11016 if (obj2) {
11017 ecode3 = SWIG_AsVal_int(obj2, &val3);
11018 if (!SWIG_IsOK(ecode3)) {
11019 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
11020 }
11021 arg3 = static_cast< int >(val3);
11022 }
11023 if (obj3) {
11024 {
11025 arg4 = &temp4;
11026 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11027 }
11028 }
11029 if (obj4) {
11030 {
11031 arg5 = &temp5;
11032 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11033 }
11034 }
11035 if (obj5) {
11036 ecode6 = SWIG_AsVal_long(obj5, &val6);
11037 if (!SWIG_IsOK(ecode6)) {
11038 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
11039 }
11040 arg6 = static_cast< long >(val6);
11041 }
11042 if (obj6) {
11043 {
11044 arg7 = wxString_in_helper(obj6);
11045 if (arg7 == NULL) SWIG_fail;
11046 temp7 = true;
11047 }
11048 }
11049 {
11050 PyThreadState* __tstate = wxPyBeginAllowThreads();
11051 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11052 wxPyEndAllowThreads(__tstate);
11053 if (PyErr_Occurred()) SWIG_fail;
11054 }
11055 {
11056 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11057 }
11058 {
11059 if (temp7)
11060 delete arg7;
11061 }
11062 return resultobj;
11063 fail:
11064 {
11065 if (temp7)
11066 delete arg7;
11067 }
11068 return NULL;
11069 }
11070
11071
11072 SWIGINTERN PyObject *_wrap_SashWindow_SetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11073 PyObject *resultobj = 0;
11074 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11075 wxSashEdgePosition arg2 ;
11076 bool arg3 ;
11077 void *argp1 = 0 ;
11078 int res1 = 0 ;
11079 int val2 ;
11080 int ecode2 = 0 ;
11081 bool val3 ;
11082 int ecode3 = 0 ;
11083 PyObject * obj0 = 0 ;
11084 PyObject * obj1 = 0 ;
11085 PyObject * obj2 = 0 ;
11086 char * kwnames[] = {
11087 (char *) "self",(char *) "edge",(char *) "sash", NULL
11088 };
11089
11090 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11091 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11092 if (!SWIG_IsOK(res1)) {
11093 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11094 }
11095 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11096 ecode2 = SWIG_AsVal_int(obj1, &val2);
11097 if (!SWIG_IsOK(ecode2)) {
11098 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11099 }
11100 arg2 = static_cast< wxSashEdgePosition >(val2);
11101 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11102 if (!SWIG_IsOK(ecode3)) {
11103 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
11104 }
11105 arg3 = static_cast< bool >(val3);
11106 {
11107 PyThreadState* __tstate = wxPyBeginAllowThreads();
11108 (arg1)->SetSashVisible(arg2,arg3);
11109 wxPyEndAllowThreads(__tstate);
11110 if (PyErr_Occurred()) SWIG_fail;
11111 }
11112 resultobj = SWIG_Py_Void();
11113 return resultobj;
11114 fail:
11115 return NULL;
11116 }
11117
11118
11119 SWIGINTERN PyObject *_wrap_SashWindow_GetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11120 PyObject *resultobj = 0;
11121 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11122 wxSashEdgePosition arg2 ;
11123 bool result;
11124 void *argp1 = 0 ;
11125 int res1 = 0 ;
11126 int val2 ;
11127 int ecode2 = 0 ;
11128 PyObject * obj0 = 0 ;
11129 PyObject * obj1 = 0 ;
11130 char * kwnames[] = {
11131 (char *) "self",(char *) "edge", NULL
11132 };
11133
11134 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) SWIG_fail;
11135 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11136 if (!SWIG_IsOK(res1)) {
11137 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11138 }
11139 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11140 ecode2 = SWIG_AsVal_int(obj1, &val2);
11141 if (!SWIG_IsOK(ecode2)) {
11142 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11143 }
11144 arg2 = static_cast< wxSashEdgePosition >(val2);
11145 {
11146 PyThreadState* __tstate = wxPyBeginAllowThreads();
11147 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible(arg2);
11148 wxPyEndAllowThreads(__tstate);
11149 if (PyErr_Occurred()) SWIG_fail;
11150 }
11151 {
11152 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11153 }
11154 return resultobj;
11155 fail:
11156 return NULL;
11157 }
11158
11159
11160 SWIGINTERN PyObject *_wrap_SashWindow_SetSashBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11161 PyObject *resultobj = 0;
11162 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11163 wxSashEdgePosition arg2 ;
11164 bool arg3 ;
11165 void *argp1 = 0 ;
11166 int res1 = 0 ;
11167 int val2 ;
11168 int ecode2 = 0 ;
11169 bool val3 ;
11170 int ecode3 = 0 ;
11171 PyObject * obj0 = 0 ;
11172 PyObject * obj1 = 0 ;
11173 PyObject * obj2 = 0 ;
11174 char * kwnames[] = {
11175 (char *) "self",(char *) "edge",(char *) "border", NULL
11176 };
11177
11178 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11179 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11180 if (!SWIG_IsOK(res1)) {
11181 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11182 }
11183 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11184 ecode2 = SWIG_AsVal_int(obj1, &val2);
11185 if (!SWIG_IsOK(ecode2)) {
11186 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11187 }
11188 arg2 = static_cast< wxSashEdgePosition >(val2);
11189 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11190 if (!SWIG_IsOK(ecode3)) {
11191 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
11192 }
11193 arg3 = static_cast< bool >(val3);
11194 {
11195 PyThreadState* __tstate = wxPyBeginAllowThreads();
11196 (arg1)->SetSashBorder(arg2,arg3);
11197 wxPyEndAllowThreads(__tstate);
11198 if (PyErr_Occurred()) SWIG_fail;
11199 }
11200 resultobj = SWIG_Py_Void();
11201 return resultobj;
11202 fail:
11203 return NULL;
11204 }
11205
11206
11207 SWIGINTERN PyObject *_wrap_SashWindow_HasBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11208 PyObject *resultobj = 0;
11209 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11210 wxSashEdgePosition arg2 ;
11211 bool result;
11212 void *argp1 = 0 ;
11213 int res1 = 0 ;
11214 int val2 ;
11215 int ecode2 = 0 ;
11216 PyObject * obj0 = 0 ;
11217 PyObject * obj1 = 0 ;
11218 char * kwnames[] = {
11219 (char *) "self",(char *) "edge", NULL
11220 };
11221
11222 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) SWIG_fail;
11223 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11224 if (!SWIG_IsOK(res1)) {
11225 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11226 }
11227 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11228 ecode2 = SWIG_AsVal_int(obj1, &val2);
11229 if (!SWIG_IsOK(ecode2)) {
11230 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11231 }
11232 arg2 = static_cast< wxSashEdgePosition >(val2);
11233 {
11234 PyThreadState* __tstate = wxPyBeginAllowThreads();
11235 result = (bool)((wxSashWindow const *)arg1)->HasBorder(arg2);
11236 wxPyEndAllowThreads(__tstate);
11237 if (PyErr_Occurred()) SWIG_fail;
11238 }
11239 {
11240 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11241 }
11242 return resultobj;
11243 fail:
11244 return NULL;
11245 }
11246
11247
11248 SWIGINTERN PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11249 PyObject *resultobj = 0;
11250 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11251 wxSashEdgePosition arg2 ;
11252 int result;
11253 void *argp1 = 0 ;
11254 int res1 = 0 ;
11255 int val2 ;
11256 int ecode2 = 0 ;
11257 PyObject * obj0 = 0 ;
11258 PyObject * obj1 = 0 ;
11259 char * kwnames[] = {
11260 (char *) "self",(char *) "edge", NULL
11261 };
11262
11263 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) SWIG_fail;
11264 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11265 if (!SWIG_IsOK(res1)) {
11266 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11267 }
11268 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11269 ecode2 = SWIG_AsVal_int(obj1, &val2);
11270 if (!SWIG_IsOK(ecode2)) {
11271 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11272 }
11273 arg2 = static_cast< wxSashEdgePosition >(val2);
11274 {
11275 PyThreadState* __tstate = wxPyBeginAllowThreads();
11276 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin(arg2);
11277 wxPyEndAllowThreads(__tstate);
11278 if (PyErr_Occurred()) SWIG_fail;
11279 }
11280 resultobj = SWIG_From_int(static_cast< int >(result));
11281 return resultobj;
11282 fail:
11283 return NULL;
11284 }
11285
11286
11287 SWIGINTERN PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11288 PyObject *resultobj = 0;
11289 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11290 int arg2 ;
11291 void *argp1 = 0 ;
11292 int res1 = 0 ;
11293 int val2 ;
11294 int ecode2 = 0 ;
11295 PyObject * obj0 = 0 ;
11296 PyObject * obj1 = 0 ;
11297 char * kwnames[] = {
11298 (char *) "self",(char *) "width", NULL
11299 };
11300
11301 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11302 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11303 if (!SWIG_IsOK(res1)) {
11304 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11305 }
11306 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11307 ecode2 = SWIG_AsVal_int(obj1, &val2);
11308 if (!SWIG_IsOK(ecode2)) {
11309 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11310 }
11311 arg2 = static_cast< int >(val2);
11312 {
11313 PyThreadState* __tstate = wxPyBeginAllowThreads();
11314 (arg1)->SetDefaultBorderSize(arg2);
11315 wxPyEndAllowThreads(__tstate);
11316 if (PyErr_Occurred()) SWIG_fail;
11317 }
11318 resultobj = SWIG_Py_Void();
11319 return resultobj;
11320 fail:
11321 return NULL;
11322 }
11323
11324
11325 SWIGINTERN PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11326 PyObject *resultobj = 0;
11327 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11328 int result;
11329 void *argp1 = 0 ;
11330 int res1 = 0 ;
11331 PyObject *swig_obj[1] ;
11332
11333 if (!args) SWIG_fail;
11334 swig_obj[0] = args;
11335 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11336 if (!SWIG_IsOK(res1)) {
11337 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11338 }
11339 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11340 {
11341 PyThreadState* __tstate = wxPyBeginAllowThreads();
11342 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
11343 wxPyEndAllowThreads(__tstate);
11344 if (PyErr_Occurred()) SWIG_fail;
11345 }
11346 resultobj = SWIG_From_int(static_cast< int >(result));
11347 return resultobj;
11348 fail:
11349 return NULL;
11350 }
11351
11352
11353 SWIGINTERN PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11354 PyObject *resultobj = 0;
11355 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11356 int arg2 ;
11357 void *argp1 = 0 ;
11358 int res1 = 0 ;
11359 int val2 ;
11360 int ecode2 = 0 ;
11361 PyObject * obj0 = 0 ;
11362 PyObject * obj1 = 0 ;
11363 char * kwnames[] = {
11364 (char *) "self",(char *) "width", NULL
11365 };
11366
11367 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11368 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11369 if (!SWIG_IsOK(res1)) {
11370 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11371 }
11372 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11373 ecode2 = SWIG_AsVal_int(obj1, &val2);
11374 if (!SWIG_IsOK(ecode2)) {
11375 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11376 }
11377 arg2 = static_cast< int >(val2);
11378 {
11379 PyThreadState* __tstate = wxPyBeginAllowThreads();
11380 (arg1)->SetExtraBorderSize(arg2);
11381 wxPyEndAllowThreads(__tstate);
11382 if (PyErr_Occurred()) SWIG_fail;
11383 }
11384 resultobj = SWIG_Py_Void();
11385 return resultobj;
11386 fail:
11387 return NULL;
11388 }
11389
11390
11391 SWIGINTERN PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11392 PyObject *resultobj = 0;
11393 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11394 int result;
11395 void *argp1 = 0 ;
11396 int res1 = 0 ;
11397 PyObject *swig_obj[1] ;
11398
11399 if (!args) SWIG_fail;
11400 swig_obj[0] = args;
11401 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11402 if (!SWIG_IsOK(res1)) {
11403 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11404 }
11405 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11406 {
11407 PyThreadState* __tstate = wxPyBeginAllowThreads();
11408 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
11409 wxPyEndAllowThreads(__tstate);
11410 if (PyErr_Occurred()) SWIG_fail;
11411 }
11412 resultobj = SWIG_From_int(static_cast< int >(result));
11413 return resultobj;
11414 fail:
11415 return NULL;
11416 }
11417
11418
11419 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11420 PyObject *resultobj = 0;
11421 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11422 int arg2 ;
11423 void *argp1 = 0 ;
11424 int res1 = 0 ;
11425 int val2 ;
11426 int ecode2 = 0 ;
11427 PyObject * obj0 = 0 ;
11428 PyObject * obj1 = 0 ;
11429 char * kwnames[] = {
11430 (char *) "self",(char *) "min", NULL
11431 };
11432
11433 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11434 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11435 if (!SWIG_IsOK(res1)) {
11436 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11437 }
11438 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11439 ecode2 = SWIG_AsVal_int(obj1, &val2);
11440 if (!SWIG_IsOK(ecode2)) {
11441 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11442 }
11443 arg2 = static_cast< int >(val2);
11444 {
11445 PyThreadState* __tstate = wxPyBeginAllowThreads();
11446 (arg1)->SetMinimumSizeX(arg2);
11447 wxPyEndAllowThreads(__tstate);
11448 if (PyErr_Occurred()) SWIG_fail;
11449 }
11450 resultobj = SWIG_Py_Void();
11451 return resultobj;
11452 fail:
11453 return NULL;
11454 }
11455
11456
11457 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11458 PyObject *resultobj = 0;
11459 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11460 int arg2 ;
11461 void *argp1 = 0 ;
11462 int res1 = 0 ;
11463 int val2 ;
11464 int ecode2 = 0 ;
11465 PyObject * obj0 = 0 ;
11466 PyObject * obj1 = 0 ;
11467 char * kwnames[] = {
11468 (char *) "self",(char *) "min", NULL
11469 };
11470
11471 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11472 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11473 if (!SWIG_IsOK(res1)) {
11474 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11475 }
11476 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11477 ecode2 = SWIG_AsVal_int(obj1, &val2);
11478 if (!SWIG_IsOK(ecode2)) {
11479 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11480 }
11481 arg2 = static_cast< int >(val2);
11482 {
11483 PyThreadState* __tstate = wxPyBeginAllowThreads();
11484 (arg1)->SetMinimumSizeY(arg2);
11485 wxPyEndAllowThreads(__tstate);
11486 if (PyErr_Occurred()) SWIG_fail;
11487 }
11488 resultobj = SWIG_Py_Void();
11489 return resultobj;
11490 fail:
11491 return NULL;
11492 }
11493
11494
11495 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11496 PyObject *resultobj = 0;
11497 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11498 int result;
11499 void *argp1 = 0 ;
11500 int res1 = 0 ;
11501 PyObject *swig_obj[1] ;
11502
11503 if (!args) SWIG_fail;
11504 swig_obj[0] = args;
11505 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11506 if (!SWIG_IsOK(res1)) {
11507 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11508 }
11509 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11510 {
11511 PyThreadState* __tstate = wxPyBeginAllowThreads();
11512 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
11513 wxPyEndAllowThreads(__tstate);
11514 if (PyErr_Occurred()) SWIG_fail;
11515 }
11516 resultobj = SWIG_From_int(static_cast< int >(result));
11517 return resultobj;
11518 fail:
11519 return NULL;
11520 }
11521
11522
11523 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11524 PyObject *resultobj = 0;
11525 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11526 int result;
11527 void *argp1 = 0 ;
11528 int res1 = 0 ;
11529 PyObject *swig_obj[1] ;
11530
11531 if (!args) SWIG_fail;
11532 swig_obj[0] = args;
11533 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11534 if (!SWIG_IsOK(res1)) {
11535 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11536 }
11537 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11538 {
11539 PyThreadState* __tstate = wxPyBeginAllowThreads();
11540 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
11541 wxPyEndAllowThreads(__tstate);
11542 if (PyErr_Occurred()) SWIG_fail;
11543 }
11544 resultobj = SWIG_From_int(static_cast< int >(result));
11545 return resultobj;
11546 fail:
11547 return NULL;
11548 }
11549
11550
11551 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11552 PyObject *resultobj = 0;
11553 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11554 int arg2 ;
11555 void *argp1 = 0 ;
11556 int res1 = 0 ;
11557 int val2 ;
11558 int ecode2 = 0 ;
11559 PyObject * obj0 = 0 ;
11560 PyObject * obj1 = 0 ;
11561 char * kwnames[] = {
11562 (char *) "self",(char *) "max", NULL
11563 };
11564
11565 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11566 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11567 if (!SWIG_IsOK(res1)) {
11568 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11569 }
11570 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11571 ecode2 = SWIG_AsVal_int(obj1, &val2);
11572 if (!SWIG_IsOK(ecode2)) {
11573 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11574 }
11575 arg2 = static_cast< int >(val2);
11576 {
11577 PyThreadState* __tstate = wxPyBeginAllowThreads();
11578 (arg1)->SetMaximumSizeX(arg2);
11579 wxPyEndAllowThreads(__tstate);
11580 if (PyErr_Occurred()) SWIG_fail;
11581 }
11582 resultobj = SWIG_Py_Void();
11583 return resultobj;
11584 fail:
11585 return NULL;
11586 }
11587
11588
11589 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11590 PyObject *resultobj = 0;
11591 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11592 int arg2 ;
11593 void *argp1 = 0 ;
11594 int res1 = 0 ;
11595 int val2 ;
11596 int ecode2 = 0 ;
11597 PyObject * obj0 = 0 ;
11598 PyObject * obj1 = 0 ;
11599 char * kwnames[] = {
11600 (char *) "self",(char *) "max", NULL
11601 };
11602
11603 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11604 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11605 if (!SWIG_IsOK(res1)) {
11606 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11607 }
11608 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11609 ecode2 = SWIG_AsVal_int(obj1, &val2);
11610 if (!SWIG_IsOK(ecode2)) {
11611 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11612 }
11613 arg2 = static_cast< int >(val2);
11614 {
11615 PyThreadState* __tstate = wxPyBeginAllowThreads();
11616 (arg1)->SetMaximumSizeY(arg2);
11617 wxPyEndAllowThreads(__tstate);
11618 if (PyErr_Occurred()) SWIG_fail;
11619 }
11620 resultobj = SWIG_Py_Void();
11621 return resultobj;
11622 fail:
11623 return NULL;
11624 }
11625
11626
11627 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11628 PyObject *resultobj = 0;
11629 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11630 int result;
11631 void *argp1 = 0 ;
11632 int res1 = 0 ;
11633 PyObject *swig_obj[1] ;
11634
11635 if (!args) SWIG_fail;
11636 swig_obj[0] = args;
11637 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11638 if (!SWIG_IsOK(res1)) {
11639 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11640 }
11641 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11642 {
11643 PyThreadState* __tstate = wxPyBeginAllowThreads();
11644 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
11645 wxPyEndAllowThreads(__tstate);
11646 if (PyErr_Occurred()) SWIG_fail;
11647 }
11648 resultobj = SWIG_From_int(static_cast< int >(result));
11649 return resultobj;
11650 fail:
11651 return NULL;
11652 }
11653
11654
11655 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11656 PyObject *resultobj = 0;
11657 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11658 int result;
11659 void *argp1 = 0 ;
11660 int res1 = 0 ;
11661 PyObject *swig_obj[1] ;
11662
11663 if (!args) SWIG_fail;
11664 swig_obj[0] = args;
11665 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11666 if (!SWIG_IsOK(res1)) {
11667 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11668 }
11669 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11670 {
11671 PyThreadState* __tstate = wxPyBeginAllowThreads();
11672 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
11673 wxPyEndAllowThreads(__tstate);
11674 if (PyErr_Occurred()) SWIG_fail;
11675 }
11676 resultobj = SWIG_From_int(static_cast< int >(result));
11677 return resultobj;
11678 fail:
11679 return NULL;
11680 }
11681
11682
11683 SWIGINTERN PyObject *_wrap_SashWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11684 PyObject *resultobj = 0;
11685 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11686 int arg2 ;
11687 int arg3 ;
11688 int arg4 = (int) 2 ;
11689 wxSashEdgePosition result;
11690 void *argp1 = 0 ;
11691 int res1 = 0 ;
11692 int val2 ;
11693 int ecode2 = 0 ;
11694 int val3 ;
11695 int ecode3 = 0 ;
11696 int val4 ;
11697 int ecode4 = 0 ;
11698 PyObject * obj0 = 0 ;
11699 PyObject * obj1 = 0 ;
11700 PyObject * obj2 = 0 ;
11701 PyObject * obj3 = 0 ;
11702 char * kwnames[] = {
11703 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11704 };
11705
11706 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11707 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11708 if (!SWIG_IsOK(res1)) {
11709 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11710 }
11711 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11712 ecode2 = SWIG_AsVal_int(obj1, &val2);
11713 if (!SWIG_IsOK(ecode2)) {
11714 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11715 }
11716 arg2 = static_cast< int >(val2);
11717 ecode3 = SWIG_AsVal_int(obj2, &val3);
11718 if (!SWIG_IsOK(ecode3)) {
11719 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11720 }
11721 arg3 = static_cast< int >(val3);
11722 if (obj3) {
11723 ecode4 = SWIG_AsVal_int(obj3, &val4);
11724 if (!SWIG_IsOK(ecode4)) {
11725 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11726 }
11727 arg4 = static_cast< int >(val4);
11728 }
11729 {
11730 PyThreadState* __tstate = wxPyBeginAllowThreads();
11731 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
11732 wxPyEndAllowThreads(__tstate);
11733 if (PyErr_Occurred()) SWIG_fail;
11734 }
11735 resultobj = SWIG_From_int(static_cast< int >(result));
11736 return resultobj;
11737 fail:
11738 return NULL;
11739 }
11740
11741
11742 SWIGINTERN PyObject *_wrap_SashWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11743 PyObject *resultobj = 0;
11744 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11745 void *argp1 = 0 ;
11746 int res1 = 0 ;
11747 PyObject *swig_obj[1] ;
11748
11749 if (!args) SWIG_fail;
11750 swig_obj[0] = args;
11751 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11752 if (!SWIG_IsOK(res1)) {
11753 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11754 }
11755 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11756 {
11757 PyThreadState* __tstate = wxPyBeginAllowThreads();
11758 (arg1)->SizeWindows();
11759 wxPyEndAllowThreads(__tstate);
11760 if (PyErr_Occurred()) SWIG_fail;
11761 }
11762 resultobj = SWIG_Py_Void();
11763 return resultobj;
11764 fail:
11765 return NULL;
11766 }
11767
11768
11769 SWIGINTERN PyObject *SashWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11770 PyObject *obj;
11771 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11772 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow, SWIG_NewClientData(obj));
11773 return SWIG_Py_Void();
11774 }
11775
11776 SWIGINTERN PyObject *SashWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11777 return SWIG_Python_InitShadowInstance(args);
11778 }
11779
11780 SWIGINTERN PyObject *_wrap_new_SashEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11781 PyObject *resultobj = 0;
11782 int arg1 = (int) 0 ;
11783 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
11784 wxSashEvent *result = 0 ;
11785 int val1 ;
11786 int ecode1 = 0 ;
11787 int val2 ;
11788 int ecode2 = 0 ;
11789 PyObject * obj0 = 0 ;
11790 PyObject * obj1 = 0 ;
11791 char * kwnames[] = {
11792 (char *) "id",(char *) "edge", NULL
11793 };
11794
11795 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) SWIG_fail;
11796 if (obj0) {
11797 ecode1 = SWIG_AsVal_int(obj0, &val1);
11798 if (!SWIG_IsOK(ecode1)) {
11799 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11800 }
11801 arg1 = static_cast< int >(val1);
11802 }
11803 if (obj1) {
11804 ecode2 = SWIG_AsVal_int(obj1, &val2);
11805 if (!SWIG_IsOK(ecode2)) {
11806 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11807 }
11808 arg2 = static_cast< wxSashEdgePosition >(val2);
11809 }
11810 {
11811 PyThreadState* __tstate = wxPyBeginAllowThreads();
11812 result = (wxSashEvent *)new wxSashEvent(arg1,arg2);
11813 wxPyEndAllowThreads(__tstate);
11814 if (PyErr_Occurred()) SWIG_fail;
11815 }
11816 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashEvent, SWIG_POINTER_NEW | 0 );
11817 return resultobj;
11818 fail:
11819 return NULL;
11820 }
11821
11822
11823 SWIGINTERN PyObject *_wrap_SashEvent_SetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11824 PyObject *resultobj = 0;
11825 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11826 wxSashEdgePosition arg2 ;
11827 void *argp1 = 0 ;
11828 int res1 = 0 ;
11829 int val2 ;
11830 int ecode2 = 0 ;
11831 PyObject * obj0 = 0 ;
11832 PyObject * obj1 = 0 ;
11833 char * kwnames[] = {
11834 (char *) "self",(char *) "edge", NULL
11835 };
11836
11837 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) SWIG_fail;
11838 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11839 if (!SWIG_IsOK(res1)) {
11840 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11841 }
11842 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11843 ecode2 = SWIG_AsVal_int(obj1, &val2);
11844 if (!SWIG_IsOK(ecode2)) {
11845 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11846 }
11847 arg2 = static_cast< wxSashEdgePosition >(val2);
11848 {
11849 PyThreadState* __tstate = wxPyBeginAllowThreads();
11850 (arg1)->SetEdge(arg2);
11851 wxPyEndAllowThreads(__tstate);
11852 if (PyErr_Occurred()) SWIG_fail;
11853 }
11854 resultobj = SWIG_Py_Void();
11855 return resultobj;
11856 fail:
11857 return NULL;
11858 }
11859
11860
11861 SWIGINTERN PyObject *_wrap_SashEvent_GetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11862 PyObject *resultobj = 0;
11863 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11864 wxSashEdgePosition result;
11865 void *argp1 = 0 ;
11866 int res1 = 0 ;
11867 PyObject *swig_obj[1] ;
11868
11869 if (!args) SWIG_fail;
11870 swig_obj[0] = args;
11871 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11872 if (!SWIG_IsOK(res1)) {
11873 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11874 }
11875 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11876 {
11877 PyThreadState* __tstate = wxPyBeginAllowThreads();
11878 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
11879 wxPyEndAllowThreads(__tstate);
11880 if (PyErr_Occurred()) SWIG_fail;
11881 }
11882 resultobj = SWIG_From_int(static_cast< int >(result));
11883 return resultobj;
11884 fail:
11885 return NULL;
11886 }
11887
11888
11889 SWIGINTERN PyObject *_wrap_SashEvent_SetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11890 PyObject *resultobj = 0;
11891 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11892 wxRect *arg2 = 0 ;
11893 void *argp1 = 0 ;
11894 int res1 = 0 ;
11895 wxRect temp2 ;
11896 PyObject * obj0 = 0 ;
11897 PyObject * obj1 = 0 ;
11898 char * kwnames[] = {
11899 (char *) "self",(char *) "rect", NULL
11900 };
11901
11902 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) SWIG_fail;
11903 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11904 if (!SWIG_IsOK(res1)) {
11905 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11906 }
11907 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11908 {
11909 arg2 = &temp2;
11910 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11911 }
11912 {
11913 PyThreadState* __tstate = wxPyBeginAllowThreads();
11914 (arg1)->SetDragRect((wxRect const &)*arg2);
11915 wxPyEndAllowThreads(__tstate);
11916 if (PyErr_Occurred()) SWIG_fail;
11917 }
11918 resultobj = SWIG_Py_Void();
11919 return resultobj;
11920 fail:
11921 return NULL;
11922 }
11923
11924
11925 SWIGINTERN PyObject *_wrap_SashEvent_GetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11926 PyObject *resultobj = 0;
11927 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11928 wxRect result;
11929 void *argp1 = 0 ;
11930 int res1 = 0 ;
11931 PyObject *swig_obj[1] ;
11932
11933 if (!args) SWIG_fail;
11934 swig_obj[0] = args;
11935 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11936 if (!SWIG_IsOK(res1)) {
11937 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11938 }
11939 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11940 {
11941 PyThreadState* __tstate = wxPyBeginAllowThreads();
11942 result = ((wxSashEvent const *)arg1)->GetDragRect();
11943 wxPyEndAllowThreads(__tstate);
11944 if (PyErr_Occurred()) SWIG_fail;
11945 }
11946 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
11947 return resultobj;
11948 fail:
11949 return NULL;
11950 }
11951
11952
11953 SWIGINTERN PyObject *_wrap_SashEvent_SetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11954 PyObject *resultobj = 0;
11955 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11956 wxSashDragStatus arg2 ;
11957 void *argp1 = 0 ;
11958 int res1 = 0 ;
11959 int val2 ;
11960 int ecode2 = 0 ;
11961 PyObject * obj0 = 0 ;
11962 PyObject * obj1 = 0 ;
11963 char * kwnames[] = {
11964 (char *) "self",(char *) "status", NULL
11965 };
11966
11967 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) SWIG_fail;
11968 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11969 if (!SWIG_IsOK(res1)) {
11970 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11971 }
11972 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11973 ecode2 = SWIG_AsVal_int(obj1, &val2);
11974 if (!SWIG_IsOK(ecode2)) {
11975 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11976 }
11977 arg2 = static_cast< wxSashDragStatus >(val2);
11978 {
11979 PyThreadState* __tstate = wxPyBeginAllowThreads();
11980 (arg1)->SetDragStatus(arg2);
11981 wxPyEndAllowThreads(__tstate);
11982 if (PyErr_Occurred()) SWIG_fail;
11983 }
11984 resultobj = SWIG_Py_Void();
11985 return resultobj;
11986 fail:
11987 return NULL;
11988 }
11989
11990
11991 SWIGINTERN PyObject *_wrap_SashEvent_GetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11992 PyObject *resultobj = 0;
11993 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11994 wxSashDragStatus result;
11995 void *argp1 = 0 ;
11996 int res1 = 0 ;
11997 PyObject *swig_obj[1] ;
11998
11999 if (!args) SWIG_fail;
12000 swig_obj[0] = args;
12001 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
12002 if (!SWIG_IsOK(res1)) {
12003 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
12004 }
12005 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
12006 {
12007 PyThreadState* __tstate = wxPyBeginAllowThreads();
12008 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
12009 wxPyEndAllowThreads(__tstate);
12010 if (PyErr_Occurred()) SWIG_fail;
12011 }
12012 resultobj = SWIG_From_int(static_cast< int >(result));
12013 return resultobj;
12014 fail:
12015 return NULL;
12016 }
12017
12018
12019 SWIGINTERN PyObject *SashEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12020 PyObject *obj;
12021 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12022 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent, SWIG_NewClientData(obj));
12023 return SWIG_Py_Void();
12024 }
12025
12026 SWIGINTERN PyObject *SashEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12027 return SWIG_Python_InitShadowInstance(args);
12028 }
12029
12030 SWIGINTERN PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12031 PyObject *resultobj = 0;
12032 int arg1 = (int) 0 ;
12033 wxQueryLayoutInfoEvent *result = 0 ;
12034 int val1 ;
12035 int ecode1 = 0 ;
12036 PyObject * obj0 = 0 ;
12037 char * kwnames[] = {
12038 (char *) "id", NULL
12039 };
12040
12041 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) SWIG_fail;
12042 if (obj0) {
12043 ecode1 = SWIG_AsVal_int(obj0, &val1);
12044 if (!SWIG_IsOK(ecode1)) {
12045 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
12046 }
12047 arg1 = static_cast< int >(val1);
12048 }
12049 {
12050 PyThreadState* __tstate = wxPyBeginAllowThreads();
12051 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
12052 wxPyEndAllowThreads(__tstate);
12053 if (PyErr_Occurred()) SWIG_fail;
12054 }
12055 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_NEW | 0 );
12056 return resultobj;
12057 fail:
12058 return NULL;
12059 }
12060
12061
12062 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12063 PyObject *resultobj = 0;
12064 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12065 int arg2 ;
12066 void *argp1 = 0 ;
12067 int res1 = 0 ;
12068 int val2 ;
12069 int ecode2 = 0 ;
12070 PyObject * obj0 = 0 ;
12071 PyObject * obj1 = 0 ;
12072 char * kwnames[] = {
12073 (char *) "self",(char *) "length", NULL
12074 };
12075
12076 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) SWIG_fail;
12077 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12078 if (!SWIG_IsOK(res1)) {
12079 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12080 }
12081 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12082 ecode2 = SWIG_AsVal_int(obj1, &val2);
12083 if (!SWIG_IsOK(ecode2)) {
12084 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
12085 }
12086 arg2 = static_cast< int >(val2);
12087 {
12088 PyThreadState* __tstate = wxPyBeginAllowThreads();
12089 (arg1)->SetRequestedLength(arg2);
12090 wxPyEndAllowThreads(__tstate);
12091 if (PyErr_Occurred()) SWIG_fail;
12092 }
12093 resultobj = SWIG_Py_Void();
12094 return resultobj;
12095 fail:
12096 return NULL;
12097 }
12098
12099
12100 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12101 PyObject *resultobj = 0;
12102 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12103 int result;
12104 void *argp1 = 0 ;
12105 int res1 = 0 ;
12106 PyObject *swig_obj[1] ;
12107
12108 if (!args) SWIG_fail;
12109 swig_obj[0] = args;
12110 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12111 if (!SWIG_IsOK(res1)) {
12112 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12113 }
12114 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12115 {
12116 PyThreadState* __tstate = wxPyBeginAllowThreads();
12117 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
12118 wxPyEndAllowThreads(__tstate);
12119 if (PyErr_Occurred()) SWIG_fail;
12120 }
12121 resultobj = SWIG_From_int(static_cast< int >(result));
12122 return resultobj;
12123 fail:
12124 return NULL;
12125 }
12126
12127
12128 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12129 PyObject *resultobj = 0;
12130 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12131 int arg2 ;
12132 void *argp1 = 0 ;
12133 int res1 = 0 ;
12134 int val2 ;
12135 int ecode2 = 0 ;
12136 PyObject * obj0 = 0 ;
12137 PyObject * obj1 = 0 ;
12138 char * kwnames[] = {
12139 (char *) "self",(char *) "flags", NULL
12140 };
12141
12142 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12143 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12144 if (!SWIG_IsOK(res1)) {
12145 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12146 }
12147 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12148 ecode2 = SWIG_AsVal_int(obj1, &val2);
12149 if (!SWIG_IsOK(ecode2)) {
12150 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12151 }
12152 arg2 = static_cast< int >(val2);
12153 {
12154 PyThreadState* __tstate = wxPyBeginAllowThreads();
12155 (arg1)->SetFlags(arg2);
12156 wxPyEndAllowThreads(__tstate);
12157 if (PyErr_Occurred()) SWIG_fail;
12158 }
12159 resultobj = SWIG_Py_Void();
12160 return resultobj;
12161 fail:
12162 return NULL;
12163 }
12164
12165
12166 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12167 PyObject *resultobj = 0;
12168 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12169 int result;
12170 void *argp1 = 0 ;
12171 int res1 = 0 ;
12172 PyObject *swig_obj[1] ;
12173
12174 if (!args) SWIG_fail;
12175 swig_obj[0] = args;
12176 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12177 if (!SWIG_IsOK(res1)) {
12178 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12179 }
12180 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12181 {
12182 PyThreadState* __tstate = wxPyBeginAllowThreads();
12183 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
12184 wxPyEndAllowThreads(__tstate);
12185 if (PyErr_Occurred()) SWIG_fail;
12186 }
12187 resultobj = SWIG_From_int(static_cast< int >(result));
12188 return resultobj;
12189 fail:
12190 return NULL;
12191 }
12192
12193
12194 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12195 PyObject *resultobj = 0;
12196 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12197 wxSize *arg2 = 0 ;
12198 void *argp1 = 0 ;
12199 int res1 = 0 ;
12200 wxSize temp2 ;
12201 PyObject * obj0 = 0 ;
12202 PyObject * obj1 = 0 ;
12203 char * kwnames[] = {
12204 (char *) "self",(char *) "size", NULL
12205 };
12206
12207 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) SWIG_fail;
12208 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12209 if (!SWIG_IsOK(res1)) {
12210 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12211 }
12212 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12213 {
12214 arg2 = &temp2;
12215 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12216 }
12217 {
12218 PyThreadState* __tstate = wxPyBeginAllowThreads();
12219 (arg1)->SetSize((wxSize const &)*arg2);
12220 wxPyEndAllowThreads(__tstate);
12221 if (PyErr_Occurred()) SWIG_fail;
12222 }
12223 resultobj = SWIG_Py_Void();
12224 return resultobj;
12225 fail:
12226 return NULL;
12227 }
12228
12229
12230 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12231 PyObject *resultobj = 0;
12232 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12233 wxSize result;
12234 void *argp1 = 0 ;
12235 int res1 = 0 ;
12236 PyObject *swig_obj[1] ;
12237
12238 if (!args) SWIG_fail;
12239 swig_obj[0] = args;
12240 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12241 if (!SWIG_IsOK(res1)) {
12242 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12243 }
12244 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12245 {
12246 PyThreadState* __tstate = wxPyBeginAllowThreads();
12247 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
12248 wxPyEndAllowThreads(__tstate);
12249 if (PyErr_Occurred()) SWIG_fail;
12250 }
12251 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
12252 return resultobj;
12253 fail:
12254 return NULL;
12255 }
12256
12257
12258 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12259 PyObject *resultobj = 0;
12260 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12261 wxLayoutOrientation arg2 ;
12262 void *argp1 = 0 ;
12263 int res1 = 0 ;
12264 int val2 ;
12265 int ecode2 = 0 ;
12266 PyObject * obj0 = 0 ;
12267 PyObject * obj1 = 0 ;
12268 char * kwnames[] = {
12269 (char *) "self",(char *) "orient", NULL
12270 };
12271
12272 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12273 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12274 if (!SWIG_IsOK(res1)) {
12275 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12276 }
12277 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12278 ecode2 = SWIG_AsVal_int(obj1, &val2);
12279 if (!SWIG_IsOK(ecode2)) {
12280 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12281 }
12282 arg2 = static_cast< wxLayoutOrientation >(val2);
12283 {
12284 PyThreadState* __tstate = wxPyBeginAllowThreads();
12285 (arg1)->SetOrientation(arg2);
12286 wxPyEndAllowThreads(__tstate);
12287 if (PyErr_Occurred()) SWIG_fail;
12288 }
12289 resultobj = SWIG_Py_Void();
12290 return resultobj;
12291 fail:
12292 return NULL;
12293 }
12294
12295
12296 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12297 PyObject *resultobj = 0;
12298 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12299 wxLayoutOrientation result;
12300 void *argp1 = 0 ;
12301 int res1 = 0 ;
12302 PyObject *swig_obj[1] ;
12303
12304 if (!args) SWIG_fail;
12305 swig_obj[0] = args;
12306 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12307 if (!SWIG_IsOK(res1)) {
12308 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12309 }
12310 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12311 {
12312 PyThreadState* __tstate = wxPyBeginAllowThreads();
12313 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
12314 wxPyEndAllowThreads(__tstate);
12315 if (PyErr_Occurred()) SWIG_fail;
12316 }
12317 resultobj = SWIG_From_int(static_cast< int >(result));
12318 return resultobj;
12319 fail:
12320 return NULL;
12321 }
12322
12323
12324 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12325 PyObject *resultobj = 0;
12326 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12327 wxLayoutAlignment arg2 ;
12328 void *argp1 = 0 ;
12329 int res1 = 0 ;
12330 int val2 ;
12331 int ecode2 = 0 ;
12332 PyObject * obj0 = 0 ;
12333 PyObject * obj1 = 0 ;
12334 char * kwnames[] = {
12335 (char *) "self",(char *) "align", NULL
12336 };
12337
12338 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12339 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12340 if (!SWIG_IsOK(res1)) {
12341 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12342 }
12343 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12344 ecode2 = SWIG_AsVal_int(obj1, &val2);
12345 if (!SWIG_IsOK(ecode2)) {
12346 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12347 }
12348 arg2 = static_cast< wxLayoutAlignment >(val2);
12349 {
12350 PyThreadState* __tstate = wxPyBeginAllowThreads();
12351 (arg1)->SetAlignment(arg2);
12352 wxPyEndAllowThreads(__tstate);
12353 if (PyErr_Occurred()) SWIG_fail;
12354 }
12355 resultobj = SWIG_Py_Void();
12356 return resultobj;
12357 fail:
12358 return NULL;
12359 }
12360
12361
12362 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12363 PyObject *resultobj = 0;
12364 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12365 wxLayoutAlignment result;
12366 void *argp1 = 0 ;
12367 int res1 = 0 ;
12368 PyObject *swig_obj[1] ;
12369
12370 if (!args) SWIG_fail;
12371 swig_obj[0] = args;
12372 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12373 if (!SWIG_IsOK(res1)) {
12374 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12375 }
12376 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12377 {
12378 PyThreadState* __tstate = wxPyBeginAllowThreads();
12379 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
12380 wxPyEndAllowThreads(__tstate);
12381 if (PyErr_Occurred()) SWIG_fail;
12382 }
12383 resultobj = SWIG_From_int(static_cast< int >(result));
12384 return resultobj;
12385 fail:
12386 return NULL;
12387 }
12388
12389
12390 SWIGINTERN PyObject *QueryLayoutInfoEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12391 PyObject *obj;
12392 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12393 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_NewClientData(obj));
12394 return SWIG_Py_Void();
12395 }
12396
12397 SWIGINTERN PyObject *QueryLayoutInfoEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12398 return SWIG_Python_InitShadowInstance(args);
12399 }
12400
12401 SWIGINTERN PyObject *_wrap_new_CalculateLayoutEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12402 PyObject *resultobj = 0;
12403 int arg1 = (int) 0 ;
12404 wxCalculateLayoutEvent *result = 0 ;
12405 int val1 ;
12406 int ecode1 = 0 ;
12407 PyObject * obj0 = 0 ;
12408 char * kwnames[] = {
12409 (char *) "id", NULL
12410 };
12411
12412 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) SWIG_fail;
12413 if (obj0) {
12414 ecode1 = SWIG_AsVal_int(obj0, &val1);
12415 if (!SWIG_IsOK(ecode1)) {
12416 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12417 }
12418 arg1 = static_cast< int >(val1);
12419 }
12420 {
12421 PyThreadState* __tstate = wxPyBeginAllowThreads();
12422 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
12423 wxPyEndAllowThreads(__tstate);
12424 if (PyErr_Occurred()) SWIG_fail;
12425 }
12426 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_NEW | 0 );
12427 return resultobj;
12428 fail:
12429 return NULL;
12430 }
12431
12432
12433 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12434 PyObject *resultobj = 0;
12435 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12436 int arg2 ;
12437 void *argp1 = 0 ;
12438 int res1 = 0 ;
12439 int val2 ;
12440 int ecode2 = 0 ;
12441 PyObject * obj0 = 0 ;
12442 PyObject * obj1 = 0 ;
12443 char * kwnames[] = {
12444 (char *) "self",(char *) "flags", NULL
12445 };
12446
12447 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12448 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12449 if (!SWIG_IsOK(res1)) {
12450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12451 }
12452 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12453 ecode2 = SWIG_AsVal_int(obj1, &val2);
12454 if (!SWIG_IsOK(ecode2)) {
12455 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12456 }
12457 arg2 = static_cast< int >(val2);
12458 {
12459 PyThreadState* __tstate = wxPyBeginAllowThreads();
12460 (arg1)->SetFlags(arg2);
12461 wxPyEndAllowThreads(__tstate);
12462 if (PyErr_Occurred()) SWIG_fail;
12463 }
12464 resultobj = SWIG_Py_Void();
12465 return resultobj;
12466 fail:
12467 return NULL;
12468 }
12469
12470
12471 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12472 PyObject *resultobj = 0;
12473 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12474 int result;
12475 void *argp1 = 0 ;
12476 int res1 = 0 ;
12477 PyObject *swig_obj[1] ;
12478
12479 if (!args) SWIG_fail;
12480 swig_obj[0] = args;
12481 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12482 if (!SWIG_IsOK(res1)) {
12483 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12484 }
12485 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12486 {
12487 PyThreadState* __tstate = wxPyBeginAllowThreads();
12488 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
12489 wxPyEndAllowThreads(__tstate);
12490 if (PyErr_Occurred()) SWIG_fail;
12491 }
12492 resultobj = SWIG_From_int(static_cast< int >(result));
12493 return resultobj;
12494 fail:
12495 return NULL;
12496 }
12497
12498
12499 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12500 PyObject *resultobj = 0;
12501 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12502 wxRect *arg2 = 0 ;
12503 void *argp1 = 0 ;
12504 int res1 = 0 ;
12505 wxRect temp2 ;
12506 PyObject * obj0 = 0 ;
12507 PyObject * obj1 = 0 ;
12508 char * kwnames[] = {
12509 (char *) "self",(char *) "rect", NULL
12510 };
12511
12512 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) SWIG_fail;
12513 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12514 if (!SWIG_IsOK(res1)) {
12515 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12516 }
12517 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12518 {
12519 arg2 = &temp2;
12520 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12521 }
12522 {
12523 PyThreadState* __tstate = wxPyBeginAllowThreads();
12524 (arg1)->SetRect((wxRect const &)*arg2);
12525 wxPyEndAllowThreads(__tstate);
12526 if (PyErr_Occurred()) SWIG_fail;
12527 }
12528 resultobj = SWIG_Py_Void();
12529 return resultobj;
12530 fail:
12531 return NULL;
12532 }
12533
12534
12535 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12536 PyObject *resultobj = 0;
12537 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12538 wxRect result;
12539 void *argp1 = 0 ;
12540 int res1 = 0 ;
12541 PyObject *swig_obj[1] ;
12542
12543 if (!args) SWIG_fail;
12544 swig_obj[0] = args;
12545 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12546 if (!SWIG_IsOK(res1)) {
12547 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12548 }
12549 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12550 {
12551 PyThreadState* __tstate = wxPyBeginAllowThreads();
12552 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
12553 wxPyEndAllowThreads(__tstate);
12554 if (PyErr_Occurred()) SWIG_fail;
12555 }
12556 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
12557 return resultobj;
12558 fail:
12559 return NULL;
12560 }
12561
12562
12563 SWIGINTERN PyObject *CalculateLayoutEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12564 PyObject *obj;
12565 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12566 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_NewClientData(obj));
12567 return SWIG_Py_Void();
12568 }
12569
12570 SWIGINTERN PyObject *CalculateLayoutEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12571 return SWIG_Python_InitShadowInstance(args);
12572 }
12573
12574 SWIGINTERN PyObject *_wrap_new_SashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12575 PyObject *resultobj = 0;
12576 wxWindow *arg1 = (wxWindow *) 0 ;
12577 int arg2 = (int) -1 ;
12578 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12579 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12580 wxSize const &arg4_defvalue = wxDefaultSize ;
12581 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12582 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12583 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
12584 wxString *arg6 = (wxString *) &arg6_defvalue ;
12585 wxSashLayoutWindow *result = 0 ;
12586 void *argp1 = 0 ;
12587 int res1 = 0 ;
12588 int val2 ;
12589 int ecode2 = 0 ;
12590 wxPoint temp3 ;
12591 wxSize temp4 ;
12592 long val5 ;
12593 int ecode5 = 0 ;
12594 bool temp6 = false ;
12595 PyObject * obj0 = 0 ;
12596 PyObject * obj1 = 0 ;
12597 PyObject * obj2 = 0 ;
12598 PyObject * obj3 = 0 ;
12599 PyObject * obj4 = 0 ;
12600 PyObject * obj5 = 0 ;
12601 char * kwnames[] = {
12602 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12603 };
12604
12605 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
12606 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12607 if (!SWIG_IsOK(res1)) {
12608 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12609 }
12610 arg1 = reinterpret_cast< wxWindow * >(argp1);
12611 if (obj1) {
12612 ecode2 = SWIG_AsVal_int(obj1, &val2);
12613 if (!SWIG_IsOK(ecode2)) {
12614 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12615 }
12616 arg2 = static_cast< int >(val2);
12617 }
12618 if (obj2) {
12619 {
12620 arg3 = &temp3;
12621 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12622 }
12623 }
12624 if (obj3) {
12625 {
12626 arg4 = &temp4;
12627 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12628 }
12629 }
12630 if (obj4) {
12631 ecode5 = SWIG_AsVal_long(obj4, &val5);
12632 if (!SWIG_IsOK(ecode5)) {
12633 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12634 }
12635 arg5 = static_cast< long >(val5);
12636 }
12637 if (obj5) {
12638 {
12639 arg6 = wxString_in_helper(obj5);
12640 if (arg6 == NULL) SWIG_fail;
12641 temp6 = true;
12642 }
12643 }
12644 {
12645 if (!wxPyCheckForApp()) SWIG_fail;
12646 PyThreadState* __tstate = wxPyBeginAllowThreads();
12647 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12648 wxPyEndAllowThreads(__tstate);
12649 if (PyErr_Occurred()) SWIG_fail;
12650 }
12651 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_NEW | 0 );
12652 {
12653 if (temp6)
12654 delete arg6;
12655 }
12656 return resultobj;
12657 fail:
12658 {
12659 if (temp6)
12660 delete arg6;
12661 }
12662 return NULL;
12663 }
12664
12665
12666 SWIGINTERN PyObject *_wrap_new_PreSashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12667 PyObject *resultobj = 0;
12668 wxSashLayoutWindow *result = 0 ;
12669
12670 if (!SWIG_Python_UnpackTuple(args,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail;
12671 {
12672 if (!wxPyCheckForApp()) SWIG_fail;
12673 PyThreadState* __tstate = wxPyBeginAllowThreads();
12674 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
12675 wxPyEndAllowThreads(__tstate);
12676 if (PyErr_Occurred()) SWIG_fail;
12677 }
12678 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_OWN | 0 );
12679 return resultobj;
12680 fail:
12681 return NULL;
12682 }
12683
12684
12685 SWIGINTERN PyObject *_wrap_SashLayoutWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12686 PyObject *resultobj = 0;
12687 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12688 wxWindow *arg2 = (wxWindow *) 0 ;
12689 int arg3 = (int) -1 ;
12690 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12691 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12692 wxSize const &arg5_defvalue = wxDefaultSize ;
12693 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12694 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12695 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
12696 wxString *arg7 = (wxString *) &arg7_defvalue ;
12697 bool result;
12698 void *argp1 = 0 ;
12699 int res1 = 0 ;
12700 void *argp2 = 0 ;
12701 int res2 = 0 ;
12702 int val3 ;
12703 int ecode3 = 0 ;
12704 wxPoint temp4 ;
12705 wxSize temp5 ;
12706 long val6 ;
12707 int ecode6 = 0 ;
12708 bool temp7 = false ;
12709 PyObject * obj0 = 0 ;
12710 PyObject * obj1 = 0 ;
12711 PyObject * obj2 = 0 ;
12712 PyObject * obj3 = 0 ;
12713 PyObject * obj4 = 0 ;
12714 PyObject * obj5 = 0 ;
12715 PyObject * obj6 = 0 ;
12716 char * kwnames[] = {
12717 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12718 };
12719
12720 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
12721 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12722 if (!SWIG_IsOK(res1)) {
12723 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12724 }
12725 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12726 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12727 if (!SWIG_IsOK(res2)) {
12728 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12729 }
12730 arg2 = reinterpret_cast< wxWindow * >(argp2);
12731 if (obj2) {
12732 ecode3 = SWIG_AsVal_int(obj2, &val3);
12733 if (!SWIG_IsOK(ecode3)) {
12734 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12735 }
12736 arg3 = static_cast< int >(val3);
12737 }
12738 if (obj3) {
12739 {
12740 arg4 = &temp4;
12741 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12742 }
12743 }
12744 if (obj4) {
12745 {
12746 arg5 = &temp5;
12747 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12748 }
12749 }
12750 if (obj5) {
12751 ecode6 = SWIG_AsVal_long(obj5, &val6);
12752 if (!SWIG_IsOK(ecode6)) {
12753 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12754 }
12755 arg6 = static_cast< long >(val6);
12756 }
12757 if (obj6) {
12758 {
12759 arg7 = wxString_in_helper(obj6);
12760 if (arg7 == NULL) SWIG_fail;
12761 temp7 = true;
12762 }
12763 }
12764 {
12765 PyThreadState* __tstate = wxPyBeginAllowThreads();
12766 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12767 wxPyEndAllowThreads(__tstate);
12768 if (PyErr_Occurred()) SWIG_fail;
12769 }
12770 {
12771 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12772 }
12773 {
12774 if (temp7)
12775 delete arg7;
12776 }
12777 return resultobj;
12778 fail:
12779 {
12780 if (temp7)
12781 delete arg7;
12782 }
12783 return NULL;
12784 }
12785
12786
12787 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12788 PyObject *resultobj = 0;
12789 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12790 wxLayoutAlignment result;
12791 void *argp1 = 0 ;
12792 int res1 = 0 ;
12793 PyObject *swig_obj[1] ;
12794
12795 if (!args) SWIG_fail;
12796 swig_obj[0] = args;
12797 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12798 if (!SWIG_IsOK(res1)) {
12799 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12800 }
12801 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12802 {
12803 PyThreadState* __tstate = wxPyBeginAllowThreads();
12804 result = (wxLayoutAlignment)(arg1)->GetAlignment();
12805 wxPyEndAllowThreads(__tstate);
12806 if (PyErr_Occurred()) SWIG_fail;
12807 }
12808 resultobj = SWIG_From_int(static_cast< int >(result));
12809 return resultobj;
12810 fail:
12811 return NULL;
12812 }
12813
12814
12815 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12816 PyObject *resultobj = 0;
12817 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12818 wxLayoutOrientation result;
12819 void *argp1 = 0 ;
12820 int res1 = 0 ;
12821 PyObject *swig_obj[1] ;
12822
12823 if (!args) SWIG_fail;
12824 swig_obj[0] = args;
12825 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12826 if (!SWIG_IsOK(res1)) {
12827 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12828 }
12829 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12830 {
12831 PyThreadState* __tstate = wxPyBeginAllowThreads();
12832 result = (wxLayoutOrientation)(arg1)->GetOrientation();
12833 wxPyEndAllowThreads(__tstate);
12834 if (PyErr_Occurred()) SWIG_fail;
12835 }
12836 resultobj = SWIG_From_int(static_cast< int >(result));
12837 return resultobj;
12838 fail:
12839 return NULL;
12840 }
12841
12842
12843 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12844 PyObject *resultobj = 0;
12845 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12846 wxLayoutAlignment arg2 ;
12847 void *argp1 = 0 ;
12848 int res1 = 0 ;
12849 int val2 ;
12850 int ecode2 = 0 ;
12851 PyObject * obj0 = 0 ;
12852 PyObject * obj1 = 0 ;
12853 char * kwnames[] = {
12854 (char *) "self",(char *) "alignment", NULL
12855 };
12856
12857 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12858 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12859 if (!SWIG_IsOK(res1)) {
12860 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12861 }
12862 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12863 ecode2 = SWIG_AsVal_int(obj1, &val2);
12864 if (!SWIG_IsOK(ecode2)) {
12865 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12866 }
12867 arg2 = static_cast< wxLayoutAlignment >(val2);
12868 {
12869 PyThreadState* __tstate = wxPyBeginAllowThreads();
12870 (arg1)->SetAlignment(arg2);
12871 wxPyEndAllowThreads(__tstate);
12872 if (PyErr_Occurred()) SWIG_fail;
12873 }
12874 resultobj = SWIG_Py_Void();
12875 return resultobj;
12876 fail:
12877 return NULL;
12878 }
12879
12880
12881 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12882 PyObject *resultobj = 0;
12883 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12884 wxSize *arg2 = 0 ;
12885 void *argp1 = 0 ;
12886 int res1 = 0 ;
12887 wxSize temp2 ;
12888 PyObject * obj0 = 0 ;
12889 PyObject * obj1 = 0 ;
12890 char * kwnames[] = {
12891 (char *) "self",(char *) "size", NULL
12892 };
12893
12894 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) SWIG_fail;
12895 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12896 if (!SWIG_IsOK(res1)) {
12897 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12898 }
12899 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12900 {
12901 arg2 = &temp2;
12902 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12903 }
12904 {
12905 PyThreadState* __tstate = wxPyBeginAllowThreads();
12906 (arg1)->SetDefaultSize((wxSize const &)*arg2);
12907 wxPyEndAllowThreads(__tstate);
12908 if (PyErr_Occurred()) SWIG_fail;
12909 }
12910 resultobj = SWIG_Py_Void();
12911 return resultobj;
12912 fail:
12913 return NULL;
12914 }
12915
12916
12917 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12918 PyObject *resultobj = 0;
12919 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12920 wxLayoutOrientation arg2 ;
12921 void *argp1 = 0 ;
12922 int res1 = 0 ;
12923 int val2 ;
12924 int ecode2 = 0 ;
12925 PyObject * obj0 = 0 ;
12926 PyObject * obj1 = 0 ;
12927 char * kwnames[] = {
12928 (char *) "self",(char *) "orientation", NULL
12929 };
12930
12931 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12932 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12933 if (!SWIG_IsOK(res1)) {
12934 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12935 }
12936 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12937 ecode2 = SWIG_AsVal_int(obj1, &val2);
12938 if (!SWIG_IsOK(ecode2)) {
12939 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12940 }
12941 arg2 = static_cast< wxLayoutOrientation >(val2);
12942 {
12943 PyThreadState* __tstate = wxPyBeginAllowThreads();
12944 (arg1)->SetOrientation(arg2);
12945 wxPyEndAllowThreads(__tstate);
12946 if (PyErr_Occurred()) SWIG_fail;
12947 }
12948 resultobj = SWIG_Py_Void();
12949 return resultobj;
12950 fail:
12951 return NULL;
12952 }
12953
12954
12955 SWIGINTERN PyObject *SashLayoutWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12956 PyObject *obj;
12957 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12958 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow, SWIG_NewClientData(obj));
12959 return SWIG_Py_Void();
12960 }
12961
12962 SWIGINTERN PyObject *SashLayoutWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12963 return SWIG_Python_InitShadowInstance(args);
12964 }
12965
12966 SWIGINTERN PyObject *_wrap_new_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12967 PyObject *resultobj = 0;
12968 wxLayoutAlgorithm *result = 0 ;
12969
12970 if (!SWIG_Python_UnpackTuple(args,"new_LayoutAlgorithm",0,0,0)) SWIG_fail;
12971 {
12972 PyThreadState* __tstate = wxPyBeginAllowThreads();
12973 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
12974 wxPyEndAllowThreads(__tstate);
12975 if (PyErr_Occurred()) SWIG_fail;
12976 }
12977 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_NEW | 0 );
12978 return resultobj;
12979 fail:
12980 return NULL;
12981 }
12982
12983
12984 SWIGINTERN PyObject *_wrap_delete_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12985 PyObject *resultobj = 0;
12986 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12987 void *argp1 = 0 ;
12988 int res1 = 0 ;
12989 PyObject *swig_obj[1] ;
12990
12991 if (!args) SWIG_fail;
12992 swig_obj[0] = args;
12993 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_DISOWN | 0 );
12994 if (!SWIG_IsOK(res1)) {
12995 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12996 }
12997 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12998 {
12999 PyThreadState* __tstate = wxPyBeginAllowThreads();
13000 delete arg1;
13001
13002 wxPyEndAllowThreads(__tstate);
13003 if (PyErr_Occurred()) SWIG_fail;
13004 }
13005 resultobj = SWIG_Py_Void();
13006 return resultobj;
13007 fail:
13008 return NULL;
13009 }
13010
13011
13012 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13013 PyObject *resultobj = 0;
13014 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13015 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
13016 wxRect *arg3 = (wxRect *) NULL ;
13017 bool result;
13018 void *argp1 = 0 ;
13019 int res1 = 0 ;
13020 void *argp2 = 0 ;
13021 int res2 = 0 ;
13022 void *argp3 = 0 ;
13023 int res3 = 0 ;
13024 PyObject * obj0 = 0 ;
13025 PyObject * obj1 = 0 ;
13026 PyObject * obj2 = 0 ;
13027 char * kwnames[] = {
13028 (char *) "self",(char *) "frame",(char *) "rect", NULL
13029 };
13030
13031 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13032 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13033 if (!SWIG_IsOK(res1)) {
13034 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13035 }
13036 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13037 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
13038 if (!SWIG_IsOK(res2)) {
13039 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
13040 }
13041 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
13042 if (obj2) {
13043 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxRect, 0 | 0 );
13044 if (!SWIG_IsOK(res3)) {
13045 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
13046 }
13047 arg3 = reinterpret_cast< wxRect * >(argp3);
13048 }
13049 {
13050 PyThreadState* __tstate = wxPyBeginAllowThreads();
13051 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
13052 wxPyEndAllowThreads(__tstate);
13053 if (PyErr_Occurred()) SWIG_fail;
13054 }
13055 {
13056 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13057 }
13058 return resultobj;
13059 fail:
13060 return NULL;
13061 }
13062
13063
13064 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13065 PyObject *resultobj = 0;
13066 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13067 wxFrame *arg2 = (wxFrame *) 0 ;
13068 wxWindow *arg3 = (wxWindow *) NULL ;
13069 bool result;
13070 void *argp1 = 0 ;
13071 int res1 = 0 ;
13072 void *argp2 = 0 ;
13073 int res2 = 0 ;
13074 void *argp3 = 0 ;
13075 int res3 = 0 ;
13076 PyObject * obj0 = 0 ;
13077 PyObject * obj1 = 0 ;
13078 PyObject * obj2 = 0 ;
13079 char * kwnames[] = {
13080 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
13081 };
13082
13083 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13084 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13085 if (!SWIG_IsOK(res1)) {
13086 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13087 }
13088 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13089 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
13090 if (!SWIG_IsOK(res2)) {
13091 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
13092 }
13093 arg2 = reinterpret_cast< wxFrame * >(argp2);
13094 if (obj2) {
13095 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13096 if (!SWIG_IsOK(res3)) {
13097 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
13098 }
13099 arg3 = reinterpret_cast< wxWindow * >(argp3);
13100 }
13101 {
13102 PyThreadState* __tstate = wxPyBeginAllowThreads();
13103 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
13104 wxPyEndAllowThreads(__tstate);
13105 if (PyErr_Occurred()) SWIG_fail;
13106 }
13107 {
13108 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13109 }
13110 return resultobj;
13111 fail:
13112 return NULL;
13113 }
13114
13115
13116 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13117 PyObject *resultobj = 0;
13118 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13119 wxWindow *arg2 = (wxWindow *) 0 ;
13120 wxWindow *arg3 = (wxWindow *) NULL ;
13121 bool result;
13122 void *argp1 = 0 ;
13123 int res1 = 0 ;
13124 void *argp2 = 0 ;
13125 int res2 = 0 ;
13126 void *argp3 = 0 ;
13127 int res3 = 0 ;
13128 PyObject * obj0 = 0 ;
13129 PyObject * obj1 = 0 ;
13130 PyObject * obj2 = 0 ;
13131 char * kwnames[] = {
13132 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
13133 };
13134
13135 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13136 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13137 if (!SWIG_IsOK(res1)) {
13138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13139 }
13140 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13141 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13142 if (!SWIG_IsOK(res2)) {
13143 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13144 }
13145 arg2 = reinterpret_cast< wxWindow * >(argp2);
13146 if (obj2) {
13147 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13148 if (!SWIG_IsOK(res3)) {
13149 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
13150 }
13151 arg3 = reinterpret_cast< wxWindow * >(argp3);
13152 }
13153 {
13154 PyThreadState* __tstate = wxPyBeginAllowThreads();
13155 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
13156 wxPyEndAllowThreads(__tstate);
13157 if (PyErr_Occurred()) SWIG_fail;
13158 }
13159 {
13160 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13161 }
13162 return resultobj;
13163 fail:
13164 return NULL;
13165 }
13166
13167
13168 SWIGINTERN PyObject *LayoutAlgorithm_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13169 PyObject *obj;
13170 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13171 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm, SWIG_NewClientData(obj));
13172 return SWIG_Py_Void();
13173 }
13174
13175 SWIGINTERN PyObject *LayoutAlgorithm_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13176 return SWIG_Python_InitShadowInstance(args);
13177 }
13178
13179 SWIGINTERN PyObject *_wrap_new_PopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13180 PyObject *resultobj = 0;
13181 wxWindow *arg1 = (wxWindow *) 0 ;
13182 int arg2 = (int) wxBORDER_NONE ;
13183 wxPopupWindow *result = 0 ;
13184 void *argp1 = 0 ;
13185 int res1 = 0 ;
13186 int val2 ;
13187 int ecode2 = 0 ;
13188 PyObject * obj0 = 0 ;
13189 PyObject * obj1 = 0 ;
13190 char * kwnames[] = {
13191 (char *) "parent",(char *) "flags", NULL
13192 };
13193
13194 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13195 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13196 if (!SWIG_IsOK(res1)) {
13197 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13198 }
13199 arg1 = reinterpret_cast< wxWindow * >(argp1);
13200 if (obj1) {
13201 ecode2 = SWIG_AsVal_int(obj1, &val2);
13202 if (!SWIG_IsOK(ecode2)) {
13203 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13204 }
13205 arg2 = static_cast< int >(val2);
13206 }
13207 {
13208 if (!wxPyCheckForApp()) SWIG_fail;
13209 PyThreadState* __tstate = wxPyBeginAllowThreads();
13210 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
13211 wxPyEndAllowThreads(__tstate);
13212 if (PyErr_Occurred()) SWIG_fail;
13213 }
13214 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_NEW | 0 );
13215 return resultobj;
13216 fail:
13217 return NULL;
13218 }
13219
13220
13221 SWIGINTERN PyObject *_wrap_new_PrePopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13222 PyObject *resultobj = 0;
13223 wxPopupWindow *result = 0 ;
13224
13225 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupWindow",0,0,0)) SWIG_fail;
13226 {
13227 if (!wxPyCheckForApp()) SWIG_fail;
13228 PyThreadState* __tstate = wxPyBeginAllowThreads();
13229 result = (wxPopupWindow *)new wxPopupWindow();
13230 wxPyEndAllowThreads(__tstate);
13231 if (PyErr_Occurred()) SWIG_fail;
13232 }
13233 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_OWN | 0 );
13234 return resultobj;
13235 fail:
13236 return NULL;
13237 }
13238
13239
13240 SWIGINTERN PyObject *_wrap_PopupWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13241 PyObject *resultobj = 0;
13242 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
13243 wxWindow *arg2 = (wxWindow *) 0 ;
13244 int arg3 = (int) wxBORDER_NONE ;
13245 bool result;
13246 void *argp1 = 0 ;
13247 int res1 = 0 ;
13248 void *argp2 = 0 ;
13249 int res2 = 0 ;
13250 int val3 ;
13251 int ecode3 = 0 ;
13252 PyObject * obj0 = 0 ;
13253 PyObject * obj1 = 0 ;
13254 PyObject * obj2 = 0 ;
13255 char * kwnames[] = {
13256 (char *) "self",(char *) "parent",(char *) "flags", NULL
13257 };
13258
13259 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13260 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
13261 if (!SWIG_IsOK(res1)) {
13262 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13263 }
13264 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
13265 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13266 if (!SWIG_IsOK(res2)) {
13267 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13268 }
13269 arg2 = reinterpret_cast< wxWindow * >(argp2);
13270 if (obj2) {
13271 ecode3 = SWIG_AsVal_int(obj2, &val3);
13272 if (!SWIG_IsOK(ecode3)) {
13273 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'");
13274 }
13275 arg3 = static_cast< int >(val3);
13276 }
13277 {
13278 PyThreadState* __tstate = wxPyBeginAllowThreads();
13279 result = (bool)(arg1)->Create(arg2,arg3);
13280 wxPyEndAllowThreads(__tstate);
13281 if (PyErr_Occurred()) SWIG_fail;
13282 }
13283 {
13284 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13285 }
13286 return resultobj;
13287 fail:
13288 return NULL;
13289 }
13290
13291
13292 SWIGINTERN PyObject *_wrap_PopupWindow_Position(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13293 PyObject *resultobj = 0;
13294 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
13295 wxPoint *arg2 = 0 ;
13296 wxSize *arg3 = 0 ;
13297 void *argp1 = 0 ;
13298 int res1 = 0 ;
13299 wxPoint temp2 ;
13300 wxSize temp3 ;
13301 PyObject * obj0 = 0 ;
13302 PyObject * obj1 = 0 ;
13303 PyObject * obj2 = 0 ;
13304 char * kwnames[] = {
13305 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
13306 };
13307
13308 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13309 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
13310 if (!SWIG_IsOK(res1)) {
13311 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13312 }
13313 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
13314 {
13315 arg2 = &temp2;
13316 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13317 }
13318 {
13319 arg3 = &temp3;
13320 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
13321 }
13322 {
13323 PyThreadState* __tstate = wxPyBeginAllowThreads();
13324 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
13325 wxPyEndAllowThreads(__tstate);
13326 if (PyErr_Occurred()) SWIG_fail;
13327 }
13328 resultobj = SWIG_Py_Void();
13329 return resultobj;
13330 fail:
13331 return NULL;
13332 }
13333
13334
13335 SWIGINTERN PyObject *PopupWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13336 PyObject *obj;
13337 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13338 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow, SWIG_NewClientData(obj));
13339 return SWIG_Py_Void();
13340 }
13341
13342 SWIGINTERN PyObject *PopupWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13343 return SWIG_Python_InitShadowInstance(args);
13344 }
13345
13346 SWIGINTERN PyObject *_wrap_new_PopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13347 PyObject *resultobj = 0;
13348 wxWindow *arg1 = (wxWindow *) 0 ;
13349 int arg2 = (int) wxBORDER_NONE ;
13350 wxPyPopupTransientWindow *result = 0 ;
13351 void *argp1 = 0 ;
13352 int res1 = 0 ;
13353 int val2 ;
13354 int ecode2 = 0 ;
13355 PyObject * obj0 = 0 ;
13356 PyObject * obj1 = 0 ;
13357 char * kwnames[] = {
13358 (char *) "parent",(char *) "style", NULL
13359 };
13360
13361 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13362 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13363 if (!SWIG_IsOK(res1)) {
13364 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13365 }
13366 arg1 = reinterpret_cast< wxWindow * >(argp1);
13367 if (obj1) {
13368 ecode2 = SWIG_AsVal_int(obj1, &val2);
13369 if (!SWIG_IsOK(ecode2)) {
13370 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13371 }
13372 arg2 = static_cast< int >(val2);
13373 }
13374 {
13375 if (!wxPyCheckForApp()) SWIG_fail;
13376 PyThreadState* __tstate = wxPyBeginAllowThreads();
13377 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
13378 wxPyEndAllowThreads(__tstate);
13379 if (PyErr_Occurred()) SWIG_fail;
13380 }
13381 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_NEW | 0 );
13382 return resultobj;
13383 fail:
13384 return NULL;
13385 }
13386
13387
13388 SWIGINTERN PyObject *_wrap_new_PrePopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13389 PyObject *resultobj = 0;
13390 wxPyPopupTransientWindow *result = 0 ;
13391
13392 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail;
13393 {
13394 if (!wxPyCheckForApp()) SWIG_fail;
13395 PyThreadState* __tstate = wxPyBeginAllowThreads();
13396 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
13397 wxPyEndAllowThreads(__tstate);
13398 if (PyErr_Occurred()) SWIG_fail;
13399 }
13400 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_OWN | 0 );
13401 return resultobj;
13402 fail:
13403 return NULL;
13404 }
13405
13406
13407 SWIGINTERN PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13408 PyObject *resultobj = 0;
13409 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13410 PyObject *arg2 = (PyObject *) 0 ;
13411 PyObject *arg3 = (PyObject *) 0 ;
13412 void *argp1 = 0 ;
13413 int res1 = 0 ;
13414 PyObject * obj0 = 0 ;
13415 PyObject * obj1 = 0 ;
13416 PyObject * obj2 = 0 ;
13417 char * kwnames[] = {
13418 (char *) "self",(char *) "self",(char *) "_class", NULL
13419 };
13420
13421 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13422 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13423 if (!SWIG_IsOK(res1)) {
13424 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13425 }
13426 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13427 arg2 = obj1;
13428 arg3 = obj2;
13429 {
13430 PyThreadState* __tstate = wxPyBeginAllowThreads();
13431 (arg1)->_setCallbackInfo(arg2,arg3);
13432 wxPyEndAllowThreads(__tstate);
13433 if (PyErr_Occurred()) SWIG_fail;
13434 }
13435 resultobj = SWIG_Py_Void();
13436 return resultobj;
13437 fail:
13438 return NULL;
13439 }
13440
13441
13442 SWIGINTERN PyObject *_wrap_PopupTransientWindow_Popup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13443 PyObject *resultobj = 0;
13444 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13445 wxWindow *arg2 = (wxWindow *) NULL ;
13446 void *argp1 = 0 ;
13447 int res1 = 0 ;
13448 void *argp2 = 0 ;
13449 int res2 = 0 ;
13450 PyObject * obj0 = 0 ;
13451 PyObject * obj1 = 0 ;
13452 char * kwnames[] = {
13453 (char *) "self",(char *) "focus", NULL
13454 };
13455
13456 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) SWIG_fail;
13457 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13458 if (!SWIG_IsOK(res1)) {
13459 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13460 }
13461 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13462 if (obj1) {
13463 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13464 if (!SWIG_IsOK(res2)) {
13465 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");
13466 }
13467 arg2 = reinterpret_cast< wxWindow * >(argp2);
13468 }
13469 {
13470 PyThreadState* __tstate = wxPyBeginAllowThreads();
13471 (arg1)->Popup(arg2);
13472 wxPyEndAllowThreads(__tstate);
13473 if (PyErr_Occurred()) SWIG_fail;
13474 }
13475 resultobj = SWIG_Py_Void();
13476 return resultobj;
13477 fail:
13478 return NULL;
13479 }
13480
13481
13482 SWIGINTERN PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13483 PyObject *resultobj = 0;
13484 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13485 void *argp1 = 0 ;
13486 int res1 = 0 ;
13487 PyObject *swig_obj[1] ;
13488
13489 if (!args) SWIG_fail;
13490 swig_obj[0] = args;
13491 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13492 if (!SWIG_IsOK(res1)) {
13493 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13494 }
13495 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13496 {
13497 PyThreadState* __tstate = wxPyBeginAllowThreads();
13498 (arg1)->Dismiss();
13499 wxPyEndAllowThreads(__tstate);
13500 if (PyErr_Occurred()) SWIG_fail;
13501 }
13502 resultobj = SWIG_Py_Void();
13503 return resultobj;
13504 fail:
13505 return NULL;
13506 }
13507
13508
13509 SWIGINTERN PyObject *PopupTransientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13510 PyObject *obj;
13511 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13512 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_NewClientData(obj));
13513 return SWIG_Py_Void();
13514 }
13515
13516 SWIGINTERN PyObject *PopupTransientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13517 return SWIG_Python_InitShadowInstance(args);
13518 }
13519
13520 SWIGINTERN PyObject *_wrap_new_TipWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13521 PyObject *resultobj = 0;
13522 wxWindow *arg1 = (wxWindow *) 0 ;
13523 wxString *arg2 = 0 ;
13524 int arg3 = (int) 100 ;
13525 wxRect *arg4 = (wxRect *) NULL ;
13526 wxTipWindow *result = 0 ;
13527 void *argp1 = 0 ;
13528 int res1 = 0 ;
13529 bool temp2 = false ;
13530 int val3 ;
13531 int ecode3 = 0 ;
13532 void *argp4 = 0 ;
13533 int res4 = 0 ;
13534 PyObject * obj0 = 0 ;
13535 PyObject * obj1 = 0 ;
13536 PyObject * obj2 = 0 ;
13537 PyObject * obj3 = 0 ;
13538 char * kwnames[] = {
13539 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13540 };
13541
13542 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13543 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13544 if (!SWIG_IsOK(res1)) {
13545 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13546 }
13547 arg1 = reinterpret_cast< wxWindow * >(argp1);
13548 {
13549 arg2 = wxString_in_helper(obj1);
13550 if (arg2 == NULL) SWIG_fail;
13551 temp2 = true;
13552 }
13553 if (obj2) {
13554 ecode3 = SWIG_AsVal_int(obj2, &val3);
13555 if (!SWIG_IsOK(ecode3)) {
13556 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13557 }
13558 arg3 = static_cast< int >(val3);
13559 }
13560 if (obj3) {
13561 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxRect, 0 | 0 );
13562 if (!SWIG_IsOK(res4)) {
13563 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13564 }
13565 arg4 = reinterpret_cast< wxRect * >(argp4);
13566 }
13567 {
13568 if (!wxPyCheckForApp()) SWIG_fail;
13569 PyThreadState* __tstate = wxPyBeginAllowThreads();
13570 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
13571 wxPyEndAllowThreads(__tstate);
13572 if (PyErr_Occurred()) SWIG_fail;
13573 }
13574 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTipWindow, SWIG_POINTER_NEW | 0 );
13575 {
13576 if (temp2)
13577 delete arg2;
13578 }
13579 return resultobj;
13580 fail:
13581 {
13582 if (temp2)
13583 delete arg2;
13584 }
13585 return NULL;
13586 }
13587
13588
13589 SWIGINTERN PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13590 PyObject *resultobj = 0;
13591 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13592 wxRect *arg2 = 0 ;
13593 void *argp1 = 0 ;
13594 int res1 = 0 ;
13595 wxRect temp2 ;
13596 PyObject * obj0 = 0 ;
13597 PyObject * obj1 = 0 ;
13598 char * kwnames[] = {
13599 (char *) "self",(char *) "rectBound", NULL
13600 };
13601
13602 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) SWIG_fail;
13603 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13604 if (!SWIG_IsOK(res1)) {
13605 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13606 }
13607 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13608 {
13609 arg2 = &temp2;
13610 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
13611 }
13612 {
13613 PyThreadState* __tstate = wxPyBeginAllowThreads();
13614 (arg1)->SetBoundingRect((wxRect const &)*arg2);
13615 wxPyEndAllowThreads(__tstate);
13616 if (PyErr_Occurred()) SWIG_fail;
13617 }
13618 resultobj = SWIG_Py_Void();
13619 return resultobj;
13620 fail:
13621 return NULL;
13622 }
13623
13624
13625 SWIGINTERN PyObject *_wrap_TipWindow_Close(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13626 PyObject *resultobj = 0;
13627 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13628 void *argp1 = 0 ;
13629 int res1 = 0 ;
13630 PyObject *swig_obj[1] ;
13631
13632 if (!args) SWIG_fail;
13633 swig_obj[0] = args;
13634 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13635 if (!SWIG_IsOK(res1)) {
13636 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13637 }
13638 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13639 {
13640 PyThreadState* __tstate = wxPyBeginAllowThreads();
13641 (arg1)->Close();
13642 wxPyEndAllowThreads(__tstate);
13643 if (PyErr_Occurred()) SWIG_fail;
13644 }
13645 resultobj = SWIG_Py_Void();
13646 return resultobj;
13647 fail:
13648 return NULL;
13649 }
13650
13651
13652 SWIGINTERN PyObject *TipWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13653 PyObject *obj;
13654 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13655 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow, SWIG_NewClientData(obj));
13656 return SWIG_Py_Void();
13657 }
13658
13659 SWIGINTERN PyObject *TipWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13660 return SWIG_Python_InitShadowInstance(args);
13661 }
13662
13663 SWIGINTERN PyObject *_wrap_new_VScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13664 PyObject *resultobj = 0;
13665 wxWindow *arg1 = (wxWindow *) 0 ;
13666 int arg2 = (int) wxID_ANY ;
13667 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13668 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13669 wxSize const &arg4_defvalue = wxDefaultSize ;
13670 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13671 long arg5 = (long) 0 ;
13672 wxString const &arg6_defvalue = wxPyPanelNameStr ;
13673 wxString *arg6 = (wxString *) &arg6_defvalue ;
13674 wxPyVScrolledWindow *result = 0 ;
13675 void *argp1 = 0 ;
13676 int res1 = 0 ;
13677 int val2 ;
13678 int ecode2 = 0 ;
13679 wxPoint temp3 ;
13680 wxSize temp4 ;
13681 long val5 ;
13682 int ecode5 = 0 ;
13683 bool temp6 = false ;
13684 PyObject * obj0 = 0 ;
13685 PyObject * obj1 = 0 ;
13686 PyObject * obj2 = 0 ;
13687 PyObject * obj3 = 0 ;
13688 PyObject * obj4 = 0 ;
13689 PyObject * obj5 = 0 ;
13690 char * kwnames[] = {
13691 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13692 };
13693
13694 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
13695 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13696 if (!SWIG_IsOK(res1)) {
13697 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13698 }
13699 arg1 = reinterpret_cast< wxWindow * >(argp1);
13700 if (obj1) {
13701 ecode2 = SWIG_AsVal_int(obj1, &val2);
13702 if (!SWIG_IsOK(ecode2)) {
13703 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13704 }
13705 arg2 = static_cast< int >(val2);
13706 }
13707 if (obj2) {
13708 {
13709 arg3 = &temp3;
13710 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13711 }
13712 }
13713 if (obj3) {
13714 {
13715 arg4 = &temp4;
13716 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13717 }
13718 }
13719 if (obj4) {
13720 ecode5 = SWIG_AsVal_long(obj4, &val5);
13721 if (!SWIG_IsOK(ecode5)) {
13722 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13723 }
13724 arg5 = static_cast< long >(val5);
13725 }
13726 if (obj5) {
13727 {
13728 arg6 = wxString_in_helper(obj5);
13729 if (arg6 == NULL) SWIG_fail;
13730 temp6 = true;
13731 }
13732 }
13733 {
13734 if (!wxPyCheckForApp()) SWIG_fail;
13735 PyThreadState* __tstate = wxPyBeginAllowThreads();
13736 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13737 wxPyEndAllowThreads(__tstate);
13738 if (PyErr_Occurred()) SWIG_fail;
13739 }
13740 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_NEW | 0 );
13741 {
13742 if (temp6)
13743 delete arg6;
13744 }
13745 return resultobj;
13746 fail:
13747 {
13748 if (temp6)
13749 delete arg6;
13750 }
13751 return NULL;
13752 }
13753
13754
13755 SWIGINTERN PyObject *_wrap_new_PreVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13756 PyObject *resultobj = 0;
13757 wxPyVScrolledWindow *result = 0 ;
13758
13759 if (!SWIG_Python_UnpackTuple(args,"new_PreVScrolledWindow",0,0,0)) SWIG_fail;
13760 {
13761 if (!wxPyCheckForApp()) SWIG_fail;
13762 PyThreadState* __tstate = wxPyBeginAllowThreads();
13763 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
13764 wxPyEndAllowThreads(__tstate);
13765 if (PyErr_Occurred()) SWIG_fail;
13766 }
13767 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_OWN | 0 );
13768 return resultobj;
13769 fail:
13770 return NULL;
13771 }
13772
13773
13774 SWIGINTERN PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13775 PyObject *resultobj = 0;
13776 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13777 PyObject *arg2 = (PyObject *) 0 ;
13778 PyObject *arg3 = (PyObject *) 0 ;
13779 void *argp1 = 0 ;
13780 int res1 = 0 ;
13781 PyObject * obj0 = 0 ;
13782 PyObject * obj1 = 0 ;
13783 PyObject * obj2 = 0 ;
13784 char * kwnames[] = {
13785 (char *) "self",(char *) "self",(char *) "_class", NULL
13786 };
13787
13788 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13789 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13790 if (!SWIG_IsOK(res1)) {
13791 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13792 }
13793 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13794 arg2 = obj1;
13795 arg3 = obj2;
13796 {
13797 PyThreadState* __tstate = wxPyBeginAllowThreads();
13798 (arg1)->_setCallbackInfo(arg2,arg3);
13799 wxPyEndAllowThreads(__tstate);
13800 if (PyErr_Occurred()) SWIG_fail;
13801 }
13802 resultobj = SWIG_Py_Void();
13803 return resultobj;
13804 fail:
13805 return NULL;
13806 }
13807
13808
13809 SWIGINTERN PyObject *_wrap_VScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13810 PyObject *resultobj = 0;
13811 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13812 wxWindow *arg2 = (wxWindow *) 0 ;
13813 int arg3 = (int) wxID_ANY ;
13814 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13815 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13816 wxSize const &arg5_defvalue = wxDefaultSize ;
13817 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13818 long arg6 = (long) 0 ;
13819 wxString const &arg7_defvalue = wxPyPanelNameStr ;
13820 wxString *arg7 = (wxString *) &arg7_defvalue ;
13821 bool result;
13822 void *argp1 = 0 ;
13823 int res1 = 0 ;
13824 void *argp2 = 0 ;
13825 int res2 = 0 ;
13826 int val3 ;
13827 int ecode3 = 0 ;
13828 wxPoint temp4 ;
13829 wxSize temp5 ;
13830 long val6 ;
13831 int ecode6 = 0 ;
13832 bool temp7 = false ;
13833 PyObject * obj0 = 0 ;
13834 PyObject * obj1 = 0 ;
13835 PyObject * obj2 = 0 ;
13836 PyObject * obj3 = 0 ;
13837 PyObject * obj4 = 0 ;
13838 PyObject * obj5 = 0 ;
13839 PyObject * obj6 = 0 ;
13840 char * kwnames[] = {
13841 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13842 };
13843
13844 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
13845 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13846 if (!SWIG_IsOK(res1)) {
13847 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13848 }
13849 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13850 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13851 if (!SWIG_IsOK(res2)) {
13852 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13853 }
13854 arg2 = reinterpret_cast< wxWindow * >(argp2);
13855 if (obj2) {
13856 ecode3 = SWIG_AsVal_int(obj2, &val3);
13857 if (!SWIG_IsOK(ecode3)) {
13858 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13859 }
13860 arg3 = static_cast< int >(val3);
13861 }
13862 if (obj3) {
13863 {
13864 arg4 = &temp4;
13865 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13866 }
13867 }
13868 if (obj4) {
13869 {
13870 arg5 = &temp5;
13871 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13872 }
13873 }
13874 if (obj5) {
13875 ecode6 = SWIG_AsVal_long(obj5, &val6);
13876 if (!SWIG_IsOK(ecode6)) {
13877 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13878 }
13879 arg6 = static_cast< long >(val6);
13880 }
13881 if (obj6) {
13882 {
13883 arg7 = wxString_in_helper(obj6);
13884 if (arg7 == NULL) SWIG_fail;
13885 temp7 = true;
13886 }
13887 }
13888 {
13889 PyThreadState* __tstate = wxPyBeginAllowThreads();
13890 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13891 wxPyEndAllowThreads(__tstate);
13892 if (PyErr_Occurred()) SWIG_fail;
13893 }
13894 {
13895 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13896 }
13897 {
13898 if (temp7)
13899 delete arg7;
13900 }
13901 return resultobj;
13902 fail:
13903 {
13904 if (temp7)
13905 delete arg7;
13906 }
13907 return NULL;
13908 }
13909
13910
13911 SWIGINTERN PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13912 PyObject *resultobj = 0;
13913 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13914 size_t arg2 ;
13915 void *argp1 = 0 ;
13916 int res1 = 0 ;
13917 size_t val2 ;
13918 int ecode2 = 0 ;
13919 PyObject * obj0 = 0 ;
13920 PyObject * obj1 = 0 ;
13921 char * kwnames[] = {
13922 (char *) "self",(char *) "count", NULL
13923 };
13924
13925 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) SWIG_fail;
13926 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13927 if (!SWIG_IsOK(res1)) {
13928 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13929 }
13930 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13931 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13932 if (!SWIG_IsOK(ecode2)) {
13933 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13934 }
13935 arg2 = static_cast< size_t >(val2);
13936 {
13937 PyThreadState* __tstate = wxPyBeginAllowThreads();
13938 (arg1)->SetLineCount(arg2);
13939 wxPyEndAllowThreads(__tstate);
13940 if (PyErr_Occurred()) SWIG_fail;
13941 }
13942 resultobj = SWIG_Py_Void();
13943 return resultobj;
13944 fail:
13945 return NULL;
13946 }
13947
13948
13949 SWIGINTERN PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13950 PyObject *resultobj = 0;
13951 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13952 size_t arg2 ;
13953 bool result;
13954 void *argp1 = 0 ;
13955 int res1 = 0 ;
13956 size_t val2 ;
13957 int ecode2 = 0 ;
13958 PyObject * obj0 = 0 ;
13959 PyObject * obj1 = 0 ;
13960 char * kwnames[] = {
13961 (char *) "self",(char *) "line", NULL
13962 };
13963
13964 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) SWIG_fail;
13965 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13966 if (!SWIG_IsOK(res1)) {
13967 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13968 }
13969 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13970 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13971 if (!SWIG_IsOK(ecode2)) {
13972 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13973 }
13974 arg2 = static_cast< size_t >(val2);
13975 {
13976 PyThreadState* __tstate = wxPyBeginAllowThreads();
13977 result = (bool)(arg1)->ScrollToLine(arg2);
13978 wxPyEndAllowThreads(__tstate);
13979 if (PyErr_Occurred()) SWIG_fail;
13980 }
13981 {
13982 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13983 }
13984 return resultobj;
13985 fail:
13986 return NULL;
13987 }
13988
13989
13990 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13991 PyObject *resultobj = 0;
13992 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13993 size_t arg2 ;
13994 void *argp1 = 0 ;
13995 int res1 = 0 ;
13996 size_t val2 ;
13997 int ecode2 = 0 ;
13998 PyObject * obj0 = 0 ;
13999 PyObject * obj1 = 0 ;
14000 char * kwnames[] = {
14001 (char *) "self",(char *) "line", NULL
14002 };
14003
14004 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) SWIG_fail;
14005 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14006 if (!SWIG_IsOK(res1)) {
14007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14008 }
14009 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14010 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14011 if (!SWIG_IsOK(ecode2)) {
14012 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
14013 }
14014 arg2 = static_cast< size_t >(val2);
14015 {
14016 PyThreadState* __tstate = wxPyBeginAllowThreads();
14017 (arg1)->RefreshLine(arg2);
14018 wxPyEndAllowThreads(__tstate);
14019 if (PyErr_Occurred()) SWIG_fail;
14020 }
14021 resultobj = SWIG_Py_Void();
14022 return resultobj;
14023 fail:
14024 return NULL;
14025 }
14026
14027
14028 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14029 PyObject *resultobj = 0;
14030 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14031 size_t arg2 ;
14032 size_t arg3 ;
14033 void *argp1 = 0 ;
14034 int res1 = 0 ;
14035 size_t val2 ;
14036 int ecode2 = 0 ;
14037 size_t val3 ;
14038 int ecode3 = 0 ;
14039 PyObject * obj0 = 0 ;
14040 PyObject * obj1 = 0 ;
14041 PyObject * obj2 = 0 ;
14042 char * kwnames[] = {
14043 (char *) "self",(char *) "from",(char *) "to", NULL
14044 };
14045
14046 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14047 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14048 if (!SWIG_IsOK(res1)) {
14049 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14050 }
14051 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14052 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14053 if (!SWIG_IsOK(ecode2)) {
14054 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
14055 }
14056 arg2 = static_cast< size_t >(val2);
14057 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14058 if (!SWIG_IsOK(ecode3)) {
14059 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
14060 }
14061 arg3 = static_cast< size_t >(val3);
14062 {
14063 PyThreadState* __tstate = wxPyBeginAllowThreads();
14064 (arg1)->RefreshLines(arg2,arg3);
14065 wxPyEndAllowThreads(__tstate);
14066 if (PyErr_Occurred()) SWIG_fail;
14067 }
14068 resultobj = SWIG_Py_Void();
14069 return resultobj;
14070 fail:
14071 return NULL;
14072 }
14073
14074
14075 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14076 PyObject *resultobj = 0;
14077 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14078 int arg2 ;
14079 int arg3 ;
14080 int result;
14081 void *argp1 = 0 ;
14082 int res1 = 0 ;
14083 int val2 ;
14084 int ecode2 = 0 ;
14085 int val3 ;
14086 int ecode3 = 0 ;
14087 PyObject * obj0 = 0 ;
14088 PyObject * obj1 = 0 ;
14089 PyObject * obj2 = 0 ;
14090 char * kwnames[] = {
14091 (char *) "self",(char *) "x",(char *) "y", NULL
14092 };
14093
14094 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14095 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14096 if (!SWIG_IsOK(res1)) {
14097 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14098 }
14099 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14100 ecode2 = SWIG_AsVal_int(obj1, &val2);
14101 if (!SWIG_IsOK(ecode2)) {
14102 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
14103 }
14104 arg2 = static_cast< int >(val2);
14105 ecode3 = SWIG_AsVal_int(obj2, &val3);
14106 if (!SWIG_IsOK(ecode3)) {
14107 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
14108 }
14109 arg3 = static_cast< int >(val3);
14110 {
14111 PyThreadState* __tstate = wxPyBeginAllowThreads();
14112 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
14113 wxPyEndAllowThreads(__tstate);
14114 if (PyErr_Occurred()) SWIG_fail;
14115 }
14116 resultobj = SWIG_From_int(static_cast< int >(result));
14117 return resultobj;
14118 fail:
14119 return NULL;
14120 }
14121
14122
14123 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14124 PyObject *resultobj = 0;
14125 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14126 wxPoint *arg2 = 0 ;
14127 int result;
14128 void *argp1 = 0 ;
14129 int res1 = 0 ;
14130 wxPoint temp2 ;
14131 PyObject * obj0 = 0 ;
14132 PyObject * obj1 = 0 ;
14133 char * kwnames[] = {
14134 (char *) "self",(char *) "pt", NULL
14135 };
14136
14137 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
14138 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14139 if (!SWIG_IsOK(res1)) {
14140 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14141 }
14142 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14143 {
14144 arg2 = &temp2;
14145 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14146 }
14147 {
14148 PyThreadState* __tstate = wxPyBeginAllowThreads();
14149 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
14150 wxPyEndAllowThreads(__tstate);
14151 if (PyErr_Occurred()) SWIG_fail;
14152 }
14153 resultobj = SWIG_From_int(static_cast< int >(result));
14154 return resultobj;
14155 fail:
14156 return NULL;
14157 }
14158
14159
14160 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14161 PyObject *resultobj = 0;
14162 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14163 void *argp1 = 0 ;
14164 int res1 = 0 ;
14165 PyObject *swig_obj[1] ;
14166
14167 if (!args) SWIG_fail;
14168 swig_obj[0] = args;
14169 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14170 if (!SWIG_IsOK(res1)) {
14171 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14172 }
14173 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14174 {
14175 PyThreadState* __tstate = wxPyBeginAllowThreads();
14176 (arg1)->RefreshAll();
14177 wxPyEndAllowThreads(__tstate);
14178 if (PyErr_Occurred()) SWIG_fail;
14179 }
14180 resultobj = SWIG_Py_Void();
14181 return resultobj;
14182 fail:
14183 return NULL;
14184 }
14185
14186
14187 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14188 PyObject *resultobj = 0;
14189 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14190 size_t result;
14191 void *argp1 = 0 ;
14192 int res1 = 0 ;
14193 PyObject *swig_obj[1] ;
14194
14195 if (!args) SWIG_fail;
14196 swig_obj[0] = args;
14197 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14198 if (!SWIG_IsOK(res1)) {
14199 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14200 }
14201 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14202 {
14203 PyThreadState* __tstate = wxPyBeginAllowThreads();
14204 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
14205 wxPyEndAllowThreads(__tstate);
14206 if (PyErr_Occurred()) SWIG_fail;
14207 }
14208 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14209 return resultobj;
14210 fail:
14211 return NULL;
14212 }
14213
14214
14215 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14216 PyObject *resultobj = 0;
14217 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14218 size_t result;
14219 void *argp1 = 0 ;
14220 int res1 = 0 ;
14221 PyObject *swig_obj[1] ;
14222
14223 if (!args) SWIG_fail;
14224 swig_obj[0] = args;
14225 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14226 if (!SWIG_IsOK(res1)) {
14227 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14228 }
14229 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14230 {
14231 PyThreadState* __tstate = wxPyBeginAllowThreads();
14232 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleBegin();
14233 wxPyEndAllowThreads(__tstate);
14234 if (PyErr_Occurred()) SWIG_fail;
14235 }
14236 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14237 return resultobj;
14238 fail:
14239 return NULL;
14240 }
14241
14242
14243 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14244 PyObject *resultobj = 0;
14245 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14246 size_t result;
14247 void *argp1 = 0 ;
14248 int res1 = 0 ;
14249 PyObject *swig_obj[1] ;
14250
14251 if (!args) SWIG_fail;
14252 swig_obj[0] = args;
14253 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14254 if (!SWIG_IsOK(res1)) {
14255 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14256 }
14257 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14258 {
14259 PyThreadState* __tstate = wxPyBeginAllowThreads();
14260 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleEnd();
14261 wxPyEndAllowThreads(__tstate);
14262 if (PyErr_Occurred()) SWIG_fail;
14263 }
14264 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14265 return resultobj;
14266 fail:
14267 return NULL;
14268 }
14269
14270
14271 SWIGINTERN PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14272 PyObject *resultobj = 0;
14273 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14274 size_t arg2 ;
14275 bool result;
14276 void *argp1 = 0 ;
14277 int res1 = 0 ;
14278 size_t val2 ;
14279 int ecode2 = 0 ;
14280 PyObject * obj0 = 0 ;
14281 PyObject * obj1 = 0 ;
14282 char * kwnames[] = {
14283 (char *) "self",(char *) "line", NULL
14284 };
14285
14286 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
14287 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14288 if (!SWIG_IsOK(res1)) {
14289 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14290 }
14291 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14292 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14293 if (!SWIG_IsOK(ecode2)) {
14294 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14295 }
14296 arg2 = static_cast< size_t >(val2);
14297 {
14298 PyThreadState* __tstate = wxPyBeginAllowThreads();
14299 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
14300 wxPyEndAllowThreads(__tstate);
14301 if (PyErr_Occurred()) SWIG_fail;
14302 }
14303 {
14304 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14305 }
14306 return resultobj;
14307 fail:
14308 return NULL;
14309 }
14310
14311
14312 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14313 PyObject *resultobj = 0;
14314 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14315 size_t result;
14316 void *argp1 = 0 ;
14317 int res1 = 0 ;
14318 PyObject *swig_obj[1] ;
14319
14320 if (!args) SWIG_fail;
14321 swig_obj[0] = args;
14322 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14323 if (!SWIG_IsOK(res1)) {
14324 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14325 }
14326 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14327 {
14328 PyThreadState* __tstate = wxPyBeginAllowThreads();
14329 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
14330 wxPyEndAllowThreads(__tstate);
14331 if (PyErr_Occurred()) SWIG_fail;
14332 }
14333 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14334 return resultobj;
14335 fail:
14336 return NULL;
14337 }
14338
14339
14340 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14341 PyObject *resultobj = 0;
14342 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14343 size_t result;
14344 void *argp1 = 0 ;
14345 int res1 = 0 ;
14346 PyObject *swig_obj[1] ;
14347
14348 if (!args) SWIG_fail;
14349 swig_obj[0] = args;
14350 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14351 if (!SWIG_IsOK(res1)) {
14352 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14353 }
14354 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14355 {
14356 PyThreadState* __tstate = wxPyBeginAllowThreads();
14357 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
14358 wxPyEndAllowThreads(__tstate);
14359 if (PyErr_Occurred()) SWIG_fail;
14360 }
14361 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14362 return resultobj;
14363 fail:
14364 return NULL;
14365 }
14366
14367
14368 SWIGINTERN PyObject *_wrap_VScrolledWindow_FindFirstFromBottom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14369 PyObject *resultobj = 0;
14370 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14371 size_t arg2 ;
14372 bool arg3 = (bool) false ;
14373 size_t result;
14374 void *argp1 = 0 ;
14375 int res1 = 0 ;
14376 size_t val2 ;
14377 int ecode2 = 0 ;
14378 bool val3 ;
14379 int ecode3 = 0 ;
14380 PyObject * obj0 = 0 ;
14381 PyObject * obj1 = 0 ;
14382 PyObject * obj2 = 0 ;
14383 char * kwnames[] = {
14384 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14385 };
14386
14387 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14388 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14389 if (!SWIG_IsOK(res1)) {
14390 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14391 }
14392 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14393 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14394 if (!SWIG_IsOK(ecode2)) {
14395 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14396 }
14397 arg2 = static_cast< size_t >(val2);
14398 if (obj2) {
14399 ecode3 = SWIG_AsVal_bool(obj2, &val3);
14400 if (!SWIG_IsOK(ecode3)) {
14401 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14402 }
14403 arg3 = static_cast< bool >(val3);
14404 }
14405 {
14406 PyThreadState* __tstate = wxPyBeginAllowThreads();
14407 result = (size_t)(arg1)->FindFirstFromBottom(arg2,arg3);
14408 wxPyEndAllowThreads(__tstate);
14409 if (PyErr_Occurred()) SWIG_fail;
14410 }
14411 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14412 return resultobj;
14413 fail:
14414 return NULL;
14415 }
14416
14417
14418 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLinesHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14419 PyObject *resultobj = 0;
14420 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14421 size_t arg2 ;
14422 size_t arg3 ;
14423 int result;
14424 void *argp1 = 0 ;
14425 int res1 = 0 ;
14426 size_t val2 ;
14427 int ecode2 = 0 ;
14428 size_t val3 ;
14429 int ecode3 = 0 ;
14430 PyObject * obj0 = 0 ;
14431 PyObject * obj1 = 0 ;
14432 PyObject * obj2 = 0 ;
14433 char * kwnames[] = {
14434 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14435 };
14436
14437 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14438 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14439 if (!SWIG_IsOK(res1)) {
14440 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14441 }
14442 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14443 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14444 if (!SWIG_IsOK(ecode2)) {
14445 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14446 }
14447 arg2 = static_cast< size_t >(val2);
14448 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14449 if (!SWIG_IsOK(ecode3)) {
14450 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14451 }
14452 arg3 = static_cast< size_t >(val3);
14453 {
14454 PyThreadState* __tstate = wxPyBeginAllowThreads();
14455 result = (int)((wxPyVScrolledWindow const *)arg1)->GetLinesHeight(arg2,arg3);
14456 wxPyEndAllowThreads(__tstate);
14457 if (PyErr_Occurred()) SWIG_fail;
14458 }
14459 resultobj = SWIG_From_int(static_cast< int >(result));
14460 return resultobj;
14461 fail:
14462 return NULL;
14463 }
14464
14465
14466 SWIGINTERN PyObject *VScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14467 PyObject *obj;
14468 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14469 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow, SWIG_NewClientData(obj));
14470 return SWIG_Py_Void();
14471 }
14472
14473 SWIGINTERN PyObject *VScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14474 return SWIG_Python_InitShadowInstance(args);
14475 }
14476
14477 SWIGINTERN int VListBoxNameStr_set(PyObject *) {
14478 SWIG_Error(SWIG_AttributeError,"Variable VListBoxNameStr is read-only.");
14479 return 1;
14480 }
14481
14482
14483 SWIGINTERN PyObject *VListBoxNameStr_get(void) {
14484 PyObject *pyobj = 0;
14485
14486 {
14487 #if wxUSE_UNICODE
14488 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14489 #else
14490 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14491 #endif
14492 }
14493 return pyobj;
14494 }
14495
14496
14497 SWIGINTERN PyObject *_wrap_new_VListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14498 PyObject *resultobj = 0;
14499 wxWindow *arg1 = (wxWindow *) 0 ;
14500 int arg2 = (int) wxID_ANY ;
14501 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14502 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14503 wxSize const &arg4_defvalue = wxDefaultSize ;
14504 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14505 long arg5 = (long) 0 ;
14506 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
14507 wxString *arg6 = (wxString *) &arg6_defvalue ;
14508 wxPyVListBox *result = 0 ;
14509 void *argp1 = 0 ;
14510 int res1 = 0 ;
14511 int val2 ;
14512 int ecode2 = 0 ;
14513 wxPoint temp3 ;
14514 wxSize temp4 ;
14515 long val5 ;
14516 int ecode5 = 0 ;
14517 bool temp6 = false ;
14518 PyObject * obj0 = 0 ;
14519 PyObject * obj1 = 0 ;
14520 PyObject * obj2 = 0 ;
14521 PyObject * obj3 = 0 ;
14522 PyObject * obj4 = 0 ;
14523 PyObject * obj5 = 0 ;
14524 char * kwnames[] = {
14525 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14526 };
14527
14528 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
14529 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14530 if (!SWIG_IsOK(res1)) {
14531 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14532 }
14533 arg1 = reinterpret_cast< wxWindow * >(argp1);
14534 if (obj1) {
14535 ecode2 = SWIG_AsVal_int(obj1, &val2);
14536 if (!SWIG_IsOK(ecode2)) {
14537 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14538 }
14539 arg2 = static_cast< int >(val2);
14540 }
14541 if (obj2) {
14542 {
14543 arg3 = &temp3;
14544 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14545 }
14546 }
14547 if (obj3) {
14548 {
14549 arg4 = &temp4;
14550 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14551 }
14552 }
14553 if (obj4) {
14554 ecode5 = SWIG_AsVal_long(obj4, &val5);
14555 if (!SWIG_IsOK(ecode5)) {
14556 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14557 }
14558 arg5 = static_cast< long >(val5);
14559 }
14560 if (obj5) {
14561 {
14562 arg6 = wxString_in_helper(obj5);
14563 if (arg6 == NULL) SWIG_fail;
14564 temp6 = true;
14565 }
14566 }
14567 {
14568 if (!wxPyCheckForApp()) SWIG_fail;
14569 PyThreadState* __tstate = wxPyBeginAllowThreads();
14570 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14571 wxPyEndAllowThreads(__tstate);
14572 if (PyErr_Occurred()) SWIG_fail;
14573 }
14574 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_NEW | 0 );
14575 {
14576 if (temp6)
14577 delete arg6;
14578 }
14579 return resultobj;
14580 fail:
14581 {
14582 if (temp6)
14583 delete arg6;
14584 }
14585 return NULL;
14586 }
14587
14588
14589 SWIGINTERN PyObject *_wrap_new_PreVListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14590 PyObject *resultobj = 0;
14591 wxPyVListBox *result = 0 ;
14592
14593 if (!SWIG_Python_UnpackTuple(args,"new_PreVListBox",0,0,0)) SWIG_fail;
14594 {
14595 if (!wxPyCheckForApp()) SWIG_fail;
14596 PyThreadState* __tstate = wxPyBeginAllowThreads();
14597 result = (wxPyVListBox *)new wxPyVListBox();
14598 wxPyEndAllowThreads(__tstate);
14599 if (PyErr_Occurred()) SWIG_fail;
14600 }
14601 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_OWN | 0 );
14602 return resultobj;
14603 fail:
14604 return NULL;
14605 }
14606
14607
14608 SWIGINTERN PyObject *_wrap_VListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14609 PyObject *resultobj = 0;
14610 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14611 PyObject *arg2 = (PyObject *) 0 ;
14612 PyObject *arg3 = (PyObject *) 0 ;
14613 void *argp1 = 0 ;
14614 int res1 = 0 ;
14615 PyObject * obj0 = 0 ;
14616 PyObject * obj1 = 0 ;
14617 PyObject * obj2 = 0 ;
14618 char * kwnames[] = {
14619 (char *) "self",(char *) "self",(char *) "_class", NULL
14620 };
14621
14622 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14623 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14624 if (!SWIG_IsOK(res1)) {
14625 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14626 }
14627 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14628 arg2 = obj1;
14629 arg3 = obj2;
14630 {
14631 PyThreadState* __tstate = wxPyBeginAllowThreads();
14632 (arg1)->_setCallbackInfo(arg2,arg3);
14633 wxPyEndAllowThreads(__tstate);
14634 if (PyErr_Occurred()) SWIG_fail;
14635 }
14636 resultobj = SWIG_Py_Void();
14637 return resultobj;
14638 fail:
14639 return NULL;
14640 }
14641
14642
14643 SWIGINTERN PyObject *_wrap_VListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14644 PyObject *resultobj = 0;
14645 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14646 wxWindow *arg2 = (wxWindow *) 0 ;
14647 int arg3 = (int) wxID_ANY ;
14648 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14649 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14650 wxSize const &arg5_defvalue = wxDefaultSize ;
14651 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14652 long arg6 = (long) 0 ;
14653 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
14654 wxString *arg7 = (wxString *) &arg7_defvalue ;
14655 bool result;
14656 void *argp1 = 0 ;
14657 int res1 = 0 ;
14658 void *argp2 = 0 ;
14659 int res2 = 0 ;
14660 int val3 ;
14661 int ecode3 = 0 ;
14662 wxPoint temp4 ;
14663 wxSize temp5 ;
14664 long val6 ;
14665 int ecode6 = 0 ;
14666 bool temp7 = false ;
14667 PyObject * obj0 = 0 ;
14668 PyObject * obj1 = 0 ;
14669 PyObject * obj2 = 0 ;
14670 PyObject * obj3 = 0 ;
14671 PyObject * obj4 = 0 ;
14672 PyObject * obj5 = 0 ;
14673 PyObject * obj6 = 0 ;
14674 char * kwnames[] = {
14675 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14676 };
14677
14678 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14679 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14680 if (!SWIG_IsOK(res1)) {
14681 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14682 }
14683 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14684 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14685 if (!SWIG_IsOK(res2)) {
14686 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14687 }
14688 arg2 = reinterpret_cast< wxWindow * >(argp2);
14689 if (obj2) {
14690 ecode3 = SWIG_AsVal_int(obj2, &val3);
14691 if (!SWIG_IsOK(ecode3)) {
14692 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14693 }
14694 arg3 = static_cast< int >(val3);
14695 }
14696 if (obj3) {
14697 {
14698 arg4 = &temp4;
14699 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14700 }
14701 }
14702 if (obj4) {
14703 {
14704 arg5 = &temp5;
14705 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14706 }
14707 }
14708 if (obj5) {
14709 ecode6 = SWIG_AsVal_long(obj5, &val6);
14710 if (!SWIG_IsOK(ecode6)) {
14711 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14712 }
14713 arg6 = static_cast< long >(val6);
14714 }
14715 if (obj6) {
14716 {
14717 arg7 = wxString_in_helper(obj6);
14718 if (arg7 == NULL) SWIG_fail;
14719 temp7 = true;
14720 }
14721 }
14722 {
14723 PyThreadState* __tstate = wxPyBeginAllowThreads();
14724 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14725 wxPyEndAllowThreads(__tstate);
14726 if (PyErr_Occurred()) SWIG_fail;
14727 }
14728 {
14729 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14730 }
14731 {
14732 if (temp7)
14733 delete arg7;
14734 }
14735 return resultobj;
14736 fail:
14737 {
14738 if (temp7)
14739 delete arg7;
14740 }
14741 return NULL;
14742 }
14743
14744
14745 SWIGINTERN PyObject *_wrap_VListBox_GetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14746 PyObject *resultobj = 0;
14747 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14748 size_t result;
14749 void *argp1 = 0 ;
14750 int res1 = 0 ;
14751 PyObject *swig_obj[1] ;
14752
14753 if (!args) SWIG_fail;
14754 swig_obj[0] = args;
14755 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14756 if (!SWIG_IsOK(res1)) {
14757 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14758 }
14759 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14760 {
14761 PyThreadState* __tstate = wxPyBeginAllowThreads();
14762 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
14763 wxPyEndAllowThreads(__tstate);
14764 if (PyErr_Occurred()) SWIG_fail;
14765 }
14766 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14767 return resultobj;
14768 fail:
14769 return NULL;
14770 }
14771
14772
14773 SWIGINTERN PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14774 PyObject *resultobj = 0;
14775 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14776 bool result;
14777 void *argp1 = 0 ;
14778 int res1 = 0 ;
14779 PyObject *swig_obj[1] ;
14780
14781 if (!args) SWIG_fail;
14782 swig_obj[0] = args;
14783 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14784 if (!SWIG_IsOK(res1)) {
14785 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14786 }
14787 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14788 {
14789 PyThreadState* __tstate = wxPyBeginAllowThreads();
14790 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
14791 wxPyEndAllowThreads(__tstate);
14792 if (PyErr_Occurred()) SWIG_fail;
14793 }
14794 {
14795 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14796 }
14797 return resultobj;
14798 fail:
14799 return NULL;
14800 }
14801
14802
14803 SWIGINTERN PyObject *_wrap_VListBox_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14804 PyObject *resultobj = 0;
14805 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14806 int result;
14807 void *argp1 = 0 ;
14808 int res1 = 0 ;
14809 PyObject *swig_obj[1] ;
14810
14811 if (!args) SWIG_fail;
14812 swig_obj[0] = args;
14813 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14814 if (!SWIG_IsOK(res1)) {
14815 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14816 }
14817 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14818 {
14819 PyThreadState* __tstate = wxPyBeginAllowThreads();
14820 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
14821 wxPyEndAllowThreads(__tstate);
14822 if (PyErr_Occurred()) SWIG_fail;
14823 }
14824 resultobj = SWIG_From_int(static_cast< int >(result));
14825 return resultobj;
14826 fail:
14827 return NULL;
14828 }
14829
14830
14831 SWIGINTERN PyObject *_wrap_VListBox_IsCurrent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14832 PyObject *resultobj = 0;
14833 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14834 size_t arg2 ;
14835 bool result;
14836 void *argp1 = 0 ;
14837 int res1 = 0 ;
14838 size_t val2 ;
14839 int ecode2 = 0 ;
14840 PyObject * obj0 = 0 ;
14841 PyObject * obj1 = 0 ;
14842 char * kwnames[] = {
14843 (char *) "self",(char *) "item", NULL
14844 };
14845
14846 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) SWIG_fail;
14847 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14848 if (!SWIG_IsOK(res1)) {
14849 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14850 }
14851 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14852 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14853 if (!SWIG_IsOK(ecode2)) {
14854 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14855 }
14856 arg2 = static_cast< size_t >(val2);
14857 {
14858 PyThreadState* __tstate = wxPyBeginAllowThreads();
14859 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
14860 wxPyEndAllowThreads(__tstate);
14861 if (PyErr_Occurred()) SWIG_fail;
14862 }
14863 {
14864 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14865 }
14866 return resultobj;
14867 fail:
14868 return NULL;
14869 }
14870
14871
14872 SWIGINTERN PyObject *_wrap_VListBox_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14873 PyObject *resultobj = 0;
14874 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14875 size_t arg2 ;
14876 bool result;
14877 void *argp1 = 0 ;
14878 int res1 = 0 ;
14879 size_t val2 ;
14880 int ecode2 = 0 ;
14881 PyObject * obj0 = 0 ;
14882 PyObject * obj1 = 0 ;
14883 char * kwnames[] = {
14884 (char *) "self",(char *) "item", NULL
14885 };
14886
14887 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14888 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14889 if (!SWIG_IsOK(res1)) {
14890 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14891 }
14892 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14893 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14894 if (!SWIG_IsOK(ecode2)) {
14895 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14896 }
14897 arg2 = static_cast< size_t >(val2);
14898 {
14899 PyThreadState* __tstate = wxPyBeginAllowThreads();
14900 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
14901 wxPyEndAllowThreads(__tstate);
14902 if (PyErr_Occurred()) SWIG_fail;
14903 }
14904 {
14905 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14906 }
14907 return resultobj;
14908 fail:
14909 return NULL;
14910 }
14911
14912
14913 SWIGINTERN PyObject *_wrap_VListBox_GetSelectedCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14914 PyObject *resultobj = 0;
14915 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14916 size_t result;
14917 void *argp1 = 0 ;
14918 int res1 = 0 ;
14919 PyObject *swig_obj[1] ;
14920
14921 if (!args) SWIG_fail;
14922 swig_obj[0] = args;
14923 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14924 if (!SWIG_IsOK(res1)) {
14925 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14926 }
14927 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14928 {
14929 PyThreadState* __tstate = wxPyBeginAllowThreads();
14930 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
14931 wxPyEndAllowThreads(__tstate);
14932 if (PyErr_Occurred()) SWIG_fail;
14933 }
14934 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14935 return resultobj;
14936 fail:
14937 return NULL;
14938 }
14939
14940
14941 SWIGINTERN PyObject *_wrap_VListBox_GetFirstSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14942 PyObject *resultobj = 0;
14943 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14944 PyObject *result = 0 ;
14945 void *argp1 = 0 ;
14946 int res1 = 0 ;
14947 PyObject *swig_obj[1] ;
14948
14949 if (!args) SWIG_fail;
14950 swig_obj[0] = args;
14951 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14952 if (!SWIG_IsOK(res1)) {
14953 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14954 }
14955 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14956 {
14957 PyThreadState* __tstate = wxPyBeginAllowThreads();
14958 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
14959 wxPyEndAllowThreads(__tstate);
14960 if (PyErr_Occurred()) SWIG_fail;
14961 }
14962 resultobj = result;
14963 return resultobj;
14964 fail:
14965 return NULL;
14966 }
14967
14968
14969 SWIGINTERN PyObject *_wrap_VListBox_GetNextSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14970 PyObject *resultobj = 0;
14971 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14972 unsigned long arg2 ;
14973 PyObject *result = 0 ;
14974 void *argp1 = 0 ;
14975 int res1 = 0 ;
14976 unsigned long val2 ;
14977 int ecode2 = 0 ;
14978 PyObject * obj0 = 0 ;
14979 PyObject * obj1 = 0 ;
14980 char * kwnames[] = {
14981 (char *) "self",(char *) "cookie", NULL
14982 };
14983
14984 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14985 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14986 if (!SWIG_IsOK(res1)) {
14987 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14988 }
14989 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14990 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
14991 if (!SWIG_IsOK(ecode2)) {
14992 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14993 }
14994 arg2 = static_cast< unsigned long >(val2);
14995 {
14996 PyThreadState* __tstate = wxPyBeginAllowThreads();
14997 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
14998 wxPyEndAllowThreads(__tstate);
14999 if (PyErr_Occurred()) SWIG_fail;
15000 }
15001 resultobj = result;
15002 return resultobj;
15003 fail:
15004 return NULL;
15005 }
15006
15007
15008 SWIGINTERN PyObject *_wrap_VListBox_GetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15009 PyObject *resultobj = 0;
15010 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15011 wxPoint result;
15012 void *argp1 = 0 ;
15013 int res1 = 0 ;
15014 PyObject *swig_obj[1] ;
15015
15016 if (!args) SWIG_fail;
15017 swig_obj[0] = args;
15018 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15019 if (!SWIG_IsOK(res1)) {
15020 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15021 }
15022 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15023 {
15024 PyThreadState* __tstate = wxPyBeginAllowThreads();
15025 result = ((wxPyVListBox const *)arg1)->GetMargins();
15026 wxPyEndAllowThreads(__tstate);
15027 if (PyErr_Occurred()) SWIG_fail;
15028 }
15029 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
15030 return resultobj;
15031 fail:
15032 return NULL;
15033 }
15034
15035
15036 SWIGINTERN PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15037 PyObject *resultobj = 0;
15038 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15039 wxColour *result = 0 ;
15040 void *argp1 = 0 ;
15041 int res1 = 0 ;
15042 PyObject *swig_obj[1] ;
15043
15044 if (!args) SWIG_fail;
15045 swig_obj[0] = args;
15046 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15047 if (!SWIG_IsOK(res1)) {
15048 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15049 }
15050 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15051 {
15052 PyThreadState* __tstate = wxPyBeginAllowThreads();
15053 {
15054 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
15055 result = (wxColour *) &_result_ref;
15056 }
15057 wxPyEndAllowThreads(__tstate);
15058 if (PyErr_Occurred()) SWIG_fail;
15059 }
15060 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
15061 return resultobj;
15062 fail:
15063 return NULL;
15064 }
15065
15066
15067 SWIGINTERN PyObject *_wrap_VListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15068 PyObject *resultobj = 0;
15069 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15070 size_t arg2 ;
15071 void *argp1 = 0 ;
15072 int res1 = 0 ;
15073 size_t val2 ;
15074 int ecode2 = 0 ;
15075 PyObject * obj0 = 0 ;
15076 PyObject * obj1 = 0 ;
15077 char * kwnames[] = {
15078 (char *) "self",(char *) "count", NULL
15079 };
15080
15081 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
15082 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15083 if (!SWIG_IsOK(res1)) {
15084 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15085 }
15086 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15087 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15088 if (!SWIG_IsOK(ecode2)) {
15089 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15090 }
15091 arg2 = static_cast< size_t >(val2);
15092 {
15093 PyThreadState* __tstate = wxPyBeginAllowThreads();
15094 (arg1)->SetItemCount(arg2);
15095 wxPyEndAllowThreads(__tstate);
15096 if (PyErr_Occurred()) SWIG_fail;
15097 }
15098 resultobj = SWIG_Py_Void();
15099 return resultobj;
15100 fail:
15101 return NULL;
15102 }
15103
15104
15105 SWIGINTERN PyObject *_wrap_VListBox_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15106 PyObject *resultobj = 0;
15107 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15108 void *argp1 = 0 ;
15109 int res1 = 0 ;
15110 PyObject *swig_obj[1] ;
15111
15112 if (!args) SWIG_fail;
15113 swig_obj[0] = args;
15114 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15115 if (!SWIG_IsOK(res1)) {
15116 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15117 }
15118 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15119 {
15120 PyThreadState* __tstate = wxPyBeginAllowThreads();
15121 (arg1)->Clear();
15122 wxPyEndAllowThreads(__tstate);
15123 if (PyErr_Occurred()) SWIG_fail;
15124 }
15125 resultobj = SWIG_Py_Void();
15126 return resultobj;
15127 fail:
15128 return NULL;
15129 }
15130
15131
15132 SWIGINTERN PyObject *_wrap_VListBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15133 PyObject *resultobj = 0;
15134 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15135 int arg2 ;
15136 void *argp1 = 0 ;
15137 int res1 = 0 ;
15138 int val2 ;
15139 int ecode2 = 0 ;
15140 PyObject * obj0 = 0 ;
15141 PyObject * obj1 = 0 ;
15142 char * kwnames[] = {
15143 (char *) "self",(char *) "selection", NULL
15144 };
15145
15146 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
15147 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15148 if (!SWIG_IsOK(res1)) {
15149 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15150 }
15151 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15152 ecode2 = SWIG_AsVal_int(obj1, &val2);
15153 if (!SWIG_IsOK(ecode2)) {
15154 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
15155 }
15156 arg2 = static_cast< int >(val2);
15157 {
15158 PyThreadState* __tstate = wxPyBeginAllowThreads();
15159 (arg1)->SetSelection(arg2);
15160 wxPyEndAllowThreads(__tstate);
15161 if (PyErr_Occurred()) SWIG_fail;
15162 }
15163 resultobj = SWIG_Py_Void();
15164 return resultobj;
15165 fail:
15166 return NULL;
15167 }
15168
15169
15170 SWIGINTERN PyObject *_wrap_VListBox_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15171 PyObject *resultobj = 0;
15172 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15173 size_t arg2 ;
15174 bool arg3 = (bool) true ;
15175 bool result;
15176 void *argp1 = 0 ;
15177 int res1 = 0 ;
15178 size_t val2 ;
15179 int ecode2 = 0 ;
15180 bool val3 ;
15181 int ecode3 = 0 ;
15182 PyObject * obj0 = 0 ;
15183 PyObject * obj1 = 0 ;
15184 PyObject * obj2 = 0 ;
15185 char * kwnames[] = {
15186 (char *) "self",(char *) "item",(char *) "select", NULL
15187 };
15188
15189 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15190 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15191 if (!SWIG_IsOK(res1)) {
15192 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15193 }
15194 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15195 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15196 if (!SWIG_IsOK(ecode2)) {
15197 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
15198 }
15199 arg2 = static_cast< size_t >(val2);
15200 if (obj2) {
15201 ecode3 = SWIG_AsVal_bool(obj2, &val3);
15202 if (!SWIG_IsOK(ecode3)) {
15203 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
15204 }
15205 arg3 = static_cast< bool >(val3);
15206 }
15207 {
15208 PyThreadState* __tstate = wxPyBeginAllowThreads();
15209 result = (bool)(arg1)->Select(arg2,arg3);
15210 wxPyEndAllowThreads(__tstate);
15211 if (PyErr_Occurred()) SWIG_fail;
15212 }
15213 {
15214 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15215 }
15216 return resultobj;
15217 fail:
15218 return NULL;
15219 }
15220
15221
15222 SWIGINTERN PyObject *_wrap_VListBox_SelectRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15223 PyObject *resultobj = 0;
15224 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15225 size_t arg2 ;
15226 size_t arg3 ;
15227 bool result;
15228 void *argp1 = 0 ;
15229 int res1 = 0 ;
15230 size_t val2 ;
15231 int ecode2 = 0 ;
15232 size_t val3 ;
15233 int ecode3 = 0 ;
15234 PyObject * obj0 = 0 ;
15235 PyObject * obj1 = 0 ;
15236 PyObject * obj2 = 0 ;
15237 char * kwnames[] = {
15238 (char *) "self",(char *) "from",(char *) "to", NULL
15239 };
15240
15241 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15242 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15243 if (!SWIG_IsOK(res1)) {
15244 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15245 }
15246 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15247 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15248 if (!SWIG_IsOK(ecode2)) {
15249 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
15250 }
15251 arg2 = static_cast< size_t >(val2);
15252 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
15253 if (!SWIG_IsOK(ecode3)) {
15254 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
15255 }
15256 arg3 = static_cast< size_t >(val3);
15257 {
15258 PyThreadState* __tstate = wxPyBeginAllowThreads();
15259 result = (bool)(arg1)->SelectRange(arg2,arg3);
15260 wxPyEndAllowThreads(__tstate);
15261 if (PyErr_Occurred()) SWIG_fail;
15262 }
15263 {
15264 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15265 }
15266 return resultobj;
15267 fail:
15268 return NULL;
15269 }
15270
15271
15272 SWIGINTERN PyObject *_wrap_VListBox_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15273 PyObject *resultobj = 0;
15274 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15275 size_t arg2 ;
15276 void *argp1 = 0 ;
15277 int res1 = 0 ;
15278 size_t val2 ;
15279 int ecode2 = 0 ;
15280 PyObject * obj0 = 0 ;
15281 PyObject * obj1 = 0 ;
15282 char * kwnames[] = {
15283 (char *) "self",(char *) "item", NULL
15284 };
15285
15286 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
15287 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15288 if (!SWIG_IsOK(res1)) {
15289 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15290 }
15291 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15292 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15293 if (!SWIG_IsOK(ecode2)) {
15294 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15295 }
15296 arg2 = static_cast< size_t >(val2);
15297 {
15298 PyThreadState* __tstate = wxPyBeginAllowThreads();
15299 (arg1)->Toggle(arg2);
15300 wxPyEndAllowThreads(__tstate);
15301 if (PyErr_Occurred()) SWIG_fail;
15302 }
15303 resultobj = SWIG_Py_Void();
15304 return resultobj;
15305 fail:
15306 return NULL;
15307 }
15308
15309
15310 SWIGINTERN PyObject *_wrap_VListBox_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15311 PyObject *resultobj = 0;
15312 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15313 bool result;
15314 void *argp1 = 0 ;
15315 int res1 = 0 ;
15316 PyObject *swig_obj[1] ;
15317
15318 if (!args) SWIG_fail;
15319 swig_obj[0] = args;
15320 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15321 if (!SWIG_IsOK(res1)) {
15322 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15323 }
15324 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15325 {
15326 PyThreadState* __tstate = wxPyBeginAllowThreads();
15327 result = (bool)(arg1)->SelectAll();
15328 wxPyEndAllowThreads(__tstate);
15329 if (PyErr_Occurred()) SWIG_fail;
15330 }
15331 {
15332 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15333 }
15334 return resultobj;
15335 fail:
15336 return NULL;
15337 }
15338
15339
15340 SWIGINTERN PyObject *_wrap_VListBox_DeselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15341 PyObject *resultobj = 0;
15342 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15343 bool result;
15344 void *argp1 = 0 ;
15345 int res1 = 0 ;
15346 PyObject *swig_obj[1] ;
15347
15348 if (!args) SWIG_fail;
15349 swig_obj[0] = args;
15350 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15351 if (!SWIG_IsOK(res1)) {
15352 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15353 }
15354 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15355 {
15356 PyThreadState* __tstate = wxPyBeginAllowThreads();
15357 result = (bool)(arg1)->DeselectAll();
15358 wxPyEndAllowThreads(__tstate);
15359 if (PyErr_Occurred()) SWIG_fail;
15360 }
15361 {
15362 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15363 }
15364 return resultobj;
15365 fail:
15366 return NULL;
15367 }
15368
15369
15370 SWIGINTERN PyObject *_wrap_VListBox_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15371 PyObject *resultobj = 0;
15372 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15373 wxPoint *arg2 = 0 ;
15374 void *argp1 = 0 ;
15375 int res1 = 0 ;
15376 wxPoint temp2 ;
15377 PyObject * obj0 = 0 ;
15378 PyObject * obj1 = 0 ;
15379 char * kwnames[] = {
15380 (char *) "self",(char *) "pt", NULL
15381 };
15382
15383 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) SWIG_fail;
15384 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15385 if (!SWIG_IsOK(res1)) {
15386 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15387 }
15388 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15389 {
15390 arg2 = &temp2;
15391 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15392 }
15393 {
15394 PyThreadState* __tstate = wxPyBeginAllowThreads();
15395 (arg1)->SetMargins((wxPoint const &)*arg2);
15396 wxPyEndAllowThreads(__tstate);
15397 if (PyErr_Occurred()) SWIG_fail;
15398 }
15399 resultobj = SWIG_Py_Void();
15400 return resultobj;
15401 fail:
15402 return NULL;
15403 }
15404
15405
15406 SWIGINTERN PyObject *_wrap_VListBox_SetMarginsXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15407 PyObject *resultobj = 0;
15408 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15409 int arg2 ;
15410 int arg3 ;
15411 void *argp1 = 0 ;
15412 int res1 = 0 ;
15413 int val2 ;
15414 int ecode2 = 0 ;
15415 int val3 ;
15416 int ecode3 = 0 ;
15417 PyObject * obj0 = 0 ;
15418 PyObject * obj1 = 0 ;
15419 PyObject * obj2 = 0 ;
15420 char * kwnames[] = {
15421 (char *) "self",(char *) "x",(char *) "y", NULL
15422 };
15423
15424 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15425 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15426 if (!SWIG_IsOK(res1)) {
15427 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15428 }
15429 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15430 ecode2 = SWIG_AsVal_int(obj1, &val2);
15431 if (!SWIG_IsOK(ecode2)) {
15432 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15433 }
15434 arg2 = static_cast< int >(val2);
15435 ecode3 = SWIG_AsVal_int(obj2, &val3);
15436 if (!SWIG_IsOK(ecode3)) {
15437 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15438 }
15439 arg3 = static_cast< int >(val3);
15440 {
15441 PyThreadState* __tstate = wxPyBeginAllowThreads();
15442 (arg1)->SetMargins(arg2,arg3);
15443 wxPyEndAllowThreads(__tstate);
15444 if (PyErr_Occurred()) SWIG_fail;
15445 }
15446 resultobj = SWIG_Py_Void();
15447 return resultobj;
15448 fail:
15449 return NULL;
15450 }
15451
15452
15453 SWIGINTERN PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15454 PyObject *resultobj = 0;
15455 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15456 wxColour *arg2 = 0 ;
15457 void *argp1 = 0 ;
15458 int res1 = 0 ;
15459 wxColour temp2 ;
15460 PyObject * obj0 = 0 ;
15461 PyObject * obj1 = 0 ;
15462 char * kwnames[] = {
15463 (char *) "self",(char *) "col", NULL
15464 };
15465
15466 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) SWIG_fail;
15467 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15468 if (!SWIG_IsOK(res1)) {
15469 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15470 }
15471 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15472 {
15473 arg2 = &temp2;
15474 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15475 }
15476 {
15477 PyThreadState* __tstate = wxPyBeginAllowThreads();
15478 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
15479 wxPyEndAllowThreads(__tstate);
15480 if (PyErr_Occurred()) SWIG_fail;
15481 }
15482 resultobj = SWIG_Py_Void();
15483 return resultobj;
15484 fail:
15485 return NULL;
15486 }
15487
15488
15489 SWIGINTERN PyObject *_wrap_VListBox_OnDrawSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15490 PyObject *resultobj = 0;
15491 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15492 wxDC *arg2 = 0 ;
15493 wxRect *arg3 = 0 ;
15494 size_t arg4 ;
15495 void *argp1 = 0 ;
15496 int res1 = 0 ;
15497 void *argp2 = 0 ;
15498 int res2 = 0 ;
15499 wxRect temp3 ;
15500 size_t val4 ;
15501 int ecode4 = 0 ;
15502 PyObject * obj0 = 0 ;
15503 PyObject * obj1 = 0 ;
15504 PyObject * obj2 = 0 ;
15505 PyObject * obj3 = 0 ;
15506 char * kwnames[] = {
15507 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15508 };
15509
15510 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15511 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15512 if (!SWIG_IsOK(res1)) {
15513 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15514 }
15515 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15516 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15517 if (!SWIG_IsOK(res2)) {
15518 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15519 }
15520 if (!argp2) {
15521 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15522 }
15523 arg2 = reinterpret_cast< wxDC * >(argp2);
15524 {
15525 arg3 = &temp3;
15526 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15527 }
15528 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15529 if (!SWIG_IsOK(ecode4)) {
15530 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15531 }
15532 arg4 = static_cast< size_t >(val4);
15533 {
15534 PyThreadState* __tstate = wxPyBeginAllowThreads();
15535 ((wxPyVListBox const *)arg1)->OnDrawSeparator(*arg2,*arg3,arg4);
15536 wxPyEndAllowThreads(__tstate);
15537 if (PyErr_Occurred()) SWIG_fail;
15538 }
15539 resultobj = SWIG_Py_Void();
15540 return resultobj;
15541 fail:
15542 return NULL;
15543 }
15544
15545
15546 SWIGINTERN PyObject *_wrap_VListBox_OnDrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15547 PyObject *resultobj = 0;
15548 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15549 wxDC *arg2 = 0 ;
15550 wxRect *arg3 = 0 ;
15551 size_t arg4 ;
15552 void *argp1 = 0 ;
15553 int res1 = 0 ;
15554 void *argp2 = 0 ;
15555 int res2 = 0 ;
15556 wxRect temp3 ;
15557 size_t val4 ;
15558 int ecode4 = 0 ;
15559 PyObject * obj0 = 0 ;
15560 PyObject * obj1 = 0 ;
15561 PyObject * obj2 = 0 ;
15562 PyObject * obj3 = 0 ;
15563 char * kwnames[] = {
15564 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15565 };
15566
15567 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15568 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15569 if (!SWIG_IsOK(res1)) {
15570 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15571 }
15572 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15573 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15574 if (!SWIG_IsOK(res2)) {
15575 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15576 }
15577 if (!argp2) {
15578 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15579 }
15580 arg2 = reinterpret_cast< wxDC * >(argp2);
15581 {
15582 arg3 = &temp3;
15583 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15584 }
15585 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15586 if (!SWIG_IsOK(ecode4)) {
15587 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15588 }
15589 arg4 = static_cast< size_t >(val4);
15590 {
15591 PyThreadState* __tstate = wxPyBeginAllowThreads();
15592 ((wxPyVListBox const *)arg1)->OnDrawBackground(*arg2,(wxRect const &)*arg3,arg4);
15593 wxPyEndAllowThreads(__tstate);
15594 if (PyErr_Occurred()) SWIG_fail;
15595 }
15596 resultobj = SWIG_Py_Void();
15597 return resultobj;
15598 fail:
15599 return NULL;
15600 }
15601
15602
15603 SWIGINTERN PyObject *VListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15604 PyObject *obj;
15605 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15606 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox, SWIG_NewClientData(obj));
15607 return SWIG_Py_Void();
15608 }
15609
15610 SWIGINTERN PyObject *VListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15611 return SWIG_Python_InitShadowInstance(args);
15612 }
15613
15614 SWIGINTERN PyObject *_wrap_new_HtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15615 PyObject *resultobj = 0;
15616 wxWindow *arg1 = (wxWindow *) 0 ;
15617 int arg2 = (int) wxID_ANY ;
15618 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15619 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15620 wxSize const &arg4_defvalue = wxDefaultSize ;
15621 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15622 long arg5 = (long) 0 ;
15623 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
15624 wxString *arg6 = (wxString *) &arg6_defvalue ;
15625 wxPyHtmlListBox *result = 0 ;
15626 void *argp1 = 0 ;
15627 int res1 = 0 ;
15628 int val2 ;
15629 int ecode2 = 0 ;
15630 wxPoint temp3 ;
15631 wxSize temp4 ;
15632 long val5 ;
15633 int ecode5 = 0 ;
15634 bool temp6 = false ;
15635 PyObject * obj0 = 0 ;
15636 PyObject * obj1 = 0 ;
15637 PyObject * obj2 = 0 ;
15638 PyObject * obj3 = 0 ;
15639 PyObject * obj4 = 0 ;
15640 PyObject * obj5 = 0 ;
15641 char * kwnames[] = {
15642 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15643 };
15644
15645 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
15646 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15647 if (!SWIG_IsOK(res1)) {
15648 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15649 }
15650 arg1 = reinterpret_cast< wxWindow * >(argp1);
15651 if (obj1) {
15652 ecode2 = SWIG_AsVal_int(obj1, &val2);
15653 if (!SWIG_IsOK(ecode2)) {
15654 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15655 }
15656 arg2 = static_cast< int >(val2);
15657 }
15658 if (obj2) {
15659 {
15660 arg3 = &temp3;
15661 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15662 }
15663 }
15664 if (obj3) {
15665 {
15666 arg4 = &temp4;
15667 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15668 }
15669 }
15670 if (obj4) {
15671 ecode5 = SWIG_AsVal_long(obj4, &val5);
15672 if (!SWIG_IsOK(ecode5)) {
15673 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15674 }
15675 arg5 = static_cast< long >(val5);
15676 }
15677 if (obj5) {
15678 {
15679 arg6 = wxString_in_helper(obj5);
15680 if (arg6 == NULL) SWIG_fail;
15681 temp6 = true;
15682 }
15683 }
15684 {
15685 if (!wxPyCheckForApp()) SWIG_fail;
15686 PyThreadState* __tstate = wxPyBeginAllowThreads();
15687 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15688 wxPyEndAllowThreads(__tstate);
15689 if (PyErr_Occurred()) SWIG_fail;
15690 }
15691 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_NEW | 0 );
15692 {
15693 if (temp6)
15694 delete arg6;
15695 }
15696 return resultobj;
15697 fail:
15698 {
15699 if (temp6)
15700 delete arg6;
15701 }
15702 return NULL;
15703 }
15704
15705
15706 SWIGINTERN PyObject *_wrap_new_PreHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15707 PyObject *resultobj = 0;
15708 wxPyHtmlListBox *result = 0 ;
15709
15710 if (!SWIG_Python_UnpackTuple(args,"new_PreHtmlListBox",0,0,0)) SWIG_fail;
15711 {
15712 if (!wxPyCheckForApp()) SWIG_fail;
15713 PyThreadState* __tstate = wxPyBeginAllowThreads();
15714 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
15715 wxPyEndAllowThreads(__tstate);
15716 if (PyErr_Occurred()) SWIG_fail;
15717 }
15718 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_OWN | 0 );
15719 return resultobj;
15720 fail:
15721 return NULL;
15722 }
15723
15724
15725 SWIGINTERN PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15726 PyObject *resultobj = 0;
15727 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15728 PyObject *arg2 = (PyObject *) 0 ;
15729 PyObject *arg3 = (PyObject *) 0 ;
15730 void *argp1 = 0 ;
15731 int res1 = 0 ;
15732 PyObject * obj0 = 0 ;
15733 PyObject * obj1 = 0 ;
15734 PyObject * obj2 = 0 ;
15735 char * kwnames[] = {
15736 (char *) "self",(char *) "self",(char *) "_class", NULL
15737 };
15738
15739 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15740 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15741 if (!SWIG_IsOK(res1)) {
15742 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15743 }
15744 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15745 arg2 = obj1;
15746 arg3 = obj2;
15747 {
15748 PyThreadState* __tstate = wxPyBeginAllowThreads();
15749 (arg1)->_setCallbackInfo(arg2,arg3);
15750 wxPyEndAllowThreads(__tstate);
15751 if (PyErr_Occurred()) SWIG_fail;
15752 }
15753 resultobj = SWIG_Py_Void();
15754 return resultobj;
15755 fail:
15756 return NULL;
15757 }
15758
15759
15760 SWIGINTERN PyObject *_wrap_HtmlListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15761 PyObject *resultobj = 0;
15762 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15763 wxWindow *arg2 = (wxWindow *) 0 ;
15764 int arg3 = (int) wxID_ANY ;
15765 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15766 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15767 wxSize const &arg5_defvalue = wxDefaultSize ;
15768 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15769 long arg6 = (long) 0 ;
15770 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
15771 wxString *arg7 = (wxString *) &arg7_defvalue ;
15772 bool result;
15773 void *argp1 = 0 ;
15774 int res1 = 0 ;
15775 void *argp2 = 0 ;
15776 int res2 = 0 ;
15777 int val3 ;
15778 int ecode3 = 0 ;
15779 wxPoint temp4 ;
15780 wxSize temp5 ;
15781 long val6 ;
15782 int ecode6 = 0 ;
15783 bool temp7 = false ;
15784 PyObject * obj0 = 0 ;
15785 PyObject * obj1 = 0 ;
15786 PyObject * obj2 = 0 ;
15787 PyObject * obj3 = 0 ;
15788 PyObject * obj4 = 0 ;
15789 PyObject * obj5 = 0 ;
15790 PyObject * obj6 = 0 ;
15791 char * kwnames[] = {
15792 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15793 };
15794
15795 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
15796 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15797 if (!SWIG_IsOK(res1)) {
15798 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15799 }
15800 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15801 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15802 if (!SWIG_IsOK(res2)) {
15803 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15804 }
15805 arg2 = reinterpret_cast< wxWindow * >(argp2);
15806 if (obj2) {
15807 ecode3 = SWIG_AsVal_int(obj2, &val3);
15808 if (!SWIG_IsOK(ecode3)) {
15809 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15810 }
15811 arg3 = static_cast< int >(val3);
15812 }
15813 if (obj3) {
15814 {
15815 arg4 = &temp4;
15816 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15817 }
15818 }
15819 if (obj4) {
15820 {
15821 arg5 = &temp5;
15822 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15823 }
15824 }
15825 if (obj5) {
15826 ecode6 = SWIG_AsVal_long(obj5, &val6);
15827 if (!SWIG_IsOK(ecode6)) {
15828 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15829 }
15830 arg6 = static_cast< long >(val6);
15831 }
15832 if (obj6) {
15833 {
15834 arg7 = wxString_in_helper(obj6);
15835 if (arg7 == NULL) SWIG_fail;
15836 temp7 = true;
15837 }
15838 }
15839 {
15840 PyThreadState* __tstate = wxPyBeginAllowThreads();
15841 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15842 wxPyEndAllowThreads(__tstate);
15843 if (PyErr_Occurred()) SWIG_fail;
15844 }
15845 {
15846 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15847 }
15848 {
15849 if (temp7)
15850 delete arg7;
15851 }
15852 return resultobj;
15853 fail:
15854 {
15855 if (temp7)
15856 delete arg7;
15857 }
15858 return NULL;
15859 }
15860
15861
15862 SWIGINTERN PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15863 PyObject *resultobj = 0;
15864 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15865 size_t arg2 ;
15866 void *argp1 = 0 ;
15867 int res1 = 0 ;
15868 size_t val2 ;
15869 int ecode2 = 0 ;
15870 PyObject * obj0 = 0 ;
15871 PyObject * obj1 = 0 ;
15872 char * kwnames[] = {
15873 (char *) "self",(char *) "count", NULL
15874 };
15875
15876 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
15877 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15878 if (!SWIG_IsOK(res1)) {
15879 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15880 }
15881 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15882 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15883 if (!SWIG_IsOK(ecode2)) {
15884 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15885 }
15886 arg2 = static_cast< size_t >(val2);
15887 {
15888 PyThreadState* __tstate = wxPyBeginAllowThreads();
15889 (arg1)->SetItemCount(arg2);
15890 wxPyEndAllowThreads(__tstate);
15891 if (PyErr_Occurred()) SWIG_fail;
15892 }
15893 resultobj = SWIG_Py_Void();
15894 return resultobj;
15895 fail:
15896 return NULL;
15897 }
15898
15899
15900 SWIGINTERN PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15901 PyObject *resultobj = 0;
15902 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15903 wxFileSystem *result = 0 ;
15904 void *argp1 = 0 ;
15905 int res1 = 0 ;
15906 PyObject *swig_obj[1] ;
15907
15908 if (!args) SWIG_fail;
15909 swig_obj[0] = args;
15910 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15911 if (!SWIG_IsOK(res1)) {
15912 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15913 }
15914 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15915 {
15916 PyThreadState* __tstate = wxPyBeginAllowThreads();
15917 {
15918 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
15919 result = (wxFileSystem *) &_result_ref;
15920 }
15921 wxPyEndAllowThreads(__tstate);
15922 if (PyErr_Occurred()) SWIG_fail;
15923 }
15924 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileSystem, 0 | 0 );
15925 return resultobj;
15926 fail:
15927 return NULL;
15928 }
15929
15930
15931 SWIGINTERN PyObject *_wrap_HtmlListBox_OnLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15932 PyObject *resultobj = 0;
15933 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15934 size_t arg2 ;
15935 wxHtmlLinkInfo *arg3 = 0 ;
15936 void *argp1 = 0 ;
15937 int res1 = 0 ;
15938 size_t val2 ;
15939 int ecode2 = 0 ;
15940 void *argp3 = 0 ;
15941 int res3 = 0 ;
15942 PyObject * obj0 = 0 ;
15943 PyObject * obj1 = 0 ;
15944 PyObject * obj2 = 0 ;
15945 char * kwnames[] = {
15946 (char *) "self",(char *) "n",(char *) "link", NULL
15947 };
15948
15949 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15950 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15951 if (!SWIG_IsOK(res1)) {
15952 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15953 }
15954 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15955 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15956 if (!SWIG_IsOK(ecode2)) {
15957 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15958 }
15959 arg2 = static_cast< size_t >(val2);
15960 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0);
15961 if (!SWIG_IsOK(res3)) {
15962 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15963 }
15964 if (!argp3) {
15965 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15966 }
15967 arg3 = reinterpret_cast< wxHtmlLinkInfo * >(argp3);
15968 {
15969 PyThreadState* __tstate = wxPyBeginAllowThreads();
15970 (arg1)->OnLinkClicked(arg2,(wxHtmlLinkInfo const &)*arg3);
15971 wxPyEndAllowThreads(__tstate);
15972 if (PyErr_Occurred()) SWIG_fail;
15973 }
15974 resultobj = SWIG_Py_Void();
15975 return resultobj;
15976 fail:
15977 return NULL;
15978 }
15979
15980
15981 SWIGINTERN PyObject *HtmlListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15982 PyObject *obj;
15983 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15984 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox, SWIG_NewClientData(obj));
15985 return SWIG_Py_Void();
15986 }
15987
15988 SWIGINTERN PyObject *HtmlListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15989 return SWIG_Python_InitShadowInstance(args);
15990 }
15991
15992 SWIGINTERN PyObject *_wrap_new_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15993 PyObject *resultobj = 0;
15994 wxPyTaskBarIcon *result = 0 ;
15995
15996 if (!SWIG_Python_UnpackTuple(args,"new_TaskBarIcon",0,0,0)) SWIG_fail;
15997 {
15998 if (!wxPyCheckForApp()) SWIG_fail;
15999 PyThreadState* __tstate = wxPyBeginAllowThreads();
16000 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
16001 wxPyEndAllowThreads(__tstate);
16002 if (PyErr_Occurred()) SWIG_fail;
16003 }
16004 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_NEW | 0 );
16005 return resultobj;
16006 fail:
16007 return NULL;
16008 }
16009
16010
16011 SWIGINTERN PyObject *_wrap_delete_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16012 PyObject *resultobj = 0;
16013 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16014 void *argp1 = 0 ;
16015 int res1 = 0 ;
16016 PyObject *swig_obj[1] ;
16017
16018 if (!args) SWIG_fail;
16019 swig_obj[0] = args;
16020 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_DISOWN | 0 );
16021 if (!SWIG_IsOK(res1)) {
16022 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16023 }
16024 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16025 {
16026 PyThreadState* __tstate = wxPyBeginAllowThreads();
16027 delete arg1;
16028
16029 wxPyEndAllowThreads(__tstate);
16030 if (PyErr_Occurred()) SWIG_fail;
16031 }
16032 resultobj = SWIG_Py_Void();
16033 return resultobj;
16034 fail:
16035 return NULL;
16036 }
16037
16038
16039 SWIGINTERN PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16040 PyObject *resultobj = 0;
16041 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16042 PyObject *arg2 = (PyObject *) 0 ;
16043 PyObject *arg3 = (PyObject *) 0 ;
16044 int arg4 ;
16045 void *argp1 = 0 ;
16046 int res1 = 0 ;
16047 int val4 ;
16048 int ecode4 = 0 ;
16049 PyObject * obj0 = 0 ;
16050 PyObject * obj1 = 0 ;
16051 PyObject * obj2 = 0 ;
16052 PyObject * obj3 = 0 ;
16053 char * kwnames[] = {
16054 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
16055 };
16056
16057 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
16058 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16059 if (!SWIG_IsOK(res1)) {
16060 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16061 }
16062 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16063 arg2 = obj1;
16064 arg3 = obj2;
16065 ecode4 = SWIG_AsVal_int(obj3, &val4);
16066 if (!SWIG_IsOK(ecode4)) {
16067 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
16068 }
16069 arg4 = static_cast< int >(val4);
16070 {
16071 PyThreadState* __tstate = wxPyBeginAllowThreads();
16072 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
16073 wxPyEndAllowThreads(__tstate);
16074 if (PyErr_Occurred()) SWIG_fail;
16075 }
16076 resultobj = SWIG_Py_Void();
16077 return resultobj;
16078 fail:
16079 return NULL;
16080 }
16081
16082
16083 SWIGINTERN PyObject *_wrap_TaskBarIcon_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16084 PyObject *resultobj = 0;
16085 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16086 void *argp1 = 0 ;
16087 int res1 = 0 ;
16088 PyObject *swig_obj[1] ;
16089
16090 if (!args) SWIG_fail;
16091 swig_obj[0] = args;
16092 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16093 if (!SWIG_IsOK(res1)) {
16094 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16095 }
16096 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16097 {
16098 PyThreadState* __tstate = wxPyBeginAllowThreads();
16099 wxPyTaskBarIcon_Destroy(arg1);
16100 wxPyEndAllowThreads(__tstate);
16101 if (PyErr_Occurred()) SWIG_fail;
16102 }
16103 resultobj = SWIG_Py_Void();
16104 return resultobj;
16105 fail:
16106 return NULL;
16107 }
16108
16109
16110 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16111 PyObject *resultobj = 0;
16112 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16113 bool result;
16114 void *argp1 = 0 ;
16115 int res1 = 0 ;
16116 PyObject *swig_obj[1] ;
16117
16118 if (!args) SWIG_fail;
16119 swig_obj[0] = args;
16120 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16121 if (!SWIG_IsOK(res1)) {
16122 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16123 }
16124 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16125 {
16126 PyThreadState* __tstate = wxPyBeginAllowThreads();
16127 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
16128 wxPyEndAllowThreads(__tstate);
16129 if (PyErr_Occurred()) SWIG_fail;
16130 }
16131 {
16132 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16133 }
16134 return resultobj;
16135 fail:
16136 return NULL;
16137 }
16138
16139
16140 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16141 PyObject *resultobj = 0;
16142 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16143 bool result;
16144 void *argp1 = 0 ;
16145 int res1 = 0 ;
16146 PyObject *swig_obj[1] ;
16147
16148 if (!args) SWIG_fail;
16149 swig_obj[0] = args;
16150 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16151 if (!SWIG_IsOK(res1)) {
16152 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16153 }
16154 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16155 {
16156 PyThreadState* __tstate = wxPyBeginAllowThreads();
16157 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
16158 wxPyEndAllowThreads(__tstate);
16159 if (PyErr_Occurred()) SWIG_fail;
16160 }
16161 {
16162 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16163 }
16164 return resultobj;
16165 fail:
16166 return NULL;
16167 }
16168
16169
16170 SWIGINTERN PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16171 PyObject *resultobj = 0;
16172 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16173 wxIcon *arg2 = 0 ;
16174 wxString const &arg3_defvalue = wxPyEmptyString ;
16175 wxString *arg3 = (wxString *) &arg3_defvalue ;
16176 bool result;
16177 void *argp1 = 0 ;
16178 int res1 = 0 ;
16179 void *argp2 = 0 ;
16180 int res2 = 0 ;
16181 bool temp3 = false ;
16182 PyObject * obj0 = 0 ;
16183 PyObject * obj1 = 0 ;
16184 PyObject * obj2 = 0 ;
16185 char * kwnames[] = {
16186 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
16187 };
16188
16189 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16190 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16191 if (!SWIG_IsOK(res1)) {
16192 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16193 }
16194 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16195 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
16196 if (!SWIG_IsOK(res2)) {
16197 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16198 }
16199 if (!argp2) {
16200 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16201 }
16202 arg2 = reinterpret_cast< wxIcon * >(argp2);
16203 if (obj2) {
16204 {
16205 arg3 = wxString_in_helper(obj2);
16206 if (arg3 == NULL) SWIG_fail;
16207 temp3 = true;
16208 }
16209 }
16210 {
16211 PyThreadState* __tstate = wxPyBeginAllowThreads();
16212 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
16213 wxPyEndAllowThreads(__tstate);
16214 if (PyErr_Occurred()) SWIG_fail;
16215 }
16216 {
16217 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16218 }
16219 {
16220 if (temp3)
16221 delete arg3;
16222 }
16223 return resultobj;
16224 fail:
16225 {
16226 if (temp3)
16227 delete arg3;
16228 }
16229 return NULL;
16230 }
16231
16232
16233 SWIGINTERN PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16234 PyObject *resultobj = 0;
16235 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16236 bool result;
16237 void *argp1 = 0 ;
16238 int res1 = 0 ;
16239 PyObject *swig_obj[1] ;
16240
16241 if (!args) SWIG_fail;
16242 swig_obj[0] = args;
16243 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16244 if (!SWIG_IsOK(res1)) {
16245 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16246 }
16247 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16248 {
16249 PyThreadState* __tstate = wxPyBeginAllowThreads();
16250 result = (bool)(arg1)->RemoveIcon();
16251 wxPyEndAllowThreads(__tstate);
16252 if (PyErr_Occurred()) SWIG_fail;
16253 }
16254 {
16255 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16256 }
16257 return resultobj;
16258 fail:
16259 return NULL;
16260 }
16261
16262
16263 SWIGINTERN PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16264 PyObject *resultobj = 0;
16265 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16266 wxMenu *arg2 = (wxMenu *) 0 ;
16267 bool result;
16268 void *argp1 = 0 ;
16269 int res1 = 0 ;
16270 void *argp2 = 0 ;
16271 int res2 = 0 ;
16272 PyObject * obj0 = 0 ;
16273 PyObject * obj1 = 0 ;
16274 char * kwnames[] = {
16275 (char *) "self",(char *) "menu", NULL
16276 };
16277
16278 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) SWIG_fail;
16279 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16280 if (!SWIG_IsOK(res1)) {
16281 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16282 }
16283 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16284 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
16285 if (!SWIG_IsOK(res2)) {
16286 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16287 }
16288 arg2 = reinterpret_cast< wxMenu * >(argp2);
16289 {
16290 PyThreadState* __tstate = wxPyBeginAllowThreads();
16291 result = (bool)(arg1)->PopupMenu(arg2);
16292 wxPyEndAllowThreads(__tstate);
16293 if (PyErr_Occurred()) SWIG_fail;
16294 }
16295 {
16296 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16297 }
16298 return resultobj;
16299 fail:
16300 return NULL;
16301 }
16302
16303
16304 SWIGINTERN PyObject *TaskBarIcon_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16305 PyObject *obj;
16306 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16307 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon, SWIG_NewClientData(obj));
16308 return SWIG_Py_Void();
16309 }
16310
16311 SWIGINTERN PyObject *TaskBarIcon_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16312 return SWIG_Python_InitShadowInstance(args);
16313 }
16314
16315 SWIGINTERN PyObject *_wrap_new_TaskBarIconEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16316 PyObject *resultobj = 0;
16317 wxEventType arg1 ;
16318 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
16319 wxTaskBarIconEvent *result = 0 ;
16320 int val1 ;
16321 int ecode1 = 0 ;
16322 void *argp2 = 0 ;
16323 int res2 = 0 ;
16324 PyObject * obj0 = 0 ;
16325 PyObject * obj1 = 0 ;
16326 char * kwnames[] = {
16327 (char *) "evtType",(char *) "tbIcon", NULL
16328 };
16329
16330 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) SWIG_fail;
16331 ecode1 = SWIG_AsVal_int(obj0, &val1);
16332 if (!SWIG_IsOK(ecode1)) {
16333 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16334 }
16335 arg1 = static_cast< wxEventType >(val1);
16336 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTaskBarIcon, 0 | 0 );
16337 if (!SWIG_IsOK(res2)) {
16338 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16339 }
16340 arg2 = reinterpret_cast< wxTaskBarIcon * >(argp2);
16341 {
16342 PyThreadState* __tstate = wxPyBeginAllowThreads();
16343 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
16344 wxPyEndAllowThreads(__tstate);
16345 if (PyErr_Occurred()) SWIG_fail;
16346 }
16347 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTaskBarIconEvent, SWIG_POINTER_NEW | 0 );
16348 return resultobj;
16349 fail:
16350 return NULL;
16351 }
16352
16353
16354 SWIGINTERN PyObject *TaskBarIconEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16355 PyObject *obj;
16356 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16357 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent, SWIG_NewClientData(obj));
16358 return SWIG_Py_Void();
16359 }
16360
16361 SWIGINTERN PyObject *TaskBarIconEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16362 return SWIG_Python_InitShadowInstance(args);
16363 }
16364
16365 SWIGINTERN int FileSelectorPromptStr_set(PyObject *) {
16366 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorPromptStr is read-only.");
16367 return 1;
16368 }
16369
16370
16371 SWIGINTERN PyObject *FileSelectorPromptStr_get(void) {
16372 PyObject *pyobj = 0;
16373
16374 {
16375 #if wxUSE_UNICODE
16376 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16377 #else
16378 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16379 #endif
16380 }
16381 return pyobj;
16382 }
16383
16384
16385 SWIGINTERN int DirSelectorPromptStr_set(PyObject *) {
16386 SWIG_Error(SWIG_AttributeError,"Variable DirSelectorPromptStr is read-only.");
16387 return 1;
16388 }
16389
16390
16391 SWIGINTERN PyObject *DirSelectorPromptStr_get(void) {
16392 PyObject *pyobj = 0;
16393
16394 {
16395 #if wxUSE_UNICODE
16396 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16397 #else
16398 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16399 #endif
16400 }
16401 return pyobj;
16402 }
16403
16404
16405 SWIGINTERN int DirDialogNameStr_set(PyObject *) {
16406 SWIG_Error(SWIG_AttributeError,"Variable DirDialogNameStr is read-only.");
16407 return 1;
16408 }
16409
16410
16411 SWIGINTERN PyObject *DirDialogNameStr_get(void) {
16412 PyObject *pyobj = 0;
16413
16414 {
16415 #if wxUSE_UNICODE
16416 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16417 #else
16418 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16419 #endif
16420 }
16421 return pyobj;
16422 }
16423
16424
16425 SWIGINTERN int FileSelectorDefaultWildcardStr_set(PyObject *) {
16426 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
16427 return 1;
16428 }
16429
16430
16431 SWIGINTERN PyObject *FileSelectorDefaultWildcardStr_get(void) {
16432 PyObject *pyobj = 0;
16433
16434 {
16435 #if wxUSE_UNICODE
16436 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16437 #else
16438 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16439 #endif
16440 }
16441 return pyobj;
16442 }
16443
16444
16445 SWIGINTERN int GetTextFromUserPromptStr_set(PyObject *) {
16446 SWIG_Error(SWIG_AttributeError,"Variable GetTextFromUserPromptStr is read-only.");
16447 return 1;
16448 }
16449
16450
16451 SWIGINTERN PyObject *GetTextFromUserPromptStr_get(void) {
16452 PyObject *pyobj = 0;
16453
16454 {
16455 #if wxUSE_UNICODE
16456 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16457 #else
16458 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16459 #endif
16460 }
16461 return pyobj;
16462 }
16463
16464
16465 SWIGINTERN int MessageBoxCaptionStr_set(PyObject *) {
16466 SWIG_Error(SWIG_AttributeError,"Variable MessageBoxCaptionStr is read-only.");
16467 return 1;
16468 }
16469
16470
16471 SWIGINTERN PyObject *MessageBoxCaptionStr_get(void) {
16472 PyObject *pyobj = 0;
16473
16474 {
16475 #if wxUSE_UNICODE
16476 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16477 #else
16478 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16479 #endif
16480 }
16481 return pyobj;
16482 }
16483
16484
16485 SWIGINTERN PyObject *_wrap_new_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16486 PyObject *resultobj = 0;
16487 wxColourData *result = 0 ;
16488
16489 if (!SWIG_Python_UnpackTuple(args,"new_ColourData",0,0,0)) SWIG_fail;
16490 {
16491 PyThreadState* __tstate = wxPyBeginAllowThreads();
16492 result = (wxColourData *)new wxColourData();
16493 wxPyEndAllowThreads(__tstate);
16494 if (PyErr_Occurred()) SWIG_fail;
16495 }
16496 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, SWIG_POINTER_NEW | 0 );
16497 return resultobj;
16498 fail:
16499 return NULL;
16500 }
16501
16502
16503 SWIGINTERN PyObject *_wrap_delete_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16504 PyObject *resultobj = 0;
16505 wxColourData *arg1 = (wxColourData *) 0 ;
16506 void *argp1 = 0 ;
16507 int res1 = 0 ;
16508 PyObject *swig_obj[1] ;
16509
16510 if (!args) SWIG_fail;
16511 swig_obj[0] = args;
16512 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, SWIG_POINTER_DISOWN | 0 );
16513 if (!SWIG_IsOK(res1)) {
16514 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16515 }
16516 arg1 = reinterpret_cast< wxColourData * >(argp1);
16517 {
16518 PyThreadState* __tstate = wxPyBeginAllowThreads();
16519 delete arg1;
16520
16521 wxPyEndAllowThreads(__tstate);
16522 if (PyErr_Occurred()) SWIG_fail;
16523 }
16524 resultobj = SWIG_Py_Void();
16525 return resultobj;
16526 fail:
16527 return NULL;
16528 }
16529
16530
16531 SWIGINTERN PyObject *_wrap_ColourData_GetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16532 PyObject *resultobj = 0;
16533 wxColourData *arg1 = (wxColourData *) 0 ;
16534 bool result;
16535 void *argp1 = 0 ;
16536 int res1 = 0 ;
16537 PyObject *swig_obj[1] ;
16538
16539 if (!args) SWIG_fail;
16540 swig_obj[0] = args;
16541 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16542 if (!SWIG_IsOK(res1)) {
16543 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16544 }
16545 arg1 = reinterpret_cast< wxColourData * >(argp1);
16546 {
16547 PyThreadState* __tstate = wxPyBeginAllowThreads();
16548 result = (bool)(arg1)->GetChooseFull();
16549 wxPyEndAllowThreads(__tstate);
16550 if (PyErr_Occurred()) SWIG_fail;
16551 }
16552 {
16553 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16554 }
16555 return resultobj;
16556 fail:
16557 return NULL;
16558 }
16559
16560
16561 SWIGINTERN PyObject *_wrap_ColourData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16562 PyObject *resultobj = 0;
16563 wxColourData *arg1 = (wxColourData *) 0 ;
16564 wxColour result;
16565 void *argp1 = 0 ;
16566 int res1 = 0 ;
16567 PyObject *swig_obj[1] ;
16568
16569 if (!args) SWIG_fail;
16570 swig_obj[0] = args;
16571 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16572 if (!SWIG_IsOK(res1)) {
16573 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16574 }
16575 arg1 = reinterpret_cast< wxColourData * >(argp1);
16576 {
16577 PyThreadState* __tstate = wxPyBeginAllowThreads();
16578 result = (arg1)->GetColour();
16579 wxPyEndAllowThreads(__tstate);
16580 if (PyErr_Occurred()) SWIG_fail;
16581 }
16582 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16583 return resultobj;
16584 fail:
16585 return NULL;
16586 }
16587
16588
16589 SWIGINTERN PyObject *_wrap_ColourData_GetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16590 PyObject *resultobj = 0;
16591 wxColourData *arg1 = (wxColourData *) 0 ;
16592 int arg2 ;
16593 wxColour result;
16594 void *argp1 = 0 ;
16595 int res1 = 0 ;
16596 int val2 ;
16597 int ecode2 = 0 ;
16598 PyObject * obj0 = 0 ;
16599 PyObject * obj1 = 0 ;
16600 char * kwnames[] = {
16601 (char *) "self",(char *) "i", NULL
16602 };
16603
16604 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) SWIG_fail;
16605 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16606 if (!SWIG_IsOK(res1)) {
16607 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16608 }
16609 arg1 = reinterpret_cast< wxColourData * >(argp1);
16610 ecode2 = SWIG_AsVal_int(obj1, &val2);
16611 if (!SWIG_IsOK(ecode2)) {
16612 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16613 }
16614 arg2 = static_cast< int >(val2);
16615 {
16616 PyThreadState* __tstate = wxPyBeginAllowThreads();
16617 result = (arg1)->GetCustomColour(arg2);
16618 wxPyEndAllowThreads(__tstate);
16619 if (PyErr_Occurred()) SWIG_fail;
16620 }
16621 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16622 return resultobj;
16623 fail:
16624 return NULL;
16625 }
16626
16627
16628 SWIGINTERN PyObject *_wrap_ColourData_SetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16629 PyObject *resultobj = 0;
16630 wxColourData *arg1 = (wxColourData *) 0 ;
16631 int arg2 ;
16632 void *argp1 = 0 ;
16633 int res1 = 0 ;
16634 int val2 ;
16635 int ecode2 = 0 ;
16636 PyObject * obj0 = 0 ;
16637 PyObject * obj1 = 0 ;
16638 char * kwnames[] = {
16639 (char *) "self",(char *) "flag", NULL
16640 };
16641
16642 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) SWIG_fail;
16643 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16644 if (!SWIG_IsOK(res1)) {
16645 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16646 }
16647 arg1 = reinterpret_cast< wxColourData * >(argp1);
16648 ecode2 = SWIG_AsVal_int(obj1, &val2);
16649 if (!SWIG_IsOK(ecode2)) {
16650 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16651 }
16652 arg2 = static_cast< int >(val2);
16653 {
16654 PyThreadState* __tstate = wxPyBeginAllowThreads();
16655 (arg1)->SetChooseFull(arg2);
16656 wxPyEndAllowThreads(__tstate);
16657 if (PyErr_Occurred()) SWIG_fail;
16658 }
16659 resultobj = SWIG_Py_Void();
16660 return resultobj;
16661 fail:
16662 return NULL;
16663 }
16664
16665
16666 SWIGINTERN PyObject *_wrap_ColourData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16667 PyObject *resultobj = 0;
16668 wxColourData *arg1 = (wxColourData *) 0 ;
16669 wxColour *arg2 = 0 ;
16670 void *argp1 = 0 ;
16671 int res1 = 0 ;
16672 wxColour temp2 ;
16673 PyObject * obj0 = 0 ;
16674 PyObject * obj1 = 0 ;
16675 char * kwnames[] = {
16676 (char *) "self",(char *) "colour", NULL
16677 };
16678
16679 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
16680 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16681 if (!SWIG_IsOK(res1)) {
16682 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16683 }
16684 arg1 = reinterpret_cast< wxColourData * >(argp1);
16685 {
16686 arg2 = &temp2;
16687 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16688 }
16689 {
16690 PyThreadState* __tstate = wxPyBeginAllowThreads();
16691 (arg1)->SetColour((wxColour const &)*arg2);
16692 wxPyEndAllowThreads(__tstate);
16693 if (PyErr_Occurred()) SWIG_fail;
16694 }
16695 resultobj = SWIG_Py_Void();
16696 return resultobj;
16697 fail:
16698 return NULL;
16699 }
16700
16701
16702 SWIGINTERN PyObject *_wrap_ColourData_SetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16703 PyObject *resultobj = 0;
16704 wxColourData *arg1 = (wxColourData *) 0 ;
16705 int arg2 ;
16706 wxColour *arg3 = 0 ;
16707 void *argp1 = 0 ;
16708 int res1 = 0 ;
16709 int val2 ;
16710 int ecode2 = 0 ;
16711 wxColour temp3 ;
16712 PyObject * obj0 = 0 ;
16713 PyObject * obj1 = 0 ;
16714 PyObject * obj2 = 0 ;
16715 char * kwnames[] = {
16716 (char *) "self",(char *) "i",(char *) "colour", NULL
16717 };
16718
16719 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16720 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16721 if (!SWIG_IsOK(res1)) {
16722 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16723 }
16724 arg1 = reinterpret_cast< wxColourData * >(argp1);
16725 ecode2 = SWIG_AsVal_int(obj1, &val2);
16726 if (!SWIG_IsOK(ecode2)) {
16727 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16728 }
16729 arg2 = static_cast< int >(val2);
16730 {
16731 arg3 = &temp3;
16732 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
16733 }
16734 {
16735 PyThreadState* __tstate = wxPyBeginAllowThreads();
16736 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
16737 wxPyEndAllowThreads(__tstate);
16738 if (PyErr_Occurred()) SWIG_fail;
16739 }
16740 resultobj = SWIG_Py_Void();
16741 return resultobj;
16742 fail:
16743 return NULL;
16744 }
16745
16746
16747 SWIGINTERN PyObject *ColourData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16748 PyObject *obj;
16749 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16750 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData, SWIG_NewClientData(obj));
16751 return SWIG_Py_Void();
16752 }
16753
16754 SWIGINTERN PyObject *ColourData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16755 return SWIG_Python_InitShadowInstance(args);
16756 }
16757
16758 SWIGINTERN PyObject *_wrap_new_ColourDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16759 PyObject *resultobj = 0;
16760 wxWindow *arg1 = (wxWindow *) 0 ;
16761 wxColourData *arg2 = (wxColourData *) NULL ;
16762 wxColourDialog *result = 0 ;
16763 void *argp1 = 0 ;
16764 int res1 = 0 ;
16765 void *argp2 = 0 ;
16766 int res2 = 0 ;
16767 PyObject * obj0 = 0 ;
16768 PyObject * obj1 = 0 ;
16769 char * kwnames[] = {
16770 (char *) "parent",(char *) "data", NULL
16771 };
16772
16773 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) SWIG_fail;
16774 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16775 if (!SWIG_IsOK(res1)) {
16776 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16777 }
16778 arg1 = reinterpret_cast< wxWindow * >(argp1);
16779 if (obj1) {
16780 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxColourData, 0 | 0 );
16781 if (!SWIG_IsOK(res2)) {
16782 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16783 }
16784 arg2 = reinterpret_cast< wxColourData * >(argp2);
16785 }
16786 {
16787 if (!wxPyCheckForApp()) SWIG_fail;
16788 PyThreadState* __tstate = wxPyBeginAllowThreads();
16789 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
16790 wxPyEndAllowThreads(__tstate);
16791 if (PyErr_Occurred()) SWIG_fail;
16792 }
16793 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourDialog, SWIG_POINTER_NEW | 0 );
16794 return resultobj;
16795 fail:
16796 return NULL;
16797 }
16798
16799
16800 SWIGINTERN PyObject *_wrap_ColourDialog_GetColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16801 PyObject *resultobj = 0;
16802 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
16803 wxColourData *result = 0 ;
16804 void *argp1 = 0 ;
16805 int res1 = 0 ;
16806 PyObject *swig_obj[1] ;
16807
16808 if (!args) SWIG_fail;
16809 swig_obj[0] = args;
16810 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourDialog, 0 | 0 );
16811 if (!SWIG_IsOK(res1)) {
16812 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16813 }
16814 arg1 = reinterpret_cast< wxColourDialog * >(argp1);
16815 {
16816 PyThreadState* __tstate = wxPyBeginAllowThreads();
16817 {
16818 wxColourData &_result_ref = (arg1)->GetColourData();
16819 result = (wxColourData *) &_result_ref;
16820 }
16821 wxPyEndAllowThreads(__tstate);
16822 if (PyErr_Occurred()) SWIG_fail;
16823 }
16824 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, 0 | 0 );
16825 return resultobj;
16826 fail:
16827 return NULL;
16828 }
16829
16830
16831 SWIGINTERN PyObject *ColourDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16832 PyObject *obj;
16833 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16834 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog, SWIG_NewClientData(obj));
16835 return SWIG_Py_Void();
16836 }
16837
16838 SWIGINTERN PyObject *ColourDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16839 return SWIG_Python_InitShadowInstance(args);
16840 }
16841
16842 SWIGINTERN PyObject *_wrap_GetColourFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16843 PyObject *resultobj = 0;
16844 wxWindow *arg1 = (wxWindow *) (wxWindow *) NULL ;
16845 wxColour const &arg2_defvalue = wxNullColour ;
16846 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
16847 wxString const &arg3_defvalue = wxPyEmptyString ;
16848 wxString *arg3 = (wxString *) &arg3_defvalue ;
16849 wxColour result;
16850 void *argp1 = 0 ;
16851 int res1 = 0 ;
16852 wxColour temp2 ;
16853 bool temp3 = false ;
16854 PyObject * obj0 = 0 ;
16855 PyObject * obj1 = 0 ;
16856 PyObject * obj2 = 0 ;
16857 char * kwnames[] = {
16858 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16859 };
16860
16861 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetColourFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16862 if (obj0) {
16863 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16864 if (!SWIG_IsOK(res1)) {
16865 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
16866 }
16867 arg1 = reinterpret_cast< wxWindow * >(argp1);
16868 }
16869 if (obj1) {
16870 {
16871 arg2 = &temp2;
16872 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16873 }
16874 }
16875 if (obj2) {
16876 {
16877 arg3 = wxString_in_helper(obj2);
16878 if (arg3 == NULL) SWIG_fail;
16879 temp3 = true;
16880 }
16881 }
16882 {
16883 PyThreadState* __tstate = wxPyBeginAllowThreads();
16884 result = wxGetColourFromUser(arg1,(wxColour const &)*arg2,(wxString const &)*arg3);
16885 wxPyEndAllowThreads(__tstate);
16886 if (PyErr_Occurred()) SWIG_fail;
16887 }
16888 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16889 {
16890 if (temp3)
16891 delete arg3;
16892 }
16893 return resultobj;
16894 fail:
16895 {
16896 if (temp3)
16897 delete arg3;
16898 }
16899 return NULL;
16900 }
16901
16902
16903 SWIGINTERN PyObject *_wrap_new_DirDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16904 PyObject *resultobj = 0;
16905 wxWindow *arg1 = (wxWindow *) 0 ;
16906 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
16907 wxString *arg2 = (wxString *) &arg2_defvalue ;
16908 wxString const &arg3_defvalue = wxPyEmptyString ;
16909 wxString *arg3 = (wxString *) &arg3_defvalue ;
16910 long arg4 = (long) wxDD_DEFAULT_STYLE ;
16911 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16912 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16913 wxSize const &arg6_defvalue = wxDefaultSize ;
16914 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16915 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
16916 wxString *arg7 = (wxString *) &arg7_defvalue ;
16917 wxDirDialog *result = 0 ;
16918 void *argp1 = 0 ;
16919 int res1 = 0 ;
16920 bool temp2 = false ;
16921 bool temp3 = false ;
16922 long val4 ;
16923 int ecode4 = 0 ;
16924 wxPoint temp5 ;
16925 wxSize temp6 ;
16926 bool temp7 = false ;
16927 PyObject * obj0 = 0 ;
16928 PyObject * obj1 = 0 ;
16929 PyObject * obj2 = 0 ;
16930 PyObject * obj3 = 0 ;
16931 PyObject * obj4 = 0 ;
16932 PyObject * obj5 = 0 ;
16933 PyObject * obj6 = 0 ;
16934 char * kwnames[] = {
16935 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16936 };
16937
16938 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
16939 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16940 if (!SWIG_IsOK(res1)) {
16941 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16942 }
16943 arg1 = reinterpret_cast< wxWindow * >(argp1);
16944 if (obj1) {
16945 {
16946 arg2 = wxString_in_helper(obj1);
16947 if (arg2 == NULL) SWIG_fail;
16948 temp2 = true;
16949 }
16950 }
16951 if (obj2) {
16952 {
16953 arg3 = wxString_in_helper(obj2);
16954 if (arg3 == NULL) SWIG_fail;
16955 temp3 = true;
16956 }
16957 }
16958 if (obj3) {
16959 ecode4 = SWIG_AsVal_long(obj3, &val4);
16960 if (!SWIG_IsOK(ecode4)) {
16961 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16962 }
16963 arg4 = static_cast< long >(val4);
16964 }
16965 if (obj4) {
16966 {
16967 arg5 = &temp5;
16968 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
16969 }
16970 }
16971 if (obj5) {
16972 {
16973 arg6 = &temp6;
16974 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
16975 }
16976 }
16977 if (obj6) {
16978 {
16979 arg7 = wxString_in_helper(obj6);
16980 if (arg7 == NULL) SWIG_fail;
16981 temp7 = true;
16982 }
16983 }
16984 {
16985 if (!wxPyCheckForApp()) SWIG_fail;
16986 PyThreadState* __tstate = wxPyBeginAllowThreads();
16987 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
16988 wxPyEndAllowThreads(__tstate);
16989 if (PyErr_Occurred()) SWIG_fail;
16990 }
16991 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirDialog, SWIG_POINTER_NEW | 0 );
16992 {
16993 if (temp2)
16994 delete arg2;
16995 }
16996 {
16997 if (temp3)
16998 delete arg3;
16999 }
17000 {
17001 if (temp7)
17002 delete arg7;
17003 }
17004 return resultobj;
17005 fail:
17006 {
17007 if (temp2)
17008 delete arg2;
17009 }
17010 {
17011 if (temp3)
17012 delete arg3;
17013 }
17014 {
17015 if (temp7)
17016 delete arg7;
17017 }
17018 return NULL;
17019 }
17020
17021
17022 SWIGINTERN PyObject *_wrap_DirDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17023 PyObject *resultobj = 0;
17024 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17025 wxString result;
17026 void *argp1 = 0 ;
17027 int res1 = 0 ;
17028 PyObject *swig_obj[1] ;
17029
17030 if (!args) SWIG_fail;
17031 swig_obj[0] = args;
17032 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17033 if (!SWIG_IsOK(res1)) {
17034 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17035 }
17036 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17037 {
17038 PyThreadState* __tstate = wxPyBeginAllowThreads();
17039 result = (arg1)->GetPath();
17040 wxPyEndAllowThreads(__tstate);
17041 if (PyErr_Occurred()) SWIG_fail;
17042 }
17043 {
17044 #if wxUSE_UNICODE
17045 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17046 #else
17047 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17048 #endif
17049 }
17050 return resultobj;
17051 fail:
17052 return NULL;
17053 }
17054
17055
17056 SWIGINTERN PyObject *_wrap_DirDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17057 PyObject *resultobj = 0;
17058 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17059 wxString result;
17060 void *argp1 = 0 ;
17061 int res1 = 0 ;
17062 PyObject *swig_obj[1] ;
17063
17064 if (!args) SWIG_fail;
17065 swig_obj[0] = args;
17066 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17067 if (!SWIG_IsOK(res1)) {
17068 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17069 }
17070 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17071 {
17072 PyThreadState* __tstate = wxPyBeginAllowThreads();
17073 result = (arg1)->GetMessage();
17074 wxPyEndAllowThreads(__tstate);
17075 if (PyErr_Occurred()) SWIG_fail;
17076 }
17077 {
17078 #if wxUSE_UNICODE
17079 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17080 #else
17081 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17082 #endif
17083 }
17084 return resultobj;
17085 fail:
17086 return NULL;
17087 }
17088
17089
17090 SWIGINTERN PyObject *_wrap_DirDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17091 PyObject *resultobj = 0;
17092 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17093 wxString *arg2 = 0 ;
17094 void *argp1 = 0 ;
17095 int res1 = 0 ;
17096 bool temp2 = false ;
17097 PyObject * obj0 = 0 ;
17098 PyObject * obj1 = 0 ;
17099 char * kwnames[] = {
17100 (char *) "self",(char *) "message", NULL
17101 };
17102
17103 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
17104 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17105 if (!SWIG_IsOK(res1)) {
17106 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17107 }
17108 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17109 {
17110 arg2 = wxString_in_helper(obj1);
17111 if (arg2 == NULL) SWIG_fail;
17112 temp2 = true;
17113 }
17114 {
17115 PyThreadState* __tstate = wxPyBeginAllowThreads();
17116 (arg1)->SetMessage((wxString const &)*arg2);
17117 wxPyEndAllowThreads(__tstate);
17118 if (PyErr_Occurred()) SWIG_fail;
17119 }
17120 resultobj = SWIG_Py_Void();
17121 {
17122 if (temp2)
17123 delete arg2;
17124 }
17125 return resultobj;
17126 fail:
17127 {
17128 if (temp2)
17129 delete arg2;
17130 }
17131 return NULL;
17132 }
17133
17134
17135 SWIGINTERN PyObject *_wrap_DirDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17136 PyObject *resultobj = 0;
17137 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17138 wxString *arg2 = 0 ;
17139 void *argp1 = 0 ;
17140 int res1 = 0 ;
17141 bool temp2 = false ;
17142 PyObject * obj0 = 0 ;
17143 PyObject * obj1 = 0 ;
17144 char * kwnames[] = {
17145 (char *) "self",(char *) "path", NULL
17146 };
17147
17148 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
17149 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17150 if (!SWIG_IsOK(res1)) {
17151 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17152 }
17153 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17154 {
17155 arg2 = wxString_in_helper(obj1);
17156 if (arg2 == NULL) SWIG_fail;
17157 temp2 = true;
17158 }
17159 {
17160 PyThreadState* __tstate = wxPyBeginAllowThreads();
17161 (arg1)->SetPath((wxString const &)*arg2);
17162 wxPyEndAllowThreads(__tstate);
17163 if (PyErr_Occurred()) SWIG_fail;
17164 }
17165 resultobj = SWIG_Py_Void();
17166 {
17167 if (temp2)
17168 delete arg2;
17169 }
17170 return resultobj;
17171 fail:
17172 {
17173 if (temp2)
17174 delete arg2;
17175 }
17176 return NULL;
17177 }
17178
17179
17180 SWIGINTERN PyObject *DirDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17181 PyObject *obj;
17182 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17183 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog, SWIG_NewClientData(obj));
17184 return SWIG_Py_Void();
17185 }
17186
17187 SWIGINTERN PyObject *DirDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17188 return SWIG_Python_InitShadowInstance(args);
17189 }
17190
17191 SWIGINTERN PyObject *_wrap_new_FileDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17192 PyObject *resultobj = 0;
17193 wxWindow *arg1 = (wxWindow *) 0 ;
17194 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
17195 wxString *arg2 = (wxString *) &arg2_defvalue ;
17196 wxString const &arg3_defvalue = wxPyEmptyString ;
17197 wxString *arg3 = (wxString *) &arg3_defvalue ;
17198 wxString const &arg4_defvalue = wxPyEmptyString ;
17199 wxString *arg4 = (wxString *) &arg4_defvalue ;
17200 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
17201 wxString *arg5 = (wxString *) &arg5_defvalue ;
17202 long arg6 = (long) wxFD_DEFAULT_STYLE ;
17203 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17204 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17205 wxFileDialog *result = 0 ;
17206 void *argp1 = 0 ;
17207 int res1 = 0 ;
17208 bool temp2 = false ;
17209 bool temp3 = false ;
17210 bool temp4 = false ;
17211 bool temp5 = false ;
17212 long val6 ;
17213 int ecode6 = 0 ;
17214 wxPoint temp7 ;
17215 PyObject * obj0 = 0 ;
17216 PyObject * obj1 = 0 ;
17217 PyObject * obj2 = 0 ;
17218 PyObject * obj3 = 0 ;
17219 PyObject * obj4 = 0 ;
17220 PyObject * obj5 = 0 ;
17221 PyObject * obj6 = 0 ;
17222 char * kwnames[] = {
17223 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
17224 };
17225
17226 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
17227 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17228 if (!SWIG_IsOK(res1)) {
17229 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17230 }
17231 arg1 = reinterpret_cast< wxWindow * >(argp1);
17232 if (obj1) {
17233 {
17234 arg2 = wxString_in_helper(obj1);
17235 if (arg2 == NULL) SWIG_fail;
17236 temp2 = true;
17237 }
17238 }
17239 if (obj2) {
17240 {
17241 arg3 = wxString_in_helper(obj2);
17242 if (arg3 == NULL) SWIG_fail;
17243 temp3 = true;
17244 }
17245 }
17246 if (obj3) {
17247 {
17248 arg4 = wxString_in_helper(obj3);
17249 if (arg4 == NULL) SWIG_fail;
17250 temp4 = true;
17251 }
17252 }
17253 if (obj4) {
17254 {
17255 arg5 = wxString_in_helper(obj4);
17256 if (arg5 == NULL) SWIG_fail;
17257 temp5 = true;
17258 }
17259 }
17260 if (obj5) {
17261 ecode6 = SWIG_AsVal_long(obj5, &val6);
17262 if (!SWIG_IsOK(ecode6)) {
17263 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
17264 }
17265 arg6 = static_cast< long >(val6);
17266 }
17267 if (obj6) {
17268 {
17269 arg7 = &temp7;
17270 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
17271 }
17272 }
17273 {
17274 if (!wxPyCheckForApp()) SWIG_fail;
17275 PyThreadState* __tstate = wxPyBeginAllowThreads();
17276 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
17277 wxPyEndAllowThreads(__tstate);
17278 if (PyErr_Occurred()) SWIG_fail;
17279 }
17280 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileDialog, SWIG_POINTER_NEW | 0 );
17281 {
17282 if (temp2)
17283 delete arg2;
17284 }
17285 {
17286 if (temp3)
17287 delete arg3;
17288 }
17289 {
17290 if (temp4)
17291 delete arg4;
17292 }
17293 {
17294 if (temp5)
17295 delete arg5;
17296 }
17297 return resultobj;
17298 fail:
17299 {
17300 if (temp2)
17301 delete arg2;
17302 }
17303 {
17304 if (temp3)
17305 delete arg3;
17306 }
17307 {
17308 if (temp4)
17309 delete arg4;
17310 }
17311 {
17312 if (temp5)
17313 delete arg5;
17314 }
17315 return NULL;
17316 }
17317
17318
17319 SWIGINTERN PyObject *_wrap_FileDialog_SetMessage(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 *) "message", NULL
17330 };
17331
17332 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",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_SetMessage" "', 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)->SetMessage((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_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17365 PyObject *resultobj = 0;
17366 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17367 wxString *arg2 = 0 ;
17368 void *argp1 = 0 ;
17369 int res1 = 0 ;
17370 bool temp2 = false ;
17371 PyObject * obj0 = 0 ;
17372 PyObject * obj1 = 0 ;
17373 char * kwnames[] = {
17374 (char *) "self",(char *) "path", NULL
17375 };
17376
17377 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
17378 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17379 if (!SWIG_IsOK(res1)) {
17380 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17381 }
17382 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17383 {
17384 arg2 = wxString_in_helper(obj1);
17385 if (arg2 == NULL) SWIG_fail;
17386 temp2 = true;
17387 }
17388 {
17389 PyThreadState* __tstate = wxPyBeginAllowThreads();
17390 (arg1)->SetPath((wxString const &)*arg2);
17391 wxPyEndAllowThreads(__tstate);
17392 if (PyErr_Occurred()) SWIG_fail;
17393 }
17394 resultobj = SWIG_Py_Void();
17395 {
17396 if (temp2)
17397 delete arg2;
17398 }
17399 return resultobj;
17400 fail:
17401 {
17402 if (temp2)
17403 delete arg2;
17404 }
17405 return NULL;
17406 }
17407
17408
17409 SWIGINTERN PyObject *_wrap_FileDialog_SetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17410 PyObject *resultobj = 0;
17411 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17412 wxString *arg2 = 0 ;
17413 void *argp1 = 0 ;
17414 int res1 = 0 ;
17415 bool temp2 = false ;
17416 PyObject * obj0 = 0 ;
17417 PyObject * obj1 = 0 ;
17418 char * kwnames[] = {
17419 (char *) "self",(char *) "dir", NULL
17420 };
17421
17422 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) SWIG_fail;
17423 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17424 if (!SWIG_IsOK(res1)) {
17425 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17426 }
17427 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17428 {
17429 arg2 = wxString_in_helper(obj1);
17430 if (arg2 == NULL) SWIG_fail;
17431 temp2 = true;
17432 }
17433 {
17434 PyThreadState* __tstate = wxPyBeginAllowThreads();
17435 (arg1)->SetDirectory((wxString const &)*arg2);
17436 wxPyEndAllowThreads(__tstate);
17437 if (PyErr_Occurred()) SWIG_fail;
17438 }
17439 resultobj = SWIG_Py_Void();
17440 {
17441 if (temp2)
17442 delete arg2;
17443 }
17444 return resultobj;
17445 fail:
17446 {
17447 if (temp2)
17448 delete arg2;
17449 }
17450 return NULL;
17451 }
17452
17453
17454 SWIGINTERN PyObject *_wrap_FileDialog_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17455 PyObject *resultobj = 0;
17456 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17457 wxString *arg2 = 0 ;
17458 void *argp1 = 0 ;
17459 int res1 = 0 ;
17460 bool temp2 = false ;
17461 PyObject * obj0 = 0 ;
17462 PyObject * obj1 = 0 ;
17463 char * kwnames[] = {
17464 (char *) "self",(char *) "name", NULL
17465 };
17466
17467 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
17468 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17469 if (!SWIG_IsOK(res1)) {
17470 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17471 }
17472 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17473 {
17474 arg2 = wxString_in_helper(obj1);
17475 if (arg2 == NULL) SWIG_fail;
17476 temp2 = true;
17477 }
17478 {
17479 PyThreadState* __tstate = wxPyBeginAllowThreads();
17480 (arg1)->SetFilename((wxString const &)*arg2);
17481 wxPyEndAllowThreads(__tstate);
17482 if (PyErr_Occurred()) SWIG_fail;
17483 }
17484 resultobj = SWIG_Py_Void();
17485 {
17486 if (temp2)
17487 delete arg2;
17488 }
17489 return resultobj;
17490 fail:
17491 {
17492 if (temp2)
17493 delete arg2;
17494 }
17495 return NULL;
17496 }
17497
17498
17499 SWIGINTERN PyObject *_wrap_FileDialog_SetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17500 PyObject *resultobj = 0;
17501 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17502 wxString *arg2 = 0 ;
17503 void *argp1 = 0 ;
17504 int res1 = 0 ;
17505 bool temp2 = false ;
17506 PyObject * obj0 = 0 ;
17507 PyObject * obj1 = 0 ;
17508 char * kwnames[] = {
17509 (char *) "self",(char *) "wildCard", NULL
17510 };
17511
17512 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) SWIG_fail;
17513 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17514 if (!SWIG_IsOK(res1)) {
17515 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17516 }
17517 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17518 {
17519 arg2 = wxString_in_helper(obj1);
17520 if (arg2 == NULL) SWIG_fail;
17521 temp2 = true;
17522 }
17523 {
17524 PyThreadState* __tstate = wxPyBeginAllowThreads();
17525 (arg1)->SetWildcard((wxString const &)*arg2);
17526 wxPyEndAllowThreads(__tstate);
17527 if (PyErr_Occurred()) SWIG_fail;
17528 }
17529 resultobj = SWIG_Py_Void();
17530 {
17531 if (temp2)
17532 delete arg2;
17533 }
17534 return resultobj;
17535 fail:
17536 {
17537 if (temp2)
17538 delete arg2;
17539 }
17540 return NULL;
17541 }
17542
17543
17544 SWIGINTERN PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17545 PyObject *resultobj = 0;
17546 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17547 int arg2 ;
17548 void *argp1 = 0 ;
17549 int res1 = 0 ;
17550 int val2 ;
17551 int ecode2 = 0 ;
17552 PyObject * obj0 = 0 ;
17553 PyObject * obj1 = 0 ;
17554 char * kwnames[] = {
17555 (char *) "self",(char *) "filterIndex", NULL
17556 };
17557
17558 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) SWIG_fail;
17559 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17560 if (!SWIG_IsOK(res1)) {
17561 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17562 }
17563 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17564 ecode2 = SWIG_AsVal_int(obj1, &val2);
17565 if (!SWIG_IsOK(ecode2)) {
17566 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17567 }
17568 arg2 = static_cast< int >(val2);
17569 {
17570 PyThreadState* __tstate = wxPyBeginAllowThreads();
17571 (arg1)->SetFilterIndex(arg2);
17572 wxPyEndAllowThreads(__tstate);
17573 if (PyErr_Occurred()) SWIG_fail;
17574 }
17575 resultobj = SWIG_Py_Void();
17576 return resultobj;
17577 fail:
17578 return NULL;
17579 }
17580
17581
17582 SWIGINTERN PyObject *_wrap_FileDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17583 PyObject *resultobj = 0;
17584 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17585 wxString result;
17586 void *argp1 = 0 ;
17587 int res1 = 0 ;
17588 PyObject *swig_obj[1] ;
17589
17590 if (!args) SWIG_fail;
17591 swig_obj[0] = args;
17592 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17593 if (!SWIG_IsOK(res1)) {
17594 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17595 }
17596 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17597 {
17598 PyThreadState* __tstate = wxPyBeginAllowThreads();
17599 result = ((wxFileDialog const *)arg1)->GetMessage();
17600 wxPyEndAllowThreads(__tstate);
17601 if (PyErr_Occurred()) SWIG_fail;
17602 }
17603 {
17604 #if wxUSE_UNICODE
17605 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17606 #else
17607 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17608 #endif
17609 }
17610 return resultobj;
17611 fail:
17612 return NULL;
17613 }
17614
17615
17616 SWIGINTERN PyObject *_wrap_FileDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17617 PyObject *resultobj = 0;
17618 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17619 wxString result;
17620 void *argp1 = 0 ;
17621 int res1 = 0 ;
17622 PyObject *swig_obj[1] ;
17623
17624 if (!args) SWIG_fail;
17625 swig_obj[0] = args;
17626 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17627 if (!SWIG_IsOK(res1)) {
17628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17629 }
17630 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17631 {
17632 PyThreadState* __tstate = wxPyBeginAllowThreads();
17633 result = ((wxFileDialog const *)arg1)->GetPath();
17634 wxPyEndAllowThreads(__tstate);
17635 if (PyErr_Occurred()) SWIG_fail;
17636 }
17637 {
17638 #if wxUSE_UNICODE
17639 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17640 #else
17641 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17642 #endif
17643 }
17644 return resultobj;
17645 fail:
17646 return NULL;
17647 }
17648
17649
17650 SWIGINTERN PyObject *_wrap_FileDialog_GetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17651 PyObject *resultobj = 0;
17652 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17653 wxString result;
17654 void *argp1 = 0 ;
17655 int res1 = 0 ;
17656 PyObject *swig_obj[1] ;
17657
17658 if (!args) SWIG_fail;
17659 swig_obj[0] = args;
17660 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17661 if (!SWIG_IsOK(res1)) {
17662 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17663 }
17664 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17665 {
17666 PyThreadState* __tstate = wxPyBeginAllowThreads();
17667 result = ((wxFileDialog const *)arg1)->GetDirectory();
17668 wxPyEndAllowThreads(__tstate);
17669 if (PyErr_Occurred()) SWIG_fail;
17670 }
17671 {
17672 #if wxUSE_UNICODE
17673 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17674 #else
17675 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17676 #endif
17677 }
17678 return resultobj;
17679 fail:
17680 return NULL;
17681 }
17682
17683
17684 SWIGINTERN PyObject *_wrap_FileDialog_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17685 PyObject *resultobj = 0;
17686 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17687 wxString result;
17688 void *argp1 = 0 ;
17689 int res1 = 0 ;
17690 PyObject *swig_obj[1] ;
17691
17692 if (!args) SWIG_fail;
17693 swig_obj[0] = args;
17694 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17695 if (!SWIG_IsOK(res1)) {
17696 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17697 }
17698 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17699 {
17700 PyThreadState* __tstate = wxPyBeginAllowThreads();
17701 result = ((wxFileDialog const *)arg1)->GetFilename();
17702 wxPyEndAllowThreads(__tstate);
17703 if (PyErr_Occurred()) SWIG_fail;
17704 }
17705 {
17706 #if wxUSE_UNICODE
17707 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17708 #else
17709 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17710 #endif
17711 }
17712 return resultobj;
17713 fail:
17714 return NULL;
17715 }
17716
17717
17718 SWIGINTERN PyObject *_wrap_FileDialog_GetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17719 PyObject *resultobj = 0;
17720 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17721 wxString result;
17722 void *argp1 = 0 ;
17723 int res1 = 0 ;
17724 PyObject *swig_obj[1] ;
17725
17726 if (!args) SWIG_fail;
17727 swig_obj[0] = args;
17728 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17729 if (!SWIG_IsOK(res1)) {
17730 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17731 }
17732 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17733 {
17734 PyThreadState* __tstate = wxPyBeginAllowThreads();
17735 result = ((wxFileDialog const *)arg1)->GetWildcard();
17736 wxPyEndAllowThreads(__tstate);
17737 if (PyErr_Occurred()) SWIG_fail;
17738 }
17739 {
17740 #if wxUSE_UNICODE
17741 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17742 #else
17743 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17744 #endif
17745 }
17746 return resultobj;
17747 fail:
17748 return NULL;
17749 }
17750
17751
17752 SWIGINTERN PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17753 PyObject *resultobj = 0;
17754 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17755 int result;
17756 void *argp1 = 0 ;
17757 int res1 = 0 ;
17758 PyObject *swig_obj[1] ;
17759
17760 if (!args) SWIG_fail;
17761 swig_obj[0] = args;
17762 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17763 if (!SWIG_IsOK(res1)) {
17764 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17765 }
17766 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17767 {
17768 PyThreadState* __tstate = wxPyBeginAllowThreads();
17769 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
17770 wxPyEndAllowThreads(__tstate);
17771 if (PyErr_Occurred()) SWIG_fail;
17772 }
17773 resultobj = SWIG_From_int(static_cast< int >(result));
17774 return resultobj;
17775 fail:
17776 return NULL;
17777 }
17778
17779
17780 SWIGINTERN PyObject *_wrap_FileDialog_GetFilenames(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17781 PyObject *resultobj = 0;
17782 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17783 PyObject *result = 0 ;
17784 void *argp1 = 0 ;
17785 int res1 = 0 ;
17786 PyObject *swig_obj[1] ;
17787
17788 if (!args) SWIG_fail;
17789 swig_obj[0] = args;
17790 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17791 if (!SWIG_IsOK(res1)) {
17792 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17793 }
17794 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17795 {
17796 PyThreadState* __tstate = wxPyBeginAllowThreads();
17797 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
17798 wxPyEndAllowThreads(__tstate);
17799 if (PyErr_Occurred()) SWIG_fail;
17800 }
17801 resultobj = result;
17802 return resultobj;
17803 fail:
17804 return NULL;
17805 }
17806
17807
17808 SWIGINTERN PyObject *_wrap_FileDialog_GetPaths(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17809 PyObject *resultobj = 0;
17810 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17811 PyObject *result = 0 ;
17812 void *argp1 = 0 ;
17813 int res1 = 0 ;
17814 PyObject *swig_obj[1] ;
17815
17816 if (!args) SWIG_fail;
17817 swig_obj[0] = args;
17818 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17819 if (!SWIG_IsOK(res1)) {
17820 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17821 }
17822 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17823 {
17824 PyThreadState* __tstate = wxPyBeginAllowThreads();
17825 result = (PyObject *)wxFileDialog_GetPaths(arg1);
17826 wxPyEndAllowThreads(__tstate);
17827 if (PyErr_Occurred()) SWIG_fail;
17828 }
17829 resultobj = result;
17830 return resultobj;
17831 fail:
17832 return NULL;
17833 }
17834
17835
17836 SWIGINTERN PyObject *FileDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17837 PyObject *obj;
17838 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17839 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog, SWIG_NewClientData(obj));
17840 return SWIG_Py_Void();
17841 }
17842
17843 SWIGINTERN PyObject *FileDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17844 return SWIG_Python_InitShadowInstance(args);
17845 }
17846
17847 SWIGINTERN PyObject *_wrap_new_MultiChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17848 PyObject *resultobj = 0;
17849 wxWindow *arg1 = (wxWindow *) 0 ;
17850 wxString *arg2 = 0 ;
17851 wxString *arg3 = 0 ;
17852 int arg4 = (int) 0 ;
17853 wxString *arg5 = (wxString *) NULL ;
17854 long arg6 = (long) wxCHOICEDLG_STYLE ;
17855 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17856 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17857 wxMultiChoiceDialog *result = 0 ;
17858 void *argp1 = 0 ;
17859 int res1 = 0 ;
17860 bool temp2 = false ;
17861 bool temp3 = false ;
17862 long val6 ;
17863 int ecode6 = 0 ;
17864 wxPoint temp7 ;
17865 PyObject * obj0 = 0 ;
17866 PyObject * obj1 = 0 ;
17867 PyObject * obj2 = 0 ;
17868 PyObject * obj3 = 0 ;
17869 PyObject * obj4 = 0 ;
17870 PyObject * obj5 = 0 ;
17871 char * kwnames[] = {
17872 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17873 };
17874
17875 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17876 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17877 if (!SWIG_IsOK(res1)) {
17878 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17879 }
17880 arg1 = reinterpret_cast< wxWindow * >(argp1);
17881 {
17882 arg2 = wxString_in_helper(obj1);
17883 if (arg2 == NULL) SWIG_fail;
17884 temp2 = true;
17885 }
17886 {
17887 arg3 = wxString_in_helper(obj2);
17888 if (arg3 == NULL) SWIG_fail;
17889 temp3 = true;
17890 }
17891 if (obj3) {
17892 {
17893 arg4 = PyList_Size(obj3);
17894 arg5 = wxString_LIST_helper(obj3);
17895 if (arg5 == NULL) SWIG_fail;
17896 }
17897 }
17898 if (obj4) {
17899 ecode6 = SWIG_AsVal_long(obj4, &val6);
17900 if (!SWIG_IsOK(ecode6)) {
17901 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17902 }
17903 arg6 = static_cast< long >(val6);
17904 }
17905 if (obj5) {
17906 {
17907 arg7 = &temp7;
17908 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
17909 }
17910 }
17911 {
17912 if (!wxPyCheckForApp()) SWIG_fail;
17913 PyThreadState* __tstate = wxPyBeginAllowThreads();
17914 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
17915 wxPyEndAllowThreads(__tstate);
17916 if (PyErr_Occurred()) SWIG_fail;
17917 }
17918 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_NEW | 0 );
17919 {
17920 if (temp2)
17921 delete arg2;
17922 }
17923 {
17924 if (temp3)
17925 delete arg3;
17926 }
17927 {
17928 if (arg5) delete [] arg5;
17929 }
17930 return resultobj;
17931 fail:
17932 {
17933 if (temp2)
17934 delete arg2;
17935 }
17936 {
17937 if (temp3)
17938 delete arg3;
17939 }
17940 {
17941 if (arg5) delete [] arg5;
17942 }
17943 return NULL;
17944 }
17945
17946
17947 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17948 PyObject *resultobj = 0;
17949 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
17950 wxArrayInt *arg2 = 0 ;
17951 void *argp1 = 0 ;
17952 int res1 = 0 ;
17953 bool temp2 = false ;
17954 PyObject * obj0 = 0 ;
17955 PyObject * obj1 = 0 ;
17956 char * kwnames[] = {
17957 (char *) "self",(char *) "selections", NULL
17958 };
17959
17960 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) SWIG_fail;
17961 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
17962 if (!SWIG_IsOK(res1)) {
17963 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17964 }
17965 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
17966 {
17967 if (! PySequence_Check(obj1)) {
17968 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
17969 SWIG_fail;
17970 }
17971 arg2 = new wxArrayInt;
17972 temp2 = true;
17973 int i, len=PySequence_Length(obj1);
17974 for (i=0; i<len; i++) {
17975 PyObject* item = PySequence_GetItem(obj1, i);
17976 PyObject* number = PyNumber_Int(item);
17977 arg2->Add(PyInt_AS_LONG(number));
17978 Py_DECREF(item);
17979 Py_DECREF(number);
17980 }
17981 }
17982 {
17983 PyThreadState* __tstate = wxPyBeginAllowThreads();
17984 (arg1)->SetSelections((wxArrayInt const &)*arg2);
17985 wxPyEndAllowThreads(__tstate);
17986 if (PyErr_Occurred()) SWIG_fail;
17987 }
17988 resultobj = SWIG_Py_Void();
17989 {
17990 if (temp2) delete arg2;
17991 }
17992 return resultobj;
17993 fail:
17994 {
17995 if (temp2) delete arg2;
17996 }
17997 return NULL;
17998 }
17999
18000
18001 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18002 PyObject *resultobj = 0;
18003 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
18004 PyObject *result = 0 ;
18005 void *argp1 = 0 ;
18006 int res1 = 0 ;
18007 PyObject *swig_obj[1] ;
18008
18009 if (!args) SWIG_fail;
18010 swig_obj[0] = args;
18011 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
18012 if (!SWIG_IsOK(res1)) {
18013 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
18014 }
18015 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
18016 {
18017 PyThreadState* __tstate = wxPyBeginAllowThreads();
18018 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
18019 wxPyEndAllowThreads(__tstate);
18020 if (PyErr_Occurred()) SWIG_fail;
18021 }
18022 resultobj = result;
18023 return resultobj;
18024 fail:
18025 return NULL;
18026 }
18027
18028
18029 SWIGINTERN PyObject *MultiChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18030 PyObject *obj;
18031 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18032 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog, SWIG_NewClientData(obj));
18033 return SWIG_Py_Void();
18034 }
18035
18036 SWIGINTERN PyObject *MultiChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18037 return SWIG_Python_InitShadowInstance(args);
18038 }
18039
18040 SWIGINTERN PyObject *_wrap_new_SingleChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18041 PyObject *resultobj = 0;
18042 wxWindow *arg1 = (wxWindow *) 0 ;
18043 wxString *arg2 = 0 ;
18044 wxString *arg3 = 0 ;
18045 int arg4 ;
18046 wxString *arg5 = (wxString *) 0 ;
18047 long arg6 = (long) wxCHOICEDLG_STYLE ;
18048 wxPoint const &arg7_defvalue = wxDefaultPosition ;
18049 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
18050 wxSingleChoiceDialog *result = 0 ;
18051 void *argp1 = 0 ;
18052 int res1 = 0 ;
18053 bool temp2 = false ;
18054 bool temp3 = false ;
18055 long val6 ;
18056 int ecode6 = 0 ;
18057 wxPoint temp7 ;
18058 PyObject * obj0 = 0 ;
18059 PyObject * obj1 = 0 ;
18060 PyObject * obj2 = 0 ;
18061 PyObject * obj3 = 0 ;
18062 PyObject * obj4 = 0 ;
18063 PyObject * obj5 = 0 ;
18064 char * kwnames[] = {
18065 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
18066 };
18067
18068 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18069 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18070 if (!SWIG_IsOK(res1)) {
18071 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18072 }
18073 arg1 = reinterpret_cast< wxWindow * >(argp1);
18074 {
18075 arg2 = wxString_in_helper(obj1);
18076 if (arg2 == NULL) SWIG_fail;
18077 temp2 = true;
18078 }
18079 {
18080 arg3 = wxString_in_helper(obj2);
18081 if (arg3 == NULL) SWIG_fail;
18082 temp3 = true;
18083 }
18084 {
18085 arg4 = PyList_Size(obj3);
18086 arg5 = wxString_LIST_helper(obj3);
18087 if (arg5 == NULL) SWIG_fail;
18088 }
18089 if (obj4) {
18090 ecode6 = SWIG_AsVal_long(obj4, &val6);
18091 if (!SWIG_IsOK(ecode6)) {
18092 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
18093 }
18094 arg6 = static_cast< long >(val6);
18095 }
18096 if (obj5) {
18097 {
18098 arg7 = &temp7;
18099 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
18100 }
18101 }
18102 {
18103 if (!wxPyCheckForApp()) SWIG_fail;
18104 PyThreadState* __tstate = wxPyBeginAllowThreads();
18105 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
18106 wxPyEndAllowThreads(__tstate);
18107 if (PyErr_Occurred()) SWIG_fail;
18108 }
18109 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_NEW | 0 );
18110 {
18111 if (temp2)
18112 delete arg2;
18113 }
18114 {
18115 if (temp3)
18116 delete arg3;
18117 }
18118 {
18119 if (arg5) delete [] arg5;
18120 }
18121 return resultobj;
18122 fail:
18123 {
18124 if (temp2)
18125 delete arg2;
18126 }
18127 {
18128 if (temp3)
18129 delete arg3;
18130 }
18131 {
18132 if (arg5) delete [] arg5;
18133 }
18134 return NULL;
18135 }
18136
18137
18138 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18139 PyObject *resultobj = 0;
18140 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18141 int result;
18142 void *argp1 = 0 ;
18143 int res1 = 0 ;
18144 PyObject *swig_obj[1] ;
18145
18146 if (!args) SWIG_fail;
18147 swig_obj[0] = args;
18148 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18149 if (!SWIG_IsOK(res1)) {
18150 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18151 }
18152 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18153 {
18154 PyThreadState* __tstate = wxPyBeginAllowThreads();
18155 result = (int)(arg1)->GetSelection();
18156 wxPyEndAllowThreads(__tstate);
18157 if (PyErr_Occurred()) SWIG_fail;
18158 }
18159 resultobj = SWIG_From_int(static_cast< int >(result));
18160 return resultobj;
18161 fail:
18162 return NULL;
18163 }
18164
18165
18166 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18167 PyObject *resultobj = 0;
18168 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18169 wxString result;
18170 void *argp1 = 0 ;
18171 int res1 = 0 ;
18172 PyObject *swig_obj[1] ;
18173
18174 if (!args) SWIG_fail;
18175 swig_obj[0] = args;
18176 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18177 if (!SWIG_IsOK(res1)) {
18178 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18179 }
18180 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18181 {
18182 PyThreadState* __tstate = wxPyBeginAllowThreads();
18183 result = (arg1)->GetStringSelection();
18184 wxPyEndAllowThreads(__tstate);
18185 if (PyErr_Occurred()) SWIG_fail;
18186 }
18187 {
18188 #if wxUSE_UNICODE
18189 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18190 #else
18191 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18192 #endif
18193 }
18194 return resultobj;
18195 fail:
18196 return NULL;
18197 }
18198
18199
18200 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18201 PyObject *resultobj = 0;
18202 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18203 int arg2 ;
18204 void *argp1 = 0 ;
18205 int res1 = 0 ;
18206 int val2 ;
18207 int ecode2 = 0 ;
18208 PyObject * obj0 = 0 ;
18209 PyObject * obj1 = 0 ;
18210 char * kwnames[] = {
18211 (char *) "self",(char *) "sel", NULL
18212 };
18213
18214 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
18215 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18216 if (!SWIG_IsOK(res1)) {
18217 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18218 }
18219 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18220 ecode2 = SWIG_AsVal_int(obj1, &val2);
18221 if (!SWIG_IsOK(ecode2)) {
18222 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
18223 }
18224 arg2 = static_cast< int >(val2);
18225 {
18226 PyThreadState* __tstate = wxPyBeginAllowThreads();
18227 (arg1)->SetSelection(arg2);
18228 wxPyEndAllowThreads(__tstate);
18229 if (PyErr_Occurred()) SWIG_fail;
18230 }
18231 resultobj = SWIG_Py_Void();
18232 return resultobj;
18233 fail:
18234 return NULL;
18235 }
18236
18237
18238 SWIGINTERN PyObject *SingleChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18239 PyObject *obj;
18240 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18241 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog, SWIG_NewClientData(obj));
18242 return SWIG_Py_Void();
18243 }
18244
18245 SWIGINTERN PyObject *SingleChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18246 return SWIG_Python_InitShadowInstance(args);
18247 }
18248
18249 SWIGINTERN PyObject *_wrap_new_TextEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18250 PyObject *resultobj = 0;
18251 wxWindow *arg1 = (wxWindow *) 0 ;
18252 wxString *arg2 = 0 ;
18253 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
18254 wxString *arg3 = (wxString *) &arg3_defvalue ;
18255 wxString const &arg4_defvalue = wxPyEmptyString ;
18256 wxString *arg4 = (wxString *) &arg4_defvalue ;
18257 long arg5 = (long) wxTextEntryDialogStyle ;
18258 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18259 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18260 wxTextEntryDialog *result = 0 ;
18261 void *argp1 = 0 ;
18262 int res1 = 0 ;
18263 bool temp2 = false ;
18264 bool temp3 = false ;
18265 bool temp4 = false ;
18266 long val5 ;
18267 int ecode5 = 0 ;
18268 wxPoint temp6 ;
18269 PyObject * obj0 = 0 ;
18270 PyObject * obj1 = 0 ;
18271 PyObject * obj2 = 0 ;
18272 PyObject * obj3 = 0 ;
18273 PyObject * obj4 = 0 ;
18274 PyObject * obj5 = 0 ;
18275 char * kwnames[] = {
18276 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18277 };
18278
18279 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18280 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18281 if (!SWIG_IsOK(res1)) {
18282 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18283 }
18284 arg1 = reinterpret_cast< wxWindow * >(argp1);
18285 {
18286 arg2 = wxString_in_helper(obj1);
18287 if (arg2 == NULL) SWIG_fail;
18288 temp2 = true;
18289 }
18290 if (obj2) {
18291 {
18292 arg3 = wxString_in_helper(obj2);
18293 if (arg3 == NULL) SWIG_fail;
18294 temp3 = true;
18295 }
18296 }
18297 if (obj3) {
18298 {
18299 arg4 = wxString_in_helper(obj3);
18300 if (arg4 == NULL) SWIG_fail;
18301 temp4 = true;
18302 }
18303 }
18304 if (obj4) {
18305 ecode5 = SWIG_AsVal_long(obj4, &val5);
18306 if (!SWIG_IsOK(ecode5)) {
18307 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18308 }
18309 arg5 = static_cast< long >(val5);
18310 }
18311 if (obj5) {
18312 {
18313 arg6 = &temp6;
18314 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18315 }
18316 }
18317 {
18318 if (!wxPyCheckForApp()) SWIG_fail;
18319 PyThreadState* __tstate = wxPyBeginAllowThreads();
18320 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18321 wxPyEndAllowThreads(__tstate);
18322 if (PyErr_Occurred()) SWIG_fail;
18323 }
18324 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_NEW | 0 );
18325 {
18326 if (temp2)
18327 delete arg2;
18328 }
18329 {
18330 if (temp3)
18331 delete arg3;
18332 }
18333 {
18334 if (temp4)
18335 delete arg4;
18336 }
18337 return resultobj;
18338 fail:
18339 {
18340 if (temp2)
18341 delete arg2;
18342 }
18343 {
18344 if (temp3)
18345 delete arg3;
18346 }
18347 {
18348 if (temp4)
18349 delete arg4;
18350 }
18351 return NULL;
18352 }
18353
18354
18355 SWIGINTERN PyObject *_wrap_TextEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18356 PyObject *resultobj = 0;
18357 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18358 wxString result;
18359 void *argp1 = 0 ;
18360 int res1 = 0 ;
18361 PyObject *swig_obj[1] ;
18362
18363 if (!args) SWIG_fail;
18364 swig_obj[0] = args;
18365 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18366 if (!SWIG_IsOK(res1)) {
18367 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18368 }
18369 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18370 {
18371 PyThreadState* __tstate = wxPyBeginAllowThreads();
18372 result = (arg1)->GetValue();
18373 wxPyEndAllowThreads(__tstate);
18374 if (PyErr_Occurred()) SWIG_fail;
18375 }
18376 {
18377 #if wxUSE_UNICODE
18378 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18379 #else
18380 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18381 #endif
18382 }
18383 return resultobj;
18384 fail:
18385 return NULL;
18386 }
18387
18388
18389 SWIGINTERN PyObject *_wrap_TextEntryDialog_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18390 PyObject *resultobj = 0;
18391 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18392 wxString *arg2 = 0 ;
18393 void *argp1 = 0 ;
18394 int res1 = 0 ;
18395 bool temp2 = false ;
18396 PyObject * obj0 = 0 ;
18397 PyObject * obj1 = 0 ;
18398 char * kwnames[] = {
18399 (char *) "self",(char *) "value", NULL
18400 };
18401
18402 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
18403 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18404 if (!SWIG_IsOK(res1)) {
18405 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18406 }
18407 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18408 {
18409 arg2 = wxString_in_helper(obj1);
18410 if (arg2 == NULL) SWIG_fail;
18411 temp2 = true;
18412 }
18413 {
18414 PyThreadState* __tstate = wxPyBeginAllowThreads();
18415 (arg1)->SetValue((wxString const &)*arg2);
18416 wxPyEndAllowThreads(__tstate);
18417 if (PyErr_Occurred()) SWIG_fail;
18418 }
18419 resultobj = SWIG_Py_Void();
18420 {
18421 if (temp2)
18422 delete arg2;
18423 }
18424 return resultobj;
18425 fail:
18426 {
18427 if (temp2)
18428 delete arg2;
18429 }
18430 return NULL;
18431 }
18432
18433
18434 SWIGINTERN PyObject *TextEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18435 PyObject *obj;
18436 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18437 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog, SWIG_NewClientData(obj));
18438 return SWIG_Py_Void();
18439 }
18440
18441 SWIGINTERN PyObject *TextEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18442 return SWIG_Python_InitShadowInstance(args);
18443 }
18444
18445 SWIGINTERN int GetPasswordFromUserPromptStr_set(PyObject *) {
18446 SWIG_Error(SWIG_AttributeError,"Variable GetPasswordFromUserPromptStr is read-only.");
18447 return 1;
18448 }
18449
18450
18451 SWIGINTERN PyObject *GetPasswordFromUserPromptStr_get(void) {
18452 PyObject *pyobj = 0;
18453
18454 {
18455 #if wxUSE_UNICODE
18456 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18457 #else
18458 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18459 #endif
18460 }
18461 return pyobj;
18462 }
18463
18464
18465 SWIGINTERN PyObject *_wrap_new_PasswordEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18466 PyObject *resultobj = 0;
18467 wxWindow *arg1 = (wxWindow *) 0 ;
18468 wxString *arg2 = 0 ;
18469 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
18470 wxString *arg3 = (wxString *) &arg3_defvalue ;
18471 wxString const &arg4_defvalue = wxPyEmptyString ;
18472 wxString *arg4 = (wxString *) &arg4_defvalue ;
18473 long arg5 = (long) wxTextEntryDialogStyle ;
18474 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18475 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18476 wxPasswordEntryDialog *result = 0 ;
18477 void *argp1 = 0 ;
18478 int res1 = 0 ;
18479 bool temp2 = false ;
18480 bool temp3 = false ;
18481 bool temp4 = false ;
18482 long val5 ;
18483 int ecode5 = 0 ;
18484 wxPoint temp6 ;
18485 PyObject * obj0 = 0 ;
18486 PyObject * obj1 = 0 ;
18487 PyObject * obj2 = 0 ;
18488 PyObject * obj3 = 0 ;
18489 PyObject * obj4 = 0 ;
18490 PyObject * obj5 = 0 ;
18491 char * kwnames[] = {
18492 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18493 };
18494
18495 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18496 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18497 if (!SWIG_IsOK(res1)) {
18498 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18499 }
18500 arg1 = reinterpret_cast< wxWindow * >(argp1);
18501 {
18502 arg2 = wxString_in_helper(obj1);
18503 if (arg2 == NULL) SWIG_fail;
18504 temp2 = true;
18505 }
18506 if (obj2) {
18507 {
18508 arg3 = wxString_in_helper(obj2);
18509 if (arg3 == NULL) SWIG_fail;
18510 temp3 = true;
18511 }
18512 }
18513 if (obj3) {
18514 {
18515 arg4 = wxString_in_helper(obj3);
18516 if (arg4 == NULL) SWIG_fail;
18517 temp4 = true;
18518 }
18519 }
18520 if (obj4) {
18521 ecode5 = SWIG_AsVal_long(obj4, &val5);
18522 if (!SWIG_IsOK(ecode5)) {
18523 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18524 }
18525 arg5 = static_cast< long >(val5);
18526 }
18527 if (obj5) {
18528 {
18529 arg6 = &temp6;
18530 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18531 }
18532 }
18533 {
18534 PyThreadState* __tstate = wxPyBeginAllowThreads();
18535 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18536 wxPyEndAllowThreads(__tstate);
18537 if (PyErr_Occurred()) SWIG_fail;
18538 }
18539 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPasswordEntryDialog, SWIG_POINTER_NEW | 0 );
18540 {
18541 if (temp2)
18542 delete arg2;
18543 }
18544 {
18545 if (temp3)
18546 delete arg3;
18547 }
18548 {
18549 if (temp4)
18550 delete arg4;
18551 }
18552 return resultobj;
18553 fail:
18554 {
18555 if (temp2)
18556 delete arg2;
18557 }
18558 {
18559 if (temp3)
18560 delete arg3;
18561 }
18562 {
18563 if (temp4)
18564 delete arg4;
18565 }
18566 return NULL;
18567 }
18568
18569
18570 SWIGINTERN PyObject *PasswordEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18571 PyObject *obj;
18572 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18573 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog, SWIG_NewClientData(obj));
18574 return SWIG_Py_Void();
18575 }
18576
18577 SWIGINTERN PyObject *PasswordEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18578 return SWIG_Python_InitShadowInstance(args);
18579 }
18580
18581 SWIGINTERN PyObject *_wrap_new_NumberEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18582 PyObject *resultobj = 0;
18583 wxWindow *arg1 = (wxWindow *) 0 ;
18584 wxString *arg2 = 0 ;
18585 wxString *arg3 = 0 ;
18586 wxString *arg4 = 0 ;
18587 long arg5 ;
18588 long arg6 ;
18589 long arg7 ;
18590 wxPoint const &arg8_defvalue = wxDefaultPosition ;
18591 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
18592 wxNumberEntryDialog *result = 0 ;
18593 void *argp1 = 0 ;
18594 int res1 = 0 ;
18595 bool temp2 = false ;
18596 bool temp3 = false ;
18597 bool temp4 = false ;
18598 long val5 ;
18599 int ecode5 = 0 ;
18600 long val6 ;
18601 int ecode6 = 0 ;
18602 long val7 ;
18603 int ecode7 = 0 ;
18604 wxPoint temp8 ;
18605 PyObject * obj0 = 0 ;
18606 PyObject * obj1 = 0 ;
18607 PyObject * obj2 = 0 ;
18608 PyObject * obj3 = 0 ;
18609 PyObject * obj4 = 0 ;
18610 PyObject * obj5 = 0 ;
18611 PyObject * obj6 = 0 ;
18612 PyObject * obj7 = 0 ;
18613 char * kwnames[] = {
18614 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
18615 };
18616
18617 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
18618 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18619 if (!SWIG_IsOK(res1)) {
18620 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18621 }
18622 arg1 = reinterpret_cast< wxWindow * >(argp1);
18623 {
18624 arg2 = wxString_in_helper(obj1);
18625 if (arg2 == NULL) SWIG_fail;
18626 temp2 = true;
18627 }
18628 {
18629 arg3 = wxString_in_helper(obj2);
18630 if (arg3 == NULL) SWIG_fail;
18631 temp3 = true;
18632 }
18633 {
18634 arg4 = wxString_in_helper(obj3);
18635 if (arg4 == NULL) SWIG_fail;
18636 temp4 = true;
18637 }
18638 ecode5 = SWIG_AsVal_long(obj4, &val5);
18639 if (!SWIG_IsOK(ecode5)) {
18640 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
18641 }
18642 arg5 = static_cast< long >(val5);
18643 ecode6 = SWIG_AsVal_long(obj5, &val6);
18644 if (!SWIG_IsOK(ecode6)) {
18645 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
18646 }
18647 arg6 = static_cast< long >(val6);
18648 ecode7 = SWIG_AsVal_long(obj6, &val7);
18649 if (!SWIG_IsOK(ecode7)) {
18650 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
18651 }
18652 arg7 = static_cast< long >(val7);
18653 if (obj7) {
18654 {
18655 arg8 = &temp8;
18656 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
18657 }
18658 }
18659 {
18660 if (!wxPyCheckForApp()) SWIG_fail;
18661 PyThreadState* __tstate = wxPyBeginAllowThreads();
18662 result = (wxNumberEntryDialog *)new wxNumberEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
18663 wxPyEndAllowThreads(__tstate);
18664 if (PyErr_Occurred()) SWIG_fail;
18665 }
18666 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNumberEntryDialog, SWIG_POINTER_NEW | 0 );
18667 {
18668 if (temp2)
18669 delete arg2;
18670 }
18671 {
18672 if (temp3)
18673 delete arg3;
18674 }
18675 {
18676 if (temp4)
18677 delete arg4;
18678 }
18679 return resultobj;
18680 fail:
18681 {
18682 if (temp2)
18683 delete arg2;
18684 }
18685 {
18686 if (temp3)
18687 delete arg3;
18688 }
18689 {
18690 if (temp4)
18691 delete arg4;
18692 }
18693 return NULL;
18694 }
18695
18696
18697 SWIGINTERN PyObject *_wrap_NumberEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18698 PyObject *resultobj = 0;
18699 wxNumberEntryDialog *arg1 = (wxNumberEntryDialog *) 0 ;
18700 long result;
18701 void *argp1 = 0 ;
18702 int res1 = 0 ;
18703 PyObject *swig_obj[1] ;
18704
18705 if (!args) SWIG_fail;
18706 swig_obj[0] = args;
18707 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxNumberEntryDialog, 0 | 0 );
18708 if (!SWIG_IsOK(res1)) {
18709 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
18710 }
18711 arg1 = reinterpret_cast< wxNumberEntryDialog * >(argp1);
18712 {
18713 PyThreadState* __tstate = wxPyBeginAllowThreads();
18714 result = (long)(arg1)->GetValue();
18715 wxPyEndAllowThreads(__tstate);
18716 if (PyErr_Occurred()) SWIG_fail;
18717 }
18718 resultobj = SWIG_From_long(static_cast< long >(result));
18719 return resultobj;
18720 fail:
18721 return NULL;
18722 }
18723
18724
18725 SWIGINTERN PyObject *NumberEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18726 PyObject *obj;
18727 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18728 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog, SWIG_NewClientData(obj));
18729 return SWIG_Py_Void();
18730 }
18731
18732 SWIGINTERN PyObject *NumberEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18733 return SWIG_Python_InitShadowInstance(args);
18734 }
18735
18736 SWIGINTERN PyObject *_wrap_new_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18737 PyObject *resultobj = 0;
18738 wxFontData *result = 0 ;
18739
18740 if (!SWIG_Python_UnpackTuple(args,"new_FontData",0,0,0)) SWIG_fail;
18741 {
18742 PyThreadState* __tstate = wxPyBeginAllowThreads();
18743 result = (wxFontData *)new wxFontData();
18744 wxPyEndAllowThreads(__tstate);
18745 if (PyErr_Occurred()) SWIG_fail;
18746 }
18747 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, SWIG_POINTER_NEW | 0 );
18748 return resultobj;
18749 fail:
18750 return NULL;
18751 }
18752
18753
18754 SWIGINTERN PyObject *_wrap_delete_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18755 PyObject *resultobj = 0;
18756 wxFontData *arg1 = (wxFontData *) 0 ;
18757 void *argp1 = 0 ;
18758 int res1 = 0 ;
18759 PyObject *swig_obj[1] ;
18760
18761 if (!args) SWIG_fail;
18762 swig_obj[0] = args;
18763 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, SWIG_POINTER_DISOWN | 0 );
18764 if (!SWIG_IsOK(res1)) {
18765 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18766 }
18767 arg1 = reinterpret_cast< wxFontData * >(argp1);
18768 {
18769 PyThreadState* __tstate = wxPyBeginAllowThreads();
18770 delete arg1;
18771
18772 wxPyEndAllowThreads(__tstate);
18773 if (PyErr_Occurred()) SWIG_fail;
18774 }
18775 resultobj = SWIG_Py_Void();
18776 return resultobj;
18777 fail:
18778 return NULL;
18779 }
18780
18781
18782 SWIGINTERN PyObject *_wrap_FontData_EnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18783 PyObject *resultobj = 0;
18784 wxFontData *arg1 = (wxFontData *) 0 ;
18785 bool arg2 ;
18786 void *argp1 = 0 ;
18787 int res1 = 0 ;
18788 bool val2 ;
18789 int ecode2 = 0 ;
18790 PyObject * obj0 = 0 ;
18791 PyObject * obj1 = 0 ;
18792 char * kwnames[] = {
18793 (char *) "self",(char *) "enable", NULL
18794 };
18795
18796 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) SWIG_fail;
18797 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18798 if (!SWIG_IsOK(res1)) {
18799 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18800 }
18801 arg1 = reinterpret_cast< wxFontData * >(argp1);
18802 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18803 if (!SWIG_IsOK(ecode2)) {
18804 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18805 }
18806 arg2 = static_cast< bool >(val2);
18807 {
18808 PyThreadState* __tstate = wxPyBeginAllowThreads();
18809 (arg1)->EnableEffects(arg2);
18810 wxPyEndAllowThreads(__tstate);
18811 if (PyErr_Occurred()) SWIG_fail;
18812 }
18813 resultobj = SWIG_Py_Void();
18814 return resultobj;
18815 fail:
18816 return NULL;
18817 }
18818
18819
18820 SWIGINTERN PyObject *_wrap_FontData_GetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18821 PyObject *resultobj = 0;
18822 wxFontData *arg1 = (wxFontData *) 0 ;
18823 bool result;
18824 void *argp1 = 0 ;
18825 int res1 = 0 ;
18826 PyObject *swig_obj[1] ;
18827
18828 if (!args) SWIG_fail;
18829 swig_obj[0] = args;
18830 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18831 if (!SWIG_IsOK(res1)) {
18832 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18833 }
18834 arg1 = reinterpret_cast< wxFontData * >(argp1);
18835 {
18836 PyThreadState* __tstate = wxPyBeginAllowThreads();
18837 result = (bool)(arg1)->GetAllowSymbols();
18838 wxPyEndAllowThreads(__tstate);
18839 if (PyErr_Occurred()) SWIG_fail;
18840 }
18841 {
18842 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18843 }
18844 return resultobj;
18845 fail:
18846 return NULL;
18847 }
18848
18849
18850 SWIGINTERN PyObject *_wrap_FontData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18851 PyObject *resultobj = 0;
18852 wxFontData *arg1 = (wxFontData *) 0 ;
18853 wxColour result;
18854 void *argp1 = 0 ;
18855 int res1 = 0 ;
18856 PyObject *swig_obj[1] ;
18857
18858 if (!args) SWIG_fail;
18859 swig_obj[0] = args;
18860 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18861 if (!SWIG_IsOK(res1)) {
18862 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18863 }
18864 arg1 = reinterpret_cast< wxFontData * >(argp1);
18865 {
18866 PyThreadState* __tstate = wxPyBeginAllowThreads();
18867 result = (arg1)->GetColour();
18868 wxPyEndAllowThreads(__tstate);
18869 if (PyErr_Occurred()) SWIG_fail;
18870 }
18871 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
18872 return resultobj;
18873 fail:
18874 return NULL;
18875 }
18876
18877
18878 SWIGINTERN PyObject *_wrap_FontData_GetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18879 PyObject *resultobj = 0;
18880 wxFontData *arg1 = (wxFontData *) 0 ;
18881 wxFont result;
18882 void *argp1 = 0 ;
18883 int res1 = 0 ;
18884 PyObject *swig_obj[1] ;
18885
18886 if (!args) SWIG_fail;
18887 swig_obj[0] = args;
18888 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18889 if (!SWIG_IsOK(res1)) {
18890 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18891 }
18892 arg1 = reinterpret_cast< wxFontData * >(argp1);
18893 {
18894 PyThreadState* __tstate = wxPyBeginAllowThreads();
18895 result = (arg1)->GetChosenFont();
18896 wxPyEndAllowThreads(__tstate);
18897 if (PyErr_Occurred()) SWIG_fail;
18898 }
18899 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18900 return resultobj;
18901 fail:
18902 return NULL;
18903 }
18904
18905
18906 SWIGINTERN PyObject *_wrap_FontData_GetEnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18907 PyObject *resultobj = 0;
18908 wxFontData *arg1 = (wxFontData *) 0 ;
18909 bool result;
18910 void *argp1 = 0 ;
18911 int res1 = 0 ;
18912 PyObject *swig_obj[1] ;
18913
18914 if (!args) SWIG_fail;
18915 swig_obj[0] = args;
18916 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18917 if (!SWIG_IsOK(res1)) {
18918 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18919 }
18920 arg1 = reinterpret_cast< wxFontData * >(argp1);
18921 {
18922 PyThreadState* __tstate = wxPyBeginAllowThreads();
18923 result = (bool)(arg1)->GetEnableEffects();
18924 wxPyEndAllowThreads(__tstate);
18925 if (PyErr_Occurred()) SWIG_fail;
18926 }
18927 {
18928 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18929 }
18930 return resultobj;
18931 fail:
18932 return NULL;
18933 }
18934
18935
18936 SWIGINTERN PyObject *_wrap_FontData_GetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18937 PyObject *resultobj = 0;
18938 wxFontData *arg1 = (wxFontData *) 0 ;
18939 wxFont result;
18940 void *argp1 = 0 ;
18941 int res1 = 0 ;
18942 PyObject *swig_obj[1] ;
18943
18944 if (!args) SWIG_fail;
18945 swig_obj[0] = args;
18946 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18947 if (!SWIG_IsOK(res1)) {
18948 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18949 }
18950 arg1 = reinterpret_cast< wxFontData * >(argp1);
18951 {
18952 PyThreadState* __tstate = wxPyBeginAllowThreads();
18953 result = (arg1)->GetInitialFont();
18954 wxPyEndAllowThreads(__tstate);
18955 if (PyErr_Occurred()) SWIG_fail;
18956 }
18957 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18958 return resultobj;
18959 fail:
18960 return NULL;
18961 }
18962
18963
18964 SWIGINTERN PyObject *_wrap_FontData_GetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18965 PyObject *resultobj = 0;
18966 wxFontData *arg1 = (wxFontData *) 0 ;
18967 bool result;
18968 void *argp1 = 0 ;
18969 int res1 = 0 ;
18970 PyObject *swig_obj[1] ;
18971
18972 if (!args) SWIG_fail;
18973 swig_obj[0] = args;
18974 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18975 if (!SWIG_IsOK(res1)) {
18976 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18977 }
18978 arg1 = reinterpret_cast< wxFontData * >(argp1);
18979 {
18980 PyThreadState* __tstate = wxPyBeginAllowThreads();
18981 result = (bool)(arg1)->GetShowHelp();
18982 wxPyEndAllowThreads(__tstate);
18983 if (PyErr_Occurred()) SWIG_fail;
18984 }
18985 {
18986 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18987 }
18988 return resultobj;
18989 fail:
18990 return NULL;
18991 }
18992
18993
18994 SWIGINTERN PyObject *_wrap_FontData_SetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18995 PyObject *resultobj = 0;
18996 wxFontData *arg1 = (wxFontData *) 0 ;
18997 bool arg2 ;
18998 void *argp1 = 0 ;
18999 int res1 = 0 ;
19000 bool val2 ;
19001 int ecode2 = 0 ;
19002 PyObject * obj0 = 0 ;
19003 PyObject * obj1 = 0 ;
19004 char * kwnames[] = {
19005 (char *) "self",(char *) "allowSymbols", NULL
19006 };
19007
19008 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) SWIG_fail;
19009 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19010 if (!SWIG_IsOK(res1)) {
19011 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
19012 }
19013 arg1 = reinterpret_cast< wxFontData * >(argp1);
19014 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19015 if (!SWIG_IsOK(ecode2)) {
19016 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
19017 }
19018 arg2 = static_cast< bool >(val2);
19019 {
19020 PyThreadState* __tstate = wxPyBeginAllowThreads();
19021 (arg1)->SetAllowSymbols(arg2);
19022 wxPyEndAllowThreads(__tstate);
19023 if (PyErr_Occurred()) SWIG_fail;
19024 }
19025 resultobj = SWIG_Py_Void();
19026 return resultobj;
19027 fail:
19028 return NULL;
19029 }
19030
19031
19032 SWIGINTERN PyObject *_wrap_FontData_SetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19033 PyObject *resultobj = 0;
19034 wxFontData *arg1 = (wxFontData *) 0 ;
19035 wxFont *arg2 = 0 ;
19036 void *argp1 = 0 ;
19037 int res1 = 0 ;
19038 void *argp2 = 0 ;
19039 int res2 = 0 ;
19040 PyObject * obj0 = 0 ;
19041 PyObject * obj1 = 0 ;
19042 char * kwnames[] = {
19043 (char *) "self",(char *) "font", NULL
19044 };
19045
19046 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) SWIG_fail;
19047 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19048 if (!SWIG_IsOK(res1)) {
19049 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19050 }
19051 arg1 = reinterpret_cast< wxFontData * >(argp1);
19052 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19053 if (!SWIG_IsOK(res2)) {
19054 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19055 }
19056 if (!argp2) {
19057 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19058 }
19059 arg2 = reinterpret_cast< wxFont * >(argp2);
19060 {
19061 PyThreadState* __tstate = wxPyBeginAllowThreads();
19062 (arg1)->SetChosenFont((wxFont const &)*arg2);
19063 wxPyEndAllowThreads(__tstate);
19064 if (PyErr_Occurred()) SWIG_fail;
19065 }
19066 resultobj = SWIG_Py_Void();
19067 return resultobj;
19068 fail:
19069 return NULL;
19070 }
19071
19072
19073 SWIGINTERN PyObject *_wrap_FontData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19074 PyObject *resultobj = 0;
19075 wxFontData *arg1 = (wxFontData *) 0 ;
19076 wxColour *arg2 = 0 ;
19077 void *argp1 = 0 ;
19078 int res1 = 0 ;
19079 wxColour temp2 ;
19080 PyObject * obj0 = 0 ;
19081 PyObject * obj1 = 0 ;
19082 char * kwnames[] = {
19083 (char *) "self",(char *) "colour", NULL
19084 };
19085
19086 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
19087 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19088 if (!SWIG_IsOK(res1)) {
19089 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
19090 }
19091 arg1 = reinterpret_cast< wxFontData * >(argp1);
19092 {
19093 arg2 = &temp2;
19094 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19095 }
19096 {
19097 PyThreadState* __tstate = wxPyBeginAllowThreads();
19098 (arg1)->SetColour((wxColour const &)*arg2);
19099 wxPyEndAllowThreads(__tstate);
19100 if (PyErr_Occurred()) SWIG_fail;
19101 }
19102 resultobj = SWIG_Py_Void();
19103 return resultobj;
19104 fail:
19105 return NULL;
19106 }
19107
19108
19109 SWIGINTERN PyObject *_wrap_FontData_SetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19110 PyObject *resultobj = 0;
19111 wxFontData *arg1 = (wxFontData *) 0 ;
19112 wxFont *arg2 = 0 ;
19113 void *argp1 = 0 ;
19114 int res1 = 0 ;
19115 void *argp2 = 0 ;
19116 int res2 = 0 ;
19117 PyObject * obj0 = 0 ;
19118 PyObject * obj1 = 0 ;
19119 char * kwnames[] = {
19120 (char *) "self",(char *) "font", NULL
19121 };
19122
19123 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) SWIG_fail;
19124 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19125 if (!SWIG_IsOK(res1)) {
19126 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19127 }
19128 arg1 = reinterpret_cast< wxFontData * >(argp1);
19129 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19130 if (!SWIG_IsOK(res2)) {
19131 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19132 }
19133 if (!argp2) {
19134 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19135 }
19136 arg2 = reinterpret_cast< wxFont * >(argp2);
19137 {
19138 PyThreadState* __tstate = wxPyBeginAllowThreads();
19139 (arg1)->SetInitialFont((wxFont const &)*arg2);
19140 wxPyEndAllowThreads(__tstate);
19141 if (PyErr_Occurred()) SWIG_fail;
19142 }
19143 resultobj = SWIG_Py_Void();
19144 return resultobj;
19145 fail:
19146 return NULL;
19147 }
19148
19149
19150 SWIGINTERN PyObject *_wrap_FontData_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19151 PyObject *resultobj = 0;
19152 wxFontData *arg1 = (wxFontData *) 0 ;
19153 int arg2 ;
19154 int arg3 ;
19155 void *argp1 = 0 ;
19156 int res1 = 0 ;
19157 int val2 ;
19158 int ecode2 = 0 ;
19159 int val3 ;
19160 int ecode3 = 0 ;
19161 PyObject * obj0 = 0 ;
19162 PyObject * obj1 = 0 ;
19163 PyObject * obj2 = 0 ;
19164 char * kwnames[] = {
19165 (char *) "self",(char *) "min",(char *) "max", NULL
19166 };
19167
19168 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19169 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19170 if (!SWIG_IsOK(res1)) {
19171 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
19172 }
19173 arg1 = reinterpret_cast< wxFontData * >(argp1);
19174 ecode2 = SWIG_AsVal_int(obj1, &val2);
19175 if (!SWIG_IsOK(ecode2)) {
19176 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
19177 }
19178 arg2 = static_cast< int >(val2);
19179 ecode3 = SWIG_AsVal_int(obj2, &val3);
19180 if (!SWIG_IsOK(ecode3)) {
19181 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
19182 }
19183 arg3 = static_cast< int >(val3);
19184 {
19185 PyThreadState* __tstate = wxPyBeginAllowThreads();
19186 (arg1)->SetRange(arg2,arg3);
19187 wxPyEndAllowThreads(__tstate);
19188 if (PyErr_Occurred()) SWIG_fail;
19189 }
19190 resultobj = SWIG_Py_Void();
19191 return resultobj;
19192 fail:
19193 return NULL;
19194 }
19195
19196
19197 SWIGINTERN PyObject *_wrap_FontData_SetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19198 PyObject *resultobj = 0;
19199 wxFontData *arg1 = (wxFontData *) 0 ;
19200 bool arg2 ;
19201 void *argp1 = 0 ;
19202 int res1 = 0 ;
19203 bool val2 ;
19204 int ecode2 = 0 ;
19205 PyObject * obj0 = 0 ;
19206 PyObject * obj1 = 0 ;
19207 char * kwnames[] = {
19208 (char *) "self",(char *) "showHelp", NULL
19209 };
19210
19211 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) SWIG_fail;
19212 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19213 if (!SWIG_IsOK(res1)) {
19214 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19215 }
19216 arg1 = reinterpret_cast< wxFontData * >(argp1);
19217 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19218 if (!SWIG_IsOK(ecode2)) {
19219 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
19220 }
19221 arg2 = static_cast< bool >(val2);
19222 {
19223 PyThreadState* __tstate = wxPyBeginAllowThreads();
19224 (arg1)->SetShowHelp(arg2);
19225 wxPyEndAllowThreads(__tstate);
19226 if (PyErr_Occurred()) SWIG_fail;
19227 }
19228 resultobj = SWIG_Py_Void();
19229 return resultobj;
19230 fail:
19231 return NULL;
19232 }
19233
19234
19235 SWIGINTERN PyObject *FontData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19236 PyObject *obj;
19237 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19238 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData, SWIG_NewClientData(obj));
19239 return SWIG_Py_Void();
19240 }
19241
19242 SWIGINTERN PyObject *FontData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19243 return SWIG_Python_InitShadowInstance(args);
19244 }
19245
19246 SWIGINTERN PyObject *_wrap_new_FontDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19247 PyObject *resultobj = 0;
19248 wxWindow *arg1 = (wxWindow *) 0 ;
19249 wxFontData *arg2 = 0 ;
19250 wxFontDialog *result = 0 ;
19251 void *argp1 = 0 ;
19252 int res1 = 0 ;
19253 void *argp2 = 0 ;
19254 int res2 = 0 ;
19255 PyObject * obj0 = 0 ;
19256 PyObject * obj1 = 0 ;
19257 char * kwnames[] = {
19258 (char *) "parent",(char *) "data", NULL
19259 };
19260
19261 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) SWIG_fail;
19262 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19263 if (!SWIG_IsOK(res1)) {
19264 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19265 }
19266 arg1 = reinterpret_cast< wxWindow * >(argp1);
19267 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFontData, 0 | 0);
19268 if (!SWIG_IsOK(res2)) {
19269 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19270 }
19271 if (!argp2) {
19272 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19273 }
19274 arg2 = reinterpret_cast< wxFontData * >(argp2);
19275 {
19276 if (!wxPyCheckForApp()) SWIG_fail;
19277 PyThreadState* __tstate = wxPyBeginAllowThreads();
19278 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
19279 wxPyEndAllowThreads(__tstate);
19280 if (PyErr_Occurred()) SWIG_fail;
19281 }
19282 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontDialog, SWIG_POINTER_NEW | 0 );
19283 return resultobj;
19284 fail:
19285 return NULL;
19286 }
19287
19288
19289 SWIGINTERN PyObject *_wrap_FontDialog_GetFontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19290 PyObject *resultobj = 0;
19291 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
19292 wxFontData *result = 0 ;
19293 void *argp1 = 0 ;
19294 int res1 = 0 ;
19295 PyObject *swig_obj[1] ;
19296
19297 if (!args) SWIG_fail;
19298 swig_obj[0] = args;
19299 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontDialog, 0 | 0 );
19300 if (!SWIG_IsOK(res1)) {
19301 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
19302 }
19303 arg1 = reinterpret_cast< wxFontDialog * >(argp1);
19304 {
19305 PyThreadState* __tstate = wxPyBeginAllowThreads();
19306 {
19307 wxFontData &_result_ref = (arg1)->GetFontData();
19308 result = (wxFontData *) &_result_ref;
19309 }
19310 wxPyEndAllowThreads(__tstate);
19311 if (PyErr_Occurred()) SWIG_fail;
19312 }
19313 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, 0 | 0 );
19314 return resultobj;
19315 fail:
19316 return NULL;
19317 }
19318
19319
19320 SWIGINTERN PyObject *FontDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19321 PyObject *obj;
19322 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19323 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog, SWIG_NewClientData(obj));
19324 return SWIG_Py_Void();
19325 }
19326
19327 SWIGINTERN PyObject *FontDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19328 return SWIG_Python_InitShadowInstance(args);
19329 }
19330
19331 SWIGINTERN PyObject *_wrap_GetFontFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19332 PyObject *resultobj = 0;
19333 wxWindow *arg1 = (wxWindow *) NULL ;
19334 wxFont const &arg2_defvalue = wxNullFont ;
19335 wxFont *arg2 = (wxFont *) &arg2_defvalue ;
19336 wxString const &arg3_defvalue = wxPyEmptyString ;
19337 wxString *arg3 = (wxString *) &arg3_defvalue ;
19338 wxFont result;
19339 void *argp1 = 0 ;
19340 int res1 = 0 ;
19341 void *argp2 = 0 ;
19342 int res2 = 0 ;
19343 bool temp3 = false ;
19344 PyObject * obj0 = 0 ;
19345 PyObject * obj1 = 0 ;
19346 PyObject * obj2 = 0 ;
19347 char * kwnames[] = {
19348 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
19349 };
19350
19351 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetFontFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19352 if (obj0) {
19353 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19354 if (!SWIG_IsOK(res1)) {
19355 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
19356 }
19357 arg1 = reinterpret_cast< wxWindow * >(argp1);
19358 }
19359 if (obj1) {
19360 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19361 if (!SWIG_IsOK(res2)) {
19362 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19363 }
19364 if (!argp2) {
19365 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19366 }
19367 arg2 = reinterpret_cast< wxFont * >(argp2);
19368 }
19369 if (obj2) {
19370 {
19371 arg3 = wxString_in_helper(obj2);
19372 if (arg3 == NULL) SWIG_fail;
19373 temp3 = true;
19374 }
19375 }
19376 {
19377 PyThreadState* __tstate = wxPyBeginAllowThreads();
19378 result = wxGetFontFromUser(arg1,(wxFont const &)*arg2,(wxString const &)*arg3);
19379 wxPyEndAllowThreads(__tstate);
19380 if (PyErr_Occurred()) SWIG_fail;
19381 }
19382 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
19383 {
19384 if (temp3)
19385 delete arg3;
19386 }
19387 return resultobj;
19388 fail:
19389 {
19390 if (temp3)
19391 delete arg3;
19392 }
19393 return NULL;
19394 }
19395
19396
19397 SWIGINTERN PyObject *_wrap_new_MessageDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19398 PyObject *resultobj = 0;
19399 wxWindow *arg1 = (wxWindow *) 0 ;
19400 wxString *arg2 = 0 ;
19401 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
19402 wxString *arg3 = (wxString *) &arg3_defvalue ;
19403 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
19404 wxPoint const &arg5_defvalue = wxDefaultPosition ;
19405 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
19406 wxMessageDialog *result = 0 ;
19407 void *argp1 = 0 ;
19408 int res1 = 0 ;
19409 bool temp2 = false ;
19410 bool temp3 = false ;
19411 long val4 ;
19412 int ecode4 = 0 ;
19413 wxPoint temp5 ;
19414 PyObject * obj0 = 0 ;
19415 PyObject * obj1 = 0 ;
19416 PyObject * obj2 = 0 ;
19417 PyObject * obj3 = 0 ;
19418 PyObject * obj4 = 0 ;
19419 char * kwnames[] = {
19420 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19421 };
19422
19423 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19424 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19425 if (!SWIG_IsOK(res1)) {
19426 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19427 }
19428 arg1 = reinterpret_cast< wxWindow * >(argp1);
19429 {
19430 arg2 = wxString_in_helper(obj1);
19431 if (arg2 == NULL) SWIG_fail;
19432 temp2 = true;
19433 }
19434 if (obj2) {
19435 {
19436 arg3 = wxString_in_helper(obj2);
19437 if (arg3 == NULL) SWIG_fail;
19438 temp3 = true;
19439 }
19440 }
19441 if (obj3) {
19442 ecode4 = SWIG_AsVal_long(obj3, &val4);
19443 if (!SWIG_IsOK(ecode4)) {
19444 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19445 }
19446 arg4 = static_cast< long >(val4);
19447 }
19448 if (obj4) {
19449 {
19450 arg5 = &temp5;
19451 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
19452 }
19453 }
19454 {
19455 if (!wxPyCheckForApp()) SWIG_fail;
19456 PyThreadState* __tstate = wxPyBeginAllowThreads();
19457 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
19458 wxPyEndAllowThreads(__tstate);
19459 if (PyErr_Occurred()) SWIG_fail;
19460 }
19461 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMessageDialog, SWIG_POINTER_NEW | 0 );
19462 {
19463 if (temp2)
19464 delete arg2;
19465 }
19466 {
19467 if (temp3)
19468 delete arg3;
19469 }
19470 return resultobj;
19471 fail:
19472 {
19473 if (temp2)
19474 delete arg2;
19475 }
19476 {
19477 if (temp3)
19478 delete arg3;
19479 }
19480 return NULL;
19481 }
19482
19483
19484 SWIGINTERN PyObject *MessageDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19485 PyObject *obj;
19486 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19487 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog, SWIG_NewClientData(obj));
19488 return SWIG_Py_Void();
19489 }
19490
19491 SWIGINTERN PyObject *MessageDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19492 return SWIG_Python_InitShadowInstance(args);
19493 }
19494
19495 SWIGINTERN PyObject *_wrap_new_ProgressDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19496 PyObject *resultobj = 0;
19497 wxString *arg1 = 0 ;
19498 wxString *arg2 = 0 ;
19499 int arg3 = (int) 100 ;
19500 wxWindow *arg4 = (wxWindow *) NULL ;
19501 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
19502 wxProgressDialog *result = 0 ;
19503 bool temp1 = false ;
19504 bool temp2 = false ;
19505 int val3 ;
19506 int ecode3 = 0 ;
19507 void *argp4 = 0 ;
19508 int res4 = 0 ;
19509 int val5 ;
19510 int ecode5 = 0 ;
19511 PyObject * obj0 = 0 ;
19512 PyObject * obj1 = 0 ;
19513 PyObject * obj2 = 0 ;
19514 PyObject * obj3 = 0 ;
19515 PyObject * obj4 = 0 ;
19516 char * kwnames[] = {
19517 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19518 };
19519
19520 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19521 {
19522 arg1 = wxString_in_helper(obj0);
19523 if (arg1 == NULL) SWIG_fail;
19524 temp1 = true;
19525 }
19526 {
19527 arg2 = wxString_in_helper(obj1);
19528 if (arg2 == NULL) SWIG_fail;
19529 temp2 = true;
19530 }
19531 if (obj2) {
19532 ecode3 = SWIG_AsVal_int(obj2, &val3);
19533 if (!SWIG_IsOK(ecode3)) {
19534 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19535 }
19536 arg3 = static_cast< int >(val3);
19537 }
19538 if (obj3) {
19539 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
19540 if (!SWIG_IsOK(res4)) {
19541 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19542 }
19543 arg4 = reinterpret_cast< wxWindow * >(argp4);
19544 }
19545 if (obj4) {
19546 ecode5 = SWIG_AsVal_int(obj4, &val5);
19547 if (!SWIG_IsOK(ecode5)) {
19548 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19549 }
19550 arg5 = static_cast< int >(val5);
19551 }
19552 {
19553 if (!wxPyCheckForApp()) SWIG_fail;
19554 PyThreadState* __tstate = wxPyBeginAllowThreads();
19555 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
19556 wxPyEndAllowThreads(__tstate);
19557 if (PyErr_Occurred()) SWIG_fail;
19558 }
19559 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_NEW | 0 );
19560 {
19561 if (temp1)
19562 delete arg1;
19563 }
19564 {
19565 if (temp2)
19566 delete arg2;
19567 }
19568 return resultobj;
19569 fail:
19570 {
19571 if (temp1)
19572 delete arg1;
19573 }
19574 {
19575 if (temp2)
19576 delete arg2;
19577 }
19578 return NULL;
19579 }
19580
19581
19582 SWIGINTERN PyObject *_wrap_ProgressDialog_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19583 PyObject *resultobj = 0;
19584 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19585 int arg2 ;
19586 wxString const &arg3_defvalue = wxPyEmptyString ;
19587 wxString *arg3 = (wxString *) &arg3_defvalue ;
19588 bool *arg4 = (bool *) 0 ;
19589 bool result;
19590 void *argp1 = 0 ;
19591 int res1 = 0 ;
19592 int val2 ;
19593 int ecode2 = 0 ;
19594 bool temp3 = false ;
19595 bool temp4 ;
19596 int res4 = SWIG_TMPOBJ ;
19597 PyObject * obj0 = 0 ;
19598 PyObject * obj1 = 0 ;
19599 PyObject * obj2 = 0 ;
19600 char * kwnames[] = {
19601 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19602 };
19603
19604 arg4 = &temp4;
19605 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19606 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19607 if (!SWIG_IsOK(res1)) {
19608 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19609 }
19610 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19611 ecode2 = SWIG_AsVal_int(obj1, &val2);
19612 if (!SWIG_IsOK(ecode2)) {
19613 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19614 }
19615 arg2 = static_cast< int >(val2);
19616 if (obj2) {
19617 {
19618 arg3 = wxString_in_helper(obj2);
19619 if (arg3 == NULL) SWIG_fail;
19620 temp3 = true;
19621 }
19622 }
19623 {
19624 PyThreadState* __tstate = wxPyBeginAllowThreads();
19625 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3,arg4);
19626 wxPyEndAllowThreads(__tstate);
19627 if (PyErr_Occurred()) SWIG_fail;
19628 }
19629 {
19630 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19631 }
19632 if (SWIG_IsTmpObj(res4)) {
19633 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg4)));
19634 } else {
19635 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19636 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, new_flags));
19637 }
19638 {
19639 if (temp3)
19640 delete arg3;
19641 }
19642 return resultobj;
19643 fail:
19644 {
19645 if (temp3)
19646 delete arg3;
19647 }
19648 return NULL;
19649 }
19650
19651
19652 SWIGINTERN PyObject *_wrap_ProgressDialog_Pulse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19653 PyObject *resultobj = 0;
19654 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19655 wxString const &arg2_defvalue = wxPyEmptyString ;
19656 wxString *arg2 = (wxString *) &arg2_defvalue ;
19657 bool *arg3 = (bool *) 0 ;
19658 bool result;
19659 void *argp1 = 0 ;
19660 int res1 = 0 ;
19661 bool temp2 = false ;
19662 bool temp3 ;
19663 int res3 = SWIG_TMPOBJ ;
19664 PyObject * obj0 = 0 ;
19665 PyObject * obj1 = 0 ;
19666 char * kwnames[] = {
19667 (char *) "self",(char *) "newmsg", NULL
19668 };
19669
19670 arg3 = &temp3;
19671 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ProgressDialog_Pulse",kwnames,&obj0,&obj1)) SWIG_fail;
19672 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19673 if (!SWIG_IsOK(res1)) {
19674 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Pulse" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19675 }
19676 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19677 if (obj1) {
19678 {
19679 arg2 = wxString_in_helper(obj1);
19680 if (arg2 == NULL) SWIG_fail;
19681 temp2 = true;
19682 }
19683 }
19684 {
19685 PyThreadState* __tstate = wxPyBeginAllowThreads();
19686 result = (bool)(arg1)->Pulse((wxString const &)*arg2,arg3);
19687 wxPyEndAllowThreads(__tstate);
19688 if (PyErr_Occurred()) SWIG_fail;
19689 }
19690 {
19691 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19692 }
19693 if (SWIG_IsTmpObj(res3)) {
19694 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg3)));
19695 } else {
19696 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19697 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_bool, new_flags));
19698 }
19699 {
19700 if (temp2)
19701 delete arg2;
19702 }
19703 return resultobj;
19704 fail:
19705 {
19706 if (temp2)
19707 delete arg2;
19708 }
19709 return NULL;
19710 }
19711
19712
19713 SWIGINTERN PyObject *_wrap_ProgressDialog_Resume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19714 PyObject *resultobj = 0;
19715 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19716 void *argp1 = 0 ;
19717 int res1 = 0 ;
19718 PyObject *swig_obj[1] ;
19719
19720 if (!args) SWIG_fail;
19721 swig_obj[0] = args;
19722 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19723 if (!SWIG_IsOK(res1)) {
19724 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19725 }
19726 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19727 {
19728 PyThreadState* __tstate = wxPyBeginAllowThreads();
19729 (arg1)->Resume();
19730 wxPyEndAllowThreads(__tstate);
19731 if (PyErr_Occurred()) SWIG_fail;
19732 }
19733 resultobj = SWIG_Py_Void();
19734 return resultobj;
19735 fail:
19736 return NULL;
19737 }
19738
19739
19740 SWIGINTERN PyObject *ProgressDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19741 PyObject *obj;
19742 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19743 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog, SWIG_NewClientData(obj));
19744 return SWIG_Py_Void();
19745 }
19746
19747 SWIGINTERN PyObject *ProgressDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19748 return SWIG_Python_InitShadowInstance(args);
19749 }
19750
19751 SWIGINTERN PyObject *_wrap_new_FindDialogEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19752 PyObject *resultobj = 0;
19753 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19754 int arg2 = (int) 0 ;
19755 wxFindDialogEvent *result = 0 ;
19756 int val1 ;
19757 int ecode1 = 0 ;
19758 int val2 ;
19759 int ecode2 = 0 ;
19760 PyObject * obj0 = 0 ;
19761 PyObject * obj1 = 0 ;
19762 char * kwnames[] = {
19763 (char *) "commandType",(char *) "id", NULL
19764 };
19765
19766 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) SWIG_fail;
19767 if (obj0) {
19768 ecode1 = SWIG_AsVal_int(obj0, &val1);
19769 if (!SWIG_IsOK(ecode1)) {
19770 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19771 }
19772 arg1 = static_cast< wxEventType >(val1);
19773 }
19774 if (obj1) {
19775 ecode2 = SWIG_AsVal_int(obj1, &val2);
19776 if (!SWIG_IsOK(ecode2)) {
19777 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19778 }
19779 arg2 = static_cast< int >(val2);
19780 }
19781 {
19782 PyThreadState* __tstate = wxPyBeginAllowThreads();
19783 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
19784 wxPyEndAllowThreads(__tstate);
19785 if (PyErr_Occurred()) SWIG_fail;
19786 }
19787 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_NEW | 0 );
19788 return resultobj;
19789 fail:
19790 return NULL;
19791 }
19792
19793
19794 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19795 PyObject *resultobj = 0;
19796 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19797 int result;
19798 void *argp1 = 0 ;
19799 int res1 = 0 ;
19800 PyObject *swig_obj[1] ;
19801
19802 if (!args) SWIG_fail;
19803 swig_obj[0] = args;
19804 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19805 if (!SWIG_IsOK(res1)) {
19806 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19807 }
19808 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19809 {
19810 PyThreadState* __tstate = wxPyBeginAllowThreads();
19811 result = (int)(arg1)->GetFlags();
19812 wxPyEndAllowThreads(__tstate);
19813 if (PyErr_Occurred()) SWIG_fail;
19814 }
19815 resultobj = SWIG_From_int(static_cast< int >(result));
19816 return resultobj;
19817 fail:
19818 return NULL;
19819 }
19820
19821
19822 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19823 PyObject *resultobj = 0;
19824 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19825 wxString *result = 0 ;
19826 void *argp1 = 0 ;
19827 int res1 = 0 ;
19828 PyObject *swig_obj[1] ;
19829
19830 if (!args) SWIG_fail;
19831 swig_obj[0] = args;
19832 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19833 if (!SWIG_IsOK(res1)) {
19834 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19835 }
19836 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19837 {
19838 PyThreadState* __tstate = wxPyBeginAllowThreads();
19839 {
19840 wxString const &_result_ref = (arg1)->GetFindString();
19841 result = (wxString *) &_result_ref;
19842 }
19843 wxPyEndAllowThreads(__tstate);
19844 if (PyErr_Occurred()) SWIG_fail;
19845 }
19846 {
19847 #if wxUSE_UNICODE
19848 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19849 #else
19850 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19851 #endif
19852 }
19853 return resultobj;
19854 fail:
19855 return NULL;
19856 }
19857
19858
19859 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19860 PyObject *resultobj = 0;
19861 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19862 wxString *result = 0 ;
19863 void *argp1 = 0 ;
19864 int res1 = 0 ;
19865 PyObject *swig_obj[1] ;
19866
19867 if (!args) SWIG_fail;
19868 swig_obj[0] = args;
19869 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19870 if (!SWIG_IsOK(res1)) {
19871 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19872 }
19873 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19874 {
19875 PyThreadState* __tstate = wxPyBeginAllowThreads();
19876 {
19877 wxString const &_result_ref = (arg1)->GetReplaceString();
19878 result = (wxString *) &_result_ref;
19879 }
19880 wxPyEndAllowThreads(__tstate);
19881 if (PyErr_Occurred()) SWIG_fail;
19882 }
19883 {
19884 #if wxUSE_UNICODE
19885 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19886 #else
19887 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19888 #endif
19889 }
19890 return resultobj;
19891 fail:
19892 return NULL;
19893 }
19894
19895
19896 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19897 PyObject *resultobj = 0;
19898 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19899 wxFindReplaceDialog *result = 0 ;
19900 void *argp1 = 0 ;
19901 int res1 = 0 ;
19902 PyObject *swig_obj[1] ;
19903
19904 if (!args) SWIG_fail;
19905 swig_obj[0] = args;
19906 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19907 if (!SWIG_IsOK(res1)) {
19908 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19909 }
19910 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19911 {
19912 PyThreadState* __tstate = wxPyBeginAllowThreads();
19913 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
19914 wxPyEndAllowThreads(__tstate);
19915 if (PyErr_Occurred()) SWIG_fail;
19916 }
19917 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
19918 return resultobj;
19919 fail:
19920 return NULL;
19921 }
19922
19923
19924 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19925 PyObject *resultobj = 0;
19926 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19927 int arg2 ;
19928 void *argp1 = 0 ;
19929 int res1 = 0 ;
19930 int val2 ;
19931 int ecode2 = 0 ;
19932 PyObject * obj0 = 0 ;
19933 PyObject * obj1 = 0 ;
19934 char * kwnames[] = {
19935 (char *) "self",(char *) "flags", NULL
19936 };
19937
19938 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
19939 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19940 if (!SWIG_IsOK(res1)) {
19941 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19942 }
19943 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19944 ecode2 = SWIG_AsVal_int(obj1, &val2);
19945 if (!SWIG_IsOK(ecode2)) {
19946 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19947 }
19948 arg2 = static_cast< int >(val2);
19949 {
19950 PyThreadState* __tstate = wxPyBeginAllowThreads();
19951 (arg1)->SetFlags(arg2);
19952 wxPyEndAllowThreads(__tstate);
19953 if (PyErr_Occurred()) SWIG_fail;
19954 }
19955 resultobj = SWIG_Py_Void();
19956 return resultobj;
19957 fail:
19958 return NULL;
19959 }
19960
19961
19962 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19963 PyObject *resultobj = 0;
19964 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19965 wxString *arg2 = 0 ;
19966 void *argp1 = 0 ;
19967 int res1 = 0 ;
19968 bool temp2 = false ;
19969 PyObject * obj0 = 0 ;
19970 PyObject * obj1 = 0 ;
19971 char * kwnames[] = {
19972 (char *) "self",(char *) "str", NULL
19973 };
19974
19975 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
19976 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19977 if (!SWIG_IsOK(res1)) {
19978 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19979 }
19980 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19981 {
19982 arg2 = wxString_in_helper(obj1);
19983 if (arg2 == NULL) SWIG_fail;
19984 temp2 = true;
19985 }
19986 {
19987 PyThreadState* __tstate = wxPyBeginAllowThreads();
19988 (arg1)->SetFindString((wxString const &)*arg2);
19989 wxPyEndAllowThreads(__tstate);
19990 if (PyErr_Occurred()) SWIG_fail;
19991 }
19992 resultobj = SWIG_Py_Void();
19993 {
19994 if (temp2)
19995 delete arg2;
19996 }
19997 return resultobj;
19998 fail:
19999 {
20000 if (temp2)
20001 delete arg2;
20002 }
20003 return NULL;
20004 }
20005
20006
20007 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20008 PyObject *resultobj = 0;
20009 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
20010 wxString *arg2 = 0 ;
20011 void *argp1 = 0 ;
20012 int res1 = 0 ;
20013 bool temp2 = false ;
20014 PyObject * obj0 = 0 ;
20015 PyObject * obj1 = 0 ;
20016 char * kwnames[] = {
20017 (char *) "self",(char *) "str", NULL
20018 };
20019
20020 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
20021 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
20022 if (!SWIG_IsOK(res1)) {
20023 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20024 }
20025 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
20026 {
20027 arg2 = wxString_in_helper(obj1);
20028 if (arg2 == NULL) SWIG_fail;
20029 temp2 = true;
20030 }
20031 {
20032 PyThreadState* __tstate = wxPyBeginAllowThreads();
20033 (arg1)->SetReplaceString((wxString const &)*arg2);
20034 wxPyEndAllowThreads(__tstate);
20035 if (PyErr_Occurred()) SWIG_fail;
20036 }
20037 resultobj = SWIG_Py_Void();
20038 {
20039 if (temp2)
20040 delete arg2;
20041 }
20042 return resultobj;
20043 fail:
20044 {
20045 if (temp2)
20046 delete arg2;
20047 }
20048 return NULL;
20049 }
20050
20051
20052 SWIGINTERN PyObject *FindDialogEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20053 PyObject *obj;
20054 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20055 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent, SWIG_NewClientData(obj));
20056 return SWIG_Py_Void();
20057 }
20058
20059 SWIGINTERN PyObject *FindDialogEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20060 return SWIG_Python_InitShadowInstance(args);
20061 }
20062
20063 SWIGINTERN PyObject *_wrap_new_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20064 PyObject *resultobj = 0;
20065 int arg1 = (int) 0 ;
20066 wxFindReplaceData *result = 0 ;
20067 int val1 ;
20068 int ecode1 = 0 ;
20069 PyObject * obj0 = 0 ;
20070 char * kwnames[] = {
20071 (char *) "flags", NULL
20072 };
20073
20074 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) SWIG_fail;
20075 if (obj0) {
20076 ecode1 = SWIG_AsVal_int(obj0, &val1);
20077 if (!SWIG_IsOK(ecode1)) {
20078 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
20079 }
20080 arg1 = static_cast< int >(val1);
20081 }
20082 {
20083 PyThreadState* __tstate = wxPyBeginAllowThreads();
20084 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
20085 wxPyEndAllowThreads(__tstate);
20086 if (PyErr_Occurred()) SWIG_fail;
20087 }
20088 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_NEW | 0 );
20089 return resultobj;
20090 fail:
20091 return NULL;
20092 }
20093
20094
20095 SWIGINTERN PyObject *_wrap_delete_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20096 PyObject *resultobj = 0;
20097 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20098 void *argp1 = 0 ;
20099 int res1 = 0 ;
20100 PyObject *swig_obj[1] ;
20101
20102 if (!args) SWIG_fail;
20103 swig_obj[0] = args;
20104 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_DISOWN | 0 );
20105 if (!SWIG_IsOK(res1)) {
20106 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20107 }
20108 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20109 {
20110 PyThreadState* __tstate = wxPyBeginAllowThreads();
20111 delete arg1;
20112
20113 wxPyEndAllowThreads(__tstate);
20114 if (PyErr_Occurred()) SWIG_fail;
20115 }
20116 resultobj = SWIG_Py_Void();
20117 return resultobj;
20118 fail:
20119 return NULL;
20120 }
20121
20122
20123 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20124 PyObject *resultobj = 0;
20125 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20126 wxString *result = 0 ;
20127 void *argp1 = 0 ;
20128 int res1 = 0 ;
20129 PyObject *swig_obj[1] ;
20130
20131 if (!args) SWIG_fail;
20132 swig_obj[0] = args;
20133 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20134 if (!SWIG_IsOK(res1)) {
20135 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20136 }
20137 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20138 {
20139 PyThreadState* __tstate = wxPyBeginAllowThreads();
20140 {
20141 wxString const &_result_ref = (arg1)->GetFindString();
20142 result = (wxString *) &_result_ref;
20143 }
20144 wxPyEndAllowThreads(__tstate);
20145 if (PyErr_Occurred()) SWIG_fail;
20146 }
20147 {
20148 #if wxUSE_UNICODE
20149 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20150 #else
20151 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20152 #endif
20153 }
20154 return resultobj;
20155 fail:
20156 return NULL;
20157 }
20158
20159
20160 SWIGINTERN PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20161 PyObject *resultobj = 0;
20162 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20163 wxString *result = 0 ;
20164 void *argp1 = 0 ;
20165 int res1 = 0 ;
20166 PyObject *swig_obj[1] ;
20167
20168 if (!args) SWIG_fail;
20169 swig_obj[0] = args;
20170 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20171 if (!SWIG_IsOK(res1)) {
20172 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20173 }
20174 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20175 {
20176 PyThreadState* __tstate = wxPyBeginAllowThreads();
20177 {
20178 wxString const &_result_ref = (arg1)->GetReplaceString();
20179 result = (wxString *) &_result_ref;
20180 }
20181 wxPyEndAllowThreads(__tstate);
20182 if (PyErr_Occurred()) SWIG_fail;
20183 }
20184 {
20185 #if wxUSE_UNICODE
20186 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20187 #else
20188 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20189 #endif
20190 }
20191 return resultobj;
20192 fail:
20193 return NULL;
20194 }
20195
20196
20197 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20198 PyObject *resultobj = 0;
20199 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20200 int result;
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_wxFindReplaceData, 0 | 0 );
20208 if (!SWIG_IsOK(res1)) {
20209 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20210 }
20211 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20212 {
20213 PyThreadState* __tstate = wxPyBeginAllowThreads();
20214 result = (int)(arg1)->GetFlags();
20215 wxPyEndAllowThreads(__tstate);
20216 if (PyErr_Occurred()) SWIG_fail;
20217 }
20218 resultobj = SWIG_From_int(static_cast< int >(result));
20219 return resultobj;
20220 fail:
20221 return NULL;
20222 }
20223
20224
20225 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20226 PyObject *resultobj = 0;
20227 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20228 int arg2 ;
20229 void *argp1 = 0 ;
20230 int res1 = 0 ;
20231 int val2 ;
20232 int ecode2 = 0 ;
20233 PyObject * obj0 = 0 ;
20234 PyObject * obj1 = 0 ;
20235 char * kwnames[] = {
20236 (char *) "self",(char *) "flags", NULL
20237 };
20238
20239 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
20240 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20241 if (!SWIG_IsOK(res1)) {
20242 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20243 }
20244 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20245 ecode2 = SWIG_AsVal_int(obj1, &val2);
20246 if (!SWIG_IsOK(ecode2)) {
20247 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
20248 }
20249 arg2 = static_cast< int >(val2);
20250 {
20251 PyThreadState* __tstate = wxPyBeginAllowThreads();
20252 (arg1)->SetFlags(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 *_wrap_FindReplaceData_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20264 PyObject *resultobj = 0;
20265 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20266 wxString *arg2 = 0 ;
20267 void *argp1 = 0 ;
20268 int res1 = 0 ;
20269 bool temp2 = false ;
20270 PyObject * obj0 = 0 ;
20271 PyObject * obj1 = 0 ;
20272 char * kwnames[] = {
20273 (char *) "self",(char *) "str", NULL
20274 };
20275
20276 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
20277 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20278 if (!SWIG_IsOK(res1)) {
20279 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20280 }
20281 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20282 {
20283 arg2 = wxString_in_helper(obj1);
20284 if (arg2 == NULL) SWIG_fail;
20285 temp2 = true;
20286 }
20287 {
20288 PyThreadState* __tstate = wxPyBeginAllowThreads();
20289 (arg1)->SetFindString((wxString const &)*arg2);
20290 wxPyEndAllowThreads(__tstate);
20291 if (PyErr_Occurred()) SWIG_fail;
20292 }
20293 resultobj = SWIG_Py_Void();
20294 {
20295 if (temp2)
20296 delete arg2;
20297 }
20298 return resultobj;
20299 fail:
20300 {
20301 if (temp2)
20302 delete arg2;
20303 }
20304 return NULL;
20305 }
20306
20307
20308 SWIGINTERN PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20309 PyObject *resultobj = 0;
20310 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20311 wxString *arg2 = 0 ;
20312 void *argp1 = 0 ;
20313 int res1 = 0 ;
20314 bool temp2 = false ;
20315 PyObject * obj0 = 0 ;
20316 PyObject * obj1 = 0 ;
20317 char * kwnames[] = {
20318 (char *) "self",(char *) "str", NULL
20319 };
20320
20321 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
20322 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20323 if (!SWIG_IsOK(res1)) {
20324 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20325 }
20326 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20327 {
20328 arg2 = wxString_in_helper(obj1);
20329 if (arg2 == NULL) SWIG_fail;
20330 temp2 = true;
20331 }
20332 {
20333 PyThreadState* __tstate = wxPyBeginAllowThreads();
20334 (arg1)->SetReplaceString((wxString const &)*arg2);
20335 wxPyEndAllowThreads(__tstate);
20336 if (PyErr_Occurred()) SWIG_fail;
20337 }
20338 resultobj = SWIG_Py_Void();
20339 {
20340 if (temp2)
20341 delete arg2;
20342 }
20343 return resultobj;
20344 fail:
20345 {
20346 if (temp2)
20347 delete arg2;
20348 }
20349 return NULL;
20350 }
20351
20352
20353 SWIGINTERN PyObject *FindReplaceData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20354 PyObject *obj;
20355 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20356 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData, SWIG_NewClientData(obj));
20357 return SWIG_Py_Void();
20358 }
20359
20360 SWIGINTERN PyObject *FindReplaceData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20361 return SWIG_Python_InitShadowInstance(args);
20362 }
20363
20364 SWIGINTERN PyObject *_wrap_new_FindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20365 PyObject *resultobj = 0;
20366 wxWindow *arg1 = (wxWindow *) 0 ;
20367 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20368 wxString *arg3 = 0 ;
20369 int arg4 = (int) 0 ;
20370 wxFindReplaceDialog *result = 0 ;
20371 void *argp1 = 0 ;
20372 int res1 = 0 ;
20373 void *argp2 = 0 ;
20374 int res2 = 0 ;
20375 bool temp3 = false ;
20376 int val4 ;
20377 int ecode4 = 0 ;
20378 PyObject * obj0 = 0 ;
20379 PyObject * obj1 = 0 ;
20380 PyObject * obj2 = 0 ;
20381 PyObject * obj3 = 0 ;
20382 char * kwnames[] = {
20383 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20384 };
20385
20386 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
20387 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20388 if (!SWIG_IsOK(res1)) {
20389 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20390 }
20391 arg1 = reinterpret_cast< wxWindow * >(argp1);
20392 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20393 if (!SWIG_IsOK(res2)) {
20394 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20395 }
20396 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20397 {
20398 arg3 = wxString_in_helper(obj2);
20399 if (arg3 == NULL) SWIG_fail;
20400 temp3 = true;
20401 }
20402 if (obj3) {
20403 ecode4 = SWIG_AsVal_int(obj3, &val4);
20404 if (!SWIG_IsOK(ecode4)) {
20405 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
20406 }
20407 arg4 = static_cast< int >(val4);
20408 }
20409 {
20410 if (!wxPyCheckForApp()) SWIG_fail;
20411 PyThreadState* __tstate = wxPyBeginAllowThreads();
20412 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
20413 wxPyEndAllowThreads(__tstate);
20414 if (PyErr_Occurred()) SWIG_fail;
20415 }
20416 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_NEW | 0 );
20417 {
20418 if (temp3)
20419 delete arg3;
20420 }
20421 return resultobj;
20422 fail:
20423 {
20424 if (temp3)
20425 delete arg3;
20426 }
20427 return NULL;
20428 }
20429
20430
20431 SWIGINTERN PyObject *_wrap_new_PreFindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20432 PyObject *resultobj = 0;
20433 wxFindReplaceDialog *result = 0 ;
20434
20435 if (!SWIG_Python_UnpackTuple(args,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail;
20436 {
20437 if (!wxPyCheckForApp()) SWIG_fail;
20438 PyThreadState* __tstate = wxPyBeginAllowThreads();
20439 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
20440 wxPyEndAllowThreads(__tstate);
20441 if (PyErr_Occurred()) SWIG_fail;
20442 }
20443 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_OWN | 0 );
20444 return resultobj;
20445 fail:
20446 return NULL;
20447 }
20448
20449
20450 SWIGINTERN PyObject *_wrap_FindReplaceDialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20451 PyObject *resultobj = 0;
20452 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20453 wxWindow *arg2 = (wxWindow *) 0 ;
20454 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
20455 wxString *arg4 = 0 ;
20456 int arg5 = (int) 0 ;
20457 bool result;
20458 void *argp1 = 0 ;
20459 int res1 = 0 ;
20460 void *argp2 = 0 ;
20461 int res2 = 0 ;
20462 void *argp3 = 0 ;
20463 int res3 = 0 ;
20464 bool temp4 = false ;
20465 int val5 ;
20466 int ecode5 = 0 ;
20467 PyObject * obj0 = 0 ;
20468 PyObject * obj1 = 0 ;
20469 PyObject * obj2 = 0 ;
20470 PyObject * obj3 = 0 ;
20471 PyObject * obj4 = 0 ;
20472 char * kwnames[] = {
20473 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20474 };
20475
20476 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
20477 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20478 if (!SWIG_IsOK(res1)) {
20479 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20480 }
20481 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20482 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20483 if (!SWIG_IsOK(res2)) {
20484 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20485 }
20486 arg2 = reinterpret_cast< wxWindow * >(argp2);
20487 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20488 if (!SWIG_IsOK(res3)) {
20489 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20490 }
20491 arg3 = reinterpret_cast< wxFindReplaceData * >(argp3);
20492 {
20493 arg4 = wxString_in_helper(obj3);
20494 if (arg4 == NULL) SWIG_fail;
20495 temp4 = true;
20496 }
20497 if (obj4) {
20498 ecode5 = SWIG_AsVal_int(obj4, &val5);
20499 if (!SWIG_IsOK(ecode5)) {
20500 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20501 }
20502 arg5 = static_cast< int >(val5);
20503 }
20504 {
20505 PyThreadState* __tstate = wxPyBeginAllowThreads();
20506 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
20507 wxPyEndAllowThreads(__tstate);
20508 if (PyErr_Occurred()) SWIG_fail;
20509 }
20510 {
20511 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20512 }
20513 {
20514 if (temp4)
20515 delete arg4;
20516 }
20517 return resultobj;
20518 fail:
20519 {
20520 if (temp4)
20521 delete arg4;
20522 }
20523 return NULL;
20524 }
20525
20526
20527 SWIGINTERN PyObject *_wrap_FindReplaceDialog_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20528 PyObject *resultobj = 0;
20529 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20530 wxFindReplaceData *result = 0 ;
20531 void *argp1 = 0 ;
20532 int res1 = 0 ;
20533 PyObject *swig_obj[1] ;
20534
20535 if (!args) SWIG_fail;
20536 swig_obj[0] = args;
20537 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20538 if (!SWIG_IsOK(res1)) {
20539 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20540 }
20541 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20542 {
20543 PyThreadState* __tstate = wxPyBeginAllowThreads();
20544 result = (wxFindReplaceData *)(arg1)->GetData();
20545 wxPyEndAllowThreads(__tstate);
20546 if (PyErr_Occurred()) SWIG_fail;
20547 }
20548 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20549 return resultobj;
20550 fail:
20551 return NULL;
20552 }
20553
20554
20555 SWIGINTERN PyObject *_wrap_FindReplaceDialog_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20556 PyObject *resultobj = 0;
20557 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20558 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20559 void *argp1 = 0 ;
20560 int res1 = 0 ;
20561 void *argp2 = 0 ;
20562 int res2 = 0 ;
20563 PyObject * obj0 = 0 ;
20564 PyObject * obj1 = 0 ;
20565 char * kwnames[] = {
20566 (char *) "self",(char *) "data", NULL
20567 };
20568
20569 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
20570 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20571 if (!SWIG_IsOK(res1)) {
20572 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20573 }
20574 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20575 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20576 if (!SWIG_IsOK(res2)) {
20577 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20578 }
20579 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20580 {
20581 PyThreadState* __tstate = wxPyBeginAllowThreads();
20582 (arg1)->SetData(arg2);
20583 wxPyEndAllowThreads(__tstate);
20584 if (PyErr_Occurred()) SWIG_fail;
20585 }
20586 resultobj = SWIG_Py_Void();
20587 return resultobj;
20588 fail:
20589 return NULL;
20590 }
20591
20592
20593 SWIGINTERN PyObject *FindReplaceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20594 PyObject *obj;
20595 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20596 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog, SWIG_NewClientData(obj));
20597 return SWIG_Py_Void();
20598 }
20599
20600 SWIGINTERN PyObject *FindReplaceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20601 return SWIG_Python_InitShadowInstance(args);
20602 }
20603
20604 SWIGINTERN PyObject *_wrap_new_MDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20605 PyObject *resultobj = 0;
20606 wxWindow *arg1 = (wxWindow *) 0 ;
20607 int arg2 = (int) (int)-1 ;
20608 wxString const &arg3_defvalue = wxPyEmptyString ;
20609 wxString *arg3 = (wxString *) &arg3_defvalue ;
20610 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20611 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20612 wxSize const &arg5_defvalue = wxDefaultSize ;
20613 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20614 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20615 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20616 wxString *arg7 = (wxString *) &arg7_defvalue ;
20617 wxMDIParentFrame *result = 0 ;
20618 void *argp1 = 0 ;
20619 int res1 = 0 ;
20620 int val2 ;
20621 int ecode2 = 0 ;
20622 bool temp3 = false ;
20623 wxPoint temp4 ;
20624 wxSize temp5 ;
20625 long val6 ;
20626 int ecode6 = 0 ;
20627 bool temp7 = false ;
20628 PyObject * obj0 = 0 ;
20629 PyObject * obj1 = 0 ;
20630 PyObject * obj2 = 0 ;
20631 PyObject * obj3 = 0 ;
20632 PyObject * obj4 = 0 ;
20633 PyObject * obj5 = 0 ;
20634 PyObject * obj6 = 0 ;
20635 char * kwnames[] = {
20636 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20637 };
20638
20639 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20640 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20641 if (!SWIG_IsOK(res1)) {
20642 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20643 }
20644 arg1 = reinterpret_cast< wxWindow * >(argp1);
20645 if (obj1) {
20646 ecode2 = SWIG_AsVal_int(obj1, &val2);
20647 if (!SWIG_IsOK(ecode2)) {
20648 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20649 }
20650 arg2 = static_cast< int >(val2);
20651 }
20652 if (obj2) {
20653 {
20654 arg3 = wxString_in_helper(obj2);
20655 if (arg3 == NULL) SWIG_fail;
20656 temp3 = true;
20657 }
20658 }
20659 if (obj3) {
20660 {
20661 arg4 = &temp4;
20662 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20663 }
20664 }
20665 if (obj4) {
20666 {
20667 arg5 = &temp5;
20668 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20669 }
20670 }
20671 if (obj5) {
20672 ecode6 = SWIG_AsVal_long(obj5, &val6);
20673 if (!SWIG_IsOK(ecode6)) {
20674 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20675 }
20676 arg6 = static_cast< long >(val6);
20677 }
20678 if (obj6) {
20679 {
20680 arg7 = wxString_in_helper(obj6);
20681 if (arg7 == NULL) SWIG_fail;
20682 temp7 = true;
20683 }
20684 }
20685 {
20686 if (!wxPyCheckForApp()) SWIG_fail;
20687 PyThreadState* __tstate = wxPyBeginAllowThreads();
20688 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20689 wxPyEndAllowThreads(__tstate);
20690 if (PyErr_Occurred()) SWIG_fail;
20691 }
20692 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_NEW | 0 );
20693 {
20694 if (temp3)
20695 delete arg3;
20696 }
20697 {
20698 if (temp7)
20699 delete arg7;
20700 }
20701 return resultobj;
20702 fail:
20703 {
20704 if (temp3)
20705 delete arg3;
20706 }
20707 {
20708 if (temp7)
20709 delete arg7;
20710 }
20711 return NULL;
20712 }
20713
20714
20715 SWIGINTERN PyObject *_wrap_new_PreMDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20716 PyObject *resultobj = 0;
20717 wxMDIParentFrame *result = 0 ;
20718
20719 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIParentFrame",0,0,0)) SWIG_fail;
20720 {
20721 if (!wxPyCheckForApp()) SWIG_fail;
20722 PyThreadState* __tstate = wxPyBeginAllowThreads();
20723 result = (wxMDIParentFrame *)new wxMDIParentFrame();
20724 wxPyEndAllowThreads(__tstate);
20725 if (PyErr_Occurred()) SWIG_fail;
20726 }
20727 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_OWN | 0 );
20728 return resultobj;
20729 fail:
20730 return NULL;
20731 }
20732
20733
20734 SWIGINTERN PyObject *_wrap_MDIParentFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20735 PyObject *resultobj = 0;
20736 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20737 wxWindow *arg2 = (wxWindow *) 0 ;
20738 int arg3 = (int) (int)-1 ;
20739 wxString const &arg4_defvalue = wxPyEmptyString ;
20740 wxString *arg4 = (wxString *) &arg4_defvalue ;
20741 wxPoint const &arg5_defvalue = wxDefaultPosition ;
20742 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
20743 wxSize const &arg6_defvalue = wxDefaultSize ;
20744 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
20745 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20746 wxString const &arg8_defvalue = wxPyFrameNameStr ;
20747 wxString *arg8 = (wxString *) &arg8_defvalue ;
20748 bool result;
20749 void *argp1 = 0 ;
20750 int res1 = 0 ;
20751 void *argp2 = 0 ;
20752 int res2 = 0 ;
20753 int val3 ;
20754 int ecode3 = 0 ;
20755 bool temp4 = false ;
20756 wxPoint temp5 ;
20757 wxSize temp6 ;
20758 long val7 ;
20759 int ecode7 = 0 ;
20760 bool temp8 = false ;
20761 PyObject * obj0 = 0 ;
20762 PyObject * obj1 = 0 ;
20763 PyObject * obj2 = 0 ;
20764 PyObject * obj3 = 0 ;
20765 PyObject * obj4 = 0 ;
20766 PyObject * obj5 = 0 ;
20767 PyObject * obj6 = 0 ;
20768 PyObject * obj7 = 0 ;
20769 char * kwnames[] = {
20770 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20771 };
20772
20773 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
20774 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20775 if (!SWIG_IsOK(res1)) {
20776 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20777 }
20778 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20779 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20780 if (!SWIG_IsOK(res2)) {
20781 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20782 }
20783 arg2 = reinterpret_cast< wxWindow * >(argp2);
20784 if (obj2) {
20785 ecode3 = SWIG_AsVal_int(obj2, &val3);
20786 if (!SWIG_IsOK(ecode3)) {
20787 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20788 }
20789 arg3 = static_cast< int >(val3);
20790 }
20791 if (obj3) {
20792 {
20793 arg4 = wxString_in_helper(obj3);
20794 if (arg4 == NULL) SWIG_fail;
20795 temp4 = true;
20796 }
20797 }
20798 if (obj4) {
20799 {
20800 arg5 = &temp5;
20801 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
20802 }
20803 }
20804 if (obj5) {
20805 {
20806 arg6 = &temp6;
20807 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
20808 }
20809 }
20810 if (obj6) {
20811 ecode7 = SWIG_AsVal_long(obj6, &val7);
20812 if (!SWIG_IsOK(ecode7)) {
20813 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20814 }
20815 arg7 = static_cast< long >(val7);
20816 }
20817 if (obj7) {
20818 {
20819 arg8 = wxString_in_helper(obj7);
20820 if (arg8 == NULL) SWIG_fail;
20821 temp8 = true;
20822 }
20823 }
20824 {
20825 PyThreadState* __tstate = wxPyBeginAllowThreads();
20826 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
20827 wxPyEndAllowThreads(__tstate);
20828 if (PyErr_Occurred()) SWIG_fail;
20829 }
20830 {
20831 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20832 }
20833 {
20834 if (temp4)
20835 delete arg4;
20836 }
20837 {
20838 if (temp8)
20839 delete arg8;
20840 }
20841 return resultobj;
20842 fail:
20843 {
20844 if (temp4)
20845 delete arg4;
20846 }
20847 {
20848 if (temp8)
20849 delete arg8;
20850 }
20851 return NULL;
20852 }
20853
20854
20855 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20856 PyObject *resultobj = 0;
20857 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20858 void *argp1 = 0 ;
20859 int res1 = 0 ;
20860 PyObject *swig_obj[1] ;
20861
20862 if (!args) SWIG_fail;
20863 swig_obj[0] = args;
20864 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20865 if (!SWIG_IsOK(res1)) {
20866 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20867 }
20868 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20869 {
20870 PyThreadState* __tstate = wxPyBeginAllowThreads();
20871 (arg1)->ActivateNext();
20872 wxPyEndAllowThreads(__tstate);
20873 if (PyErr_Occurred()) SWIG_fail;
20874 }
20875 resultobj = SWIG_Py_Void();
20876 return resultobj;
20877 fail:
20878 return NULL;
20879 }
20880
20881
20882 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20883 PyObject *resultobj = 0;
20884 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20885 void *argp1 = 0 ;
20886 int res1 = 0 ;
20887 PyObject *swig_obj[1] ;
20888
20889 if (!args) SWIG_fail;
20890 swig_obj[0] = args;
20891 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20892 if (!SWIG_IsOK(res1)) {
20893 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20894 }
20895 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20896 {
20897 PyThreadState* __tstate = wxPyBeginAllowThreads();
20898 (arg1)->ActivatePrevious();
20899 wxPyEndAllowThreads(__tstate);
20900 if (PyErr_Occurred()) SWIG_fail;
20901 }
20902 resultobj = SWIG_Py_Void();
20903 return resultobj;
20904 fail:
20905 return NULL;
20906 }
20907
20908
20909 SWIGINTERN PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20910 PyObject *resultobj = 0;
20911 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20912 void *argp1 = 0 ;
20913 int res1 = 0 ;
20914 PyObject *swig_obj[1] ;
20915
20916 if (!args) SWIG_fail;
20917 swig_obj[0] = args;
20918 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20919 if (!SWIG_IsOK(res1)) {
20920 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20921 }
20922 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20923 {
20924 PyThreadState* __tstate = wxPyBeginAllowThreads();
20925 (arg1)->ArrangeIcons();
20926 wxPyEndAllowThreads(__tstate);
20927 if (PyErr_Occurred()) SWIG_fail;
20928 }
20929 resultobj = SWIG_Py_Void();
20930 return resultobj;
20931 fail:
20932 return NULL;
20933 }
20934
20935
20936 SWIGINTERN PyObject *_wrap_MDIParentFrame_Cascade(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20937 PyObject *resultobj = 0;
20938 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20939 void *argp1 = 0 ;
20940 int res1 = 0 ;
20941 PyObject *swig_obj[1] ;
20942
20943 if (!args) SWIG_fail;
20944 swig_obj[0] = args;
20945 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20946 if (!SWIG_IsOK(res1)) {
20947 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20948 }
20949 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20950 {
20951 PyThreadState* __tstate = wxPyBeginAllowThreads();
20952 (arg1)->Cascade();
20953 wxPyEndAllowThreads(__tstate);
20954 if (PyErr_Occurred()) SWIG_fail;
20955 }
20956 resultobj = SWIG_Py_Void();
20957 return resultobj;
20958 fail:
20959 return NULL;
20960 }
20961
20962
20963 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20964 PyObject *resultobj = 0;
20965 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20966 wxMDIChildFrame *result = 0 ;
20967 void *argp1 = 0 ;
20968 int res1 = 0 ;
20969 PyObject *swig_obj[1] ;
20970
20971 if (!args) SWIG_fail;
20972 swig_obj[0] = args;
20973 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20974 if (!SWIG_IsOK(res1)) {
20975 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20976 }
20977 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20978 {
20979 PyThreadState* __tstate = wxPyBeginAllowThreads();
20980 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
20981 wxPyEndAllowThreads(__tstate);
20982 if (PyErr_Occurred()) SWIG_fail;
20983 }
20984 {
20985 resultobj = wxPyMake_wxObject(result, (bool)0);
20986 }
20987 return resultobj;
20988 fail:
20989 return NULL;
20990 }
20991
20992
20993 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20994 PyObject *resultobj = 0;
20995 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20996 wxMDIClientWindow *result = 0 ;
20997 void *argp1 = 0 ;
20998 int res1 = 0 ;
20999 PyObject *swig_obj[1] ;
21000
21001 if (!args) SWIG_fail;
21002 swig_obj[0] = args;
21003 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21004 if (!SWIG_IsOK(res1)) {
21005 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21006 }
21007 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21008 {
21009 PyThreadState* __tstate = wxPyBeginAllowThreads();
21010 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
21011 wxPyEndAllowThreads(__tstate);
21012 if (PyErr_Occurred()) SWIG_fail;
21013 }
21014 {
21015 resultobj = wxPyMake_wxObject(result, (bool)0);
21016 }
21017 return resultobj;
21018 fail:
21019 return NULL;
21020 }
21021
21022
21023 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetWindowMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21024 PyObject *resultobj = 0;
21025 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21026 wxMenu *result = 0 ;
21027 void *argp1 = 0 ;
21028 int res1 = 0 ;
21029 PyObject *swig_obj[1] ;
21030
21031 if (!args) SWIG_fail;
21032 swig_obj[0] = args;
21033 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21034 if (!SWIG_IsOK(res1)) {
21035 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21036 }
21037 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21038 {
21039 PyThreadState* __tstate = wxPyBeginAllowThreads();
21040 result = (wxMenu *)(arg1)->GetWindowMenu();
21041 wxPyEndAllowThreads(__tstate);
21042 if (PyErr_Occurred()) SWIG_fail;
21043 }
21044 {
21045 resultobj = wxPyMake_wxObject(result, 0);
21046 }
21047 return resultobj;
21048 fail:
21049 return NULL;
21050 }
21051
21052
21053 SWIGINTERN PyObject *_wrap_MDIParentFrame_SetWindowMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21054 PyObject *resultobj = 0;
21055 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21056 wxMenu *arg2 = (wxMenu *) 0 ;
21057 void *argp1 = 0 ;
21058 int res1 = 0 ;
21059 void *argp2 = 0 ;
21060 int res2 = 0 ;
21061 PyObject * obj0 = 0 ;
21062 PyObject * obj1 = 0 ;
21063 char * kwnames[] = {
21064 (char *) "self",(char *) "menu", NULL
21065 };
21066
21067 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames,&obj0,&obj1)) SWIG_fail;
21068 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21069 if (!SWIG_IsOK(res1)) {
21070 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21071 }
21072 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21073 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
21074 if (!SWIG_IsOK(res2)) {
21075 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
21076 }
21077 arg2 = reinterpret_cast< wxMenu * >(argp2);
21078 {
21079 PyThreadState* __tstate = wxPyBeginAllowThreads();
21080 (arg1)->SetWindowMenu(arg2);
21081 wxPyEndAllowThreads(__tstate);
21082 if (PyErr_Occurred()) SWIG_fail;
21083 }
21084 resultobj = SWIG_Py_Void();
21085 return resultobj;
21086 fail:
21087 return NULL;
21088 }
21089
21090
21091 SWIGINTERN PyObject *_wrap_MDIParentFrame_Tile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21092 PyObject *resultobj = 0;
21093 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21094 wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ;
21095 void *argp1 = 0 ;
21096 int res1 = 0 ;
21097 int val2 ;
21098 int ecode2 = 0 ;
21099 PyObject * obj0 = 0 ;
21100 PyObject * obj1 = 0 ;
21101 char * kwnames[] = {
21102 (char *) "self",(char *) "orient", NULL
21103 };
21104
21105 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) SWIG_fail;
21106 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21107 if (!SWIG_IsOK(res1)) {
21108 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21109 }
21110 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21111 if (obj1) {
21112 ecode2 = SWIG_AsVal_int(obj1, &val2);
21113 if (!SWIG_IsOK(ecode2)) {
21114 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
21115 }
21116 arg2 = static_cast< wxOrientation >(val2);
21117 }
21118 {
21119 PyThreadState* __tstate = wxPyBeginAllowThreads();
21120 (arg1)->Tile(arg2);
21121 wxPyEndAllowThreads(__tstate);
21122 if (PyErr_Occurred()) SWIG_fail;
21123 }
21124 resultobj = SWIG_Py_Void();
21125 return resultobj;
21126 fail:
21127 return NULL;
21128 }
21129
21130
21131 SWIGINTERN PyObject *MDIParentFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21132 PyObject *obj;
21133 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21134 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame, SWIG_NewClientData(obj));
21135 return SWIG_Py_Void();
21136 }
21137
21138 SWIGINTERN PyObject *MDIParentFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21139 return SWIG_Python_InitShadowInstance(args);
21140 }
21141
21142 SWIGINTERN PyObject *_wrap_new_MDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21143 PyObject *resultobj = 0;
21144 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21145 int arg2 = (int) (int)-1 ;
21146 wxString const &arg3_defvalue = wxPyEmptyString ;
21147 wxString *arg3 = (wxString *) &arg3_defvalue ;
21148 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21149 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21150 wxSize const &arg5_defvalue = wxDefaultSize ;
21151 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21152 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
21153 wxString const &arg7_defvalue = wxPyFrameNameStr ;
21154 wxString *arg7 = (wxString *) &arg7_defvalue ;
21155 wxMDIChildFrame *result = 0 ;
21156 void *argp1 = 0 ;
21157 int res1 = 0 ;
21158 int val2 ;
21159 int ecode2 = 0 ;
21160 bool temp3 = false ;
21161 wxPoint temp4 ;
21162 wxSize temp5 ;
21163 long val6 ;
21164 int ecode6 = 0 ;
21165 bool temp7 = false ;
21166 PyObject * obj0 = 0 ;
21167 PyObject * obj1 = 0 ;
21168 PyObject * obj2 = 0 ;
21169 PyObject * obj3 = 0 ;
21170 PyObject * obj4 = 0 ;
21171 PyObject * obj5 = 0 ;
21172 PyObject * obj6 = 0 ;
21173 char * kwnames[] = {
21174 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21175 };
21176
21177 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
21178 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21179 if (!SWIG_IsOK(res1)) {
21180 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21181 }
21182 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21183 if (obj1) {
21184 ecode2 = SWIG_AsVal_int(obj1, &val2);
21185 if (!SWIG_IsOK(ecode2)) {
21186 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
21187 }
21188 arg2 = static_cast< int >(val2);
21189 }
21190 if (obj2) {
21191 {
21192 arg3 = wxString_in_helper(obj2);
21193 if (arg3 == NULL) SWIG_fail;
21194 temp3 = true;
21195 }
21196 }
21197 if (obj3) {
21198 {
21199 arg4 = &temp4;
21200 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21201 }
21202 }
21203 if (obj4) {
21204 {
21205 arg5 = &temp5;
21206 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21207 }
21208 }
21209 if (obj5) {
21210 ecode6 = SWIG_AsVal_long(obj5, &val6);
21211 if (!SWIG_IsOK(ecode6)) {
21212 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
21213 }
21214 arg6 = static_cast< long >(val6);
21215 }
21216 if (obj6) {
21217 {
21218 arg7 = wxString_in_helper(obj6);
21219 if (arg7 == NULL) SWIG_fail;
21220 temp7 = true;
21221 }
21222 }
21223 {
21224 if (!wxPyCheckForApp()) SWIG_fail;
21225 PyThreadState* __tstate = wxPyBeginAllowThreads();
21226 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21227 wxPyEndAllowThreads(__tstate);
21228 if (PyErr_Occurred()) SWIG_fail;
21229 }
21230 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_NEW | 0 );
21231 {
21232 if (temp3)
21233 delete arg3;
21234 }
21235 {
21236 if (temp7)
21237 delete arg7;
21238 }
21239 return resultobj;
21240 fail:
21241 {
21242 if (temp3)
21243 delete arg3;
21244 }
21245 {
21246 if (temp7)
21247 delete arg7;
21248 }
21249 return NULL;
21250 }
21251
21252
21253 SWIGINTERN PyObject *_wrap_new_PreMDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21254 PyObject *resultobj = 0;
21255 wxMDIChildFrame *result = 0 ;
21256
21257 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIChildFrame",0,0,0)) SWIG_fail;
21258 {
21259 if (!wxPyCheckForApp()) SWIG_fail;
21260 PyThreadState* __tstate = wxPyBeginAllowThreads();
21261 result = (wxMDIChildFrame *)new wxMDIChildFrame();
21262 wxPyEndAllowThreads(__tstate);
21263 if (PyErr_Occurred()) SWIG_fail;
21264 }
21265 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_OWN | 0 );
21266 return resultobj;
21267 fail:
21268 return NULL;
21269 }
21270
21271
21272 SWIGINTERN PyObject *_wrap_MDIChildFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21273 PyObject *resultobj = 0;
21274 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
21275 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
21276 int arg3 = (int) (int)-1 ;
21277 wxString const &arg4_defvalue = wxPyEmptyString ;
21278 wxString *arg4 = (wxString *) &arg4_defvalue ;
21279 wxPoint const &arg5_defvalue = wxDefaultPosition ;
21280 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
21281 wxSize const &arg6_defvalue = wxDefaultSize ;
21282 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
21283 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
21284 wxString const &arg8_defvalue = wxPyFrameNameStr ;
21285 wxString *arg8 = (wxString *) &arg8_defvalue ;
21286 bool result;
21287 void *argp1 = 0 ;
21288 int res1 = 0 ;
21289 void *argp2 = 0 ;
21290 int res2 = 0 ;
21291 int val3 ;
21292 int ecode3 = 0 ;
21293 bool temp4 = false ;
21294 wxPoint temp5 ;
21295 wxSize temp6 ;
21296 long val7 ;
21297 int ecode7 = 0 ;
21298 bool temp8 = false ;
21299 PyObject * obj0 = 0 ;
21300 PyObject * obj1 = 0 ;
21301 PyObject * obj2 = 0 ;
21302 PyObject * obj3 = 0 ;
21303 PyObject * obj4 = 0 ;
21304 PyObject * obj5 = 0 ;
21305 PyObject * obj6 = 0 ;
21306 PyObject * obj7 = 0 ;
21307 char * kwnames[] = {
21308 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21309 };
21310
21311 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
21312 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
21313 if (!SWIG_IsOK(res1)) {
21314 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21315 }
21316 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
21317 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21318 if (!SWIG_IsOK(res2)) {
21319 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21320 }
21321 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21322 if (obj2) {
21323 ecode3 = SWIG_AsVal_int(obj2, &val3);
21324 if (!SWIG_IsOK(ecode3)) {
21325 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
21326 }
21327 arg3 = static_cast< int >(val3);
21328 }
21329 if (obj3) {
21330 {
21331 arg4 = wxString_in_helper(obj3);
21332 if (arg4 == NULL) SWIG_fail;
21333 temp4 = true;
21334 }
21335 }
21336 if (obj4) {
21337 {
21338 arg5 = &temp5;
21339 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
21340 }
21341 }
21342 if (obj5) {
21343 {
21344 arg6 = &temp6;
21345 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
21346 }
21347 }
21348 if (obj6) {
21349 ecode7 = SWIG_AsVal_long(obj6, &val7);
21350 if (!SWIG_IsOK(ecode7)) {
21351 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
21352 }
21353 arg7 = static_cast< long >(val7);
21354 }
21355 if (obj7) {
21356 {
21357 arg8 = wxString_in_helper(obj7);
21358 if (arg8 == NULL) SWIG_fail;
21359 temp8 = true;
21360 }
21361 }
21362 {
21363 PyThreadState* __tstate = wxPyBeginAllowThreads();
21364 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
21365 wxPyEndAllowThreads(__tstate);
21366 if (PyErr_Occurred()) SWIG_fail;
21367 }
21368 {
21369 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21370 }
21371 {
21372 if (temp4)
21373 delete arg4;
21374 }
21375 {
21376 if (temp8)
21377 delete arg8;
21378 }
21379 return resultobj;
21380 fail:
21381 {
21382 if (temp4)
21383 delete arg4;
21384 }
21385 {
21386 if (temp8)
21387 delete arg8;
21388 }
21389 return NULL;
21390 }
21391
21392
21393 SWIGINTERN PyObject *_wrap_MDIChildFrame_Activate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21394 PyObject *resultobj = 0;
21395 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
21396 void *argp1 = 0 ;
21397 int res1 = 0 ;
21398 PyObject *swig_obj[1] ;
21399
21400 if (!args) SWIG_fail;
21401 swig_obj[0] = args;
21402 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
21403 if (!SWIG_IsOK(res1)) {
21404 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21405 }
21406 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
21407 {
21408 PyThreadState* __tstate = wxPyBeginAllowThreads();
21409 (arg1)->Activate();
21410 wxPyEndAllowThreads(__tstate);
21411 if (PyErr_Occurred()) SWIG_fail;
21412 }
21413 resultobj = SWIG_Py_Void();
21414 return resultobj;
21415 fail:
21416 return NULL;
21417 }
21418
21419
21420 SWIGINTERN PyObject *MDIChildFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21421 PyObject *obj;
21422 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21423 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame, SWIG_NewClientData(obj));
21424 return SWIG_Py_Void();
21425 }
21426
21427 SWIGINTERN PyObject *MDIChildFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21428 return SWIG_Python_InitShadowInstance(args);
21429 }
21430
21431 SWIGINTERN PyObject *_wrap_new_MDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21432 PyObject *resultobj = 0;
21433 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21434 long arg2 = (long) 0 ;
21435 wxMDIClientWindow *result = 0 ;
21436 void *argp1 = 0 ;
21437 int res1 = 0 ;
21438 long val2 ;
21439 int ecode2 = 0 ;
21440 PyObject * obj0 = 0 ;
21441 PyObject * obj1 = 0 ;
21442 char * kwnames[] = {
21443 (char *) "parent",(char *) "style", NULL
21444 };
21445
21446 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
21447 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21448 if (!SWIG_IsOK(res1)) {
21449 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21450 }
21451 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21452 if (obj1) {
21453 ecode2 = SWIG_AsVal_long(obj1, &val2);
21454 if (!SWIG_IsOK(ecode2)) {
21455 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
21456 }
21457 arg2 = static_cast< long >(val2);
21458 }
21459 {
21460 if (!wxPyCheckForApp()) SWIG_fail;
21461 PyThreadState* __tstate = wxPyBeginAllowThreads();
21462 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
21463 wxPyEndAllowThreads(__tstate);
21464 if (PyErr_Occurred()) SWIG_fail;
21465 }
21466 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_NEW | 0 );
21467 return resultobj;
21468 fail:
21469 return NULL;
21470 }
21471
21472
21473 SWIGINTERN PyObject *_wrap_new_PreMDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21474 PyObject *resultobj = 0;
21475 wxMDIClientWindow *result = 0 ;
21476
21477 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIClientWindow",0,0,0)) SWIG_fail;
21478 {
21479 if (!wxPyCheckForApp()) SWIG_fail;
21480 PyThreadState* __tstate = wxPyBeginAllowThreads();
21481 result = (wxMDIClientWindow *)new wxMDIClientWindow();
21482 wxPyEndAllowThreads(__tstate);
21483 if (PyErr_Occurred()) SWIG_fail;
21484 }
21485 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_OWN | 0 );
21486 return resultobj;
21487 fail:
21488 return NULL;
21489 }
21490
21491
21492 SWIGINTERN PyObject *_wrap_MDIClientWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21493 PyObject *resultobj = 0;
21494 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
21495 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
21496 long arg3 = (long) 0 ;
21497 bool result;
21498 void *argp1 = 0 ;
21499 int res1 = 0 ;
21500 void *argp2 = 0 ;
21501 int res2 = 0 ;
21502 long val3 ;
21503 int ecode3 = 0 ;
21504 PyObject * obj0 = 0 ;
21505 PyObject * obj1 = 0 ;
21506 PyObject * obj2 = 0 ;
21507 char * kwnames[] = {
21508 (char *) "self",(char *) "parent",(char *) "style", NULL
21509 };
21510
21511 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21512 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIClientWindow, 0 | 0 );
21513 if (!SWIG_IsOK(res1)) {
21514 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21515 }
21516 arg1 = reinterpret_cast< wxMDIClientWindow * >(argp1);
21517 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21518 if (!SWIG_IsOK(res2)) {
21519 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21520 }
21521 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21522 if (obj2) {
21523 ecode3 = SWIG_AsVal_long(obj2, &val3);
21524 if (!SWIG_IsOK(ecode3)) {
21525 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21526 }
21527 arg3 = static_cast< long >(val3);
21528 }
21529 {
21530 PyThreadState* __tstate = wxPyBeginAllowThreads();
21531 result = (bool)(arg1)->Create(arg2,arg3);
21532 wxPyEndAllowThreads(__tstate);
21533 if (PyErr_Occurred()) SWIG_fail;
21534 }
21535 {
21536 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21537 }
21538 return resultobj;
21539 fail:
21540 return NULL;
21541 }
21542
21543
21544 SWIGINTERN PyObject *MDIClientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21545 PyObject *obj;
21546 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21547 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow, SWIG_NewClientData(obj));
21548 return SWIG_Py_Void();
21549 }
21550
21551 SWIGINTERN PyObject *MDIClientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21552 return SWIG_Python_InitShadowInstance(args);
21553 }
21554
21555 SWIGINTERN PyObject *_wrap_new_PyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21556 PyObject *resultobj = 0;
21557 wxWindow *arg1 = (wxWindow *) 0 ;
21558 int arg2 = (int) (int)-1 ;
21559 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21560 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21561 wxSize const &arg4_defvalue = wxDefaultSize ;
21562 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21563 long arg5 = (long) 0 ;
21564 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21565 wxString *arg6 = (wxString *) &arg6_defvalue ;
21566 wxPyWindow *result = 0 ;
21567 void *argp1 = 0 ;
21568 int res1 = 0 ;
21569 int val2 ;
21570 int ecode2 = 0 ;
21571 wxPoint temp3 ;
21572 wxSize temp4 ;
21573 long val5 ;
21574 int ecode5 = 0 ;
21575 bool temp6 = false ;
21576 PyObject * obj0 = 0 ;
21577 PyObject * obj1 = 0 ;
21578 PyObject * obj2 = 0 ;
21579 PyObject * obj3 = 0 ;
21580 PyObject * obj4 = 0 ;
21581 PyObject * obj5 = 0 ;
21582 char * kwnames[] = {
21583 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21584 };
21585
21586 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21587 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21588 if (!SWIG_IsOK(res1)) {
21589 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21590 }
21591 arg1 = reinterpret_cast< wxWindow * >(argp1);
21592 if (obj1) {
21593 ecode2 = SWIG_AsVal_int(obj1, &val2);
21594 if (!SWIG_IsOK(ecode2)) {
21595 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21596 }
21597 arg2 = static_cast< int >(val2);
21598 }
21599 if (obj2) {
21600 {
21601 arg3 = &temp3;
21602 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21603 }
21604 }
21605 if (obj3) {
21606 {
21607 arg4 = &temp4;
21608 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21609 }
21610 }
21611 if (obj4) {
21612 ecode5 = SWIG_AsVal_long(obj4, &val5);
21613 if (!SWIG_IsOK(ecode5)) {
21614 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21615 }
21616 arg5 = static_cast< long >(val5);
21617 }
21618 if (obj5) {
21619 {
21620 arg6 = wxString_in_helper(obj5);
21621 if (arg6 == NULL) SWIG_fail;
21622 temp6 = true;
21623 }
21624 }
21625 {
21626 if (!wxPyCheckForApp()) SWIG_fail;
21627 PyThreadState* __tstate = wxPyBeginAllowThreads();
21628 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21629 wxPyEndAllowThreads(__tstate);
21630 if (PyErr_Occurred()) SWIG_fail;
21631 }
21632 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_NEW | 0 );
21633 {
21634 if (temp6)
21635 delete arg6;
21636 }
21637 return resultobj;
21638 fail:
21639 {
21640 if (temp6)
21641 delete arg6;
21642 }
21643 return NULL;
21644 }
21645
21646
21647 SWIGINTERN PyObject *_wrap_new_PrePyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21648 PyObject *resultobj = 0;
21649 wxPyWindow *result = 0 ;
21650
21651 if (!SWIG_Python_UnpackTuple(args,"new_PrePyWindow",0,0,0)) SWIG_fail;
21652 {
21653 if (!wxPyCheckForApp()) SWIG_fail;
21654 PyThreadState* __tstate = wxPyBeginAllowThreads();
21655 result = (wxPyWindow *)new wxPyWindow();
21656 wxPyEndAllowThreads(__tstate);
21657 if (PyErr_Occurred()) SWIG_fail;
21658 }
21659 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_OWN | 0 );
21660 return resultobj;
21661 fail:
21662 return NULL;
21663 }
21664
21665
21666 SWIGINTERN PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21667 PyObject *resultobj = 0;
21668 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21669 PyObject *arg2 = (PyObject *) 0 ;
21670 PyObject *arg3 = (PyObject *) 0 ;
21671 void *argp1 = 0 ;
21672 int res1 = 0 ;
21673 PyObject * obj0 = 0 ;
21674 PyObject * obj1 = 0 ;
21675 PyObject * obj2 = 0 ;
21676 char * kwnames[] = {
21677 (char *) "self",(char *) "self",(char *) "_class", NULL
21678 };
21679
21680 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21681 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21682 if (!SWIG_IsOK(res1)) {
21683 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21684 }
21685 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21686 arg2 = obj1;
21687 arg3 = obj2;
21688 {
21689 PyThreadState* __tstate = wxPyBeginAllowThreads();
21690 (arg1)->_setCallbackInfo(arg2,arg3);
21691 wxPyEndAllowThreads(__tstate);
21692 if (PyErr_Occurred()) SWIG_fail;
21693 }
21694 resultobj = SWIG_Py_Void();
21695 return resultobj;
21696 fail:
21697 return NULL;
21698 }
21699
21700
21701 SWIGINTERN PyObject *_wrap_PyWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21702 PyObject *resultobj = 0;
21703 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21704 wxDC *arg2 = (wxDC *) 0 ;
21705 bool result;
21706 void *argp1 = 0 ;
21707 int res1 = 0 ;
21708 void *argp2 = 0 ;
21709 int res2 = 0 ;
21710 PyObject * obj0 = 0 ;
21711 PyObject * obj1 = 0 ;
21712 char * kwnames[] = {
21713 (char *) "self",(char *) "dc", NULL
21714 };
21715
21716 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
21717 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21718 if (!SWIG_IsOK(res1)) {
21719 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21720 }
21721 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21722 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
21723 if (!SWIG_IsOK(res2)) {
21724 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21725 }
21726 arg2 = reinterpret_cast< wxDC * >(argp2);
21727 {
21728 PyThreadState* __tstate = wxPyBeginAllowThreads();
21729 result = (bool)(arg1)->DoEraseBackground(arg2);
21730 wxPyEndAllowThreads(__tstate);
21731 if (PyErr_Occurred()) SWIG_fail;
21732 }
21733 {
21734 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21735 }
21736 return resultobj;
21737 fail:
21738 return NULL;
21739 }
21740
21741
21742 SWIGINTERN PyObject *_wrap_PyWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21743 PyObject *resultobj = 0;
21744 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21745 int arg2 ;
21746 int arg3 ;
21747 int arg4 ;
21748 int arg5 ;
21749 void *argp1 = 0 ;
21750 int res1 = 0 ;
21751 int val2 ;
21752 int ecode2 = 0 ;
21753 int val3 ;
21754 int ecode3 = 0 ;
21755 int val4 ;
21756 int ecode4 = 0 ;
21757 int val5 ;
21758 int ecode5 = 0 ;
21759 PyObject * obj0 = 0 ;
21760 PyObject * obj1 = 0 ;
21761 PyObject * obj2 = 0 ;
21762 PyObject * obj3 = 0 ;
21763 PyObject * obj4 = 0 ;
21764 char * kwnames[] = {
21765 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21766 };
21767
21768 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
21769 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21770 if (!SWIG_IsOK(res1)) {
21771 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21772 }
21773 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21774 ecode2 = SWIG_AsVal_int(obj1, &val2);
21775 if (!SWIG_IsOK(ecode2)) {
21776 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21777 }
21778 arg2 = static_cast< int >(val2);
21779 ecode3 = SWIG_AsVal_int(obj2, &val3);
21780 if (!SWIG_IsOK(ecode3)) {
21781 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21782 }
21783 arg3 = static_cast< int >(val3);
21784 ecode4 = SWIG_AsVal_int(obj3, &val4);
21785 if (!SWIG_IsOK(ecode4)) {
21786 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21787 }
21788 arg4 = static_cast< int >(val4);
21789 ecode5 = SWIG_AsVal_int(obj4, &val5);
21790 if (!SWIG_IsOK(ecode5)) {
21791 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21792 }
21793 arg5 = static_cast< int >(val5);
21794 {
21795 PyThreadState* __tstate = wxPyBeginAllowThreads();
21796 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
21797 wxPyEndAllowThreads(__tstate);
21798 if (PyErr_Occurred()) SWIG_fail;
21799 }
21800 resultobj = SWIG_Py_Void();
21801 return resultobj;
21802 fail:
21803 return NULL;
21804 }
21805
21806
21807 SWIGINTERN PyObject *_wrap_PyWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21808 PyObject *resultobj = 0;
21809 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21810 int arg2 ;
21811 int arg3 ;
21812 int arg4 ;
21813 int arg5 ;
21814 int arg6 = (int) wxSIZE_AUTO ;
21815 void *argp1 = 0 ;
21816 int res1 = 0 ;
21817 int val2 ;
21818 int ecode2 = 0 ;
21819 int val3 ;
21820 int ecode3 = 0 ;
21821 int val4 ;
21822 int ecode4 = 0 ;
21823 int val5 ;
21824 int ecode5 = 0 ;
21825 int val6 ;
21826 int ecode6 = 0 ;
21827 PyObject * obj0 = 0 ;
21828 PyObject * obj1 = 0 ;
21829 PyObject * obj2 = 0 ;
21830 PyObject * obj3 = 0 ;
21831 PyObject * obj4 = 0 ;
21832 PyObject * obj5 = 0 ;
21833 char * kwnames[] = {
21834 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21835 };
21836
21837 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21838 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21839 if (!SWIG_IsOK(res1)) {
21840 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21841 }
21842 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21843 ecode2 = SWIG_AsVal_int(obj1, &val2);
21844 if (!SWIG_IsOK(ecode2)) {
21845 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21846 }
21847 arg2 = static_cast< int >(val2);
21848 ecode3 = SWIG_AsVal_int(obj2, &val3);
21849 if (!SWIG_IsOK(ecode3)) {
21850 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21851 }
21852 arg3 = static_cast< int >(val3);
21853 ecode4 = SWIG_AsVal_int(obj3, &val4);
21854 if (!SWIG_IsOK(ecode4)) {
21855 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21856 }
21857 arg4 = static_cast< int >(val4);
21858 ecode5 = SWIG_AsVal_int(obj4, &val5);
21859 if (!SWIG_IsOK(ecode5)) {
21860 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21861 }
21862 arg5 = static_cast< int >(val5);
21863 if (obj5) {
21864 ecode6 = SWIG_AsVal_int(obj5, &val6);
21865 if (!SWIG_IsOK(ecode6)) {
21866 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21867 }
21868 arg6 = static_cast< int >(val6);
21869 }
21870 {
21871 PyThreadState* __tstate = wxPyBeginAllowThreads();
21872 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
21873 wxPyEndAllowThreads(__tstate);
21874 if (PyErr_Occurred()) SWIG_fail;
21875 }
21876 resultobj = SWIG_Py_Void();
21877 return resultobj;
21878 fail:
21879 return NULL;
21880 }
21881
21882
21883 SWIGINTERN PyObject *_wrap_PyWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21884 PyObject *resultobj = 0;
21885 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21886 int arg2 ;
21887 int arg3 ;
21888 void *argp1 = 0 ;
21889 int res1 = 0 ;
21890 int val2 ;
21891 int ecode2 = 0 ;
21892 int val3 ;
21893 int ecode3 = 0 ;
21894 PyObject * obj0 = 0 ;
21895 PyObject * obj1 = 0 ;
21896 PyObject * obj2 = 0 ;
21897 char * kwnames[] = {
21898 (char *) "self",(char *) "width",(char *) "height", NULL
21899 };
21900
21901 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21902 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21903 if (!SWIG_IsOK(res1)) {
21904 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21905 }
21906 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21907 ecode2 = SWIG_AsVal_int(obj1, &val2);
21908 if (!SWIG_IsOK(ecode2)) {
21909 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21910 }
21911 arg2 = static_cast< int >(val2);
21912 ecode3 = SWIG_AsVal_int(obj2, &val3);
21913 if (!SWIG_IsOK(ecode3)) {
21914 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21915 }
21916 arg3 = static_cast< int >(val3);
21917 {
21918 PyThreadState* __tstate = wxPyBeginAllowThreads();
21919 (arg1)->DoSetClientSize(arg2,arg3);
21920 wxPyEndAllowThreads(__tstate);
21921 if (PyErr_Occurred()) SWIG_fail;
21922 }
21923 resultobj = SWIG_Py_Void();
21924 return resultobj;
21925 fail:
21926 return NULL;
21927 }
21928
21929
21930 SWIGINTERN PyObject *_wrap_PyWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21931 PyObject *resultobj = 0;
21932 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21933 int arg2 ;
21934 int arg3 ;
21935 void *argp1 = 0 ;
21936 int res1 = 0 ;
21937 int val2 ;
21938 int ecode2 = 0 ;
21939 int val3 ;
21940 int ecode3 = 0 ;
21941 PyObject * obj0 = 0 ;
21942 PyObject * obj1 = 0 ;
21943 PyObject * obj2 = 0 ;
21944 char * kwnames[] = {
21945 (char *) "self",(char *) "x",(char *) "y", NULL
21946 };
21947
21948 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21949 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21950 if (!SWIG_IsOK(res1)) {
21951 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21952 }
21953 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21954 ecode2 = SWIG_AsVal_int(obj1, &val2);
21955 if (!SWIG_IsOK(ecode2)) {
21956 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21957 }
21958 arg2 = static_cast< int >(val2);
21959 ecode3 = SWIG_AsVal_int(obj2, &val3);
21960 if (!SWIG_IsOK(ecode3)) {
21961 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21962 }
21963 arg3 = static_cast< int >(val3);
21964 {
21965 PyThreadState* __tstate = wxPyBeginAllowThreads();
21966 (arg1)->DoSetVirtualSize(arg2,arg3);
21967 wxPyEndAllowThreads(__tstate);
21968 if (PyErr_Occurred()) SWIG_fail;
21969 }
21970 resultobj = SWIG_Py_Void();
21971 return resultobj;
21972 fail:
21973 return NULL;
21974 }
21975
21976
21977 SWIGINTERN PyObject *_wrap_PyWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21978 PyObject *resultobj = 0;
21979 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21980 int *arg2 = (int *) 0 ;
21981 int *arg3 = (int *) 0 ;
21982 void *argp1 = 0 ;
21983 int res1 = 0 ;
21984 int temp2 ;
21985 int res2 = SWIG_TMPOBJ ;
21986 int temp3 ;
21987 int res3 = SWIG_TMPOBJ ;
21988 PyObject *swig_obj[1] ;
21989
21990 arg2 = &temp2;
21991 arg3 = &temp3;
21992 if (!args) SWIG_fail;
21993 swig_obj[0] = args;
21994 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21995 if (!SWIG_IsOK(res1)) {
21996 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21997 }
21998 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21999 {
22000 PyThreadState* __tstate = wxPyBeginAllowThreads();
22001 ((wxPyWindow const *)arg1)->DoGetSize(arg2,arg3);
22002 wxPyEndAllowThreads(__tstate);
22003 if (PyErr_Occurred()) SWIG_fail;
22004 }
22005 resultobj = SWIG_Py_Void();
22006 if (SWIG_IsTmpObj(res2)) {
22007 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22008 } else {
22009 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22010 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22011 }
22012 if (SWIG_IsTmpObj(res3)) {
22013 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22014 } else {
22015 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22016 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22017 }
22018 return resultobj;
22019 fail:
22020 return NULL;
22021 }
22022
22023
22024 SWIGINTERN PyObject *_wrap_PyWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22025 PyObject *resultobj = 0;
22026 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22027 int *arg2 = (int *) 0 ;
22028 int *arg3 = (int *) 0 ;
22029 void *argp1 = 0 ;
22030 int res1 = 0 ;
22031 int temp2 ;
22032 int res2 = SWIG_TMPOBJ ;
22033 int temp3 ;
22034 int res3 = SWIG_TMPOBJ ;
22035 PyObject *swig_obj[1] ;
22036
22037 arg2 = &temp2;
22038 arg3 = &temp3;
22039 if (!args) SWIG_fail;
22040 swig_obj[0] = args;
22041 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22042 if (!SWIG_IsOK(res1)) {
22043 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22044 }
22045 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22046 {
22047 PyThreadState* __tstate = wxPyBeginAllowThreads();
22048 ((wxPyWindow const *)arg1)->DoGetClientSize(arg2,arg3);
22049 wxPyEndAllowThreads(__tstate);
22050 if (PyErr_Occurred()) SWIG_fail;
22051 }
22052 resultobj = SWIG_Py_Void();
22053 if (SWIG_IsTmpObj(res2)) {
22054 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22055 } else {
22056 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22057 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22058 }
22059 if (SWIG_IsTmpObj(res3)) {
22060 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22061 } else {
22062 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22063 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22064 }
22065 return resultobj;
22066 fail:
22067 return NULL;
22068 }
22069
22070
22071 SWIGINTERN PyObject *_wrap_PyWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22072 PyObject *resultobj = 0;
22073 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22074 int *arg2 = (int *) 0 ;
22075 int *arg3 = (int *) 0 ;
22076 void *argp1 = 0 ;
22077 int res1 = 0 ;
22078 int temp2 ;
22079 int res2 = SWIG_TMPOBJ ;
22080 int temp3 ;
22081 int res3 = SWIG_TMPOBJ ;
22082 PyObject *swig_obj[1] ;
22083
22084 arg2 = &temp2;
22085 arg3 = &temp3;
22086 if (!args) SWIG_fail;
22087 swig_obj[0] = args;
22088 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22089 if (!SWIG_IsOK(res1)) {
22090 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22091 }
22092 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22093 {
22094 PyThreadState* __tstate = wxPyBeginAllowThreads();
22095 ((wxPyWindow const *)arg1)->DoGetPosition(arg2,arg3);
22096 wxPyEndAllowThreads(__tstate);
22097 if (PyErr_Occurred()) SWIG_fail;
22098 }
22099 resultobj = SWIG_Py_Void();
22100 if (SWIG_IsTmpObj(res2)) {
22101 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22102 } else {
22103 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22104 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22105 }
22106 if (SWIG_IsTmpObj(res3)) {
22107 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22108 } else {
22109 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22110 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22111 }
22112 return resultobj;
22113 fail:
22114 return NULL;
22115 }
22116
22117
22118 SWIGINTERN PyObject *_wrap_PyWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22119 PyObject *resultobj = 0;
22120 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22121 wxSize result;
22122 void *argp1 = 0 ;
22123 int res1 = 0 ;
22124 PyObject *swig_obj[1] ;
22125
22126 if (!args) SWIG_fail;
22127 swig_obj[0] = args;
22128 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22129 if (!SWIG_IsOK(res1)) {
22130 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22131 }
22132 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22133 {
22134 PyThreadState* __tstate = wxPyBeginAllowThreads();
22135 result = ((wxPyWindow const *)arg1)->DoGetVirtualSize();
22136 wxPyEndAllowThreads(__tstate);
22137 if (PyErr_Occurred()) SWIG_fail;
22138 }
22139 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22140 return resultobj;
22141 fail:
22142 return NULL;
22143 }
22144
22145
22146 SWIGINTERN PyObject *_wrap_PyWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22147 PyObject *resultobj = 0;
22148 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22149 wxSize result;
22150 void *argp1 = 0 ;
22151 int res1 = 0 ;
22152 PyObject *swig_obj[1] ;
22153
22154 if (!args) SWIG_fail;
22155 swig_obj[0] = args;
22156 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22157 if (!SWIG_IsOK(res1)) {
22158 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22159 }
22160 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22161 {
22162 PyThreadState* __tstate = wxPyBeginAllowThreads();
22163 result = ((wxPyWindow const *)arg1)->DoGetBestSize();
22164 wxPyEndAllowThreads(__tstate);
22165 if (PyErr_Occurred()) SWIG_fail;
22166 }
22167 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22168 return resultobj;
22169 fail:
22170 return NULL;
22171 }
22172
22173
22174 SWIGINTERN PyObject *_wrap_PyWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22175 PyObject *resultobj = 0;
22176 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22177 SwigValueWrapper<wxVisualAttributes > result;
22178 void *argp1 = 0 ;
22179 int res1 = 0 ;
22180 PyObject *swig_obj[1] ;
22181
22182 if (!args) SWIG_fail;
22183 swig_obj[0] = args;
22184 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22185 if (!SWIG_IsOK(res1)) {
22186 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22187 }
22188 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22189 {
22190 PyThreadState* __tstate = wxPyBeginAllowThreads();
22191 result = (arg1)->GetDefaultAttributes();
22192 wxPyEndAllowThreads(__tstate);
22193 if (PyErr_Occurred()) SWIG_fail;
22194 }
22195 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
22196 return resultobj;
22197 fail:
22198 return NULL;
22199 }
22200
22201
22202 SWIGINTERN PyObject *_wrap_PyWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22203 PyObject *resultobj = 0;
22204 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22205 void *argp1 = 0 ;
22206 int res1 = 0 ;
22207 PyObject *swig_obj[1] ;
22208
22209 if (!args) SWIG_fail;
22210 swig_obj[0] = args;
22211 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22212 if (!SWIG_IsOK(res1)) {
22213 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22214 }
22215 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22216 {
22217 PyThreadState* __tstate = wxPyBeginAllowThreads();
22218 (arg1)->OnInternalIdle();
22219 wxPyEndAllowThreads(__tstate);
22220 if (PyErr_Occurred()) SWIG_fail;
22221 }
22222 resultobj = SWIG_Py_Void();
22223 return resultobj;
22224 fail:
22225 return NULL;
22226 }
22227
22228
22229 SWIGINTERN PyObject *PyWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22230 PyObject *obj;
22231 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22232 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow, SWIG_NewClientData(obj));
22233 return SWIG_Py_Void();
22234 }
22235
22236 SWIGINTERN PyObject *PyWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22237 return SWIG_Python_InitShadowInstance(args);
22238 }
22239
22240 SWIGINTERN PyObject *_wrap_new_PyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22241 PyObject *resultobj = 0;
22242 wxWindow *arg1 = (wxWindow *) 0 ;
22243 int arg2 = (int) (int)-1 ;
22244 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22245 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22246 wxSize const &arg4_defvalue = wxDefaultSize ;
22247 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22248 long arg5 = (long) 0 ;
22249 wxString const &arg6_defvalue = wxPyPanelNameStr ;
22250 wxString *arg6 = (wxString *) &arg6_defvalue ;
22251 wxPyPanel *result = 0 ;
22252 void *argp1 = 0 ;
22253 int res1 = 0 ;
22254 int val2 ;
22255 int ecode2 = 0 ;
22256 wxPoint temp3 ;
22257 wxSize temp4 ;
22258 long val5 ;
22259 int ecode5 = 0 ;
22260 bool temp6 = false ;
22261 PyObject * obj0 = 0 ;
22262 PyObject * obj1 = 0 ;
22263 PyObject * obj2 = 0 ;
22264 PyObject * obj3 = 0 ;
22265 PyObject * obj4 = 0 ;
22266 PyObject * obj5 = 0 ;
22267 char * kwnames[] = {
22268 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22269 };
22270
22271 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22272 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22273 if (!SWIG_IsOK(res1)) {
22274 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
22275 }
22276 arg1 = reinterpret_cast< wxWindow * >(argp1);
22277 if (obj1) {
22278 ecode2 = SWIG_AsVal_int(obj1, &val2);
22279 if (!SWIG_IsOK(ecode2)) {
22280 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
22281 }
22282 arg2 = static_cast< int >(val2);
22283 }
22284 if (obj2) {
22285 {
22286 arg3 = &temp3;
22287 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22288 }
22289 }
22290 if (obj3) {
22291 {
22292 arg4 = &temp4;
22293 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22294 }
22295 }
22296 if (obj4) {
22297 ecode5 = SWIG_AsVal_long(obj4, &val5);
22298 if (!SWIG_IsOK(ecode5)) {
22299 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
22300 }
22301 arg5 = static_cast< long >(val5);
22302 }
22303 if (obj5) {
22304 {
22305 arg6 = wxString_in_helper(obj5);
22306 if (arg6 == NULL) SWIG_fail;
22307 temp6 = true;
22308 }
22309 }
22310 {
22311 if (!wxPyCheckForApp()) SWIG_fail;
22312 PyThreadState* __tstate = wxPyBeginAllowThreads();
22313 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22314 wxPyEndAllowThreads(__tstate);
22315 if (PyErr_Occurred()) SWIG_fail;
22316 }
22317 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_NEW | 0 );
22318 {
22319 if (temp6)
22320 delete arg6;
22321 }
22322 return resultobj;
22323 fail:
22324 {
22325 if (temp6)
22326 delete arg6;
22327 }
22328 return NULL;
22329 }
22330
22331
22332 SWIGINTERN PyObject *_wrap_new_PrePyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22333 PyObject *resultobj = 0;
22334 wxPyPanel *result = 0 ;
22335
22336 if (!SWIG_Python_UnpackTuple(args,"new_PrePyPanel",0,0,0)) SWIG_fail;
22337 {
22338 if (!wxPyCheckForApp()) SWIG_fail;
22339 PyThreadState* __tstate = wxPyBeginAllowThreads();
22340 result = (wxPyPanel *)new wxPyPanel();
22341 wxPyEndAllowThreads(__tstate);
22342 if (PyErr_Occurred()) SWIG_fail;
22343 }
22344 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_OWN | 0 );
22345 return resultobj;
22346 fail:
22347 return NULL;
22348 }
22349
22350
22351 SWIGINTERN PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22352 PyObject *resultobj = 0;
22353 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22354 PyObject *arg2 = (PyObject *) 0 ;
22355 PyObject *arg3 = (PyObject *) 0 ;
22356 void *argp1 = 0 ;
22357 int res1 = 0 ;
22358 PyObject * obj0 = 0 ;
22359 PyObject * obj1 = 0 ;
22360 PyObject * obj2 = 0 ;
22361 char * kwnames[] = {
22362 (char *) "self",(char *) "self",(char *) "_class", NULL
22363 };
22364
22365 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22366 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22367 if (!SWIG_IsOK(res1)) {
22368 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22369 }
22370 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22371 arg2 = obj1;
22372 arg3 = obj2;
22373 {
22374 PyThreadState* __tstate = wxPyBeginAllowThreads();
22375 (arg1)->_setCallbackInfo(arg2,arg3);
22376 wxPyEndAllowThreads(__tstate);
22377 if (PyErr_Occurred()) SWIG_fail;
22378 }
22379 resultobj = SWIG_Py_Void();
22380 return resultobj;
22381 fail:
22382 return NULL;
22383 }
22384
22385
22386 SWIGINTERN PyObject *_wrap_PyPanel_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22387 PyObject *resultobj = 0;
22388 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22389 wxDC *arg2 = (wxDC *) 0 ;
22390 bool result;
22391 void *argp1 = 0 ;
22392 int res1 = 0 ;
22393 void *argp2 = 0 ;
22394 int res2 = 0 ;
22395 PyObject * obj0 = 0 ;
22396 PyObject * obj1 = 0 ;
22397 char * kwnames[] = {
22398 (char *) "self",(char *) "dc", NULL
22399 };
22400
22401 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
22402 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22403 if (!SWIG_IsOK(res1)) {
22404 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22405 }
22406 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22407 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
22408 if (!SWIG_IsOK(res2)) {
22409 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22410 }
22411 arg2 = reinterpret_cast< wxDC * >(argp2);
22412 {
22413 PyThreadState* __tstate = wxPyBeginAllowThreads();
22414 result = (bool)(arg1)->DoEraseBackground(arg2);
22415 wxPyEndAllowThreads(__tstate);
22416 if (PyErr_Occurred()) SWIG_fail;
22417 }
22418 {
22419 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22420 }
22421 return resultobj;
22422 fail:
22423 return NULL;
22424 }
22425
22426
22427 SWIGINTERN PyObject *_wrap_PyPanel_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22428 PyObject *resultobj = 0;
22429 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22430 int arg2 ;
22431 int arg3 ;
22432 int arg4 ;
22433 int arg5 ;
22434 void *argp1 = 0 ;
22435 int res1 = 0 ;
22436 int val2 ;
22437 int ecode2 = 0 ;
22438 int val3 ;
22439 int ecode3 = 0 ;
22440 int val4 ;
22441 int ecode4 = 0 ;
22442 int val5 ;
22443 int ecode5 = 0 ;
22444 PyObject * obj0 = 0 ;
22445 PyObject * obj1 = 0 ;
22446 PyObject * obj2 = 0 ;
22447 PyObject * obj3 = 0 ;
22448 PyObject * obj4 = 0 ;
22449 char * kwnames[] = {
22450 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22451 };
22452
22453 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22454 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22455 if (!SWIG_IsOK(res1)) {
22456 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22457 }
22458 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22459 ecode2 = SWIG_AsVal_int(obj1, &val2);
22460 if (!SWIG_IsOK(ecode2)) {
22461 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22462 }
22463 arg2 = static_cast< int >(val2);
22464 ecode3 = SWIG_AsVal_int(obj2, &val3);
22465 if (!SWIG_IsOK(ecode3)) {
22466 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22467 }
22468 arg3 = static_cast< int >(val3);
22469 ecode4 = SWIG_AsVal_int(obj3, &val4);
22470 if (!SWIG_IsOK(ecode4)) {
22471 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22472 }
22473 arg4 = static_cast< int >(val4);
22474 ecode5 = SWIG_AsVal_int(obj4, &val5);
22475 if (!SWIG_IsOK(ecode5)) {
22476 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22477 }
22478 arg5 = static_cast< int >(val5);
22479 {
22480 PyThreadState* __tstate = wxPyBeginAllowThreads();
22481 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
22482 wxPyEndAllowThreads(__tstate);
22483 if (PyErr_Occurred()) SWIG_fail;
22484 }
22485 resultobj = SWIG_Py_Void();
22486 return resultobj;
22487 fail:
22488 return NULL;
22489 }
22490
22491
22492 SWIGINTERN PyObject *_wrap_PyPanel_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22493 PyObject *resultobj = 0;
22494 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22495 int arg2 ;
22496 int arg3 ;
22497 int arg4 ;
22498 int arg5 ;
22499 int arg6 = (int) wxSIZE_AUTO ;
22500 void *argp1 = 0 ;
22501 int res1 = 0 ;
22502 int val2 ;
22503 int ecode2 = 0 ;
22504 int val3 ;
22505 int ecode3 = 0 ;
22506 int val4 ;
22507 int ecode4 = 0 ;
22508 int val5 ;
22509 int ecode5 = 0 ;
22510 int val6 ;
22511 int ecode6 = 0 ;
22512 PyObject * obj0 = 0 ;
22513 PyObject * obj1 = 0 ;
22514 PyObject * obj2 = 0 ;
22515 PyObject * obj3 = 0 ;
22516 PyObject * obj4 = 0 ;
22517 PyObject * obj5 = 0 ;
22518 char * kwnames[] = {
22519 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22520 };
22521
22522 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22523 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22524 if (!SWIG_IsOK(res1)) {
22525 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22526 }
22527 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22528 ecode2 = SWIG_AsVal_int(obj1, &val2);
22529 if (!SWIG_IsOK(ecode2)) {
22530 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22531 }
22532 arg2 = static_cast< int >(val2);
22533 ecode3 = SWIG_AsVal_int(obj2, &val3);
22534 if (!SWIG_IsOK(ecode3)) {
22535 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22536 }
22537 arg3 = static_cast< int >(val3);
22538 ecode4 = SWIG_AsVal_int(obj3, &val4);
22539 if (!SWIG_IsOK(ecode4)) {
22540 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22541 }
22542 arg4 = static_cast< int >(val4);
22543 ecode5 = SWIG_AsVal_int(obj4, &val5);
22544 if (!SWIG_IsOK(ecode5)) {
22545 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22546 }
22547 arg5 = static_cast< int >(val5);
22548 if (obj5) {
22549 ecode6 = SWIG_AsVal_int(obj5, &val6);
22550 if (!SWIG_IsOK(ecode6)) {
22551 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22552 }
22553 arg6 = static_cast< int >(val6);
22554 }
22555 {
22556 PyThreadState* __tstate = wxPyBeginAllowThreads();
22557 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
22558 wxPyEndAllowThreads(__tstate);
22559 if (PyErr_Occurred()) SWIG_fail;
22560 }
22561 resultobj = SWIG_Py_Void();
22562 return resultobj;
22563 fail:
22564 return NULL;
22565 }
22566
22567
22568 SWIGINTERN PyObject *_wrap_PyPanel_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22569 PyObject *resultobj = 0;
22570 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22571 int arg2 ;
22572 int arg3 ;
22573 void *argp1 = 0 ;
22574 int res1 = 0 ;
22575 int val2 ;
22576 int ecode2 = 0 ;
22577 int val3 ;
22578 int ecode3 = 0 ;
22579 PyObject * obj0 = 0 ;
22580 PyObject * obj1 = 0 ;
22581 PyObject * obj2 = 0 ;
22582 char * kwnames[] = {
22583 (char *) "self",(char *) "width",(char *) "height", NULL
22584 };
22585
22586 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22587 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22588 if (!SWIG_IsOK(res1)) {
22589 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22590 }
22591 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22592 ecode2 = SWIG_AsVal_int(obj1, &val2);
22593 if (!SWIG_IsOK(ecode2)) {
22594 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22595 }
22596 arg2 = static_cast< int >(val2);
22597 ecode3 = SWIG_AsVal_int(obj2, &val3);
22598 if (!SWIG_IsOK(ecode3)) {
22599 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22600 }
22601 arg3 = static_cast< int >(val3);
22602 {
22603 PyThreadState* __tstate = wxPyBeginAllowThreads();
22604 (arg1)->DoSetClientSize(arg2,arg3);
22605 wxPyEndAllowThreads(__tstate);
22606 if (PyErr_Occurred()) SWIG_fail;
22607 }
22608 resultobj = SWIG_Py_Void();
22609 return resultobj;
22610 fail:
22611 return NULL;
22612 }
22613
22614
22615 SWIGINTERN PyObject *_wrap_PyPanel_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22616 PyObject *resultobj = 0;
22617 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22618 int arg2 ;
22619 int arg3 ;
22620 void *argp1 = 0 ;
22621 int res1 = 0 ;
22622 int val2 ;
22623 int ecode2 = 0 ;
22624 int val3 ;
22625 int ecode3 = 0 ;
22626 PyObject * obj0 = 0 ;
22627 PyObject * obj1 = 0 ;
22628 PyObject * obj2 = 0 ;
22629 char * kwnames[] = {
22630 (char *) "self",(char *) "x",(char *) "y", NULL
22631 };
22632
22633 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22634 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22635 if (!SWIG_IsOK(res1)) {
22636 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22637 }
22638 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22639 ecode2 = SWIG_AsVal_int(obj1, &val2);
22640 if (!SWIG_IsOK(ecode2)) {
22641 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22642 }
22643 arg2 = static_cast< int >(val2);
22644 ecode3 = SWIG_AsVal_int(obj2, &val3);
22645 if (!SWIG_IsOK(ecode3)) {
22646 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22647 }
22648 arg3 = static_cast< int >(val3);
22649 {
22650 PyThreadState* __tstate = wxPyBeginAllowThreads();
22651 (arg1)->DoSetVirtualSize(arg2,arg3);
22652 wxPyEndAllowThreads(__tstate);
22653 if (PyErr_Occurred()) SWIG_fail;
22654 }
22655 resultobj = SWIG_Py_Void();
22656 return resultobj;
22657 fail:
22658 return NULL;
22659 }
22660
22661
22662 SWIGINTERN PyObject *_wrap_PyPanel_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22663 PyObject *resultobj = 0;
22664 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22665 int *arg2 = (int *) 0 ;
22666 int *arg3 = (int *) 0 ;
22667 void *argp1 = 0 ;
22668 int res1 = 0 ;
22669 int temp2 ;
22670 int res2 = SWIG_TMPOBJ ;
22671 int temp3 ;
22672 int res3 = SWIG_TMPOBJ ;
22673 PyObject *swig_obj[1] ;
22674
22675 arg2 = &temp2;
22676 arg3 = &temp3;
22677 if (!args) SWIG_fail;
22678 swig_obj[0] = args;
22679 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22680 if (!SWIG_IsOK(res1)) {
22681 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22682 }
22683 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22684 {
22685 PyThreadState* __tstate = wxPyBeginAllowThreads();
22686 ((wxPyPanel const *)arg1)->DoGetSize(arg2,arg3);
22687 wxPyEndAllowThreads(__tstate);
22688 if (PyErr_Occurred()) SWIG_fail;
22689 }
22690 resultobj = SWIG_Py_Void();
22691 if (SWIG_IsTmpObj(res2)) {
22692 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22693 } else {
22694 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22695 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22696 }
22697 if (SWIG_IsTmpObj(res3)) {
22698 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22699 } else {
22700 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22701 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22702 }
22703 return resultobj;
22704 fail:
22705 return NULL;
22706 }
22707
22708
22709 SWIGINTERN PyObject *_wrap_PyPanel_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22710 PyObject *resultobj = 0;
22711 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22712 int *arg2 = (int *) 0 ;
22713 int *arg3 = (int *) 0 ;
22714 void *argp1 = 0 ;
22715 int res1 = 0 ;
22716 int temp2 ;
22717 int res2 = SWIG_TMPOBJ ;
22718 int temp3 ;
22719 int res3 = SWIG_TMPOBJ ;
22720 PyObject *swig_obj[1] ;
22721
22722 arg2 = &temp2;
22723 arg3 = &temp3;
22724 if (!args) SWIG_fail;
22725 swig_obj[0] = args;
22726 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22727 if (!SWIG_IsOK(res1)) {
22728 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22729 }
22730 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22731 {
22732 PyThreadState* __tstate = wxPyBeginAllowThreads();
22733 ((wxPyPanel const *)arg1)->DoGetClientSize(arg2,arg3);
22734 wxPyEndAllowThreads(__tstate);
22735 if (PyErr_Occurred()) SWIG_fail;
22736 }
22737 resultobj = SWIG_Py_Void();
22738 if (SWIG_IsTmpObj(res2)) {
22739 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22740 } else {
22741 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22742 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22743 }
22744 if (SWIG_IsTmpObj(res3)) {
22745 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22746 } else {
22747 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22748 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22749 }
22750 return resultobj;
22751 fail:
22752 return NULL;
22753 }
22754
22755
22756 SWIGINTERN PyObject *_wrap_PyPanel_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22757 PyObject *resultobj = 0;
22758 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22759 int *arg2 = (int *) 0 ;
22760 int *arg3 = (int *) 0 ;
22761 void *argp1 = 0 ;
22762 int res1 = 0 ;
22763 int temp2 ;
22764 int res2 = SWIG_TMPOBJ ;
22765 int temp3 ;
22766 int res3 = SWIG_TMPOBJ ;
22767 PyObject *swig_obj[1] ;
22768
22769 arg2 = &temp2;
22770 arg3 = &temp3;
22771 if (!args) SWIG_fail;
22772 swig_obj[0] = args;
22773 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22774 if (!SWIG_IsOK(res1)) {
22775 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22776 }
22777 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22778 {
22779 PyThreadState* __tstate = wxPyBeginAllowThreads();
22780 ((wxPyPanel const *)arg1)->DoGetPosition(arg2,arg3);
22781 wxPyEndAllowThreads(__tstate);
22782 if (PyErr_Occurred()) SWIG_fail;
22783 }
22784 resultobj = SWIG_Py_Void();
22785 if (SWIG_IsTmpObj(res2)) {
22786 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22787 } else {
22788 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22789 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22790 }
22791 if (SWIG_IsTmpObj(res3)) {
22792 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22793 } else {
22794 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22795 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22796 }
22797 return resultobj;
22798 fail:
22799 return NULL;
22800 }
22801
22802
22803 SWIGINTERN PyObject *_wrap_PyPanel_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22804 PyObject *resultobj = 0;
22805 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22806 wxSize result;
22807 void *argp1 = 0 ;
22808 int res1 = 0 ;
22809 PyObject *swig_obj[1] ;
22810
22811 if (!args) SWIG_fail;
22812 swig_obj[0] = args;
22813 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22814 if (!SWIG_IsOK(res1)) {
22815 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22816 }
22817 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22818 {
22819 PyThreadState* __tstate = wxPyBeginAllowThreads();
22820 result = ((wxPyPanel const *)arg1)->DoGetVirtualSize();
22821 wxPyEndAllowThreads(__tstate);
22822 if (PyErr_Occurred()) SWIG_fail;
22823 }
22824 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22825 return resultobj;
22826 fail:
22827 return NULL;
22828 }
22829
22830
22831 SWIGINTERN PyObject *_wrap_PyPanel_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22832 PyObject *resultobj = 0;
22833 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22834 wxSize result;
22835 void *argp1 = 0 ;
22836 int res1 = 0 ;
22837 PyObject *swig_obj[1] ;
22838
22839 if (!args) SWIG_fail;
22840 swig_obj[0] = args;
22841 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22842 if (!SWIG_IsOK(res1)) {
22843 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22844 }
22845 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22846 {
22847 PyThreadState* __tstate = wxPyBeginAllowThreads();
22848 result = ((wxPyPanel const *)arg1)->DoGetBestSize();
22849 wxPyEndAllowThreads(__tstate);
22850 if (PyErr_Occurred()) SWIG_fail;
22851 }
22852 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22853 return resultobj;
22854 fail:
22855 return NULL;
22856 }
22857
22858
22859 SWIGINTERN PyObject *_wrap_PyPanel_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22860 PyObject *resultobj = 0;
22861 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22862 SwigValueWrapper<wxVisualAttributes > result;
22863 void *argp1 = 0 ;
22864 int res1 = 0 ;
22865 PyObject *swig_obj[1] ;
22866
22867 if (!args) SWIG_fail;
22868 swig_obj[0] = args;
22869 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22870 if (!SWIG_IsOK(res1)) {
22871 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22872 }
22873 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22874 {
22875 PyThreadState* __tstate = wxPyBeginAllowThreads();
22876 result = (arg1)->GetDefaultAttributes();
22877 wxPyEndAllowThreads(__tstate);
22878 if (PyErr_Occurred()) SWIG_fail;
22879 }
22880 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
22881 return resultobj;
22882 fail:
22883 return NULL;
22884 }
22885
22886
22887 SWIGINTERN PyObject *_wrap_PyPanel_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22888 PyObject *resultobj = 0;
22889 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22890 void *argp1 = 0 ;
22891 int res1 = 0 ;
22892 PyObject *swig_obj[1] ;
22893
22894 if (!args) SWIG_fail;
22895 swig_obj[0] = args;
22896 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22897 if (!SWIG_IsOK(res1)) {
22898 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22899 }
22900 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22901 {
22902 PyThreadState* __tstate = wxPyBeginAllowThreads();
22903 (arg1)->OnInternalIdle();
22904 wxPyEndAllowThreads(__tstate);
22905 if (PyErr_Occurred()) SWIG_fail;
22906 }
22907 resultobj = SWIG_Py_Void();
22908 return resultobj;
22909 fail:
22910 return NULL;
22911 }
22912
22913
22914 SWIGINTERN PyObject *PyPanel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22915 PyObject *obj;
22916 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22917 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel, SWIG_NewClientData(obj));
22918 return SWIG_Py_Void();
22919 }
22920
22921 SWIGINTERN PyObject *PyPanel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22922 return SWIG_Python_InitShadowInstance(args);
22923 }
22924
22925 SWIGINTERN PyObject *_wrap_new_PyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22926 PyObject *resultobj = 0;
22927 wxWindow *arg1 = (wxWindow *) 0 ;
22928 int arg2 = (int) (int)-1 ;
22929 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22930 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22931 wxSize const &arg4_defvalue = wxDefaultSize ;
22932 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22933 long arg5 = (long) 0 ;
22934 wxString const &arg6_defvalue = wxPyPanelNameStr ;
22935 wxString *arg6 = (wxString *) &arg6_defvalue ;
22936 wxPyScrolledWindow *result = 0 ;
22937 void *argp1 = 0 ;
22938 int res1 = 0 ;
22939 int val2 ;
22940 int ecode2 = 0 ;
22941 wxPoint temp3 ;
22942 wxSize temp4 ;
22943 long val5 ;
22944 int ecode5 = 0 ;
22945 bool temp6 = false ;
22946 PyObject * obj0 = 0 ;
22947 PyObject * obj1 = 0 ;
22948 PyObject * obj2 = 0 ;
22949 PyObject * obj3 = 0 ;
22950 PyObject * obj4 = 0 ;
22951 PyObject * obj5 = 0 ;
22952 char * kwnames[] = {
22953 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22954 };
22955
22956 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22957 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22958 if (!SWIG_IsOK(res1)) {
22959 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
22960 }
22961 arg1 = reinterpret_cast< wxWindow * >(argp1);
22962 if (obj1) {
22963 ecode2 = SWIG_AsVal_int(obj1, &val2);
22964 if (!SWIG_IsOK(ecode2)) {
22965 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
22966 }
22967 arg2 = static_cast< int >(val2);
22968 }
22969 if (obj2) {
22970 {
22971 arg3 = &temp3;
22972 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22973 }
22974 }
22975 if (obj3) {
22976 {
22977 arg4 = &temp4;
22978 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22979 }
22980 }
22981 if (obj4) {
22982 ecode5 = SWIG_AsVal_long(obj4, &val5);
22983 if (!SWIG_IsOK(ecode5)) {
22984 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
22985 }
22986 arg5 = static_cast< long >(val5);
22987 }
22988 if (obj5) {
22989 {
22990 arg6 = wxString_in_helper(obj5);
22991 if (arg6 == NULL) SWIG_fail;
22992 temp6 = true;
22993 }
22994 }
22995 {
22996 if (!wxPyCheckForApp()) SWIG_fail;
22997 PyThreadState* __tstate = wxPyBeginAllowThreads();
22998 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22999 wxPyEndAllowThreads(__tstate);
23000 if (PyErr_Occurred()) SWIG_fail;
23001 }
23002 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_NEW | 0 );
23003 {
23004 if (temp6)
23005 delete arg6;
23006 }
23007 return resultobj;
23008 fail:
23009 {
23010 if (temp6)
23011 delete arg6;
23012 }
23013 return NULL;
23014 }
23015
23016
23017 SWIGINTERN PyObject *_wrap_new_PrePyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23018 PyObject *resultobj = 0;
23019 wxPyScrolledWindow *result = 0 ;
23020
23021 if (!SWIG_Python_UnpackTuple(args,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail;
23022 {
23023 if (!wxPyCheckForApp()) SWIG_fail;
23024 PyThreadState* __tstate = wxPyBeginAllowThreads();
23025 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
23026 wxPyEndAllowThreads(__tstate);
23027 if (PyErr_Occurred()) SWIG_fail;
23028 }
23029 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_OWN | 0 );
23030 return resultobj;
23031 fail:
23032 return NULL;
23033 }
23034
23035
23036 SWIGINTERN PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23037 PyObject *resultobj = 0;
23038 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23039 PyObject *arg2 = (PyObject *) 0 ;
23040 PyObject *arg3 = (PyObject *) 0 ;
23041 void *argp1 = 0 ;
23042 int res1 = 0 ;
23043 PyObject * obj0 = 0 ;
23044 PyObject * obj1 = 0 ;
23045 PyObject * obj2 = 0 ;
23046 char * kwnames[] = {
23047 (char *) "self",(char *) "self",(char *) "_class", NULL
23048 };
23049
23050 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23051 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23052 if (!SWIG_IsOK(res1)) {
23053 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23054 }
23055 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23056 arg2 = obj1;
23057 arg3 = obj2;
23058 {
23059 PyThreadState* __tstate = wxPyBeginAllowThreads();
23060 (arg1)->_setCallbackInfo(arg2,arg3);
23061 wxPyEndAllowThreads(__tstate);
23062 if (PyErr_Occurred()) SWIG_fail;
23063 }
23064 resultobj = SWIG_Py_Void();
23065 return resultobj;
23066 fail:
23067 return NULL;
23068 }
23069
23070
23071 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23072 PyObject *resultobj = 0;
23073 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23074 wxDC *arg2 = (wxDC *) 0 ;
23075 bool result;
23076 void *argp1 = 0 ;
23077 int res1 = 0 ;
23078 void *argp2 = 0 ;
23079 int res2 = 0 ;
23080 PyObject * obj0 = 0 ;
23081 PyObject * obj1 = 0 ;
23082 char * kwnames[] = {
23083 (char *) "self",(char *) "dc", NULL
23084 };
23085
23086 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
23087 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23088 if (!SWIG_IsOK(res1)) {
23089 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23090 }
23091 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23092 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
23093 if (!SWIG_IsOK(res2)) {
23094 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
23095 }
23096 arg2 = reinterpret_cast< wxDC * >(argp2);
23097 {
23098 PyThreadState* __tstate = wxPyBeginAllowThreads();
23099 result = (bool)(arg1)->DoEraseBackground(arg2);
23100 wxPyEndAllowThreads(__tstate);
23101 if (PyErr_Occurred()) SWIG_fail;
23102 }
23103 {
23104 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23105 }
23106 return resultobj;
23107 fail:
23108 return NULL;
23109 }
23110
23111
23112 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23113 PyObject *resultobj = 0;
23114 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23115 int arg2 ;
23116 int arg3 ;
23117 int arg4 ;
23118 int arg5 ;
23119 void *argp1 = 0 ;
23120 int res1 = 0 ;
23121 int val2 ;
23122 int ecode2 = 0 ;
23123 int val3 ;
23124 int ecode3 = 0 ;
23125 int val4 ;
23126 int ecode4 = 0 ;
23127 int val5 ;
23128 int ecode5 = 0 ;
23129 PyObject * obj0 = 0 ;
23130 PyObject * obj1 = 0 ;
23131 PyObject * obj2 = 0 ;
23132 PyObject * obj3 = 0 ;
23133 PyObject * obj4 = 0 ;
23134 char * kwnames[] = {
23135 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
23136 };
23137
23138 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
23139 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23140 if (!SWIG_IsOK(res1)) {
23141 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23142 }
23143 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23144 ecode2 = SWIG_AsVal_int(obj1, &val2);
23145 if (!SWIG_IsOK(ecode2)) {
23146 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
23147 }
23148 arg2 = static_cast< int >(val2);
23149 ecode3 = SWIG_AsVal_int(obj2, &val3);
23150 if (!SWIG_IsOK(ecode3)) {
23151 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
23152 }
23153 arg3 = static_cast< int >(val3);
23154 ecode4 = SWIG_AsVal_int(obj3, &val4);
23155 if (!SWIG_IsOK(ecode4)) {
23156 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
23157 }
23158 arg4 = static_cast< int >(val4);
23159 ecode5 = SWIG_AsVal_int(obj4, &val5);
23160 if (!SWIG_IsOK(ecode5)) {
23161 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
23162 }
23163 arg5 = static_cast< int >(val5);
23164 {
23165 PyThreadState* __tstate = wxPyBeginAllowThreads();
23166 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
23167 wxPyEndAllowThreads(__tstate);
23168 if (PyErr_Occurred()) SWIG_fail;
23169 }
23170 resultobj = SWIG_Py_Void();
23171 return resultobj;
23172 fail:
23173 return NULL;
23174 }
23175
23176
23177 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23178 PyObject *resultobj = 0;
23179 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23180 int arg2 ;
23181 int arg3 ;
23182 int arg4 ;
23183 int arg5 ;
23184 int arg6 = (int) wxSIZE_AUTO ;
23185 void *argp1 = 0 ;
23186 int res1 = 0 ;
23187 int val2 ;
23188 int ecode2 = 0 ;
23189 int val3 ;
23190 int ecode3 = 0 ;
23191 int val4 ;
23192 int ecode4 = 0 ;
23193 int val5 ;
23194 int ecode5 = 0 ;
23195 int val6 ;
23196 int ecode6 = 0 ;
23197 PyObject * obj0 = 0 ;
23198 PyObject * obj1 = 0 ;
23199 PyObject * obj2 = 0 ;
23200 PyObject * obj3 = 0 ;
23201 PyObject * obj4 = 0 ;
23202 PyObject * obj5 = 0 ;
23203 char * kwnames[] = {
23204 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
23205 };
23206
23207 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
23208 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23209 if (!SWIG_IsOK(res1)) {
23210 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23211 }
23212 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23213 ecode2 = SWIG_AsVal_int(obj1, &val2);
23214 if (!SWIG_IsOK(ecode2)) {
23215 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
23216 }
23217 arg2 = static_cast< int >(val2);
23218 ecode3 = SWIG_AsVal_int(obj2, &val3);
23219 if (!SWIG_IsOK(ecode3)) {
23220 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
23221 }
23222 arg3 = static_cast< int >(val3);
23223 ecode4 = SWIG_AsVal_int(obj3, &val4);
23224 if (!SWIG_IsOK(ecode4)) {
23225 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
23226 }
23227 arg4 = static_cast< int >(val4);
23228 ecode5 = SWIG_AsVal_int(obj4, &val5);
23229 if (!SWIG_IsOK(ecode5)) {
23230 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
23231 }
23232 arg5 = static_cast< int >(val5);
23233 if (obj5) {
23234 ecode6 = SWIG_AsVal_int(obj5, &val6);
23235 if (!SWIG_IsOK(ecode6)) {
23236 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
23237 }
23238 arg6 = static_cast< int >(val6);
23239 }
23240 {
23241 PyThreadState* __tstate = wxPyBeginAllowThreads();
23242 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
23243 wxPyEndAllowThreads(__tstate);
23244 if (PyErr_Occurred()) SWIG_fail;
23245 }
23246 resultobj = SWIG_Py_Void();
23247 return resultobj;
23248 fail:
23249 return NULL;
23250 }
23251
23252
23253 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23254 PyObject *resultobj = 0;
23255 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23256 int arg2 ;
23257 int arg3 ;
23258 void *argp1 = 0 ;
23259 int res1 = 0 ;
23260 int val2 ;
23261 int ecode2 = 0 ;
23262 int val3 ;
23263 int ecode3 = 0 ;
23264 PyObject * obj0 = 0 ;
23265 PyObject * obj1 = 0 ;
23266 PyObject * obj2 = 0 ;
23267 char * kwnames[] = {
23268 (char *) "self",(char *) "width",(char *) "height", NULL
23269 };
23270
23271 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23272 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23273 if (!SWIG_IsOK(res1)) {
23274 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23275 }
23276 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23277 ecode2 = SWIG_AsVal_int(obj1, &val2);
23278 if (!SWIG_IsOK(ecode2)) {
23279 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
23280 }
23281 arg2 = static_cast< int >(val2);
23282 ecode3 = SWIG_AsVal_int(obj2, &val3);
23283 if (!SWIG_IsOK(ecode3)) {
23284 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
23285 }
23286 arg3 = static_cast< int >(val3);
23287 {
23288 PyThreadState* __tstate = wxPyBeginAllowThreads();
23289 (arg1)->DoSetClientSize(arg2,arg3);
23290 wxPyEndAllowThreads(__tstate);
23291 if (PyErr_Occurred()) SWIG_fail;
23292 }
23293 resultobj = SWIG_Py_Void();
23294 return resultobj;
23295 fail:
23296 return NULL;
23297 }
23298
23299
23300 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23301 PyObject *resultobj = 0;
23302 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23303 int arg2 ;
23304 int arg3 ;
23305 void *argp1 = 0 ;
23306 int res1 = 0 ;
23307 int val2 ;
23308 int ecode2 = 0 ;
23309 int val3 ;
23310 int ecode3 = 0 ;
23311 PyObject * obj0 = 0 ;
23312 PyObject * obj1 = 0 ;
23313 PyObject * obj2 = 0 ;
23314 char * kwnames[] = {
23315 (char *) "self",(char *) "x",(char *) "y", NULL
23316 };
23317
23318 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23319 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23320 if (!SWIG_IsOK(res1)) {
23321 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23322 }
23323 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23324 ecode2 = SWIG_AsVal_int(obj1, &val2);
23325 if (!SWIG_IsOK(ecode2)) {
23326 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
23327 }
23328 arg2 = static_cast< int >(val2);
23329 ecode3 = SWIG_AsVal_int(obj2, &val3);
23330 if (!SWIG_IsOK(ecode3)) {
23331 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
23332 }
23333 arg3 = static_cast< int >(val3);
23334 {
23335 PyThreadState* __tstate = wxPyBeginAllowThreads();
23336 (arg1)->DoSetVirtualSize(arg2,arg3);
23337 wxPyEndAllowThreads(__tstate);
23338 if (PyErr_Occurred()) SWIG_fail;
23339 }
23340 resultobj = SWIG_Py_Void();
23341 return resultobj;
23342 fail:
23343 return NULL;
23344 }
23345
23346
23347 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23348 PyObject *resultobj = 0;
23349 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23350 int *arg2 = (int *) 0 ;
23351 int *arg3 = (int *) 0 ;
23352 void *argp1 = 0 ;
23353 int res1 = 0 ;
23354 int temp2 ;
23355 int res2 = SWIG_TMPOBJ ;
23356 int temp3 ;
23357 int res3 = SWIG_TMPOBJ ;
23358 PyObject *swig_obj[1] ;
23359
23360 arg2 = &temp2;
23361 arg3 = &temp3;
23362 if (!args) SWIG_fail;
23363 swig_obj[0] = args;
23364 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23365 if (!SWIG_IsOK(res1)) {
23366 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23367 }
23368 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23369 {
23370 PyThreadState* __tstate = wxPyBeginAllowThreads();
23371 ((wxPyScrolledWindow const *)arg1)->DoGetSize(arg2,arg3);
23372 wxPyEndAllowThreads(__tstate);
23373 if (PyErr_Occurred()) SWIG_fail;
23374 }
23375 resultobj = SWIG_Py_Void();
23376 if (SWIG_IsTmpObj(res2)) {
23377 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23378 } else {
23379 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23380 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23381 }
23382 if (SWIG_IsTmpObj(res3)) {
23383 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23384 } else {
23385 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23386 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23387 }
23388 return resultobj;
23389 fail:
23390 return NULL;
23391 }
23392
23393
23394 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23395 PyObject *resultobj = 0;
23396 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23397 int *arg2 = (int *) 0 ;
23398 int *arg3 = (int *) 0 ;
23399 void *argp1 = 0 ;
23400 int res1 = 0 ;
23401 int temp2 ;
23402 int res2 = SWIG_TMPOBJ ;
23403 int temp3 ;
23404 int res3 = SWIG_TMPOBJ ;
23405 PyObject *swig_obj[1] ;
23406
23407 arg2 = &temp2;
23408 arg3 = &temp3;
23409 if (!args) SWIG_fail;
23410 swig_obj[0] = args;
23411 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23412 if (!SWIG_IsOK(res1)) {
23413 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23414 }
23415 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23416 {
23417 PyThreadState* __tstate = wxPyBeginAllowThreads();
23418 ((wxPyScrolledWindow const *)arg1)->DoGetClientSize(arg2,arg3);
23419 wxPyEndAllowThreads(__tstate);
23420 if (PyErr_Occurred()) SWIG_fail;
23421 }
23422 resultobj = SWIG_Py_Void();
23423 if (SWIG_IsTmpObj(res2)) {
23424 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23425 } else {
23426 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23427 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23428 }
23429 if (SWIG_IsTmpObj(res3)) {
23430 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23431 } else {
23432 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23433 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23434 }
23435 return resultobj;
23436 fail:
23437 return NULL;
23438 }
23439
23440
23441 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23442 PyObject *resultobj = 0;
23443 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23444 int *arg2 = (int *) 0 ;
23445 int *arg3 = (int *) 0 ;
23446 void *argp1 = 0 ;
23447 int res1 = 0 ;
23448 int temp2 ;
23449 int res2 = SWIG_TMPOBJ ;
23450 int temp3 ;
23451 int res3 = SWIG_TMPOBJ ;
23452 PyObject *swig_obj[1] ;
23453
23454 arg2 = &temp2;
23455 arg3 = &temp3;
23456 if (!args) SWIG_fail;
23457 swig_obj[0] = args;
23458 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23459 if (!SWIG_IsOK(res1)) {
23460 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23461 }
23462 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23463 {
23464 PyThreadState* __tstate = wxPyBeginAllowThreads();
23465 ((wxPyScrolledWindow const *)arg1)->DoGetPosition(arg2,arg3);
23466 wxPyEndAllowThreads(__tstate);
23467 if (PyErr_Occurred()) SWIG_fail;
23468 }
23469 resultobj = SWIG_Py_Void();
23470 if (SWIG_IsTmpObj(res2)) {
23471 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23472 } else {
23473 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23474 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23475 }
23476 if (SWIG_IsTmpObj(res3)) {
23477 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23478 } else {
23479 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23480 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23481 }
23482 return resultobj;
23483 fail:
23484 return NULL;
23485 }
23486
23487
23488 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23489 PyObject *resultobj = 0;
23490 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23491 wxSize result;
23492 void *argp1 = 0 ;
23493 int res1 = 0 ;
23494 PyObject *swig_obj[1] ;
23495
23496 if (!args) SWIG_fail;
23497 swig_obj[0] = args;
23498 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23499 if (!SWIG_IsOK(res1)) {
23500 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23501 }
23502 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23503 {
23504 PyThreadState* __tstate = wxPyBeginAllowThreads();
23505 result = ((wxPyScrolledWindow const *)arg1)->DoGetVirtualSize();
23506 wxPyEndAllowThreads(__tstate);
23507 if (PyErr_Occurred()) SWIG_fail;
23508 }
23509 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23510 return resultobj;
23511 fail:
23512 return NULL;
23513 }
23514
23515
23516 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23517 PyObject *resultobj = 0;
23518 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23519 wxSize result;
23520 void *argp1 = 0 ;
23521 int res1 = 0 ;
23522 PyObject *swig_obj[1] ;
23523
23524 if (!args) SWIG_fail;
23525 swig_obj[0] = args;
23526 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23527 if (!SWIG_IsOK(res1)) {
23528 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23529 }
23530 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23531 {
23532 PyThreadState* __tstate = wxPyBeginAllowThreads();
23533 result = ((wxPyScrolledWindow const *)arg1)->DoGetBestSize();
23534 wxPyEndAllowThreads(__tstate);
23535 if (PyErr_Occurred()) SWIG_fail;
23536 }
23537 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23538 return resultobj;
23539 fail:
23540 return NULL;
23541 }
23542
23543
23544 SWIGINTERN PyObject *_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23545 PyObject *resultobj = 0;
23546 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23547 SwigValueWrapper<wxVisualAttributes > result;
23548 void *argp1 = 0 ;
23549 int res1 = 0 ;
23550 PyObject *swig_obj[1] ;
23551
23552 if (!args) SWIG_fail;
23553 swig_obj[0] = args;
23554 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23555 if (!SWIG_IsOK(res1)) {
23556 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23557 }
23558 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23559 {
23560 PyThreadState* __tstate = wxPyBeginAllowThreads();
23561 result = (arg1)->GetDefaultAttributes();
23562 wxPyEndAllowThreads(__tstate);
23563 if (PyErr_Occurred()) SWIG_fail;
23564 }
23565 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
23566 return resultobj;
23567 fail:
23568 return NULL;
23569 }
23570
23571
23572 SWIGINTERN PyObject *_wrap_PyScrolledWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23573 PyObject *resultobj = 0;
23574 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23575 void *argp1 = 0 ;
23576 int res1 = 0 ;
23577 PyObject *swig_obj[1] ;
23578
23579 if (!args) SWIG_fail;
23580 swig_obj[0] = args;
23581 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23582 if (!SWIG_IsOK(res1)) {
23583 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23584 }
23585 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23586 {
23587 PyThreadState* __tstate = wxPyBeginAllowThreads();
23588 (arg1)->OnInternalIdle();
23589 wxPyEndAllowThreads(__tstate);
23590 if (PyErr_Occurred()) SWIG_fail;
23591 }
23592 resultobj = SWIG_Py_Void();
23593 return resultobj;
23594 fail:
23595 return NULL;
23596 }
23597
23598
23599 SWIGINTERN PyObject *PyScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23600 PyObject *obj;
23601 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23602 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow, SWIG_NewClientData(obj));
23603 return SWIG_Py_Void();
23604 }
23605
23606 SWIGINTERN PyObject *PyScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23607 return SWIG_Python_InitShadowInstance(args);
23608 }
23609
23610 SWIGINTERN int PrintoutTitleStr_set(PyObject *) {
23611 SWIG_Error(SWIG_AttributeError,"Variable PrintoutTitleStr is read-only.");
23612 return 1;
23613 }
23614
23615
23616 SWIGINTERN PyObject *PrintoutTitleStr_get(void) {
23617 PyObject *pyobj = 0;
23618
23619 {
23620 #if wxUSE_UNICODE
23621 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23622 #else
23623 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23624 #endif
23625 }
23626 return pyobj;
23627 }
23628
23629
23630 SWIGINTERN int PreviewCanvasNameStr_set(PyObject *) {
23631 SWIG_Error(SWIG_AttributeError,"Variable PreviewCanvasNameStr is read-only.");
23632 return 1;
23633 }
23634
23635
23636 SWIGINTERN PyObject *PreviewCanvasNameStr_get(void) {
23637 PyObject *pyobj = 0;
23638
23639 {
23640 #if wxUSE_UNICODE
23641 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23642 #else
23643 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23644 #endif
23645 }
23646 return pyobj;
23647 }
23648
23649
23650 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
23651 PyObject *resultobj = 0;
23652 wxPrintData *result = 0 ;
23653
23654 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
23655 {
23656 PyThreadState* __tstate = wxPyBeginAllowThreads();
23657 result = (wxPrintData *)new wxPrintData();
23658 wxPyEndAllowThreads(__tstate);
23659 if (PyErr_Occurred()) SWIG_fail;
23660 }
23661 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23662 return resultobj;
23663 fail:
23664 return NULL;
23665 }
23666
23667
23668 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
23669 PyObject *resultobj = 0;
23670 wxPrintData *arg1 = 0 ;
23671 wxPrintData *result = 0 ;
23672 void *argp1 = 0 ;
23673 int res1 = 0 ;
23674
23675 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
23676 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
23677 if (!SWIG_IsOK(res1)) {
23678 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23679 }
23680 if (!argp1) {
23681 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23682 }
23683 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23684 {
23685 PyThreadState* __tstate = wxPyBeginAllowThreads();
23686 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
23687 wxPyEndAllowThreads(__tstate);
23688 if (PyErr_Occurred()) SWIG_fail;
23689 }
23690 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23691 return resultobj;
23692 fail:
23693 return NULL;
23694 }
23695
23696
23697 SWIGINTERN PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
23698 int argc;
23699 PyObject *argv[2];
23700
23701 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintData",0,1,argv))) SWIG_fail;
23702 --argc;
23703 if (argc == 0) {
23704 return _wrap_new_PrintData__SWIG_0(self, argc, argv);
23705 }
23706 if (argc == 1) {
23707 return _wrap_new_PrintData__SWIG_1(self, argc, argv);
23708 }
23709
23710 fail:
23711 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
23712 return NULL;
23713 }
23714
23715
23716 SWIGINTERN PyObject *_wrap_delete_PrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23717 PyObject *resultobj = 0;
23718 wxPrintData *arg1 = (wxPrintData *) 0 ;
23719 void *argp1 = 0 ;
23720 int res1 = 0 ;
23721 PyObject *swig_obj[1] ;
23722
23723 if (!args) SWIG_fail;
23724 swig_obj[0] = args;
23725 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, SWIG_POINTER_DISOWN | 0 );
23726 if (!SWIG_IsOK(res1)) {
23727 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23728 }
23729 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23730 {
23731 PyThreadState* __tstate = wxPyBeginAllowThreads();
23732 delete arg1;
23733
23734 wxPyEndAllowThreads(__tstate);
23735 if (PyErr_Occurred()) SWIG_fail;
23736 }
23737 resultobj = SWIG_Py_Void();
23738 return resultobj;
23739 fail:
23740 return NULL;
23741 }
23742
23743
23744 SWIGINTERN PyObject *_wrap_PrintData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23745 PyObject *resultobj = 0;
23746 wxPrintData *arg1 = (wxPrintData *) 0 ;
23747 int result;
23748 void *argp1 = 0 ;
23749 int res1 = 0 ;
23750 PyObject *swig_obj[1] ;
23751
23752 if (!args) SWIG_fail;
23753 swig_obj[0] = args;
23754 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23755 if (!SWIG_IsOK(res1)) {
23756 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23757 }
23758 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23759 {
23760 PyThreadState* __tstate = wxPyBeginAllowThreads();
23761 result = (int)(arg1)->GetNoCopies();
23762 wxPyEndAllowThreads(__tstate);
23763 if (PyErr_Occurred()) SWIG_fail;
23764 }
23765 resultobj = SWIG_From_int(static_cast< int >(result));
23766 return resultobj;
23767 fail:
23768 return NULL;
23769 }
23770
23771
23772 SWIGINTERN PyObject *_wrap_PrintData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23773 PyObject *resultobj = 0;
23774 wxPrintData *arg1 = (wxPrintData *) 0 ;
23775 bool result;
23776 void *argp1 = 0 ;
23777 int res1 = 0 ;
23778 PyObject *swig_obj[1] ;
23779
23780 if (!args) SWIG_fail;
23781 swig_obj[0] = args;
23782 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23783 if (!SWIG_IsOK(res1)) {
23784 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23785 }
23786 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23787 {
23788 PyThreadState* __tstate = wxPyBeginAllowThreads();
23789 result = (bool)(arg1)->GetCollate();
23790 wxPyEndAllowThreads(__tstate);
23791 if (PyErr_Occurred()) SWIG_fail;
23792 }
23793 {
23794 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23795 }
23796 return resultobj;
23797 fail:
23798 return NULL;
23799 }
23800
23801
23802 SWIGINTERN PyObject *_wrap_PrintData_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23803 PyObject *resultobj = 0;
23804 wxPrintData *arg1 = (wxPrintData *) 0 ;
23805 int result;
23806 void *argp1 = 0 ;
23807 int res1 = 0 ;
23808 PyObject *swig_obj[1] ;
23809
23810 if (!args) SWIG_fail;
23811 swig_obj[0] = args;
23812 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23813 if (!SWIG_IsOK(res1)) {
23814 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23815 }
23816 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23817 {
23818 PyThreadState* __tstate = wxPyBeginAllowThreads();
23819 result = (int)(arg1)->GetOrientation();
23820 wxPyEndAllowThreads(__tstate);
23821 if (PyErr_Occurred()) SWIG_fail;
23822 }
23823 resultobj = SWIG_From_int(static_cast< int >(result));
23824 return resultobj;
23825 fail:
23826 return NULL;
23827 }
23828
23829
23830 SWIGINTERN PyObject *_wrap_PrintData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23831 PyObject *resultobj = 0;
23832 wxPrintData *arg1 = (wxPrintData *) 0 ;
23833 bool result;
23834 void *argp1 = 0 ;
23835 int res1 = 0 ;
23836 PyObject *swig_obj[1] ;
23837
23838 if (!args) SWIG_fail;
23839 swig_obj[0] = args;
23840 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23841 if (!SWIG_IsOK(res1)) {
23842 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_IsOk" "', expected argument " "1"" of type '" "wxPrintData *""'");
23843 }
23844 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23845 {
23846 PyThreadState* __tstate = wxPyBeginAllowThreads();
23847 result = (bool)(arg1)->IsOk();
23848 wxPyEndAllowThreads(__tstate);
23849 if (PyErr_Occurred()) SWIG_fail;
23850 }
23851 {
23852 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23853 }
23854 return resultobj;
23855 fail:
23856 return NULL;
23857 }
23858
23859
23860 SWIGINTERN PyObject *_wrap_PrintData_GetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23861 PyObject *resultobj = 0;
23862 wxPrintData *arg1 = (wxPrintData *) 0 ;
23863 wxString *result = 0 ;
23864 void *argp1 = 0 ;
23865 int res1 = 0 ;
23866 PyObject *swig_obj[1] ;
23867
23868 if (!args) SWIG_fail;
23869 swig_obj[0] = args;
23870 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23871 if (!SWIG_IsOK(res1)) {
23872 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23873 }
23874 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23875 {
23876 PyThreadState* __tstate = wxPyBeginAllowThreads();
23877 {
23878 wxString const &_result_ref = (arg1)->GetPrinterName();
23879 result = (wxString *) &_result_ref;
23880 }
23881 wxPyEndAllowThreads(__tstate);
23882 if (PyErr_Occurred()) SWIG_fail;
23883 }
23884 {
23885 #if wxUSE_UNICODE
23886 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23887 #else
23888 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23889 #endif
23890 }
23891 return resultobj;
23892 fail:
23893 return NULL;
23894 }
23895
23896
23897 SWIGINTERN PyObject *_wrap_PrintData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23898 PyObject *resultobj = 0;
23899 wxPrintData *arg1 = (wxPrintData *) 0 ;
23900 bool result;
23901 void *argp1 = 0 ;
23902 int res1 = 0 ;
23903 PyObject *swig_obj[1] ;
23904
23905 if (!args) SWIG_fail;
23906 swig_obj[0] = args;
23907 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23908 if (!SWIG_IsOK(res1)) {
23909 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23910 }
23911 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23912 {
23913 PyThreadState* __tstate = wxPyBeginAllowThreads();
23914 result = (bool)(arg1)->GetColour();
23915 wxPyEndAllowThreads(__tstate);
23916 if (PyErr_Occurred()) SWIG_fail;
23917 }
23918 {
23919 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23920 }
23921 return resultobj;
23922 fail:
23923 return NULL;
23924 }
23925
23926
23927 SWIGINTERN PyObject *_wrap_PrintData_GetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23928 PyObject *resultobj = 0;
23929 wxPrintData *arg1 = (wxPrintData *) 0 ;
23930 wxDuplexMode result;
23931 void *argp1 = 0 ;
23932 int res1 = 0 ;
23933 PyObject *swig_obj[1] ;
23934
23935 if (!args) SWIG_fail;
23936 swig_obj[0] = args;
23937 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23938 if (!SWIG_IsOK(res1)) {
23939 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23940 }
23941 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23942 {
23943 PyThreadState* __tstate = wxPyBeginAllowThreads();
23944 result = (wxDuplexMode)(arg1)->GetDuplex();
23945 wxPyEndAllowThreads(__tstate);
23946 if (PyErr_Occurred()) SWIG_fail;
23947 }
23948 resultobj = SWIG_From_int(static_cast< int >(result));
23949 return resultobj;
23950 fail:
23951 return NULL;
23952 }
23953
23954
23955 SWIGINTERN PyObject *_wrap_PrintData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23956 PyObject *resultobj = 0;
23957 wxPrintData *arg1 = (wxPrintData *) 0 ;
23958 wxPaperSize result;
23959 void *argp1 = 0 ;
23960 int res1 = 0 ;
23961 PyObject *swig_obj[1] ;
23962
23963 if (!args) SWIG_fail;
23964 swig_obj[0] = args;
23965 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23966 if (!SWIG_IsOK(res1)) {
23967 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23968 }
23969 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23970 {
23971 PyThreadState* __tstate = wxPyBeginAllowThreads();
23972 result = (wxPaperSize)(arg1)->GetPaperId();
23973 wxPyEndAllowThreads(__tstate);
23974 if (PyErr_Occurred()) SWIG_fail;
23975 }
23976 resultobj = SWIG_From_int(static_cast< int >(result));
23977 return resultobj;
23978 fail:
23979 return NULL;
23980 }
23981
23982
23983 SWIGINTERN PyObject *_wrap_PrintData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23984 PyObject *resultobj = 0;
23985 wxPrintData *arg1 = (wxPrintData *) 0 ;
23986 wxSize *result = 0 ;
23987 void *argp1 = 0 ;
23988 int res1 = 0 ;
23989 PyObject *swig_obj[1] ;
23990
23991 if (!args) SWIG_fail;
23992 swig_obj[0] = args;
23993 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23994 if (!SWIG_IsOK(res1)) {
23995 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23996 }
23997 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23998 {
23999 PyThreadState* __tstate = wxPyBeginAllowThreads();
24000 {
24001 wxSize const &_result_ref = (arg1)->GetPaperSize();
24002 result = (wxSize *) &_result_ref;
24003 }
24004 wxPyEndAllowThreads(__tstate);
24005 if (PyErr_Occurred()) SWIG_fail;
24006 }
24007 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
24008 return resultobj;
24009 fail:
24010 return NULL;
24011 }
24012
24013
24014 SWIGINTERN PyObject *_wrap_PrintData_GetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24015 PyObject *resultobj = 0;
24016 wxPrintData *arg1 = (wxPrintData *) 0 ;
24017 int result;
24018 void *argp1 = 0 ;
24019 int res1 = 0 ;
24020 PyObject *swig_obj[1] ;
24021
24022 if (!args) SWIG_fail;
24023 swig_obj[0] = args;
24024 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24025 if (!SWIG_IsOK(res1)) {
24026 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24027 }
24028 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24029 {
24030 PyThreadState* __tstate = wxPyBeginAllowThreads();
24031 result = (int)(arg1)->GetQuality();
24032 wxPyEndAllowThreads(__tstate);
24033 if (PyErr_Occurred()) SWIG_fail;
24034 }
24035 resultobj = SWIG_From_int(static_cast< int >(result));
24036 return resultobj;
24037 fail:
24038 return NULL;
24039 }
24040
24041
24042 SWIGINTERN PyObject *_wrap_PrintData_GetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24043 PyObject *resultobj = 0;
24044 wxPrintData *arg1 = (wxPrintData *) 0 ;
24045 wxPrintBin result;
24046 void *argp1 = 0 ;
24047 int res1 = 0 ;
24048 PyObject *swig_obj[1] ;
24049
24050 if (!args) SWIG_fail;
24051 swig_obj[0] = args;
24052 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24053 if (!SWIG_IsOK(res1)) {
24054 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24055 }
24056 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24057 {
24058 PyThreadState* __tstate = wxPyBeginAllowThreads();
24059 result = (wxPrintBin)(arg1)->GetBin();
24060 wxPyEndAllowThreads(__tstate);
24061 if (PyErr_Occurred()) SWIG_fail;
24062 }
24063 resultobj = SWIG_From_int(static_cast< int >(result));
24064 return resultobj;
24065 fail:
24066 return NULL;
24067 }
24068
24069
24070 SWIGINTERN PyObject *_wrap_PrintData_GetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24071 PyObject *resultobj = 0;
24072 wxPrintData *arg1 = (wxPrintData *) 0 ;
24073 wxPrintMode result;
24074 void *argp1 = 0 ;
24075 int res1 = 0 ;
24076 PyObject *swig_obj[1] ;
24077
24078 if (!args) SWIG_fail;
24079 swig_obj[0] = args;
24080 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24081 if (!SWIG_IsOK(res1)) {
24082 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24083 }
24084 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24085 {
24086 PyThreadState* __tstate = wxPyBeginAllowThreads();
24087 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
24088 wxPyEndAllowThreads(__tstate);
24089 if (PyErr_Occurred()) SWIG_fail;
24090 }
24091 resultobj = SWIG_From_int(static_cast< int >(result));
24092 return resultobj;
24093 fail:
24094 return NULL;
24095 }
24096
24097
24098 SWIGINTERN PyObject *_wrap_PrintData_GetMedia(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24099 PyObject *resultobj = 0;
24100 wxPrintData *arg1 = (wxPrintData *) 0 ;
24101 int result;
24102 void *argp1 = 0 ;
24103 int res1 = 0 ;
24104 PyObject *swig_obj[1] ;
24105
24106 if (!args) SWIG_fail;
24107 swig_obj[0] = args;
24108 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24109 if (!SWIG_IsOK(res1)) {
24110 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetMedia" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24111 }
24112 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24113 {
24114 PyThreadState* __tstate = wxPyBeginAllowThreads();
24115 result = (int)((wxPrintData const *)arg1)->GetMedia();
24116 wxPyEndAllowThreads(__tstate);
24117 if (PyErr_Occurred()) SWIG_fail;
24118 }
24119 resultobj = SWIG_From_int(static_cast< int >(result));
24120 return resultobj;
24121 fail:
24122 return NULL;
24123 }
24124
24125
24126 SWIGINTERN PyObject *_wrap_PrintData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24127 PyObject *resultobj = 0;
24128 wxPrintData *arg1 = (wxPrintData *) 0 ;
24129 int arg2 ;
24130 void *argp1 = 0 ;
24131 int res1 = 0 ;
24132 int val2 ;
24133 int ecode2 = 0 ;
24134 PyObject * obj0 = 0 ;
24135 PyObject * obj1 = 0 ;
24136 char * kwnames[] = {
24137 (char *) "self",(char *) "v", NULL
24138 };
24139
24140 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
24141 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24142 if (!SWIG_IsOK(res1)) {
24143 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
24144 }
24145 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24146 ecode2 = SWIG_AsVal_int(obj1, &val2);
24147 if (!SWIG_IsOK(ecode2)) {
24148 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
24149 }
24150 arg2 = static_cast< int >(val2);
24151 {
24152 PyThreadState* __tstate = wxPyBeginAllowThreads();
24153 (arg1)->SetNoCopies(arg2);
24154 wxPyEndAllowThreads(__tstate);
24155 if (PyErr_Occurred()) SWIG_fail;
24156 }
24157 resultobj = SWIG_Py_Void();
24158 return resultobj;
24159 fail:
24160 return NULL;
24161 }
24162
24163
24164 SWIGINTERN PyObject *_wrap_PrintData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24165 PyObject *resultobj = 0;
24166 wxPrintData *arg1 = (wxPrintData *) 0 ;
24167 bool arg2 ;
24168 void *argp1 = 0 ;
24169 int res1 = 0 ;
24170 bool val2 ;
24171 int ecode2 = 0 ;
24172 PyObject * obj0 = 0 ;
24173 PyObject * obj1 = 0 ;
24174 char * kwnames[] = {
24175 (char *) "self",(char *) "flag", NULL
24176 };
24177
24178 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
24179 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24180 if (!SWIG_IsOK(res1)) {
24181 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
24182 }
24183 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24184 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24185 if (!SWIG_IsOK(ecode2)) {
24186 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
24187 }
24188 arg2 = static_cast< bool >(val2);
24189 {
24190 PyThreadState* __tstate = wxPyBeginAllowThreads();
24191 (arg1)->SetCollate(arg2);
24192 wxPyEndAllowThreads(__tstate);
24193 if (PyErr_Occurred()) SWIG_fail;
24194 }
24195 resultobj = SWIG_Py_Void();
24196 return resultobj;
24197 fail:
24198 return NULL;
24199 }
24200
24201
24202 SWIGINTERN PyObject *_wrap_PrintData_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24203 PyObject *resultobj = 0;
24204 wxPrintData *arg1 = (wxPrintData *) 0 ;
24205 int arg2 ;
24206 void *argp1 = 0 ;
24207 int res1 = 0 ;
24208 int val2 ;
24209 int ecode2 = 0 ;
24210 PyObject * obj0 = 0 ;
24211 PyObject * obj1 = 0 ;
24212 char * kwnames[] = {
24213 (char *) "self",(char *) "orient", NULL
24214 };
24215
24216 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
24217 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24218 if (!SWIG_IsOK(res1)) {
24219 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
24220 }
24221 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24222 ecode2 = SWIG_AsVal_int(obj1, &val2);
24223 if (!SWIG_IsOK(ecode2)) {
24224 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
24225 }
24226 arg2 = static_cast< int >(val2);
24227 {
24228 PyThreadState* __tstate = wxPyBeginAllowThreads();
24229 (arg1)->SetOrientation(arg2);
24230 wxPyEndAllowThreads(__tstate);
24231 if (PyErr_Occurred()) SWIG_fail;
24232 }
24233 resultobj = SWIG_Py_Void();
24234 return resultobj;
24235 fail:
24236 return NULL;
24237 }
24238
24239
24240 SWIGINTERN PyObject *_wrap_PrintData_SetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24241 PyObject *resultobj = 0;
24242 wxPrintData *arg1 = (wxPrintData *) 0 ;
24243 wxString *arg2 = 0 ;
24244 void *argp1 = 0 ;
24245 int res1 = 0 ;
24246 bool temp2 = false ;
24247 PyObject * obj0 = 0 ;
24248 PyObject * obj1 = 0 ;
24249 char * kwnames[] = {
24250 (char *) "self",(char *) "name", NULL
24251 };
24252
24253 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) SWIG_fail;
24254 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24255 if (!SWIG_IsOK(res1)) {
24256 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24257 }
24258 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24259 {
24260 arg2 = wxString_in_helper(obj1);
24261 if (arg2 == NULL) SWIG_fail;
24262 temp2 = true;
24263 }
24264 {
24265 PyThreadState* __tstate = wxPyBeginAllowThreads();
24266 (arg1)->SetPrinterName((wxString const &)*arg2);
24267 wxPyEndAllowThreads(__tstate);
24268 if (PyErr_Occurred()) SWIG_fail;
24269 }
24270 resultobj = SWIG_Py_Void();
24271 {
24272 if (temp2)
24273 delete arg2;
24274 }
24275 return resultobj;
24276 fail:
24277 {
24278 if (temp2)
24279 delete arg2;
24280 }
24281 return NULL;
24282 }
24283
24284
24285 SWIGINTERN PyObject *_wrap_PrintData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24286 PyObject *resultobj = 0;
24287 wxPrintData *arg1 = (wxPrintData *) 0 ;
24288 bool arg2 ;
24289 void *argp1 = 0 ;
24290 int res1 = 0 ;
24291 bool val2 ;
24292 int ecode2 = 0 ;
24293 PyObject * obj0 = 0 ;
24294 PyObject * obj1 = 0 ;
24295 char * kwnames[] = {
24296 (char *) "self",(char *) "colour", NULL
24297 };
24298
24299 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
24300 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24301 if (!SWIG_IsOK(res1)) {
24302 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24303 }
24304 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24305 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24306 if (!SWIG_IsOK(ecode2)) {
24307 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
24308 }
24309 arg2 = static_cast< bool >(val2);
24310 {
24311 PyThreadState* __tstate = wxPyBeginAllowThreads();
24312 (arg1)->SetColour(arg2);
24313 wxPyEndAllowThreads(__tstate);
24314 if (PyErr_Occurred()) SWIG_fail;
24315 }
24316 resultobj = SWIG_Py_Void();
24317 return resultobj;
24318 fail:
24319 return NULL;
24320 }
24321
24322
24323 SWIGINTERN PyObject *_wrap_PrintData_SetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24324 PyObject *resultobj = 0;
24325 wxPrintData *arg1 = (wxPrintData *) 0 ;
24326 wxDuplexMode arg2 ;
24327 void *argp1 = 0 ;
24328 int res1 = 0 ;
24329 int val2 ;
24330 int ecode2 = 0 ;
24331 PyObject * obj0 = 0 ;
24332 PyObject * obj1 = 0 ;
24333 char * kwnames[] = {
24334 (char *) "self",(char *) "duplex", NULL
24335 };
24336
24337 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) SWIG_fail;
24338 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24339 if (!SWIG_IsOK(res1)) {
24340 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24341 }
24342 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24343 ecode2 = SWIG_AsVal_int(obj1, &val2);
24344 if (!SWIG_IsOK(ecode2)) {
24345 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
24346 }
24347 arg2 = static_cast< wxDuplexMode >(val2);
24348 {
24349 PyThreadState* __tstate = wxPyBeginAllowThreads();
24350 (arg1)->SetDuplex(arg2);
24351 wxPyEndAllowThreads(__tstate);
24352 if (PyErr_Occurred()) SWIG_fail;
24353 }
24354 resultobj = SWIG_Py_Void();
24355 return resultobj;
24356 fail:
24357 return NULL;
24358 }
24359
24360
24361 SWIGINTERN PyObject *_wrap_PrintData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24362 PyObject *resultobj = 0;
24363 wxPrintData *arg1 = (wxPrintData *) 0 ;
24364 wxPaperSize arg2 ;
24365 void *argp1 = 0 ;
24366 int res1 = 0 ;
24367 int val2 ;
24368 int ecode2 = 0 ;
24369 PyObject * obj0 = 0 ;
24370 PyObject * obj1 = 0 ;
24371 char * kwnames[] = {
24372 (char *) "self",(char *) "sizeId", NULL
24373 };
24374
24375 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
24376 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24377 if (!SWIG_IsOK(res1)) {
24378 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24379 }
24380 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24381 ecode2 = SWIG_AsVal_int(obj1, &val2);
24382 if (!SWIG_IsOK(ecode2)) {
24383 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24384 }
24385 arg2 = static_cast< wxPaperSize >(val2);
24386 {
24387 PyThreadState* __tstate = wxPyBeginAllowThreads();
24388 (arg1)->SetPaperId(arg2);
24389 wxPyEndAllowThreads(__tstate);
24390 if (PyErr_Occurred()) SWIG_fail;
24391 }
24392 resultobj = SWIG_Py_Void();
24393 return resultobj;
24394 fail:
24395 return NULL;
24396 }
24397
24398
24399 SWIGINTERN PyObject *_wrap_PrintData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24400 PyObject *resultobj = 0;
24401 wxPrintData *arg1 = (wxPrintData *) 0 ;
24402 wxSize *arg2 = 0 ;
24403 void *argp1 = 0 ;
24404 int res1 = 0 ;
24405 wxSize temp2 ;
24406 PyObject * obj0 = 0 ;
24407 PyObject * obj1 = 0 ;
24408 char * kwnames[] = {
24409 (char *) "self",(char *) "sz", NULL
24410 };
24411
24412 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
24413 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24414 if (!SWIG_IsOK(res1)) {
24415 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24416 }
24417 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24418 {
24419 arg2 = &temp2;
24420 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
24421 }
24422 {
24423 PyThreadState* __tstate = wxPyBeginAllowThreads();
24424 (arg1)->SetPaperSize((wxSize const &)*arg2);
24425 wxPyEndAllowThreads(__tstate);
24426 if (PyErr_Occurred()) SWIG_fail;
24427 }
24428 resultobj = SWIG_Py_Void();
24429 return resultobj;
24430 fail:
24431 return NULL;
24432 }
24433
24434
24435 SWIGINTERN PyObject *_wrap_PrintData_SetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24436 PyObject *resultobj = 0;
24437 wxPrintData *arg1 = (wxPrintData *) 0 ;
24438 int arg2 ;
24439 void *argp1 = 0 ;
24440 int res1 = 0 ;
24441 int val2 ;
24442 int ecode2 = 0 ;
24443 PyObject * obj0 = 0 ;
24444 PyObject * obj1 = 0 ;
24445 char * kwnames[] = {
24446 (char *) "self",(char *) "quality", NULL
24447 };
24448
24449 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) SWIG_fail;
24450 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24451 if (!SWIG_IsOK(res1)) {
24452 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24453 }
24454 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24455 ecode2 = SWIG_AsVal_int(obj1, &val2);
24456 if (!SWIG_IsOK(ecode2)) {
24457 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24458 }
24459 arg2 = static_cast< int >(val2);
24460 {
24461 PyThreadState* __tstate = wxPyBeginAllowThreads();
24462 (arg1)->SetQuality(arg2);
24463 wxPyEndAllowThreads(__tstate);
24464 if (PyErr_Occurred()) SWIG_fail;
24465 }
24466 resultobj = SWIG_Py_Void();
24467 return resultobj;
24468 fail:
24469 return NULL;
24470 }
24471
24472
24473 SWIGINTERN PyObject *_wrap_PrintData_SetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24474 PyObject *resultobj = 0;
24475 wxPrintData *arg1 = (wxPrintData *) 0 ;
24476 wxPrintBin arg2 ;
24477 void *argp1 = 0 ;
24478 int res1 = 0 ;
24479 int val2 ;
24480 int ecode2 = 0 ;
24481 PyObject * obj0 = 0 ;
24482 PyObject * obj1 = 0 ;
24483 char * kwnames[] = {
24484 (char *) "self",(char *) "bin", NULL
24485 };
24486
24487 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) SWIG_fail;
24488 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24489 if (!SWIG_IsOK(res1)) {
24490 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24491 }
24492 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24493 ecode2 = SWIG_AsVal_int(obj1, &val2);
24494 if (!SWIG_IsOK(ecode2)) {
24495 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24496 }
24497 arg2 = static_cast< wxPrintBin >(val2);
24498 {
24499 PyThreadState* __tstate = wxPyBeginAllowThreads();
24500 (arg1)->SetBin(arg2);
24501 wxPyEndAllowThreads(__tstate);
24502 if (PyErr_Occurred()) SWIG_fail;
24503 }
24504 resultobj = SWIG_Py_Void();
24505 return resultobj;
24506 fail:
24507 return NULL;
24508 }
24509
24510
24511 SWIGINTERN PyObject *_wrap_PrintData_SetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24512 PyObject *resultobj = 0;
24513 wxPrintData *arg1 = (wxPrintData *) 0 ;
24514 wxPrintMode arg2 ;
24515 void *argp1 = 0 ;
24516 int res1 = 0 ;
24517 int val2 ;
24518 int ecode2 = 0 ;
24519 PyObject * obj0 = 0 ;
24520 PyObject * obj1 = 0 ;
24521 char * kwnames[] = {
24522 (char *) "self",(char *) "printMode", NULL
24523 };
24524
24525 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) SWIG_fail;
24526 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24527 if (!SWIG_IsOK(res1)) {
24528 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24529 }
24530 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24531 ecode2 = SWIG_AsVal_int(obj1, &val2);
24532 if (!SWIG_IsOK(ecode2)) {
24533 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24534 }
24535 arg2 = static_cast< wxPrintMode >(val2);
24536 {
24537 PyThreadState* __tstate = wxPyBeginAllowThreads();
24538 (arg1)->SetPrintMode(arg2);
24539 wxPyEndAllowThreads(__tstate);
24540 if (PyErr_Occurred()) SWIG_fail;
24541 }
24542 resultobj = SWIG_Py_Void();
24543 return resultobj;
24544 fail:
24545 return NULL;
24546 }
24547
24548
24549 SWIGINTERN PyObject *_wrap_PrintData_SetMedia(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24550 PyObject *resultobj = 0;
24551 wxPrintData *arg1 = (wxPrintData *) 0 ;
24552 int arg2 ;
24553 void *argp1 = 0 ;
24554 int res1 = 0 ;
24555 int val2 ;
24556 int ecode2 = 0 ;
24557 PyObject * obj0 = 0 ;
24558 PyObject * obj1 = 0 ;
24559 char * kwnames[] = {
24560 (char *) "self",(char *) "media", NULL
24561 };
24562
24563 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetMedia",kwnames,&obj0,&obj1)) SWIG_fail;
24564 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24565 if (!SWIG_IsOK(res1)) {
24566 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetMedia" "', expected argument " "1"" of type '" "wxPrintData *""'");
24567 }
24568 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24569 ecode2 = SWIG_AsVal_int(obj1, &val2);
24570 if (!SWIG_IsOK(ecode2)) {
24571 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetMedia" "', expected argument " "2"" of type '" "int""'");
24572 }
24573 arg2 = static_cast< int >(val2);
24574 {
24575 PyThreadState* __tstate = wxPyBeginAllowThreads();
24576 (arg1)->SetMedia(arg2);
24577 wxPyEndAllowThreads(__tstate);
24578 if (PyErr_Occurred()) SWIG_fail;
24579 }
24580 resultobj = SWIG_Py_Void();
24581 return resultobj;
24582 fail:
24583 return NULL;
24584 }
24585
24586
24587 SWIGINTERN PyObject *_wrap_PrintData_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24588 PyObject *resultobj = 0;
24589 wxPrintData *arg1 = (wxPrintData *) 0 ;
24590 wxString result;
24591 void *argp1 = 0 ;
24592 int res1 = 0 ;
24593 PyObject *swig_obj[1] ;
24594
24595 if (!args) SWIG_fail;
24596 swig_obj[0] = args;
24597 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24598 if (!SWIG_IsOK(res1)) {
24599 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24600 }
24601 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24602 {
24603 PyThreadState* __tstate = wxPyBeginAllowThreads();
24604 result = ((wxPrintData const *)arg1)->GetFilename();
24605 wxPyEndAllowThreads(__tstate);
24606 if (PyErr_Occurred()) SWIG_fail;
24607 }
24608 {
24609 #if wxUSE_UNICODE
24610 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24611 #else
24612 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24613 #endif
24614 }
24615 return resultobj;
24616 fail:
24617 return NULL;
24618 }
24619
24620
24621 SWIGINTERN PyObject *_wrap_PrintData_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24622 PyObject *resultobj = 0;
24623 wxPrintData *arg1 = (wxPrintData *) 0 ;
24624 wxString *arg2 = 0 ;
24625 void *argp1 = 0 ;
24626 int res1 = 0 ;
24627 bool temp2 = false ;
24628 PyObject * obj0 = 0 ;
24629 PyObject * obj1 = 0 ;
24630 char * kwnames[] = {
24631 (char *) "self",(char *) "filename", NULL
24632 };
24633
24634 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
24635 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24636 if (!SWIG_IsOK(res1)) {
24637 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24638 }
24639 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24640 {
24641 arg2 = wxString_in_helper(obj1);
24642 if (arg2 == NULL) SWIG_fail;
24643 temp2 = true;
24644 }
24645 {
24646 PyThreadState* __tstate = wxPyBeginAllowThreads();
24647 (arg1)->SetFilename((wxString const &)*arg2);
24648 wxPyEndAllowThreads(__tstate);
24649 if (PyErr_Occurred()) SWIG_fail;
24650 }
24651 resultobj = SWIG_Py_Void();
24652 {
24653 if (temp2)
24654 delete arg2;
24655 }
24656 return resultobj;
24657 fail:
24658 {
24659 if (temp2)
24660 delete arg2;
24661 }
24662 return NULL;
24663 }
24664
24665
24666 SWIGINTERN PyObject *_wrap_PrintData_GetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24667 PyObject *resultobj = 0;
24668 wxPrintData *arg1 = (wxPrintData *) 0 ;
24669 PyObject *result = 0 ;
24670 void *argp1 = 0 ;
24671 int res1 = 0 ;
24672 PyObject *swig_obj[1] ;
24673
24674 if (!args) SWIG_fail;
24675 swig_obj[0] = args;
24676 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24677 if (!SWIG_IsOK(res1)) {
24678 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24679 }
24680 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24681 {
24682 PyThreadState* __tstate = wxPyBeginAllowThreads();
24683 result = (PyObject *)wxPrintData_GetPrivData(arg1);
24684 wxPyEndAllowThreads(__tstate);
24685 if (PyErr_Occurred()) SWIG_fail;
24686 }
24687 resultobj = result;
24688 return resultobj;
24689 fail:
24690 return NULL;
24691 }
24692
24693
24694 SWIGINTERN PyObject *_wrap_PrintData_SetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24695 PyObject *resultobj = 0;
24696 wxPrintData *arg1 = (wxPrintData *) 0 ;
24697 PyObject *arg2 = (PyObject *) 0 ;
24698 void *argp1 = 0 ;
24699 int res1 = 0 ;
24700 PyObject * obj0 = 0 ;
24701 PyObject * obj1 = 0 ;
24702 char * kwnames[] = {
24703 (char *) "self",(char *) "data", NULL
24704 };
24705
24706 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) SWIG_fail;
24707 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24708 if (!SWIG_IsOK(res1)) {
24709 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24710 }
24711 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24712 arg2 = obj1;
24713 {
24714 PyThreadState* __tstate = wxPyBeginAllowThreads();
24715 wxPrintData_SetPrivData(arg1,arg2);
24716 wxPyEndAllowThreads(__tstate);
24717 if (PyErr_Occurred()) SWIG_fail;
24718 }
24719 resultobj = SWIG_Py_Void();
24720 return resultobj;
24721 fail:
24722 return NULL;
24723 }
24724
24725
24726 SWIGINTERN PyObject *PrintData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24727 PyObject *obj;
24728 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
24729 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData, SWIG_NewClientData(obj));
24730 return SWIG_Py_Void();
24731 }
24732
24733 SWIGINTERN PyObject *PrintData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24734 return SWIG_Python_InitShadowInstance(args);
24735 }
24736
24737 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
24738 PyObject *resultobj = 0;
24739 wxPageSetupDialogData *result = 0 ;
24740
24741 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
24742 {
24743 PyThreadState* __tstate = wxPyBeginAllowThreads();
24744 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
24745 wxPyEndAllowThreads(__tstate);
24746 if (PyErr_Occurred()) SWIG_fail;
24747 }
24748 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24749 return resultobj;
24750 fail:
24751 return NULL;
24752 }
24753
24754
24755 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24756 PyObject *resultobj = 0;
24757 wxPageSetupDialogData *arg1 = 0 ;
24758 wxPageSetupDialogData *result = 0 ;
24759 void *argp1 = 0 ;
24760 int res1 = 0 ;
24761
24762 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24763 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
24764 if (!SWIG_IsOK(res1)) {
24765 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24766 }
24767 if (!argp1) {
24768 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24769 }
24770 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24771 {
24772 PyThreadState* __tstate = wxPyBeginAllowThreads();
24773 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
24774 wxPyEndAllowThreads(__tstate);
24775 if (PyErr_Occurred()) SWIG_fail;
24776 }
24777 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24778 return resultobj;
24779 fail:
24780 return NULL;
24781 }
24782
24783
24784 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24785 PyObject *resultobj = 0;
24786 wxPrintData *arg1 = 0 ;
24787 wxPageSetupDialogData *result = 0 ;
24788 void *argp1 = 0 ;
24789 int res1 = 0 ;
24790
24791 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24792 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
24793 if (!SWIG_IsOK(res1)) {
24794 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24795 }
24796 if (!argp1) {
24797 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24798 }
24799 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24800 {
24801 PyThreadState* __tstate = wxPyBeginAllowThreads();
24802 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
24803 wxPyEndAllowThreads(__tstate);
24804 if (PyErr_Occurred()) SWIG_fail;
24805 }
24806 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24807 return resultobj;
24808 fail:
24809 return NULL;
24810 }
24811
24812
24813 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
24814 int argc;
24815 PyObject *argv[2];
24816
24817 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PageSetupDialogData",0,1,argv))) SWIG_fail;
24818 --argc;
24819 if (argc == 0) {
24820 return _wrap_new_PageSetupDialogData__SWIG_0(self, argc, argv);
24821 }
24822 if (argc == 1) {
24823 int _v = 0;
24824 {
24825 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPageSetupDialogData, 0);
24826 _v = SWIG_CheckState(res);
24827 }
24828 if (!_v) goto check_2;
24829 return _wrap_new_PageSetupDialogData__SWIG_1(self, argc, argv);
24830 }
24831 check_2:
24832
24833 if (argc == 1) {
24834 return _wrap_new_PageSetupDialogData__SWIG_2(self, argc, argv);
24835 }
24836
24837 fail:
24838 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
24839 return NULL;
24840 }
24841
24842
24843 SWIGINTERN PyObject *_wrap_delete_PageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24844 PyObject *resultobj = 0;
24845 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24846 void *argp1 = 0 ;
24847 int res1 = 0 ;
24848 PyObject *swig_obj[1] ;
24849
24850 if (!args) SWIG_fail;
24851 swig_obj[0] = args;
24852 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_DISOWN | 0 );
24853 if (!SWIG_IsOK(res1)) {
24854 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24855 }
24856 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24857 {
24858 PyThreadState* __tstate = wxPyBeginAllowThreads();
24859 delete arg1;
24860
24861 wxPyEndAllowThreads(__tstate);
24862 if (PyErr_Occurred()) SWIG_fail;
24863 }
24864 resultobj = SWIG_Py_Void();
24865 return resultobj;
24866 fail:
24867 return NULL;
24868 }
24869
24870
24871 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24872 PyObject *resultobj = 0;
24873 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24874 bool arg2 ;
24875 void *argp1 = 0 ;
24876 int res1 = 0 ;
24877 bool val2 ;
24878 int ecode2 = 0 ;
24879 PyObject * obj0 = 0 ;
24880 PyObject * obj1 = 0 ;
24881 char * kwnames[] = {
24882 (char *) "self",(char *) "flag", NULL
24883 };
24884
24885 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
24886 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24887 if (!SWIG_IsOK(res1)) {
24888 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24889 }
24890 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24891 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24892 if (!SWIG_IsOK(ecode2)) {
24893 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24894 }
24895 arg2 = static_cast< bool >(val2);
24896 {
24897 PyThreadState* __tstate = wxPyBeginAllowThreads();
24898 (arg1)->EnableHelp(arg2);
24899 wxPyEndAllowThreads(__tstate);
24900 if (PyErr_Occurred()) SWIG_fail;
24901 }
24902 resultobj = SWIG_Py_Void();
24903 return resultobj;
24904 fail:
24905 return NULL;
24906 }
24907
24908
24909 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24910 PyObject *resultobj = 0;
24911 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24912 bool arg2 ;
24913 void *argp1 = 0 ;
24914 int res1 = 0 ;
24915 bool val2 ;
24916 int ecode2 = 0 ;
24917 PyObject * obj0 = 0 ;
24918 PyObject * obj1 = 0 ;
24919 char * kwnames[] = {
24920 (char *) "self",(char *) "flag", NULL
24921 };
24922
24923 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) SWIG_fail;
24924 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24925 if (!SWIG_IsOK(res1)) {
24926 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24927 }
24928 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24929 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24930 if (!SWIG_IsOK(ecode2)) {
24931 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
24932 }
24933 arg2 = static_cast< bool >(val2);
24934 {
24935 PyThreadState* __tstate = wxPyBeginAllowThreads();
24936 (arg1)->EnableMargins(arg2);
24937 wxPyEndAllowThreads(__tstate);
24938 if (PyErr_Occurred()) SWIG_fail;
24939 }
24940 resultobj = SWIG_Py_Void();
24941 return resultobj;
24942 fail:
24943 return NULL;
24944 }
24945
24946
24947 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24948 PyObject *resultobj = 0;
24949 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24950 bool arg2 ;
24951 void *argp1 = 0 ;
24952 int res1 = 0 ;
24953 bool val2 ;
24954 int ecode2 = 0 ;
24955 PyObject * obj0 = 0 ;
24956 PyObject * obj1 = 0 ;
24957 char * kwnames[] = {
24958 (char *) "self",(char *) "flag", NULL
24959 };
24960
24961 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
24962 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24963 if (!SWIG_IsOK(res1)) {
24964 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24965 }
24966 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24967 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24968 if (!SWIG_IsOK(ecode2)) {
24969 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
24970 }
24971 arg2 = static_cast< bool >(val2);
24972 {
24973 PyThreadState* __tstate = wxPyBeginAllowThreads();
24974 (arg1)->EnableOrientation(arg2);
24975 wxPyEndAllowThreads(__tstate);
24976 if (PyErr_Occurred()) SWIG_fail;
24977 }
24978 resultobj = SWIG_Py_Void();
24979 return resultobj;
24980 fail:
24981 return NULL;
24982 }
24983
24984
24985 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24986 PyObject *resultobj = 0;
24987 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24988 bool arg2 ;
24989 void *argp1 = 0 ;
24990 int res1 = 0 ;
24991 bool val2 ;
24992 int ecode2 = 0 ;
24993 PyObject * obj0 = 0 ;
24994 PyObject * obj1 = 0 ;
24995 char * kwnames[] = {
24996 (char *) "self",(char *) "flag", NULL
24997 };
24998
24999 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) SWIG_fail;
25000 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25001 if (!SWIG_IsOK(res1)) {
25002 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25003 }
25004 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25005 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25006 if (!SWIG_IsOK(ecode2)) {
25007 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
25008 }
25009 arg2 = static_cast< bool >(val2);
25010 {
25011 PyThreadState* __tstate = wxPyBeginAllowThreads();
25012 (arg1)->EnablePaper(arg2);
25013 wxPyEndAllowThreads(__tstate);
25014 if (PyErr_Occurred()) SWIG_fail;
25015 }
25016 resultobj = SWIG_Py_Void();
25017 return resultobj;
25018 fail:
25019 return NULL;
25020 }
25021
25022
25023 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25024 PyObject *resultobj = 0;
25025 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25026 bool arg2 ;
25027 void *argp1 = 0 ;
25028 int res1 = 0 ;
25029 bool val2 ;
25030 int ecode2 = 0 ;
25031 PyObject * obj0 = 0 ;
25032 PyObject * obj1 = 0 ;
25033 char * kwnames[] = {
25034 (char *) "self",(char *) "flag", NULL
25035 };
25036
25037 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) SWIG_fail;
25038 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25039 if (!SWIG_IsOK(res1)) {
25040 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25041 }
25042 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25043 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25044 if (!SWIG_IsOK(ecode2)) {
25045 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
25046 }
25047 arg2 = static_cast< bool >(val2);
25048 {
25049 PyThreadState* __tstate = wxPyBeginAllowThreads();
25050 (arg1)->EnablePrinter(arg2);
25051 wxPyEndAllowThreads(__tstate);
25052 if (PyErr_Occurred()) SWIG_fail;
25053 }
25054 resultobj = SWIG_Py_Void();
25055 return resultobj;
25056 fail:
25057 return NULL;
25058 }
25059
25060
25061 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25062 PyObject *resultobj = 0;
25063 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25064 bool result;
25065 void *argp1 = 0 ;
25066 int res1 = 0 ;
25067 PyObject *swig_obj[1] ;
25068
25069 if (!args) SWIG_fail;
25070 swig_obj[0] = args;
25071 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25072 if (!SWIG_IsOK(res1)) {
25073 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25074 }
25075 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25076 {
25077 PyThreadState* __tstate = wxPyBeginAllowThreads();
25078 result = (bool)(arg1)->GetDefaultMinMargins();
25079 wxPyEndAllowThreads(__tstate);
25080 if (PyErr_Occurred()) SWIG_fail;
25081 }
25082 {
25083 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25084 }
25085 return resultobj;
25086 fail:
25087 return NULL;
25088 }
25089
25090
25091 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25092 PyObject *resultobj = 0;
25093 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25094 bool result;
25095 void *argp1 = 0 ;
25096 int res1 = 0 ;
25097 PyObject *swig_obj[1] ;
25098
25099 if (!args) SWIG_fail;
25100 swig_obj[0] = args;
25101 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25102 if (!SWIG_IsOK(res1)) {
25103 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25104 }
25105 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25106 {
25107 PyThreadState* __tstate = wxPyBeginAllowThreads();
25108 result = (bool)(arg1)->GetEnableMargins();
25109 wxPyEndAllowThreads(__tstate);
25110 if (PyErr_Occurred()) SWIG_fail;
25111 }
25112 {
25113 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25114 }
25115 return resultobj;
25116 fail:
25117 return NULL;
25118 }
25119
25120
25121 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25122 PyObject *resultobj = 0;
25123 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25124 bool result;
25125 void *argp1 = 0 ;
25126 int res1 = 0 ;
25127 PyObject *swig_obj[1] ;
25128
25129 if (!args) SWIG_fail;
25130 swig_obj[0] = args;
25131 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25132 if (!SWIG_IsOK(res1)) {
25133 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25134 }
25135 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25136 {
25137 PyThreadState* __tstate = wxPyBeginAllowThreads();
25138 result = (bool)(arg1)->GetEnableOrientation();
25139 wxPyEndAllowThreads(__tstate);
25140 if (PyErr_Occurred()) SWIG_fail;
25141 }
25142 {
25143 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25144 }
25145 return resultobj;
25146 fail:
25147 return NULL;
25148 }
25149
25150
25151 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25152 PyObject *resultobj = 0;
25153 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25154 bool result;
25155 void *argp1 = 0 ;
25156 int res1 = 0 ;
25157 PyObject *swig_obj[1] ;
25158
25159 if (!args) SWIG_fail;
25160 swig_obj[0] = args;
25161 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25162 if (!SWIG_IsOK(res1)) {
25163 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25164 }
25165 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25166 {
25167 PyThreadState* __tstate = wxPyBeginAllowThreads();
25168 result = (bool)(arg1)->GetEnablePaper();
25169 wxPyEndAllowThreads(__tstate);
25170 if (PyErr_Occurred()) SWIG_fail;
25171 }
25172 {
25173 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25174 }
25175 return resultobj;
25176 fail:
25177 return NULL;
25178 }
25179
25180
25181 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25182 PyObject *resultobj = 0;
25183 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25184 bool result;
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_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25194 }
25195 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25196 {
25197 PyThreadState* __tstate = wxPyBeginAllowThreads();
25198 result = (bool)(arg1)->GetEnablePrinter();
25199 wxPyEndAllowThreads(__tstate);
25200 if (PyErr_Occurred()) SWIG_fail;
25201 }
25202 {
25203 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25204 }
25205 return resultobj;
25206 fail:
25207 return NULL;
25208 }
25209
25210
25211 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25212 PyObject *resultobj = 0;
25213 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25214 bool result;
25215 void *argp1 = 0 ;
25216 int res1 = 0 ;
25217 PyObject *swig_obj[1] ;
25218
25219 if (!args) SWIG_fail;
25220 swig_obj[0] = args;
25221 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25222 if (!SWIG_IsOK(res1)) {
25223 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25224 }
25225 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25226 {
25227 PyThreadState* __tstate = wxPyBeginAllowThreads();
25228 result = (bool)(arg1)->GetEnableHelp();
25229 wxPyEndAllowThreads(__tstate);
25230 if (PyErr_Occurred()) SWIG_fail;
25231 }
25232 {
25233 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25234 }
25235 return resultobj;
25236 fail:
25237 return NULL;
25238 }
25239
25240
25241 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25242 PyObject *resultobj = 0;
25243 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25244 bool result;
25245 void *argp1 = 0 ;
25246 int res1 = 0 ;
25247 PyObject *swig_obj[1] ;
25248
25249 if (!args) SWIG_fail;
25250 swig_obj[0] = args;
25251 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25252 if (!SWIG_IsOK(res1)) {
25253 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25254 }
25255 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25256 {
25257 PyThreadState* __tstate = wxPyBeginAllowThreads();
25258 result = (bool)(arg1)->GetDefaultInfo();
25259 wxPyEndAllowThreads(__tstate);
25260 if (PyErr_Occurred()) SWIG_fail;
25261 }
25262 {
25263 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25264 }
25265 return resultobj;
25266 fail:
25267 return NULL;
25268 }
25269
25270
25271 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25272 PyObject *resultobj = 0;
25273 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25274 wxPoint result;
25275 void *argp1 = 0 ;
25276 int res1 = 0 ;
25277 PyObject *swig_obj[1] ;
25278
25279 if (!args) SWIG_fail;
25280 swig_obj[0] = args;
25281 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25282 if (!SWIG_IsOK(res1)) {
25283 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25284 }
25285 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25286 {
25287 PyThreadState* __tstate = wxPyBeginAllowThreads();
25288 result = (arg1)->GetMarginTopLeft();
25289 wxPyEndAllowThreads(__tstate);
25290 if (PyErr_Occurred()) SWIG_fail;
25291 }
25292 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25293 return resultobj;
25294 fail:
25295 return NULL;
25296 }
25297
25298
25299 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25300 PyObject *resultobj = 0;
25301 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25302 wxPoint result;
25303 void *argp1 = 0 ;
25304 int res1 = 0 ;
25305 PyObject *swig_obj[1] ;
25306
25307 if (!args) SWIG_fail;
25308 swig_obj[0] = args;
25309 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25310 if (!SWIG_IsOK(res1)) {
25311 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25312 }
25313 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25314 {
25315 PyThreadState* __tstate = wxPyBeginAllowThreads();
25316 result = (arg1)->GetMarginBottomRight();
25317 wxPyEndAllowThreads(__tstate);
25318 if (PyErr_Occurred()) SWIG_fail;
25319 }
25320 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25321 return resultobj;
25322 fail:
25323 return NULL;
25324 }
25325
25326
25327 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25328 PyObject *resultobj = 0;
25329 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25330 wxPoint result;
25331 void *argp1 = 0 ;
25332 int res1 = 0 ;
25333 PyObject *swig_obj[1] ;
25334
25335 if (!args) SWIG_fail;
25336 swig_obj[0] = args;
25337 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25338 if (!SWIG_IsOK(res1)) {
25339 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25340 }
25341 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25342 {
25343 PyThreadState* __tstate = wxPyBeginAllowThreads();
25344 result = (arg1)->GetMinMarginTopLeft();
25345 wxPyEndAllowThreads(__tstate);
25346 if (PyErr_Occurred()) SWIG_fail;
25347 }
25348 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25349 return resultobj;
25350 fail:
25351 return NULL;
25352 }
25353
25354
25355 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25356 PyObject *resultobj = 0;
25357 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25358 wxPoint result;
25359 void *argp1 = 0 ;
25360 int res1 = 0 ;
25361 PyObject *swig_obj[1] ;
25362
25363 if (!args) SWIG_fail;
25364 swig_obj[0] = args;
25365 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25366 if (!SWIG_IsOK(res1)) {
25367 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25368 }
25369 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25370 {
25371 PyThreadState* __tstate = wxPyBeginAllowThreads();
25372 result = (arg1)->GetMinMarginBottomRight();
25373 wxPyEndAllowThreads(__tstate);
25374 if (PyErr_Occurred()) SWIG_fail;
25375 }
25376 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25377 return resultobj;
25378 fail:
25379 return NULL;
25380 }
25381
25382
25383 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25384 PyObject *resultobj = 0;
25385 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25386 wxPaperSize result;
25387 void *argp1 = 0 ;
25388 int res1 = 0 ;
25389 PyObject *swig_obj[1] ;
25390
25391 if (!args) SWIG_fail;
25392 swig_obj[0] = args;
25393 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25394 if (!SWIG_IsOK(res1)) {
25395 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25396 }
25397 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25398 {
25399 PyThreadState* __tstate = wxPyBeginAllowThreads();
25400 result = (wxPaperSize)(arg1)->GetPaperId();
25401 wxPyEndAllowThreads(__tstate);
25402 if (PyErr_Occurred()) SWIG_fail;
25403 }
25404 resultobj = SWIG_From_int(static_cast< int >(result));
25405 return resultobj;
25406 fail:
25407 return NULL;
25408 }
25409
25410
25411 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25412 PyObject *resultobj = 0;
25413 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25414 wxSize result;
25415 void *argp1 = 0 ;
25416 int res1 = 0 ;
25417 PyObject *swig_obj[1] ;
25418
25419 if (!args) SWIG_fail;
25420 swig_obj[0] = args;
25421 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25422 if (!SWIG_IsOK(res1)) {
25423 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25424 }
25425 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25426 {
25427 PyThreadState* __tstate = wxPyBeginAllowThreads();
25428 result = (arg1)->GetPaperSize();
25429 wxPyEndAllowThreads(__tstate);
25430 if (PyErr_Occurred()) SWIG_fail;
25431 }
25432 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25433 return resultobj;
25434 fail:
25435 return NULL;
25436 }
25437
25438
25439 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25440 PyObject *resultobj = 0;
25441 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25442 wxPrintData *result = 0 ;
25443 void *argp1 = 0 ;
25444 int res1 = 0 ;
25445 PyObject *swig_obj[1] ;
25446
25447 if (!args) SWIG_fail;
25448 swig_obj[0] = args;
25449 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25450 if (!SWIG_IsOK(res1)) {
25451 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25452 }
25453 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25454 {
25455 PyThreadState* __tstate = wxPyBeginAllowThreads();
25456 {
25457 wxPrintData &_result_ref = (arg1)->GetPrintData();
25458 result = (wxPrintData *) &_result_ref;
25459 }
25460 wxPyEndAllowThreads(__tstate);
25461 if (PyErr_Occurred()) SWIG_fail;
25462 }
25463 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
25464 return resultobj;
25465 fail:
25466 return NULL;
25467 }
25468
25469
25470 SWIGINTERN PyObject *_wrap_PageSetupDialogData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25471 PyObject *resultobj = 0;
25472 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25473 bool result;
25474 void *argp1 = 0 ;
25475 int res1 = 0 ;
25476 PyObject *swig_obj[1] ;
25477
25478 if (!args) SWIG_fail;
25479 swig_obj[0] = args;
25480 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25481 if (!SWIG_IsOK(res1)) {
25482 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_IsOk" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25483 }
25484 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25485 {
25486 PyThreadState* __tstate = wxPyBeginAllowThreads();
25487 result = (bool)(arg1)->IsOk();
25488 wxPyEndAllowThreads(__tstate);
25489 if (PyErr_Occurred()) SWIG_fail;
25490 }
25491 {
25492 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25493 }
25494 return resultobj;
25495 fail:
25496 return NULL;
25497 }
25498
25499
25500 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25501 PyObject *resultobj = 0;
25502 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25503 bool arg2 ;
25504 void *argp1 = 0 ;
25505 int res1 = 0 ;
25506 bool val2 ;
25507 int ecode2 = 0 ;
25508 PyObject * obj0 = 0 ;
25509 PyObject * obj1 = 0 ;
25510 char * kwnames[] = {
25511 (char *) "self",(char *) "flag", NULL
25512 };
25513
25514 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) SWIG_fail;
25515 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25516 if (!SWIG_IsOK(res1)) {
25517 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25518 }
25519 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25520 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25521 if (!SWIG_IsOK(ecode2)) {
25522 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25523 }
25524 arg2 = static_cast< bool >(val2);
25525 {
25526 PyThreadState* __tstate = wxPyBeginAllowThreads();
25527 (arg1)->SetDefaultInfo(arg2);
25528 wxPyEndAllowThreads(__tstate);
25529 if (PyErr_Occurred()) SWIG_fail;
25530 }
25531 resultobj = SWIG_Py_Void();
25532 return resultobj;
25533 fail:
25534 return NULL;
25535 }
25536
25537
25538 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25539 PyObject *resultobj = 0;
25540 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25541 bool arg2 ;
25542 void *argp1 = 0 ;
25543 int res1 = 0 ;
25544 bool val2 ;
25545 int ecode2 = 0 ;
25546 PyObject * obj0 = 0 ;
25547 PyObject * obj1 = 0 ;
25548 char * kwnames[] = {
25549 (char *) "self",(char *) "flag", NULL
25550 };
25551
25552 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) SWIG_fail;
25553 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25554 if (!SWIG_IsOK(res1)) {
25555 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25556 }
25557 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25558 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25559 if (!SWIG_IsOK(ecode2)) {
25560 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25561 }
25562 arg2 = static_cast< bool >(val2);
25563 {
25564 PyThreadState* __tstate = wxPyBeginAllowThreads();
25565 (arg1)->SetDefaultMinMargins(arg2);
25566 wxPyEndAllowThreads(__tstate);
25567 if (PyErr_Occurred()) SWIG_fail;
25568 }
25569 resultobj = SWIG_Py_Void();
25570 return resultobj;
25571 fail:
25572 return NULL;
25573 }
25574
25575
25576 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25577 PyObject *resultobj = 0;
25578 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25579 wxPoint *arg2 = 0 ;
25580 void *argp1 = 0 ;
25581 int res1 = 0 ;
25582 wxPoint temp2 ;
25583 PyObject * obj0 = 0 ;
25584 PyObject * obj1 = 0 ;
25585 char * kwnames[] = {
25586 (char *) "self",(char *) "pt", NULL
25587 };
25588
25589 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25590 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25591 if (!SWIG_IsOK(res1)) {
25592 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25593 }
25594 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25595 {
25596 arg2 = &temp2;
25597 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25598 }
25599 {
25600 PyThreadState* __tstate = wxPyBeginAllowThreads();
25601 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
25602 wxPyEndAllowThreads(__tstate);
25603 if (PyErr_Occurred()) SWIG_fail;
25604 }
25605 resultobj = SWIG_Py_Void();
25606 return resultobj;
25607 fail:
25608 return NULL;
25609 }
25610
25611
25612 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25613 PyObject *resultobj = 0;
25614 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25615 wxPoint *arg2 = 0 ;
25616 void *argp1 = 0 ;
25617 int res1 = 0 ;
25618 wxPoint temp2 ;
25619 PyObject * obj0 = 0 ;
25620 PyObject * obj1 = 0 ;
25621 char * kwnames[] = {
25622 (char *) "self",(char *) "pt", NULL
25623 };
25624
25625 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25626 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25627 if (!SWIG_IsOK(res1)) {
25628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25629 }
25630 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25631 {
25632 arg2 = &temp2;
25633 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25634 }
25635 {
25636 PyThreadState* __tstate = wxPyBeginAllowThreads();
25637 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
25638 wxPyEndAllowThreads(__tstate);
25639 if (PyErr_Occurred()) SWIG_fail;
25640 }
25641 resultobj = SWIG_Py_Void();
25642 return resultobj;
25643 fail:
25644 return NULL;
25645 }
25646
25647
25648 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25649 PyObject *resultobj = 0;
25650 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25651 wxPoint *arg2 = 0 ;
25652 void *argp1 = 0 ;
25653 int res1 = 0 ;
25654 wxPoint temp2 ;
25655 PyObject * obj0 = 0 ;
25656 PyObject * obj1 = 0 ;
25657 char * kwnames[] = {
25658 (char *) "self",(char *) "pt", NULL
25659 };
25660
25661 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25662 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25663 if (!SWIG_IsOK(res1)) {
25664 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25665 }
25666 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25667 {
25668 arg2 = &temp2;
25669 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25670 }
25671 {
25672 PyThreadState* __tstate = wxPyBeginAllowThreads();
25673 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
25674 wxPyEndAllowThreads(__tstate);
25675 if (PyErr_Occurred()) SWIG_fail;
25676 }
25677 resultobj = SWIG_Py_Void();
25678 return resultobj;
25679 fail:
25680 return NULL;
25681 }
25682
25683
25684 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25685 PyObject *resultobj = 0;
25686 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25687 wxPoint *arg2 = 0 ;
25688 void *argp1 = 0 ;
25689 int res1 = 0 ;
25690 wxPoint temp2 ;
25691 PyObject * obj0 = 0 ;
25692 PyObject * obj1 = 0 ;
25693 char * kwnames[] = {
25694 (char *) "self",(char *) "pt", NULL
25695 };
25696
25697 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25698 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25699 if (!SWIG_IsOK(res1)) {
25700 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25701 }
25702 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25703 {
25704 arg2 = &temp2;
25705 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25706 }
25707 {
25708 PyThreadState* __tstate = wxPyBeginAllowThreads();
25709 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
25710 wxPyEndAllowThreads(__tstate);
25711 if (PyErr_Occurred()) SWIG_fail;
25712 }
25713 resultobj = SWIG_Py_Void();
25714 return resultobj;
25715 fail:
25716 return NULL;
25717 }
25718
25719
25720 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25721 PyObject *resultobj = 0;
25722 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25723 wxPaperSize arg2 ;
25724 void *argp1 = 0 ;
25725 int res1 = 0 ;
25726 int val2 ;
25727 int ecode2 = 0 ;
25728 PyObject * obj0 = 0 ;
25729 PyObject * obj1 = 0 ;
25730 char * kwnames[] = {
25731 (char *) "self",(char *) "id", NULL
25732 };
25733
25734 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
25735 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25736 if (!SWIG_IsOK(res1)) {
25737 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25738 }
25739 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25740 ecode2 = SWIG_AsVal_int(obj1, &val2);
25741 if (!SWIG_IsOK(ecode2)) {
25742 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25743 }
25744 arg2 = static_cast< wxPaperSize >(val2);
25745 {
25746 PyThreadState* __tstate = wxPyBeginAllowThreads();
25747 (arg1)->SetPaperId(arg2);
25748 wxPyEndAllowThreads(__tstate);
25749 if (PyErr_Occurred()) SWIG_fail;
25750 }
25751 resultobj = SWIG_Py_Void();
25752 return resultobj;
25753 fail:
25754 return NULL;
25755 }
25756
25757
25758 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25759 PyObject *resultobj = 0;
25760 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25761 wxSize *arg2 = 0 ;
25762 void *argp1 = 0 ;
25763 int res1 = 0 ;
25764 wxSize temp2 ;
25765 PyObject * obj0 = 0 ;
25766 PyObject * obj1 = 0 ;
25767 char * kwnames[] = {
25768 (char *) "self",(char *) "size", NULL
25769 };
25770
25771 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
25772 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25773 if (!SWIG_IsOK(res1)) {
25774 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25775 }
25776 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25777 {
25778 arg2 = &temp2;
25779 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25780 }
25781 {
25782 PyThreadState* __tstate = wxPyBeginAllowThreads();
25783 (arg1)->SetPaperSize((wxSize const &)*arg2);
25784 wxPyEndAllowThreads(__tstate);
25785 if (PyErr_Occurred()) SWIG_fail;
25786 }
25787 resultobj = SWIG_Py_Void();
25788 return resultobj;
25789 fail:
25790 return NULL;
25791 }
25792
25793
25794 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25795 PyObject *resultobj = 0;
25796 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25797 wxPrintData *arg2 = 0 ;
25798 void *argp1 = 0 ;
25799 int res1 = 0 ;
25800 void *argp2 = 0 ;
25801 int res2 = 0 ;
25802 PyObject * obj0 = 0 ;
25803 PyObject * obj1 = 0 ;
25804 char * kwnames[] = {
25805 (char *) "self",(char *) "printData", NULL
25806 };
25807
25808 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
25809 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25810 if (!SWIG_IsOK(res1)) {
25811 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25812 }
25813 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25814 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
25815 if (!SWIG_IsOK(res2)) {
25816 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25817 }
25818 if (!argp2) {
25819 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25820 }
25821 arg2 = reinterpret_cast< wxPrintData * >(argp2);
25822 {
25823 PyThreadState* __tstate = wxPyBeginAllowThreads();
25824 (arg1)->SetPrintData((wxPrintData const &)*arg2);
25825 wxPyEndAllowThreads(__tstate);
25826 if (PyErr_Occurred()) SWIG_fail;
25827 }
25828 resultobj = SWIG_Py_Void();
25829 return resultobj;
25830 fail:
25831 return NULL;
25832 }
25833
25834
25835 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25836 PyObject *resultobj = 0;
25837 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25838 void *argp1 = 0 ;
25839 int res1 = 0 ;
25840 PyObject *swig_obj[1] ;
25841
25842 if (!args) SWIG_fail;
25843 swig_obj[0] = args;
25844 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25845 if (!SWIG_IsOK(res1)) {
25846 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25847 }
25848 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25849 {
25850 PyThreadState* __tstate = wxPyBeginAllowThreads();
25851 (arg1)->CalculateIdFromPaperSize();
25852 wxPyEndAllowThreads(__tstate);
25853 if (PyErr_Occurred()) SWIG_fail;
25854 }
25855 resultobj = SWIG_Py_Void();
25856 return resultobj;
25857 fail:
25858 return NULL;
25859 }
25860
25861
25862 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25863 PyObject *resultobj = 0;
25864 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25865 void *argp1 = 0 ;
25866 int res1 = 0 ;
25867 PyObject *swig_obj[1] ;
25868
25869 if (!args) SWIG_fail;
25870 swig_obj[0] = args;
25871 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25872 if (!SWIG_IsOK(res1)) {
25873 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25874 }
25875 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25876 {
25877 PyThreadState* __tstate = wxPyBeginAllowThreads();
25878 (arg1)->CalculatePaperSizeFromId();
25879 wxPyEndAllowThreads(__tstate);
25880 if (PyErr_Occurred()) SWIG_fail;
25881 }
25882 resultobj = SWIG_Py_Void();
25883 return resultobj;
25884 fail:
25885 return NULL;
25886 }
25887
25888
25889 SWIGINTERN PyObject *PageSetupDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25890 PyObject *obj;
25891 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25892 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData, SWIG_NewClientData(obj));
25893 return SWIG_Py_Void();
25894 }
25895
25896 SWIGINTERN PyObject *PageSetupDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25897 return SWIG_Python_InitShadowInstance(args);
25898 }
25899
25900 SWIGINTERN PyObject *_wrap_new_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25901 PyObject *resultobj = 0;
25902 wxWindow *arg1 = (wxWindow *) 0 ;
25903 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
25904 wxPageSetupDialog *result = 0 ;
25905 void *argp1 = 0 ;
25906 int res1 = 0 ;
25907 void *argp2 = 0 ;
25908 int res2 = 0 ;
25909 PyObject * obj0 = 0 ;
25910 PyObject * obj1 = 0 ;
25911 char * kwnames[] = {
25912 (char *) "parent",(char *) "data", NULL
25913 };
25914
25915 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) SWIG_fail;
25916 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
25917 if (!SWIG_IsOK(res1)) {
25918 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25919 }
25920 arg1 = reinterpret_cast< wxWindow * >(argp1);
25921 if (obj1) {
25922 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25923 if (!SWIG_IsOK(res2)) {
25924 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
25925 }
25926 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
25927 }
25928 {
25929 if (!wxPyCheckForApp()) SWIG_fail;
25930 PyThreadState* __tstate = wxPyBeginAllowThreads();
25931 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
25932 wxPyEndAllowThreads(__tstate);
25933 if (PyErr_Occurred()) SWIG_fail;
25934 }
25935 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_NEW | 0 );
25936 return resultobj;
25937 fail:
25938 return NULL;
25939 }
25940
25941
25942 SWIGINTERN PyObject *_wrap_delete_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25943 PyObject *resultobj = 0;
25944 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25945 void *argp1 = 0 ;
25946 int res1 = 0 ;
25947 PyObject *swig_obj[1] ;
25948
25949 if (!args) SWIG_fail;
25950 swig_obj[0] = args;
25951 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_DISOWN | 0 );
25952 if (!SWIG_IsOK(res1)) {
25953 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25954 }
25955 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25956 {
25957 PyThreadState* __tstate = wxPyBeginAllowThreads();
25958 delete arg1;
25959
25960 wxPyEndAllowThreads(__tstate);
25961 if (PyErr_Occurred()) SWIG_fail;
25962 }
25963 resultobj = SWIG_Py_Void();
25964 return resultobj;
25965 fail:
25966 return NULL;
25967 }
25968
25969
25970 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25971 PyObject *resultobj = 0;
25972 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25973 wxPageSetupDialogData *result = 0 ;
25974 void *argp1 = 0 ;
25975 int res1 = 0 ;
25976 PyObject *swig_obj[1] ;
25977
25978 if (!args) SWIG_fail;
25979 swig_obj[0] = args;
25980 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25981 if (!SWIG_IsOK(res1)) {
25982 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25983 }
25984 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25985 {
25986 PyThreadState* __tstate = wxPyBeginAllowThreads();
25987 {
25988 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
25989 result = (wxPageSetupDialogData *) &_result_ref;
25990 }
25991 wxPyEndAllowThreads(__tstate);
25992 if (PyErr_Occurred()) SWIG_fail;
25993 }
25994 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25995 return resultobj;
25996 fail:
25997 return NULL;
25998 }
25999
26000
26001 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26002 PyObject *resultobj = 0;
26003 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
26004 wxPageSetupDialogData *result = 0 ;
26005 void *argp1 = 0 ;
26006 int res1 = 0 ;
26007 PyObject *swig_obj[1] ;
26008
26009 if (!args) SWIG_fail;
26010 swig_obj[0] = args;
26011 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
26012 if (!SWIG_IsOK(res1)) {
26013 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26014 }
26015 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
26016 {
26017 PyThreadState* __tstate = wxPyBeginAllowThreads();
26018 {
26019 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
26020 result = (wxPageSetupDialogData *) &_result_ref;
26021 }
26022 wxPyEndAllowThreads(__tstate);
26023 if (PyErr_Occurred()) SWIG_fail;
26024 }
26025 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26026 return resultobj;
26027 fail:
26028 return NULL;
26029 }
26030
26031
26032 SWIGINTERN PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26033 PyObject *resultobj = 0;
26034 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
26035 int result;
26036 void *argp1 = 0 ;
26037 int res1 = 0 ;
26038 PyObject *swig_obj[1] ;
26039
26040 if (!args) SWIG_fail;
26041 swig_obj[0] = args;
26042 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
26043 if (!SWIG_IsOK(res1)) {
26044 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26045 }
26046 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
26047 {
26048 PyThreadState* __tstate = wxPyBeginAllowThreads();
26049 result = (int)(arg1)->ShowModal();
26050 wxPyEndAllowThreads(__tstate);
26051 if (PyErr_Occurred()) SWIG_fail;
26052 }
26053 resultobj = SWIG_From_int(static_cast< int >(result));
26054 return resultobj;
26055 fail:
26056 return NULL;
26057 }
26058
26059
26060 SWIGINTERN PyObject *PageSetupDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26061 PyObject *obj;
26062 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26063 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog, SWIG_NewClientData(obj));
26064 return SWIG_Py_Void();
26065 }
26066
26067 SWIGINTERN PyObject *PageSetupDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26068 return SWIG_Python_InitShadowInstance(args);
26069 }
26070
26071 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
26072 PyObject *resultobj = 0;
26073 wxPrintDialogData *result = 0 ;
26074
26075 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
26076 {
26077 PyThreadState* __tstate = wxPyBeginAllowThreads();
26078 result = (wxPrintDialogData *)new wxPrintDialogData();
26079 wxPyEndAllowThreads(__tstate);
26080 if (PyErr_Occurred()) SWIG_fail;
26081 }
26082 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
26083 return resultobj;
26084 fail:
26085 return NULL;
26086 }
26087
26088
26089 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
26090 PyObject *resultobj = 0;
26091 wxPrintData *arg1 = 0 ;
26092 wxPrintDialogData *result = 0 ;
26093 void *argp1 = 0 ;
26094 int res1 = 0 ;
26095
26096 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
26097 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
26098 if (!SWIG_IsOK(res1)) {
26099 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26100 }
26101 if (!argp1) {
26102 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26103 }
26104 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26105 {
26106 PyThreadState* __tstate = wxPyBeginAllowThreads();
26107 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
26108 wxPyEndAllowThreads(__tstate);
26109 if (PyErr_Occurred()) SWIG_fail;
26110 }
26111 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
26112 return resultobj;
26113 fail:
26114 return NULL;
26115 }
26116
26117
26118 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
26119 PyObject *resultobj = 0;
26120 wxPrintDialogData *arg1 = 0 ;
26121 wxPrintDialogData *result = 0 ;
26122 void *argp1 = 0 ;
26123 int res1 = 0 ;
26124
26125 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
26126 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintDialogData, 0 | 0);
26127 if (!SWIG_IsOK(res1)) {
26128 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26129 }
26130 if (!argp1) {
26131 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26132 }
26133 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26134 {
26135 PyThreadState* __tstate = wxPyBeginAllowThreads();
26136 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
26137 wxPyEndAllowThreads(__tstate);
26138 if (PyErr_Occurred()) SWIG_fail;
26139 }
26140 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
26141 return resultobj;
26142 fail:
26143 return NULL;
26144 }
26145
26146
26147 SWIGINTERN PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
26148 int argc;
26149 PyObject *argv[2];
26150
26151 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintDialogData",0,1,argv))) SWIG_fail;
26152 --argc;
26153 if (argc == 0) {
26154 return _wrap_new_PrintDialogData__SWIG_0(self, argc, argv);
26155 }
26156 if (argc == 1) {
26157 int _v = 0;
26158 {
26159 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPrintData, 0);
26160 _v = SWIG_CheckState(res);
26161 }
26162 if (!_v) goto check_2;
26163 return _wrap_new_PrintDialogData__SWIG_1(self, argc, argv);
26164 }
26165 check_2:
26166
26167 if (argc == 1) {
26168 return _wrap_new_PrintDialogData__SWIG_2(self, argc, argv);
26169 }
26170
26171 fail:
26172 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
26173 return NULL;
26174 }
26175
26176
26177 SWIGINTERN PyObject *_wrap_delete_PrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26178 PyObject *resultobj = 0;
26179 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26180 void *argp1 = 0 ;
26181 int res1 = 0 ;
26182 PyObject *swig_obj[1] ;
26183
26184 if (!args) SWIG_fail;
26185 swig_obj[0] = args;
26186 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_DISOWN | 0 );
26187 if (!SWIG_IsOK(res1)) {
26188 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26189 }
26190 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26191 {
26192 PyThreadState* __tstate = wxPyBeginAllowThreads();
26193 delete arg1;
26194
26195 wxPyEndAllowThreads(__tstate);
26196 if (PyErr_Occurred()) SWIG_fail;
26197 }
26198 resultobj = SWIG_Py_Void();
26199 return resultobj;
26200 fail:
26201 return NULL;
26202 }
26203
26204
26205 SWIGINTERN PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26206 PyObject *resultobj = 0;
26207 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26208 int result;
26209 void *argp1 = 0 ;
26210 int res1 = 0 ;
26211 PyObject *swig_obj[1] ;
26212
26213 if (!args) SWIG_fail;
26214 swig_obj[0] = args;
26215 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26216 if (!SWIG_IsOK(res1)) {
26217 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26218 }
26219 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26220 {
26221 PyThreadState* __tstate = wxPyBeginAllowThreads();
26222 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
26223 wxPyEndAllowThreads(__tstate);
26224 if (PyErr_Occurred()) SWIG_fail;
26225 }
26226 resultobj = SWIG_From_int(static_cast< int >(result));
26227 return resultobj;
26228 fail:
26229 return NULL;
26230 }
26231
26232
26233 SWIGINTERN PyObject *_wrap_PrintDialogData_GetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26234 PyObject *resultobj = 0;
26235 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26236 int result;
26237 void *argp1 = 0 ;
26238 int res1 = 0 ;
26239 PyObject *swig_obj[1] ;
26240
26241 if (!args) SWIG_fail;
26242 swig_obj[0] = args;
26243 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26244 if (!SWIG_IsOK(res1)) {
26245 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26246 }
26247 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26248 {
26249 PyThreadState* __tstate = wxPyBeginAllowThreads();
26250 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
26251 wxPyEndAllowThreads(__tstate);
26252 if (PyErr_Occurred()) SWIG_fail;
26253 }
26254 resultobj = SWIG_From_int(static_cast< int >(result));
26255 return resultobj;
26256 fail:
26257 return NULL;
26258 }
26259
26260
26261 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26262 PyObject *resultobj = 0;
26263 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26264 int result;
26265 void *argp1 = 0 ;
26266 int res1 = 0 ;
26267 PyObject *swig_obj[1] ;
26268
26269 if (!args) SWIG_fail;
26270 swig_obj[0] = args;
26271 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26272 if (!SWIG_IsOK(res1)) {
26273 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26274 }
26275 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26276 {
26277 PyThreadState* __tstate = wxPyBeginAllowThreads();
26278 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
26279 wxPyEndAllowThreads(__tstate);
26280 if (PyErr_Occurred()) SWIG_fail;
26281 }
26282 resultobj = SWIG_From_int(static_cast< int >(result));
26283 return resultobj;
26284 fail:
26285 return NULL;
26286 }
26287
26288
26289 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26290 PyObject *resultobj = 0;
26291 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26292 int result;
26293 void *argp1 = 0 ;
26294 int res1 = 0 ;
26295 PyObject *swig_obj[1] ;
26296
26297 if (!args) SWIG_fail;
26298 swig_obj[0] = args;
26299 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26300 if (!SWIG_IsOK(res1)) {
26301 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26302 }
26303 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26304 {
26305 PyThreadState* __tstate = wxPyBeginAllowThreads();
26306 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
26307 wxPyEndAllowThreads(__tstate);
26308 if (PyErr_Occurred()) SWIG_fail;
26309 }
26310 resultobj = SWIG_From_int(static_cast< int >(result));
26311 return resultobj;
26312 fail:
26313 return NULL;
26314 }
26315
26316
26317 SWIGINTERN PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26318 PyObject *resultobj = 0;
26319 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26320 int result;
26321 void *argp1 = 0 ;
26322 int res1 = 0 ;
26323 PyObject *swig_obj[1] ;
26324
26325 if (!args) SWIG_fail;
26326 swig_obj[0] = args;
26327 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26328 if (!SWIG_IsOK(res1)) {
26329 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26330 }
26331 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26332 {
26333 PyThreadState* __tstate = wxPyBeginAllowThreads();
26334 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
26335 wxPyEndAllowThreads(__tstate);
26336 if (PyErr_Occurred()) SWIG_fail;
26337 }
26338 resultobj = SWIG_From_int(static_cast< int >(result));
26339 return resultobj;
26340 fail:
26341 return NULL;
26342 }
26343
26344
26345 SWIGINTERN PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26346 PyObject *resultobj = 0;
26347 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26348 bool result;
26349 void *argp1 = 0 ;
26350 int res1 = 0 ;
26351 PyObject *swig_obj[1] ;
26352
26353 if (!args) SWIG_fail;
26354 swig_obj[0] = args;
26355 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26356 if (!SWIG_IsOK(res1)) {
26357 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26358 }
26359 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26360 {
26361 PyThreadState* __tstate = wxPyBeginAllowThreads();
26362 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
26363 wxPyEndAllowThreads(__tstate);
26364 if (PyErr_Occurred()) SWIG_fail;
26365 }
26366 {
26367 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26368 }
26369 return resultobj;
26370 fail:
26371 return NULL;
26372 }
26373
26374
26375 SWIGINTERN PyObject *_wrap_PrintDialogData_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26376 PyObject *resultobj = 0;
26377 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26378 bool result;
26379 void *argp1 = 0 ;
26380 int res1 = 0 ;
26381 PyObject *swig_obj[1] ;
26382
26383 if (!args) SWIG_fail;
26384 swig_obj[0] = args;
26385 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26386 if (!SWIG_IsOK(res1)) {
26387 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26388 }
26389 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26390 {
26391 PyThreadState* __tstate = wxPyBeginAllowThreads();
26392 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
26393 wxPyEndAllowThreads(__tstate);
26394 if (PyErr_Occurred()) SWIG_fail;
26395 }
26396 {
26397 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26398 }
26399 return resultobj;
26400 fail:
26401 return NULL;
26402 }
26403
26404
26405 SWIGINTERN PyObject *_wrap_PrintDialogData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26406 PyObject *resultobj = 0;
26407 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26408 bool result;
26409 void *argp1 = 0 ;
26410 int res1 = 0 ;
26411 PyObject *swig_obj[1] ;
26412
26413 if (!args) SWIG_fail;
26414 swig_obj[0] = args;
26415 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26416 if (!SWIG_IsOK(res1)) {
26417 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26418 }
26419 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26420 {
26421 PyThreadState* __tstate = wxPyBeginAllowThreads();
26422 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
26423 wxPyEndAllowThreads(__tstate);
26424 if (PyErr_Occurred()) SWIG_fail;
26425 }
26426 {
26427 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26428 }
26429 return resultobj;
26430 fail:
26431 return NULL;
26432 }
26433
26434
26435 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26436 PyObject *resultobj = 0;
26437 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26438 bool result;
26439 void *argp1 = 0 ;
26440 int res1 = 0 ;
26441 PyObject *swig_obj[1] ;
26442
26443 if (!args) SWIG_fail;
26444 swig_obj[0] = args;
26445 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26446 if (!SWIG_IsOK(res1)) {
26447 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26448 }
26449 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26450 {
26451 PyThreadState* __tstate = wxPyBeginAllowThreads();
26452 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
26453 wxPyEndAllowThreads(__tstate);
26454 if (PyErr_Occurred()) SWIG_fail;
26455 }
26456 {
26457 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26458 }
26459 return resultobj;
26460 fail:
26461 return NULL;
26462 }
26463
26464
26465 SWIGINTERN PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26466 PyObject *resultobj = 0;
26467 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26468 int arg2 ;
26469 void *argp1 = 0 ;
26470 int res1 = 0 ;
26471 int val2 ;
26472 int ecode2 = 0 ;
26473 PyObject * obj0 = 0 ;
26474 PyObject * obj1 = 0 ;
26475 char * kwnames[] = {
26476 (char *) "self",(char *) "v", NULL
26477 };
26478
26479 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) SWIG_fail;
26480 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26481 if (!SWIG_IsOK(res1)) {
26482 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26483 }
26484 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26485 ecode2 = SWIG_AsVal_int(obj1, &val2);
26486 if (!SWIG_IsOK(ecode2)) {
26487 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26488 }
26489 arg2 = static_cast< int >(val2);
26490 {
26491 PyThreadState* __tstate = wxPyBeginAllowThreads();
26492 (arg1)->SetFromPage(arg2);
26493 wxPyEndAllowThreads(__tstate);
26494 if (PyErr_Occurred()) SWIG_fail;
26495 }
26496 resultobj = SWIG_Py_Void();
26497 return resultobj;
26498 fail:
26499 return NULL;
26500 }
26501
26502
26503 SWIGINTERN PyObject *_wrap_PrintDialogData_SetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26504 PyObject *resultobj = 0;
26505 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26506 int arg2 ;
26507 void *argp1 = 0 ;
26508 int res1 = 0 ;
26509 int val2 ;
26510 int ecode2 = 0 ;
26511 PyObject * obj0 = 0 ;
26512 PyObject * obj1 = 0 ;
26513 char * kwnames[] = {
26514 (char *) "self",(char *) "v", NULL
26515 };
26516
26517 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) SWIG_fail;
26518 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26519 if (!SWIG_IsOK(res1)) {
26520 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26521 }
26522 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26523 ecode2 = SWIG_AsVal_int(obj1, &val2);
26524 if (!SWIG_IsOK(ecode2)) {
26525 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26526 }
26527 arg2 = static_cast< int >(val2);
26528 {
26529 PyThreadState* __tstate = wxPyBeginAllowThreads();
26530 (arg1)->SetToPage(arg2);
26531 wxPyEndAllowThreads(__tstate);
26532 if (PyErr_Occurred()) SWIG_fail;
26533 }
26534 resultobj = SWIG_Py_Void();
26535 return resultobj;
26536 fail:
26537 return NULL;
26538 }
26539
26540
26541 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26542 PyObject *resultobj = 0;
26543 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26544 int arg2 ;
26545 void *argp1 = 0 ;
26546 int res1 = 0 ;
26547 int val2 ;
26548 int ecode2 = 0 ;
26549 PyObject * obj0 = 0 ;
26550 PyObject * obj1 = 0 ;
26551 char * kwnames[] = {
26552 (char *) "self",(char *) "v", NULL
26553 };
26554
26555 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) SWIG_fail;
26556 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26557 if (!SWIG_IsOK(res1)) {
26558 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26559 }
26560 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26561 ecode2 = SWIG_AsVal_int(obj1, &val2);
26562 if (!SWIG_IsOK(ecode2)) {
26563 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26564 }
26565 arg2 = static_cast< int >(val2);
26566 {
26567 PyThreadState* __tstate = wxPyBeginAllowThreads();
26568 (arg1)->SetMinPage(arg2);
26569 wxPyEndAllowThreads(__tstate);
26570 if (PyErr_Occurred()) SWIG_fail;
26571 }
26572 resultobj = SWIG_Py_Void();
26573 return resultobj;
26574 fail:
26575 return NULL;
26576 }
26577
26578
26579 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26580 PyObject *resultobj = 0;
26581 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26582 int arg2 ;
26583 void *argp1 = 0 ;
26584 int res1 = 0 ;
26585 int val2 ;
26586 int ecode2 = 0 ;
26587 PyObject * obj0 = 0 ;
26588 PyObject * obj1 = 0 ;
26589 char * kwnames[] = {
26590 (char *) "self",(char *) "v", NULL
26591 };
26592
26593 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) SWIG_fail;
26594 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26595 if (!SWIG_IsOK(res1)) {
26596 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26597 }
26598 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26599 ecode2 = SWIG_AsVal_int(obj1, &val2);
26600 if (!SWIG_IsOK(ecode2)) {
26601 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26602 }
26603 arg2 = static_cast< int >(val2);
26604 {
26605 PyThreadState* __tstate = wxPyBeginAllowThreads();
26606 (arg1)->SetMaxPage(arg2);
26607 wxPyEndAllowThreads(__tstate);
26608 if (PyErr_Occurred()) SWIG_fail;
26609 }
26610 resultobj = SWIG_Py_Void();
26611 return resultobj;
26612 fail:
26613 return NULL;
26614 }
26615
26616
26617 SWIGINTERN PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26618 PyObject *resultobj = 0;
26619 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26620 int arg2 ;
26621 void *argp1 = 0 ;
26622 int res1 = 0 ;
26623 int val2 ;
26624 int ecode2 = 0 ;
26625 PyObject * obj0 = 0 ;
26626 PyObject * obj1 = 0 ;
26627 char * kwnames[] = {
26628 (char *) "self",(char *) "v", NULL
26629 };
26630
26631 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
26632 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26633 if (!SWIG_IsOK(res1)) {
26634 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26635 }
26636 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26637 ecode2 = SWIG_AsVal_int(obj1, &val2);
26638 if (!SWIG_IsOK(ecode2)) {
26639 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26640 }
26641 arg2 = static_cast< int >(val2);
26642 {
26643 PyThreadState* __tstate = wxPyBeginAllowThreads();
26644 (arg1)->SetNoCopies(arg2);
26645 wxPyEndAllowThreads(__tstate);
26646 if (PyErr_Occurred()) SWIG_fail;
26647 }
26648 resultobj = SWIG_Py_Void();
26649 return resultobj;
26650 fail:
26651 return NULL;
26652 }
26653
26654
26655 SWIGINTERN PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26656 PyObject *resultobj = 0;
26657 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26658 bool arg2 ;
26659 void *argp1 = 0 ;
26660 int res1 = 0 ;
26661 bool val2 ;
26662 int ecode2 = 0 ;
26663 PyObject * obj0 = 0 ;
26664 PyObject * obj1 = 0 ;
26665 char * kwnames[] = {
26666 (char *) "self",(char *) "flag", NULL
26667 };
26668
26669 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) SWIG_fail;
26670 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26671 if (!SWIG_IsOK(res1)) {
26672 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26673 }
26674 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26675 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26676 if (!SWIG_IsOK(ecode2)) {
26677 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26678 }
26679 arg2 = static_cast< bool >(val2);
26680 {
26681 PyThreadState* __tstate = wxPyBeginAllowThreads();
26682 (arg1)->SetAllPages(arg2);
26683 wxPyEndAllowThreads(__tstate);
26684 if (PyErr_Occurred()) SWIG_fail;
26685 }
26686 resultobj = SWIG_Py_Void();
26687 return resultobj;
26688 fail:
26689 return NULL;
26690 }
26691
26692
26693 SWIGINTERN PyObject *_wrap_PrintDialogData_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26694 PyObject *resultobj = 0;
26695 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26696 bool arg2 ;
26697 void *argp1 = 0 ;
26698 int res1 = 0 ;
26699 bool val2 ;
26700 int ecode2 = 0 ;
26701 PyObject * obj0 = 0 ;
26702 PyObject * obj1 = 0 ;
26703 char * kwnames[] = {
26704 (char *) "self",(char *) "flag", NULL
26705 };
26706
26707 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26708 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26709 if (!SWIG_IsOK(res1)) {
26710 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26711 }
26712 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26713 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26714 if (!SWIG_IsOK(ecode2)) {
26715 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26716 }
26717 arg2 = static_cast< bool >(val2);
26718 {
26719 PyThreadState* __tstate = wxPyBeginAllowThreads();
26720 (arg1)->SetSelection(arg2);
26721 wxPyEndAllowThreads(__tstate);
26722 if (PyErr_Occurred()) SWIG_fail;
26723 }
26724 resultobj = SWIG_Py_Void();
26725 return resultobj;
26726 fail:
26727 return NULL;
26728 }
26729
26730
26731 SWIGINTERN PyObject *_wrap_PrintDialogData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26732 PyObject *resultobj = 0;
26733 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26734 bool arg2 ;
26735 void *argp1 = 0 ;
26736 int res1 = 0 ;
26737 bool val2 ;
26738 int ecode2 = 0 ;
26739 PyObject * obj0 = 0 ;
26740 PyObject * obj1 = 0 ;
26741 char * kwnames[] = {
26742 (char *) "self",(char *) "flag", NULL
26743 };
26744
26745 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
26746 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26747 if (!SWIG_IsOK(res1)) {
26748 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26749 }
26750 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26751 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26752 if (!SWIG_IsOK(ecode2)) {
26753 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26754 }
26755 arg2 = static_cast< bool >(val2);
26756 {
26757 PyThreadState* __tstate = wxPyBeginAllowThreads();
26758 (arg1)->SetCollate(arg2);
26759 wxPyEndAllowThreads(__tstate);
26760 if (PyErr_Occurred()) SWIG_fail;
26761 }
26762 resultobj = SWIG_Py_Void();
26763 return resultobj;
26764 fail:
26765 return NULL;
26766 }
26767
26768
26769 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26770 PyObject *resultobj = 0;
26771 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26772 bool arg2 ;
26773 void *argp1 = 0 ;
26774 int res1 = 0 ;
26775 bool val2 ;
26776 int ecode2 = 0 ;
26777 PyObject * obj0 = 0 ;
26778 PyObject * obj1 = 0 ;
26779 char * kwnames[] = {
26780 (char *) "self",(char *) "flag", NULL
26781 };
26782
26783 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26784 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26785 if (!SWIG_IsOK(res1)) {
26786 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26787 }
26788 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26789 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26790 if (!SWIG_IsOK(ecode2)) {
26791 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26792 }
26793 arg2 = static_cast< bool >(val2);
26794 {
26795 PyThreadState* __tstate = wxPyBeginAllowThreads();
26796 (arg1)->SetPrintToFile(arg2);
26797 wxPyEndAllowThreads(__tstate);
26798 if (PyErr_Occurred()) SWIG_fail;
26799 }
26800 resultobj = SWIG_Py_Void();
26801 return resultobj;
26802 fail:
26803 return NULL;
26804 }
26805
26806
26807 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26808 PyObject *resultobj = 0;
26809 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26810 bool arg2 ;
26811 void *argp1 = 0 ;
26812 int res1 = 0 ;
26813 bool val2 ;
26814 int ecode2 = 0 ;
26815 PyObject * obj0 = 0 ;
26816 PyObject * obj1 = 0 ;
26817 char * kwnames[] = {
26818 (char *) "self",(char *) "flag", NULL
26819 };
26820
26821 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26822 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26823 if (!SWIG_IsOK(res1)) {
26824 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26825 }
26826 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26827 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26828 if (!SWIG_IsOK(ecode2)) {
26829 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26830 }
26831 arg2 = static_cast< bool >(val2);
26832 {
26833 PyThreadState* __tstate = wxPyBeginAllowThreads();
26834 (arg1)->EnablePrintToFile(arg2);
26835 wxPyEndAllowThreads(__tstate);
26836 if (PyErr_Occurred()) SWIG_fail;
26837 }
26838 resultobj = SWIG_Py_Void();
26839 return resultobj;
26840 fail:
26841 return NULL;
26842 }
26843
26844
26845 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26846 PyObject *resultobj = 0;
26847 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26848 bool arg2 ;
26849 void *argp1 = 0 ;
26850 int res1 = 0 ;
26851 bool val2 ;
26852 int ecode2 = 0 ;
26853 PyObject * obj0 = 0 ;
26854 PyObject * obj1 = 0 ;
26855 char * kwnames[] = {
26856 (char *) "self",(char *) "flag", NULL
26857 };
26858
26859 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26860 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26861 if (!SWIG_IsOK(res1)) {
26862 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26863 }
26864 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26865 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26866 if (!SWIG_IsOK(ecode2)) {
26867 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26868 }
26869 arg2 = static_cast< bool >(val2);
26870 {
26871 PyThreadState* __tstate = wxPyBeginAllowThreads();
26872 (arg1)->EnableSelection(arg2);
26873 wxPyEndAllowThreads(__tstate);
26874 if (PyErr_Occurred()) SWIG_fail;
26875 }
26876 resultobj = SWIG_Py_Void();
26877 return resultobj;
26878 fail:
26879 return NULL;
26880 }
26881
26882
26883 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26884 PyObject *resultobj = 0;
26885 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26886 bool arg2 ;
26887 void *argp1 = 0 ;
26888 int res1 = 0 ;
26889 bool val2 ;
26890 int ecode2 = 0 ;
26891 PyObject * obj0 = 0 ;
26892 PyObject * obj1 = 0 ;
26893 char * kwnames[] = {
26894 (char *) "self",(char *) "flag", NULL
26895 };
26896
26897 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) SWIG_fail;
26898 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26899 if (!SWIG_IsOK(res1)) {
26900 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26901 }
26902 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26903 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26904 if (!SWIG_IsOK(ecode2)) {
26905 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26906 }
26907 arg2 = static_cast< bool >(val2);
26908 {
26909 PyThreadState* __tstate = wxPyBeginAllowThreads();
26910 (arg1)->EnablePageNumbers(arg2);
26911 wxPyEndAllowThreads(__tstate);
26912 if (PyErr_Occurred()) SWIG_fail;
26913 }
26914 resultobj = SWIG_Py_Void();
26915 return resultobj;
26916 fail:
26917 return NULL;
26918 }
26919
26920
26921 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26922 PyObject *resultobj = 0;
26923 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26924 bool arg2 ;
26925 void *argp1 = 0 ;
26926 int res1 = 0 ;
26927 bool val2 ;
26928 int ecode2 = 0 ;
26929 PyObject * obj0 = 0 ;
26930 PyObject * obj1 = 0 ;
26931 char * kwnames[] = {
26932 (char *) "self",(char *) "flag", NULL
26933 };
26934
26935 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
26936 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26937 if (!SWIG_IsOK(res1)) {
26938 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26939 }
26940 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26941 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26942 if (!SWIG_IsOK(ecode2)) {
26943 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
26944 }
26945 arg2 = static_cast< bool >(val2);
26946 {
26947 PyThreadState* __tstate = wxPyBeginAllowThreads();
26948 (arg1)->EnableHelp(arg2);
26949 wxPyEndAllowThreads(__tstate);
26950 if (PyErr_Occurred()) SWIG_fail;
26951 }
26952 resultobj = SWIG_Py_Void();
26953 return resultobj;
26954 fail:
26955 return NULL;
26956 }
26957
26958
26959 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26960 PyObject *resultobj = 0;
26961 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26962 bool result;
26963 void *argp1 = 0 ;
26964 int res1 = 0 ;
26965 PyObject *swig_obj[1] ;
26966
26967 if (!args) SWIG_fail;
26968 swig_obj[0] = args;
26969 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26970 if (!SWIG_IsOK(res1)) {
26971 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26972 }
26973 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26974 {
26975 PyThreadState* __tstate = wxPyBeginAllowThreads();
26976 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
26977 wxPyEndAllowThreads(__tstate);
26978 if (PyErr_Occurred()) SWIG_fail;
26979 }
26980 {
26981 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26982 }
26983 return resultobj;
26984 fail:
26985 return NULL;
26986 }
26987
26988
26989 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26990 PyObject *resultobj = 0;
26991 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26992 bool result;
26993 void *argp1 = 0 ;
26994 int res1 = 0 ;
26995 PyObject *swig_obj[1] ;
26996
26997 if (!args) SWIG_fail;
26998 swig_obj[0] = args;
26999 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27000 if (!SWIG_IsOK(res1)) {
27001 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27002 }
27003 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27004 {
27005 PyThreadState* __tstate = wxPyBeginAllowThreads();
27006 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
27007 wxPyEndAllowThreads(__tstate);
27008 if (PyErr_Occurred()) SWIG_fail;
27009 }
27010 {
27011 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27012 }
27013 return resultobj;
27014 fail:
27015 return NULL;
27016 }
27017
27018
27019 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27020 PyObject *resultobj = 0;
27021 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27022 bool result;
27023 void *argp1 = 0 ;
27024 int res1 = 0 ;
27025 PyObject *swig_obj[1] ;
27026
27027 if (!args) SWIG_fail;
27028 swig_obj[0] = args;
27029 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27030 if (!SWIG_IsOK(res1)) {
27031 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27032 }
27033 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27034 {
27035 PyThreadState* __tstate = wxPyBeginAllowThreads();
27036 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
27037 wxPyEndAllowThreads(__tstate);
27038 if (PyErr_Occurred()) SWIG_fail;
27039 }
27040 {
27041 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27042 }
27043 return resultobj;
27044 fail:
27045 return NULL;
27046 }
27047
27048
27049 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27050 PyObject *resultobj = 0;
27051 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27052 bool result;
27053 void *argp1 = 0 ;
27054 int res1 = 0 ;
27055 PyObject *swig_obj[1] ;
27056
27057 if (!args) SWIG_fail;
27058 swig_obj[0] = args;
27059 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27060 if (!SWIG_IsOK(res1)) {
27061 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27062 }
27063 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27064 {
27065 PyThreadState* __tstate = wxPyBeginAllowThreads();
27066 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
27067 wxPyEndAllowThreads(__tstate);
27068 if (PyErr_Occurred()) SWIG_fail;
27069 }
27070 {
27071 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27072 }
27073 return resultobj;
27074 fail:
27075 return NULL;
27076 }
27077
27078
27079 SWIGINTERN PyObject *_wrap_PrintDialogData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27080 PyObject *resultobj = 0;
27081 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27082 bool result;
27083 void *argp1 = 0 ;
27084 int res1 = 0 ;
27085 PyObject *swig_obj[1] ;
27086
27087 if (!args) SWIG_fail;
27088 swig_obj[0] = args;
27089 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27090 if (!SWIG_IsOK(res1)) {
27091 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_IsOk" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27092 }
27093 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27094 {
27095 PyThreadState* __tstate = wxPyBeginAllowThreads();
27096 result = (bool)((wxPrintDialogData const *)arg1)->IsOk();
27097 wxPyEndAllowThreads(__tstate);
27098 if (PyErr_Occurred()) SWIG_fail;
27099 }
27100 {
27101 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27102 }
27103 return resultobj;
27104 fail:
27105 return NULL;
27106 }
27107
27108
27109 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27110 PyObject *resultobj = 0;
27111 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27112 wxPrintData *result = 0 ;
27113 void *argp1 = 0 ;
27114 int res1 = 0 ;
27115 PyObject *swig_obj[1] ;
27116
27117 if (!args) SWIG_fail;
27118 swig_obj[0] = args;
27119 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27120 if (!SWIG_IsOK(res1)) {
27121 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27122 }
27123 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27124 {
27125 PyThreadState* __tstate = wxPyBeginAllowThreads();
27126 {
27127 wxPrintData &_result_ref = (arg1)->GetPrintData();
27128 result = (wxPrintData *) &_result_ref;
27129 }
27130 wxPyEndAllowThreads(__tstate);
27131 if (PyErr_Occurred()) SWIG_fail;
27132 }
27133 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
27134 return resultobj;
27135 fail:
27136 return NULL;
27137 }
27138
27139
27140 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27141 PyObject *resultobj = 0;
27142 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27143 wxPrintData *arg2 = 0 ;
27144 void *argp1 = 0 ;
27145 int res1 = 0 ;
27146 void *argp2 = 0 ;
27147 int res2 = 0 ;
27148 PyObject * obj0 = 0 ;
27149 PyObject * obj1 = 0 ;
27150 char * kwnames[] = {
27151 (char *) "self",(char *) "printData", NULL
27152 };
27153
27154 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
27155 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27156 if (!SWIG_IsOK(res1)) {
27157 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27158 }
27159 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27160 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
27161 if (!SWIG_IsOK(res2)) {
27162 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27163 }
27164 if (!argp2) {
27165 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27166 }
27167 arg2 = reinterpret_cast< wxPrintData * >(argp2);
27168 {
27169 PyThreadState* __tstate = wxPyBeginAllowThreads();
27170 (arg1)->SetPrintData((wxPrintData const &)*arg2);
27171 wxPyEndAllowThreads(__tstate);
27172 if (PyErr_Occurred()) SWIG_fail;
27173 }
27174 resultobj = SWIG_Py_Void();
27175 return resultobj;
27176 fail:
27177 return NULL;
27178 }
27179
27180
27181 SWIGINTERN PyObject *PrintDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27182 PyObject *obj;
27183 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27184 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData, SWIG_NewClientData(obj));
27185 return SWIG_Py_Void();
27186 }
27187
27188 SWIGINTERN PyObject *PrintDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27189 return SWIG_Python_InitShadowInstance(args);
27190 }
27191
27192 SWIGINTERN PyObject *_wrap_new_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27193 PyObject *resultobj = 0;
27194 wxWindow *arg1 = (wxWindow *) 0 ;
27195 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
27196 wxPrintDialog *result = 0 ;
27197 void *argp1 = 0 ;
27198 int res1 = 0 ;
27199 void *argp2 = 0 ;
27200 int res2 = 0 ;
27201 PyObject * obj0 = 0 ;
27202 PyObject * obj1 = 0 ;
27203 char * kwnames[] = {
27204 (char *) "parent",(char *) "data", NULL
27205 };
27206
27207 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
27208 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
27209 if (!SWIG_IsOK(res1)) {
27210 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
27211 }
27212 arg1 = reinterpret_cast< wxWindow * >(argp1);
27213 if (obj1) {
27214 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27215 if (!SWIG_IsOK(res2)) {
27216 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
27217 }
27218 arg2 = reinterpret_cast< wxPrintDialogData * >(argp2);
27219 }
27220 {
27221 if (!wxPyCheckForApp()) SWIG_fail;
27222 PyThreadState* __tstate = wxPyBeginAllowThreads();
27223 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
27224 wxPyEndAllowThreads(__tstate);
27225 if (PyErr_Occurred()) SWIG_fail;
27226 }
27227 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_NEW | 0 );
27228 return resultobj;
27229 fail:
27230 return NULL;
27231 }
27232
27233
27234 SWIGINTERN PyObject *_wrap_delete_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27235 PyObject *resultobj = 0;
27236 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27237 void *argp1 = 0 ;
27238 int res1 = 0 ;
27239 PyObject *swig_obj[1] ;
27240
27241 if (!args) SWIG_fail;
27242 swig_obj[0] = args;
27243 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_DISOWN | 0 );
27244 if (!SWIG_IsOK(res1)) {
27245 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27246 }
27247 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27248 {
27249 PyThreadState* __tstate = wxPyBeginAllowThreads();
27250 delete arg1;
27251
27252 wxPyEndAllowThreads(__tstate);
27253 if (PyErr_Occurred()) SWIG_fail;
27254 }
27255 resultobj = SWIG_Py_Void();
27256 return resultobj;
27257 fail:
27258 return NULL;
27259 }
27260
27261
27262 SWIGINTERN PyObject *_wrap_PrintDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27263 PyObject *resultobj = 0;
27264 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27265 int result;
27266 void *argp1 = 0 ;
27267 int res1 = 0 ;
27268 PyObject *swig_obj[1] ;
27269
27270 if (!args) SWIG_fail;
27271 swig_obj[0] = args;
27272 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27273 if (!SWIG_IsOK(res1)) {
27274 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27275 }
27276 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27277 {
27278 PyThreadState* __tstate = wxPyBeginAllowThreads();
27279 result = (int)(arg1)->ShowModal();
27280 wxPyEndAllowThreads(__tstate);
27281 if (PyErr_Occurred()) SWIG_fail;
27282 }
27283 resultobj = SWIG_From_int(static_cast< int >(result));
27284 return resultobj;
27285 fail:
27286 return NULL;
27287 }
27288
27289
27290 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27291 PyObject *resultobj = 0;
27292 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27293 wxPrintDialogData *result = 0 ;
27294 void *argp1 = 0 ;
27295 int res1 = 0 ;
27296 PyObject *swig_obj[1] ;
27297
27298 if (!args) SWIG_fail;
27299 swig_obj[0] = args;
27300 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27301 if (!SWIG_IsOK(res1)) {
27302 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27303 }
27304 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27305 {
27306 PyThreadState* __tstate = wxPyBeginAllowThreads();
27307 {
27308 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
27309 result = (wxPrintDialogData *) &_result_ref;
27310 }
27311 wxPyEndAllowThreads(__tstate);
27312 if (PyErr_Occurred()) SWIG_fail;
27313 }
27314 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27315 return resultobj;
27316 fail:
27317 return NULL;
27318 }
27319
27320
27321 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27322 PyObject *resultobj = 0;
27323 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27324 wxPrintData *result = 0 ;
27325 void *argp1 = 0 ;
27326 int res1 = 0 ;
27327 PyObject *swig_obj[1] ;
27328
27329 if (!args) SWIG_fail;
27330 swig_obj[0] = args;
27331 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27332 if (!SWIG_IsOK(res1)) {
27333 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27334 }
27335 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27336 {
27337 PyThreadState* __tstate = wxPyBeginAllowThreads();
27338 {
27339 wxPrintData &_result_ref = (arg1)->GetPrintData();
27340 result = (wxPrintData *) &_result_ref;
27341 }
27342 wxPyEndAllowThreads(__tstate);
27343 if (PyErr_Occurred()) SWIG_fail;
27344 }
27345 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
27346 return resultobj;
27347 fail:
27348 return NULL;
27349 }
27350
27351
27352 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27353 PyObject *resultobj = 0;
27354 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27355 wxDC *result = 0 ;
27356 void *argp1 = 0 ;
27357 int res1 = 0 ;
27358 PyObject *swig_obj[1] ;
27359
27360 if (!args) SWIG_fail;
27361 swig_obj[0] = args;
27362 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27363 if (!SWIG_IsOK(res1)) {
27364 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27365 }
27366 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27367 {
27368 PyThreadState* __tstate = wxPyBeginAllowThreads();
27369 result = (wxDC *)(arg1)->GetPrintDC();
27370 wxPyEndAllowThreads(__tstate);
27371 if (PyErr_Occurred()) SWIG_fail;
27372 }
27373 {
27374 resultobj = wxPyMake_wxObject(result, (bool)SWIG_POINTER_OWN);
27375 }
27376 return resultobj;
27377 fail:
27378 return NULL;
27379 }
27380
27381
27382 SWIGINTERN PyObject *PrintDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27383 PyObject *obj;
27384 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27385 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog, SWIG_NewClientData(obj));
27386 return SWIG_Py_Void();
27387 }
27388
27389 SWIGINTERN PyObject *PrintDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27390 return SWIG_Python_InitShadowInstance(args);
27391 }
27392
27393 SWIGINTERN PyObject *_wrap_new_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27394 PyObject *resultobj = 0;
27395 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
27396 wxPrinter *result = 0 ;
27397 void *argp1 = 0 ;
27398 int res1 = 0 ;
27399 PyObject * obj0 = 0 ;
27400 char * kwnames[] = {
27401 (char *) "data", NULL
27402 };
27403
27404 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) SWIG_fail;
27405 if (obj0) {
27406 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27407 if (!SWIG_IsOK(res1)) {
27408 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27409 }
27410 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27411 }
27412 {
27413 if (!wxPyCheckForApp()) SWIG_fail;
27414 PyThreadState* __tstate = wxPyBeginAllowThreads();
27415 result = (wxPrinter *)new wxPrinter(arg1);
27416 wxPyEndAllowThreads(__tstate);
27417 if (PyErr_Occurred()) SWIG_fail;
27418 }
27419 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrinter, SWIG_POINTER_NEW | 0 );
27420 return resultobj;
27421 fail:
27422 return NULL;
27423 }
27424
27425
27426 SWIGINTERN PyObject *_wrap_delete_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27427 PyObject *resultobj = 0;
27428 wxPrinter *arg1 = (wxPrinter *) 0 ;
27429 void *argp1 = 0 ;
27430 int res1 = 0 ;
27431 PyObject *swig_obj[1] ;
27432
27433 if (!args) SWIG_fail;
27434 swig_obj[0] = args;
27435 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, SWIG_POINTER_DISOWN | 0 );
27436 if (!SWIG_IsOK(res1)) {
27437 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27438 }
27439 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27440 {
27441 PyThreadState* __tstate = wxPyBeginAllowThreads();
27442 delete arg1;
27443
27444 wxPyEndAllowThreads(__tstate);
27445 if (PyErr_Occurred()) SWIG_fail;
27446 }
27447 resultobj = SWIG_Py_Void();
27448 return resultobj;
27449 fail:
27450 return NULL;
27451 }
27452
27453
27454 SWIGINTERN PyObject *_wrap_Printer_CreateAbortWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27455 PyObject *resultobj = 0;
27456 wxPrinter *arg1 = (wxPrinter *) 0 ;
27457 wxWindow *arg2 = (wxWindow *) 0 ;
27458 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27459 wxWindow *result = 0 ;
27460 void *argp1 = 0 ;
27461 int res1 = 0 ;
27462 void *argp2 = 0 ;
27463 int res2 = 0 ;
27464 void *argp3 = 0 ;
27465 int res3 = 0 ;
27466 PyObject * obj0 = 0 ;
27467 PyObject * obj1 = 0 ;
27468 PyObject * obj2 = 0 ;
27469 char * kwnames[] = {
27470 (char *) "self",(char *) "parent",(char *) "printout", NULL
27471 };
27472
27473 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27474 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27475 if (!SWIG_IsOK(res1)) {
27476 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27477 }
27478 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27479 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27480 if (!SWIG_IsOK(res2)) {
27481 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27482 }
27483 arg2 = reinterpret_cast< wxWindow * >(argp2);
27484 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27485 if (!SWIG_IsOK(res3)) {
27486 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27487 }
27488 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27489 {
27490 PyThreadState* __tstate = wxPyBeginAllowThreads();
27491 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
27492 wxPyEndAllowThreads(__tstate);
27493 if (PyErr_Occurred()) SWIG_fail;
27494 }
27495 {
27496 resultobj = wxPyMake_wxObject(result, 0);
27497 }
27498 return resultobj;
27499 fail:
27500 return NULL;
27501 }
27502
27503
27504 SWIGINTERN PyObject *_wrap_Printer_ReportError(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27505 PyObject *resultobj = 0;
27506 wxPrinter *arg1 = (wxPrinter *) 0 ;
27507 wxWindow *arg2 = (wxWindow *) 0 ;
27508 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27509 wxString *arg4 = 0 ;
27510 void *argp1 = 0 ;
27511 int res1 = 0 ;
27512 void *argp2 = 0 ;
27513 int res2 = 0 ;
27514 void *argp3 = 0 ;
27515 int res3 = 0 ;
27516 bool temp4 = false ;
27517 PyObject * obj0 = 0 ;
27518 PyObject * obj1 = 0 ;
27519 PyObject * obj2 = 0 ;
27520 PyObject * obj3 = 0 ;
27521 char * kwnames[] = {
27522 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27523 };
27524
27525 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27526 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27527 if (!SWIG_IsOK(res1)) {
27528 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27529 }
27530 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27531 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27532 if (!SWIG_IsOK(res2)) {
27533 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27534 }
27535 arg2 = reinterpret_cast< wxWindow * >(argp2);
27536 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27537 if (!SWIG_IsOK(res3)) {
27538 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27539 }
27540 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27541 {
27542 arg4 = wxString_in_helper(obj3);
27543 if (arg4 == NULL) SWIG_fail;
27544 temp4 = true;
27545 }
27546 {
27547 PyThreadState* __tstate = wxPyBeginAllowThreads();
27548 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
27549 wxPyEndAllowThreads(__tstate);
27550 if (PyErr_Occurred()) SWIG_fail;
27551 }
27552 resultobj = SWIG_Py_Void();
27553 {
27554 if (temp4)
27555 delete arg4;
27556 }
27557 return resultobj;
27558 fail:
27559 {
27560 if (temp4)
27561 delete arg4;
27562 }
27563 return NULL;
27564 }
27565
27566
27567 SWIGINTERN PyObject *_wrap_Printer_Setup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27568 PyObject *resultobj = 0;
27569 wxPrinter *arg1 = (wxPrinter *) 0 ;
27570 wxWindow *arg2 = (wxWindow *) 0 ;
27571 bool result;
27572 void *argp1 = 0 ;
27573 int res1 = 0 ;
27574 void *argp2 = 0 ;
27575 int res2 = 0 ;
27576 PyObject * obj0 = 0 ;
27577 PyObject * obj1 = 0 ;
27578 char * kwnames[] = {
27579 (char *) "self",(char *) "parent", NULL
27580 };
27581
27582 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) SWIG_fail;
27583 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27584 if (!SWIG_IsOK(res1)) {
27585 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27586 }
27587 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27588 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27589 if (!SWIG_IsOK(res2)) {
27590 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27591 }
27592 arg2 = reinterpret_cast< wxWindow * >(argp2);
27593 {
27594 PyThreadState* __tstate = wxPyBeginAllowThreads();
27595 result = (bool)(arg1)->Setup(arg2);
27596 wxPyEndAllowThreads(__tstate);
27597 if (PyErr_Occurred()) SWIG_fail;
27598 }
27599 {
27600 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27601 }
27602 return resultobj;
27603 fail:
27604 return NULL;
27605 }
27606
27607
27608 SWIGINTERN PyObject *_wrap_Printer_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27609 PyObject *resultobj = 0;
27610 wxPrinter *arg1 = (wxPrinter *) 0 ;
27611 wxWindow *arg2 = (wxWindow *) 0 ;
27612 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27613 bool arg4 = (bool) true ;
27614 bool result;
27615 void *argp1 = 0 ;
27616 int res1 = 0 ;
27617 void *argp2 = 0 ;
27618 int res2 = 0 ;
27619 void *argp3 = 0 ;
27620 int res3 = 0 ;
27621 bool val4 ;
27622 int ecode4 = 0 ;
27623 PyObject * obj0 = 0 ;
27624 PyObject * obj1 = 0 ;
27625 PyObject * obj2 = 0 ;
27626 PyObject * obj3 = 0 ;
27627 char * kwnames[] = {
27628 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27629 };
27630
27631 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27632 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27633 if (!SWIG_IsOK(res1)) {
27634 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27635 }
27636 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27637 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27638 if (!SWIG_IsOK(res2)) {
27639 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27640 }
27641 arg2 = reinterpret_cast< wxWindow * >(argp2);
27642 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27643 if (!SWIG_IsOK(res3)) {
27644 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27645 }
27646 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27647 if (obj3) {
27648 ecode4 = SWIG_AsVal_bool(obj3, &val4);
27649 if (!SWIG_IsOK(ecode4)) {
27650 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27651 }
27652 arg4 = static_cast< bool >(val4);
27653 }
27654 {
27655 PyThreadState* __tstate = wxPyBeginAllowThreads();
27656 result = (bool)(arg1)->Print(arg2,arg3,arg4);
27657 wxPyEndAllowThreads(__tstate);
27658 if (PyErr_Occurred()) SWIG_fail;
27659 }
27660 {
27661 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27662 }
27663 return resultobj;
27664 fail:
27665 return NULL;
27666 }
27667
27668
27669 SWIGINTERN PyObject *_wrap_Printer_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27670 PyObject *resultobj = 0;
27671 wxPrinter *arg1 = (wxPrinter *) 0 ;
27672 wxWindow *arg2 = (wxWindow *) 0 ;
27673 wxDC *result = 0 ;
27674 void *argp1 = 0 ;
27675 int res1 = 0 ;
27676 void *argp2 = 0 ;
27677 int res2 = 0 ;
27678 PyObject * obj0 = 0 ;
27679 PyObject * obj1 = 0 ;
27680 char * kwnames[] = {
27681 (char *) "self",(char *) "parent", NULL
27682 };
27683
27684 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
27685 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27686 if (!SWIG_IsOK(res1)) {
27687 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27688 }
27689 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27690 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27691 if (!SWIG_IsOK(res2)) {
27692 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27693 }
27694 arg2 = reinterpret_cast< wxWindow * >(argp2);
27695 {
27696 PyThreadState* __tstate = wxPyBeginAllowThreads();
27697 result = (wxDC *)(arg1)->PrintDialog(arg2);
27698 wxPyEndAllowThreads(__tstate);
27699 if (PyErr_Occurred()) SWIG_fail;
27700 }
27701 {
27702 resultobj = wxPyMake_wxObject(result, (bool)0);
27703 }
27704 return resultobj;
27705 fail:
27706 return NULL;
27707 }
27708
27709
27710 SWIGINTERN PyObject *_wrap_Printer_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27711 PyObject *resultobj = 0;
27712 wxPrinter *arg1 = (wxPrinter *) 0 ;
27713 wxPrintDialogData *result = 0 ;
27714 void *argp1 = 0 ;
27715 int res1 = 0 ;
27716 PyObject *swig_obj[1] ;
27717
27718 if (!args) SWIG_fail;
27719 swig_obj[0] = args;
27720 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27721 if (!SWIG_IsOK(res1)) {
27722 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27723 }
27724 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27725 {
27726 PyThreadState* __tstate = wxPyBeginAllowThreads();
27727 {
27728 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
27729 result = (wxPrintDialogData *) &_result_ref;
27730 }
27731 wxPyEndAllowThreads(__tstate);
27732 if (PyErr_Occurred()) SWIG_fail;
27733 }
27734 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27735 return resultobj;
27736 fail:
27737 return NULL;
27738 }
27739
27740
27741 SWIGINTERN PyObject *_wrap_Printer_GetAbort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27742 PyObject *resultobj = 0;
27743 wxPrinter *arg1 = (wxPrinter *) 0 ;
27744 bool result;
27745 void *argp1 = 0 ;
27746 int res1 = 0 ;
27747 PyObject *swig_obj[1] ;
27748
27749 if (!args) SWIG_fail;
27750 swig_obj[0] = args;
27751 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27752 if (!SWIG_IsOK(res1)) {
27753 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27754 }
27755 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27756 {
27757 PyThreadState* __tstate = wxPyBeginAllowThreads();
27758 result = (bool)(arg1)->GetAbort();
27759 wxPyEndAllowThreads(__tstate);
27760 if (PyErr_Occurred()) SWIG_fail;
27761 }
27762 {
27763 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27764 }
27765 return resultobj;
27766 fail:
27767 return NULL;
27768 }
27769
27770
27771 SWIGINTERN PyObject *_wrap_Printer_GetLastError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27772 PyObject *resultobj = 0;
27773 wxPrinterError result;
27774
27775 if (!SWIG_Python_UnpackTuple(args,"Printer_GetLastError",0,0,0)) SWIG_fail;
27776 {
27777 PyThreadState* __tstate = wxPyBeginAllowThreads();
27778 result = (wxPrinterError)wxPrinter::GetLastError();
27779 wxPyEndAllowThreads(__tstate);
27780 if (PyErr_Occurred()) SWIG_fail;
27781 }
27782 resultobj = SWIG_From_int(static_cast< int >(result));
27783 return resultobj;
27784 fail:
27785 return NULL;
27786 }
27787
27788
27789 SWIGINTERN PyObject *Printer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27790 PyObject *obj;
27791 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27792 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter, SWIG_NewClientData(obj));
27793 return SWIG_Py_Void();
27794 }
27795
27796 SWIGINTERN PyObject *Printer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27797 return SWIG_Python_InitShadowInstance(args);
27798 }
27799
27800 SWIGINTERN PyObject *_wrap_new_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27801 PyObject *resultobj = 0;
27802 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
27803 wxString *arg1 = (wxString *) &arg1_defvalue ;
27804 wxPyPrintout *result = 0 ;
27805 bool temp1 = false ;
27806 PyObject * obj0 = 0 ;
27807 char * kwnames[] = {
27808 (char *) "title", NULL
27809 };
27810
27811 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) SWIG_fail;
27812 if (obj0) {
27813 {
27814 arg1 = wxString_in_helper(obj0);
27815 if (arg1 == NULL) SWIG_fail;
27816 temp1 = true;
27817 }
27818 }
27819 {
27820 if (!wxPyCheckForApp()) SWIG_fail;
27821 PyThreadState* __tstate = wxPyBeginAllowThreads();
27822 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
27823 wxPyEndAllowThreads(__tstate);
27824 if (PyErr_Occurred()) SWIG_fail;
27825 }
27826 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_NEW | 0 );
27827 {
27828 if (temp1)
27829 delete arg1;
27830 }
27831 return resultobj;
27832 fail:
27833 {
27834 if (temp1)
27835 delete arg1;
27836 }
27837 return NULL;
27838 }
27839
27840
27841 SWIGINTERN PyObject *_wrap_delete_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27842 PyObject *resultobj = 0;
27843 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27844 void *argp1 = 0 ;
27845 int res1 = 0 ;
27846 PyObject *swig_obj[1] ;
27847
27848 if (!args) SWIG_fail;
27849 swig_obj[0] = args;
27850 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
27851 if (!SWIG_IsOK(res1)) {
27852 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27853 }
27854 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27855 {
27856 PyThreadState* __tstate = wxPyBeginAllowThreads();
27857 delete arg1;
27858
27859 wxPyEndAllowThreads(__tstate);
27860 if (PyErr_Occurred()) SWIG_fail;
27861 }
27862 resultobj = SWIG_Py_Void();
27863 return resultobj;
27864 fail:
27865 return NULL;
27866 }
27867
27868
27869 SWIGINTERN PyObject *_wrap_Printout__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27870 PyObject *resultobj = 0;
27871 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27872 PyObject *arg2 = (PyObject *) 0 ;
27873 PyObject *arg3 = (PyObject *) 0 ;
27874 void *argp1 = 0 ;
27875 int res1 = 0 ;
27876 PyObject * obj0 = 0 ;
27877 PyObject * obj1 = 0 ;
27878 PyObject * obj2 = 0 ;
27879 char * kwnames[] = {
27880 (char *) "self",(char *) "self",(char *) "_class", NULL
27881 };
27882
27883 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27884 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27885 if (!SWIG_IsOK(res1)) {
27886 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27887 }
27888 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27889 arg2 = obj1;
27890 arg3 = obj2;
27891 {
27892 PyThreadState* __tstate = wxPyBeginAllowThreads();
27893 (arg1)->_setCallbackInfo(arg2,arg3);
27894 wxPyEndAllowThreads(__tstate);
27895 if (PyErr_Occurred()) SWIG_fail;
27896 }
27897 resultobj = SWIG_Py_Void();
27898 return resultobj;
27899 fail:
27900 return NULL;
27901 }
27902
27903
27904 SWIGINTERN PyObject *_wrap_Printout_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27905 PyObject *resultobj = 0;
27906 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27907 wxString result;
27908 void *argp1 = 0 ;
27909 int res1 = 0 ;
27910 PyObject *swig_obj[1] ;
27911
27912 if (!args) SWIG_fail;
27913 swig_obj[0] = args;
27914 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27915 if (!SWIG_IsOK(res1)) {
27916 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27917 }
27918 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27919 {
27920 PyThreadState* __tstate = wxPyBeginAllowThreads();
27921 result = ((wxPyPrintout const *)arg1)->GetTitle();
27922 wxPyEndAllowThreads(__tstate);
27923 if (PyErr_Occurred()) SWIG_fail;
27924 }
27925 {
27926 #if wxUSE_UNICODE
27927 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27928 #else
27929 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27930 #endif
27931 }
27932 return resultobj;
27933 fail:
27934 return NULL;
27935 }
27936
27937
27938 SWIGINTERN PyObject *_wrap_Printout_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27939 PyObject *resultobj = 0;
27940 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27941 wxDC *result = 0 ;
27942 void *argp1 = 0 ;
27943 int res1 = 0 ;
27944 PyObject *swig_obj[1] ;
27945
27946 if (!args) SWIG_fail;
27947 swig_obj[0] = args;
27948 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27949 if (!SWIG_IsOK(res1)) {
27950 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27951 }
27952 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27953 {
27954 PyThreadState* __tstate = wxPyBeginAllowThreads();
27955 result = (wxDC *)(arg1)->GetDC();
27956 wxPyEndAllowThreads(__tstate);
27957 if (PyErr_Occurred()) SWIG_fail;
27958 }
27959 {
27960 resultobj = wxPyMake_wxObject(result, (bool)0);
27961 }
27962 return resultobj;
27963 fail:
27964 return NULL;
27965 }
27966
27967
27968 SWIGINTERN PyObject *_wrap_Printout_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27969 PyObject *resultobj = 0;
27970 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27971 wxDC *arg2 = (wxDC *) 0 ;
27972 void *argp1 = 0 ;
27973 int res1 = 0 ;
27974 void *argp2 = 0 ;
27975 int res2 = 0 ;
27976 PyObject * obj0 = 0 ;
27977 PyObject * obj1 = 0 ;
27978 char * kwnames[] = {
27979 (char *) "self",(char *) "dc", NULL
27980 };
27981
27982 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) SWIG_fail;
27983 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27984 if (!SWIG_IsOK(res1)) {
27985 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27986 }
27987 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27988 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
27989 if (!SWIG_IsOK(res2)) {
27990 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
27991 }
27992 arg2 = reinterpret_cast< wxDC * >(argp2);
27993 {
27994 PyThreadState* __tstate = wxPyBeginAllowThreads();
27995 (arg1)->SetDC(arg2);
27996 wxPyEndAllowThreads(__tstate);
27997 if (PyErr_Occurred()) SWIG_fail;
27998 }
27999 resultobj = SWIG_Py_Void();
28000 return resultobj;
28001 fail:
28002 return NULL;
28003 }
28004
28005
28006 SWIGINTERN PyObject *_wrap_Printout_FitThisSizeToPaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28007 PyObject *resultobj = 0;
28008 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28009 wxSize *arg2 = 0 ;
28010 void *argp1 = 0 ;
28011 int res1 = 0 ;
28012 wxSize temp2 ;
28013 PyObject * obj0 = 0 ;
28014 PyObject * obj1 = 0 ;
28015 char * kwnames[] = {
28016 (char *) "self",(char *) "imageSize", NULL
28017 };
28018
28019 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_FitThisSizeToPaper",kwnames,&obj0,&obj1)) SWIG_fail;
28020 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28021 if (!SWIG_IsOK(res1)) {
28022 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_FitThisSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28023 }
28024 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28025 {
28026 arg2 = &temp2;
28027 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
28028 }
28029 {
28030 PyThreadState* __tstate = wxPyBeginAllowThreads();
28031 (arg1)->FitThisSizeToPaper((wxSize const &)*arg2);
28032 wxPyEndAllowThreads(__tstate);
28033 if (PyErr_Occurred()) SWIG_fail;
28034 }
28035 resultobj = SWIG_Py_Void();
28036 return resultobj;
28037 fail:
28038 return NULL;
28039 }
28040
28041
28042 SWIGINTERN PyObject *_wrap_Printout_FitThisSizeToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28043 PyObject *resultobj = 0;
28044 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28045 wxSize *arg2 = 0 ;
28046 void *argp1 = 0 ;
28047 int res1 = 0 ;
28048 wxSize temp2 ;
28049 PyObject * obj0 = 0 ;
28050 PyObject * obj1 = 0 ;
28051 char * kwnames[] = {
28052 (char *) "self",(char *) "imageSize", NULL
28053 };
28054
28055 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_FitThisSizeToPage",kwnames,&obj0,&obj1)) SWIG_fail;
28056 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28057 if (!SWIG_IsOK(res1)) {
28058 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_FitThisSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28059 }
28060 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28061 {
28062 arg2 = &temp2;
28063 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
28064 }
28065 {
28066 PyThreadState* __tstate = wxPyBeginAllowThreads();
28067 (arg1)->FitThisSizeToPage((wxSize const &)*arg2);
28068 wxPyEndAllowThreads(__tstate);
28069 if (PyErr_Occurred()) SWIG_fail;
28070 }
28071 resultobj = SWIG_Py_Void();
28072 return resultobj;
28073 fail:
28074 return NULL;
28075 }
28076
28077
28078 SWIGINTERN PyObject *_wrap_Printout_FitThisSizeToPageMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28079 PyObject *resultobj = 0;
28080 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28081 wxSize *arg2 = 0 ;
28082 wxPageSetupDialogData *arg3 = 0 ;
28083 void *argp1 = 0 ;
28084 int res1 = 0 ;
28085 wxSize temp2 ;
28086 void *argp3 = 0 ;
28087 int res3 = 0 ;
28088 PyObject * obj0 = 0 ;
28089 PyObject * obj1 = 0 ;
28090 PyObject * obj2 = 0 ;
28091 char * kwnames[] = {
28092 (char *) "self",(char *) "imageSize",(char *) "pageSetupData", NULL
28093 };
28094
28095 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_FitThisSizeToPageMargins",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28096 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28097 if (!SWIG_IsOK(res1)) {
28098 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28099 }
28100 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28101 {
28102 arg2 = &temp2;
28103 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
28104 }
28105 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
28106 if (!SWIG_IsOK(res3)) {
28107 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
28108 }
28109 if (!argp3) {
28110 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
28111 }
28112 arg3 = reinterpret_cast< wxPageSetupDialogData * >(argp3);
28113 {
28114 PyThreadState* __tstate = wxPyBeginAllowThreads();
28115 (arg1)->FitThisSizeToPageMargins((wxSize const &)*arg2,(wxPageSetupDialogData const &)*arg3);
28116 wxPyEndAllowThreads(__tstate);
28117 if (PyErr_Occurred()) SWIG_fail;
28118 }
28119 resultobj = SWIG_Py_Void();
28120 return resultobj;
28121 fail:
28122 return NULL;
28123 }
28124
28125
28126 SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToPaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28127 PyObject *resultobj = 0;
28128 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28129 void *argp1 = 0 ;
28130 int res1 = 0 ;
28131 PyObject *swig_obj[1] ;
28132
28133 if (!args) SWIG_fail;
28134 swig_obj[0] = args;
28135 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28136 if (!SWIG_IsOK(res1)) {
28137 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28138 }
28139 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28140 {
28141 PyThreadState* __tstate = wxPyBeginAllowThreads();
28142 (arg1)->MapScreenSizeToPaper();
28143 wxPyEndAllowThreads(__tstate);
28144 if (PyErr_Occurred()) SWIG_fail;
28145 }
28146 resultobj = SWIG_Py_Void();
28147 return resultobj;
28148 fail:
28149 return NULL;
28150 }
28151
28152
28153 SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28154 PyObject *resultobj = 0;
28155 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28156 void *argp1 = 0 ;
28157 int res1 = 0 ;
28158 PyObject *swig_obj[1] ;
28159
28160 if (!args) SWIG_fail;
28161 swig_obj[0] = args;
28162 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28163 if (!SWIG_IsOK(res1)) {
28164 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28165 }
28166 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28167 {
28168 PyThreadState* __tstate = wxPyBeginAllowThreads();
28169 (arg1)->MapScreenSizeToPage();
28170 wxPyEndAllowThreads(__tstate);
28171 if (PyErr_Occurred()) SWIG_fail;
28172 }
28173 resultobj = SWIG_Py_Void();
28174 return resultobj;
28175 fail:
28176 return NULL;
28177 }
28178
28179
28180 SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToPageMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28181 PyObject *resultobj = 0;
28182 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28183 wxPageSetupDialogData *arg2 = 0 ;
28184 void *argp1 = 0 ;
28185 int res1 = 0 ;
28186 void *argp2 = 0 ;
28187 int res2 = 0 ;
28188 PyObject * obj0 = 0 ;
28189 PyObject * obj1 = 0 ;
28190 char * kwnames[] = {
28191 (char *) "self",(char *) "pageSetupData", NULL
28192 };
28193
28194 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_MapScreenSizeToPageMargins",kwnames,&obj0,&obj1)) SWIG_fail;
28195 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28196 if (!SWIG_IsOK(res1)) {
28197 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28198 }
28199 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28200 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
28201 if (!SWIG_IsOK(res2)) {
28202 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28203 }
28204 if (!argp2) {
28205 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28206 }
28207 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
28208 {
28209 PyThreadState* __tstate = wxPyBeginAllowThreads();
28210 (arg1)->MapScreenSizeToPageMargins((wxPageSetupDialogData const &)*arg2);
28211 wxPyEndAllowThreads(__tstate);
28212 if (PyErr_Occurred()) SWIG_fail;
28213 }
28214 resultobj = SWIG_Py_Void();
28215 return resultobj;
28216 fail:
28217 return NULL;
28218 }
28219
28220
28221 SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToDevice(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28222 PyObject *resultobj = 0;
28223 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28224 void *argp1 = 0 ;
28225 int res1 = 0 ;
28226 PyObject *swig_obj[1] ;
28227
28228 if (!args) SWIG_fail;
28229 swig_obj[0] = args;
28230 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28231 if (!SWIG_IsOK(res1)) {
28232 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToDevice" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28233 }
28234 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28235 {
28236 PyThreadState* __tstate = wxPyBeginAllowThreads();
28237 (arg1)->MapScreenSizeToDevice();
28238 wxPyEndAllowThreads(__tstate);
28239 if (PyErr_Occurred()) SWIG_fail;
28240 }
28241 resultobj = SWIG_Py_Void();
28242 return resultobj;
28243 fail:
28244 return NULL;
28245 }
28246
28247
28248 SWIGINTERN PyObject *_wrap_Printout_GetLogicalPaperRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28249 PyObject *resultobj = 0;
28250 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28251 wxRect result;
28252 void *argp1 = 0 ;
28253 int res1 = 0 ;
28254 PyObject *swig_obj[1] ;
28255
28256 if (!args) SWIG_fail;
28257 swig_obj[0] = args;
28258 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28259 if (!SWIG_IsOK(res1)) {
28260 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetLogicalPaperRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28261 }
28262 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28263 {
28264 PyThreadState* __tstate = wxPyBeginAllowThreads();
28265 result = ((wxPyPrintout const *)arg1)->GetLogicalPaperRect();
28266 wxPyEndAllowThreads(__tstate);
28267 if (PyErr_Occurred()) SWIG_fail;
28268 }
28269 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
28270 return resultobj;
28271 fail:
28272 return NULL;
28273 }
28274
28275
28276 SWIGINTERN PyObject *_wrap_Printout_GetLogicalPageRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28277 PyObject *resultobj = 0;
28278 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28279 wxRect result;
28280 void *argp1 = 0 ;
28281 int res1 = 0 ;
28282 PyObject *swig_obj[1] ;
28283
28284 if (!args) SWIG_fail;
28285 swig_obj[0] = args;
28286 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28287 if (!SWIG_IsOK(res1)) {
28288 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetLogicalPageRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28289 }
28290 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28291 {
28292 PyThreadState* __tstate = wxPyBeginAllowThreads();
28293 result = ((wxPyPrintout const *)arg1)->GetLogicalPageRect();
28294 wxPyEndAllowThreads(__tstate);
28295 if (PyErr_Occurred()) SWIG_fail;
28296 }
28297 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
28298 return resultobj;
28299 fail:
28300 return NULL;
28301 }
28302
28303
28304 SWIGINTERN PyObject *_wrap_Printout_GetLogicalPageMarginsRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28305 PyObject *resultobj = 0;
28306 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28307 wxPageSetupDialogData *arg2 = 0 ;
28308 wxRect result;
28309 void *argp1 = 0 ;
28310 int res1 = 0 ;
28311 void *argp2 = 0 ;
28312 int res2 = 0 ;
28313 PyObject * obj0 = 0 ;
28314 PyObject * obj1 = 0 ;
28315 char * kwnames[] = {
28316 (char *) "self",(char *) "pageSetupData", NULL
28317 };
28318
28319 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_GetLogicalPageMarginsRect",kwnames,&obj0,&obj1)) SWIG_fail;
28320 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28321 if (!SWIG_IsOK(res1)) {
28322 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28323 }
28324 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28325 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
28326 if (!SWIG_IsOK(res2)) {
28327 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28328 }
28329 if (!argp2) {
28330 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28331 }
28332 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
28333 {
28334 PyThreadState* __tstate = wxPyBeginAllowThreads();
28335 result = ((wxPyPrintout const *)arg1)->GetLogicalPageMarginsRect((wxPageSetupDialogData const &)*arg2);
28336 wxPyEndAllowThreads(__tstate);
28337 if (PyErr_Occurred()) SWIG_fail;
28338 }
28339 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
28340 return resultobj;
28341 fail:
28342 return NULL;
28343 }
28344
28345
28346 SWIGINTERN PyObject *_wrap_Printout_SetLogicalOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28347 PyObject *resultobj = 0;
28348 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28349 int arg2 ;
28350 int arg3 ;
28351 void *argp1 = 0 ;
28352 int res1 = 0 ;
28353 int val2 ;
28354 int ecode2 = 0 ;
28355 int val3 ;
28356 int ecode3 = 0 ;
28357 PyObject * obj0 = 0 ;
28358 PyObject * obj1 = 0 ;
28359 PyObject * obj2 = 0 ;
28360 char * kwnames[] = {
28361 (char *) "self",(char *) "x",(char *) "y", NULL
28362 };
28363
28364 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetLogicalOrigin",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28365 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28366 if (!SWIG_IsOK(res1)) {
28367 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28368 }
28369 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28370 ecode2 = SWIG_AsVal_int(obj1, &val2);
28371 if (!SWIG_IsOK(ecode2)) {
28372 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
28373 }
28374 arg2 = static_cast< int >(val2);
28375 ecode3 = SWIG_AsVal_int(obj2, &val3);
28376 if (!SWIG_IsOK(ecode3)) {
28377 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
28378 }
28379 arg3 = static_cast< int >(val3);
28380 {
28381 PyThreadState* __tstate = wxPyBeginAllowThreads();
28382 (arg1)->SetLogicalOrigin(arg2,arg3);
28383 wxPyEndAllowThreads(__tstate);
28384 if (PyErr_Occurred()) SWIG_fail;
28385 }
28386 resultobj = SWIG_Py_Void();
28387 return resultobj;
28388 fail:
28389 return NULL;
28390 }
28391
28392
28393 SWIGINTERN PyObject *_wrap_Printout_OffsetLogicalOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28394 PyObject *resultobj = 0;
28395 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28396 int arg2 ;
28397 int arg3 ;
28398 void *argp1 = 0 ;
28399 int res1 = 0 ;
28400 int val2 ;
28401 int ecode2 = 0 ;
28402 int val3 ;
28403 int ecode3 = 0 ;
28404 PyObject * obj0 = 0 ;
28405 PyObject * obj1 = 0 ;
28406 PyObject * obj2 = 0 ;
28407 char * kwnames[] = {
28408 (char *) "self",(char *) "xoff",(char *) "yoff", NULL
28409 };
28410
28411 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OffsetLogicalOrigin",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28412 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28413 if (!SWIG_IsOK(res1)) {
28414 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28415 }
28416 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28417 ecode2 = SWIG_AsVal_int(obj1, &val2);
28418 if (!SWIG_IsOK(ecode2)) {
28419 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
28420 }
28421 arg2 = static_cast< int >(val2);
28422 ecode3 = SWIG_AsVal_int(obj2, &val3);
28423 if (!SWIG_IsOK(ecode3)) {
28424 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
28425 }
28426 arg3 = static_cast< int >(val3);
28427 {
28428 PyThreadState* __tstate = wxPyBeginAllowThreads();
28429 (arg1)->OffsetLogicalOrigin(arg2,arg3);
28430 wxPyEndAllowThreads(__tstate);
28431 if (PyErr_Occurred()) SWIG_fail;
28432 }
28433 resultobj = SWIG_Py_Void();
28434 return resultobj;
28435 fail:
28436 return NULL;
28437 }
28438
28439
28440 SWIGINTERN PyObject *_wrap_Printout_SetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28441 PyObject *resultobj = 0;
28442 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28443 int arg2 ;
28444 int arg3 ;
28445 void *argp1 = 0 ;
28446 int res1 = 0 ;
28447 int val2 ;
28448 int ecode2 = 0 ;
28449 int val3 ;
28450 int ecode3 = 0 ;
28451 PyObject * obj0 = 0 ;
28452 PyObject * obj1 = 0 ;
28453 PyObject * obj2 = 0 ;
28454 char * kwnames[] = {
28455 (char *) "self",(char *) "w",(char *) "h", NULL
28456 };
28457
28458 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28459 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28460 if (!SWIG_IsOK(res1)) {
28461 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28462 }
28463 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28464 ecode2 = SWIG_AsVal_int(obj1, &val2);
28465 if (!SWIG_IsOK(ecode2)) {
28466 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
28467 }
28468 arg2 = static_cast< int >(val2);
28469 ecode3 = SWIG_AsVal_int(obj2, &val3);
28470 if (!SWIG_IsOK(ecode3)) {
28471 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
28472 }
28473 arg3 = static_cast< int >(val3);
28474 {
28475 PyThreadState* __tstate = wxPyBeginAllowThreads();
28476 (arg1)->SetPageSizePixels(arg2,arg3);
28477 wxPyEndAllowThreads(__tstate);
28478 if (PyErr_Occurred()) SWIG_fail;
28479 }
28480 resultobj = SWIG_Py_Void();
28481 return resultobj;
28482 fail:
28483 return NULL;
28484 }
28485
28486
28487 SWIGINTERN PyObject *_wrap_Printout_GetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28488 PyObject *resultobj = 0;
28489 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28490 int *arg2 = (int *) 0 ;
28491 int *arg3 = (int *) 0 ;
28492 void *argp1 = 0 ;
28493 int res1 = 0 ;
28494 int temp2 ;
28495 int res2 = SWIG_TMPOBJ ;
28496 int temp3 ;
28497 int res3 = SWIG_TMPOBJ ;
28498 PyObject *swig_obj[1] ;
28499
28500 arg2 = &temp2;
28501 arg3 = &temp3;
28502 if (!args) SWIG_fail;
28503 swig_obj[0] = args;
28504 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28505 if (!SWIG_IsOK(res1)) {
28506 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28507 }
28508 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28509 {
28510 PyThreadState* __tstate = wxPyBeginAllowThreads();
28511 (arg1)->GetPageSizePixels(arg2,arg3);
28512 wxPyEndAllowThreads(__tstate);
28513 if (PyErr_Occurred()) SWIG_fail;
28514 }
28515 resultobj = SWIG_Py_Void();
28516 if (SWIG_IsTmpObj(res2)) {
28517 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28518 } else {
28519 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28520 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28521 }
28522 if (SWIG_IsTmpObj(res3)) {
28523 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28524 } else {
28525 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28526 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28527 }
28528 return resultobj;
28529 fail:
28530 return NULL;
28531 }
28532
28533
28534 SWIGINTERN PyObject *_wrap_Printout_SetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28535 PyObject *resultobj = 0;
28536 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28537 int arg2 ;
28538 int arg3 ;
28539 void *argp1 = 0 ;
28540 int res1 = 0 ;
28541 int val2 ;
28542 int ecode2 = 0 ;
28543 int val3 ;
28544 int ecode3 = 0 ;
28545 PyObject * obj0 = 0 ;
28546 PyObject * obj1 = 0 ;
28547 PyObject * obj2 = 0 ;
28548 char * kwnames[] = {
28549 (char *) "self",(char *) "w",(char *) "h", NULL
28550 };
28551
28552 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28553 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28554 if (!SWIG_IsOK(res1)) {
28555 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28556 }
28557 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28558 ecode2 = SWIG_AsVal_int(obj1, &val2);
28559 if (!SWIG_IsOK(ecode2)) {
28560 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
28561 }
28562 arg2 = static_cast< int >(val2);
28563 ecode3 = SWIG_AsVal_int(obj2, &val3);
28564 if (!SWIG_IsOK(ecode3)) {
28565 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
28566 }
28567 arg3 = static_cast< int >(val3);
28568 {
28569 PyThreadState* __tstate = wxPyBeginAllowThreads();
28570 (arg1)->SetPageSizeMM(arg2,arg3);
28571 wxPyEndAllowThreads(__tstate);
28572 if (PyErr_Occurred()) SWIG_fail;
28573 }
28574 resultobj = SWIG_Py_Void();
28575 return resultobj;
28576 fail:
28577 return NULL;
28578 }
28579
28580
28581 SWIGINTERN PyObject *_wrap_Printout_GetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28582 PyObject *resultobj = 0;
28583 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28584 int *arg2 = (int *) 0 ;
28585 int *arg3 = (int *) 0 ;
28586 void *argp1 = 0 ;
28587 int res1 = 0 ;
28588 int temp2 ;
28589 int res2 = SWIG_TMPOBJ ;
28590 int temp3 ;
28591 int res3 = SWIG_TMPOBJ ;
28592 PyObject *swig_obj[1] ;
28593
28594 arg2 = &temp2;
28595 arg3 = &temp3;
28596 if (!args) SWIG_fail;
28597 swig_obj[0] = args;
28598 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28599 if (!SWIG_IsOK(res1)) {
28600 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28601 }
28602 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28603 {
28604 PyThreadState* __tstate = wxPyBeginAllowThreads();
28605 (arg1)->GetPageSizeMM(arg2,arg3);
28606 wxPyEndAllowThreads(__tstate);
28607 if (PyErr_Occurred()) SWIG_fail;
28608 }
28609 resultobj = SWIG_Py_Void();
28610 if (SWIG_IsTmpObj(res2)) {
28611 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28612 } else {
28613 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28614 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28615 }
28616 if (SWIG_IsTmpObj(res3)) {
28617 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28618 } else {
28619 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28620 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28621 }
28622 return resultobj;
28623 fail:
28624 return NULL;
28625 }
28626
28627
28628 SWIGINTERN PyObject *_wrap_Printout_SetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28629 PyObject *resultobj = 0;
28630 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28631 int arg2 ;
28632 int arg3 ;
28633 void *argp1 = 0 ;
28634 int res1 = 0 ;
28635 int val2 ;
28636 int ecode2 = 0 ;
28637 int val3 ;
28638 int ecode3 = 0 ;
28639 PyObject * obj0 = 0 ;
28640 PyObject * obj1 = 0 ;
28641 PyObject * obj2 = 0 ;
28642 char * kwnames[] = {
28643 (char *) "self",(char *) "x",(char *) "y", NULL
28644 };
28645
28646 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28647 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28648 if (!SWIG_IsOK(res1)) {
28649 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28650 }
28651 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28652 ecode2 = SWIG_AsVal_int(obj1, &val2);
28653 if (!SWIG_IsOK(ecode2)) {
28654 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
28655 }
28656 arg2 = static_cast< int >(val2);
28657 ecode3 = SWIG_AsVal_int(obj2, &val3);
28658 if (!SWIG_IsOK(ecode3)) {
28659 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
28660 }
28661 arg3 = static_cast< int >(val3);
28662 {
28663 PyThreadState* __tstate = wxPyBeginAllowThreads();
28664 (arg1)->SetPPIScreen(arg2,arg3);
28665 wxPyEndAllowThreads(__tstate);
28666 if (PyErr_Occurred()) SWIG_fail;
28667 }
28668 resultobj = SWIG_Py_Void();
28669 return resultobj;
28670 fail:
28671 return NULL;
28672 }
28673
28674
28675 SWIGINTERN PyObject *_wrap_Printout_GetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28676 PyObject *resultobj = 0;
28677 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28678 int *arg2 = (int *) 0 ;
28679 int *arg3 = (int *) 0 ;
28680 void *argp1 = 0 ;
28681 int res1 = 0 ;
28682 int temp2 ;
28683 int res2 = SWIG_TMPOBJ ;
28684 int temp3 ;
28685 int res3 = SWIG_TMPOBJ ;
28686 PyObject *swig_obj[1] ;
28687
28688 arg2 = &temp2;
28689 arg3 = &temp3;
28690 if (!args) SWIG_fail;
28691 swig_obj[0] = args;
28692 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28693 if (!SWIG_IsOK(res1)) {
28694 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28695 }
28696 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28697 {
28698 PyThreadState* __tstate = wxPyBeginAllowThreads();
28699 (arg1)->GetPPIScreen(arg2,arg3);
28700 wxPyEndAllowThreads(__tstate);
28701 if (PyErr_Occurred()) SWIG_fail;
28702 }
28703 resultobj = SWIG_Py_Void();
28704 if (SWIG_IsTmpObj(res2)) {
28705 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28706 } else {
28707 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28708 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28709 }
28710 if (SWIG_IsTmpObj(res3)) {
28711 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28712 } else {
28713 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28714 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28715 }
28716 return resultobj;
28717 fail:
28718 return NULL;
28719 }
28720
28721
28722 SWIGINTERN PyObject *_wrap_Printout_SetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28723 PyObject *resultobj = 0;
28724 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28725 int arg2 ;
28726 int arg3 ;
28727 void *argp1 = 0 ;
28728 int res1 = 0 ;
28729 int val2 ;
28730 int ecode2 = 0 ;
28731 int val3 ;
28732 int ecode3 = 0 ;
28733 PyObject * obj0 = 0 ;
28734 PyObject * obj1 = 0 ;
28735 PyObject * obj2 = 0 ;
28736 char * kwnames[] = {
28737 (char *) "self",(char *) "x",(char *) "y", NULL
28738 };
28739
28740 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28741 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28742 if (!SWIG_IsOK(res1)) {
28743 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28744 }
28745 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28746 ecode2 = SWIG_AsVal_int(obj1, &val2);
28747 if (!SWIG_IsOK(ecode2)) {
28748 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
28749 }
28750 arg2 = static_cast< int >(val2);
28751 ecode3 = SWIG_AsVal_int(obj2, &val3);
28752 if (!SWIG_IsOK(ecode3)) {
28753 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
28754 }
28755 arg3 = static_cast< int >(val3);
28756 {
28757 PyThreadState* __tstate = wxPyBeginAllowThreads();
28758 (arg1)->SetPPIPrinter(arg2,arg3);
28759 wxPyEndAllowThreads(__tstate);
28760 if (PyErr_Occurred()) SWIG_fail;
28761 }
28762 resultobj = SWIG_Py_Void();
28763 return resultobj;
28764 fail:
28765 return NULL;
28766 }
28767
28768
28769 SWIGINTERN PyObject *_wrap_Printout_GetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28770 PyObject *resultobj = 0;
28771 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28772 int *arg2 = (int *) 0 ;
28773 int *arg3 = (int *) 0 ;
28774 void *argp1 = 0 ;
28775 int res1 = 0 ;
28776 int temp2 ;
28777 int res2 = SWIG_TMPOBJ ;
28778 int temp3 ;
28779 int res3 = SWIG_TMPOBJ ;
28780 PyObject *swig_obj[1] ;
28781
28782 arg2 = &temp2;
28783 arg3 = &temp3;
28784 if (!args) SWIG_fail;
28785 swig_obj[0] = args;
28786 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28787 if (!SWIG_IsOK(res1)) {
28788 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28789 }
28790 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28791 {
28792 PyThreadState* __tstate = wxPyBeginAllowThreads();
28793 (arg1)->GetPPIPrinter(arg2,arg3);
28794 wxPyEndAllowThreads(__tstate);
28795 if (PyErr_Occurred()) SWIG_fail;
28796 }
28797 resultobj = SWIG_Py_Void();
28798 if (SWIG_IsTmpObj(res2)) {
28799 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28800 } else {
28801 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28802 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28803 }
28804 if (SWIG_IsTmpObj(res3)) {
28805 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28806 } else {
28807 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28808 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28809 }
28810 return resultobj;
28811 fail:
28812 return NULL;
28813 }
28814
28815
28816 SWIGINTERN PyObject *_wrap_Printout_SetPaperRectPixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28817 PyObject *resultobj = 0;
28818 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28819 wxRect *arg2 = 0 ;
28820 void *argp1 = 0 ;
28821 int res1 = 0 ;
28822 wxRect temp2 ;
28823 PyObject * obj0 = 0 ;
28824 PyObject * obj1 = 0 ;
28825 char * kwnames[] = {
28826 (char *) "self",(char *) "paperRectPixels", NULL
28827 };
28828
28829 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetPaperRectPixels",kwnames,&obj0,&obj1)) SWIG_fail;
28830 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28831 if (!SWIG_IsOK(res1)) {
28832 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28833 }
28834 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28835 {
28836 arg2 = &temp2;
28837 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
28838 }
28839 {
28840 PyThreadState* __tstate = wxPyBeginAllowThreads();
28841 (arg1)->SetPaperRectPixels((wxRect const &)*arg2);
28842 wxPyEndAllowThreads(__tstate);
28843 if (PyErr_Occurred()) SWIG_fail;
28844 }
28845 resultobj = SWIG_Py_Void();
28846 return resultobj;
28847 fail:
28848 return NULL;
28849 }
28850
28851
28852 SWIGINTERN PyObject *_wrap_Printout_GetPaperRectPixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28853 PyObject *resultobj = 0;
28854 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28855 wxRect result;
28856 void *argp1 = 0 ;
28857 int res1 = 0 ;
28858 PyObject *swig_obj[1] ;
28859
28860 if (!args) SWIG_fail;
28861 swig_obj[0] = args;
28862 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28863 if (!SWIG_IsOK(res1)) {
28864 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28865 }
28866 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28867 {
28868 PyThreadState* __tstate = wxPyBeginAllowThreads();
28869 result = ((wxPyPrintout const *)arg1)->GetPaperRectPixels();
28870 wxPyEndAllowThreads(__tstate);
28871 if (PyErr_Occurred()) SWIG_fail;
28872 }
28873 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
28874 return resultobj;
28875 fail:
28876 return NULL;
28877 }
28878
28879
28880 SWIGINTERN PyObject *_wrap_Printout_IsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28881 PyObject *resultobj = 0;
28882 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28883 bool result;
28884 void *argp1 = 0 ;
28885 int res1 = 0 ;
28886 PyObject *swig_obj[1] ;
28887
28888 if (!args) SWIG_fail;
28889 swig_obj[0] = args;
28890 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28891 if (!SWIG_IsOK(res1)) {
28892 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28893 }
28894 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28895 {
28896 PyThreadState* __tstate = wxPyBeginAllowThreads();
28897 result = (bool)(arg1)->IsPreview();
28898 wxPyEndAllowThreads(__tstate);
28899 if (PyErr_Occurred()) SWIG_fail;
28900 }
28901 {
28902 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28903 }
28904 return resultobj;
28905 fail:
28906 return NULL;
28907 }
28908
28909
28910 SWIGINTERN PyObject *_wrap_Printout_SetIsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28911 PyObject *resultobj = 0;
28912 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28913 bool arg2 ;
28914 void *argp1 = 0 ;
28915 int res1 = 0 ;
28916 bool val2 ;
28917 int ecode2 = 0 ;
28918 PyObject * obj0 = 0 ;
28919 PyObject * obj1 = 0 ;
28920 char * kwnames[] = {
28921 (char *) "self",(char *) "p", NULL
28922 };
28923
28924 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) SWIG_fail;
28925 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28926 if (!SWIG_IsOK(res1)) {
28927 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28928 }
28929 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28930 ecode2 = SWIG_AsVal_bool(obj1, &val2);
28931 if (!SWIG_IsOK(ecode2)) {
28932 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
28933 }
28934 arg2 = static_cast< bool >(val2);
28935 {
28936 PyThreadState* __tstate = wxPyBeginAllowThreads();
28937 (arg1)->SetIsPreview(arg2);
28938 wxPyEndAllowThreads(__tstate);
28939 if (PyErr_Occurred()) SWIG_fail;
28940 }
28941 resultobj = SWIG_Py_Void();
28942 return resultobj;
28943 fail:
28944 return NULL;
28945 }
28946
28947
28948 SWIGINTERN PyObject *_wrap_Printout_OnBeginDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28949 PyObject *resultobj = 0;
28950 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28951 int arg2 ;
28952 int arg3 ;
28953 bool result;
28954 void *argp1 = 0 ;
28955 int res1 = 0 ;
28956 int val2 ;
28957 int ecode2 = 0 ;
28958 int val3 ;
28959 int ecode3 = 0 ;
28960 PyObject * obj0 = 0 ;
28961 PyObject * obj1 = 0 ;
28962 PyObject * obj2 = 0 ;
28963 char * kwnames[] = {
28964 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
28965 };
28966
28967 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28968 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28969 if (!SWIG_IsOK(res1)) {
28970 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28971 }
28972 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28973 ecode2 = SWIG_AsVal_int(obj1, &val2);
28974 if (!SWIG_IsOK(ecode2)) {
28975 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
28976 }
28977 arg2 = static_cast< int >(val2);
28978 ecode3 = SWIG_AsVal_int(obj2, &val3);
28979 if (!SWIG_IsOK(ecode3)) {
28980 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
28981 }
28982 arg3 = static_cast< int >(val3);
28983 {
28984 PyThreadState* __tstate = wxPyBeginAllowThreads();
28985 result = (bool)(arg1)->OnBeginDocument(arg2,arg3);
28986 wxPyEndAllowThreads(__tstate);
28987 if (PyErr_Occurred()) SWIG_fail;
28988 }
28989 {
28990 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28991 }
28992 return resultobj;
28993 fail:
28994 return NULL;
28995 }
28996
28997
28998 SWIGINTERN PyObject *_wrap_Printout_OnEndDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28999 PyObject *resultobj = 0;
29000 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29001 void *argp1 = 0 ;
29002 int res1 = 0 ;
29003 PyObject *swig_obj[1] ;
29004
29005 if (!args) SWIG_fail;
29006 swig_obj[0] = args;
29007 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29008 if (!SWIG_IsOK(res1)) {
29009 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29010 }
29011 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29012 {
29013 PyThreadState* __tstate = wxPyBeginAllowThreads();
29014 (arg1)->OnEndDocument();
29015 wxPyEndAllowThreads(__tstate);
29016 if (PyErr_Occurred()) SWIG_fail;
29017 }
29018 resultobj = SWIG_Py_Void();
29019 return resultobj;
29020 fail:
29021 return NULL;
29022 }
29023
29024
29025 SWIGINTERN PyObject *_wrap_Printout_OnBeginPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29026 PyObject *resultobj = 0;
29027 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29028 void *argp1 = 0 ;
29029 int res1 = 0 ;
29030 PyObject *swig_obj[1] ;
29031
29032 if (!args) SWIG_fail;
29033 swig_obj[0] = args;
29034 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29035 if (!SWIG_IsOK(res1)) {
29036 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29037 }
29038 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29039 {
29040 PyThreadState* __tstate = wxPyBeginAllowThreads();
29041 (arg1)->OnBeginPrinting();
29042 wxPyEndAllowThreads(__tstate);
29043 if (PyErr_Occurred()) SWIG_fail;
29044 }
29045 resultobj = SWIG_Py_Void();
29046 return resultobj;
29047 fail:
29048 return NULL;
29049 }
29050
29051
29052 SWIGINTERN PyObject *_wrap_Printout_OnEndPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29053 PyObject *resultobj = 0;
29054 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29055 void *argp1 = 0 ;
29056 int res1 = 0 ;
29057 PyObject *swig_obj[1] ;
29058
29059 if (!args) SWIG_fail;
29060 swig_obj[0] = args;
29061 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29062 if (!SWIG_IsOK(res1)) {
29063 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29064 }
29065 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29066 {
29067 PyThreadState* __tstate = wxPyBeginAllowThreads();
29068 (arg1)->OnEndPrinting();
29069 wxPyEndAllowThreads(__tstate);
29070 if (PyErr_Occurred()) SWIG_fail;
29071 }
29072 resultobj = SWIG_Py_Void();
29073 return resultobj;
29074 fail:
29075 return NULL;
29076 }
29077
29078
29079 SWIGINTERN PyObject *_wrap_Printout_OnPreparePrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29080 PyObject *resultobj = 0;
29081 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29082 void *argp1 = 0 ;
29083 int res1 = 0 ;
29084 PyObject *swig_obj[1] ;
29085
29086 if (!args) SWIG_fail;
29087 swig_obj[0] = args;
29088 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29089 if (!SWIG_IsOK(res1)) {
29090 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29091 }
29092 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29093 {
29094 PyThreadState* __tstate = wxPyBeginAllowThreads();
29095 (arg1)->OnPreparePrinting();
29096 wxPyEndAllowThreads(__tstate);
29097 if (PyErr_Occurred()) SWIG_fail;
29098 }
29099 resultobj = SWIG_Py_Void();
29100 return resultobj;
29101 fail:
29102 return NULL;
29103 }
29104
29105
29106 SWIGINTERN PyObject *_wrap_Printout_HasPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29107 PyObject *resultobj = 0;
29108 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29109 int arg2 ;
29110 bool result;
29111 void *argp1 = 0 ;
29112 int res1 = 0 ;
29113 int val2 ;
29114 int ecode2 = 0 ;
29115 PyObject * obj0 = 0 ;
29116 PyObject * obj1 = 0 ;
29117 char * kwnames[] = {
29118 (char *) "self",(char *) "page", NULL
29119 };
29120
29121 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_HasPage",kwnames,&obj0,&obj1)) SWIG_fail;
29122 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29123 if (!SWIG_IsOK(res1)) {
29124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29125 }
29126 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29127 ecode2 = SWIG_AsVal_int(obj1, &val2);
29128 if (!SWIG_IsOK(ecode2)) {
29129 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
29130 }
29131 arg2 = static_cast< int >(val2);
29132 {
29133 PyThreadState* __tstate = wxPyBeginAllowThreads();
29134 result = (bool)(arg1)->HasPage(arg2);
29135 wxPyEndAllowThreads(__tstate);
29136 if (PyErr_Occurred()) SWIG_fail;
29137 }
29138 {
29139 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29140 }
29141 return resultobj;
29142 fail:
29143 return NULL;
29144 }
29145
29146
29147 SWIGINTERN PyObject *_wrap_Printout_GetPageInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29148 PyObject *resultobj = 0;
29149 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29150 int *arg2 = (int *) 0 ;
29151 int *arg3 = (int *) 0 ;
29152 int *arg4 = (int *) 0 ;
29153 int *arg5 = (int *) 0 ;
29154 void *argp1 = 0 ;
29155 int res1 = 0 ;
29156 int temp2 ;
29157 int res2 = SWIG_TMPOBJ ;
29158 int temp3 ;
29159 int res3 = SWIG_TMPOBJ ;
29160 int temp4 ;
29161 int res4 = SWIG_TMPOBJ ;
29162 int temp5 ;
29163 int res5 = SWIG_TMPOBJ ;
29164 PyObject *swig_obj[1] ;
29165
29166 arg2 = &temp2;
29167 arg3 = &temp3;
29168 arg4 = &temp4;
29169 arg5 = &temp5;
29170 if (!args) SWIG_fail;
29171 swig_obj[0] = args;
29172 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29173 if (!SWIG_IsOK(res1)) {
29174 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29175 }
29176 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29177 {
29178 PyThreadState* __tstate = wxPyBeginAllowThreads();
29179 (arg1)->GetPageInfo(arg2,arg3,arg4,arg5);
29180 wxPyEndAllowThreads(__tstate);
29181 if (PyErr_Occurred()) SWIG_fail;
29182 }
29183 resultobj = SWIG_Py_Void();
29184 if (SWIG_IsTmpObj(res2)) {
29185 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
29186 } else {
29187 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29188 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
29189 }
29190 if (SWIG_IsTmpObj(res3)) {
29191 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
29192 } else {
29193 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29194 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
29195 }
29196 if (SWIG_IsTmpObj(res4)) {
29197 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
29198 } else {
29199 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29200 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
29201 }
29202 if (SWIG_IsTmpObj(res5)) {
29203 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
29204 } else {
29205 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29206 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
29207 }
29208 return resultobj;
29209 fail:
29210 return NULL;
29211 }
29212
29213
29214 SWIGINTERN PyObject *Printout_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29215 PyObject *obj;
29216 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29217 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout, SWIG_NewClientData(obj));
29218 return SWIG_Py_Void();
29219 }
29220
29221 SWIGINTERN PyObject *Printout_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29222 return SWIG_Python_InitShadowInstance(args);
29223 }
29224
29225 SWIGINTERN PyObject *_wrap_new_PreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29226 PyObject *resultobj = 0;
29227 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29228 wxWindow *arg2 = (wxWindow *) 0 ;
29229 wxPoint const &arg3_defvalue = wxDefaultPosition ;
29230 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
29231 wxSize const &arg4_defvalue = wxDefaultSize ;
29232 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
29233 long arg5 = (long) 0 ;
29234 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
29235 wxString *arg6 = (wxString *) &arg6_defvalue ;
29236 wxPreviewCanvas *result = 0 ;
29237 void *argp1 = 0 ;
29238 int res1 = 0 ;
29239 void *argp2 = 0 ;
29240 int res2 = 0 ;
29241 wxPoint temp3 ;
29242 wxSize temp4 ;
29243 long val5 ;
29244 int ecode5 = 0 ;
29245 bool temp6 = false ;
29246 PyObject * obj0 = 0 ;
29247 PyObject * obj1 = 0 ;
29248 PyObject * obj2 = 0 ;
29249 PyObject * obj3 = 0 ;
29250 PyObject * obj4 = 0 ;
29251 PyObject * obj5 = 0 ;
29252 char * kwnames[] = {
29253 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29254 };
29255
29256 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
29257 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29258 if (!SWIG_IsOK(res1)) {
29259 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29260 }
29261 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29262 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
29263 if (!SWIG_IsOK(res2)) {
29264 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
29265 }
29266 arg2 = reinterpret_cast< wxWindow * >(argp2);
29267 if (obj2) {
29268 {
29269 arg3 = &temp3;
29270 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29271 }
29272 }
29273 if (obj3) {
29274 {
29275 arg4 = &temp4;
29276 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
29277 }
29278 }
29279 if (obj4) {
29280 ecode5 = SWIG_AsVal_long(obj4, &val5);
29281 if (!SWIG_IsOK(ecode5)) {
29282 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
29283 }
29284 arg5 = static_cast< long >(val5);
29285 }
29286 if (obj5) {
29287 {
29288 arg6 = wxString_in_helper(obj5);
29289 if (arg6 == NULL) SWIG_fail;
29290 temp6 = true;
29291 }
29292 }
29293 {
29294 if (!wxPyCheckForApp()) SWIG_fail;
29295 PyThreadState* __tstate = wxPyBeginAllowThreads();
29296 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
29297 wxPyEndAllowThreads(__tstate);
29298 if (PyErr_Occurred()) SWIG_fail;
29299 }
29300 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_NEW | 0 );
29301 {
29302 if (temp6)
29303 delete arg6;
29304 }
29305 return resultobj;
29306 fail:
29307 {
29308 if (temp6)
29309 delete arg6;
29310 }
29311 return NULL;
29312 }
29313
29314
29315 SWIGINTERN PyObject *PreviewCanvas_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29316 PyObject *obj;
29317 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29318 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas, SWIG_NewClientData(obj));
29319 return SWIG_Py_Void();
29320 }
29321
29322 SWIGINTERN PyObject *PreviewCanvas_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29323 return SWIG_Python_InitShadowInstance(args);
29324 }
29325
29326 SWIGINTERN PyObject *_wrap_new_PreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29327 PyObject *resultobj = 0;
29328 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29329 wxFrame *arg2 = (wxFrame *) 0 ;
29330 wxString *arg3 = 0 ;
29331 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29332 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29333 wxSize const &arg5_defvalue = wxDefaultSize ;
29334 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29335 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
29336 wxString const &arg7_defvalue = wxPyFrameNameStr ;
29337 wxString *arg7 = (wxString *) &arg7_defvalue ;
29338 wxPreviewFrame *result = 0 ;
29339 int res1 = 0 ;
29340 void *argp2 = 0 ;
29341 int res2 = 0 ;
29342 bool temp3 = false ;
29343 wxPoint temp4 ;
29344 wxSize temp5 ;
29345 long val6 ;
29346 int ecode6 = 0 ;
29347 bool temp7 = false ;
29348 PyObject * obj0 = 0 ;
29349 PyObject * obj1 = 0 ;
29350 PyObject * obj2 = 0 ;
29351 PyObject * obj3 = 0 ;
29352 PyObject * obj4 = 0 ;
29353 PyObject * obj5 = 0 ;
29354 PyObject * obj6 = 0 ;
29355 char * kwnames[] = {
29356 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29357 };
29358
29359 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
29360 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
29361 if (!SWIG_IsOK(res1)) {
29362 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29363 }
29364 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
29365 if (!SWIG_IsOK(res2)) {
29366 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29367 }
29368 arg2 = reinterpret_cast< wxFrame * >(argp2);
29369 {
29370 arg3 = wxString_in_helper(obj2);
29371 if (arg3 == NULL) SWIG_fail;
29372 temp3 = true;
29373 }
29374 if (obj3) {
29375 {
29376 arg4 = &temp4;
29377 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
29378 }
29379 }
29380 if (obj4) {
29381 {
29382 arg5 = &temp5;
29383 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
29384 }
29385 }
29386 if (obj5) {
29387 ecode6 = SWIG_AsVal_long(obj5, &val6);
29388 if (!SWIG_IsOK(ecode6)) {
29389 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
29390 }
29391 arg6 = static_cast< long >(val6);
29392 }
29393 if (obj6) {
29394 {
29395 arg7 = wxString_in_helper(obj6);
29396 if (arg7 == NULL) SWIG_fail;
29397 temp7 = true;
29398 }
29399 }
29400 {
29401 if (!wxPyCheckForApp()) SWIG_fail;
29402 PyThreadState* __tstate = wxPyBeginAllowThreads();
29403 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
29404 wxPyEndAllowThreads(__tstate);
29405 if (PyErr_Occurred()) SWIG_fail;
29406 }
29407 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_NEW | 0 );
29408 {
29409 if (temp3)
29410 delete arg3;
29411 }
29412 {
29413 if (temp7)
29414 delete arg7;
29415 }
29416 return resultobj;
29417 fail:
29418 {
29419 if (temp3)
29420 delete arg3;
29421 }
29422 {
29423 if (temp7)
29424 delete arg7;
29425 }
29426 return NULL;
29427 }
29428
29429
29430 SWIGINTERN PyObject *_wrap_PreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29431 PyObject *resultobj = 0;
29432 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29433 void *argp1 = 0 ;
29434 int res1 = 0 ;
29435 PyObject *swig_obj[1] ;
29436
29437 if (!args) SWIG_fail;
29438 swig_obj[0] = args;
29439 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29440 if (!SWIG_IsOK(res1)) {
29441 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29442 }
29443 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29444 {
29445 PyThreadState* __tstate = wxPyBeginAllowThreads();
29446 (arg1)->Initialize();
29447 wxPyEndAllowThreads(__tstate);
29448 if (PyErr_Occurred()) SWIG_fail;
29449 }
29450 resultobj = SWIG_Py_Void();
29451 return resultobj;
29452 fail:
29453 return NULL;
29454 }
29455
29456
29457 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29458 PyObject *resultobj = 0;
29459 wxPreviewFrame *arg1 = (wxPreviewFrame *) 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_wxPreviewFrame, 0 | 0 );
29467 if (!SWIG_IsOK(res1)) {
29468 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29469 }
29470 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29471 {
29472 PyThreadState* __tstate = wxPyBeginAllowThreads();
29473 (arg1)->CreateControlBar();
29474 wxPyEndAllowThreads(__tstate);
29475 if (PyErr_Occurred()) SWIG_fail;
29476 }
29477 resultobj = SWIG_Py_Void();
29478 return resultobj;
29479 fail:
29480 return NULL;
29481 }
29482
29483
29484 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29485 PyObject *resultobj = 0;
29486 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29487 void *argp1 = 0 ;
29488 int res1 = 0 ;
29489 PyObject *swig_obj[1] ;
29490
29491 if (!args) SWIG_fail;
29492 swig_obj[0] = args;
29493 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29494 if (!SWIG_IsOK(res1)) {
29495 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29496 }
29497 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29498 {
29499 PyThreadState* __tstate = wxPyBeginAllowThreads();
29500 (arg1)->CreateCanvas();
29501 wxPyEndAllowThreads(__tstate);
29502 if (PyErr_Occurred()) SWIG_fail;
29503 }
29504 resultobj = SWIG_Py_Void();
29505 return resultobj;
29506 fail:
29507 return NULL;
29508 }
29509
29510
29511 SWIGINTERN PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29512 PyObject *resultobj = 0;
29513 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29514 wxPreviewControlBar *result = 0 ;
29515 void *argp1 = 0 ;
29516 int res1 = 0 ;
29517 PyObject *swig_obj[1] ;
29518
29519 if (!args) SWIG_fail;
29520 swig_obj[0] = args;
29521 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29522 if (!SWIG_IsOK(res1)) {
29523 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
29524 }
29525 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29526 {
29527 PyThreadState* __tstate = wxPyBeginAllowThreads();
29528 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
29529 wxPyEndAllowThreads(__tstate);
29530 if (PyErr_Occurred()) SWIG_fail;
29531 }
29532 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29533 return resultobj;
29534 fail:
29535 return NULL;
29536 }
29537
29538
29539 SWIGINTERN PyObject *PreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29540 PyObject *obj;
29541 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29542 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame, SWIG_NewClientData(obj));
29543 return SWIG_Py_Void();
29544 }
29545
29546 SWIGINTERN PyObject *PreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29547 return SWIG_Python_InitShadowInstance(args);
29548 }
29549
29550 SWIGINTERN PyObject *_wrap_new_PreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29551 PyObject *resultobj = 0;
29552 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29553 long arg2 ;
29554 wxWindow *arg3 = (wxWindow *) 0 ;
29555 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29556 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29557 wxSize const &arg5_defvalue = wxDefaultSize ;
29558 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29559 long arg6 = (long) wxTAB_TRAVERSAL ;
29560 wxString const &arg7_defvalue = wxPyPanelNameStr ;
29561 wxString *arg7 = (wxString *) &arg7_defvalue ;
29562 wxPreviewControlBar *result = 0 ;
29563 void *argp1 = 0 ;
29564 int res1 = 0 ;
29565 long val2 ;
29566 int ecode2 = 0 ;
29567 void *argp3 = 0 ;
29568 int res3 = 0 ;
29569 wxPoint temp4 ;
29570 wxSize temp5 ;
29571 long val6 ;
29572 int ecode6 = 0 ;
29573 bool temp7 = false ;
29574 PyObject * obj0 = 0 ;
29575 PyObject * obj1 = 0 ;
29576 PyObject * obj2 = 0 ;
29577 PyObject * obj3 = 0 ;
29578 PyObject * obj4 = 0 ;
29579 PyObject * obj5 = 0 ;
29580 PyObject * obj6 = 0 ;
29581 char * kwnames[] = {
29582 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29583 };
29584
29585 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
29586 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29587 if (!SWIG_IsOK(res1)) {
29588 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29589 }
29590 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29591 ecode2 = SWIG_AsVal_long(obj1, &val2);
29592 if (!SWIG_IsOK(ecode2)) {
29593 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
29594 }
29595 arg2 = static_cast< long >(val2);
29596 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
29597 if (!SWIG_IsOK(res3)) {
29598 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
29599 }
29600 arg3 = reinterpret_cast< wxWindow * >(argp3);
29601 if (obj3) {
29602 {
29603 arg4 = &temp4;
29604 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
29605 }
29606 }
29607 if (obj4) {
29608 {
29609 arg5 = &temp5;
29610 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
29611 }
29612 }
29613 if (obj5) {
29614 ecode6 = SWIG_AsVal_long(obj5, &val6);
29615 if (!SWIG_IsOK(ecode6)) {
29616 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
29617 }
29618 arg6 = static_cast< long >(val6);
29619 }
29620 if (obj6) {
29621 {
29622 arg7 = wxString_in_helper(obj6);
29623 if (arg7 == NULL) SWIG_fail;
29624 temp7 = true;
29625 }
29626 }
29627 {
29628 if (!wxPyCheckForApp()) SWIG_fail;
29629 PyThreadState* __tstate = wxPyBeginAllowThreads();
29630 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
29631 wxPyEndAllowThreads(__tstate);
29632 if (PyErr_Occurred()) SWIG_fail;
29633 }
29634 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_NEW | 0 );
29635 {
29636 if (temp7)
29637 delete arg7;
29638 }
29639 return resultobj;
29640 fail:
29641 {
29642 if (temp7)
29643 delete arg7;
29644 }
29645 return NULL;
29646 }
29647
29648
29649 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29650 PyObject *resultobj = 0;
29651 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29652 int result;
29653 void *argp1 = 0 ;
29654 int res1 = 0 ;
29655 PyObject *swig_obj[1] ;
29656
29657 if (!args) SWIG_fail;
29658 swig_obj[0] = args;
29659 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29660 if (!SWIG_IsOK(res1)) {
29661 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29662 }
29663 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29664 {
29665 PyThreadState* __tstate = wxPyBeginAllowThreads();
29666 result = (int)(arg1)->GetZoomControl();
29667 wxPyEndAllowThreads(__tstate);
29668 if (PyErr_Occurred()) SWIG_fail;
29669 }
29670 resultobj = SWIG_From_int(static_cast< int >(result));
29671 return resultobj;
29672 fail:
29673 return NULL;
29674 }
29675
29676
29677 SWIGINTERN PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29678 PyObject *resultobj = 0;
29679 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29680 int arg2 ;
29681 void *argp1 = 0 ;
29682 int res1 = 0 ;
29683 int val2 ;
29684 int ecode2 = 0 ;
29685 PyObject * obj0 = 0 ;
29686 PyObject * obj1 = 0 ;
29687 char * kwnames[] = {
29688 (char *) "self",(char *) "zoom", NULL
29689 };
29690
29691 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
29692 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29693 if (!SWIG_IsOK(res1)) {
29694 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29695 }
29696 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29697 ecode2 = SWIG_AsVal_int(obj1, &val2);
29698 if (!SWIG_IsOK(ecode2)) {
29699 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
29700 }
29701 arg2 = static_cast< int >(val2);
29702 {
29703 PyThreadState* __tstate = wxPyBeginAllowThreads();
29704 (arg1)->SetZoomControl(arg2);
29705 wxPyEndAllowThreads(__tstate);
29706 if (PyErr_Occurred()) SWIG_fail;
29707 }
29708 resultobj = SWIG_Py_Void();
29709 return resultobj;
29710 fail:
29711 return NULL;
29712 }
29713
29714
29715 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29716 PyObject *resultobj = 0;
29717 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29718 wxPrintPreview *result = 0 ;
29719 void *argp1 = 0 ;
29720 int res1 = 0 ;
29721 PyObject *swig_obj[1] ;
29722
29723 if (!args) SWIG_fail;
29724 swig_obj[0] = args;
29725 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29726 if (!SWIG_IsOK(res1)) {
29727 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29728 }
29729 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29730 {
29731 PyThreadState* __tstate = wxPyBeginAllowThreads();
29732 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
29733 wxPyEndAllowThreads(__tstate);
29734 if (PyErr_Occurred()) SWIG_fail;
29735 }
29736 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29737 return resultobj;
29738 fail:
29739 return NULL;
29740 }
29741
29742
29743 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29744 PyObject *resultobj = 0;
29745 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29746 void *argp1 = 0 ;
29747 int res1 = 0 ;
29748 PyObject *swig_obj[1] ;
29749
29750 if (!args) SWIG_fail;
29751 swig_obj[0] = args;
29752 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29753 if (!SWIG_IsOK(res1)) {
29754 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29755 }
29756 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29757 {
29758 PyThreadState* __tstate = wxPyBeginAllowThreads();
29759 (arg1)->OnNext();
29760 wxPyEndAllowThreads(__tstate);
29761 if (PyErr_Occurred()) SWIG_fail;
29762 }
29763 resultobj = SWIG_Py_Void();
29764 return resultobj;
29765 fail:
29766 return NULL;
29767 }
29768
29769
29770 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29771 PyObject *resultobj = 0;
29772 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29773 void *argp1 = 0 ;
29774 int res1 = 0 ;
29775 PyObject *swig_obj[1] ;
29776
29777 if (!args) SWIG_fail;
29778 swig_obj[0] = args;
29779 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29780 if (!SWIG_IsOK(res1)) {
29781 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29782 }
29783 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29784 {
29785 PyThreadState* __tstate = wxPyBeginAllowThreads();
29786 (arg1)->OnPrevious();
29787 wxPyEndAllowThreads(__tstate);
29788 if (PyErr_Occurred()) SWIG_fail;
29789 }
29790 resultobj = SWIG_Py_Void();
29791 return resultobj;
29792 fail:
29793 return NULL;
29794 }
29795
29796
29797 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29798 PyObject *resultobj = 0;
29799 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
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_wxPreviewControlBar, 0 | 0 );
29807 if (!SWIG_IsOK(res1)) {
29808 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29809 }
29810 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29811 {
29812 PyThreadState* __tstate = wxPyBeginAllowThreads();
29813 (arg1)->OnFirst();
29814 wxPyEndAllowThreads(__tstate);
29815 if (PyErr_Occurred()) SWIG_fail;
29816 }
29817 resultobj = SWIG_Py_Void();
29818 return resultobj;
29819 fail:
29820 return NULL;
29821 }
29822
29823
29824 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnLast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29825 PyObject *resultobj = 0;
29826 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29827 void *argp1 = 0 ;
29828 int res1 = 0 ;
29829 PyObject *swig_obj[1] ;
29830
29831 if (!args) SWIG_fail;
29832 swig_obj[0] = args;
29833 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29834 if (!SWIG_IsOK(res1)) {
29835 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29836 }
29837 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29838 {
29839 PyThreadState* __tstate = wxPyBeginAllowThreads();
29840 (arg1)->OnLast();
29841 wxPyEndAllowThreads(__tstate);
29842 if (PyErr_Occurred()) SWIG_fail;
29843 }
29844 resultobj = SWIG_Py_Void();
29845 return resultobj;
29846 fail:
29847 return NULL;
29848 }
29849
29850
29851 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29852 PyObject *resultobj = 0;
29853 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29854 void *argp1 = 0 ;
29855 int res1 = 0 ;
29856 PyObject *swig_obj[1] ;
29857
29858 if (!args) SWIG_fail;
29859 swig_obj[0] = args;
29860 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29861 if (!SWIG_IsOK(res1)) {
29862 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29863 }
29864 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29865 {
29866 PyThreadState* __tstate = wxPyBeginAllowThreads();
29867 (arg1)->OnGoto();
29868 wxPyEndAllowThreads(__tstate);
29869 if (PyErr_Occurred()) SWIG_fail;
29870 }
29871 resultobj = SWIG_Py_Void();
29872 return resultobj;
29873 fail:
29874 return NULL;
29875 }
29876
29877
29878 SWIGINTERN PyObject *PreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29879 PyObject *obj;
29880 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29881 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar, SWIG_NewClientData(obj));
29882 return SWIG_Py_Void();
29883 }
29884
29885 SWIGINTERN PyObject *PreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29886 return SWIG_Python_InitShadowInstance(args);
29887 }
29888
29889 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29890 PyObject *resultobj = 0;
29891 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29892 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29893 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
29894 wxPrintPreview *result = 0 ;
29895 int res1 = 0 ;
29896 int res2 = 0 ;
29897 void *argp3 = 0 ;
29898 int res3 = 0 ;
29899
29900 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
29901 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29902 if (!SWIG_IsOK(res1)) {
29903 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29904 }
29905 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29906 if (!SWIG_IsOK(res2)) {
29907 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29908 }
29909 if (swig_obj[2]) {
29910 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29911 if (!SWIG_IsOK(res3)) {
29912 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29913 }
29914 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
29915 }
29916 {
29917 if (!wxPyCheckForApp()) SWIG_fail;
29918 PyThreadState* __tstate = wxPyBeginAllowThreads();
29919 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
29920 wxPyEndAllowThreads(__tstate);
29921 if (PyErr_Occurred()) SWIG_fail;
29922 }
29923 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
29924 return resultobj;
29925 fail:
29926 return NULL;
29927 }
29928
29929
29930 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29931 PyObject *resultobj = 0;
29932 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29933 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29934 wxPrintData *arg3 = (wxPrintData *) 0 ;
29935 wxPrintPreview *result = 0 ;
29936 int res1 = 0 ;
29937 int res2 = 0 ;
29938 void *argp3 = 0 ;
29939 int res3 = 0 ;
29940
29941 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
29942 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29943 if (!SWIG_IsOK(res1)) {
29944 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29945 }
29946 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29947 if (!SWIG_IsOK(res2)) {
29948 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29949 }
29950 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
29951 if (!SWIG_IsOK(res3)) {
29952 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29953 }
29954 arg3 = reinterpret_cast< wxPrintData * >(argp3);
29955 {
29956 if (!wxPyCheckForApp()) SWIG_fail;
29957 PyThreadState* __tstate = wxPyBeginAllowThreads();
29958 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
29959 wxPyEndAllowThreads(__tstate);
29960 if (PyErr_Occurred()) SWIG_fail;
29961 }
29962 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
29963 return resultobj;
29964 fail:
29965 return NULL;
29966 }
29967
29968
29969 SWIGINTERN PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
29970 int argc;
29971 PyObject *argv[4];
29972
29973 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintPreview",0,3,argv))) SWIG_fail;
29974 --argc;
29975 if ((argc >= 2) && (argc <= 3)) {
29976 int _v = 0;
29977 if (argc > 2) {
29978 {
29979 void *vptr = 0;
29980 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
29981 _v = SWIG_CheckState(res);
29982 }
29983 if (!_v) goto check_1;
29984 }
29985 return _wrap_new_PrintPreview__SWIG_0(self, argc, argv);
29986 }
29987 check_1:
29988
29989 if (argc == 3) {
29990 return _wrap_new_PrintPreview__SWIG_1(self, argc, argv);
29991 }
29992
29993 fail:
29994 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
29995 return NULL;
29996 }
29997
29998
29999 SWIGINTERN PyObject *_wrap_delete_PrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30000 PyObject *resultobj = 0;
30001 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30002 void *argp1 = 0 ;
30003 int res1 = 0 ;
30004 PyObject *swig_obj[1] ;
30005
30006 if (!args) SWIG_fail;
30007 swig_obj[0] = args;
30008 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
30009 if (!SWIG_IsOK(res1)) {
30010 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30011 }
30012 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30013 {
30014 PyThreadState* __tstate = wxPyBeginAllowThreads();
30015 delete arg1;
30016
30017 wxPyEndAllowThreads(__tstate);
30018 if (PyErr_Occurred()) SWIG_fail;
30019 }
30020 resultobj = SWIG_Py_Void();
30021 return resultobj;
30022 fail:
30023 return NULL;
30024 }
30025
30026
30027 SWIGINTERN PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30028 PyObject *resultobj = 0;
30029 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30030 int arg2 ;
30031 bool result;
30032 void *argp1 = 0 ;
30033 int res1 = 0 ;
30034 int val2 ;
30035 int ecode2 = 0 ;
30036 PyObject * obj0 = 0 ;
30037 PyObject * obj1 = 0 ;
30038 char * kwnames[] = {
30039 (char *) "self",(char *) "pageNum", NULL
30040 };
30041
30042 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) SWIG_fail;
30043 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30044 if (!SWIG_IsOK(res1)) {
30045 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30046 }
30047 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30048 ecode2 = SWIG_AsVal_int(obj1, &val2);
30049 if (!SWIG_IsOK(ecode2)) {
30050 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
30051 }
30052 arg2 = static_cast< int >(val2);
30053 {
30054 PyThreadState* __tstate = wxPyBeginAllowThreads();
30055 result = (bool)(arg1)->SetCurrentPage(arg2);
30056 wxPyEndAllowThreads(__tstate);
30057 if (PyErr_Occurred()) SWIG_fail;
30058 }
30059 {
30060 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30061 }
30062 return resultobj;
30063 fail:
30064 return NULL;
30065 }
30066
30067
30068 SWIGINTERN PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30069 PyObject *resultobj = 0;
30070 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30071 int result;
30072 void *argp1 = 0 ;
30073 int res1 = 0 ;
30074 PyObject *swig_obj[1] ;
30075
30076 if (!args) SWIG_fail;
30077 swig_obj[0] = args;
30078 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30079 if (!SWIG_IsOK(res1)) {
30080 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30081 }
30082 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30083 {
30084 PyThreadState* __tstate = wxPyBeginAllowThreads();
30085 result = (int)(arg1)->GetCurrentPage();
30086 wxPyEndAllowThreads(__tstate);
30087 if (PyErr_Occurred()) SWIG_fail;
30088 }
30089 resultobj = SWIG_From_int(static_cast< int >(result));
30090 return resultobj;
30091 fail:
30092 return NULL;
30093 }
30094
30095
30096 SWIGINTERN PyObject *_wrap_PrintPreview_SetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30097 PyObject *resultobj = 0;
30098 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30099 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30100 void *argp1 = 0 ;
30101 int res1 = 0 ;
30102 int res2 = 0 ;
30103 PyObject * obj0 = 0 ;
30104 PyObject * obj1 = 0 ;
30105 char * kwnames[] = {
30106 (char *) "self",(char *) "printout", NULL
30107 };
30108
30109 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) SWIG_fail;
30110 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30111 if (!SWIG_IsOK(res1)) {
30112 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30113 }
30114 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30115 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30116 if (!SWIG_IsOK(res2)) {
30117 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30118 }
30119 {
30120 PyThreadState* __tstate = wxPyBeginAllowThreads();
30121 (arg1)->SetPrintout(arg2);
30122 wxPyEndAllowThreads(__tstate);
30123 if (PyErr_Occurred()) SWIG_fail;
30124 }
30125 resultobj = SWIG_Py_Void();
30126 return resultobj;
30127 fail:
30128 return NULL;
30129 }
30130
30131
30132 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30133 PyObject *resultobj = 0;
30134 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30135 wxPyPrintout *result = 0 ;
30136 void *argp1 = 0 ;
30137 int res1 = 0 ;
30138 PyObject *swig_obj[1] ;
30139
30140 if (!args) SWIG_fail;
30141 swig_obj[0] = args;
30142 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30143 if (!SWIG_IsOK(res1)) {
30144 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30145 }
30146 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30147 {
30148 PyThreadState* __tstate = wxPyBeginAllowThreads();
30149 result = (wxPyPrintout *)(arg1)->GetPrintout();
30150 wxPyEndAllowThreads(__tstate);
30151 if (PyErr_Occurred()) SWIG_fail;
30152 }
30153 {
30154 resultobj = wxPyMake_wxObject(result, 0);
30155 }
30156 return resultobj;
30157 fail:
30158 return NULL;
30159 }
30160
30161
30162 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30163 PyObject *resultobj = 0;
30164 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30165 wxPyPrintout *result = 0 ;
30166 void *argp1 = 0 ;
30167 int res1 = 0 ;
30168 PyObject *swig_obj[1] ;
30169
30170 if (!args) SWIG_fail;
30171 swig_obj[0] = args;
30172 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30173 if (!SWIG_IsOK(res1)) {
30174 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30175 }
30176 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30177 {
30178 PyThreadState* __tstate = wxPyBeginAllowThreads();
30179 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
30180 wxPyEndAllowThreads(__tstate);
30181 if (PyErr_Occurred()) SWIG_fail;
30182 }
30183 {
30184 resultobj = wxPyMake_wxObject(result, 0);
30185 }
30186 return resultobj;
30187 fail:
30188 return NULL;
30189 }
30190
30191
30192 SWIGINTERN PyObject *_wrap_PrintPreview_SetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30193 PyObject *resultobj = 0;
30194 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30195 wxFrame *arg2 = (wxFrame *) 0 ;
30196 void *argp1 = 0 ;
30197 int res1 = 0 ;
30198 void *argp2 = 0 ;
30199 int res2 = 0 ;
30200 PyObject * obj0 = 0 ;
30201 PyObject * obj1 = 0 ;
30202 char * kwnames[] = {
30203 (char *) "self",(char *) "frame", NULL
30204 };
30205
30206 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) SWIG_fail;
30207 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30208 if (!SWIG_IsOK(res1)) {
30209 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30210 }
30211 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30212 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
30213 if (!SWIG_IsOK(res2)) {
30214 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30215 }
30216 arg2 = reinterpret_cast< wxFrame * >(argp2);
30217 {
30218 PyThreadState* __tstate = wxPyBeginAllowThreads();
30219 (arg1)->SetFrame(arg2);
30220 wxPyEndAllowThreads(__tstate);
30221 if (PyErr_Occurred()) SWIG_fail;
30222 }
30223 resultobj = SWIG_Py_Void();
30224 return resultobj;
30225 fail:
30226 return NULL;
30227 }
30228
30229
30230 SWIGINTERN PyObject *_wrap_PrintPreview_SetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30231 PyObject *resultobj = 0;
30232 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30233 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30234 void *argp1 = 0 ;
30235 int res1 = 0 ;
30236 void *argp2 = 0 ;
30237 int res2 = 0 ;
30238 PyObject * obj0 = 0 ;
30239 PyObject * obj1 = 0 ;
30240 char * kwnames[] = {
30241 (char *) "self",(char *) "canvas", NULL
30242 };
30243
30244 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
30245 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30246 if (!SWIG_IsOK(res1)) {
30247 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30248 }
30249 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30250 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30251 if (!SWIG_IsOK(res2)) {
30252 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30253 }
30254 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30255 {
30256 PyThreadState* __tstate = wxPyBeginAllowThreads();
30257 (arg1)->SetCanvas(arg2);
30258 wxPyEndAllowThreads(__tstate);
30259 if (PyErr_Occurred()) SWIG_fail;
30260 }
30261 resultobj = SWIG_Py_Void();
30262 return resultobj;
30263 fail:
30264 return NULL;
30265 }
30266
30267
30268 SWIGINTERN PyObject *_wrap_PrintPreview_GetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30269 PyObject *resultobj = 0;
30270 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30271 wxFrame *result = 0 ;
30272 void *argp1 = 0 ;
30273 int res1 = 0 ;
30274 PyObject *swig_obj[1] ;
30275
30276 if (!args) SWIG_fail;
30277 swig_obj[0] = args;
30278 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30279 if (!SWIG_IsOK(res1)) {
30280 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30281 }
30282 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30283 {
30284 PyThreadState* __tstate = wxPyBeginAllowThreads();
30285 result = (wxFrame *)(arg1)->GetFrame();
30286 wxPyEndAllowThreads(__tstate);
30287 if (PyErr_Occurred()) SWIG_fail;
30288 }
30289 {
30290 resultobj = wxPyMake_wxObject(result, 0);
30291 }
30292 return resultobj;
30293 fail:
30294 return NULL;
30295 }
30296
30297
30298 SWIGINTERN PyObject *_wrap_PrintPreview_GetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30299 PyObject *resultobj = 0;
30300 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30301 wxPreviewCanvas *result = 0 ;
30302 void *argp1 = 0 ;
30303 int res1 = 0 ;
30304 PyObject *swig_obj[1] ;
30305
30306 if (!args) SWIG_fail;
30307 swig_obj[0] = args;
30308 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30309 if (!SWIG_IsOK(res1)) {
30310 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30311 }
30312 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30313 {
30314 PyThreadState* __tstate = wxPyBeginAllowThreads();
30315 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
30316 wxPyEndAllowThreads(__tstate);
30317 if (PyErr_Occurred()) SWIG_fail;
30318 }
30319 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30320 return resultobj;
30321 fail:
30322 return NULL;
30323 }
30324
30325
30326 SWIGINTERN PyObject *_wrap_PrintPreview_PaintPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30327 PyObject *resultobj = 0;
30328 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30329 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30330 wxDC *arg3 = 0 ;
30331 bool result;
30332 void *argp1 = 0 ;
30333 int res1 = 0 ;
30334 void *argp2 = 0 ;
30335 int res2 = 0 ;
30336 void *argp3 = 0 ;
30337 int res3 = 0 ;
30338 PyObject * obj0 = 0 ;
30339 PyObject * obj1 = 0 ;
30340 PyObject * obj2 = 0 ;
30341 char * kwnames[] = {
30342 (char *) "self",(char *) "canvas",(char *) "dc", NULL
30343 };
30344
30345 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30346 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30347 if (!SWIG_IsOK(res1)) {
30348 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30349 }
30350 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30351 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30352 if (!SWIG_IsOK(res2)) {
30353 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30354 }
30355 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30356 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
30357 if (!SWIG_IsOK(res3)) {
30358 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
30359 }
30360 if (!argp3) {
30361 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
30362 }
30363 arg3 = reinterpret_cast< wxDC * >(argp3);
30364 {
30365 PyThreadState* __tstate = wxPyBeginAllowThreads();
30366 result = (bool)(arg1)->PaintPage(arg2,*arg3);
30367 wxPyEndAllowThreads(__tstate);
30368 if (PyErr_Occurred()) SWIG_fail;
30369 }
30370 {
30371 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30372 }
30373 return resultobj;
30374 fail:
30375 return NULL;
30376 }
30377
30378
30379 SWIGINTERN PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30380 PyObject *resultobj = 0;
30381 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30382 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30383 wxDC *arg3 = 0 ;
30384 bool result;
30385 void *argp1 = 0 ;
30386 int res1 = 0 ;
30387 void *argp2 = 0 ;
30388 int res2 = 0 ;
30389 void *argp3 = 0 ;
30390 int res3 = 0 ;
30391 PyObject * obj0 = 0 ;
30392 PyObject * obj1 = 0 ;
30393 PyObject * obj2 = 0 ;
30394 char * kwnames[] = {
30395 (char *) "self",(char *) "canvas",(char *) "dc", NULL
30396 };
30397
30398 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30399 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30400 if (!SWIG_IsOK(res1)) {
30401 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30402 }
30403 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30404 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30405 if (!SWIG_IsOK(res2)) {
30406 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30407 }
30408 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30409 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
30410 if (!SWIG_IsOK(res3)) {
30411 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30412 }
30413 if (!argp3) {
30414 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30415 }
30416 arg3 = reinterpret_cast< wxDC * >(argp3);
30417 {
30418 PyThreadState* __tstate = wxPyBeginAllowThreads();
30419 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
30420 wxPyEndAllowThreads(__tstate);
30421 if (PyErr_Occurred()) SWIG_fail;
30422 }
30423 {
30424 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30425 }
30426 return resultobj;
30427 fail:
30428 return NULL;
30429 }
30430
30431
30432 SWIGINTERN PyObject *_wrap_PrintPreview_RenderPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30433 PyObject *resultobj = 0;
30434 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30435 int arg2 ;
30436 bool result;
30437 void *argp1 = 0 ;
30438 int res1 = 0 ;
30439 int val2 ;
30440 int ecode2 = 0 ;
30441 PyObject * obj0 = 0 ;
30442 PyObject * obj1 = 0 ;
30443 char * kwnames[] = {
30444 (char *) "self",(char *) "pageNum", NULL
30445 };
30446
30447 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) SWIG_fail;
30448 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30449 if (!SWIG_IsOK(res1)) {
30450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30451 }
30452 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30453 ecode2 = SWIG_AsVal_int(obj1, &val2);
30454 if (!SWIG_IsOK(ecode2)) {
30455 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
30456 }
30457 arg2 = static_cast< int >(val2);
30458 {
30459 PyThreadState* __tstate = wxPyBeginAllowThreads();
30460 result = (bool)(arg1)->RenderPage(arg2);
30461 wxPyEndAllowThreads(__tstate);
30462 if (PyErr_Occurred()) SWIG_fail;
30463 }
30464 {
30465 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30466 }
30467 return resultobj;
30468 fail:
30469 return NULL;
30470 }
30471
30472
30473 SWIGINTERN PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30474 PyObject *resultobj = 0;
30475 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30476 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30477 void *argp1 = 0 ;
30478 int res1 = 0 ;
30479 void *argp2 = 0 ;
30480 int res2 = 0 ;
30481 PyObject * obj0 = 0 ;
30482 PyObject * obj1 = 0 ;
30483 char * kwnames[] = {
30484 (char *) "self",(char *) "canvas", NULL
30485 };
30486
30487 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) SWIG_fail;
30488 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30489 if (!SWIG_IsOK(res1)) {
30490 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30491 }
30492 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30493 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30494 if (!SWIG_IsOK(res2)) {
30495 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30496 }
30497 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30498 {
30499 PyThreadState* __tstate = wxPyBeginAllowThreads();
30500 (arg1)->AdjustScrollbars(arg2);
30501 wxPyEndAllowThreads(__tstate);
30502 if (PyErr_Occurred()) SWIG_fail;
30503 }
30504 resultobj = SWIG_Py_Void();
30505 return resultobj;
30506 fail:
30507 return NULL;
30508 }
30509
30510
30511 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30512 PyObject *resultobj = 0;
30513 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30514 wxPrintDialogData *result = 0 ;
30515 void *argp1 = 0 ;
30516 int res1 = 0 ;
30517 PyObject *swig_obj[1] ;
30518
30519 if (!args) SWIG_fail;
30520 swig_obj[0] = args;
30521 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30522 if (!SWIG_IsOK(res1)) {
30523 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30524 }
30525 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30526 {
30527 PyThreadState* __tstate = wxPyBeginAllowThreads();
30528 {
30529 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
30530 result = (wxPrintDialogData *) &_result_ref;
30531 }
30532 wxPyEndAllowThreads(__tstate);
30533 if (PyErr_Occurred()) SWIG_fail;
30534 }
30535 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
30536 return resultobj;
30537 fail:
30538 return NULL;
30539 }
30540
30541
30542 SWIGINTERN PyObject *_wrap_PrintPreview_SetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30543 PyObject *resultobj = 0;
30544 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30545 int arg2 ;
30546 void *argp1 = 0 ;
30547 int res1 = 0 ;
30548 int val2 ;
30549 int ecode2 = 0 ;
30550 PyObject * obj0 = 0 ;
30551 PyObject * obj1 = 0 ;
30552 char * kwnames[] = {
30553 (char *) "self",(char *) "percent", NULL
30554 };
30555
30556 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) SWIG_fail;
30557 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30558 if (!SWIG_IsOK(res1)) {
30559 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30560 }
30561 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30562 ecode2 = SWIG_AsVal_int(obj1, &val2);
30563 if (!SWIG_IsOK(ecode2)) {
30564 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
30565 }
30566 arg2 = static_cast< int >(val2);
30567 {
30568 PyThreadState* __tstate = wxPyBeginAllowThreads();
30569 (arg1)->SetZoom(arg2);
30570 wxPyEndAllowThreads(__tstate);
30571 if (PyErr_Occurred()) SWIG_fail;
30572 }
30573 resultobj = SWIG_Py_Void();
30574 return resultobj;
30575 fail:
30576 return NULL;
30577 }
30578
30579
30580 SWIGINTERN PyObject *_wrap_PrintPreview_GetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30581 PyObject *resultobj = 0;
30582 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30583 int result;
30584 void *argp1 = 0 ;
30585 int res1 = 0 ;
30586 PyObject *swig_obj[1] ;
30587
30588 if (!args) SWIG_fail;
30589 swig_obj[0] = args;
30590 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30591 if (!SWIG_IsOK(res1)) {
30592 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30593 }
30594 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30595 {
30596 PyThreadState* __tstate = wxPyBeginAllowThreads();
30597 result = (int)(arg1)->GetZoom();
30598 wxPyEndAllowThreads(__tstate);
30599 if (PyErr_Occurred()) SWIG_fail;
30600 }
30601 resultobj = SWIG_From_int(static_cast< int >(result));
30602 return resultobj;
30603 fail:
30604 return NULL;
30605 }
30606
30607
30608 SWIGINTERN PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30609 PyObject *resultobj = 0;
30610 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30611 int result;
30612 void *argp1 = 0 ;
30613 int res1 = 0 ;
30614 PyObject *swig_obj[1] ;
30615
30616 if (!args) SWIG_fail;
30617 swig_obj[0] = args;
30618 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30619 if (!SWIG_IsOK(res1)) {
30620 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30621 }
30622 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30623 {
30624 PyThreadState* __tstate = wxPyBeginAllowThreads();
30625 result = (int)(arg1)->GetMaxPage();
30626 wxPyEndAllowThreads(__tstate);
30627 if (PyErr_Occurred()) SWIG_fail;
30628 }
30629 resultobj = SWIG_From_int(static_cast< int >(result));
30630 return resultobj;
30631 fail:
30632 return NULL;
30633 }
30634
30635
30636 SWIGINTERN PyObject *_wrap_PrintPreview_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30637 PyObject *resultobj = 0;
30638 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30639 int result;
30640 void *argp1 = 0 ;
30641 int res1 = 0 ;
30642 PyObject *swig_obj[1] ;
30643
30644 if (!args) SWIG_fail;
30645 swig_obj[0] = args;
30646 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30647 if (!SWIG_IsOK(res1)) {
30648 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30649 }
30650 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30651 {
30652 PyThreadState* __tstate = wxPyBeginAllowThreads();
30653 result = (int)(arg1)->GetMinPage();
30654 wxPyEndAllowThreads(__tstate);
30655 if (PyErr_Occurred()) SWIG_fail;
30656 }
30657 resultobj = SWIG_From_int(static_cast< int >(result));
30658 return resultobj;
30659 fail:
30660 return NULL;
30661 }
30662
30663
30664 SWIGINTERN PyObject *_wrap_PrintPreview_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30665 PyObject *resultobj = 0;
30666 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30667 bool result;
30668 void *argp1 = 0 ;
30669 int res1 = 0 ;
30670 PyObject *swig_obj[1] ;
30671
30672 if (!args) SWIG_fail;
30673 swig_obj[0] = args;
30674 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30675 if (!SWIG_IsOK(res1)) {
30676 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_IsOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30677 }
30678 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30679 {
30680 PyThreadState* __tstate = wxPyBeginAllowThreads();
30681 result = (bool)(arg1)->IsOk();
30682 wxPyEndAllowThreads(__tstate);
30683 if (PyErr_Occurred()) SWIG_fail;
30684 }
30685 {
30686 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30687 }
30688 return resultobj;
30689 fail:
30690 return NULL;
30691 }
30692
30693
30694 SWIGINTERN PyObject *_wrap_PrintPreview_SetOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30695 PyObject *resultobj = 0;
30696 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30697 bool arg2 ;
30698 void *argp1 = 0 ;
30699 int res1 = 0 ;
30700 bool val2 ;
30701 int ecode2 = 0 ;
30702 PyObject * obj0 = 0 ;
30703 PyObject * obj1 = 0 ;
30704 char * kwnames[] = {
30705 (char *) "self",(char *) "ok", NULL
30706 };
30707
30708 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) SWIG_fail;
30709 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30710 if (!SWIG_IsOK(res1)) {
30711 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30712 }
30713 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30714 ecode2 = SWIG_AsVal_bool(obj1, &val2);
30715 if (!SWIG_IsOK(ecode2)) {
30716 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
30717 }
30718 arg2 = static_cast< bool >(val2);
30719 {
30720 PyThreadState* __tstate = wxPyBeginAllowThreads();
30721 (arg1)->SetOk(arg2);
30722 wxPyEndAllowThreads(__tstate);
30723 if (PyErr_Occurred()) SWIG_fail;
30724 }
30725 resultobj = SWIG_Py_Void();
30726 return resultobj;
30727 fail:
30728 return NULL;
30729 }
30730
30731
30732 SWIGINTERN PyObject *_wrap_PrintPreview_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30733 PyObject *resultobj = 0;
30734 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30735 bool arg2 ;
30736 bool result;
30737 void *argp1 = 0 ;
30738 int res1 = 0 ;
30739 bool val2 ;
30740 int ecode2 = 0 ;
30741 PyObject * obj0 = 0 ;
30742 PyObject * obj1 = 0 ;
30743 char * kwnames[] = {
30744 (char *) "self",(char *) "interactive", NULL
30745 };
30746
30747 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) SWIG_fail;
30748 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30749 if (!SWIG_IsOK(res1)) {
30750 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30751 }
30752 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30753 ecode2 = SWIG_AsVal_bool(obj1, &val2);
30754 if (!SWIG_IsOK(ecode2)) {
30755 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
30756 }
30757 arg2 = static_cast< bool >(val2);
30758 {
30759 PyThreadState* __tstate = wxPyBeginAllowThreads();
30760 result = (bool)(arg1)->Print(arg2);
30761 wxPyEndAllowThreads(__tstate);
30762 if (PyErr_Occurred()) SWIG_fail;
30763 }
30764 {
30765 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30766 }
30767 return resultobj;
30768 fail:
30769 return NULL;
30770 }
30771
30772
30773 SWIGINTERN PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30774 PyObject *resultobj = 0;
30775 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30776 void *argp1 = 0 ;
30777 int res1 = 0 ;
30778 PyObject *swig_obj[1] ;
30779
30780 if (!args) SWIG_fail;
30781 swig_obj[0] = args;
30782 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30783 if (!SWIG_IsOK(res1)) {
30784 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30785 }
30786 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30787 {
30788 PyThreadState* __tstate = wxPyBeginAllowThreads();
30789 (arg1)->DetermineScaling();
30790 wxPyEndAllowThreads(__tstate);
30791 if (PyErr_Occurred()) SWIG_fail;
30792 }
30793 resultobj = SWIG_Py_Void();
30794 return resultobj;
30795 fail:
30796 return NULL;
30797 }
30798
30799
30800 SWIGINTERN PyObject *PrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30801 PyObject *obj;
30802 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30803 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview, SWIG_NewClientData(obj));
30804 return SWIG_Py_Void();
30805 }
30806
30807 SWIGINTERN PyObject *PrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30808 return SWIG_Python_InitShadowInstance(args);
30809 }
30810
30811 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30812 PyObject *resultobj = 0;
30813 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30814 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30815 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
30816 wxPyPrintPreview *result = 0 ;
30817 int res1 = 0 ;
30818 int res2 = 0 ;
30819 void *argp3 = 0 ;
30820 int res3 = 0 ;
30821
30822 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
30823 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30824 if (!SWIG_IsOK(res1)) {
30825 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30826 }
30827 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30828 if (!SWIG_IsOK(res2)) {
30829 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30830 }
30831 if (swig_obj[2]) {
30832 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
30833 if (!SWIG_IsOK(res3)) {
30834 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
30835 }
30836 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
30837 }
30838 {
30839 if (!wxPyCheckForApp()) SWIG_fail;
30840 PyThreadState* __tstate = wxPyBeginAllowThreads();
30841 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
30842 wxPyEndAllowThreads(__tstate);
30843 if (PyErr_Occurred()) SWIG_fail;
30844 }
30845 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
30846 return resultobj;
30847 fail:
30848 return NULL;
30849 }
30850
30851
30852 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30853 PyObject *resultobj = 0;
30854 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30855 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30856 wxPrintData *arg3 = (wxPrintData *) 0 ;
30857 wxPyPrintPreview *result = 0 ;
30858 int res1 = 0 ;
30859 int res2 = 0 ;
30860 void *argp3 = 0 ;
30861 int res3 = 0 ;
30862
30863 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
30864 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30865 if (!SWIG_IsOK(res1)) {
30866 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30867 }
30868 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30869 if (!SWIG_IsOK(res2)) {
30870 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30871 }
30872 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
30873 if (!SWIG_IsOK(res3)) {
30874 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30875 }
30876 arg3 = reinterpret_cast< wxPrintData * >(argp3);
30877 {
30878 if (!wxPyCheckForApp()) SWIG_fail;
30879 PyThreadState* __tstate = wxPyBeginAllowThreads();
30880 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
30881 wxPyEndAllowThreads(__tstate);
30882 if (PyErr_Occurred()) SWIG_fail;
30883 }
30884 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
30885 return resultobj;
30886 fail:
30887 return NULL;
30888 }
30889
30890
30891 SWIGINTERN PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
30892 int argc;
30893 PyObject *argv[4];
30894
30895 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PyPrintPreview",0,3,argv))) SWIG_fail;
30896 --argc;
30897 if ((argc >= 2) && (argc <= 3)) {
30898 int _v = 0;
30899 if (argc > 2) {
30900 {
30901 void *vptr = 0;
30902 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
30903 _v = SWIG_CheckState(res);
30904 }
30905 if (!_v) goto check_1;
30906 }
30907 return _wrap_new_PyPrintPreview__SWIG_0(self, argc, argv);
30908 }
30909 check_1:
30910
30911 if (argc == 3) {
30912 return _wrap_new_PyPrintPreview__SWIG_1(self, argc, argv);
30913 }
30914
30915 fail:
30916 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
30917 return NULL;
30918 }
30919
30920
30921 SWIGINTERN PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30922 PyObject *resultobj = 0;
30923 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
30924 PyObject *arg2 = (PyObject *) 0 ;
30925 PyObject *arg3 = (PyObject *) 0 ;
30926 void *argp1 = 0 ;
30927 int res1 = 0 ;
30928 PyObject * obj0 = 0 ;
30929 PyObject * obj1 = 0 ;
30930 PyObject * obj2 = 0 ;
30931 char * kwnames[] = {
30932 (char *) "self",(char *) "self",(char *) "_class", NULL
30933 };
30934
30935 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30936 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintPreview, 0 | 0 );
30937 if (!SWIG_IsOK(res1)) {
30938 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
30939 }
30940 arg1 = reinterpret_cast< wxPyPrintPreview * >(argp1);
30941 arg2 = obj1;
30942 arg3 = obj2;
30943 {
30944 PyThreadState* __tstate = wxPyBeginAllowThreads();
30945 (arg1)->_setCallbackInfo(arg2,arg3);
30946 wxPyEndAllowThreads(__tstate);
30947 if (PyErr_Occurred()) SWIG_fail;
30948 }
30949 resultobj = SWIG_Py_Void();
30950 return resultobj;
30951 fail:
30952 return NULL;
30953 }
30954
30955
30956 SWIGINTERN PyObject *PyPrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30957 PyObject *obj;
30958 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30959 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview, SWIG_NewClientData(obj));
30960 return SWIG_Py_Void();
30961 }
30962
30963 SWIGINTERN PyObject *PyPrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30964 return SWIG_Python_InitShadowInstance(args);
30965 }
30966
30967 SWIGINTERN PyObject *_wrap_new_PyPreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30968 PyObject *resultobj = 0;
30969 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30970 wxFrame *arg2 = (wxFrame *) 0 ;
30971 wxString *arg3 = 0 ;
30972 wxPoint const &arg4_defvalue = wxDefaultPosition ;
30973 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
30974 wxSize const &arg5_defvalue = wxDefaultSize ;
30975 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
30976 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
30977 wxString const &arg7_defvalue = wxPyFrameNameStr ;
30978 wxString *arg7 = (wxString *) &arg7_defvalue ;
30979 wxPyPreviewFrame *result = 0 ;
30980 void *argp1 = 0 ;
30981 int res1 = 0 ;
30982 void *argp2 = 0 ;
30983 int res2 = 0 ;
30984 bool temp3 = false ;
30985 wxPoint temp4 ;
30986 wxSize temp5 ;
30987 long val6 ;
30988 int ecode6 = 0 ;
30989 bool temp7 = false ;
30990 PyObject * obj0 = 0 ;
30991 PyObject * obj1 = 0 ;
30992 PyObject * obj2 = 0 ;
30993 PyObject * obj3 = 0 ;
30994 PyObject * obj4 = 0 ;
30995 PyObject * obj5 = 0 ;
30996 PyObject * obj6 = 0 ;
30997 char * kwnames[] = {
30998 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30999 };
31000
31001 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
31002 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
31003 if (!SWIG_IsOK(res1)) {
31004 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31005 }
31006 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
31007 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
31008 if (!SWIG_IsOK(res2)) {
31009 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
31010 }
31011 arg2 = reinterpret_cast< wxFrame * >(argp2);
31012 {
31013 arg3 = wxString_in_helper(obj2);
31014 if (arg3 == NULL) SWIG_fail;
31015 temp3 = true;
31016 }
31017 if (obj3) {
31018 {
31019 arg4 = &temp4;
31020 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
31021 }
31022 }
31023 if (obj4) {
31024 {
31025 arg5 = &temp5;
31026 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
31027 }
31028 }
31029 if (obj5) {
31030 ecode6 = SWIG_AsVal_long(obj5, &val6);
31031 if (!SWIG_IsOK(ecode6)) {
31032 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
31033 }
31034 arg6 = static_cast< long >(val6);
31035 }
31036 if (obj6) {
31037 {
31038 arg7 = wxString_in_helper(obj6);
31039 if (arg7 == NULL) SWIG_fail;
31040 temp7 = true;
31041 }
31042 }
31043 {
31044 if (!wxPyCheckForApp()) SWIG_fail;
31045 PyThreadState* __tstate = wxPyBeginAllowThreads();
31046 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
31047 wxPyEndAllowThreads(__tstate);
31048 if (PyErr_Occurred()) SWIG_fail;
31049 }
31050 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_NEW | 0 );
31051 {
31052 if (temp3)
31053 delete arg3;
31054 }
31055 {
31056 if (temp7)
31057 delete arg7;
31058 }
31059 return resultobj;
31060 fail:
31061 {
31062 if (temp3)
31063 delete arg3;
31064 }
31065 {
31066 if (temp7)
31067 delete arg7;
31068 }
31069 return NULL;
31070 }
31071
31072
31073 SWIGINTERN PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31074 PyObject *resultobj = 0;
31075 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31076 PyObject *arg2 = (PyObject *) 0 ;
31077 PyObject *arg3 = (PyObject *) 0 ;
31078 void *argp1 = 0 ;
31079 int res1 = 0 ;
31080 PyObject * obj0 = 0 ;
31081 PyObject * obj1 = 0 ;
31082 PyObject * obj2 = 0 ;
31083 char * kwnames[] = {
31084 (char *) "self",(char *) "self",(char *) "_class", NULL
31085 };
31086
31087 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31088 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31089 if (!SWIG_IsOK(res1)) {
31090 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31091 }
31092 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31093 arg2 = obj1;
31094 arg3 = obj2;
31095 {
31096 PyThreadState* __tstate = wxPyBeginAllowThreads();
31097 (arg1)->_setCallbackInfo(arg2,arg3);
31098 wxPyEndAllowThreads(__tstate);
31099 if (PyErr_Occurred()) SWIG_fail;
31100 }
31101 resultobj = SWIG_Py_Void();
31102 return resultobj;
31103 fail:
31104 return NULL;
31105 }
31106
31107
31108 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31109 PyObject *resultobj = 0;
31110 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31111 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
31112 void *argp1 = 0 ;
31113 int res1 = 0 ;
31114 void *argp2 = 0 ;
31115 int res2 = 0 ;
31116 PyObject * obj0 = 0 ;
31117 PyObject * obj1 = 0 ;
31118 char * kwnames[] = {
31119 (char *) "self",(char *) "canvas", NULL
31120 };
31121
31122 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
31123 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31124 if (!SWIG_IsOK(res1)) {
31125 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31126 }
31127 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31128 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
31129 if (!SWIG_IsOK(res2)) {
31130 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
31131 }
31132 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
31133 {
31134 PyThreadState* __tstate = wxPyBeginAllowThreads();
31135 (arg1)->SetPreviewCanvas(arg2);
31136 wxPyEndAllowThreads(__tstate);
31137 if (PyErr_Occurred()) SWIG_fail;
31138 }
31139 resultobj = SWIG_Py_Void();
31140 return resultobj;
31141 fail:
31142 return NULL;
31143 }
31144
31145
31146 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31147 PyObject *resultobj = 0;
31148 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31149 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
31150 void *argp1 = 0 ;
31151 int res1 = 0 ;
31152 void *argp2 = 0 ;
31153 int res2 = 0 ;
31154 PyObject * obj0 = 0 ;
31155 PyObject * obj1 = 0 ;
31156 char * kwnames[] = {
31157 (char *) "self",(char *) "bar", NULL
31158 };
31159
31160 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) SWIG_fail;
31161 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31162 if (!SWIG_IsOK(res1)) {
31163 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31164 }
31165 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31166 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
31167 if (!SWIG_IsOK(res2)) {
31168 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
31169 }
31170 arg2 = reinterpret_cast< wxPreviewControlBar * >(argp2);
31171 {
31172 PyThreadState* __tstate = wxPyBeginAllowThreads();
31173 (arg1)->SetControlBar(arg2);
31174 wxPyEndAllowThreads(__tstate);
31175 if (PyErr_Occurred()) SWIG_fail;
31176 }
31177 resultobj = SWIG_Py_Void();
31178 return resultobj;
31179 fail:
31180 return NULL;
31181 }
31182
31183
31184 SWIGINTERN PyObject *_wrap_PyPreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31185 PyObject *resultobj = 0;
31186 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31187 void *argp1 = 0 ;
31188 int res1 = 0 ;
31189 PyObject *swig_obj[1] ;
31190
31191 if (!args) SWIG_fail;
31192 swig_obj[0] = args;
31193 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31194 if (!SWIG_IsOK(res1)) {
31195 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31196 }
31197 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31198 {
31199 PyThreadState* __tstate = wxPyBeginAllowThreads();
31200 (arg1)->Initialize();
31201 wxPyEndAllowThreads(__tstate);
31202 if (PyErr_Occurred()) SWIG_fail;
31203 }
31204 resultobj = SWIG_Py_Void();
31205 return resultobj;
31206 fail:
31207 return NULL;
31208 }
31209
31210
31211 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31212 PyObject *resultobj = 0;
31213 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31214 void *argp1 = 0 ;
31215 int res1 = 0 ;
31216 PyObject *swig_obj[1] ;
31217
31218 if (!args) SWIG_fail;
31219 swig_obj[0] = args;
31220 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31221 if (!SWIG_IsOK(res1)) {
31222 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31223 }
31224 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31225 {
31226 PyThreadState* __tstate = wxPyBeginAllowThreads();
31227 (arg1)->CreateCanvas();
31228 wxPyEndAllowThreads(__tstate);
31229 if (PyErr_Occurred()) SWIG_fail;
31230 }
31231 resultobj = SWIG_Py_Void();
31232 return resultobj;
31233 fail:
31234 return NULL;
31235 }
31236
31237
31238 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31239 PyObject *resultobj = 0;
31240 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31241 void *argp1 = 0 ;
31242 int res1 = 0 ;
31243 PyObject *swig_obj[1] ;
31244
31245 if (!args) SWIG_fail;
31246 swig_obj[0] = args;
31247 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31248 if (!SWIG_IsOK(res1)) {
31249 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31250 }
31251 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31252 {
31253 PyThreadState* __tstate = wxPyBeginAllowThreads();
31254 (arg1)->CreateControlBar();
31255 wxPyEndAllowThreads(__tstate);
31256 if (PyErr_Occurred()) SWIG_fail;
31257 }
31258 resultobj = SWIG_Py_Void();
31259 return resultobj;
31260 fail:
31261 return NULL;
31262 }
31263
31264
31265 SWIGINTERN PyObject *PyPreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31266 PyObject *obj;
31267 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31268 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame, SWIG_NewClientData(obj));
31269 return SWIG_Py_Void();
31270 }
31271
31272 SWIGINTERN PyObject *PyPreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31273 return SWIG_Python_InitShadowInstance(args);
31274 }
31275
31276 SWIGINTERN PyObject *_wrap_new_PyPreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31277 PyObject *resultobj = 0;
31278 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
31279 long arg2 ;
31280 wxWindow *arg3 = (wxWindow *) 0 ;
31281 wxPoint const &arg4_defvalue = wxDefaultPosition ;
31282 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
31283 wxSize const &arg5_defvalue = wxDefaultSize ;
31284 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
31285 long arg6 = (long) 0 ;
31286 wxString const &arg7_defvalue = wxPyPanelNameStr ;
31287 wxString *arg7 = (wxString *) &arg7_defvalue ;
31288 wxPyPreviewControlBar *result = 0 ;
31289 void *argp1 = 0 ;
31290 int res1 = 0 ;
31291 long val2 ;
31292 int ecode2 = 0 ;
31293 void *argp3 = 0 ;
31294 int res3 = 0 ;
31295 wxPoint temp4 ;
31296 wxSize temp5 ;
31297 long val6 ;
31298 int ecode6 = 0 ;
31299 bool temp7 = false ;
31300 PyObject * obj0 = 0 ;
31301 PyObject * obj1 = 0 ;
31302 PyObject * obj2 = 0 ;
31303 PyObject * obj3 = 0 ;
31304 PyObject * obj4 = 0 ;
31305 PyObject * obj5 = 0 ;
31306 PyObject * obj6 = 0 ;
31307 char * kwnames[] = {
31308 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31309 };
31310
31311 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
31312 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
31313 if (!SWIG_IsOK(res1)) {
31314 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31315 }
31316 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
31317 ecode2 = SWIG_AsVal_long(obj1, &val2);
31318 if (!SWIG_IsOK(ecode2)) {
31319 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
31320 }
31321 arg2 = static_cast< long >(val2);
31322 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
31323 if (!SWIG_IsOK(res3)) {
31324 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
31325 }
31326 arg3 = reinterpret_cast< wxWindow * >(argp3);
31327 if (obj3) {
31328 {
31329 arg4 = &temp4;
31330 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
31331 }
31332 }
31333 if (obj4) {
31334 {
31335 arg5 = &temp5;
31336 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
31337 }
31338 }
31339 if (obj5) {
31340 ecode6 = SWIG_AsVal_long(obj5, &val6);
31341 if (!SWIG_IsOK(ecode6)) {
31342 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
31343 }
31344 arg6 = static_cast< long >(val6);
31345 }
31346 if (obj6) {
31347 {
31348 arg7 = wxString_in_helper(obj6);
31349 if (arg7 == NULL) SWIG_fail;
31350 temp7 = true;
31351 }
31352 }
31353 {
31354 if (!wxPyCheckForApp()) SWIG_fail;
31355 PyThreadState* __tstate = wxPyBeginAllowThreads();
31356 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
31357 wxPyEndAllowThreads(__tstate);
31358 if (PyErr_Occurred()) SWIG_fail;
31359 }
31360 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_NEW | 0 );
31361 {
31362 if (temp7)
31363 delete arg7;
31364 }
31365 return resultobj;
31366 fail:
31367 {
31368 if (temp7)
31369 delete arg7;
31370 }
31371 return NULL;
31372 }
31373
31374
31375 SWIGINTERN PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31376 PyObject *resultobj = 0;
31377 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31378 PyObject *arg2 = (PyObject *) 0 ;
31379 PyObject *arg3 = (PyObject *) 0 ;
31380 void *argp1 = 0 ;
31381 int res1 = 0 ;
31382 PyObject * obj0 = 0 ;
31383 PyObject * obj1 = 0 ;
31384 PyObject * obj2 = 0 ;
31385 char * kwnames[] = {
31386 (char *) "self",(char *) "self",(char *) "_class", NULL
31387 };
31388
31389 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31390 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31391 if (!SWIG_IsOK(res1)) {
31392 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31393 }
31394 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31395 arg2 = obj1;
31396 arg3 = obj2;
31397 {
31398 PyThreadState* __tstate = wxPyBeginAllowThreads();
31399 (arg1)->_setCallbackInfo(arg2,arg3);
31400 wxPyEndAllowThreads(__tstate);
31401 if (PyErr_Occurred()) SWIG_fail;
31402 }
31403 resultobj = SWIG_Py_Void();
31404 return resultobj;
31405 fail:
31406 return NULL;
31407 }
31408
31409
31410 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31411 PyObject *resultobj = 0;
31412 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31413 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
31414 void *argp1 = 0 ;
31415 int res1 = 0 ;
31416 void *argp2 = 0 ;
31417 int res2 = 0 ;
31418 PyObject * obj0 = 0 ;
31419 PyObject * obj1 = 0 ;
31420 char * kwnames[] = {
31421 (char *) "self",(char *) "preview", NULL
31422 };
31423
31424 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) SWIG_fail;
31425 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31426 if (!SWIG_IsOK(res1)) {
31427 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31428 }
31429 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31430 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
31431 if (!SWIG_IsOK(res2)) {
31432 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
31433 }
31434 arg2 = reinterpret_cast< wxPrintPreview * >(argp2);
31435 {
31436 PyThreadState* __tstate = wxPyBeginAllowThreads();
31437 (arg1)->SetPrintPreview(arg2);
31438 wxPyEndAllowThreads(__tstate);
31439 if (PyErr_Occurred()) SWIG_fail;
31440 }
31441 resultobj = SWIG_Py_Void();
31442 return resultobj;
31443 fail:
31444 return NULL;
31445 }
31446
31447
31448 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_CreateButtons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31449 PyObject *resultobj = 0;
31450 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31451 void *argp1 = 0 ;
31452 int res1 = 0 ;
31453 PyObject *swig_obj[1] ;
31454
31455 if (!args) SWIG_fail;
31456 swig_obj[0] = args;
31457 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31458 if (!SWIG_IsOK(res1)) {
31459 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31460 }
31461 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31462 {
31463 PyThreadState* __tstate = wxPyBeginAllowThreads();
31464 (arg1)->CreateButtons();
31465 wxPyEndAllowThreads(__tstate);
31466 if (PyErr_Occurred()) SWIG_fail;
31467 }
31468 resultobj = SWIG_Py_Void();
31469 return resultobj;
31470 fail:
31471 return NULL;
31472 }
31473
31474
31475 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31476 PyObject *resultobj = 0;
31477 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31478 int arg2 ;
31479 void *argp1 = 0 ;
31480 int res1 = 0 ;
31481 int val2 ;
31482 int ecode2 = 0 ;
31483 PyObject * obj0 = 0 ;
31484 PyObject * obj1 = 0 ;
31485 char * kwnames[] = {
31486 (char *) "self",(char *) "zoom", NULL
31487 };
31488
31489 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
31490 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31491 if (!SWIG_IsOK(res1)) {
31492 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31493 }
31494 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31495 ecode2 = SWIG_AsVal_int(obj1, &val2);
31496 if (!SWIG_IsOK(ecode2)) {
31497 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
31498 }
31499 arg2 = static_cast< int >(val2);
31500 {
31501 PyThreadState* __tstate = wxPyBeginAllowThreads();
31502 (arg1)->SetZoomControl(arg2);
31503 wxPyEndAllowThreads(__tstate);
31504 if (PyErr_Occurred()) SWIG_fail;
31505 }
31506 resultobj = SWIG_Py_Void();
31507 return resultobj;
31508 fail:
31509 return NULL;
31510 }
31511
31512
31513 SWIGINTERN PyObject *PyPreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31514 PyObject *obj;
31515 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31516 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar, SWIG_NewClientData(obj));
31517 return SWIG_Py_Void();
31518 }
31519
31520 SWIGINTERN PyObject *PyPreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31521 return SWIG_Python_InitShadowInstance(args);
31522 }
31523
31524 static PyMethodDef SwigMethods[] = {
31525 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
31526 { (char *)"new_PrePanel", (PyCFunction)_wrap_new_PrePanel, METH_NOARGS, NULL},
31527 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31528 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction)_wrap_Panel_SetFocusIgnoringChildren, METH_O, NULL},
31529 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31530 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
31531 { (char *)"Panel_swiginit", Panel_swiginit, METH_VARARGS, NULL},
31532 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31533 { (char *)"new_PreScrolledWindow", (PyCFunction)_wrap_new_PreScrolledWindow, METH_NOARGS, NULL},
31534 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31535 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
31536 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
31537 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
31538 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
31539 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
31540 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction)_wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_O, NULL},
31541 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
31542 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction)_wrap_ScrolledWindow_GetViewStart, METH_O, NULL},
31543 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
31544 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction)_wrap_ScrolledWindow_GetScaleX, METH_O, NULL},
31545 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction)_wrap_ScrolledWindow_GetScaleY, METH_O, NULL},
31546 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
31547 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
31548 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction)_wrap_ScrolledWindow_AdjustScrollbars, METH_O, NULL},
31549 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
31550 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31551 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction)_wrap_ScrolledWindow_GetTargetWindow, METH_O, NULL},
31552 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL},
31553 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction)_wrap_ScrolledWindow_GetTargetRect, METH_O, NULL},
31554 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
31555 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31556 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
31557 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit, METH_VARARGS, NULL},
31558 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
31559 { (char *)"TopLevelWindow_Restore", (PyCFunction)_wrap_TopLevelWindow_Restore, METH_O, NULL},
31560 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
31561 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction)_wrap_TopLevelWindow_IsMaximized, METH_O, NULL},
31562 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction)_wrap_TopLevelWindow_IsAlwaysMaximized, METH_O, NULL},
31563 { (char *)"TopLevelWindow_IsIconized", (PyCFunction)_wrap_TopLevelWindow_IsIconized, METH_O, NULL},
31564 { (char *)"TopLevelWindow_GetIcon", (PyCFunction)_wrap_TopLevelWindow_GetIcon, METH_O, NULL},
31565 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
31566 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
31567 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31568 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction)_wrap_TopLevelWindow_IsFullScreen, METH_O, NULL},
31569 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
31570 { (char *)"TopLevelWindow_GetTitle", (PyCFunction)_wrap_TopLevelWindow_GetTitle, METH_O, NULL},
31571 { (char *)"TopLevelWindow_EnableCloseButton", (PyCFunction) _wrap_TopLevelWindow_EnableCloseButton, METH_VARARGS | METH_KEYWORDS, NULL},
31572 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
31573 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
31574 { (char *)"TopLevelWindow_IsActive", (PyCFunction)_wrap_TopLevelWindow_IsActive, METH_O, NULL},
31575 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
31576 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction)_wrap_TopLevelWindow_MacGetMetalAppearance, METH_O, NULL},
31577 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction) _wrap_TopLevelWindow_CenterOnScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31578 { (char *)"TopLevelWindow_GetDefaultItem", (PyCFunction)_wrap_TopLevelWindow_GetDefaultItem, METH_O, NULL},
31579 { (char *)"TopLevelWindow_SetDefaultItem", (PyCFunction) _wrap_TopLevelWindow_SetDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
31580 { (char *)"TopLevelWindow_SetTmpDefaultItem", (PyCFunction) _wrap_TopLevelWindow_SetTmpDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
31581 { (char *)"TopLevelWindow_GetTmpDefaultItem", (PyCFunction)_wrap_TopLevelWindow_GetTmpDefaultItem, METH_O, NULL},
31582 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
31583 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
31584 { (char *)"new_PreFrame", (PyCFunction)_wrap_new_PreFrame, METH_NOARGS, NULL},
31585 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31586 { (char *)"Frame_SendSizeEvent", (PyCFunction)_wrap_Frame_SendSizeEvent, METH_O, NULL},
31587 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
31588 { (char *)"Frame_GetMenuBar", (PyCFunction)_wrap_Frame_GetMenuBar, METH_O, NULL},
31589 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
31590 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
31591 { (char *)"Frame_GetStatusBar", (PyCFunction)_wrap_Frame_GetStatusBar, METH_O, NULL},
31592 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
31593 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31594 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
31595 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31596 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31597 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
31598 { (char *)"Frame_GetStatusBarPane", (PyCFunction)_wrap_Frame_GetStatusBarPane, METH_O, NULL},
31599 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
31600 { (char *)"Frame_GetToolBar", (PyCFunction)_wrap_Frame_GetToolBar, METH_O, NULL},
31601 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
31602 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31603 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
31604 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31605 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
31606 { (char *)"Frame_swiginit", Frame_swiginit, METH_VARARGS, NULL},
31607 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
31608 { (char *)"new_PreDialog", (PyCFunction)_wrap_new_PreDialog, METH_NOARGS, NULL},
31609 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31610 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
31611 { (char *)"Dialog_GetReturnCode", (PyCFunction)_wrap_Dialog_GetReturnCode, METH_O, NULL},
31612 { (char *)"Dialog_SetAffirmativeId", (PyCFunction) _wrap_Dialog_SetAffirmativeId, METH_VARARGS | METH_KEYWORDS, NULL},
31613 { (char *)"Dialog_GetAffirmativeId", (PyCFunction)_wrap_Dialog_GetAffirmativeId, METH_O, NULL},
31614 { (char *)"Dialog_SetEscapeId", (PyCFunction) _wrap_Dialog_SetEscapeId, METH_VARARGS | METH_KEYWORDS, NULL},
31615 { (char *)"Dialog_GetEscapeId", (PyCFunction)_wrap_Dialog_GetEscapeId, METH_O, NULL},
31616 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
31617 { (char *)"Dialog__CreateButtonSizer", (PyCFunction) _wrap_Dialog__CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
31618 { (char *)"Dialog_CreateSeparatedButtonSizer", (PyCFunction) _wrap_Dialog_CreateSeparatedButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
31619 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
31620 { (char *)"Dialog_IsModal", (PyCFunction)_wrap_Dialog_IsModal, METH_O, NULL},
31621 { (char *)"Dialog_ShowModal", (PyCFunction)_wrap_Dialog_ShowModal, METH_O, NULL},
31622 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
31623 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31624 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
31625 { (char *)"Dialog_swiginit", Dialog_swiginit, METH_VARARGS, NULL},
31626 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31627 { (char *)"new_PreMiniFrame", (PyCFunction)_wrap_new_PreMiniFrame, METH_NOARGS, NULL},
31628 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31629 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
31630 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit, METH_VARARGS, NULL},
31631 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31632 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
31633 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction)_wrap_SplashScreenWindow_GetBitmap, METH_O, NULL},
31634 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
31635 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit, METH_VARARGS, NULL},
31636 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31637 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction)_wrap_SplashScreen_GetSplashStyle, METH_O, NULL},
31638 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction)_wrap_SplashScreen_GetSplashWindow, METH_O, NULL},
31639 { (char *)"SplashScreen_GetTimeout", (PyCFunction)_wrap_SplashScreen_GetTimeout, METH_O, NULL},
31640 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
31641 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit, METH_VARARGS, NULL},
31642 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
31643 { (char *)"new_PreStatusBar", (PyCFunction)_wrap_new_PreStatusBar, METH_NOARGS, NULL},
31644 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31645 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
31646 { (char *)"StatusBar_GetFieldsCount", (PyCFunction)_wrap_StatusBar_GetFieldsCount, METH_O, NULL},
31647 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31648 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31649 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31650 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31651 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
31652 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
31653 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
31654 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
31655 { (char *)"StatusBar_GetBorderX", (PyCFunction)_wrap_StatusBar_GetBorderX, METH_O, NULL},
31656 { (char *)"StatusBar_GetBorderY", (PyCFunction)_wrap_StatusBar_GetBorderY, METH_O, NULL},
31657 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31658 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
31659 { (char *)"StatusBar_swiginit", StatusBar_swiginit, METH_VARARGS, NULL},
31660 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31661 { (char *)"new_PreSplitterWindow", (PyCFunction)_wrap_new_PreSplitterWindow, METH_NOARGS, NULL},
31662 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31663 { (char *)"SplitterWindow_GetWindow1", (PyCFunction)_wrap_SplitterWindow_GetWindow1, METH_O, NULL},
31664 { (char *)"SplitterWindow_GetWindow2", (PyCFunction)_wrap_SplitterWindow_GetWindow2, METH_O, NULL},
31665 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
31666 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction)_wrap_SplitterWindow_GetSplitMode, METH_O, NULL},
31667 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
31668 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
31669 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
31670 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
31671 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31672 { (char *)"SplitterWindow_UpdateSize", (PyCFunction)_wrap_SplitterWindow_UpdateSize, METH_O, NULL},
31673 { (char *)"SplitterWindow_IsSplit", (PyCFunction)_wrap_SplitterWindow_IsSplit, METH_O, NULL},
31674 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
31675 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
31676 { (char *)"SplitterWindow_GetSashSize", (PyCFunction)_wrap_SplitterWindow_GetSashSize, METH_O, NULL},
31677 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction)_wrap_SplitterWindow_GetBorderSize, METH_O, NULL},
31678 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31679 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction)_wrap_SplitterWindow_GetSashPosition, METH_O, NULL},
31680 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
31681 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction)_wrap_SplitterWindow_GetSashGravity, METH_O, NULL},
31682 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
31683 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction)_wrap_SplitterWindow_GetMinimumPaneSize, METH_O, NULL},
31684 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
31685 { (char *)"SplitterWindow_SizeWindows", (PyCFunction)_wrap_SplitterWindow_SizeWindows, METH_O, NULL},
31686 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
31687 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction)_wrap_SplitterWindow_GetNeedUpdating, METH_O, NULL},
31688 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31689 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
31690 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit, METH_VARARGS, NULL},
31691 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31692 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31693 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction)_wrap_SplitterEvent_GetSashPosition, METH_O, NULL},
31694 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction)_wrap_SplitterEvent_GetWindowBeingRemoved, METH_O, NULL},
31695 { (char *)"SplitterEvent_GetX", (PyCFunction)_wrap_SplitterEvent_GetX, METH_O, NULL},
31696 { (char *)"SplitterEvent_GetY", (PyCFunction)_wrap_SplitterEvent_GetY, METH_O, NULL},
31697 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
31698 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit, METH_VARARGS, NULL},
31699 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31700 { (char *)"new_PreSashWindow", (PyCFunction)_wrap_new_PreSashWindow, METH_NOARGS, NULL},
31701 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31702 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31703 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31704 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL},
31705 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL},
31706 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
31707 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
31708 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction)_wrap_SashWindow_GetDefaultBorderSize, METH_O, NULL},
31709 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
31710 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction)_wrap_SashWindow_GetExtraBorderSize, METH_O, NULL},
31711 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
31712 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
31713 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction)_wrap_SashWindow_GetMinimumSizeX, METH_O, NULL},
31714 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction)_wrap_SashWindow_GetMinimumSizeY, METH_O, NULL},
31715 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
31716 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
31717 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction)_wrap_SashWindow_GetMaximumSizeX, METH_O, NULL},
31718 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction)_wrap_SashWindow_GetMaximumSizeY, METH_O, NULL},
31719 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
31720 { (char *)"SashWindow_SizeWindows", (PyCFunction)_wrap_SashWindow_SizeWindows, METH_O, NULL},
31721 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
31722 { (char *)"SashWindow_swiginit", SashWindow_swiginit, METH_VARARGS, NULL},
31723 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31724 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
31725 { (char *)"SashEvent_GetEdge", (PyCFunction)_wrap_SashEvent_GetEdge, METH_O, NULL},
31726 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
31727 { (char *)"SashEvent_GetDragRect", (PyCFunction)_wrap_SashEvent_GetDragRect, METH_O, NULL},
31728 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
31729 { (char *)"SashEvent_GetDragStatus", (PyCFunction)_wrap_SashEvent_GetDragStatus, METH_O, NULL},
31730 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
31731 { (char *)"SashEvent_swiginit", SashEvent_swiginit, METH_VARARGS, NULL},
31732 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31733 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
31734 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_O, NULL},
31735 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31736 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetFlags, METH_O, NULL},
31737 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31738 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetSize, METH_O, NULL},
31739 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31740 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetOrientation, METH_O, NULL},
31741 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
31742 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetAlignment, METH_O, NULL},
31743 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
31744 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit, METH_VARARGS, NULL},
31745 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31746 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31747 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction)_wrap_CalculateLayoutEvent_GetFlags, METH_O, NULL},
31748 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
31749 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction)_wrap_CalculateLayoutEvent_GetRect, METH_O, NULL},
31750 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
31751 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit, METH_VARARGS, NULL},
31752 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31753 { (char *)"new_PreSashLayoutWindow", (PyCFunction)_wrap_new_PreSashLayoutWindow, METH_NOARGS, NULL},
31754 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31755 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction)_wrap_SashLayoutWindow_GetAlignment, METH_O, NULL},
31756 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction)_wrap_SashLayoutWindow_GetOrientation, METH_O, NULL},
31757 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
31758 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
31759 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31760 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
31761 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit, METH_VARARGS, NULL},
31762 { (char *)"new_LayoutAlgorithm", (PyCFunction)_wrap_new_LayoutAlgorithm, METH_NOARGS, NULL},
31763 { (char *)"delete_LayoutAlgorithm", (PyCFunction)_wrap_delete_LayoutAlgorithm, METH_O, NULL},
31764 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31765 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31766 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31767 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
31768 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit, METH_VARARGS, NULL},
31769 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31770 { (char *)"new_PrePopupWindow", (PyCFunction)_wrap_new_PrePopupWindow, METH_NOARGS, NULL},
31771 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31772 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS, NULL},
31773 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
31774 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit, METH_VARARGS, NULL},
31775 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31776 { (char *)"new_PrePopupTransientWindow", (PyCFunction)_wrap_new_PrePopupTransientWindow, METH_NOARGS, NULL},
31777 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31778 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS, NULL},
31779 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction)_wrap_PopupTransientWindow_Dismiss, METH_O, NULL},
31780 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
31781 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit, METH_VARARGS, NULL},
31782 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31783 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
31784 { (char *)"TipWindow_Close", (PyCFunction)_wrap_TipWindow_Close, METH_O, NULL},
31785 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
31786 { (char *)"TipWindow_swiginit", TipWindow_swiginit, METH_VARARGS, NULL},
31787 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31788 { (char *)"new_PreVScrolledWindow", (PyCFunction)_wrap_new_PreVScrolledWindow, METH_NOARGS, NULL},
31789 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31790 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31791 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
31792 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
31793 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL},
31794 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL},
31795 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
31796 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
31797 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction)_wrap_VScrolledWindow_RefreshAll, METH_O, NULL},
31798 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction)_wrap_VScrolledWindow_GetLineCount, METH_O, NULL},
31799 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction)_wrap_VScrolledWindow_GetVisibleBegin, METH_O, NULL},
31800 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction)_wrap_VScrolledWindow_GetVisibleEnd, METH_O, NULL},
31801 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31802 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetFirstVisibleLine, METH_O, NULL},
31803 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetLastVisibleLine, METH_O, NULL},
31804 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction) _wrap_VScrolledWindow_FindFirstFromBottom, METH_VARARGS | METH_KEYWORDS, NULL},
31805 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction) _wrap_VScrolledWindow_GetLinesHeight, METH_VARARGS | METH_KEYWORDS, NULL},
31806 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
31807 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit, METH_VARARGS, NULL},
31808 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
31809 { (char *)"new_PreVListBox", (PyCFunction)_wrap_new_PreVListBox, METH_NOARGS, NULL},
31810 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31811 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31812 { (char *)"VListBox_GetItemCount", (PyCFunction)_wrap_VListBox_GetItemCount, METH_O, NULL},
31813 { (char *)"VListBox_HasMultipleSelection", (PyCFunction)_wrap_VListBox_HasMultipleSelection, METH_O, NULL},
31814 { (char *)"VListBox_GetSelection", (PyCFunction)_wrap_VListBox_GetSelection, METH_O, NULL},
31815 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
31816 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
31817 { (char *)"VListBox_GetSelectedCount", (PyCFunction)_wrap_VListBox_GetSelectedCount, METH_O, NULL},
31818 { (char *)"VListBox_GetFirstSelected", (PyCFunction)_wrap_VListBox_GetFirstSelected, METH_O, NULL},
31819 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
31820 { (char *)"VListBox_GetMargins", (PyCFunction)_wrap_VListBox_GetMargins, METH_O, NULL},
31821 { (char *)"VListBox_GetSelectionBackground", (PyCFunction)_wrap_VListBox_GetSelectionBackground, METH_O, NULL},
31822 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
31823 { (char *)"VListBox_Clear", (PyCFunction)_wrap_VListBox_Clear, METH_O, NULL},
31824 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31825 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
31826 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
31827 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
31828 { (char *)"VListBox_SelectAll", (PyCFunction)_wrap_VListBox_SelectAll, METH_O, NULL},
31829 { (char *)"VListBox_DeselectAll", (PyCFunction)_wrap_VListBox_DeselectAll, METH_O, NULL},
31830 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31831 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
31832 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31833 { (char *)"VListBox_OnDrawSeparator", (PyCFunction) _wrap_VListBox_OnDrawSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
31834 { (char *)"VListBox_OnDrawBackground", (PyCFunction) _wrap_VListBox_OnDrawBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31835 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
31836 { (char *)"VListBox_swiginit", VListBox_swiginit, METH_VARARGS, NULL},
31837 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
31838 { (char *)"new_PreHtmlListBox", (PyCFunction)_wrap_new_PreHtmlListBox, METH_NOARGS, NULL},
31839 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31840 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31841 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
31842 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction)_wrap_HtmlListBox_GetFileSystem, METH_O, NULL},
31843 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction) _wrap_HtmlListBox_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL},
31844 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
31845 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit, METH_VARARGS, NULL},
31846 { (char *)"new_TaskBarIcon", (PyCFunction)_wrap_new_TaskBarIcon, METH_NOARGS, NULL},
31847 { (char *)"delete_TaskBarIcon", (PyCFunction)_wrap_delete_TaskBarIcon, METH_O, NULL},
31848 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31849 { (char *)"TaskBarIcon_Destroy", (PyCFunction)_wrap_TaskBarIcon_Destroy, METH_O, NULL},
31850 { (char *)"TaskBarIcon_IsOk", (PyCFunction)_wrap_TaskBarIcon_IsOk, METH_O, NULL},
31851 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction)_wrap_TaskBarIcon_IsIconInstalled, METH_O, NULL},
31852 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
31853 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction)_wrap_TaskBarIcon_RemoveIcon, METH_O, NULL},
31854 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
31855 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
31856 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit, METH_VARARGS, NULL},
31857 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31858 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
31859 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit, METH_VARARGS, NULL},
31860 { (char *)"new_ColourData", (PyCFunction)_wrap_new_ColourData, METH_NOARGS, NULL},
31861 { (char *)"delete_ColourData", (PyCFunction)_wrap_delete_ColourData, METH_O, NULL},
31862 { (char *)"ColourData_GetChooseFull", (PyCFunction)_wrap_ColourData_GetChooseFull, METH_O, NULL},
31863 { (char *)"ColourData_GetColour", (PyCFunction)_wrap_ColourData_GetColour, METH_O, NULL},
31864 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
31865 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
31866 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31867 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
31868 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
31869 { (char *)"ColourData_swiginit", ColourData_swiginit, METH_VARARGS, NULL},
31870 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31871 { (char *)"ColourDialog_GetColourData", (PyCFunction)_wrap_ColourDialog_GetColourData, METH_O, NULL},
31872 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
31873 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit, METH_VARARGS, NULL},
31874 { (char *)"GetColourFromUser", (PyCFunction) _wrap_GetColourFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
31875 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31876 { (char *)"DirDialog_GetPath", (PyCFunction)_wrap_DirDialog_GetPath, METH_O, NULL},
31877 { (char *)"DirDialog_GetMessage", (PyCFunction)_wrap_DirDialog_GetMessage, METH_O, NULL},
31878 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
31879 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
31880 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
31881 { (char *)"DirDialog_swiginit", DirDialog_swiginit, METH_VARARGS, NULL},
31882 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31883 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
31884 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
31885 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
31886 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
31887 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
31888 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
31889 { (char *)"FileDialog_GetMessage", (PyCFunction)_wrap_FileDialog_GetMessage, METH_O, NULL},
31890 { (char *)"FileDialog_GetPath", (PyCFunction)_wrap_FileDialog_GetPath, METH_O, NULL},
31891 { (char *)"FileDialog_GetDirectory", (PyCFunction)_wrap_FileDialog_GetDirectory, METH_O, NULL},
31892 { (char *)"FileDialog_GetFilename", (PyCFunction)_wrap_FileDialog_GetFilename, METH_O, NULL},
31893 { (char *)"FileDialog_GetWildcard", (PyCFunction)_wrap_FileDialog_GetWildcard, METH_O, NULL},
31894 { (char *)"FileDialog_GetFilterIndex", (PyCFunction)_wrap_FileDialog_GetFilterIndex, METH_O, NULL},
31895 { (char *)"FileDialog_GetFilenames", (PyCFunction)_wrap_FileDialog_GetFilenames, METH_O, NULL},
31896 { (char *)"FileDialog_GetPaths", (PyCFunction)_wrap_FileDialog_GetPaths, METH_O, NULL},
31897 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
31898 { (char *)"FileDialog_swiginit", FileDialog_swiginit, METH_VARARGS, NULL},
31899 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31900 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
31901 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction)_wrap_MultiChoiceDialog_GetSelections, METH_O, NULL},
31902 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
31903 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit, METH_VARARGS, NULL},
31904 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31905 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetSelection, METH_O, NULL},
31906 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetStringSelection, METH_O, NULL},
31907 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31908 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
31909 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit, METH_VARARGS, NULL},
31910 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31911 { (char *)"TextEntryDialog_GetValue", (PyCFunction)_wrap_TextEntryDialog_GetValue, METH_O, NULL},
31912 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
31913 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
31914 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit, METH_VARARGS, NULL},
31915 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31916 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
31917 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit, METH_VARARGS, NULL},
31918 { (char *)"new_NumberEntryDialog", (PyCFunction) _wrap_new_NumberEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31919 { (char *)"NumberEntryDialog_GetValue", (PyCFunction)_wrap_NumberEntryDialog_GetValue, METH_O, NULL},
31920 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister, METH_VARARGS, NULL},
31921 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit, METH_VARARGS, NULL},
31922 { (char *)"new_FontData", (PyCFunction)_wrap_new_FontData, METH_NOARGS, NULL},
31923 { (char *)"delete_FontData", (PyCFunction)_wrap_delete_FontData, METH_O, NULL},
31924 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
31925 { (char *)"FontData_GetAllowSymbols", (PyCFunction)_wrap_FontData_GetAllowSymbols, METH_O, NULL},
31926 { (char *)"FontData_GetColour", (PyCFunction)_wrap_FontData_GetColour, METH_O, NULL},
31927 { (char *)"FontData_GetChosenFont", (PyCFunction)_wrap_FontData_GetChosenFont, METH_O, NULL},
31928 { (char *)"FontData_GetEnableEffects", (PyCFunction)_wrap_FontData_GetEnableEffects, METH_O, NULL},
31929 { (char *)"FontData_GetInitialFont", (PyCFunction)_wrap_FontData_GetInitialFont, METH_O, NULL},
31930 { (char *)"FontData_GetShowHelp", (PyCFunction)_wrap_FontData_GetShowHelp, METH_O, NULL},
31931 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
31932 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
31933 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31934 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
31935 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
31936 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31937 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
31938 { (char *)"FontData_swiginit", FontData_swiginit, METH_VARARGS, NULL},
31939 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31940 { (char *)"FontDialog_GetFontData", (PyCFunction)_wrap_FontDialog_GetFontData, METH_O, NULL},
31941 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
31942 { (char *)"FontDialog_swiginit", FontDialog_swiginit, METH_VARARGS, NULL},
31943 { (char *)"GetFontFromUser", (PyCFunction) _wrap_GetFontFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
31944 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31945 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
31946 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit, METH_VARARGS, NULL},
31947 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31948 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
31949 { (char *)"ProgressDialog_Pulse", (PyCFunction) _wrap_ProgressDialog_Pulse, METH_VARARGS | METH_KEYWORDS, NULL},
31950 { (char *)"ProgressDialog_Resume", (PyCFunction)_wrap_ProgressDialog_Resume, METH_O, NULL},
31951 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
31952 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit, METH_VARARGS, NULL},
31953 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31954 { (char *)"FindDialogEvent_GetFlags", (PyCFunction)_wrap_FindDialogEvent_GetFlags, METH_O, NULL},
31955 { (char *)"FindDialogEvent_GetFindString", (PyCFunction)_wrap_FindDialogEvent_GetFindString, METH_O, NULL},
31956 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction)_wrap_FindDialogEvent_GetReplaceString, METH_O, NULL},
31957 { (char *)"FindDialogEvent_GetDialog", (PyCFunction)_wrap_FindDialogEvent_GetDialog, METH_O, NULL},
31958 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31959 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
31960 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
31961 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
31962 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit, METH_VARARGS, NULL},
31963 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
31964 { (char *)"delete_FindReplaceData", (PyCFunction)_wrap_delete_FindReplaceData, METH_O, NULL},
31965 { (char *)"FindReplaceData_GetFindString", (PyCFunction)_wrap_FindReplaceData_GetFindString, METH_O, NULL},
31966 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction)_wrap_FindReplaceData_GetReplaceString, METH_O, NULL},
31967 { (char *)"FindReplaceData_GetFlags", (PyCFunction)_wrap_FindReplaceData_GetFlags, METH_O, NULL},
31968 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31969 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
31970 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
31971 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
31972 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit, METH_VARARGS, NULL},
31973 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31974 { (char *)"new_PreFindReplaceDialog", (PyCFunction)_wrap_new_PreFindReplaceDialog, METH_NOARGS, NULL},
31975 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31976 { (char *)"FindReplaceDialog_GetData", (PyCFunction)_wrap_FindReplaceDialog_GetData, METH_O, NULL},
31977 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
31978 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
31979 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit, METH_VARARGS, NULL},
31980 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31981 { (char *)"new_PreMDIParentFrame", (PyCFunction)_wrap_new_PreMDIParentFrame, METH_NOARGS, NULL},
31982 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31983 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction)_wrap_MDIParentFrame_ActivateNext, METH_O, NULL},
31984 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction)_wrap_MDIParentFrame_ActivatePrevious, METH_O, NULL},
31985 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction)_wrap_MDIParentFrame_ArrangeIcons, METH_O, NULL},
31986 { (char *)"MDIParentFrame_Cascade", (PyCFunction)_wrap_MDIParentFrame_Cascade, METH_O, NULL},
31987 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction)_wrap_MDIParentFrame_GetActiveChild, METH_O, NULL},
31988 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction)_wrap_MDIParentFrame_GetClientWindow, METH_O, NULL},
31989 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction)_wrap_MDIParentFrame_GetWindowMenu, METH_O, NULL},
31990 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_SetWindowMenu, METH_VARARGS | METH_KEYWORDS, NULL},
31991 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
31992 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
31993 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit, METH_VARARGS, NULL},
31994 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31995 { (char *)"new_PreMDIChildFrame", (PyCFunction)_wrap_new_PreMDIChildFrame, METH_NOARGS, NULL},
31996 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31997 { (char *)"MDIChildFrame_Activate", (PyCFunction)_wrap_MDIChildFrame_Activate, METH_O, NULL},
31998 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
31999 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit, METH_VARARGS, NULL},
32000 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32001 { (char *)"new_PreMDIClientWindow", (PyCFunction)_wrap_new_PreMDIClientWindow, METH_NOARGS, NULL},
32002 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32003 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
32004 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit, METH_VARARGS, NULL},
32005 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32006 { (char *)"new_PrePyWindow", (PyCFunction)_wrap_new_PrePyWindow, METH_NOARGS, NULL},
32007 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32008 { (char *)"PyWindow_DoEraseBackground", (PyCFunction) _wrap_PyWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
32009 { (char *)"PyWindow_DoMoveWindow", (PyCFunction) _wrap_PyWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32010 { (char *)"PyWindow_DoSetSize", (PyCFunction) _wrap_PyWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
32011 { (char *)"PyWindow_DoSetClientSize", (PyCFunction) _wrap_PyWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
32012 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
32013 { (char *)"PyWindow_DoGetSize", (PyCFunction)_wrap_PyWindow_DoGetSize, METH_O, NULL},
32014 { (char *)"PyWindow_DoGetClientSize", (PyCFunction)_wrap_PyWindow_DoGetClientSize, METH_O, NULL},
32015 { (char *)"PyWindow_DoGetPosition", (PyCFunction)_wrap_PyWindow_DoGetPosition, METH_O, NULL},
32016 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyWindow_DoGetVirtualSize, METH_O, NULL},
32017 { (char *)"PyWindow_DoGetBestSize", (PyCFunction)_wrap_PyWindow_DoGetBestSize, METH_O, NULL},
32018 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyWindow_GetDefaultAttributes, METH_O, NULL},
32019 { (char *)"PyWindow_OnInternalIdle", (PyCFunction)_wrap_PyWindow_OnInternalIdle, METH_O, NULL},
32020 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
32021 { (char *)"PyWindow_swiginit", PyWindow_swiginit, METH_VARARGS, NULL},
32022 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
32023 { (char *)"new_PrePyPanel", (PyCFunction)_wrap_new_PrePyPanel, METH_NOARGS, NULL},
32024 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32025 { (char *)"PyPanel_DoEraseBackground", (PyCFunction) _wrap_PyPanel_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
32026 { (char *)"PyPanel_DoMoveWindow", (PyCFunction) _wrap_PyPanel_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32027 { (char *)"PyPanel_DoSetSize", (PyCFunction) _wrap_PyPanel_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
32028 { (char *)"PyPanel_DoSetClientSize", (PyCFunction) _wrap_PyPanel_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
32029 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
32030 { (char *)"PyPanel_DoGetSize", (PyCFunction)_wrap_PyPanel_DoGetSize, METH_O, NULL},
32031 { (char *)"PyPanel_DoGetClientSize", (PyCFunction)_wrap_PyPanel_DoGetClientSize, METH_O, NULL},
32032 { (char *)"PyPanel_DoGetPosition", (PyCFunction)_wrap_PyPanel_DoGetPosition, METH_O, NULL},
32033 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction)_wrap_PyPanel_DoGetVirtualSize, METH_O, NULL},
32034 { (char *)"PyPanel_DoGetBestSize", (PyCFunction)_wrap_PyPanel_DoGetBestSize, METH_O, NULL},
32035 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction)_wrap_PyPanel_GetDefaultAttributes, METH_O, NULL},
32036 { (char *)"PyPanel_OnInternalIdle", (PyCFunction)_wrap_PyPanel_OnInternalIdle, METH_O, NULL},
32037 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
32038 { (char *)"PyPanel_swiginit", PyPanel_swiginit, METH_VARARGS, NULL},
32039 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32040 { (char *)"new_PrePyScrolledWindow", (PyCFunction)_wrap_new_PrePyScrolledWindow, METH_NOARGS, NULL},
32041 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32042 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction) _wrap_PyScrolledWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
32043 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32044 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
32045 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
32046 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
32047 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetSize, METH_O, NULL},
32048 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetClientSize, METH_O, NULL},
32049 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction)_wrap_PyScrolledWindow_DoGetPosition, METH_O, NULL},
32050 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetVirtualSize, METH_O, NULL},
32051 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetBestSize, METH_O, NULL},
32052 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyScrolledWindow_GetDefaultAttributes, METH_O, NULL},
32053 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction)_wrap_PyScrolledWindow_OnInternalIdle, METH_O, NULL},
32054 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
32055 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit, METH_VARARGS, NULL},
32056 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
32057 { (char *)"delete_PrintData", (PyCFunction)_wrap_delete_PrintData, METH_O, NULL},
32058 { (char *)"PrintData_GetNoCopies", (PyCFunction)_wrap_PrintData_GetNoCopies, METH_O, NULL},
32059 { (char *)"PrintData_GetCollate", (PyCFunction)_wrap_PrintData_GetCollate, METH_O, NULL},
32060 { (char *)"PrintData_GetOrientation", (PyCFunction)_wrap_PrintData_GetOrientation, METH_O, NULL},
32061 { (char *)"PrintData_IsOk", (PyCFunction)_wrap_PrintData_IsOk, METH_O, NULL},
32062 { (char *)"PrintData_GetPrinterName", (PyCFunction)_wrap_PrintData_GetPrinterName, METH_O, NULL},
32063 { (char *)"PrintData_GetColour", (PyCFunction)_wrap_PrintData_GetColour, METH_O, NULL},
32064 { (char *)"PrintData_GetDuplex", (PyCFunction)_wrap_PrintData_GetDuplex, METH_O, NULL},
32065 { (char *)"PrintData_GetPaperId", (PyCFunction)_wrap_PrintData_GetPaperId, METH_O, NULL},
32066 { (char *)"PrintData_GetPaperSize", (PyCFunction)_wrap_PrintData_GetPaperSize, METH_O, NULL},
32067 { (char *)"PrintData_GetQuality", (PyCFunction)_wrap_PrintData_GetQuality, METH_O, NULL},
32068 { (char *)"PrintData_GetBin", (PyCFunction)_wrap_PrintData_GetBin, METH_O, NULL},
32069 { (char *)"PrintData_GetPrintMode", (PyCFunction)_wrap_PrintData_GetPrintMode, METH_O, NULL},
32070 { (char *)"PrintData_GetMedia", (PyCFunction)_wrap_PrintData_GetMedia, METH_O, NULL},
32071 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
32072 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
32073 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
32074 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
32075 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
32076 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
32077 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
32078 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
32079 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
32080 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
32081 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
32082 { (char *)"PrintData_SetMedia", (PyCFunction) _wrap_PrintData_SetMedia, METH_VARARGS | METH_KEYWORDS, NULL},
32083 { (char *)"PrintData_GetFilename", (PyCFunction)_wrap_PrintData_GetFilename, METH_O, NULL},
32084 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
32085 { (char *)"PrintData_GetPrivData", (PyCFunction)_wrap_PrintData_GetPrivData, METH_O, NULL},
32086 { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
32087 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
32088 { (char *)"PrintData_swiginit", PrintData_swiginit, METH_VARARGS, NULL},
32089 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
32090 { (char *)"delete_PageSetupDialogData", (PyCFunction)_wrap_delete_PageSetupDialogData, METH_O, NULL},
32091 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
32092 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
32093 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
32094 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
32095 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
32096 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultMinMargins, METH_O, NULL},
32097 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction)_wrap_PageSetupDialogData_GetEnableMargins, METH_O, NULL},
32098 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction)_wrap_PageSetupDialogData_GetEnableOrientation, METH_O, NULL},
32099 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePaper, METH_O, NULL},
32100 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePrinter, METH_O, NULL},
32101 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction)_wrap_PageSetupDialogData_GetEnableHelp, METH_O, NULL},
32102 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultInfo, METH_O, NULL},
32103 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMarginTopLeft, METH_O, NULL},
32104 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMarginBottomRight, METH_O, NULL},
32105 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_O, NULL},
32106 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_O, NULL},
32107 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction)_wrap_PageSetupDialogData_GetPaperId, METH_O, NULL},
32108 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction)_wrap_PageSetupDialogData_GetPaperSize, METH_O, NULL},
32109 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction)_wrap_PageSetupDialogData_GetPrintData, METH_O, NULL},
32110 { (char *)"PageSetupDialogData_IsOk", (PyCFunction)_wrap_PageSetupDialogData_IsOk, METH_O, NULL},
32111 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32112 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
32113 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
32114 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
32115 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
32116 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
32117 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
32118 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
32119 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
32120 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction)_wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_O, NULL},
32121 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction)_wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_O, NULL},
32122 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
32123 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit, METH_VARARGS, NULL},
32124 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32125 { (char *)"delete_PageSetupDialog", (PyCFunction)_wrap_delete_PageSetupDialog, METH_O, NULL},
32126 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupData, METH_O, NULL},
32127 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupDialogData, METH_O, NULL},
32128 { (char *)"PageSetupDialog_ShowModal", (PyCFunction)_wrap_PageSetupDialog_ShowModal, METH_O, NULL},
32129 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
32130 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit, METH_VARARGS, NULL},
32131 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
32132 { (char *)"delete_PrintDialogData", (PyCFunction)_wrap_delete_PrintDialogData, METH_O, NULL},
32133 { (char *)"PrintDialogData_GetFromPage", (PyCFunction)_wrap_PrintDialogData_GetFromPage, METH_O, NULL},
32134 { (char *)"PrintDialogData_GetToPage", (PyCFunction)_wrap_PrintDialogData_GetToPage, METH_O, NULL},
32135 { (char *)"PrintDialogData_GetMinPage", (PyCFunction)_wrap_PrintDialogData_GetMinPage, METH_O, NULL},
32136 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction)_wrap_PrintDialogData_GetMaxPage, METH_O, NULL},
32137 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction)_wrap_PrintDialogData_GetNoCopies, METH_O, NULL},
32138 { (char *)"PrintDialogData_GetAllPages", (PyCFunction)_wrap_PrintDialogData_GetAllPages, METH_O, NULL},
32139 { (char *)"PrintDialogData_GetSelection", (PyCFunction)_wrap_PrintDialogData_GetSelection, METH_O, NULL},
32140 { (char *)"PrintDialogData_GetCollate", (PyCFunction)_wrap_PrintDialogData_GetCollate, METH_O, NULL},
32141 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction)_wrap_PrintDialogData_GetPrintToFile, METH_O, NULL},
32142 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
32143 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
32144 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
32145 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
32146 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
32147 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
32148 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
32149 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
32150 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
32151 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
32152 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
32153 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
32154 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
32155 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction)_wrap_PrintDialogData_GetEnablePrintToFile, METH_O, NULL},
32156 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction)_wrap_PrintDialogData_GetEnableSelection, METH_O, NULL},
32157 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction)_wrap_PrintDialogData_GetEnablePageNumbers, METH_O, NULL},
32158 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction)_wrap_PrintDialogData_GetEnableHelp, METH_O, NULL},
32159 { (char *)"PrintDialogData_IsOk", (PyCFunction)_wrap_PrintDialogData_IsOk, METH_O, NULL},
32160 { (char *)"PrintDialogData_GetPrintData", (PyCFunction)_wrap_PrintDialogData_GetPrintData, METH_O, NULL},
32161 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
32162 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
32163 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit, METH_VARARGS, NULL},
32164 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32165 { (char *)"delete_PrintDialog", (PyCFunction)_wrap_delete_PrintDialog, METH_O, NULL},
32166 { (char *)"PrintDialog_ShowModal", (PyCFunction)_wrap_PrintDialog_ShowModal, METH_O, NULL},
32167 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction)_wrap_PrintDialog_GetPrintDialogData, METH_O, NULL},
32168 { (char *)"PrintDialog_GetPrintData", (PyCFunction)_wrap_PrintDialog_GetPrintData, METH_O, NULL},
32169 { (char *)"PrintDialog_GetPrintDC", (PyCFunction)_wrap_PrintDialog_GetPrintDC, METH_O, NULL},
32170 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
32171 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit, METH_VARARGS, NULL},
32172 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
32173 { (char *)"delete_Printer", (PyCFunction)_wrap_delete_Printer, METH_O, NULL},
32174 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32175 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
32176 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
32177 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
32178 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32179 { (char *)"Printer_GetPrintDialogData", (PyCFunction)_wrap_Printer_GetPrintDialogData, METH_O, NULL},
32180 { (char *)"Printer_GetAbort", (PyCFunction)_wrap_Printer_GetAbort, METH_O, NULL},
32181 { (char *)"Printer_GetLastError", (PyCFunction)_wrap_Printer_GetLastError, METH_NOARGS, NULL},
32182 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
32183 { (char *)"Printer_swiginit", Printer_swiginit, METH_VARARGS, NULL},
32184 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
32185 { (char *)"delete_Printout", (PyCFunction)_wrap_delete_Printout, METH_O, NULL},
32186 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32187 { (char *)"Printout_GetTitle", (PyCFunction)_wrap_Printout_GetTitle, METH_O, NULL},
32188 { (char *)"Printout_GetDC", (PyCFunction)_wrap_Printout_GetDC, METH_O, NULL},
32189 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
32190 { (char *)"Printout_FitThisSizeToPaper", (PyCFunction) _wrap_Printout_FitThisSizeToPaper, METH_VARARGS | METH_KEYWORDS, NULL},
32191 { (char *)"Printout_FitThisSizeToPage", (PyCFunction) _wrap_Printout_FitThisSizeToPage, METH_VARARGS | METH_KEYWORDS, NULL},
32192 { (char *)"Printout_FitThisSizeToPageMargins", (PyCFunction) _wrap_Printout_FitThisSizeToPageMargins, METH_VARARGS | METH_KEYWORDS, NULL},
32193 { (char *)"Printout_MapScreenSizeToPaper", (PyCFunction)_wrap_Printout_MapScreenSizeToPaper, METH_O, NULL},
32194 { (char *)"Printout_MapScreenSizeToPage", (PyCFunction)_wrap_Printout_MapScreenSizeToPage, METH_O, NULL},
32195 { (char *)"Printout_MapScreenSizeToPageMargins", (PyCFunction) _wrap_Printout_MapScreenSizeToPageMargins, METH_VARARGS | METH_KEYWORDS, NULL},
32196 { (char *)"Printout_MapScreenSizeToDevice", (PyCFunction)_wrap_Printout_MapScreenSizeToDevice, METH_O, NULL},
32197 { (char *)"Printout_GetLogicalPaperRect", (PyCFunction)_wrap_Printout_GetLogicalPaperRect, METH_O, NULL},
32198 { (char *)"Printout_GetLogicalPageRect", (PyCFunction)_wrap_Printout_GetLogicalPageRect, METH_O, NULL},
32199 { (char *)"Printout_GetLogicalPageMarginsRect", (PyCFunction) _wrap_Printout_GetLogicalPageMarginsRect, METH_VARARGS | METH_KEYWORDS, NULL},
32200 { (char *)"Printout_SetLogicalOrigin", (PyCFunction) _wrap_Printout_SetLogicalOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
32201 { (char *)"Printout_OffsetLogicalOrigin", (PyCFunction) _wrap_Printout_OffsetLogicalOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
32202 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
32203 { (char *)"Printout_GetPageSizePixels", (PyCFunction)_wrap_Printout_GetPageSizePixels, METH_O, NULL},
32204 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
32205 { (char *)"Printout_GetPageSizeMM", (PyCFunction)_wrap_Printout_GetPageSizeMM, METH_O, NULL},
32206 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
32207 { (char *)"Printout_GetPPIScreen", (PyCFunction)_wrap_Printout_GetPPIScreen, METH_O, NULL},
32208 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
32209 { (char *)"Printout_GetPPIPrinter", (PyCFunction)_wrap_Printout_GetPPIPrinter, METH_O, NULL},
32210 { (char *)"Printout_SetPaperRectPixels", (PyCFunction) _wrap_Printout_SetPaperRectPixels, METH_VARARGS | METH_KEYWORDS, NULL},
32211 { (char *)"Printout_GetPaperRectPixels", (PyCFunction)_wrap_Printout_GetPaperRectPixels, METH_O, NULL},
32212 { (char *)"Printout_IsPreview", (PyCFunction)_wrap_Printout_IsPreview, METH_O, NULL},
32213 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
32214 { (char *)"Printout_OnBeginDocument", (PyCFunction) _wrap_Printout_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
32215 { (char *)"Printout_OnEndDocument", (PyCFunction)_wrap_Printout_OnEndDocument, METH_O, NULL},
32216 { (char *)"Printout_OnBeginPrinting", (PyCFunction)_wrap_Printout_OnBeginPrinting, METH_O, NULL},
32217 { (char *)"Printout_OnEndPrinting", (PyCFunction)_wrap_Printout_OnEndPrinting, METH_O, NULL},
32218 { (char *)"Printout_OnPreparePrinting", (PyCFunction)_wrap_Printout_OnPreparePrinting, METH_O, NULL},
32219 { (char *)"Printout_HasPage", (PyCFunction) _wrap_Printout_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
32220 { (char *)"Printout_GetPageInfo", (PyCFunction)_wrap_Printout_GetPageInfo, METH_O, NULL},
32221 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
32222 { (char *)"Printout_swiginit", Printout_swiginit, METH_VARARGS, NULL},
32223 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
32224 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
32225 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit, METH_VARARGS, NULL},
32226 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32227 { (char *)"PreviewFrame_Initialize", (PyCFunction)_wrap_PreviewFrame_Initialize, METH_O, NULL},
32228 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction)_wrap_PreviewFrame_CreateControlBar, METH_O, NULL},
32229 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction)_wrap_PreviewFrame_CreateCanvas, METH_O, NULL},
32230 { (char *)"PreviewFrame_GetControlBar", (PyCFunction)_wrap_PreviewFrame_GetControlBar, METH_O, NULL},
32231 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
32232 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit, METH_VARARGS, NULL},
32233 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
32234 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction)_wrap_PreviewControlBar_GetZoomControl, METH_O, NULL},
32235 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
32236 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction)_wrap_PreviewControlBar_GetPrintPreview, METH_O, NULL},
32237 { (char *)"PreviewControlBar_OnNext", (PyCFunction)_wrap_PreviewControlBar_OnNext, METH_O, NULL},
32238 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction)_wrap_PreviewControlBar_OnPrevious, METH_O, NULL},
32239 { (char *)"PreviewControlBar_OnFirst", (PyCFunction)_wrap_PreviewControlBar_OnFirst, METH_O, NULL},
32240 { (char *)"PreviewControlBar_OnLast", (PyCFunction)_wrap_PreviewControlBar_OnLast, METH_O, NULL},
32241 { (char *)"PreviewControlBar_OnGoto", (PyCFunction)_wrap_PreviewControlBar_OnGoto, METH_O, NULL},
32242 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
32243 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit, METH_VARARGS, NULL},
32244 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
32245 { (char *)"delete_PrintPreview", (PyCFunction)_wrap_delete_PrintPreview, METH_O, NULL},
32246 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
32247 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction)_wrap_PrintPreview_GetCurrentPage, METH_O, NULL},
32248 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
32249 { (char *)"PrintPreview_GetPrintout", (PyCFunction)_wrap_PrintPreview_GetPrintout, METH_O, NULL},
32250 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction)_wrap_PrintPreview_GetPrintoutForPrinting, METH_O, NULL},
32251 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32252 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
32253 { (char *)"PrintPreview_GetFrame", (PyCFunction)_wrap_PrintPreview_GetFrame, METH_O, NULL},
32254 { (char *)"PrintPreview_GetCanvas", (PyCFunction)_wrap_PrintPreview_GetCanvas, METH_O, NULL},
32255 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
32256 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
32257 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
32258 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
32259 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction)_wrap_PrintPreview_GetPrintDialogData, METH_O, NULL},
32260 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
32261 { (char *)"PrintPreview_GetZoom", (PyCFunction)_wrap_PrintPreview_GetZoom, METH_O, NULL},
32262 { (char *)"PrintPreview_GetMaxPage", (PyCFunction)_wrap_PrintPreview_GetMaxPage, METH_O, NULL},
32263 { (char *)"PrintPreview_GetMinPage", (PyCFunction)_wrap_PrintPreview_GetMinPage, METH_O, NULL},
32264 { (char *)"PrintPreview_IsOk", (PyCFunction)_wrap_PrintPreview_IsOk, METH_O, NULL},
32265 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
32266 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
32267 { (char *)"PrintPreview_DetermineScaling", (PyCFunction)_wrap_PrintPreview_DetermineScaling, METH_O, NULL},
32268 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
32269 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit, METH_VARARGS, NULL},
32270 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
32271 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32272 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
32273 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit, METH_VARARGS, NULL},
32274 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32275 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32276 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
32277 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
32278 { (char *)"PyPreviewFrame_Initialize", (PyCFunction)_wrap_PyPreviewFrame_Initialize, METH_O, NULL},
32279 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction)_wrap_PyPreviewFrame_CreateCanvas, METH_O, NULL},
32280 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction)_wrap_PyPreviewFrame_CreateControlBar, METH_O, NULL},
32281 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
32282 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit, METH_VARARGS, NULL},
32283 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
32284 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32285 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
32286 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction)_wrap_PyPreviewControlBar_CreateButtons, METH_O, NULL},
32287 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
32288 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
32289 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit, METH_VARARGS, NULL},
32290 { NULL, NULL, 0, NULL }
32291 };
32292
32293
32294 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32295
32296 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
32297 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32298 }
32299 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
32300 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
32301 }
32302 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
32303 return (void *)((wxEvent *) ((wxMenuEvent *) x));
32304 }
32305 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
32306 return (void *)((wxEvent *) ((wxCloseEvent *) x));
32307 }
32308 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
32309 return (void *)((wxEvent *) ((wxMouseEvent *) x));
32310 }
32311 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
32312 return (void *)((wxEvent *) ((wxEraseEvent *) x));
32313 }
32314 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
32315 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
32316 }
32317 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
32318 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
32319 }
32320 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
32321 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
32322 }
32323 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
32324 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
32325 }
32326 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
32327 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
32328 }
32329 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
32330 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
32331 }
32332 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) {
32333 return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x));
32334 }
32335 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
32336 return (void *)((wxEvent *) ((wxPyEvent *) x));
32337 }
32338 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
32339 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
32340 }
32341 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
32342 return (void *)((wxEvent *) ((wxIdleEvent *) x));
32343 }
32344 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
32345 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
32346 }
32347 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
32348 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
32349 }
32350 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
32351 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
32352 }
32353 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
32354 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
32355 }
32356 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
32357 return (void *)((wxEvent *) ((wxActivateEvent *) x));
32358 }
32359 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
32360 return (void *)((wxEvent *) ((wxSizeEvent *) x));
32361 }
32362 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
32363 return (void *)((wxEvent *) ((wxMoveEvent *) x));
32364 }
32365 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
32366 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
32367 }
32368 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
32369 return (void *)((wxEvent *) ((wxPaintEvent *) x));
32370 }
32371 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
32372 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
32373 }
32374 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
32375 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
32376 }
32377 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
32378 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
32379 }
32380 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
32381 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
32382 }
32383 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
32384 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
32385 }
32386 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
32387 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
32388 }
32389 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
32390 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
32391 }
32392 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
32393 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
32394 }
32395 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
32396 return (void *)((wxEvent *) ((wxFocusEvent *) x));
32397 }
32398 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
32399 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
32400 }
32401 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
32402 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
32403 }
32404 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
32405 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
32406 }
32407 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
32408 return (void *)((wxEvent *) ((wxShowEvent *) x));
32409 }
32410 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
32411 return (void *)((wxEvent *) ((wxCommandEvent *) x));
32412 }
32413 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
32414 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
32415 }
32416 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
32417 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32418 }
32419 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
32420 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
32421 }
32422 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
32423 return (void *)((wxEvent *) ((wxKeyEvent *) x));
32424 }
32425 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
32426 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
32427 }
32428 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
32429 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
32430 }
32431 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
32432 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
32433 }
32434 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
32435 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32436 }
32437 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
32438 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32439 }
32440 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
32441 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32442 }
32443 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
32444 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
32445 }
32446 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
32447 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
32448 }
32449 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
32450 return (void *)((wxEvtHandler *) ((wxValidator *) x));
32451 }
32452 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
32453 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
32454 }
32455 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
32456 return (void *)((wxEvtHandler *) ((wxMenu *) x));
32457 }
32458 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
32459 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32460 }
32461 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
32462 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32463 }
32464 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
32465 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32466 }
32467 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
32468 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32469 }
32470 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
32471 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32472 }
32473 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) {
32474 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
32475 }
32476 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
32477 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32478 }
32479 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
32480 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32481 }
32482 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
32483 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32484 }
32485 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
32486 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
32487 }
32488 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
32489 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
32490 }
32491 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
32492 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
32493 }
32494 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
32495 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32496 }
32497 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
32498 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32499 }
32500 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
32501 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
32502 }
32503 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
32504 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
32505 }
32506 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
32507 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
32508 }
32509 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
32510 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
32511 }
32512 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
32513 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
32514 }
32515 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
32516 return (void *)((wxEvtHandler *) ((wxWindow *) x));
32517 }
32518 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
32519 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
32520 }
32521 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
32522 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
32523 }
32524 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
32525 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
32526 }
32527 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
32528 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32529 }
32530 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
32531 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
32532 }
32533 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
32534 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32535 }
32536 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
32537 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32538 }
32539 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
32540 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32541 }
32542 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
32543 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
32544 }
32545 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
32546 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32547 }
32548 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
32549 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
32550 }
32551 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
32552 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32553 }
32554 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
32555 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32556 }
32557 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
32558 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32559 }
32560 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
32561 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
32562 }
32563 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
32564 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32565 }
32566 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
32567 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
32568 }
32569 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
32570 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
32571 }
32572 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
32573 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32574 }
32575 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
32576 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32577 }
32578 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
32579 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
32580 }
32581 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
32582 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32583 }
32584 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
32585 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32586 }
32587 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
32588 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
32589 }
32590 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
32591 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
32592 }
32593 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
32594 return (void *)((wxFrame *) ((wxProgressDialog *) x));
32595 }
32596 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
32597 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
32598 }
32599 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
32600 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32601 }
32602 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
32603 return (void *)((wxFrame *) ((wxMiniFrame *) x));
32604 }
32605 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
32606 return (void *)((wxFrame *) ((wxSplashScreen *) x));
32607 }
32608 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
32609 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
32610 }
32611 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
32612 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
32613 }
32614 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
32615 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
32616 }
32617 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
32618 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32619 }
32620 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
32621 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32622 }
32623 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
32624 return (void *)((wxObject *) ((wxSizerItem *) x));
32625 }
32626 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
32627 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
32628 }
32629 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
32630 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
32631 }
32632 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
32633 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
32634 }
32635 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
32636 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
32637 }
32638 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
32639 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
32640 }
32641 static void *_p_wxSizerTo_p_wxObject(void *x) {
32642 return (void *)((wxObject *) ((wxSizer *) x));
32643 }
32644 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
32645 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
32646 }
32647 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
32648 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
32649 }
32650 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
32651 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
32652 }
32653 static void *_p_wxEventTo_p_wxObject(void *x) {
32654 return (void *)((wxObject *) ((wxEvent *) x));
32655 }
32656 static void *_p_wxFontDataTo_p_wxObject(void *x) {
32657 return (void *)((wxObject *) ((wxFontData *) x));
32658 }
32659 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
32660 return (void *)((wxObject *) ((wxPrintData *) x));
32661 }
32662 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
32663 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
32664 }
32665 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
32666 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
32667 }
32668 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
32669 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
32670 }
32671 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
32672 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
32673 }
32674 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
32675 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
32676 }
32677 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
32678 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
32679 }
32680 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
32681 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
32682 }
32683 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
32684 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
32685 }
32686 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
32687 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
32688 }
32689 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
32690 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
32691 }
32692 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
32693 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
32694 }
32695 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
32696 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
32697 }
32698 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
32699 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
32700 }
32701 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
32702 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32703 }
32704 static void *_p_wxControlTo_p_wxObject(void *x) {
32705 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
32706 }
32707 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
32708 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
32709 }
32710 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
32711 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
32712 }
32713 static void *_p_wxFSFileTo_p_wxObject(void *x) {
32714 return (void *)((wxObject *) ((wxFSFile *) x));
32715 }
32716 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
32717 return (void *)((wxObject *) ((wxFindReplaceData *) x));
32718 }
32719 static void *_p_wxPySizerTo_p_wxObject(void *x) {
32720 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
32721 }
32722 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
32723 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32724 }
32725 static void *_p_wxColourDataTo_p_wxObject(void *x) {
32726 return (void *)((wxObject *) ((wxColourData *) x));
32727 }
32728 static void *_p_wxPyEventTo_p_wxObject(void *x) {
32729 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
32730 }
32731 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
32732 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
32733 }
32734 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
32735 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
32736 }
32737 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
32738 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32739 }
32740 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
32741 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32742 }
32743 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
32744 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32745 }
32746 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
32747 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32748 }
32749 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
32750 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32751 }
32752 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
32753 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32754 }
32755 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) {
32756 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
32757 }
32758 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
32759 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32760 }
32761 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
32762 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32763 }
32764 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
32765 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32766 }
32767 static void *_p_wxShowEventTo_p_wxObject(void *x) {
32768 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
32769 }
32770 static void *_p_wxPrinterTo_p_wxObject(void *x) {
32771 return (void *)((wxObject *) ((wxPrinter *) x));
32772 }
32773 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
32774 return (void *)((wxObject *) ((wxMenuItem *) x));
32775 }
32776 static void *_p_wxDateEventTo_p_wxObject(void *x) {
32777 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
32778 }
32779 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
32780 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
32781 }
32782 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
32783 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
32784 }
32785 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
32786 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
32787 }
32788 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
32789 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
32790 }
32791 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
32792 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
32793 }
32794 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
32795 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
32796 }
32797 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
32798 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
32799 }
32800 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
32801 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
32802 }
32803 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
32804 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
32805 }
32806 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
32807 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
32808 }
32809 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
32810 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
32811 }
32812 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
32813 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
32814 }
32815 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
32816 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
32817 }
32818 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
32819 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
32820 }
32821 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
32822 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
32823 }
32824 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
32825 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
32826 }
32827 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
32828 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
32829 }
32830 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
32831 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
32832 }
32833 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
32834 return (void *)((wxObject *) ((wxImageHandler *) x));
32835 }
32836 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
32837 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
32838 }
32839 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
32840 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
32841 }
32842 static void *_p_wxTGAHandlerTo_p_wxObject(void *x) {
32843 return (void *)((wxObject *) (wxImageHandler *) ((wxTGAHandler *) x));
32844 }
32845 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
32846 return (void *)((wxObject *) ((wxEvtHandler *) x));
32847 }
32848 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) {
32849 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x));
32850 }
32851 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
32852 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
32853 }
32854 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
32855 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32856 }
32857 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
32858 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32859 }
32860 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
32861 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
32862 }
32863 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
32864 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
32865 }
32866 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
32867 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32868 }
32869 static void *_p_wxImageTo_p_wxObject(void *x) {
32870 return (void *)((wxObject *) ((wxImage *) x));
32871 }
32872 static void *_p_wxFrameTo_p_wxObject(void *x) {
32873 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
32874 }
32875 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
32876 return (void *)((wxObject *) ((wxPyPrintout *) x));
32877 }
32878 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
32879 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
32880 }
32881 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
32882 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
32883 }
32884 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
32885 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
32886 }
32887 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
32888 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32889 }
32890 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
32891 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32892 }
32893 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
32894 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
32895 }
32896 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
32897 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
32898 }
32899 static void *_p_wxWindowTo_p_wxObject(void *x) {
32900 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
32901 }
32902 static void *_p_wxMenuTo_p_wxObject(void *x) {
32903 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
32904 }
32905 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
32906 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
32907 }
32908 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
32909 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
32910 }
32911 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
32912 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
32913 }
32914 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
32915 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
32916 }
32917 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
32918 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
32919 }
32920 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
32921 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
32922 }
32923 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
32924 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
32925 }
32926 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
32927 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
32928 }
32929 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
32930 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32931 }
32932 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
32933 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32934 }
32935 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
32936 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
32937 }
32938 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
32939 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
32940 }
32941 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
32942 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32943 }
32944 static void *_p_wxSashEventTo_p_wxObject(void *x) {
32945 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
32946 }
32947 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
32948 return (void *)((wxObject *) ((wxPrintPreview *) x));
32949 }
32950 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
32951 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
32952 }
32953 static void *_p_wxPanelTo_p_wxObject(void *x) {
32954 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
32955 }
32956 static void *_p_wxDialogTo_p_wxObject(void *x) {
32957 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
32958 }
32959 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
32960 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32961 }
32962 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
32963 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32964 }
32965 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
32966 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32967 }
32968 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
32969 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
32970 }
32971 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
32972 return (void *)((wxObject *) ((wxPrintDialog *) x));
32973 }
32974 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
32975 return (void *)((wxObject *) ((wxFileSystem *) x));
32976 }
32977 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
32978 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
32979 }
32980 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
32981 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
32982 }
32983 static void *_p_wxPyAppTo_p_wxObject(void *x) {
32984 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
32985 }
32986 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
32987 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
32988 }
32989 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
32990 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
32991 }
32992 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
32993 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
32994 }
32995 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
32996 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
32997 }
32998 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
32999 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
33000 }
33001 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
33002 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
33003 }
33004 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
33005 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33006 }
33007 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
33008 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
33009 }
33010 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
33011 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
33012 }
33013 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
33014 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
33015 }
33016 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
33017 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
33018 }
33019 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
33020 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
33021 }
33022 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
33023 return (void *)((wxObject *) ((wxPrintDialogData *) x));
33024 }
33025 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
33026 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
33027 }
33028 static void *_p_wxValidatorTo_p_wxObject(void *x) {
33029 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
33030 }
33031 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
33032 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33033 }
33034 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
33035 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
33036 }
33037 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
33038 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
33039 }
33040 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
33041 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
33042 }
33043 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
33044 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
33045 }
33046 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
33047 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
33048 }
33049 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
33050 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
33051 }
33052 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
33053 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
33054 }
33055 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
33056 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
33057 }
33058 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
33059 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
33060 }
33061 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
33062 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
33063 }
33064 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
33065 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
33066 }
33067 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
33068 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
33069 }
33070 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
33071 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
33072 }
33073 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
33074 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
33075 }
33076 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
33077 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
33078 }
33079 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x) {
33080 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxNumberEntryDialog *) x));
33081 }
33082 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
33083 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
33084 }
33085 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
33086 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
33087 }
33088 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
33089 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
33090 }
33091 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
33092 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
33093 }
33094 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
33095 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
33096 }
33097 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
33098 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
33099 }
33100 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
33101 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
33102 }
33103 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
33104 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
33105 }
33106 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
33107 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
33108 }
33109 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
33110 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
33111 }
33112 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
33113 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
33114 }
33115 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
33116 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
33117 }
33118 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
33119 return (void *)((wxWindow *) ((wxMenuBar *) x));
33120 }
33121 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
33122 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
33123 }
33124 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
33125 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
33126 }
33127 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
33128 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
33129 }
33130 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) {
33131 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
33132 }
33133 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
33134 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
33135 }
33136 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
33137 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
33138 }
33139 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
33140 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
33141 }
33142 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
33143 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
33144 }
33145 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
33146 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
33147 }
33148 static void *_p_wxPanelTo_p_wxWindow(void *x) {
33149 return (void *)((wxWindow *) ((wxPanel *) x));
33150 }
33151 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
33152 return (void *)((wxWindow *) ((wxStatusBar *) x));
33153 }
33154 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
33155 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
33156 }
33157 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
33158 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
33159 }
33160 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
33161 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
33162 }
33163 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
33164 return (void *)((wxWindow *) ((wxPopupWindow *) x));
33165 }
33166 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
33167 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
33168 }
33169 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
33170 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
33171 }
33172 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
33173 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
33174 }
33175 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
33176 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
33177 }
33178 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
33179 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
33180 }
33181 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
33182 return (void *)((wxWindow *) ((wxSashWindow *) x));
33183 }
33184 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
33185 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
33186 }
33187 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
33188 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33189 }
33190 static void *_p_wxControlTo_p_wxWindow(void *x) {
33191 return (void *)((wxWindow *) ((wxControl *) x));
33192 }
33193 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
33194 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
33195 }
33196 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
33197 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
33198 }
33199 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
33200 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
33201 }
33202 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
33203 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
33204 }
33205 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
33206 return (void *)((wxWindow *) ((wxPyWindow *) x));
33207 }
33208 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
33209 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
33210 }
33211 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
33212 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
33213 }
33214 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
33215 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33216 }
33217 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
33218 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
33219 }
33220 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
33221 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33222 }
33223 static void *_p_wxFrameTo_p_wxWindow(void *x) {
33224 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
33225 }
33226 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
33227 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
33228 }
33229 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
33230 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
33231 }
33232 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
33233 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
33234 }
33235 static void *_p_wxDialogTo_p_wxWindow(void *x) {
33236 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
33237 }
33238 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
33239 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
33240 }
33241 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
33242 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33243 }
33244 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
33245 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
33246 }
33247 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
33248 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
33249 }
33250 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
33251 return (void *)((wxDialog *) ((wxColourDialog *) x));
33252 }
33253 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
33254 return (void *)((wxDialog *) ((wxDirDialog *) x));
33255 }
33256 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
33257 return (void *)((wxDialog *) ((wxFontDialog *) x));
33258 }
33259 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
33260 return (void *)((wxDialog *) ((wxFileDialog *) x));
33261 }
33262 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
33263 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
33264 }
33265 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
33266 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
33267 }
33268 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
33269 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
33270 }
33271 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
33272 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
33273 }
33274 static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x) {
33275 return (void *)((wxDialog *) ((wxNumberEntryDialog *) x));
33276 }
33277 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
33278 return (void *)((wxDialog *) ((wxMessageDialog *) x));
33279 }
33280 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
33281 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
33282 }
33283 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
33284 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
33285 }
33286 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
33287 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
33288 }
33289 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
33290 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33291 }
33292 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
33293 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33294 }
33295 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
33296 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
33297 }
33298 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
33299 return (void *)((wxPanel *) ((wxPyPanel *) x));
33300 }
33301 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
33302 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
33303 }
33304 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
33305 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
33306 }
33307 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
33308 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33309 }
33310 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
33311 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
33312 }
33313 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
33314 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
33315 }
33316 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
33317 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
33318 }
33319 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
33320 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
33321 }
33322 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
33323 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
33324 }
33325 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
33326 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
33327 }
33328 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
33329 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
33330 }
33331 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
33332 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
33333 }
33334 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
33335 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
33336 }
33337 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
33338 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
33339 }
33340 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
33341 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
33342 }
33343 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
33344 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
33345 }
33346 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
33347 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
33348 }
33349 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
33350 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33351 }
33352 static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
33353 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
33354 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};
33355 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
33356 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
33357 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
33358 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
33359 static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
33360 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
33361 static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
33362 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
33363 static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
33364 static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
33365 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
33366 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
33367 static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
33368 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
33369 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
33370 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
33371 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
33372 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
33373 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
33374 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
33375 static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
33376 static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
33377 static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
33378 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
33379 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
33380 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
33381 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
33382 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
33383 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
33384 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
33385 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
33386 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
33387 static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
33388 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
33389 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
33390 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
33391 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
33392 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
33393 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
33394 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
33395 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
33396 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
33397 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
33398 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
33399 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
33400 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
33401 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
33402 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
33403 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
33404 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
33405 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
33406 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
33407 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0};
33408 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
33409 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0};
33410 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
33411 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
33412 static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
33413 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
33414 static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
33415 static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
33416 static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
33417 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
33418 static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
33419 static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
33420 static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
33421 static swig_type_info _swigt__p_wxHtmlLinkInfo = {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
33422 static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
33423 static swig_type_info _swigt__p_wxIconBundle = {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
33424 static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
33425 static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
33426 static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
33427 static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
33428 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
33429 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
33430 static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
33431 static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
33432 static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
33433 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
33434 static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
33435 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
33436 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
33437 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
33438 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
33439 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
33440 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
33441 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
33442 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
33443 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
33444 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
33445 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
33446 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
33447 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
33448 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
33449 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
33450 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
33451 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
33452 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
33453 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
33454 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
33455 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
33456 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
33457 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
33458 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
33459 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
33460 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
33461 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
33462 static swig_type_info _swigt__p_wxTGAHandler = {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
33463 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
33464 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
33465 static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
33466 static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
33467 static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
33468 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
33469 static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
33470 static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
33471 static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
33472 static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
33473 static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
33474 static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
33475 static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
33476 static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
33477 static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
33478 static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
33479 static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
33480 static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
33481 static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
33482 static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
33483 static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
33484 static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
33485 static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
33486 static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
33487 static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
33488 static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
33489 static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
33490 static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
33491 static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
33492 static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
33493 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
33494 static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
33495 static swig_type_info _swigt__p_wxRegion = {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
33496 static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
33497 static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
33498 static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
33499 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
33500 static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
33501 static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
33502 static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
33503 static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
33504 static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
33505 static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
33506 static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
33507 static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
33508 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
33509 static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
33510 static swig_type_info _swigt__p_wxTaskBarIcon = {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
33511 static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
33512 static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
33513 static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
33514 static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
33515 static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
33516 static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
33517 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
33518
33519 static swig_type_info *swig_type_initial[] = {
33520 &_swigt__p_bool,
33521 &_swigt__p_char,
33522 &_swigt__p_form_ops_t,
33523 &_swigt__p_int,
33524 &_swigt__p_unsigned_char,
33525 &_swigt__p_unsigned_int,
33526 &_swigt__p_unsigned_long,
33527 &_swigt__p_wxANIHandler,
33528 &_swigt__p_wxAcceleratorTable,
33529 &_swigt__p_wxActivateEvent,
33530 &_swigt__p_wxArrayInt,
33531 &_swigt__p_wxBMPHandler,
33532 &_swigt__p_wxBitmap,
33533 &_swigt__p_wxBoxSizer,
33534 &_swigt__p_wxCURHandler,
33535 &_swigt__p_wxCalculateLayoutEvent,
33536 &_swigt__p_wxChildFocusEvent,
33537 &_swigt__p_wxClipboardTextEvent,
33538 &_swigt__p_wxCloseEvent,
33539 &_swigt__p_wxColour,
33540 &_swigt__p_wxColourData,
33541 &_swigt__p_wxColourDialog,
33542 &_swigt__p_wxCommandEvent,
33543 &_swigt__p_wxContextMenuEvent,
33544 &_swigt__p_wxControl,
33545 &_swigt__p_wxControlWithItems,
33546 &_swigt__p_wxDC,
33547 &_swigt__p_wxDateEvent,
33548 &_swigt__p_wxDialog,
33549 &_swigt__p_wxDirDialog,
33550 &_swigt__p_wxDisplayChangedEvent,
33551 &_swigt__p_wxDropFilesEvent,
33552 &_swigt__p_wxDuplexMode,
33553 &_swigt__p_wxEraseEvent,
33554 &_swigt__p_wxEvent,
33555 &_swigt__p_wxEvtHandler,
33556 &_swigt__p_wxFSFile,
33557 &_swigt__p_wxFileDialog,
33558 &_swigt__p_wxFileSystem,
33559 &_swigt__p_wxFindDialogEvent,
33560 &_swigt__p_wxFindReplaceData,
33561 &_swigt__p_wxFindReplaceDialog,
33562 &_swigt__p_wxFlexGridSizer,
33563 &_swigt__p_wxFocusEvent,
33564 &_swigt__p_wxFont,
33565 &_swigt__p_wxFontData,
33566 &_swigt__p_wxFontDialog,
33567 &_swigt__p_wxFrame,
33568 &_swigt__p_wxGBSizerItem,
33569 &_swigt__p_wxGIFHandler,
33570 &_swigt__p_wxGridBagSizer,
33571 &_swigt__p_wxGridSizer,
33572 &_swigt__p_wxHtmlLinkInfo,
33573 &_swigt__p_wxICOHandler,
33574 &_swigt__p_wxIcon,
33575 &_swigt__p_wxIconBundle,
33576 &_swigt__p_wxIconizeEvent,
33577 &_swigt__p_wxIdleEvent,
33578 &_swigt__p_wxImage,
33579 &_swigt__p_wxImageHandler,
33580 &_swigt__p_wxIndividualLayoutConstraint,
33581 &_swigt__p_wxInitDialogEvent,
33582 &_swigt__p_wxJPEGHandler,
33583 &_swigt__p_wxKeyEvent,
33584 &_swigt__p_wxLayoutAlgorithm,
33585 &_swigt__p_wxLayoutConstraints,
33586 &_swigt__p_wxMDIChildFrame,
33587 &_swigt__p_wxMDIClientWindow,
33588 &_swigt__p_wxMDIParentFrame,
33589 &_swigt__p_wxMaximizeEvent,
33590 &_swigt__p_wxMenu,
33591 &_swigt__p_wxMenuBar,
33592 &_swigt__p_wxMenuEvent,
33593 &_swigt__p_wxMenuItem,
33594 &_swigt__p_wxMessageDialog,
33595 &_swigt__p_wxMiniFrame,
33596 &_swigt__p_wxMouseCaptureChangedEvent,
33597 &_swigt__p_wxMouseCaptureLostEvent,
33598 &_swigt__p_wxMouseEvent,
33599 &_swigt__p_wxMoveEvent,
33600 &_swigt__p_wxMultiChoiceDialog,
33601 &_swigt__p_wxNavigationKeyEvent,
33602 &_swigt__p_wxNcPaintEvent,
33603 &_swigt__p_wxNotifyEvent,
33604 &_swigt__p_wxNumberEntryDialog,
33605 &_swigt__p_wxObject,
33606 &_swigt__p_wxPCXHandler,
33607 &_swigt__p_wxPNGHandler,
33608 &_swigt__p_wxPNMHandler,
33609 &_swigt__p_wxPageSetupDialog,
33610 &_swigt__p_wxPageSetupDialogData,
33611 &_swigt__p_wxPaintEvent,
33612 &_swigt__p_wxPaletteChangedEvent,
33613 &_swigt__p_wxPanel,
33614 &_swigt__p_wxPaperSize,
33615 &_swigt__p_wxPasswordEntryDialog,
33616 &_swigt__p_wxPoint,
33617 &_swigt__p_wxPopupWindow,
33618 &_swigt__p_wxPreviewCanvas,
33619 &_swigt__p_wxPreviewControlBar,
33620 &_swigt__p_wxPreviewFrame,
33621 &_swigt__p_wxPrintData,
33622 &_swigt__p_wxPrintDialog,
33623 &_swigt__p_wxPrintDialogData,
33624 &_swigt__p_wxPrintPreview,
33625 &_swigt__p_wxPrinter,
33626 &_swigt__p_wxProgressDialog,
33627 &_swigt__p_wxPyApp,
33628 &_swigt__p_wxPyCommandEvent,
33629 &_swigt__p_wxPyEvent,
33630 &_swigt__p_wxPyHtmlListBox,
33631 &_swigt__p_wxPyImageHandler,
33632 &_swigt__p_wxPyPanel,
33633 &_swigt__p_wxPyPopupTransientWindow,
33634 &_swigt__p_wxPyPreviewControlBar,
33635 &_swigt__p_wxPyPreviewFrame,
33636 &_swigt__p_wxPyPrintPreview,
33637 &_swigt__p_wxPyPrintout,
33638 &_swigt__p_wxPyScrolledWindow,
33639 &_swigt__p_wxPySizer,
33640 &_swigt__p_wxPyTaskBarIcon,
33641 &_swigt__p_wxPyVListBox,
33642 &_swigt__p_wxPyVScrolledWindow,
33643 &_swigt__p_wxPyValidator,
33644 &_swigt__p_wxPyWindow,
33645 &_swigt__p_wxQueryLayoutInfoEvent,
33646 &_swigt__p_wxQueryNewPaletteEvent,
33647 &_swigt__p_wxRect,
33648 &_swigt__p_wxRegion,
33649 &_swigt__p_wxSashEvent,
33650 &_swigt__p_wxSashLayoutWindow,
33651 &_swigt__p_wxSashWindow,
33652 &_swigt__p_wxScrollEvent,
33653 &_swigt__p_wxScrollWinEvent,
33654 &_swigt__p_wxScrolledWindow,
33655 &_swigt__p_wxSetCursorEvent,
33656 &_swigt__p_wxShowEvent,
33657 &_swigt__p_wxSingleChoiceDialog,
33658 &_swigt__p_wxSize,
33659 &_swigt__p_wxSizeEvent,
33660 &_swigt__p_wxSizer,
33661 &_swigt__p_wxSizerItem,
33662 &_swigt__p_wxSplashScreen,
33663 &_swigt__p_wxSplashScreenWindow,
33664 &_swigt__p_wxSplitterEvent,
33665 &_swigt__p_wxSplitterWindow,
33666 &_swigt__p_wxStaticBoxSizer,
33667 &_swigt__p_wxStatusBar,
33668 &_swigt__p_wxStdDialogButtonSizer,
33669 &_swigt__p_wxString,
33670 &_swigt__p_wxSysColourChangedEvent,
33671 &_swigt__p_wxTGAHandler,
33672 &_swigt__p_wxTIFFHandler,
33673 &_swigt__p_wxTaskBarIcon,
33674 &_swigt__p_wxTaskBarIconEvent,
33675 &_swigt__p_wxTextEntryDialog,
33676 &_swigt__p_wxTipWindow,
33677 &_swigt__p_wxToolBar,
33678 &_swigt__p_wxTopLevelWindow,
33679 &_swigt__p_wxUpdateUIEvent,
33680 &_swigt__p_wxValidator,
33681 &_swigt__p_wxVisualAttributes,
33682 &_swigt__p_wxWindow,
33683 &_swigt__p_wxWindowCreateEvent,
33684 &_swigt__p_wxWindowDestroyEvent,
33685 &_swigt__p_wxXPMHandler,
33686 };
33687
33688 static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
33689 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
33690 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
33691 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
33692 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
33693 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
33694 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
33695 static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
33696 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
33697 static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = { {&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
33698 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
33699 static swig_cast_info _swigc__p_wxColourData[] = { {&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
33700 static swig_cast_info _swigc__p_wxColourDialog[] = { {&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
33701 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
33702 static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
33703 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
33704 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
33705 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
33706 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
33707 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
33708 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
33709 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
33710 static swig_cast_info _swigc__p_wxCommandEvent[] = { {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}};
33711 static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
33712 static swig_cast_info _swigc__p_wxDialog[] = { {&_swigt__p_wxDialog, 0, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxDialog, 0, 0},{0, 0, 0, 0}};
33713 static swig_cast_info _swigc__p_wxDirDialog[] = { {&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
33714 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
33715 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
33716 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
33717 static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
33718 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
33719 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
33720 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
33721 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
33722 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}};
33723 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
33724 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
33725 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
33726 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
33727 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
33728 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
33729 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
33730 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
33731 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
33732 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33733 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33734 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33735 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33736 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
33737 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
33738 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
33739 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
33740 static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
33741 static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}};
33742 static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
33743 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
33744 static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
33745 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
33746 static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
33747 static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
33748 static swig_cast_info _swigc__p_wxFileDialog[] = { {&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
33749 static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
33750 static swig_cast_info _swigc__p_wxFindDialogEvent[] = { {&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
33751 static swig_cast_info _swigc__p_wxFindReplaceData[] = { {&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
33752 static swig_cast_info _swigc__p_wxFindReplaceDialog[] = { {&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
33753 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
33754 static swig_cast_info _swigc__p_wxFontData[] = { {&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
33755 static swig_cast_info _swigc__p_wxFontDialog[] = { {&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
33756 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}};
33757 static swig_cast_info _swigc__p_wxHtmlLinkInfo[] = { {&_swigt__p_wxHtmlLinkInfo, 0, 0, 0},{0, 0, 0, 0}};
33758 static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
33759 static swig_cast_info _swigc__p_wxIconBundle[] = { {&_swigt__p_wxIconBundle, 0, 0, 0},{0, 0, 0, 0}};
33760 static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = { {&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
33761 static swig_cast_info _swigc__p_wxMDIChildFrame[] = { {&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
33762 static swig_cast_info _swigc__p_wxMDIClientWindow[] = { {&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
33763 static swig_cast_info _swigc__p_wxMDIParentFrame[] = { {&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
33764 static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
33765 static swig_cast_info _swigc__p_wxMenuBar[] = { {&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
33766 static swig_cast_info _swigc__p_wxMessageDialog[] = { {&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
33767 static swig_cast_info _swigc__p_wxMiniFrame[] = { {&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
33768 static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = { {&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
33769 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}};
33770 static swig_cast_info _swigc__p_wxNumberEntryDialog[] = { {&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
33771 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
33772 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
33773 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
33774 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
33775 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
33776 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
33777 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
33778 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
33779 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
33780 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
33781 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
33782 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
33783 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
33784 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
33785 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
33786 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
33787 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
33788 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
33789 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
33790 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
33791 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
33792 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
33793 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
33794 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
33795 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
33796 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
33797 static swig_cast_info _swigc__p_wxTGAHandler[] = {{&_swigt__p_wxTGAHandler, 0, 0, 0},{0, 0, 0, 0}};
33798 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
33799 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
33800 static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintData, _p_wxPrintDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTGAHandler, _p_wxTGAHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialogData, _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialogData, _p_wxPrintDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
33801 static swig_cast_info _swigc__p_wxPageSetupDialog[] = { {&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
33802 static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
33803 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}};
33804 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
33805 static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = { {&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
33806 static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
33807 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}};
33808 static swig_cast_info _swigc__p_wxPreviewCanvas[] = { {&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
33809 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}};
33810 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}};
33811 static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
33812 static swig_cast_info _swigc__p_wxPrintDialog[] = { {&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
33813 static swig_cast_info _swigc__p_wxPrintDialogData[] = { {&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
33814 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}};
33815 static swig_cast_info _swigc__p_wxPrinter[] = { {&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
33816 static swig_cast_info _swigc__p_wxProgressDialog[] = { {&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
33817 static swig_cast_info _swigc__p_wxPyHtmlListBox[] = { {&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
33818 static swig_cast_info _swigc__p_wxPyPanel[] = { {&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
33819 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}};
33820 static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = { {&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
33821 static swig_cast_info _swigc__p_wxPyPreviewFrame[] = { {&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
33822 static swig_cast_info _swigc__p_wxPyPrintPreview[] = { {&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
33823 static swig_cast_info _swigc__p_wxPyPrintout[] = { {&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
33824 static swig_cast_info _swigc__p_wxPyScrolledWindow[] = { {&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
33825 static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = { {&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
33826 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}};
33827 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}};
33828 static swig_cast_info _swigc__p_wxPyWindow[] = { {&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
33829 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = { {&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
33830 static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
33831 static swig_cast_info _swigc__p_wxRegion[] = { {&_swigt__p_wxRegion, 0, 0, 0},{0, 0, 0, 0}};
33832 static swig_cast_info _swigc__p_wxSashEvent[] = { {&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
33833 static swig_cast_info _swigc__p_wxSashLayoutWindow[] = { {&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
33834 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}};
33835 static swig_cast_info _swigc__p_wxScrollWinEvent[] = { {&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
33836 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}};
33837 static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = { {&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
33838 static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
33839 static swig_cast_info _swigc__p_wxSplashScreen[] = { {&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
33840 static swig_cast_info _swigc__p_wxSplashScreenWindow[] = { {&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
33841 static swig_cast_info _swigc__p_wxSplitterEvent[] = { {&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
33842 static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
33843 static swig_cast_info _swigc__p_wxStatusBar[] = { {&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
33844 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = { {&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
33845 static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
33846 static swig_cast_info _swigc__p_wxTaskBarIcon[] = { {&_swigt__p_wxTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
33847 static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = { {&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
33848 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}};
33849 static swig_cast_info _swigc__p_wxTipWindow[] = { {&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
33850 static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
33851 static swig_cast_info _swigc__p_wxTopLevelWindow[] = { {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0},{0, 0, 0, 0}};
33852 static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
33853 static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
33854
33855 static swig_cast_info *swig_cast_initial[] = {
33856 _swigc__p_bool,
33857 _swigc__p_char,
33858 _swigc__p_form_ops_t,
33859 _swigc__p_int,
33860 _swigc__p_unsigned_char,
33861 _swigc__p_unsigned_int,
33862 _swigc__p_unsigned_long,
33863 _swigc__p_wxANIHandler,
33864 _swigc__p_wxAcceleratorTable,
33865 _swigc__p_wxActivateEvent,
33866 _swigc__p_wxArrayInt,
33867 _swigc__p_wxBMPHandler,
33868 _swigc__p_wxBitmap,
33869 _swigc__p_wxBoxSizer,
33870 _swigc__p_wxCURHandler,
33871 _swigc__p_wxCalculateLayoutEvent,
33872 _swigc__p_wxChildFocusEvent,
33873 _swigc__p_wxClipboardTextEvent,
33874 _swigc__p_wxCloseEvent,
33875 _swigc__p_wxColour,
33876 _swigc__p_wxColourData,
33877 _swigc__p_wxColourDialog,
33878 _swigc__p_wxCommandEvent,
33879 _swigc__p_wxContextMenuEvent,
33880 _swigc__p_wxControl,
33881 _swigc__p_wxControlWithItems,
33882 _swigc__p_wxDC,
33883 _swigc__p_wxDateEvent,
33884 _swigc__p_wxDialog,
33885 _swigc__p_wxDirDialog,
33886 _swigc__p_wxDisplayChangedEvent,
33887 _swigc__p_wxDropFilesEvent,
33888 _swigc__p_wxDuplexMode,
33889 _swigc__p_wxEraseEvent,
33890 _swigc__p_wxEvent,
33891 _swigc__p_wxEvtHandler,
33892 _swigc__p_wxFSFile,
33893 _swigc__p_wxFileDialog,
33894 _swigc__p_wxFileSystem,
33895 _swigc__p_wxFindDialogEvent,
33896 _swigc__p_wxFindReplaceData,
33897 _swigc__p_wxFindReplaceDialog,
33898 _swigc__p_wxFlexGridSizer,
33899 _swigc__p_wxFocusEvent,
33900 _swigc__p_wxFont,
33901 _swigc__p_wxFontData,
33902 _swigc__p_wxFontDialog,
33903 _swigc__p_wxFrame,
33904 _swigc__p_wxGBSizerItem,
33905 _swigc__p_wxGIFHandler,
33906 _swigc__p_wxGridBagSizer,
33907 _swigc__p_wxGridSizer,
33908 _swigc__p_wxHtmlLinkInfo,
33909 _swigc__p_wxICOHandler,
33910 _swigc__p_wxIcon,
33911 _swigc__p_wxIconBundle,
33912 _swigc__p_wxIconizeEvent,
33913 _swigc__p_wxIdleEvent,
33914 _swigc__p_wxImage,
33915 _swigc__p_wxImageHandler,
33916 _swigc__p_wxIndividualLayoutConstraint,
33917 _swigc__p_wxInitDialogEvent,
33918 _swigc__p_wxJPEGHandler,
33919 _swigc__p_wxKeyEvent,
33920 _swigc__p_wxLayoutAlgorithm,
33921 _swigc__p_wxLayoutConstraints,
33922 _swigc__p_wxMDIChildFrame,
33923 _swigc__p_wxMDIClientWindow,
33924 _swigc__p_wxMDIParentFrame,
33925 _swigc__p_wxMaximizeEvent,
33926 _swigc__p_wxMenu,
33927 _swigc__p_wxMenuBar,
33928 _swigc__p_wxMenuEvent,
33929 _swigc__p_wxMenuItem,
33930 _swigc__p_wxMessageDialog,
33931 _swigc__p_wxMiniFrame,
33932 _swigc__p_wxMouseCaptureChangedEvent,
33933 _swigc__p_wxMouseCaptureLostEvent,
33934 _swigc__p_wxMouseEvent,
33935 _swigc__p_wxMoveEvent,
33936 _swigc__p_wxMultiChoiceDialog,
33937 _swigc__p_wxNavigationKeyEvent,
33938 _swigc__p_wxNcPaintEvent,
33939 _swigc__p_wxNotifyEvent,
33940 _swigc__p_wxNumberEntryDialog,
33941 _swigc__p_wxObject,
33942 _swigc__p_wxPCXHandler,
33943 _swigc__p_wxPNGHandler,
33944 _swigc__p_wxPNMHandler,
33945 _swigc__p_wxPageSetupDialog,
33946 _swigc__p_wxPageSetupDialogData,
33947 _swigc__p_wxPaintEvent,
33948 _swigc__p_wxPaletteChangedEvent,
33949 _swigc__p_wxPanel,
33950 _swigc__p_wxPaperSize,
33951 _swigc__p_wxPasswordEntryDialog,
33952 _swigc__p_wxPoint,
33953 _swigc__p_wxPopupWindow,
33954 _swigc__p_wxPreviewCanvas,
33955 _swigc__p_wxPreviewControlBar,
33956 _swigc__p_wxPreviewFrame,
33957 _swigc__p_wxPrintData,
33958 _swigc__p_wxPrintDialog,
33959 _swigc__p_wxPrintDialogData,
33960 _swigc__p_wxPrintPreview,
33961 _swigc__p_wxPrinter,
33962 _swigc__p_wxProgressDialog,
33963 _swigc__p_wxPyApp,
33964 _swigc__p_wxPyCommandEvent,
33965 _swigc__p_wxPyEvent,
33966 _swigc__p_wxPyHtmlListBox,
33967 _swigc__p_wxPyImageHandler,
33968 _swigc__p_wxPyPanel,
33969 _swigc__p_wxPyPopupTransientWindow,
33970 _swigc__p_wxPyPreviewControlBar,
33971 _swigc__p_wxPyPreviewFrame,
33972 _swigc__p_wxPyPrintPreview,
33973 _swigc__p_wxPyPrintout,
33974 _swigc__p_wxPyScrolledWindow,
33975 _swigc__p_wxPySizer,
33976 _swigc__p_wxPyTaskBarIcon,
33977 _swigc__p_wxPyVListBox,
33978 _swigc__p_wxPyVScrolledWindow,
33979 _swigc__p_wxPyValidator,
33980 _swigc__p_wxPyWindow,
33981 _swigc__p_wxQueryLayoutInfoEvent,
33982 _swigc__p_wxQueryNewPaletteEvent,
33983 _swigc__p_wxRect,
33984 _swigc__p_wxRegion,
33985 _swigc__p_wxSashEvent,
33986 _swigc__p_wxSashLayoutWindow,
33987 _swigc__p_wxSashWindow,
33988 _swigc__p_wxScrollEvent,
33989 _swigc__p_wxScrollWinEvent,
33990 _swigc__p_wxScrolledWindow,
33991 _swigc__p_wxSetCursorEvent,
33992 _swigc__p_wxShowEvent,
33993 _swigc__p_wxSingleChoiceDialog,
33994 _swigc__p_wxSize,
33995 _swigc__p_wxSizeEvent,
33996 _swigc__p_wxSizer,
33997 _swigc__p_wxSizerItem,
33998 _swigc__p_wxSplashScreen,
33999 _swigc__p_wxSplashScreenWindow,
34000 _swigc__p_wxSplitterEvent,
34001 _swigc__p_wxSplitterWindow,
34002 _swigc__p_wxStaticBoxSizer,
34003 _swigc__p_wxStatusBar,
34004 _swigc__p_wxStdDialogButtonSizer,
34005 _swigc__p_wxString,
34006 _swigc__p_wxSysColourChangedEvent,
34007 _swigc__p_wxTGAHandler,
34008 _swigc__p_wxTIFFHandler,
34009 _swigc__p_wxTaskBarIcon,
34010 _swigc__p_wxTaskBarIconEvent,
34011 _swigc__p_wxTextEntryDialog,
34012 _swigc__p_wxTipWindow,
34013 _swigc__p_wxToolBar,
34014 _swigc__p_wxTopLevelWindow,
34015 _swigc__p_wxUpdateUIEvent,
34016 _swigc__p_wxValidator,
34017 _swigc__p_wxVisualAttributes,
34018 _swigc__p_wxWindow,
34019 _swigc__p_wxWindowCreateEvent,
34020 _swigc__p_wxWindowDestroyEvent,
34021 _swigc__p_wxXPMHandler,
34022 };
34023
34024
34025 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
34026
34027 static swig_const_info swig_const_table[] = {
34028 {0, 0, 0, 0.0, 0, 0}};
34029
34030 #ifdef __cplusplus
34031 }
34032 #endif
34033 /* -----------------------------------------------------------------------------
34034 * Type initialization:
34035 * This problem is tough by the requirement that no dynamic
34036 * memory is used. Also, since swig_type_info structures store pointers to
34037 * swig_cast_info structures and swig_cast_info structures store pointers back
34038 * to swig_type_info structures, we need some lookup code at initialization.
34039 * The idea is that swig generates all the structures that are needed.
34040 * The runtime then collects these partially filled structures.
34041 * The SWIG_InitializeModule function takes these initial arrays out of
34042 * swig_module, and does all the lookup, filling in the swig_module.types
34043 * array with the correct data and linking the correct swig_cast_info
34044 * structures together.
34045 *
34046 * The generated swig_type_info structures are assigned staticly to an initial
34047 * array. We just loop though that array, and handle each type individually.
34048 * First we lookup if this type has been already loaded, and if so, use the
34049 * loaded structure instead of the generated one. Then we have to fill in the
34050 * cast linked list. The cast data is initially stored in something like a
34051 * two-dimensional array. Each row corresponds to a type (there are the same
34052 * number of rows as there are in the swig_type_initial array). Each entry in
34053 * a column is one of the swig_cast_info structures for that type.
34054 * The cast_initial array is actually an array of arrays, because each row has
34055 * a variable number of columns. So to actually build the cast linked list,
34056 * we find the array of casts associated with the type, and loop through it
34057 * adding the casts to the list. The one last trick we need to do is making
34058 * sure the type pointer in the swig_cast_info struct is correct.
34059 *
34060 * First off, we lookup the cast->type name to see if it is already loaded.
34061 * There are three cases to handle:
34062 * 1) If the cast->type has already been loaded AND the type we are adding
34063 * casting info to has not been loaded (it is in this module), THEN we
34064 * replace the cast->type pointer with the type pointer that has already
34065 * been loaded.
34066 * 2) If BOTH types (the one we are adding casting info to, and the
34067 * cast->type) are loaded, THEN the cast info has already been loaded by
34068 * the previous module so we just ignore it.
34069 * 3) Finally, if cast->type has not already been loaded, then we add that
34070 * swig_cast_info to the linked list (because the cast->type) pointer will
34071 * be correct.
34072 * ----------------------------------------------------------------------------- */
34073
34074 #ifdef __cplusplus
34075 extern "C" {
34076 #if 0
34077 } /* c-mode */
34078 #endif
34079 #endif
34080
34081 #if 0
34082 #define SWIGRUNTIME_DEBUG
34083 #endif
34084
34085 SWIGRUNTIME void
34086 SWIG_InitializeModule(void *clientdata) {
34087 size_t i;
34088 swig_module_info *module_head;
34089 static int init_run = 0;
34090
34091 clientdata = clientdata;
34092
34093 if (init_run) return;
34094 init_run = 1;
34095
34096 /* Initialize the swig_module */
34097 swig_module.type_initial = swig_type_initial;
34098 swig_module.cast_initial = swig_cast_initial;
34099
34100 /* Try and load any already created modules */
34101 module_head = SWIG_GetModule(clientdata);
34102 if (module_head) {
34103 swig_module.next = module_head->next;
34104 module_head->next = &swig_module;
34105 } else {
34106 /* This is the first module loaded */
34107 swig_module.next = &swig_module;
34108 SWIG_SetModule(clientdata, &swig_module);
34109 }
34110
34111 /* Now work on filling in swig_module.types */
34112 #ifdef SWIGRUNTIME_DEBUG
34113 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
34114 #endif
34115 for (i = 0; i < swig_module.size; ++i) {
34116 swig_type_info *type = 0;
34117 swig_type_info *ret;
34118 swig_cast_info *cast;
34119
34120 #ifdef SWIGRUNTIME_DEBUG
34121 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
34122 #endif
34123
34124 /* if there is another module already loaded */
34125 if (swig_module.next != &swig_module) {
34126 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
34127 }
34128 if (type) {
34129 /* Overwrite clientdata field */
34130 #ifdef SWIGRUNTIME_DEBUG
34131 printf("SWIG_InitializeModule: found type %s\n", type->name);
34132 #endif
34133 if (swig_module.type_initial[i]->clientdata) {
34134 type->clientdata = swig_module.type_initial[i]->clientdata;
34135 #ifdef SWIGRUNTIME_DEBUG
34136 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
34137 #endif
34138 }
34139 } else {
34140 type = swig_module.type_initial[i];
34141 }
34142
34143 /* Insert casting types */
34144 cast = swig_module.cast_initial[i];
34145 while (cast->type) {
34146 /* Don't need to add information already in the list */
34147 ret = 0;
34148 #ifdef SWIGRUNTIME_DEBUG
34149 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
34150 #endif
34151 if (swig_module.next != &swig_module) {
34152 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
34153 #ifdef SWIGRUNTIME_DEBUG
34154 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
34155 #endif
34156 }
34157 if (ret) {
34158 if (type == swig_module.type_initial[i]) {
34159 #ifdef SWIGRUNTIME_DEBUG
34160 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
34161 #endif
34162 cast->type = ret;
34163 ret = 0;
34164 } else {
34165 /* Check for casting already in the list */
34166 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
34167 #ifdef SWIGRUNTIME_DEBUG
34168 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
34169 #endif
34170 if (!ocast) ret = 0;
34171 }
34172 }
34173
34174 if (!ret) {
34175 #ifdef SWIGRUNTIME_DEBUG
34176 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
34177 #endif
34178 if (type->cast) {
34179 type->cast->prev = cast;
34180 cast->next = type->cast;
34181 }
34182 type->cast = cast;
34183 }
34184 cast++;
34185 }
34186 /* Set entry in modules->types array equal to the type */
34187 swig_module.types[i] = type;
34188 }
34189 swig_module.types[i] = 0;
34190
34191 #ifdef SWIGRUNTIME_DEBUG
34192 printf("**** SWIG_InitializeModule: Cast List ******\n");
34193 for (i = 0; i < swig_module.size; ++i) {
34194 int j = 0;
34195 swig_cast_info *cast = swig_module.cast_initial[i];
34196 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
34197 while (cast->type) {
34198 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
34199 cast++;
34200 ++j;
34201 }
34202 printf("---- Total casts: %d\n",j);
34203 }
34204 printf("**** SWIG_InitializeModule: Cast List ******\n");
34205 #endif
34206 }
34207
34208 /* This function will propagate the clientdata field of type to
34209 * any new swig_type_info structures that have been added into the list
34210 * of equivalent types. It is like calling
34211 * SWIG_TypeClientData(type, clientdata) a second time.
34212 */
34213 SWIGRUNTIME void
34214 SWIG_PropagateClientData(void) {
34215 size_t i;
34216 swig_cast_info *equiv;
34217 static int init_run = 0;
34218
34219 if (init_run) return;
34220 init_run = 1;
34221
34222 for (i = 0; i < swig_module.size; i++) {
34223 if (swig_module.types[i]->clientdata) {
34224 equiv = swig_module.types[i]->cast;
34225 while (equiv) {
34226 if (!equiv->converter) {
34227 if (equiv->type && !equiv->type->clientdata)
34228 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
34229 }
34230 equiv = equiv->next;
34231 }
34232 }
34233 }
34234 }
34235
34236 #ifdef __cplusplus
34237 #if 0
34238 {
34239 /* c-mode */
34240 #endif
34241 }
34242 #endif
34243
34244
34245
34246 #ifdef __cplusplus
34247 extern "C" {
34248 #endif
34249
34250 /* Python-specific SWIG API */
34251 #define SWIG_newvarlink() SWIG_Python_newvarlink()
34252 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
34253 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
34254
34255 /* -----------------------------------------------------------------------------
34256 * global variable support code.
34257 * ----------------------------------------------------------------------------- */
34258
34259 typedef struct swig_globalvar {
34260 char *name; /* Name of global variable */
34261 PyObject *(*get_attr)(void); /* Return the current value */
34262 int (*set_attr)(PyObject *); /* Set the value */
34263 struct swig_globalvar *next;
34264 } swig_globalvar;
34265
34266 typedef struct swig_varlinkobject {
34267 PyObject_HEAD
34268 swig_globalvar *vars;
34269 } swig_varlinkobject;
34270
34271 SWIGINTERN PyObject *
34272 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
34273 return PyString_FromString("<Swig global variables>");
34274 }
34275
34276 SWIGINTERN PyObject *
34277 swig_varlink_str(swig_varlinkobject *v) {
34278 PyObject *str = PyString_FromString("(");
34279 swig_globalvar *var;
34280 for (var = v->vars; var; var=var->next) {
34281 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
34282 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
34283 }
34284 PyString_ConcatAndDel(&str,PyString_FromString(")"));
34285 return str;
34286 }
34287
34288 SWIGINTERN int
34289 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
34290 PyObject *str = swig_varlink_str(v);
34291 fprintf(fp,"Swig global variables ");
34292 fprintf(fp,"%s\n", PyString_AsString(str));
34293 Py_DECREF(str);
34294 return 0;
34295 }
34296
34297 SWIGINTERN void
34298 swig_varlink_dealloc(swig_varlinkobject *v) {
34299 swig_globalvar *var = v->vars;
34300 while (var) {
34301 swig_globalvar *n = var->next;
34302 free(var->name);
34303 free(var);
34304 var = n;
34305 }
34306 }
34307
34308 SWIGINTERN PyObject *
34309 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
34310 PyObject *res = NULL;
34311 swig_globalvar *var = v->vars;
34312 while (var) {
34313 if (strcmp(var->name,n) == 0) {
34314 res = (*var->get_attr)();
34315 break;
34316 }
34317 var = var->next;
34318 }
34319 if (res == NULL && !PyErr_Occurred()) {
34320 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
34321 }
34322 return res;
34323 }
34324
34325 SWIGINTERN int
34326 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
34327 int res = 1;
34328 swig_globalvar *var = v->vars;
34329 while (var) {
34330 if (strcmp(var->name,n) == 0) {
34331 res = (*var->set_attr)(p);
34332 break;
34333 }
34334 var = var->next;
34335 }
34336 if (res == 1 && !PyErr_Occurred()) {
34337 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
34338 }
34339 return res;
34340 }
34341
34342 SWIGINTERN PyTypeObject*
34343 swig_varlink_type(void) {
34344 static char varlink__doc__[] = "Swig var link object";
34345 static PyTypeObject varlink_type;
34346 static int type_init = 0;
34347 if (!type_init) {
34348 const PyTypeObject tmp
34349 = {
34350 PyObject_HEAD_INIT(NULL)
34351 0, /* Number of items in variable part (ob_size) */
34352 (char *)"swigvarlink", /* Type name (tp_name) */
34353 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
34354 0, /* Itemsize (tp_itemsize) */
34355 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
34356 (printfunc) swig_varlink_print, /* Print (tp_print) */
34357 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
34358 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
34359 0, /* tp_compare */
34360 (reprfunc) swig_varlink_repr, /* tp_repr */
34361 0, /* tp_as_number */
34362 0, /* tp_as_sequence */
34363 0, /* tp_as_mapping */
34364 0, /* tp_hash */
34365 0, /* tp_call */
34366 (reprfunc)swig_varlink_str, /* tp_str */
34367 0, /* tp_getattro */
34368 0, /* tp_setattro */
34369 0, /* tp_as_buffer */
34370 0, /* tp_flags */
34371 varlink__doc__, /* tp_doc */
34372 0, /* tp_traverse */
34373 0, /* tp_clear */
34374 0, /* tp_richcompare */
34375 0, /* tp_weaklistoffset */
34376 #if PY_VERSION_HEX >= 0x02020000
34377 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
34378 #endif
34379 #if PY_VERSION_HEX >= 0x02030000
34380 0, /* tp_del */
34381 #endif
34382 #ifdef COUNT_ALLOCS
34383 0,0,0,0 /* tp_alloc -> tp_next */
34384 #endif
34385 };
34386 varlink_type = tmp;
34387 varlink_type.ob_type = &PyType_Type;
34388 type_init = 1;
34389 }
34390 return &varlink_type;
34391 }
34392
34393 /* Create a variable linking object for use later */
34394 SWIGINTERN PyObject *
34395 SWIG_Python_newvarlink(void) {
34396 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
34397 if (result) {
34398 result->vars = 0;
34399 }
34400 return ((PyObject*) result);
34401 }
34402
34403 SWIGINTERN void
34404 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
34405 swig_varlinkobject *v = (swig_varlinkobject *) p;
34406 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
34407 if (gv) {
34408 size_t size = strlen(name)+1;
34409 gv->name = (char *)malloc(size);
34410 if (gv->name) {
34411 strncpy(gv->name,name,size);
34412 gv->get_attr = get_attr;
34413 gv->set_attr = set_attr;
34414 gv->next = v->vars;
34415 }
34416 }
34417 v->vars = gv;
34418 }
34419
34420 SWIGINTERN PyObject *
34421 SWIG_globals() {
34422 static PyObject *_SWIG_globals = 0;
34423 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
34424 return _SWIG_globals;
34425 }
34426
34427 /* -----------------------------------------------------------------------------
34428 * constants/methods manipulation
34429 * ----------------------------------------------------------------------------- */
34430
34431 /* Install Constants */
34432 SWIGINTERN void
34433 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
34434 PyObject *obj = 0;
34435 size_t i;
34436 for (i = 0; constants[i].type; ++i) {
34437 switch(constants[i].type) {
34438 case SWIG_PY_POINTER:
34439 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
34440 break;
34441 case SWIG_PY_BINARY:
34442 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
34443 break;
34444 default:
34445 obj = 0;
34446 break;
34447 }
34448 if (obj) {
34449 PyDict_SetItemString(d, constants[i].name, obj);
34450 Py_DECREF(obj);
34451 }
34452 }
34453 }
34454
34455 /* -----------------------------------------------------------------------------*/
34456 /* Fix SwigMethods to carry the callback ptrs when needed */
34457 /* -----------------------------------------------------------------------------*/
34458
34459 SWIGINTERN void
34460 SWIG_Python_FixMethods(PyMethodDef *methods,
34461 swig_const_info *const_table,
34462 swig_type_info **types,
34463 swig_type_info **types_initial) {
34464 size_t i;
34465 for (i = 0; methods[i].ml_name; ++i) {
34466 const char *c = methods[i].ml_doc;
34467 if (c && (c = strstr(c, "swig_ptr: "))) {
34468 int j;
34469 swig_const_info *ci = 0;
34470 const char *name = c + 10;
34471 for (j = 0; const_table[j].type; ++j) {
34472 if (strncmp(const_table[j].name, name,
34473 strlen(const_table[j].name)) == 0) {
34474 ci = &(const_table[j]);
34475 break;
34476 }
34477 }
34478 if (ci) {
34479 size_t shift = (ci->ptype) - types;
34480 swig_type_info *ty = types_initial[shift];
34481 size_t ldoc = (c - methods[i].ml_doc);
34482 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
34483 char *ndoc = (char*)malloc(ldoc + lptr + 10);
34484 if (ndoc) {
34485 char *buff = ndoc;
34486 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
34487 if (ptr) {
34488 strncpy(buff, methods[i].ml_doc, ldoc);
34489 buff += ldoc;
34490 strncpy(buff, "swig_ptr: ", 10);
34491 buff += 10;
34492 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
34493 methods[i].ml_doc = ndoc;
34494 }
34495 }
34496 }
34497 }
34498 }
34499 }
34500
34501 #ifdef __cplusplus
34502 }
34503 #endif
34504
34505 /* -----------------------------------------------------------------------------*
34506 * Partial Init method
34507 * -----------------------------------------------------------------------------*/
34508
34509 #ifdef __cplusplus
34510 extern "C"
34511 #endif
34512 SWIGEXPORT void SWIG_init(void) {
34513 PyObject *m, *d;
34514
34515 /* Fix SwigMethods to carry the callback ptrs when needed */
34516 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
34517
34518 m = Py_InitModule((char *) SWIG_name, SwigMethods);
34519 d = PyModule_GetDict(m);
34520
34521 SWIG_InitializeModule(0);
34522 SWIG_InstallConstants(d,swig_const_table);
34523
34524
34525 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
34526 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get, FrameNameStr_set);
34527 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get, DialogNameStr_set);
34528 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get, StatusLineNameStr_set);
34529 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get, ToolBarNameStr_set);
34530 SWIG_Python_SetConstant(d, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP)));
34531 SWIG_Python_SetConstant(d, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE)));
34532 SWIG_Python_SetConstant(d, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE)));
34533 SWIG_Python_SetConstant(d, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE)));
34534 SWIG_Python_SetConstant(d, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX)));
34535 SWIG_Python_SetConstant(d, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME)));
34536 SWIG_Python_SetConstant(d, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU)));
34537 SWIG_Python_SetConstant(d, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX)));
34538 SWIG_Python_SetConstant(d, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX)));
34539 SWIG_Python_SetConstant(d, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ)));
34540 SWIG_Python_SetConstant(d, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT)));
34541 SWIG_Python_SetConstant(d, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX)));
34542 SWIG_Python_SetConstant(d, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER)));
34543 SWIG_Python_SetConstant(d, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT)));
34544 SWIG_Python_SetConstant(d, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE)));
34545 SWIG_Python_SetConstant(d, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE)));
34546 SWIG_Python_SetConstant(d, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW)));
34547 SWIG_Python_SetConstant(d, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT)));
34548 SWIG_Python_SetConstant(d, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU)));
34549 SWIG_Python_SetConstant(d, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR)));
34550 SWIG_Python_SetConstant(d, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED)));
34551 SWIG_Python_SetConstant(d, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER)));
34552 SWIG_Python_SetConstant(d, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL)));
34553 SWIG_Python_SetConstant(d, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL)));
34554 SWIG_Python_SetConstant(d, "WS_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxWS_EX_CONTEXTHELP)));
34555 SWIG_Python_SetConstant(d, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL)));
34556 SWIG_Python_SetConstant(d, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS)));
34557 SWIG_Python_SetConstant(d, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS)));
34558 SWIG_Python_SetConstant(d, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D)));
34559 SWIG_Python_SetConstant(d, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP)));
34560 SWIG_Python_SetConstant(d, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP)));
34561 SWIG_Python_SetConstant(d, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR)));
34562 SWIG_Python_SetConstant(d, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR)));
34563 SWIG_Python_SetConstant(d, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR)));
34564 SWIG_Python_SetConstant(d, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER)));
34565 SWIG_Python_SetConstant(d, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION)));
34566 SWIG_Python_SetConstant(d, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL)));
34567 SWIG_Python_SetConstant(d, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG)));
34568 SWIG_Python_SetConstant(d, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO)));
34569 SWIG_Python_SetConstant(d, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR)));
34570 SWIG_Python_SetConstant(d, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags)));
34571 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT)));
34572 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN)));
34573 SWIG_Python_SetConstant(d, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE)));
34574 SWIG_Python_SetConstant(d, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT)));
34575 SWIG_Python_SetConstant(d, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT)));
34576 SWIG_Python_SetConstant(d, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL)));
34577 SWIG_Python_SetConstant(d, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT)));
34578 SWIG_Python_SetConstant(d, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED)));
34579 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get, SplitterNameStr_set);
34580 SWIG_Python_SetConstant(d, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER)));
34581 SWIG_Python_SetConstant(d, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH)));
34582 SWIG_Python_SetConstant(d, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT)));
34583 SWIG_Python_SetConstant(d, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE)));
34584 SWIG_Python_SetConstant(d, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH)));
34585 SWIG_Python_SetConstant(d, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER)));
34586 SWIG_Python_SetConstant(d, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME)));
34587 SWIG_Python_SetConstant(d, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER)));
34588 SWIG_Python_SetConstant(d, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D)));
34589 SWIG_Python_SetConstant(d, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL)));
34590 SWIG_Python_SetConstant(d, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL)));
34591 SWIG_Python_SetConstant(d, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE)));
34592 SWIG_Python_SetConstant(d, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING)));
34593 SWIG_Python_SetConstant(d, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN)));
34594 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
34595 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
34596 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
34597 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
34598 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get, SashNameStr_set);
34599 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get, SashLayoutNameStr_set);
34600 SWIG_Python_SetConstant(d, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE)));
34601 SWIG_Python_SetConstant(d, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING)));
34602 SWIG_Python_SetConstant(d, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN)));
34603 SWIG_Python_SetConstant(d, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER)));
34604 SWIG_Python_SetConstant(d, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER)));
34605 SWIG_Python_SetConstant(d, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH)));
34606 SWIG_Python_SetConstant(d, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER)));
34607 SWIG_Python_SetConstant(d, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D)));
34608 SWIG_Python_SetConstant(d, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP)));
34609 SWIG_Python_SetConstant(d, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT)));
34610 SWIG_Python_SetConstant(d, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM)));
34611 SWIG_Python_SetConstant(d, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT)));
34612 SWIG_Python_SetConstant(d, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE)));
34613 SWIG_Python_SetConstant(d, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK)));
34614 SWIG_Python_SetConstant(d, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE)));
34615 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
34616 SWIG_Python_SetConstant(d, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL)));
34617 SWIG_Python_SetConstant(d, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL)));
34618 SWIG_Python_SetConstant(d, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE)));
34619 SWIG_Python_SetConstant(d, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP)));
34620 SWIG_Python_SetConstant(d, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT)));
34621 SWIG_Python_SetConstant(d, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT)));
34622 SWIG_Python_SetConstant(d, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM)));
34623 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y)));
34624 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X)));
34625 SWIG_Python_SetConstant(d, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH)));
34626 SWIG_Python_SetConstant(d, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY)));
34627 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
34628 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
34629 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get, VListBoxNameStr_set);
34630
34631 // Map renamed classes back to their common name for OOR
34632 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
34633 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
34634 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
34635
34636 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
34637 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
34638 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
34639 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
34640 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
34641 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
34642 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
34643 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get, FileSelectorPromptStr_set);
34644 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get, DirSelectorPromptStr_set);
34645 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get, DirDialogNameStr_set);
34646 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get, FileSelectorDefaultWildcardStr_set);
34647 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get, GetTextFromUserPromptStr_set);
34648 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get, MessageBoxCaptionStr_set);
34649 SWIG_Python_SetConstant(d, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON)));
34650 SWIG_Python_SetConstant(d, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE)));
34651 SWIG_Python_SetConstant(d, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR)));
34652 SWIG_Python_SetConstant(d, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN)));
34653 SWIG_Python_SetConstant(d, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE)));
34654 SWIG_Python_SetConstant(d, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT)));
34655 SWIG_Python_SetConstant(d, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST)));
34656 SWIG_Python_SetConstant(d, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE)));
34657 SWIG_Python_SetConstant(d, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR)));
34658 SWIG_Python_SetConstant(d, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY)));
34659 SWIG_Python_SetConstant(d, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN)));
34660 SWIG_Python_SetConstant(d, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE)));
34661 SWIG_Python_SetConstant(d, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT)));
34662 SWIG_Python_SetConstant(d, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST)));
34663 SWIG_Python_SetConstant(d, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE)));
34664 SWIG_Python_SetConstant(d, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR)));
34665 SWIG_Python_SetConstant(d, "FD_PREVIEW",SWIG_From_int(static_cast< int >(wxFD_PREVIEW)));
34666 SWIG_Python_SetConstant(d, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE)));
34667 SWIG_Python_SetConstant(d, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE)));
34668 SWIG_Python_SetConstant(d, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle)));
34669 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get, GetPasswordFromUserPromptStr_set);
34670 SWIG_Python_SetConstant(d, "PD_AUTO_HIDE",SWIG_From_int(static_cast< int >(wxPD_AUTO_HIDE)));
34671 SWIG_Python_SetConstant(d, "PD_APP_MODAL",SWIG_From_int(static_cast< int >(wxPD_APP_MODAL)));
34672 SWIG_Python_SetConstant(d, "PD_CAN_ABORT",SWIG_From_int(static_cast< int >(wxPD_CAN_ABORT)));
34673 SWIG_Python_SetConstant(d, "PD_ELAPSED_TIME",SWIG_From_int(static_cast< int >(wxPD_ELAPSED_TIME)));
34674 SWIG_Python_SetConstant(d, "PD_ESTIMATED_TIME",SWIG_From_int(static_cast< int >(wxPD_ESTIMATED_TIME)));
34675 SWIG_Python_SetConstant(d, "PD_REMAINING_TIME",SWIG_From_int(static_cast< int >(wxPD_REMAINING_TIME)));
34676 SWIG_Python_SetConstant(d, "PD_SMOOTH",SWIG_From_int(static_cast< int >(wxPD_SMOOTH)));
34677 SWIG_Python_SetConstant(d, "PD_CAN_SKIP",SWIG_From_int(static_cast< int >(wxPD_CAN_SKIP)));
34678 SWIG_Python_SetConstant(d, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN)));
34679 SWIG_Python_SetConstant(d, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD)));
34680 SWIG_Python_SetConstant(d, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE)));
34681 SWIG_Python_SetConstant(d, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG)));
34682 SWIG_Python_SetConstant(d, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN)));
34683 SWIG_Python_SetConstant(d, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE)));
34684 SWIG_Python_SetConstant(d, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD)));
34685 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
34686 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
34687 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
34688 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
34689 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
34690 SWIG_Python_SetConstant(d, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
34691 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
34692 SWIG_Python_SetConstant(d, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
34693 SWIG_Python_SetConstant(d, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
34694 SWIG_Python_SetConstant(d, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
34695 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
34696 SWIG_Python_SetConstant(d, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
34697 SWIG_Python_SetConstant(d, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
34698 SWIG_Python_SetConstant(d, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
34699 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get, PrintoutTitleStr_set);
34700 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get, PreviewCanvasNameStr_set);
34701 SWIG_Python_SetConstant(d, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE)));
34702 SWIG_Python_SetConstant(d, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW)));
34703 SWIG_Python_SetConstant(d, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE)));
34704 SWIG_Python_SetConstant(d, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER)));
34705 SWIG_Python_SetConstant(d, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM)));
34706 SWIG_Python_SetConstant(d, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT)));
34707 SWIG_Python_SetConstant(d, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE)));
34708 SWIG_Python_SetConstant(d, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER)));
34709 SWIG_Python_SetConstant(d, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE)));
34710 SWIG_Python_SetConstant(d, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL)));
34711 SWIG_Python_SetConstant(d, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE)));
34712 SWIG_Python_SetConstant(d, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL)));
34713 SWIG_Python_SetConstant(d, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO)));
34714 SWIG_Python_SetConstant(d, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR)));
34715 SWIG_Python_SetConstant(d, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT)));
34716 SWIG_Python_SetConstant(d, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT)));
34717 SWIG_Python_SetConstant(d, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY)));
34718 SWIG_Python_SetConstant(d, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE)));
34719 SWIG_Python_SetConstant(d, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE)));
34720 SWIG_Python_SetConstant(d, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER)));
34721 SWIG_Python_SetConstant(d, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR)));
34722 SWIG_Python_SetConstant(d, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED)));
34723 SWIG_Python_SetConstant(d, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR)));
34724 SWIG_Python_SetConstant(d, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT)));
34725 SWIG_Python_SetConstant(d, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS)));
34726 SWIG_Python_SetConstant(d, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT)));
34727 SWIG_Python_SetConstant(d, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM)));
34728 SWIG_Python_SetConstant(d, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST)));
34729 SWIG_Python_SetConstant(d, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST)));
34730 SWIG_Python_SetConstant(d, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO)));
34731 SWIG_Python_SetConstant(d, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT)));
34732 SWIG_Python_SetConstant(d, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE)));
34733 SWIG_Python_SetConstant(d, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT)));
34734 SWIG_Python_SetConstant(d, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS)));
34735 SWIG_Python_SetConstant(d, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT)));
34736 SWIG_Python_SetConstant(d, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM)));
34737 SWIG_Python_SetConstant(d, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST)));
34738 SWIG_Python_SetConstant(d, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST)));
34739 SWIG_Python_SetConstant(d, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO)));
34740
34741 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
34742
34743 }
34744