]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/_windows_wrap.cpp
Forward declare new wxPy classes
[wxWidgets.git] / wxPython / src / gtk / _windows_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.29
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
34
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
40 # else
41 # define SWIGTEMPLATEDISAMBIGUATOR
42 # endif
43 # else
44 # define SWIGTEMPLATEDISAMBIGUATOR
45 # endif
46 #endif
47
48 /* inline attribute */
49 #ifndef SWIGINLINE
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
52 # else
53 # define SWIGINLINE
54 # endif
55 #endif
56
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
58 #ifndef SWIGUNUSED
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
62 # else
63 # define SWIGUNUSED
64 # endif
65 # elif defined(__ICC)
66 # define SWIGUNUSED __attribute__ ((__unused__))
67 # else
68 # define SWIGUNUSED
69 # endif
70 #endif
71
72 #ifndef SWIGUNUSEDPARM
73 # ifdef __cplusplus
74 # define SWIGUNUSEDPARM(p)
75 # else
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
77 # endif
78 #endif
79
80 /* internal SWIG method */
81 #ifndef SWIGINTERN
82 # define SWIGINTERN static SWIGUNUSED
83 #endif
84
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
88 #endif
89
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
94 # endif
95 #endif
96
97 #ifndef SWIGEXPORT
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
100 # define SWIGEXPORT
101 # else
102 # define SWIGEXPORT __declspec(dllexport)
103 # endif
104 # else
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
107 # else
108 # define SWIGEXPORT
109 # endif
110 # endif
111 #endif
112
113 /* calling conventions for Windows */
114 #ifndef SWIGSTDCALL
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
117 # else
118 # define SWIGSTDCALL
119 # endif
120 #endif
121
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
125 #endif
126
127
128 /* Python.h has to appear first */
129 #include <Python.h>
130
131 /* -----------------------------------------------------------------------------
132 * swigrun.swg
133 *
134 * This file contains generic CAPI SWIG runtime support for pointer
135 * type checking.
136 * ----------------------------------------------------------------------------- */
137
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
141
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
147 #else
148 # define SWIG_TYPE_TABLE_NAME
149 #endif
150
151 /*
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
155
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
158 */
159
160 #ifndef SWIGRUNTIME
161 # define SWIGRUNTIME SWIGINTERN
162 #endif
163
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
166 #endif
167
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
171 #endif
172
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
175
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
178
179
180 /*
181 Flags/methods for returning states.
182
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
186
187 Use the following macros/flags to set or process the returning
188 states.
189
190 In old swig versions, you usually write code as:
191
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
193 // success code
194 } else {
195 //fail code
196 }
197
198 Now you can be more explicit as:
199
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
202 // success code
203 } else {
204 // fail code
205 }
206
207 that seems to be the same, but now you can also do
208
209 Type *ptr;
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
212 // success code
213 if (SWIG_IsNewObj(res) {
214 ...
215 delete *ptr;
216 } else {
217 ...
218 }
219 } else {
220 // fail code
221 }
222
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
226
227 int SWIG_ConvertPtr(obj, ptr,...) {
228 if (<obj is ok>) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
231 return SWIG_NEWOBJ;
232 } else {
233 *ptr = <ptr to old object>;
234 return SWIG_OLDOBJ;
235 }
236 } else {
237 return SWIG_BADOBJ;
238 }
239 }
240
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
243 swig errors code.
244
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
247
248 int food(double)
249 int fooi(int);
250
251 and you call
252
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
255
256 just use the SWIG_AddCast()/SWIG_CheckState()
257
258
259 */
260 #define SWIG_OK (0)
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
264
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
283
284
285 /* Cast-Rank Mode */
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
289 # endif
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
292 # endif
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE int SWIG_AddCast(int r) {
296 return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
297 }
298 SWIGINTERNINLINE int SWIG_CheckState(int r) {
299 return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
300 }
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
304 #endif
305
306
307
308
309 #include <string.h>
310
311 #ifdef __cplusplus
312 extern "C" {
313 #endif
314
315 typedef void *(*swig_converter_func)(void *);
316 typedef struct swig_type_info *(*swig_dycast_func)(void **);
317
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info {
320 const char *name; /* mangled name of this type */
321 const char *str; /* human readable name of this type */
322 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
324 void *clientdata; /* language specific type data */
325 int owndata; /* flag if the structure owns the clientdata */
326 } swig_type_info;
327
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info {
330 swig_type_info *type; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter; /* function to cast the void pointers */
332 struct swig_cast_info *next; /* pointer to next cast in linked list */
333 struct swig_cast_info *prev; /* pointer to the previous cast */
334 } swig_cast_info;
335
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info {
340 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size; /* Number of types in this module */
342 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
343 swig_type_info **type_initial; /* Array of initially generated type structures */
344 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
345 void *clientdata; /* Language specific module data */
346 } swig_module_info;
347
348 /*
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
351
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
354 */
355 SWIGRUNTIME int
356 SWIG_TypeNameComp(const char *f1, const char *l1,
357 const char *f2, const char *l2) {
358 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
359 while ((*f1 == ' ') && (f1 != l1)) ++f1;
360 while ((*f2 == ' ') && (f2 != l2)) ++f2;
361 if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
362 }
363 return (l1 - f1) - (l2 - f2);
364 }
365
366 /*
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
369 */
370 SWIGRUNTIME int
371 SWIG_TypeEquiv(const char *nb, const char *tb) {
372 int equiv = 0;
373 const char* te = tb + strlen(tb);
374 const char* ne = nb;
375 while (!equiv && *ne) {
376 for (nb = ne; *ne; ++ne) {
377 if (*ne == '|') break;
378 }
379 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
380 if (*ne) ++ne;
381 }
382 return equiv;
383 }
384
385 /*
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
388 */
389 SWIGRUNTIME int
390 SWIG_TypeCompare(const char *nb, const char *tb) {
391 int equiv = 0;
392 const char* te = tb + strlen(tb);
393 const char* ne = nb;
394 while (!equiv && *ne) {
395 for (nb = ne; *ne; ++ne) {
396 if (*ne == '|') break;
397 }
398 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
399 if (*ne) ++ne;
400 }
401 return equiv;
402 }
403
404
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
407 if (ty) { \
408 swig_cast_info *iter = ty->cast; \
409 while (iter) { \
410 if (comparison) { \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
414 if (iter->next) \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
417 iter->prev = 0; \
418 if (ty->cast) ty->cast->prev = iter; \
419 ty->cast = iter; \
420 return iter; \
421 } \
422 iter = iter->next; \
423 } \
424 } \
425 return 0
426
427 /*
428 Check the typename
429 */
430 SWIGRUNTIME swig_cast_info *
431 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
432 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
433 }
434
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info *
437 SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
438 SWIG_TypeCheck_Template(iter->type == from, into);
439 }
440
441 /*
442 Cast a pointer up an inheritance hierarchy
443 */
444 SWIGRUNTIMEINLINE void *
445 SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
446 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
447 }
448
449 /*
450 Dynamic pointer casting. Down an inheritance hierarchy
451 */
452 SWIGRUNTIME swig_type_info *
453 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
454 swig_type_info *lastty = ty;
455 if (!ty || !ty->dcast) return ty;
456 while (ty && (ty->dcast)) {
457 ty = (*ty->dcast)(ptr);
458 if (ty) lastty = ty;
459 }
460 return lastty;
461 }
462
463 /*
464 Return the name associated with this type
465 */
466 SWIGRUNTIMEINLINE const char *
467 SWIG_TypeName(const swig_type_info *ty) {
468 return ty->name;
469 }
470
471 /*
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
474 */
475 SWIGRUNTIME const char *
476 SWIG_TypePrettyName(const swig_type_info *type) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
480 specific. */
481 if (!type) return NULL;
482 if (type->str != NULL) {
483 const char *last_name = type->str;
484 const char *s;
485 for (s = type->str; *s; s++)
486 if (*s == '|') last_name = s+1;
487 return last_name;
488 }
489 else
490 return type->name;
491 }
492
493 /*
494 Set the clientdata field for a type
495 */
496 SWIGRUNTIME void
497 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
498 swig_cast_info *cast = ti->cast;
499 /* if (ti->clientdata == clientdata) return; */
500 ti->clientdata = clientdata;
501
502 while (cast) {
503 if (!cast->converter) {
504 swig_type_info *tc = cast->type;
505 if (!tc->clientdata) {
506 SWIG_TypeClientData(tc, clientdata);
507 }
508 }
509 cast = cast->next;
510 }
511 }
512 SWIGRUNTIME void
513 SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
514 SWIG_TypeClientData(ti, clientdata);
515 ti->owndata = 1;
516 }
517
518 /*
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
521
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
524 the circular list.
525 */
526 SWIGRUNTIME swig_type_info *
527 SWIG_MangledTypeQueryModule(swig_module_info *start,
528 swig_module_info *end,
529 const char *name) {
530 swig_module_info *iter = start;
531 do {
532 if (iter->size) {
533 register size_t l = 0;
534 register size_t r = iter->size - 1;
535 do {
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i = (l + r) >> 1;
538 const char *iname = iter->types[i]->name;
539 if (iname) {
540 register int compare = strcmp(name, iname);
541 if (compare == 0) {
542 return iter->types[i];
543 } else if (compare < 0) {
544 if (i) {
545 r = i - 1;
546 } else {
547 break;
548 }
549 } else if (compare > 0) {
550 l = i + 1;
551 }
552 } else {
553 break; /* should never happen */
554 }
555 } while (l <= r);
556 }
557 iter = iter->next;
558 } while (iter != end);
559 return 0;
560 }
561
562 /*
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
566
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
569 the circular list.
570 */
571 SWIGRUNTIME swig_type_info *
572 SWIG_TypeQueryModule(swig_module_info *start,
573 swig_module_info *end,
574 const char *name) {
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
577 if (ret) {
578 return ret;
579 } else {
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info *iter = start;
583 do {
584 register size_t i = 0;
585 for (; i < iter->size; ++i) {
586 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
587 return iter->types[i];
588 }
589 iter = iter->next;
590 } while (iter != end);
591 }
592
593 /* neither found a match */
594 return 0;
595 }
596
597 /*
598 Pack binary data into a string
599 */
600 SWIGRUNTIME char *
601 SWIG_PackData(char *c, void *ptr, size_t sz) {
602 static const char hex[17] = "0123456789abcdef";
603 register const unsigned char *u = (unsigned char *) ptr;
604 register const unsigned char *eu = u + sz;
605 for (; u != eu; ++u) {
606 register unsigned char uu = *u;
607 *(c++) = hex[(uu & 0xf0) >> 4];
608 *(c++) = hex[uu & 0xf];
609 }
610 return c;
611 }
612
613 /*
614 Unpack binary data from a string
615 */
616 SWIGRUNTIME const char *
617 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
618 register unsigned char *u = (unsigned char *) ptr;
619 register const unsigned char *eu = u + sz;
620 for (; u != eu; ++u) {
621 register char d = *(c++);
622 register unsigned char uu;
623 if ((d >= '0') && (d <= '9'))
624 uu = ((d - '0') << 4);
625 else if ((d >= 'a') && (d <= 'f'))
626 uu = ((d - ('a'-10)) << 4);
627 else
628 return (char *) 0;
629 d = *(c++);
630 if ((d >= '0') && (d <= '9'))
631 uu |= (d - '0');
632 else if ((d >= 'a') && (d <= 'f'))
633 uu |= (d - ('a'-10));
634 else
635 return (char *) 0;
636 *u = uu;
637 }
638 return c;
639 }
640
641 /*
642 Pack 'void *' into a string buffer.
643 */
644 SWIGRUNTIME char *
645 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
646 char *r = buff;
647 if ((2*sizeof(void *) + 2) > bsz) return 0;
648 *(r++) = '_';
649 r = SWIG_PackData(r,&ptr,sizeof(void *));
650 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
651 strcpy(r,name);
652 return buff;
653 }
654
655 SWIGRUNTIME const char *
656 SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
657 if (*c != '_') {
658 if (strcmp(c,"NULL") == 0) {
659 *ptr = (void *) 0;
660 return name;
661 } else {
662 return 0;
663 }
664 }
665 return SWIG_UnpackData(++c,ptr,sizeof(void *));
666 }
667
668 SWIGRUNTIME char *
669 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
670 char *r = buff;
671 size_t lname = (name ? strlen(name) : 0);
672 if ((2*sz + 2 + lname) > bsz) return 0;
673 *(r++) = '_';
674 r = SWIG_PackData(r,ptr,sz);
675 if (lname) {
676 strncpy(r,name,lname+1);
677 } else {
678 *r = 0;
679 }
680 return buff;
681 }
682
683 SWIGRUNTIME const char *
684 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
685 if (*c != '_') {
686 if (strcmp(c,"NULL") == 0) {
687 memset(ptr,0,sz);
688 return name;
689 } else {
690 return 0;
691 }
692 }
693 return SWIG_UnpackData(++c,ptr,sz);
694 }
695
696 #ifdef __cplusplus
697 }
698 #endif
699
700 /* Errors in SWIG */
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
714
715
716
717 /* Python.h has to appear first */
718 #include <Python.h>
719
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
724 # else
725 # define PyOS_snprintf snprintf
726 # endif
727 #endif
728
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
731
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
734 #endif
735
736 static PyObject *
737 PyString_FromFormat(const char *fmt, ...) {
738 va_list ap;
739 char buf[SWIG_PYBUFFER_SIZE * 2];
740 int res;
741 va_start(ap, fmt);
742 res = vsnprintf(buf, sizeof(buf), fmt, ap);
743 va_end(ap);
744 return (res < 0 || res >= (int)sizeof(buf)) ? 0 : PyString_FromString(buf);
745 }
746 #endif
747
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
751 #endif
752 #ifndef PyObject_DEL
753 # define PyObject_DEL PyObject_Del
754 #endif
755
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
760 # endif
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
763 # endif
764 #endif
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
769 # endif
770 #endif
771
772
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
777 # endif
778 #endif
779
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
784 # endif
785 #endif
786
787
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
790 static
791 PyObject *PyBool_FromLong(long ok)
792 {
793 PyObject *result = ok ? Py_True : Py_False;
794 Py_INCREF(result);
795 return result;
796 }
797 #endif
798
799
800 /* -----------------------------------------------------------------------------
801 * error manipulation
802 * ----------------------------------------------------------------------------- */
803
804 SWIGRUNTIME PyObject*
805 SWIG_Python_ErrorType(int code) {
806 PyObject* type = 0;
807 switch(code) {
808 case SWIG_MemoryError:
809 type = PyExc_MemoryError;
810 break;
811 case SWIG_IOError:
812 type = PyExc_IOError;
813 break;
814 case SWIG_RuntimeError:
815 type = PyExc_RuntimeError;
816 break;
817 case SWIG_IndexError:
818 type = PyExc_IndexError;
819 break;
820 case SWIG_TypeError:
821 type = PyExc_TypeError;
822 break;
823 case SWIG_DivisionByZero:
824 type = PyExc_ZeroDivisionError;
825 break;
826 case SWIG_OverflowError:
827 type = PyExc_OverflowError;
828 break;
829 case SWIG_SyntaxError:
830 type = PyExc_SyntaxError;
831 break;
832 case SWIG_ValueError:
833 type = PyExc_ValueError;
834 break;
835 case SWIG_SystemError:
836 type = PyExc_SystemError;
837 break;
838 case SWIG_AttributeError:
839 type = PyExc_AttributeError;
840 break;
841 default:
842 type = PyExc_RuntimeError;
843 }
844 return type;
845 }
846
847
848 SWIGRUNTIME void
849 SWIG_Python_AddErrorMsg(const char* mesg)
850 {
851 PyObject *type = 0;
852 PyObject *value = 0;
853 PyObject *traceback = 0;
854
855 if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback);
856 if (value) {
857 PyObject *old_str = PyObject_Str(value);
858 PyErr_Clear();
859 Py_XINCREF(type);
860 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
861 Py_DECREF(old_str);
862 Py_DECREF(value);
863 } else {
864 PyErr_Format(PyExc_RuntimeError, mesg);
865 }
866 }
867
868
869
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
873 # endif
874 #endif
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
879 # endif
880 # endif
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
884 # endif
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block {
887 bool status;
888 PyGILState_STATE state;
889 public:
890 void end() { if (status) { PyGILState_Release(state); status = false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
893 };
894 class SWIG_Python_Thread_Allow {
895 bool status;
896 PyThreadState *save;
897 public:
898 void end() { if (status) { PyEval_RestoreThread(save); status = false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
901 };
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
906 # else /* C code */
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
911 # endif
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
915 # endif
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
918 # endif
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
921 # endif
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
924 # endif
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
927 # endif
928 # endif
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
935 #endif
936
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
940
941 #ifdef __cplusplus
942 extern "C" {
943 #if 0
944 } /* cc-mode */
945 #endif
946 #endif
947
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
951
952 /* Constant Types */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
955
956 /* Constant information structure */
957 typedef struct swig_const_info {
958 int type;
959 char *name;
960 long lvalue;
961 double dvalue;
962 void *pvalue;
963 swig_type_info **ptype;
964 } swig_const_info;
965
966 #ifdef __cplusplus
967 #if 0
968 { /* cc-mode */
969 #endif
970 }
971 #endif
972
973
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
977 *
978 * pyrun.swg
979 *
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
982 * type checking.
983 *
984 * ----------------------------------------------------------------------------- */
985
986 /* Common SWIG API */
987
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t;
990 #endif
991
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1000
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1004
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1008
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1012
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016
1017
1018 /* Runtime API */
1019
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1023
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1029
1030
1031 /* Runtime API implementation */
1032
1033 /* Error manipulation */
1034
1035 SWIGINTERN void
1036 SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1038 PyErr_SetObject(errtype, obj);
1039 Py_DECREF(obj);
1040 SWIG_PYTHON_THREAD_END_BLOCK;
1041 }
1042
1043 SWIGINTERN void
1044 SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1046 PyErr_SetString(errtype, (char *) msg);
1047 SWIG_PYTHON_THREAD_END_BLOCK;
1048 }
1049
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1051
1052 /* Set a constant value */
1053
1054 SWIGINTERN void
1055 SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
1056 PyDict_SetItemString(d, (char*) name, obj);
1057 Py_DECREF(obj);
1058 }
1059
1060 /* Append a value to the result obj */
1061
1062 SWIGINTERN PyObject*
1063 SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1065 if (!result) {
1066 result = obj;
1067 } else if (result == Py_None) {
1068 Py_DECREF(result);
1069 result = obj;
1070 } else {
1071 if (!PyList_Check(result)) {
1072 PyObject *o2 = result;
1073 result = PyList_New(1);
1074 PyList_SetItem(result, 0, o2);
1075 }
1076 PyList_Append(result,obj);
1077 Py_DECREF(obj);
1078 }
1079 return result;
1080 #else
1081 PyObject* o2;
1082 PyObject* o3;
1083 if (!result) {
1084 result = obj;
1085 } else if (result == Py_None) {
1086 Py_DECREF(result);
1087 result = obj;
1088 } else {
1089 if (!PyTuple_Check(result)) {
1090 o2 = result;
1091 result = PyTuple_New(1);
1092 PyTuple_SET_ITEM(result, 0, o2);
1093 }
1094 o3 = PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3, 0, obj);
1096 o2 = result;
1097 result = PySequence_Concat(o2, o3);
1098 Py_DECREF(o2);
1099 Py_DECREF(o3);
1100 }
1101 return result;
1102 #endif
1103 }
1104
1105 /* Unpack the argument tuple */
1106
1107 SWIGINTERN int
1108 SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs)
1109 {
1110 if (!args) {
1111 if (!min && !max) {
1112 return 1;
1113 } else {
1114 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none",
1115 name, (min == max ? "" : "at least "), min);
1116 return 0;
1117 }
1118 }
1119 if (!PyTuple_Check(args)) {
1120 PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
1121 return 0;
1122 } else {
1123 register int l = PyTuple_GET_SIZE(args);
1124 if (l < min) {
1125 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1126 name, (min == max ? "" : "at least "), min, l);
1127 return 0;
1128 } else if (l > max) {
1129 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1130 name, (min == max ? "" : "at most "), max, l);
1131 return 0;
1132 } else {
1133 register int i;
1134 for (i = 0; i < l; ++i) {
1135 objs[i] = PyTuple_GET_ITEM(args, i);
1136 }
1137 for (; l < max; ++l) {
1138 objs[l] = 0;
1139 }
1140 return i + 1;
1141 }
1142 }
1143 }
1144
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1148 #else
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1150 #endif
1151
1152 /*
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1155 */
1156 #ifdef __cplusplus
1157 #define SWIG_STATIC_POINTER(var) var
1158 #else
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1160 #endif
1161
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1165
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1169
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1171
1172 #ifdef __cplusplus
1173 extern "C" {
1174 #if 0
1175 } /* cc-mode */
1176 #endif
1177 #endif
1178
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1184 # endif
1185 # endif
1186 #endif
1187
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1189 # ifdef Py_None
1190 # undef Py_None
1191 # define Py_None SWIG_Py_None()
1192 # endif
1193 SWIGRUNTIMEINLINE PyObject *
1194 _SWIG_Py_None(void)
1195 {
1196 PyObject *none = Py_BuildValue("");
1197 Py_DECREF(none);
1198 return none;
1199 }
1200 SWIGRUNTIME PyObject *
1201 SWIG_Py_None(void)
1202 {
1203 static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
1204 return none;
1205 }
1206 #endif
1207
1208 /* The python void return value */
1209
1210 SWIGRUNTIMEINLINE PyObject *
1211 SWIG_Py_Void(void)
1212 {
1213 PyObject *none = Py_None;
1214 Py_INCREF(none);
1215 return none;
1216 }
1217
1218 /* PySwigClientData */
1219
1220 typedef struct {
1221 PyObject *klass;
1222 PyObject *newraw;
1223 PyObject *newargs;
1224 PyObject *destroy;
1225 int delargs;
1226 int implicitconv;
1227 } PySwigClientData;
1228
1229 SWIGRUNTIMEINLINE int
1230 SWIG_Python_CheckImplicit(swig_type_info *ty)
1231 {
1232 PySwigClientData *data = (PySwigClientData *)ty->clientdata;
1233 return data ? data->implicitconv : 0;
1234 }
1235
1236 SWIGRUNTIMEINLINE PyObject *
1237 SWIG_Python_ExceptionType(swig_type_info *desc) {
1238 PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0;
1239 PyObject *klass = data ? data->klass : 0;
1240 return (klass ? klass : PyExc_RuntimeError);
1241 }
1242
1243
1244 SWIGRUNTIME PySwigClientData *
1245 PySwigClientData_New(PyObject* obj)
1246 {
1247 if (!obj) {
1248 return 0;
1249 } else {
1250 PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData));
1251 /* the klass element */
1252 data->klass = obj;
1253 Py_INCREF(data->klass);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj)) {
1256 data->newraw = 0;
1257 data->newargs = obj;
1258 Py_INCREF(obj);
1259 } else {
1260 #if (PY_VERSION_HEX < 0x02020000)
1261 data->newraw = 0;
1262 #else
1263 data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
1264 #endif
1265 if (data->newraw) {
1266 Py_INCREF(data->newraw);
1267 data->newargs = PyTuple_New(1);
1268 PyTuple_SetItem(data->newargs, 0, obj);
1269 } else {
1270 data->newargs = obj;
1271 }
1272 Py_INCREF(data->newargs);
1273 }
1274 /* the destroy method, aka as the C++ delete method */
1275 data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1277 PyErr_Clear();
1278 data->destroy = 0;
1279 }
1280 if (data->destroy) {
1281 int flags;
1282 Py_INCREF(data->destroy);
1283 flags = PyCFunction_GET_FLAGS(data->destroy);
1284 #ifdef METH_O
1285 data->delargs = !(flags & (METH_O));
1286 #else
1287 data->delargs = 0;
1288 #endif
1289 } else {
1290 data->delargs = 0;
1291 }
1292 data->implicitconv = 0;
1293 return data;
1294 }
1295 }
1296
1297 SWIGRUNTIME void
1298 PySwigClientData_Del(PySwigClientData* data)
1299 {
1300 Py_XDECREF(data->newraw);
1301 Py_XDECREF(data->newargs);
1302 Py_XDECREF(data->destroy);
1303 }
1304
1305 /* =============== PySwigObject =====================*/
1306
1307 typedef struct {
1308 PyObject_HEAD
1309 void *ptr;
1310 swig_type_info *ty;
1311 int own;
1312 PyObject *next;
1313 } PySwigObject;
1314
1315 SWIGRUNTIME PyObject *
1316 PySwigObject_long(PySwigObject *v)
1317 {
1318 return PyLong_FromVoidPtr(v->ptr);
1319 }
1320
1321 SWIGRUNTIME PyObject *
1322 PySwigObject_format(const char* fmt, PySwigObject *v)
1323 {
1324 PyObject *res = NULL;
1325 PyObject *args = PyTuple_New(1);
1326 if (args) {
1327 if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) {
1328 PyObject *ofmt = PyString_FromString(fmt);
1329 if (ofmt) {
1330 res = PyString_Format(ofmt,args);
1331 Py_DECREF(ofmt);
1332 }
1333 Py_DECREF(args);
1334 }
1335 }
1336 return res;
1337 }
1338
1339 SWIGRUNTIME PyObject *
1340 PySwigObject_oct(PySwigObject *v)
1341 {
1342 return PySwigObject_format("%o",v);
1343 }
1344
1345 SWIGRUNTIME PyObject *
1346 PySwigObject_hex(PySwigObject *v)
1347 {
1348 return PySwigObject_format("%x",v);
1349 }
1350
1351 SWIGRUNTIME PyObject *
1352 #ifdef METH_NOARGS
1353 PySwigObject_repr(PySwigObject *v)
1354 #else
1355 PySwigObject_repr(PySwigObject *v, PyObject *args)
1356 #endif
1357 {
1358 const char *name = SWIG_TypePrettyName(v->ty);
1359 PyObject *hex = PySwigObject_hex(v);
1360 PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex));
1361 Py_DECREF(hex);
1362 if (v->next) {
1363 #ifdef METH_NOARGS
1364 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next);
1365 #else
1366 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args);
1367 #endif
1368 PyString_ConcatAndDel(&repr,nrep);
1369 }
1370 return repr;
1371 }
1372
1373 SWIGRUNTIME int
1374 PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1375 {
1376 #ifdef METH_NOARGS
1377 PyObject *repr = PySwigObject_repr(v);
1378 #else
1379 PyObject *repr = PySwigObject_repr(v, NULL);
1380 #endif
1381 if (repr) {
1382 fputs(PyString_AsString(repr), fp);
1383 Py_DECREF(repr);
1384 return 0;
1385 } else {
1386 return 1;
1387 }
1388 }
1389
1390 SWIGRUNTIME PyObject *
1391 PySwigObject_str(PySwigObject *v)
1392 {
1393 char result[SWIG_BUFFER_SIZE];
1394 return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ?
1395 PyString_FromString(result) : 0;
1396 }
1397
1398 SWIGRUNTIME int
1399 PySwigObject_compare(PySwigObject *v, PySwigObject *w)
1400 {
1401 void *i = v->ptr;
1402 void *j = w->ptr;
1403 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1404 }
1405
1406 SWIGRUNTIME PyTypeObject* _PySwigObject_type(void);
1407
1408 SWIGRUNTIME PyTypeObject*
1409 PySwigObject_type(void) {
1410 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type();
1411 return type;
1412 }
1413
1414 SWIGRUNTIMEINLINE int
1415 PySwigObject_Check(PyObject *op) {
1416 return ((op)->ob_type == PySwigObject_type())
1417 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
1418 }
1419
1420 SWIGRUNTIME PyObject *
1421 PySwigObject_New(void *ptr, swig_type_info *ty, int own);
1422
1423 SWIGRUNTIME void
1424 PySwigObject_dealloc(PyObject *v)
1425 {
1426 PySwigObject *sobj = (PySwigObject *) v;
1427 PyObject *next = sobj->next;
1428 if (sobj->own) {
1429 swig_type_info *ty = sobj->ty;
1430 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
1431 PyObject *destroy = data ? data->destroy : 0;
1432 if (destroy) {
1433 /* destroy is always a VARARGS method */
1434 PyObject *res;
1435 if (data->delargs) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0);
1438 res = SWIG_Python_CallFunctor(destroy, tmp);
1439 Py_DECREF(tmp);
1440 } else {
1441 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
1442 PyObject *mself = PyCFunction_GET_SELF(destroy);
1443 res = ((*meth)(mself, v));
1444 }
1445 Py_XDECREF(res);
1446 } else {
1447 const char *name = SWIG_TypePrettyName(ty);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name);
1450 #endif
1451 }
1452 }
1453 Py_XDECREF(next);
1454 PyObject_DEL(v);
1455 }
1456
1457 SWIGRUNTIME PyObject*
1458 PySwigObject_append(PyObject* v, PyObject* next)
1459 {
1460 PySwigObject *sobj = (PySwigObject *) v;
1461 #ifndef METH_O
1462 PyObject *tmp = 0;
1463 if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
1464 next = tmp;
1465 #endif
1466 if (!PySwigObject_Check(next)) {
1467 return NULL;
1468 }
1469 sobj->next = next;
1470 Py_INCREF(next);
1471 return SWIG_Py_Void();
1472 }
1473
1474 SWIGRUNTIME PyObject*
1475 #ifdef METH_NOARGS
1476 PySwigObject_next(PyObject* v)
1477 #else
1478 PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1479 #endif
1480 {
1481 PySwigObject *sobj = (PySwigObject *) v;
1482 if (sobj->next) {
1483 Py_INCREF(sobj->next);
1484 return sobj->next;
1485 } else {
1486 return SWIG_Py_Void();
1487 }
1488 }
1489
1490 SWIGINTERN PyObject*
1491 #ifdef METH_NOARGS
1492 PySwigObject_disown(PyObject *v)
1493 #else
1494 PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1495 #endif
1496 {
1497 PySwigObject *sobj = (PySwigObject *)v;
1498 sobj->own = 0;
1499 return SWIG_Py_Void();
1500 }
1501
1502 SWIGINTERN PyObject*
1503 #ifdef METH_NOARGS
1504 PySwigObject_acquire(PyObject *v)
1505 #else
1506 PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1507 #endif
1508 {
1509 PySwigObject *sobj = (PySwigObject *)v;
1510 sobj->own = SWIG_POINTER_OWN;
1511 return SWIG_Py_Void();
1512 }
1513
1514 SWIGINTERN PyObject*
1515 PySwigObject_own(PyObject *v, PyObject *args)
1516 {
1517 PyObject *val = 0;
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
1520 #else
1521 if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val))
1522 #endif
1523 {
1524 return NULL;
1525 }
1526 else
1527 {
1528 PySwigObject *sobj = (PySwigObject *)v;
1529 PyObject *obj = PyBool_FromLong(sobj->own);
1530 if (val) {
1531 #ifdef METH_NOARGS
1532 if (PyObject_IsTrue(val)) {
1533 PySwigObject_acquire(v);
1534 } else {
1535 PySwigObject_disown(v);
1536 }
1537 #else
1538 if (PyObject_IsTrue(val)) {
1539 PySwigObject_acquire(v,args);
1540 } else {
1541 PySwigObject_disown(v,args);
1542 }
1543 #endif
1544 }
1545 return obj;
1546 }
1547 }
1548
1549 #ifdef METH_O
1550 static PyMethodDef
1551 swigobject_methods[] = {
1552 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"},
1558 {0, 0, 0, 0}
1559 };
1560 #else
1561 static PyMethodDef
1562 swigobject_methods[] = {
1563 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"},
1569 {0, 0, 0, 0}
1570 };
1571 #endif
1572
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject *
1575 PySwigObject_getattr(PySwigObject *sobj,char *name)
1576 {
1577 return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
1578 }
1579 #endif
1580
1581 SWIGRUNTIME PyTypeObject*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
1584
1585 static PyNumberMethods PySwigObject_as_number = {
1586 (binaryfunc)0, /*nb_add*/
1587 (binaryfunc)0, /*nb_subtract*/
1588 (binaryfunc)0, /*nb_multiply*/
1589 (binaryfunc)0, /*nb_divide*/
1590 (binaryfunc)0, /*nb_remainder*/
1591 (binaryfunc)0, /*nb_divmod*/
1592 (ternaryfunc)0,/*nb_power*/
1593 (unaryfunc)0, /*nb_negative*/
1594 (unaryfunc)0, /*nb_positive*/
1595 (unaryfunc)0, /*nb_absolute*/
1596 (inquiry)0, /*nb_nonzero*/
1597 0, /*nb_invert*/
1598 0, /*nb_lshift*/
1599 0, /*nb_rshift*/
1600 0, /*nb_and*/
1601 0, /*nb_xor*/
1602 0, /*nb_or*/
1603 (coercion)0, /*nb_coerce*/
1604 (unaryfunc)PySwigObject_long, /*nb_int*/
1605 (unaryfunc)PySwigObject_long, /*nb_long*/
1606 (unaryfunc)0, /*nb_float*/
1607 (unaryfunc)PySwigObject_oct, /*nb_oct*/
1608 (unaryfunc)PySwigObject_hex, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1613 #endif
1614 };
1615
1616 static PyTypeObject pyswigobject_type;
1617 static int type_init = 0;
1618 if (!type_init) {
1619 const PyTypeObject tmp
1620 = {
1621 PyObject_HEAD_INIT(NULL)
1622 0, /* ob_size */
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor)PySwigObject_dealloc, /* tp_dealloc */
1627 (printfunc)PySwigObject_print, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc)PySwigObject_getattr, /* tp_getattr */
1630 #else
1631 (getattrfunc)0, /* tp_getattr */
1632 #endif
1633 (setattrfunc)0, /* tp_setattr */
1634 (cmpfunc)PySwigObject_compare, /* tp_compare */
1635 (reprfunc)PySwigObject_repr, /* tp_repr */
1636 &PySwigObject_as_number, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc)0, /* tp_hash */
1640 (ternaryfunc)0, /* tp_call */
1641 (reprfunc)PySwigObject_str, /* tp_str */
1642 PyObject_GenericGetAttr, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT, /* tp_flags */
1646 swigobject_doc, /* tp_doc */
1647 0, /* tp_traverse */
1648 0, /* tp_clear */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1652 0, /* tp_iter */
1653 0, /* tp_iternext */
1654 swigobject_methods, /* tp_methods */
1655 0, /* tp_members */
1656 0, /* tp_getset */
1657 0, /* tp_base */
1658 0, /* tp_dict */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1662 0, /* tp_init */
1663 0, /* tp_alloc */
1664 0, /* tp_new */
1665 0, /* tp_free */
1666 0, /* tp_is_gc */
1667 0, /* tp_bases */
1668 0, /* tp_mro */
1669 0, /* tp_cache */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1672 #endif
1673 #if PY_VERSION_HEX >= 0x02030000
1674 0, /* tp_del */
1675 #endif
1676 #ifdef COUNT_ALLOCS
1677 0,0,0,0 /* tp_alloc -> tp_next */
1678 #endif
1679 };
1680 pyswigobject_type = tmp;
1681 pyswigobject_type.ob_type = &PyType_Type;
1682 type_init = 1;
1683 }
1684 return &pyswigobject_type;
1685 }
1686
1687 SWIGRUNTIME PyObject *
1688 PySwigObject_New(void *ptr, swig_type_info *ty, int own)
1689 {
1690 PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type());
1691 if (sobj) {
1692 sobj->ptr = ptr;
1693 sobj->ty = ty;
1694 sobj->own = own;
1695 sobj->next = 0;
1696 }
1697 return (PyObject *)sobj;
1698 }
1699
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1703
1704 typedef struct {
1705 PyObject_HEAD
1706 void *pack;
1707 swig_type_info *ty;
1708 size_t size;
1709 } PySwigPacked;
1710
1711 SWIGRUNTIME int
1712 PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1713 {
1714 char result[SWIG_BUFFER_SIZE];
1715 fputs("<Swig Packed ", fp);
1716 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1717 fputs("at ", fp);
1718 fputs(result, fp);
1719 }
1720 fputs(v->ty->name,fp);
1721 fputs(">", fp);
1722 return 0;
1723 }
1724
1725 SWIGRUNTIME PyObject *
1726 PySwigPacked_repr(PySwigPacked *v)
1727 {
1728 char result[SWIG_BUFFER_SIZE];
1729 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
1731 } else {
1732 return PyString_FromFormat("<Swig Packed %s>", v->ty->name);
1733 }
1734 }
1735
1736 SWIGRUNTIME PyObject *
1737 PySwigPacked_str(PySwigPacked *v)
1738 {
1739 char result[SWIG_BUFFER_SIZE];
1740 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
1741 return PyString_FromFormat("%s%s", result, v->ty->name);
1742 } else {
1743 return PyString_FromString(v->ty->name);
1744 }
1745 }
1746
1747 SWIGRUNTIME int
1748 PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
1749 {
1750 size_t i = v->size;
1751 size_t j = w->size;
1752 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
1753 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
1754 }
1755
1756 SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);
1757
1758 SWIGRUNTIME PyTypeObject*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type();
1761 return type;
1762 }
1763
1764 SWIGRUNTIMEINLINE int
1765 PySwigPacked_Check(PyObject *op) {
1766 return ((op)->ob_type == _PySwigPacked_type())
1767 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1768 }
1769
1770 SWIGRUNTIME void
1771 PySwigPacked_dealloc(PyObject *v)
1772 {
1773 if (PySwigPacked_Check(v)) {
1774 PySwigPacked *sobj = (PySwigPacked *) v;
1775 free(sobj->pack);
1776 }
1777 PyObject_DEL(v);
1778 }
1779
1780 SWIGRUNTIME PyTypeObject*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type;
1784 static int type_init = 0;
1785 if (!type_init) {
1786 const PyTypeObject tmp
1787 = {
1788 PyObject_HEAD_INIT(NULL)
1789 0, /* ob_size */
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor)PySwigPacked_dealloc, /* tp_dealloc */
1794 (printfunc)PySwigPacked_print, /* tp_print */
1795 (getattrfunc)0, /* tp_getattr */
1796 (setattrfunc)0, /* tp_setattr */
1797 (cmpfunc)PySwigPacked_compare, /* tp_compare */
1798 (reprfunc)PySwigPacked_repr, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc)0, /* tp_hash */
1803 (ternaryfunc)0, /* tp_call */
1804 (reprfunc)PySwigPacked_str, /* tp_str */
1805 PyObject_GenericGetAttr, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT, /* tp_flags */
1809 swigpacked_doc, /* tp_doc */
1810 0, /* tp_traverse */
1811 0, /* tp_clear */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1815 0, /* tp_iter */
1816 0, /* tp_iternext */
1817 0, /* tp_methods */
1818 0, /* tp_members */
1819 0, /* tp_getset */
1820 0, /* tp_base */
1821 0, /* tp_dict */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1825 0, /* tp_init */
1826 0, /* tp_alloc */
1827 0, /* tp_new */
1828 0, /* tp_free */
1829 0, /* tp_is_gc */
1830 0, /* tp_bases */
1831 0, /* tp_mro */
1832 0, /* tp_cache */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1835 #endif
1836 #if PY_VERSION_HEX >= 0x02030000
1837 0, /* tp_del */
1838 #endif
1839 #ifdef COUNT_ALLOCS
1840 0,0,0,0 /* tp_alloc -> tp_next */
1841 #endif
1842 };
1843 pyswigpacked_type = tmp;
1844 pyswigpacked_type.ob_type = &PyType_Type;
1845 type_init = 1;
1846 }
1847 return &pyswigpacked_type;
1848 }
1849
1850 SWIGRUNTIME PyObject *
1851 PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty)
1852 {
1853 PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1854 if (sobj) {
1855 void *pack = malloc(size);
1856 if (pack) {
1857 memcpy(pack, ptr, size);
1858 sobj->pack = pack;
1859 sobj->ty = ty;
1860 sobj->size = size;
1861 } else {
1862 PyObject_DEL((PyObject *) sobj);
1863 sobj = 0;
1864 }
1865 }
1866 return (PyObject *) sobj;
1867 }
1868
1869 SWIGRUNTIME swig_type_info *
1870 PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1871 {
1872 if (PySwigPacked_Check(obj)) {
1873 PySwigPacked *sobj = (PySwigPacked *)obj;
1874 if (sobj->size != size) return 0;
1875 memcpy(ptr, sobj->pack, size);
1876 return sobj->ty;
1877 } else {
1878 return 0;
1879 }
1880 }
1881
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1885
1886 SWIGRUNTIMEINLINE PyObject *
1887 _SWIG_This(void)
1888 {
1889 return PyString_FromString("this");
1890 }
1891
1892 SWIGRUNTIME PyObject *
1893 SWIG_This(void)
1894 {
1895 static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
1896 return swig_this;
1897 }
1898
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1900
1901 SWIGRUNTIME PySwigObject *
1902 SWIG_Python_GetSwigThis(PyObject *pyobj)
1903 {
1904 if (PySwigObject_Check(pyobj)) {
1905 return (PySwigObject *) pyobj;
1906 } else {
1907 PyObject *obj = 0;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj)) {
1910 obj = _PyInstance_Lookup(pyobj, SWIG_This());
1911 } else {
1912 PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
1913 if (dictptr != NULL) {
1914 PyObject *dict = *dictptr;
1915 obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
1916 } else {
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj)) {
1919 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
1920 return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
1921 }
1922 #endif
1923 obj = PyObject_GetAttr(pyobj,SWIG_This());
1924 if (obj) {
1925 Py_DECREF(obj);
1926 } else {
1927 if (PyErr_Occurred()) PyErr_Clear();
1928 return 0;
1929 }
1930 }
1931 }
1932 #else
1933 obj = PyObject_GetAttr(pyobj,SWIG_This());
1934 if (obj) {
1935 Py_DECREF(obj);
1936 } else {
1937 if (PyErr_Occurred()) PyErr_Clear();
1938 return 0;
1939 }
1940 #endif
1941 if (obj && !PySwigObject_Check(obj)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj);
1945 }
1946 return (PySwigObject *)obj;
1947 }
1948 }
1949
1950 /* Acquire a pointer value */
1951
1952 SWIGRUNTIME int
1953 SWIG_Python_AcquirePtr(PyObject *obj, int own) {
1954 if (own) {
1955 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1956 if (sobj) {
1957 int oldown = sobj->own;
1958 sobj->own = own;
1959 return oldown;
1960 }
1961 }
1962 return 0;
1963 }
1964
1965 /* Convert a pointer value */
1966
1967 SWIGRUNTIME int
1968 SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
1969 if (!obj) return SWIG_ERROR;
1970 if (obj == Py_None) {
1971 if (ptr) *ptr = 0;
1972 return SWIG_OK;
1973 } else {
1974 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1975 while (sobj) {
1976 void *vptr = sobj->ptr;
1977 if (ty) {
1978 swig_type_info *to = sobj->ty;
1979 if (to == ty) {
1980 /* no type cast needed */
1981 if (ptr) *ptr = vptr;
1982 break;
1983 } else {
1984 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
1985 if (!tc) {
1986 sobj = (PySwigObject *)sobj->next;
1987 } else {
1988 if (ptr) *ptr = SWIG_TypeCast(tc,vptr);
1989 break;
1990 }
1991 }
1992 } else {
1993 if (ptr) *ptr = vptr;
1994 break;
1995 }
1996 }
1997 if (sobj) {
1998 if (own) *own = sobj->own;
1999 if (flags & SWIG_POINTER_DISOWN) {
2000 sobj->own = 0;
2001 }
2002 return SWIG_OK;
2003 } else {
2004 int res = SWIG_ERROR;
2005 if (flags & SWIG_POINTER_IMPLICIT_CONV) {
2006 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
2007 if (data && !data->implicitconv) {
2008 PyObject *klass = data->klass;
2009 if (klass) {
2010 PyObject *impconv;
2011 data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv = SWIG_Python_CallFunctor(klass, obj);
2013 data->implicitconv = 0;
2014 if (PyErr_Occurred()) {
2015 PyErr_Clear();
2016 impconv = 0;
2017 }
2018 if (impconv) {
2019 PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv);
2020 if (iobj) {
2021 void *vptr;
2022 res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
2023 if (SWIG_IsOK(res)) {
2024 if (ptr) {
2025 *ptr = vptr;
2026 /* transfer the ownership to 'ptr' */
2027 iobj->own = 0;
2028 res = SWIG_AddCast(res);
2029 res = SWIG_AddNewMask(res);
2030 } else {
2031 res = SWIG_AddCast(res);
2032 }
2033 }
2034 }
2035 Py_DECREF(impconv);
2036 }
2037 }
2038 }
2039 }
2040 return res;
2041 }
2042 }
2043 }
2044
2045 /* Convert a function ptr value */
2046
2047 SWIGRUNTIME int
2048 SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
2049 if (!PyCFunction_Check(obj)) {
2050 return SWIG_ConvertPtr(obj, ptr, ty, 0);
2051 } else {
2052 void *vptr = 0;
2053
2054 /* here we get the method pointer for callbacks */
2055 const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
2056 const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
2057 if (desc) {
2058 desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
2059 if (!desc) return SWIG_ERROR;
2060 }
2061 if (ty) {
2062 swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
2063 if (!tc) return SWIG_ERROR;
2064 *ptr = SWIG_TypeCast(tc,vptr);
2065 } else {
2066 *ptr = vptr;
2067 }
2068 return SWIG_OK;
2069 }
2070 }
2071
2072 /* Convert a packed value value */
2073
2074 SWIGRUNTIME int
2075 SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
2076 swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz);
2077 if (!to) return SWIG_ERROR;
2078 if (ty) {
2079 if (to != ty) {
2080 /* check type cast? */
2081 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2082 if (!tc) return SWIG_ERROR;
2083 }
2084 }
2085 return SWIG_OK;
2086 }
2087
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2091
2092 /*
2093 Create a new instance object, whitout calling __init__, and set the
2094 'this' attribute.
2095 */
2096
2097 SWIGRUNTIME PyObject*
2098 SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this)
2099 {
2100 #if (PY_VERSION_HEX >= 0x02020000)
2101 PyObject *inst = 0;
2102 PyObject *newraw = data->newraw;
2103 if (newraw) {
2104 inst = PyObject_Call(newraw, data->newargs, NULL);
2105 if (inst) {
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2108 if (dictptr != NULL) {
2109 PyObject *dict = *dictptr;
2110 if (dict == NULL) {
2111 dict = PyDict_New();
2112 *dictptr = dict;
2113 PyDict_SetItem(dict, SWIG_This(), swig_this);
2114 }
2115 }
2116 #else
2117 PyObject *key = SWIG_This();
2118 PyObject_SetAttr(inst, key, swig_this);
2119 #endif
2120 }
2121 } else {
2122 PyObject *dict = PyDict_New();
2123 PyDict_SetItem(dict, SWIG_This(), swig_this);
2124 inst = PyInstance_NewRaw(data->newargs, dict);
2125 Py_DECREF(dict);
2126 }
2127 return inst;
2128 #else
2129 #if (PY_VERSION_HEX >= 0x02010000)
2130 PyObject *inst;
2131 PyObject *dict = PyDict_New();
2132 PyDict_SetItem(dict, SWIG_This(), swig_this);
2133 inst = PyInstance_NewRaw(data->newargs, dict);
2134 Py_DECREF(dict);
2135 return (PyObject *) inst;
2136 #else
2137 PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
2138 if (inst == NULL) {
2139 return NULL;
2140 }
2141 inst->in_class = (PyClassObject *)data->newargs;
2142 Py_INCREF(inst->in_class);
2143 inst->in_dict = PyDict_New();
2144 if (inst->in_dict == NULL) {
2145 Py_DECREF(inst);
2146 return NULL;
2147 }
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst->in_weakreflist = NULL;
2150 #endif
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst);
2153 #endif
2154 PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
2155 return (PyObject *) inst;
2156 #endif
2157 #endif
2158 }
2159
2160 SWIGRUNTIME void
2161 SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
2162 {
2163 PyObject *dict;
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2166 if (dictptr != NULL) {
2167 dict = *dictptr;
2168 if (dict == NULL) {
2169 dict = PyDict_New();
2170 *dictptr = dict;
2171 }
2172 PyDict_SetItem(dict, SWIG_This(), swig_this);
2173 return;
2174 }
2175 #endif
2176 dict = PyObject_GetAttrString(inst, "__dict__");
2177 PyDict_SetItem(dict, SWIG_This(), swig_this);
2178 Py_DECREF(dict);
2179 }
2180
2181
2182 SWIGINTERN PyObject *
2183 SWIG_Python_InitShadowInstance(PyObject *args) {
2184 PyObject *obj[2];
2185 if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) {
2186 return NULL;
2187 } else {
2188 PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
2189 if (sthis) {
2190 PySwigObject_append((PyObject*) sthis, obj[1]);
2191 } else {
2192 SWIG_Python_SetSwigThis(obj[0], obj[1]);
2193 }
2194 return SWIG_Py_Void();
2195 }
2196 }
2197
2198 /* Create a new pointer object */
2199
2200 SWIGRUNTIME PyObject *
2201 SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
2202 if (!ptr) {
2203 return SWIG_Py_Void();
2204 } else {
2205 int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
2206 PyObject *robj = PySwigObject_New(ptr, type, own);
2207 PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0;
2208 if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
2209 PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
2210 if (inst) {
2211 Py_DECREF(robj);
2212 robj = inst;
2213 }
2214 }
2215 return robj;
2216 }
2217 }
2218
2219 /* Create a new packed object */
2220
2221 SWIGRUNTIMEINLINE PyObject *
2222 SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
2223 return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
2224 }
2225
2226 /* -----------------------------------------------------------------------------*
2227 * Get type list
2228 * -----------------------------------------------------------------------------*/
2229
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2232 #endif
2233
2234 SWIGRUNTIME swig_module_info *
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer = (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
2241 #else
2242 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
2244 if (PyErr_Occurred()) {
2245 PyErr_Clear();
2246 type_pointer = (void *)0;
2247 }
2248 #endif
2249 }
2250 return (swig_module_info *) type_pointer;
2251 }
2252
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2256 SWIGINTERN int
2257 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
2258 {
2259 PyObject *dict;
2260 if (!PyModule_Check(m)) {
2261 PyErr_SetString(PyExc_TypeError,
2262 "PyModule_AddObject() needs module as first arg");
2263 return SWIG_ERROR;
2264 }
2265 if (!o) {
2266 PyErr_SetString(PyExc_TypeError,
2267 "PyModule_AddObject() needs non-NULL value");
2268 return SWIG_ERROR;
2269 }
2270
2271 dict = PyModule_GetDict(m);
2272 if (dict == NULL) {
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
2275 PyModule_GetName(m));
2276 return SWIG_ERROR;
2277 }
2278 if (PyDict_SetItemString(dict, name, o))
2279 return SWIG_ERROR;
2280 Py_DECREF(o);
2281 return SWIG_OK;
2282 }
2283 #endif
2284
2285 SWIGRUNTIME void
2286 SWIG_Python_DestroyModule(void *vptr)
2287 {
2288 swig_module_info *swig_module = (swig_module_info *) vptr;
2289 swig_type_info **types = swig_module->types;
2290 size_t i;
2291 for (i =0; i < swig_module->size; ++i) {
2292 swig_type_info *ty = types[i];
2293 if (ty->owndata) {
2294 PySwigClientData *data = (PySwigClientData *) ty->clientdata;
2295 if (data) PySwigClientData_Del(data);
2296 }
2297 }
2298 Py_DECREF(SWIG_This());
2299 }
2300
2301 SWIGRUNTIME void
2302 SWIG_Python_SetModule(swig_module_info *swig_module) {
2303 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
2304
2305 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2306 swig_empty_runtime_method_table);
2307 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
2308 if (pointer && module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
2310 } else {
2311 Py_XDECREF(pointer);
2312 }
2313 }
2314
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject *
2317 SWIG_Python_TypeCache() {
2318 static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
2319 return cache;
2320 }
2321
2322 SWIGRUNTIME swig_type_info *
2323 SWIG_Python_TypeQuery(const char *type)
2324 {
2325 PyObject *cache = SWIG_Python_TypeCache();
2326 PyObject *key = PyString_FromString(type);
2327 PyObject *obj = PyDict_GetItem(cache, key);
2328 swig_type_info *descriptor;
2329 if (obj) {
2330 descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
2331 } else {
2332 swig_module_info *swig_module = SWIG_Python_GetModule();
2333 descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
2334 if (descriptor) {
2335 obj = PyCObject_FromVoidPtr(descriptor, NULL);
2336 PyDict_SetItem(cache, key, obj);
2337 Py_DECREF(obj);
2338 }
2339 }
2340 Py_DECREF(key);
2341 return descriptor;
2342 }
2343
2344 /*
2345 For backward compatibility only
2346 */
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2350
2351 SWIGRUNTIME int
2352 SWIG_Python_AddErrMesg(const char* mesg, int infront)
2353 {
2354 if (PyErr_Occurred()) {
2355 PyObject *type = 0;
2356 PyObject *value = 0;
2357 PyObject *traceback = 0;
2358 PyErr_Fetch(&type, &value, &traceback);
2359 if (value) {
2360 PyObject *old_str = PyObject_Str(value);
2361 Py_XINCREF(type);
2362 PyErr_Clear();
2363 if (infront) {
2364 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
2365 } else {
2366 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
2367 }
2368 Py_DECREF(old_str);
2369 }
2370 return 1;
2371 } else {
2372 return 0;
2373 }
2374 }
2375
2376 SWIGRUNTIME int
2377 SWIG_Python_ArgFail(int argnum)
2378 {
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2381 char mesg[256];
2382 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
2383 return SWIG_Python_AddErrMesg(mesg, 1);
2384 } else {
2385 return 0;
2386 }
2387 }
2388
2389 SWIGRUNTIMEINLINE const char *
2390 PySwigObject_GetDesc(PyObject *self)
2391 {
2392 PySwigObject *v = (PySwigObject *)self;
2393 swig_type_info *ty = v ? v->ty : 0;
2394 return ty ? ty->str : (char*)"";
2395 }
2396
2397 SWIGRUNTIME void
2398 SWIG_Python_TypeError(const char *type, PyObject *obj)
2399 {
2400 if (type) {
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj && PySwigObject_Check(obj)) {
2403 const char *otype = (const char *) PySwigObject_GetDesc(obj);
2404 if (otype) {
2405 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
2406 type, otype);
2407 return;
2408 }
2409 } else
2410 #endif
2411 {
2412 const char *otype = (obj ? obj->ob_type->tp_name : 0);
2413 if (otype) {
2414 PyObject *str = PyObject_Str(obj);
2415 const char *cstr = str ? PyString_AsString(str) : 0;
2416 if (cstr) {
2417 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
2418 type, otype, cstr);
2419 } else {
2420 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
2421 type, otype);
2422 }
2423 Py_XDECREF(str);
2424 return;
2425 }
2426 }
2427 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
2428 } else {
2429 PyErr_Format(PyExc_TypeError, "unexpected type is received");
2430 }
2431 }
2432
2433
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2435 SWIGRUNTIME void *
2436 SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
2437 void *result;
2438 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
2439 PyErr_Clear();
2440 if (flags & SWIG_POINTER_EXCEPTION) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
2442 SWIG_Python_ArgFail(argnum);
2443 }
2444 }
2445 return result;
2446 }
2447
2448
2449 #ifdef __cplusplus
2450 #if 0
2451 { /* cc-mode */
2452 #endif
2453 }
2454 #endif
2455
2456
2457
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2459
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2461
2462
2463
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2465
2466 #define SWIGTYPE_p_bool swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_unsigned_char swig_types[4]
2471 #define SWIGTYPE_p_unsigned_int swig_types[5]
2472 #define SWIGTYPE_p_unsigned_long swig_types[6]
2473 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2474 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476 #define SWIGTYPE_p_wxArrayInt swig_types[10]
2477 #define SWIGTYPE_p_wxArrayString swig_types[11]
2478 #define SWIGTYPE_p_wxBMPHandler swig_types[12]
2479 #define SWIGTYPE_p_wxBitmap swig_types[13]
2480 #define SWIGTYPE_p_wxBoxSizer swig_types[14]
2481 #define SWIGTYPE_p_wxCURHandler swig_types[15]
2482 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[16]
2483 #define SWIGTYPE_p_wxChildFocusEvent swig_types[17]
2484 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[18]
2485 #define SWIGTYPE_p_wxCloseEvent swig_types[19]
2486 #define SWIGTYPE_p_wxColour swig_types[20]
2487 #define SWIGTYPE_p_wxColourData swig_types[21]
2488 #define SWIGTYPE_p_wxColourDialog swig_types[22]
2489 #define SWIGTYPE_p_wxCommandEvent swig_types[23]
2490 #define SWIGTYPE_p_wxContextMenuEvent swig_types[24]
2491 #define SWIGTYPE_p_wxControl swig_types[25]
2492 #define SWIGTYPE_p_wxControlWithItems swig_types[26]
2493 #define SWIGTYPE_p_wxDC swig_types[27]
2494 #define SWIGTYPE_p_wxDateEvent swig_types[28]
2495 #define SWIGTYPE_p_wxDialog swig_types[29]
2496 #define SWIGTYPE_p_wxDirDialog swig_types[30]
2497 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[31]
2498 #define SWIGTYPE_p_wxDropFilesEvent swig_types[32]
2499 #define SWIGTYPE_p_wxDuplexMode swig_types[33]
2500 #define SWIGTYPE_p_wxEraseEvent swig_types[34]
2501 #define SWIGTYPE_p_wxEvent swig_types[35]
2502 #define SWIGTYPE_p_wxEventBlocker swig_types[36]
2503 #define SWIGTYPE_p_wxEvtHandler swig_types[37]
2504 #define SWIGTYPE_p_wxFSFile swig_types[38]
2505 #define SWIGTYPE_p_wxFileDialog swig_types[39]
2506 #define SWIGTYPE_p_wxFileSystem swig_types[40]
2507 #define SWIGTYPE_p_wxFindDialogEvent swig_types[41]
2508 #define SWIGTYPE_p_wxFindReplaceData swig_types[42]
2509 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[43]
2510 #define SWIGTYPE_p_wxFlexGridSizer swig_types[44]
2511 #define SWIGTYPE_p_wxFocusEvent swig_types[45]
2512 #define SWIGTYPE_p_wxFont swig_types[46]
2513 #define SWIGTYPE_p_wxFontData swig_types[47]
2514 #define SWIGTYPE_p_wxFontDialog swig_types[48]
2515 #define SWIGTYPE_p_wxFrame swig_types[49]
2516 #define SWIGTYPE_p_wxGBSizerItem swig_types[50]
2517 #define SWIGTYPE_p_wxGIFHandler swig_types[51]
2518 #define SWIGTYPE_p_wxGridBagSizer swig_types[52]
2519 #define SWIGTYPE_p_wxGridSizer swig_types[53]
2520 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[54]
2521 #define SWIGTYPE_p_wxICOHandler swig_types[55]
2522 #define SWIGTYPE_p_wxIcon swig_types[56]
2523 #define SWIGTYPE_p_wxIconBundle swig_types[57]
2524 #define SWIGTYPE_p_wxIconizeEvent swig_types[58]
2525 #define SWIGTYPE_p_wxIdleEvent swig_types[59]
2526 #define SWIGTYPE_p_wxImage swig_types[60]
2527 #define SWIGTYPE_p_wxImageHandler swig_types[61]
2528 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[62]
2529 #define SWIGTYPE_p_wxInitDialogEvent swig_types[63]
2530 #define SWIGTYPE_p_wxItemContainer swig_types[64]
2531 #define SWIGTYPE_p_wxJPEGHandler swig_types[65]
2532 #define SWIGTYPE_p_wxKeyEvent swig_types[66]
2533 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[67]
2534 #define SWIGTYPE_p_wxLayoutConstraints swig_types[68]
2535 #define SWIGTYPE_p_wxMDIChildFrame swig_types[69]
2536 #define SWIGTYPE_p_wxMDIClientWindow swig_types[70]
2537 #define SWIGTYPE_p_wxMDIParentFrame swig_types[71]
2538 #define SWIGTYPE_p_wxMaximizeEvent swig_types[72]
2539 #define SWIGTYPE_p_wxMenu swig_types[73]
2540 #define SWIGTYPE_p_wxMenuBar swig_types[74]
2541 #define SWIGTYPE_p_wxMenuEvent swig_types[75]
2542 #define SWIGTYPE_p_wxMenuItem swig_types[76]
2543 #define SWIGTYPE_p_wxMessageDialog swig_types[77]
2544 #define SWIGTYPE_p_wxMiniFrame swig_types[78]
2545 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[79]
2546 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[80]
2547 #define SWIGTYPE_p_wxMouseEvent swig_types[81]
2548 #define SWIGTYPE_p_wxMoveEvent swig_types[82]
2549 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[83]
2550 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[84]
2551 #define SWIGTYPE_p_wxNcPaintEvent swig_types[85]
2552 #define SWIGTYPE_p_wxNotifyEvent swig_types[86]
2553 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[87]
2554 #define SWIGTYPE_p_wxObject swig_types[88]
2555 #define SWIGTYPE_p_wxPCXHandler swig_types[89]
2556 #define SWIGTYPE_p_wxPNGHandler swig_types[90]
2557 #define SWIGTYPE_p_wxPNMHandler swig_types[91]
2558 #define SWIGTYPE_p_wxPageSetupDialog swig_types[92]
2559 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[93]
2560 #define SWIGTYPE_p_wxPaintEvent swig_types[94]
2561 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[95]
2562 #define SWIGTYPE_p_wxPanel swig_types[96]
2563 #define SWIGTYPE_p_wxPaperSize swig_types[97]
2564 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[98]
2565 #define SWIGTYPE_p_wxPoint swig_types[99]
2566 #define SWIGTYPE_p_wxPopupWindow swig_types[100]
2567 #define SWIGTYPE_p_wxPosition swig_types[101]
2568 #define SWIGTYPE_p_wxPreviewCanvas swig_types[102]
2569 #define SWIGTYPE_p_wxPreviewControlBar swig_types[103]
2570 #define SWIGTYPE_p_wxPreviewFrame swig_types[104]
2571 #define SWIGTYPE_p_wxPrintData swig_types[105]
2572 #define SWIGTYPE_p_wxPrintDialog swig_types[106]
2573 #define SWIGTYPE_p_wxPrintDialogData swig_types[107]
2574 #define SWIGTYPE_p_wxPrintPreview swig_types[108]
2575 #define SWIGTYPE_p_wxPrinter swig_types[109]
2576 #define SWIGTYPE_p_wxProgressDialog swig_types[110]
2577 #define SWIGTYPE_p_wxPyApp swig_types[111]
2578 #define SWIGTYPE_p_wxPyCommandEvent swig_types[112]
2579 #define SWIGTYPE_p_wxPyEvent swig_types[113]
2580 #define SWIGTYPE_p_wxPyHScrolledWindow swig_types[114]
2581 #define SWIGTYPE_p_wxPyHVScrolledWindow swig_types[115]
2582 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[116]
2583 #define SWIGTYPE_p_wxPyImageHandler swig_types[117]
2584 #define SWIGTYPE_p_wxPyPanel swig_types[118]
2585 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[119]
2586 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[120]
2587 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[121]
2588 #define SWIGTYPE_p_wxPyPrintPreview swig_types[122]
2589 #define SWIGTYPE_p_wxPyPrintout swig_types[123]
2590 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[124]
2591 #define SWIGTYPE_p_wxPySizer swig_types[125]
2592 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[126]
2593 #define SWIGTYPE_p_wxPyVListBox swig_types[127]
2594 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[128]
2595 #define SWIGTYPE_p_wxPyValidator swig_types[129]
2596 #define SWIGTYPE_p_wxPyWindow swig_types[130]
2597 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[131]
2598 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[132]
2599 #define SWIGTYPE_p_wxRect swig_types[133]
2600 #define SWIGTYPE_p_wxRegion swig_types[134]
2601 #define SWIGTYPE_p_wxSashEvent swig_types[135]
2602 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[136]
2603 #define SWIGTYPE_p_wxSashWindow swig_types[137]
2604 #define SWIGTYPE_p_wxScrollEvent swig_types[138]
2605 #define SWIGTYPE_p_wxScrollWinEvent swig_types[139]
2606 #define SWIGTYPE_p_wxScrolledWindow swig_types[140]
2607 #define SWIGTYPE_p_wxSetCursorEvent swig_types[141]
2608 #define SWIGTYPE_p_wxShowEvent swig_types[142]
2609 #define SWIGTYPE_p_wxSimpleHtmlListBox swig_types[143]
2610 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[144]
2611 #define SWIGTYPE_p_wxSize swig_types[145]
2612 #define SWIGTYPE_p_wxSizeEvent swig_types[146]
2613 #define SWIGTYPE_p_wxSizer swig_types[147]
2614 #define SWIGTYPE_p_wxSizerItem swig_types[148]
2615 #define SWIGTYPE_p_wxSplashScreen swig_types[149]
2616 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[150]
2617 #define SWIGTYPE_p_wxSplitterEvent swig_types[151]
2618 #define SWIGTYPE_p_wxSplitterWindow swig_types[152]
2619 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[153]
2620 #define SWIGTYPE_p_wxStatusBar swig_types[154]
2621 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[155]
2622 #define SWIGTYPE_p_wxString swig_types[156]
2623 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[157]
2624 #define SWIGTYPE_p_wxTGAHandler swig_types[158]
2625 #define SWIGTYPE_p_wxTIFFHandler swig_types[159]
2626 #define SWIGTYPE_p_wxTaskBarIcon swig_types[160]
2627 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[161]
2628 #define SWIGTYPE_p_wxTextEntryDialog swig_types[162]
2629 #define SWIGTYPE_p_wxTipWindow swig_types[163]
2630 #define SWIGTYPE_p_wxToolBar swig_types[164]
2631 #define SWIGTYPE_p_wxTopLevelWindow swig_types[165]
2632 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[166]
2633 #define SWIGTYPE_p_wxValidator swig_types[167]
2634 #define SWIGTYPE_p_wxVarHScrollHelper swig_types[168]
2635 #define SWIGTYPE_p_wxVarHVScrollHelper swig_types[169]
2636 #define SWIGTYPE_p_wxVarScrollHelperBase swig_types[170]
2637 #define SWIGTYPE_p_wxVarVScrollHelper swig_types[171]
2638 #define SWIGTYPE_p_wxVisualAttributes swig_types[172]
2639 #define SWIGTYPE_p_wxWindow swig_types[173]
2640 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[174]
2641 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[175]
2642 #define SWIGTYPE_p_wxXPMHandler swig_types[176]
2643 static swig_type_info *swig_types[178];
2644 static swig_module_info swig_module = {swig_types, 177, 0, 0, 0, 0};
2645 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2646 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2647
2648 /* -------- TYPES TABLE (END) -------- */
2649
2650 #if (PY_VERSION_HEX <= 0x02000000)
2651 # if !defined(SWIG_PYTHON_CLASSIC)
2652 # error "This python version requires to use swig with the '-classic' option"
2653 # endif
2654 #endif
2655 #if (PY_VERSION_HEX <= 0x02020000)
2656 # error "This python version requires to use swig with the '-nomodern' option"
2657 #endif
2658 #if (PY_VERSION_HEX <= 0x02020000)
2659 # error "This python version requires to use swig with the '-nomodernargs' option"
2660 #endif
2661 #ifndef METH_O
2662 # error "This python version requires to use swig with the '-nofastunpack' option"
2663 #endif
2664
2665 /*-----------------------------------------------
2666 @(target):= _windows_.so
2667 ------------------------------------------------*/
2668 #define SWIG_init init_windows_
2669
2670 #define SWIG_name "_windows_"
2671
2672 #define SWIGVERSION 0x010329
2673
2674
2675 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2676 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2677
2678
2679 #include <stdexcept>
2680
2681
2682 namespace swig {
2683 class PyObject_ptr {
2684 protected:
2685 PyObject *_obj;
2686
2687 public:
2688 PyObject_ptr() :_obj(0)
2689 {
2690 }
2691
2692 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2693 {
2694 Py_XINCREF(_obj);
2695 }
2696
2697 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2698 {
2699 if (initial_ref) Py_XINCREF(_obj);
2700 }
2701
2702 PyObject_ptr & operator=(const PyObject_ptr& item)
2703 {
2704 Py_XINCREF(item._obj);
2705 Py_XDECREF(_obj);
2706 _obj = item._obj;
2707 return *this;
2708 }
2709
2710 ~PyObject_ptr()
2711 {
2712 Py_XDECREF(_obj);
2713 }
2714
2715 operator PyObject *() const
2716 {
2717 return _obj;
2718 }
2719
2720 PyObject *operator->() const
2721 {
2722 return _obj;
2723 }
2724 };
2725 }
2726
2727
2728 namespace swig {
2729 struct PyObject_var : PyObject_ptr {
2730 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2731
2732 PyObject_var & operator = (PyObject* obj)
2733 {
2734 Py_XDECREF(_obj);
2735 _obj = obj;
2736 return *this;
2737 }
2738 };
2739 }
2740
2741
2742 #include "wx/wxPython/wxPython.h"
2743 #include "wx/wxPython/pyclasses.h"
2744
2745
2746 static const wxString wxPyEmptyString(wxEmptyString);
2747 static const wxString wxPyPanelNameStr(wxPanelNameStr);
2748
2749
2750
2751 #include <limits.h>
2752 #ifndef LLONG_MIN
2753 # define LLONG_MIN LONG_LONG_MIN
2754 #endif
2755 #ifndef LLONG_MAX
2756 # define LLONG_MAX LONG_LONG_MAX
2757 #endif
2758 #ifndef ULLONG_MAX
2759 # define ULLONG_MAX ULONG_LONG_MAX
2760 #endif
2761
2762
2763 SWIGINTERN int
2764 SWIG_AsVal_long (PyObject* obj, long* val)
2765 {
2766 if (PyNumber_Check(obj)) {
2767 if (val) *val = PyInt_AsLong(obj);
2768 return SWIG_OK;
2769 }
2770 return SWIG_TypeError;
2771 }
2772
2773
2774 SWIGINTERN int
2775 SWIG_AsVal_int (PyObject * obj, int *val)
2776 {
2777 long v;
2778 int res = SWIG_AsVal_long (obj, &v);
2779 if (SWIG_IsOK(res)) {
2780 if ((v < INT_MIN || v > INT_MAX)) {
2781 return SWIG_OverflowError;
2782 } else {
2783 if (val) *val = static_cast< int >(v);
2784 }
2785 }
2786 return res;
2787 }
2788
2789
2790 SWIGINTERN int
2791 SWIG_AsVal_bool (PyObject *obj, bool *val)
2792 {
2793 if (obj == Py_True) {
2794 if (val) *val = true;
2795 return SWIG_OK;
2796 } else if (obj == Py_False) {
2797 if (val) *val = false;
2798 return SWIG_OK;
2799 } else {
2800 long v = 0;
2801 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2802 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2803 return res;
2804 }
2805 }
2806
2807
2808 #define SWIG_From_long PyInt_FromLong
2809
2810
2811 SWIGINTERNINLINE PyObject *
2812 SWIG_From_int (int value)
2813 {
2814 return SWIG_From_long (value);
2815 }
2816
2817
2818 SWIGINTERN int
2819 SWIG_AsVal_double (PyObject *obj, double* val)
2820 {
2821 if (PyNumber_Check(obj)) {
2822 if (val) *val = PyFloat_AsDouble(obj);
2823 return SWIG_OK;
2824 }
2825 return SWIG_TypeError;
2826 }
2827
2828
2829 #define SWIG_From_double PyFloat_FromDouble
2830
2831 static const wxString wxPyFrameNameStr(wxFrameNameStr);
2832 static const wxString wxPyDialogNameStr(wxDialogNameStr);
2833 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
2834 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
2835 SWIGINTERN void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){ /*wxPyRaiseNotImplemented();*/ }
2836 SWIGINTERN bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow const *self){ /*wxPyRaiseNotImplemented();*/ return false; }
2837
2838 #define wxDEFAULT_MINIFRAME_STYLE wxCAPTION | wxRESIZE_BORDER | wxTINY_CAPTION_HORIZ
2839
2840
2841
2842 SWIGINTERN wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
2843 wxRect r;
2844 self->GetFieldRect(i, r);
2845 return r;
2846 }
2847 static const wxString wxPySplitterNameStr(wxT("splitter"));
2848 static const wxString wxPySashNameStr(wxT("sashWindow"));
2849 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
2850
2851 #include <wx/popupwin.h>
2852
2853
2854 class wxPyPopupTransientWindow : public wxPopupTransientWindow
2855 {
2856 public:
2857 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
2858 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
2859 : wxPopupTransientWindow(parent, style) {}
2860
2861 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
2862 DEC_PYCALLBACK__(OnDismiss);
2863 DEC_PYCALLBACK_BOOL_(CanDismiss);
2864 PYPRIVATE;
2865 };
2866
2867
2868 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
2869 IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
2870 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
2871
2872
2873 #include <wx/tipwin.h>
2874
2875 SWIGINTERN wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){
2876 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
2877 }
2878
2879 #include <wx/tipwin.h>
2880 #include <wx/vscroll.h>
2881
2882
2883 SWIGINTERNINLINE PyObject*
2884 SWIG_From_unsigned_SS_long (unsigned long value)
2885 {
2886 return (value > LONG_MAX) ?
2887 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2888 }
2889
2890
2891 SWIGINTERNINLINE PyObject *
2892 SWIG_From_size_t (size_t value)
2893 {
2894 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
2895 }
2896
2897
2898 SWIGINTERN int
2899 SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2900 {
2901 long v = 0;
2902 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2903 return SWIG_TypeError;
2904 }
2905 else if (val)
2906 *val = (unsigned long)v;
2907 return SWIG_OK;
2908 }
2909
2910
2911 SWIGINTERNINLINE int
2912 SWIG_AsVal_size_t (PyObject * obj, size_t *val)
2913 {
2914 unsigned long v;
2915 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2916 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2917 return res;
2918 }
2919
2920
2921 class wxPyVScrolledWindow : public wxVScrolledWindow
2922 {
2923 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow)
2924 public:
2925 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2926
2927 wxPyVScrolledWindow(wxWindow *parent,
2928 wxWindowID id = wxID_ANY,
2929 const wxPoint& pos = wxDefaultPosition,
2930 const wxSize& size = wxDefaultSize,
2931 long style = 0,
2932 const wxString& name = wxPyPanelNameStr)
2933 : wxVScrolledWindow(parent, id, pos, size, style, name)
2934 {}
2935
2936 // Overridable virtuals
2937
2938 // this function must be overridden in the derived class and it should
2939 // return the height of the given line in pixels
2940 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetRowHeight);
2941 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight); // old name
2942
2943 // this function doesn't have to be overridden but it may be useful to do
2944 // it if calculating the lines heights is a relatively expensive operation
2945 // as it gives the user code a possibility to calculate several of them at
2946 // once
2947 //
2948 // OnGetLinesHint() is normally called just before OnGetRowHeight() but you
2949 // shouldn't rely on the latter being called for all lines in the interval
2950 // specified here. It is also possible that OnGetRowHeight() will be
2951 // called for the lines outside of this interval, so this is really just a
2952 // hint, not a promise.
2953 //
2954 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2955 // usual
2956 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetRowsHeightHint);
2957 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint); // old name
2958
2959 // when the number of lines changes, we try to estimate the total height
2960 // of all lines which is a rather expensive operation in terms of lines
2961 // access, so if the user code may estimate the average height
2962 // better/faster than we do, it should override this function to implement
2963 // its own logic
2964 //
2965 // this function should return the best guess for the total height it may
2966 // make
2967 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
2968
2969
2970 // Also expose some other interesting protected methods
2971
2972
2973 // get the total height of the lines between lineMin (inclusive) and
2974 // lineMax (exclusive)
2975 wxCoord GetRowsHeight(size_t lineMin, size_t lineMax) const
2976 { return wxVScrolledWindow::GetRowsHeight(lineMin, lineMax); }
2977
2978
2979 PYPRIVATE;
2980 };
2981
2982 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
2983
2984 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetRowHeight);
2985 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
2986 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetRowsHeightHint);
2987 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
2988
2989 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
2990
2991
2992 class wxPyHScrolledWindow : public wxHScrolledWindow
2993 {
2994 DECLARE_ABSTRACT_CLASS(wxPyHScrolledWindow)
2995 public:
2996 wxPyHScrolledWindow() : wxHScrolledWindow() {}
2997
2998 wxPyHScrolledWindow(wxWindow *parent,
2999 wxWindowID id = wxID_ANY,
3000 const wxPoint& pos = wxDefaultPosition,
3001 const wxSize& size = wxDefaultSize,
3002 long style = 0,
3003 const wxString& name = wxPyPanelNameStr)
3004 : wxHScrolledWindow(parent, id, pos, size, style, name)
3005 {}
3006
3007 // Overridable virtuals
3008 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetColumnWidth);
3009 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetColumnsWidthHint);
3010 DEC_PYCALLBACK_COORD_const(EstimateTotalWidth);
3011
3012 wxCoord GetColumnsWidth(size_t columnMin, size_t columnMax) const
3013 { return wxHScrolledWindow::GetColumnsWidth(columnMin, columnMax); }
3014
3015 PYPRIVATE;
3016 };
3017
3018 IMPLEMENT_ABSTRACT_CLASS(wxPyHScrolledWindow, wxHScrolledWindow);
3019
3020 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyHScrolledWindow, wxHScrolledWindow, OnGetColumnWidth);
3021 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyHScrolledWindow, wxHScrolledWindow, OnGetColumnsWidthHint);
3022 IMP_PYCALLBACK_COORD_const (wxPyHScrolledWindow, wxHScrolledWindow, EstimateTotalWidth);
3023
3024
3025
3026 class wxPyHVScrolledWindow : public wxHVScrolledWindow
3027 {
3028 DECLARE_ABSTRACT_CLASS(wxPyHScrolledWindow)
3029 public:
3030 wxPyHVScrolledWindow() : wxHVScrolledWindow() {}
3031
3032 wxPyHVScrolledWindow(wxWindow *parent,
3033 wxWindowID id = wxID_ANY,
3034 const wxPoint& pos = wxDefaultPosition,
3035 const wxSize& size = wxDefaultSize,
3036 long style = 0,
3037 const wxString& name = wxPyPanelNameStr)
3038 : wxHVScrolledWindow(parent, id, pos, size, style, name)
3039 {}
3040
3041 // Overridable virtuals
3042 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetRowHeight);
3043 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetRowsHeightHint);
3044 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
3045
3046 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetColumnWidth);
3047 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetColumnsWidthHint);
3048 DEC_PYCALLBACK_COORD_const(EstimateTotalWidth);
3049
3050 wxCoord GetRowsHeight(size_t lineMin, size_t lineMax) const
3051 { return wxHVScrolledWindow::GetRowsHeight(lineMin, lineMax); }
3052
3053 wxCoord GetColumnsWidth(size_t columnMin, size_t columnMax) const
3054 { return wxHVScrolledWindow::GetColumnsWidth(columnMin, columnMax); }
3055
3056 PYPRIVATE;
3057 };
3058
3059 IMPLEMENT_ABSTRACT_CLASS(wxPyHVScrolledWindow, wxHVScrolledWindow);
3060
3061 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyHVScrolledWindow, wxHVScrolledWindow, OnGetRowHeight);
3062 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyHVScrolledWindow, wxHVScrolledWindow, OnGetRowsHeightHint);
3063 IMP_PYCALLBACK_COORD_const (wxPyHVScrolledWindow, wxHVScrolledWindow, EstimateTotalHeight);
3064
3065 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyHVScrolledWindow, wxHVScrolledWindow, OnGetColumnWidth);
3066 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyHVScrolledWindow, wxHVScrolledWindow, OnGetColumnsWidthHint);
3067 IMP_PYCALLBACK_COORD_const (wxPyHVScrolledWindow, wxHVScrolledWindow, EstimateTotalWidth);
3068
3069
3070
3071 #include <wx/vlbox.h>
3072
3073 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
3074
3075 class wxPyVListBox : public wxVListBox
3076 {
3077 DECLARE_ABSTRACT_CLASS(wxPyVListBox)
3078 public:
3079 wxPyVListBox() : wxVListBox() {}
3080
3081 wxPyVListBox(wxWindow *parent,
3082 wxWindowID id = wxID_ANY,
3083 const wxPoint& pos = wxDefaultPosition,
3084 const wxSize& size = wxDefaultSize,
3085 long style = 0,
3086 const wxString& name = wxPyVListBoxNameStr)
3087 : wxVListBox(parent, id, pos, size, style, name)
3088 {}
3089
3090 // Overridable virtuals
3091
3092 // the derived class must implement this function to actually draw the item
3093 // with the given index on the provided DC
3094 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3095 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
3096
3097
3098 // the derived class must implement this method to return the height of the
3099 // specified item
3100 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3101 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
3102
3103
3104 // this method may be used to draw separators between the lines; note that
3105 // the rectangle may be modified, typically to deflate it a bit before
3106 // passing to OnDrawItem()
3107 //
3108 // the base class version doesn't do anything
3109 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3110 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3111
3112
3113 // this method is used to draw the items background and, maybe, a border
3114 // around it
3115 //
3116 // the base class version implements a reasonable default behaviour which
3117 // consists in drawing the selected item with the standard background
3118 // colour and drawing a border around the item if it is either selected or
3119 // current
3120 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3121 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3122
3123
3124 PYPRIVATE;
3125 };
3126
3127 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
3128
3129 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
3130 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
3131 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox, wxVListBox, OnDrawSeparator);
3132 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
3133
3134
3135 SWIGINTERN PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
3136 unsigned long cookie = 0;
3137 int selected = self->GetFirstSelected(cookie);
3138 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3139 PyObject* tup = PyTuple_New(2);
3140 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3141 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3142 wxPyEndBlockThreads(blocked);
3143 return tup;
3144 }
3145 SWIGINTERN PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
3146 int selected = self->GetNextSelected(cookie);
3147 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3148 PyObject* tup = PyTuple_New(2);
3149 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3150 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3151 wxPyEndBlockThreads(blocked);
3152 return tup;
3153 }
3154
3155 #include <wx/htmllbox.h>
3156
3157
3158 class wxPyHtmlListBox : public wxHtmlListBox
3159 {
3160 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox)
3161 public:
3162 wxPyHtmlListBox() : wxHtmlListBox() {}
3163
3164 wxPyHtmlListBox(wxWindow *parent,
3165 wxWindowID id = wxID_ANY,
3166 const wxPoint& pos = wxDefaultPosition,
3167 const wxSize& size = wxDefaultSize,
3168 long style = 0,
3169 const wxString& name = wxPyVListBoxNameStr)
3170 : wxHtmlListBox(parent, id, pos, size, style, name)
3171 {}
3172
3173 // Overridable virtuals
3174
3175 // this method must be implemented in the derived class and should return
3176 // the body (i.e. without <html>) of the HTML for the given item
3177 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
3178
3179 // this function may be overridden to decorate HTML returned by OnGetItem()
3180 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
3181
3182 // These are from wxVListBox
3183 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3184 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3185
3186 // TODO:
3187 // // this method allows to customize the selection appearance: it may be used
3188 // // to specify the colour of the text which normally has the given colour
3189 // // colFg when it is inside the selection
3190 // //
3191 // // by default, the original colour is not used at all and all text has the
3192 // // same (default for this system) colour inside selection
3193 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3194
3195 // // this is the same as GetSelectedTextColour() but allows to customize the
3196 // // background colour -- this is even more rarely used as you can change it
3197 // // globally using SetSelectionBackground()
3198 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3199
3200
3201 // This method may be overriden to handle clicking on a link in
3202 // the listbox. By default, clicking links is ignored.
3203 virtual void OnLinkClicked(size_t n,
3204 const wxHtmlLinkInfo& link);
3205
3206 PYPRIVATE;
3207 };
3208
3209
3210 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
3211
3212 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
3213 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
3214 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawSeparator);
3215 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawBackground);
3216
3217
3218 void wxPyHtmlListBox::OnLinkClicked(size_t n,
3219 const wxHtmlLinkInfo& link) {
3220 bool found;
3221 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3222 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
3223 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
3224 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", n, obj));
3225 Py_DECREF(obj);
3226 }
3227 wxPyEndBlockThreads(blocked);
3228 if (! found)
3229 wxPyHtmlListBox::OnLinkClicked(n, link);
3230 }
3231
3232
3233
3234 const wxArrayString wxPyEmptyStringArray;
3235
3236 static const wxString wxPySimpleHtmlListBoxNameStr(wxSimpleHtmlListBoxNameStr);
3237
3238
3239
3240 #ifndef wxHAS_TASK_BAR_ICON
3241 // implement dummy classes for platforms that don't have it
3242
3243 class wxTaskBarIcon : public wxEvtHandler
3244 {
3245 public:
3246 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3247 };
3248
3249
3250 class wxTaskBarIconEvent : public wxEvent
3251 {
3252 public:
3253 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
3254 { wxPyRaiseNotImplemented(); }
3255 virtual wxEvent* Clone() const { return NULL; }
3256 bool IsOk() const { return false; }
3257 bool IsIconInstalled() const { return false; }
3258 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
3259 bool RemoveIcon() { return false; }
3260 bool PopupMenu(wxMenu *menu) { return false; }
3261 };
3262
3263 enum {
3264 wxEVT_TASKBAR_MOVE = 0,
3265 wxEVT_TASKBAR_LEFT_DOWN = 0,
3266 wxEVT_TASKBAR_LEFT_UP = 0,
3267 wxEVT_TASKBAR_RIGHT_DOWN = 0,
3268 wxEVT_TASKBAR_RIGHT_UP = 0,
3269 wxEVT_TASKBAR_LEFT_DCLICK = 0,
3270 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
3271 };
3272
3273
3274 #else
3275 // Otherwise make a class that can virtualize CreatePopupMenu
3276 class wxPyTaskBarIcon : public wxTaskBarIcon
3277 {
3278 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon)
3279 public:
3280 wxPyTaskBarIcon() : wxTaskBarIcon()
3281 {}
3282
3283 wxMenu* CreatePopupMenu() {
3284 wxMenu *rval = NULL;
3285 bool found;
3286 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3287 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
3288 PyObject* ro;
3289 wxMenu* ptr;
3290 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3291 if (ro) {
3292 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
3293 rval = ptr;
3294 Py_DECREF(ro);
3295 }
3296 }
3297 wxPyEndBlockThreads(blocked);
3298 if (! found)
3299 rval = wxTaskBarIcon::CreatePopupMenu();
3300 return rval;
3301 }
3302
3303 PYPRIVATE;
3304 };
3305
3306 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
3307
3308 #endif
3309
3310 SWIGINTERN void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
3311 self->RemoveIcon();
3312 delete self;
3313 }
3314 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
3315 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
3316 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
3317 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
3318 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
3319 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
3320
3321 // for compatibility only
3322 #define wxHIDE_READONLY 0
3323
3324 SWIGINTERN PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
3325 wxArrayString arr;
3326 self->GetFilenames(arr);
3327 return wxArrayString2PyList_helper(arr);
3328 }
3329 SWIGINTERN PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
3330 wxArrayString arr;
3331 self->GetPaths(arr);
3332 return wxArrayString2PyList_helper(arr);
3333 }
3334 SWIGINTERN PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
3335 return wxArrayInt2PyList_helper(self->GetSelections());
3336 }
3337 SWIGINTERN wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style=wxCHOICEDLG_STYLE,wxPoint const &pos=wxDefaultPosition){
3338 return new wxSingleChoiceDialog(parent, message, caption,
3339 choices, choices_array, NULL, style, pos);
3340 }
3341 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
3342
3343 SWIGINTERNINLINE PyObject*
3344 SWIG_From_bool (bool value)
3345 {
3346 return PyBool_FromLong(value ? 1 : 0);
3347 }
3348
3349
3350 #include <wx/mdi.h>
3351
3352 // C++ version of Python aware wxWindow
3353 class wxPyWindow : public wxWindow
3354 {
3355 DECLARE_DYNAMIC_CLASS(wxPyWindow)
3356 public:
3357 wxPyWindow() : wxWindow() {}
3358 wxPyWindow(wxWindow* parent, const wxWindowID id,
3359 const wxPoint& pos = wxDefaultPosition,
3360 const wxSize& size = wxDefaultSize,
3361 long style = 0,
3362 const wxString& name = wxPyPanelNameStr)
3363 : wxWindow(parent, id, pos, size, style, name) {}
3364
3365
3366 bool DoEraseBackground(wxDC* dc) {
3367 #ifdef __WXMSW__
3368 return wxWindow::DoEraseBackground(dc->GetHDC());
3369 #else
3370 dc->SetBackground(wxBrush(GetBackgroundColour()));
3371 dc->Clear();
3372 return true;
3373 #endif
3374 }
3375
3376 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3377 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3378 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3379 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3380
3381 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3382 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3383 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3384
3385 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3386 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3387
3388 DEC_PYCALLBACK__(InitDialog);
3389 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3390 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3391 DEC_PYCALLBACK_BOOL_(Validate);
3392
3393 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3394 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3395 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3396
3397 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3398 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3399
3400 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3401 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3402
3403 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3404
3405 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3406
3407 PYPRIVATE;
3408 };
3409
3410 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
3411
3412 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
3413 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
3414 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
3415 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
3416
3417 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
3418 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
3419 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
3420
3421 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
3422 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
3423
3424 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
3425 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
3426 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
3427 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
3428
3429 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
3430 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
3431 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
3432
3433 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
3434 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
3435
3436 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
3437 IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
3438
3439 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
3440
3441 IMP_PYCALLBACK_VOID_(wxPyWindow, wxWindow, OnInternalIdle);
3442
3443 // C++ version of Python aware wxPanel
3444 class wxPyPanel : public wxPanel
3445 {
3446 DECLARE_DYNAMIC_CLASS(wxPyPanel)
3447 public:
3448 wxPyPanel() : wxPanel() {}
3449 wxPyPanel(wxWindow* parent, const wxWindowID id,
3450 const wxPoint& pos = wxDefaultPosition,
3451 const wxSize& size = wxDefaultSize,
3452 long style = 0,
3453 const wxString& name = wxPyPanelNameStr)
3454 : wxPanel(parent, id, pos, size, style, name) {}
3455
3456 bool DoEraseBackground(wxDC* dc) {
3457 #ifdef __WXMSW__
3458 return wxWindow::DoEraseBackground(dc->GetHDC());
3459 #else
3460 dc->SetBackground(wxBrush(GetBackgroundColour()));
3461 dc->Clear();
3462 return true;
3463 #endif
3464 }
3465
3466
3467 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3468 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3469 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3470 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3471
3472 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3473 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3474 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3475
3476 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3477 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3478
3479 DEC_PYCALLBACK__(InitDialog);
3480 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3481 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3482 DEC_PYCALLBACK_BOOL_(Validate);
3483
3484 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3485 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3486 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3487
3488 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3489 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3490
3491 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3492 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3493
3494 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3495
3496 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3497
3498 PYPRIVATE;
3499 };
3500
3501 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
3502
3503 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
3504 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
3505 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
3506 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
3507
3508 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
3509 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
3510 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
3511
3512 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
3513 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
3514
3515 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
3516 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
3517 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
3518 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
3519
3520 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
3521 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
3522 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
3523
3524 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
3525 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
3526
3527 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
3528 IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
3529
3530 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
3531
3532 IMP_PYCALLBACK_VOID_(wxPyPanel, wxPanel, OnInternalIdle);
3533
3534 // C++ version of Python aware wxScrolledWindow
3535 class wxPyScrolledWindow : public wxScrolledWindow
3536 {
3537 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
3538 public:
3539 wxPyScrolledWindow() : wxScrolledWindow() {}
3540 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
3541 const wxPoint& pos = wxDefaultPosition,
3542 const wxSize& size = wxDefaultSize,
3543 long style = 0,
3544 const wxString& name = wxPyPanelNameStr)
3545 : wxScrolledWindow(parent, id, pos, size, style, name) {}
3546
3547 bool DoEraseBackground(wxDC* dc) {
3548 #ifdef __WXMSW__
3549 return wxWindow::DoEraseBackground(dc->GetHDC());
3550 #else
3551 dc->SetBackground(wxBrush(GetBackgroundColour()));
3552 dc->Clear();
3553 return true;
3554 #endif
3555 }
3556
3557 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3558 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3559 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3560 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3561
3562 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3563 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3564 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3565
3566 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3567 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3568
3569 DEC_PYCALLBACK__(InitDialog);
3570 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3571 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3572 DEC_PYCALLBACK_BOOL_(Validate);
3573
3574 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3575 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3576 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3577
3578 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3579 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3580
3581 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3582 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3583
3584 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3585
3586 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3587
3588 PYPRIVATE;
3589 };
3590
3591 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
3592
3593 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
3594 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
3595 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
3596 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
3597
3598 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
3599 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
3600 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
3601
3602 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
3603 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
3604
3605 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
3606 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
3607 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
3608 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
3609
3610 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
3611 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
3612 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
3613
3614 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
3615 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
3616
3617 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
3618 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
3619
3620 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
3621
3622 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow, wxScrolledWindow, OnInternalIdle);
3623
3624
3625 #include "wx/wxPython/printfw.h"
3626
3627
3628 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
3629 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3630 SWIGINTERN PyObject *wxPrintData_GetPrivData(wxPrintData *self){
3631 PyObject* data;
3632 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3633 data = PyString_FromStringAndSize(self->GetPrivData(),
3634 self->GetPrivDataLen());
3635 wxPyEndBlockThreads(blocked);
3636 return data;
3637 }
3638 SWIGINTERN void wxPrintData_SetPrivData(wxPrintData *self,PyObject *data){
3639 if (! PyString_Check(data)) {
3640 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
3641 "Expected string object"));
3642 return /* NULL */ ;
3643 }
3644
3645 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3646 self->SetPrivData(PyString_AS_STRING(data), PyString_GET_SIZE(data));
3647 wxPyEndBlockThreads(blocked);
3648 }
3649
3650
3651 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
3652
3653 // Since this one would be tough and ugly to do with the Macros...
3654 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
3655 bool hadErr = false;
3656 bool found;
3657
3658 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3659 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
3660 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3661 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
3662 PyObject* val;
3663
3664 val = PyTuple_GetItem(result, 0);
3665 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
3666 else hadErr = true;
3667
3668 val = PyTuple_GetItem(result, 1);
3669 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
3670 else hadErr = true;
3671
3672 val = PyTuple_GetItem(result, 2);
3673 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
3674 else hadErr = true;
3675
3676 val = PyTuple_GetItem(result, 3);
3677 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
3678 else hadErr = true;
3679 }
3680 else
3681 hadErr = true;
3682
3683 if (hadErr) {
3684 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
3685 PyErr_Print();
3686 }
3687 Py_DECREF(result);
3688 }
3689 wxPyEndBlockThreads(blocked);
3690 if (! found)
3691 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
3692 }
3693
3694
3695
3696 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
3697 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
3698 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
3699 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
3700 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
3701 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
3702 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
3703
3704
3705
3706
3707
3708 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3709 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3710
3711
3712 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3713 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3714 bool rval=false; \
3715 bool found; \
3716 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3717 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3718 PyObject* win = wxPyMake_wxObject(a,false); \
3719 PyObject* dc = wxPyMake_wxObject(&b,false); \
3720 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3721 Py_DECREF(win); \
3722 Py_DECREF(dc); \
3723 } \
3724 wxPyEndBlockThreads(blocked); \
3725 if (! found) \
3726 rval = PCLASS::CBNAME(a, b); \
3727 return rval; \
3728 }
3729
3730
3731
3732
3733 class wxPyPrintPreview : public wxPrintPreview
3734 {
3735 DECLARE_CLASS(wxPyPrintPreview)
3736 public:
3737 wxPyPrintPreview(wxPyPrintout* printout,
3738 wxPyPrintout* printoutForPrinting,
3739 wxPrintDialogData* data=NULL)
3740 : wxPrintPreview(printout, printoutForPrinting, data)
3741 {}
3742 wxPyPrintPreview(wxPyPrintout* printout,
3743 wxPyPrintout* printoutForPrinting,
3744 wxPrintData* data)
3745 : wxPrintPreview(printout, printoutForPrinting, data)
3746 {}
3747
3748 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
3749 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
3750 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
3751 DEC_PYCALLBACK_BOOL_INT(RenderPage);
3752 DEC_PYCALLBACK_VOID_INT(SetZoom);
3753 DEC_PYCALLBACK_BOOL_BOOL(Print);
3754 DEC_PYCALLBACK_VOID_(DetermineScaling);
3755
3756 PYPRIVATE;
3757 };
3758
3759 // Stupid renamed classes... Fix this in 2.5...
3760 #if defined(__WXMSW__)
3761 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
3762 #elif defined(__WXMAC__)
3763 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
3764 #else
3765 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
3766 #endif
3767
3768 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
3769 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
3770 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
3771 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
3772 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
3773 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
3774 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
3775
3776
3777 class wxPyPreviewFrame : public wxPreviewFrame
3778 {
3779 DECLARE_CLASS(wxPyPreviewFrame)
3780 public:
3781 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
3782 const wxString& title,
3783 const wxPoint& pos = wxDefaultPosition,
3784 const wxSize& size = wxDefaultSize,
3785 long style = wxDEFAULT_FRAME_STYLE,
3786 const wxString& name = wxPyFrameNameStr)
3787 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
3788 {}
3789
3790 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
3791 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
3792
3793 DEC_PYCALLBACK_VOID_(Initialize);
3794 DEC_PYCALLBACK_VOID_(CreateCanvas);
3795 DEC_PYCALLBACK_VOID_(CreateControlBar);
3796
3797 PYPRIVATE;
3798 };
3799
3800 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
3801
3802 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
3803 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
3804 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
3805
3806
3807 class wxPyPreviewControlBar : public wxPreviewControlBar
3808 {
3809 DECLARE_CLASS(wxPyPreviewControlBar)
3810 public:
3811 wxPyPreviewControlBar(wxPrintPreview *preview,
3812 long buttons,
3813 wxWindow *parent,
3814 const wxPoint& pos = wxDefaultPosition,
3815 const wxSize& size = wxDefaultSize,
3816 long style = 0,
3817 const wxString& name = wxPyPanelNameStr)
3818 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
3819 {}
3820
3821 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
3822
3823 DEC_PYCALLBACK_VOID_(CreateButtons);
3824 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
3825
3826 PYPRIVATE;
3827 };
3828
3829 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
3830 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
3831 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
3832
3833 #ifdef __cplusplus
3834 extern "C" {
3835 #endif
3836 SWIGINTERN PyObject *_wrap_new_Panel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3837 PyObject *resultobj = 0;
3838 wxWindow *arg1 = (wxWindow *) 0 ;
3839 int arg2 = (int) (int)-1 ;
3840 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3841 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3842 wxSize const &arg4_defvalue = wxDefaultSize ;
3843 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3844 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3845 wxString const &arg6_defvalue = wxPyPanelNameStr ;
3846 wxString *arg6 = (wxString *) &arg6_defvalue ;
3847 wxPanel *result = 0 ;
3848 void *argp1 = 0 ;
3849 int res1 = 0 ;
3850 int val2 ;
3851 int ecode2 = 0 ;
3852 wxPoint temp3 ;
3853 wxSize temp4 ;
3854 long val5 ;
3855 int ecode5 = 0 ;
3856 bool temp6 = false ;
3857 PyObject * obj0 = 0 ;
3858 PyObject * obj1 = 0 ;
3859 PyObject * obj2 = 0 ;
3860 PyObject * obj3 = 0 ;
3861 PyObject * obj4 = 0 ;
3862 PyObject * obj5 = 0 ;
3863 char * kwnames[] = {
3864 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3865 };
3866
3867 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
3868 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3869 if (!SWIG_IsOK(res1)) {
3870 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3871 }
3872 arg1 = reinterpret_cast< wxWindow * >(argp1);
3873 if (obj1) {
3874 ecode2 = SWIG_AsVal_int(obj1, &val2);
3875 if (!SWIG_IsOK(ecode2)) {
3876 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3877 }
3878 arg2 = static_cast< int >(val2);
3879 }
3880 if (obj2) {
3881 {
3882 arg3 = &temp3;
3883 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3884 }
3885 }
3886 if (obj3) {
3887 {
3888 arg4 = &temp4;
3889 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3890 }
3891 }
3892 if (obj4) {
3893 ecode5 = SWIG_AsVal_long(obj4, &val5);
3894 if (!SWIG_IsOK(ecode5)) {
3895 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3896 }
3897 arg5 = static_cast< long >(val5);
3898 }
3899 if (obj5) {
3900 {
3901 arg6 = wxString_in_helper(obj5);
3902 if (arg6 == NULL) SWIG_fail;
3903 temp6 = true;
3904 }
3905 }
3906 {
3907 if (!wxPyCheckForApp()) SWIG_fail;
3908 PyThreadState* __tstate = wxPyBeginAllowThreads();
3909 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3910 wxPyEndAllowThreads(__tstate);
3911 if (PyErr_Occurred()) SWIG_fail;
3912 }
3913 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_NEW | 0 );
3914 {
3915 if (temp6)
3916 delete arg6;
3917 }
3918 return resultobj;
3919 fail:
3920 {
3921 if (temp6)
3922 delete arg6;
3923 }
3924 return NULL;
3925 }
3926
3927
3928 SWIGINTERN PyObject *_wrap_new_PrePanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3929 PyObject *resultobj = 0;
3930 wxPanel *result = 0 ;
3931
3932 if (!SWIG_Python_UnpackTuple(args,"new_PrePanel",0,0,0)) SWIG_fail;
3933 {
3934 if (!wxPyCheckForApp()) SWIG_fail;
3935 PyThreadState* __tstate = wxPyBeginAllowThreads();
3936 result = (wxPanel *)new wxPanel();
3937 wxPyEndAllowThreads(__tstate);
3938 if (PyErr_Occurred()) SWIG_fail;
3939 }
3940 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_OWN | 0 );
3941 return resultobj;
3942 fail:
3943 return NULL;
3944 }
3945
3946
3947 SWIGINTERN PyObject *_wrap_Panel_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3948 PyObject *resultobj = 0;
3949 wxPanel *arg1 = (wxPanel *) 0 ;
3950 wxWindow *arg2 = (wxWindow *) 0 ;
3951 int arg3 = (int) (int)-1 ;
3952 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3953 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3954 wxSize const &arg5_defvalue = wxDefaultSize ;
3955 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3956 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3957 wxString const &arg7_defvalue = wxPyPanelNameStr ;
3958 wxString *arg7 = (wxString *) &arg7_defvalue ;
3959 bool result;
3960 void *argp1 = 0 ;
3961 int res1 = 0 ;
3962 void *argp2 = 0 ;
3963 int res2 = 0 ;
3964 int val3 ;
3965 int ecode3 = 0 ;
3966 wxPoint temp4 ;
3967 wxSize temp5 ;
3968 long val6 ;
3969 int ecode6 = 0 ;
3970 bool temp7 = false ;
3971 PyObject * obj0 = 0 ;
3972 PyObject * obj1 = 0 ;
3973 PyObject * obj2 = 0 ;
3974 PyObject * obj3 = 0 ;
3975 PyObject * obj4 = 0 ;
3976 PyObject * obj5 = 0 ;
3977 PyObject * obj6 = 0 ;
3978 char * kwnames[] = {
3979 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3980 };
3981
3982 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3983 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3984 if (!SWIG_IsOK(res1)) {
3985 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3986 }
3987 arg1 = reinterpret_cast< wxPanel * >(argp1);
3988 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3989 if (!SWIG_IsOK(res2)) {
3990 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3991 }
3992 arg2 = reinterpret_cast< wxWindow * >(argp2);
3993 if (obj2) {
3994 ecode3 = SWIG_AsVal_int(obj2, &val3);
3995 if (!SWIG_IsOK(ecode3)) {
3996 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3997 }
3998 arg3 = static_cast< int >(val3);
3999 }
4000 if (obj3) {
4001 {
4002 arg4 = &temp4;
4003 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4004 }
4005 }
4006 if (obj4) {
4007 {
4008 arg5 = &temp5;
4009 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4010 }
4011 }
4012 if (obj5) {
4013 ecode6 = SWIG_AsVal_long(obj5, &val6);
4014 if (!SWIG_IsOK(ecode6)) {
4015 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
4016 }
4017 arg6 = static_cast< long >(val6);
4018 }
4019 if (obj6) {
4020 {
4021 arg7 = wxString_in_helper(obj6);
4022 if (arg7 == NULL) SWIG_fail;
4023 temp7 = true;
4024 }
4025 }
4026 {
4027 PyThreadState* __tstate = wxPyBeginAllowThreads();
4028 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4029 wxPyEndAllowThreads(__tstate);
4030 if (PyErr_Occurred()) SWIG_fail;
4031 }
4032 {
4033 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4034 }
4035 {
4036 if (temp7)
4037 delete arg7;
4038 }
4039 return resultobj;
4040 fail:
4041 {
4042 if (temp7)
4043 delete arg7;
4044 }
4045 return NULL;
4046 }
4047
4048
4049 SWIGINTERN PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4050 PyObject *resultobj = 0;
4051 wxPanel *arg1 = (wxPanel *) 0 ;
4052 void *argp1 = 0 ;
4053 int res1 = 0 ;
4054 PyObject *swig_obj[1] ;
4055
4056 if (!args) SWIG_fail;
4057 swig_obj[0] = args;
4058 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
4059 if (!SWIG_IsOK(res1)) {
4060 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
4061 }
4062 arg1 = reinterpret_cast< wxPanel * >(argp1);
4063 {
4064 PyThreadState* __tstate = wxPyBeginAllowThreads();
4065 (arg1)->SetFocusIgnoringChildren();
4066 wxPyEndAllowThreads(__tstate);
4067 if (PyErr_Occurred()) SWIG_fail;
4068 }
4069 resultobj = SWIG_Py_Void();
4070 return resultobj;
4071 fail:
4072 return NULL;
4073 }
4074
4075
4076 SWIGINTERN PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4077 PyObject *resultobj = 0;
4078 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
4079 SwigValueWrapper<wxVisualAttributes > result;
4080 int val1 ;
4081 int ecode1 = 0 ;
4082 PyObject * obj0 = 0 ;
4083 char * kwnames[] = {
4084 (char *) "variant", NULL
4085 };
4086
4087 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
4088 if (obj0) {
4089 ecode1 = SWIG_AsVal_int(obj0, &val1);
4090 if (!SWIG_IsOK(ecode1)) {
4091 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4092 }
4093 arg1 = static_cast< wxWindowVariant >(val1);
4094 }
4095 {
4096 if (!wxPyCheckForApp()) SWIG_fail;
4097 PyThreadState* __tstate = wxPyBeginAllowThreads();
4098 result = wxPanel::GetClassDefaultAttributes(arg1);
4099 wxPyEndAllowThreads(__tstate);
4100 if (PyErr_Occurred()) SWIG_fail;
4101 }
4102 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
4103 return resultobj;
4104 fail:
4105 return NULL;
4106 }
4107
4108
4109 SWIGINTERN PyObject *Panel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4110 PyObject *obj;
4111 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4112 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel, SWIG_NewClientData(obj));
4113 return SWIG_Py_Void();
4114 }
4115
4116 SWIGINTERN PyObject *Panel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4117 return SWIG_Python_InitShadowInstance(args);
4118 }
4119
4120 SWIGINTERN PyObject *_wrap_new_ScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4121 PyObject *resultobj = 0;
4122 wxWindow *arg1 = (wxWindow *) 0 ;
4123 int arg2 = (int) (int)-1 ;
4124 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4125 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4126 wxSize const &arg4_defvalue = wxDefaultSize ;
4127 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4128 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
4129 wxString const &arg6_defvalue = wxPyPanelNameStr ;
4130 wxString *arg6 = (wxString *) &arg6_defvalue ;
4131 wxScrolledWindow *result = 0 ;
4132 void *argp1 = 0 ;
4133 int res1 = 0 ;
4134 int val2 ;
4135 int ecode2 = 0 ;
4136 wxPoint temp3 ;
4137 wxSize temp4 ;
4138 long val5 ;
4139 int ecode5 = 0 ;
4140 bool temp6 = false ;
4141 PyObject * obj0 = 0 ;
4142 PyObject * obj1 = 0 ;
4143 PyObject * obj2 = 0 ;
4144 PyObject * obj3 = 0 ;
4145 PyObject * obj4 = 0 ;
4146 PyObject * obj5 = 0 ;
4147 char * kwnames[] = {
4148 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4149 };
4150
4151 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
4152 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4153 if (!SWIG_IsOK(res1)) {
4154 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4155 }
4156 arg1 = reinterpret_cast< wxWindow * >(argp1);
4157 if (obj1) {
4158 ecode2 = SWIG_AsVal_int(obj1, &val2);
4159 if (!SWIG_IsOK(ecode2)) {
4160 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4161 }
4162 arg2 = static_cast< int >(val2);
4163 }
4164 if (obj2) {
4165 {
4166 arg3 = &temp3;
4167 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4168 }
4169 }
4170 if (obj3) {
4171 {
4172 arg4 = &temp4;
4173 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4174 }
4175 }
4176 if (obj4) {
4177 ecode5 = SWIG_AsVal_long(obj4, &val5);
4178 if (!SWIG_IsOK(ecode5)) {
4179 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4180 }
4181 arg5 = static_cast< long >(val5);
4182 }
4183 if (obj5) {
4184 {
4185 arg6 = wxString_in_helper(obj5);
4186 if (arg6 == NULL) SWIG_fail;
4187 temp6 = true;
4188 }
4189 }
4190 {
4191 if (!wxPyCheckForApp()) SWIG_fail;
4192 PyThreadState* __tstate = wxPyBeginAllowThreads();
4193 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4194 wxPyEndAllowThreads(__tstate);
4195 if (PyErr_Occurred()) SWIG_fail;
4196 }
4197 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_NEW | 0 );
4198 {
4199 if (temp6)
4200 delete arg6;
4201 }
4202 return resultobj;
4203 fail:
4204 {
4205 if (temp6)
4206 delete arg6;
4207 }
4208 return NULL;
4209 }
4210
4211
4212 SWIGINTERN PyObject *_wrap_new_PreScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4213 PyObject *resultobj = 0;
4214 wxScrolledWindow *result = 0 ;
4215
4216 if (!SWIG_Python_UnpackTuple(args,"new_PreScrolledWindow",0,0,0)) SWIG_fail;
4217 {
4218 if (!wxPyCheckForApp()) SWIG_fail;
4219 PyThreadState* __tstate = wxPyBeginAllowThreads();
4220 result = (wxScrolledWindow *)new wxScrolledWindow();
4221 wxPyEndAllowThreads(__tstate);
4222 if (PyErr_Occurred()) SWIG_fail;
4223 }
4224 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_OWN | 0 );
4225 return resultobj;
4226 fail:
4227 return NULL;
4228 }
4229
4230
4231 SWIGINTERN PyObject *_wrap_ScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4232 PyObject *resultobj = 0;
4233 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4234 wxWindow *arg2 = (wxWindow *) 0 ;
4235 int arg3 = (int) (int)-1 ;
4236 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4237 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4238 wxSize const &arg5_defvalue = wxDefaultSize ;
4239 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4240 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
4241 wxString const &arg7_defvalue = wxPyPanelNameStr ;
4242 wxString *arg7 = (wxString *) &arg7_defvalue ;
4243 bool result;
4244 void *argp1 = 0 ;
4245 int res1 = 0 ;
4246 void *argp2 = 0 ;
4247 int res2 = 0 ;
4248 int val3 ;
4249 int ecode3 = 0 ;
4250 wxPoint temp4 ;
4251 wxSize temp5 ;
4252 long val6 ;
4253 int ecode6 = 0 ;
4254 bool temp7 = false ;
4255 PyObject * obj0 = 0 ;
4256 PyObject * obj1 = 0 ;
4257 PyObject * obj2 = 0 ;
4258 PyObject * obj3 = 0 ;
4259 PyObject * obj4 = 0 ;
4260 PyObject * obj5 = 0 ;
4261 PyObject * obj6 = 0 ;
4262 char * kwnames[] = {
4263 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4264 };
4265
4266 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
4267 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4268 if (!SWIG_IsOK(res1)) {
4269 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4270 }
4271 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4272 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4273 if (!SWIG_IsOK(res2)) {
4274 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4275 }
4276 arg2 = reinterpret_cast< wxWindow * >(argp2);
4277 if (obj2) {
4278 ecode3 = SWIG_AsVal_int(obj2, &val3);
4279 if (!SWIG_IsOK(ecode3)) {
4280 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4281 }
4282 arg3 = static_cast< int >(val3);
4283 }
4284 if (obj3) {
4285 {
4286 arg4 = &temp4;
4287 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4288 }
4289 }
4290 if (obj4) {
4291 {
4292 arg5 = &temp5;
4293 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4294 }
4295 }
4296 if (obj5) {
4297 ecode6 = SWIG_AsVal_long(obj5, &val6);
4298 if (!SWIG_IsOK(ecode6)) {
4299 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4300 }
4301 arg6 = static_cast< long >(val6);
4302 }
4303 if (obj6) {
4304 {
4305 arg7 = wxString_in_helper(obj6);
4306 if (arg7 == NULL) SWIG_fail;
4307 temp7 = true;
4308 }
4309 }
4310 {
4311 PyThreadState* __tstate = wxPyBeginAllowThreads();
4312 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4313 wxPyEndAllowThreads(__tstate);
4314 if (PyErr_Occurred()) SWIG_fail;
4315 }
4316 {
4317 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4318 }
4319 {
4320 if (temp7)
4321 delete arg7;
4322 }
4323 return resultobj;
4324 fail:
4325 {
4326 if (temp7)
4327 delete arg7;
4328 }
4329 return NULL;
4330 }
4331
4332
4333 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4334 PyObject *resultobj = 0;
4335 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4336 int arg2 ;
4337 int arg3 ;
4338 int arg4 ;
4339 int arg5 ;
4340 int arg6 = (int) 0 ;
4341 int arg7 = (int) 0 ;
4342 bool arg8 = (bool) false ;
4343 void *argp1 = 0 ;
4344 int res1 = 0 ;
4345 int val2 ;
4346 int ecode2 = 0 ;
4347 int val3 ;
4348 int ecode3 = 0 ;
4349 int val4 ;
4350 int ecode4 = 0 ;
4351 int val5 ;
4352 int ecode5 = 0 ;
4353 int val6 ;
4354 int ecode6 = 0 ;
4355 int val7 ;
4356 int ecode7 = 0 ;
4357 bool val8 ;
4358 int ecode8 = 0 ;
4359 PyObject * obj0 = 0 ;
4360 PyObject * obj1 = 0 ;
4361 PyObject * obj2 = 0 ;
4362 PyObject * obj3 = 0 ;
4363 PyObject * obj4 = 0 ;
4364 PyObject * obj5 = 0 ;
4365 PyObject * obj6 = 0 ;
4366 PyObject * obj7 = 0 ;
4367 char * kwnames[] = {
4368 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4369 };
4370
4371 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
4372 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4373 if (!SWIG_IsOK(res1)) {
4374 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4375 }
4376 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4377 ecode2 = SWIG_AsVal_int(obj1, &val2);
4378 if (!SWIG_IsOK(ecode2)) {
4379 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4380 }
4381 arg2 = static_cast< int >(val2);
4382 ecode3 = SWIG_AsVal_int(obj2, &val3);
4383 if (!SWIG_IsOK(ecode3)) {
4384 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4385 }
4386 arg3 = static_cast< int >(val3);
4387 ecode4 = SWIG_AsVal_int(obj3, &val4);
4388 if (!SWIG_IsOK(ecode4)) {
4389 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4390 }
4391 arg4 = static_cast< int >(val4);
4392 ecode5 = SWIG_AsVal_int(obj4, &val5);
4393 if (!SWIG_IsOK(ecode5)) {
4394 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4395 }
4396 arg5 = static_cast< int >(val5);
4397 if (obj5) {
4398 ecode6 = SWIG_AsVal_int(obj5, &val6);
4399 if (!SWIG_IsOK(ecode6)) {
4400 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4401 }
4402 arg6 = static_cast< int >(val6);
4403 }
4404 if (obj6) {
4405 ecode7 = SWIG_AsVal_int(obj6, &val7);
4406 if (!SWIG_IsOK(ecode7)) {
4407 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4408 }
4409 arg7 = static_cast< int >(val7);
4410 }
4411 if (obj7) {
4412 ecode8 = SWIG_AsVal_bool(obj7, &val8);
4413 if (!SWIG_IsOK(ecode8)) {
4414 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4415 }
4416 arg8 = static_cast< bool >(val8);
4417 }
4418 {
4419 PyThreadState* __tstate = wxPyBeginAllowThreads();
4420 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
4421 wxPyEndAllowThreads(__tstate);
4422 if (PyErr_Occurred()) SWIG_fail;
4423 }
4424 resultobj = SWIG_Py_Void();
4425 return resultobj;
4426 fail:
4427 return NULL;
4428 }
4429
4430
4431 SWIGINTERN PyObject *_wrap_ScrolledWindow_Scroll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4432 PyObject *resultobj = 0;
4433 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4434 int arg2 ;
4435 int arg3 ;
4436 void *argp1 = 0 ;
4437 int res1 = 0 ;
4438 int val2 ;
4439 int ecode2 = 0 ;
4440 int val3 ;
4441 int ecode3 = 0 ;
4442 PyObject * obj0 = 0 ;
4443 PyObject * obj1 = 0 ;
4444 PyObject * obj2 = 0 ;
4445 char * kwnames[] = {
4446 (char *) "self",(char *) "x",(char *) "y", NULL
4447 };
4448
4449 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4450 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4451 if (!SWIG_IsOK(res1)) {
4452 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4453 }
4454 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4455 ecode2 = SWIG_AsVal_int(obj1, &val2);
4456 if (!SWIG_IsOK(ecode2)) {
4457 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4458 }
4459 arg2 = static_cast< int >(val2);
4460 ecode3 = SWIG_AsVal_int(obj2, &val3);
4461 if (!SWIG_IsOK(ecode3)) {
4462 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4463 }
4464 arg3 = static_cast< int >(val3);
4465 {
4466 PyThreadState* __tstate = wxPyBeginAllowThreads();
4467 (arg1)->Scroll(arg2,arg3);
4468 wxPyEndAllowThreads(__tstate);
4469 if (PyErr_Occurred()) SWIG_fail;
4470 }
4471 resultobj = SWIG_Py_Void();
4472 return resultobj;
4473 fail:
4474 return NULL;
4475 }
4476
4477
4478 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4479 PyObject *resultobj = 0;
4480 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4481 int arg2 ;
4482 int result;
4483 void *argp1 = 0 ;
4484 int res1 = 0 ;
4485 int val2 ;
4486 int ecode2 = 0 ;
4487 PyObject * obj0 = 0 ;
4488 PyObject * obj1 = 0 ;
4489 char * kwnames[] = {
4490 (char *) "self",(char *) "orient", NULL
4491 };
4492
4493 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
4494 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4495 if (!SWIG_IsOK(res1)) {
4496 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4497 }
4498 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4499 ecode2 = SWIG_AsVal_int(obj1, &val2);
4500 if (!SWIG_IsOK(ecode2)) {
4501 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4502 }
4503 arg2 = static_cast< int >(val2);
4504 {
4505 PyThreadState* __tstate = wxPyBeginAllowThreads();
4506 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
4507 wxPyEndAllowThreads(__tstate);
4508 if (PyErr_Occurred()) SWIG_fail;
4509 }
4510 resultobj = SWIG_From_int(static_cast< int >(result));
4511 return resultobj;
4512 fail:
4513 return NULL;
4514 }
4515
4516
4517 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4518 PyObject *resultobj = 0;
4519 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4520 int arg2 ;
4521 int arg3 ;
4522 void *argp1 = 0 ;
4523 int res1 = 0 ;
4524 int val2 ;
4525 int ecode2 = 0 ;
4526 int val3 ;
4527 int ecode3 = 0 ;
4528 PyObject * obj0 = 0 ;
4529 PyObject * obj1 = 0 ;
4530 PyObject * obj2 = 0 ;
4531 char * kwnames[] = {
4532 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4533 };
4534
4535 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4536 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4537 if (!SWIG_IsOK(res1)) {
4538 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4539 }
4540 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4541 ecode2 = SWIG_AsVal_int(obj1, &val2);
4542 if (!SWIG_IsOK(ecode2)) {
4543 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4544 }
4545 arg2 = static_cast< int >(val2);
4546 ecode3 = SWIG_AsVal_int(obj2, &val3);
4547 if (!SWIG_IsOK(ecode3)) {
4548 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4549 }
4550 arg3 = static_cast< int >(val3);
4551 {
4552 PyThreadState* __tstate = wxPyBeginAllowThreads();
4553 (arg1)->SetScrollPageSize(arg2,arg3);
4554 wxPyEndAllowThreads(__tstate);
4555 if (PyErr_Occurred()) SWIG_fail;
4556 }
4557 resultobj = SWIG_Py_Void();
4558 return resultobj;
4559 fail:
4560 return NULL;
4561 }
4562
4563
4564 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4565 PyObject *resultobj = 0;
4566 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4567 int arg2 ;
4568 int arg3 ;
4569 void *argp1 = 0 ;
4570 int res1 = 0 ;
4571 int val2 ;
4572 int ecode2 = 0 ;
4573 int val3 ;
4574 int ecode3 = 0 ;
4575 PyObject * obj0 = 0 ;
4576 PyObject * obj1 = 0 ;
4577 PyObject * obj2 = 0 ;
4578 char * kwnames[] = {
4579 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4580 };
4581
4582 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4583 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4584 if (!SWIG_IsOK(res1)) {
4585 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4586 }
4587 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4588 ecode2 = SWIG_AsVal_int(obj1, &val2);
4589 if (!SWIG_IsOK(ecode2)) {
4590 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4591 }
4592 arg2 = static_cast< int >(val2);
4593 ecode3 = SWIG_AsVal_int(obj2, &val3);
4594 if (!SWIG_IsOK(ecode3)) {
4595 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4596 }
4597 arg3 = static_cast< int >(val3);
4598 {
4599 PyThreadState* __tstate = wxPyBeginAllowThreads();
4600 (arg1)->SetScrollRate(arg2,arg3);
4601 wxPyEndAllowThreads(__tstate);
4602 if (PyErr_Occurred()) SWIG_fail;
4603 }
4604 resultobj = SWIG_Py_Void();
4605 return resultobj;
4606 fail:
4607 return NULL;
4608 }
4609
4610
4611 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4612 PyObject *resultobj = 0;
4613 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4614 int *arg2 = (int *) 0 ;
4615 int *arg3 = (int *) 0 ;
4616 void *argp1 = 0 ;
4617 int res1 = 0 ;
4618 int temp2 ;
4619 int res2 = SWIG_TMPOBJ ;
4620 int temp3 ;
4621 int res3 = SWIG_TMPOBJ ;
4622 PyObject *swig_obj[1] ;
4623
4624 arg2 = &temp2;
4625 arg3 = &temp3;
4626 if (!args) SWIG_fail;
4627 swig_obj[0] = args;
4628 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4629 if (!SWIG_IsOK(res1)) {
4630 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4631 }
4632 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4633 {
4634 PyThreadState* __tstate = wxPyBeginAllowThreads();
4635 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
4636 wxPyEndAllowThreads(__tstate);
4637 if (PyErr_Occurred()) SWIG_fail;
4638 }
4639 resultobj = SWIG_Py_Void();
4640 if (SWIG_IsTmpObj(res2)) {
4641 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4642 } else {
4643 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4644 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4645 }
4646 if (SWIG_IsTmpObj(res3)) {
4647 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4648 } else {
4649 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4650 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4651 }
4652 return resultobj;
4653 fail:
4654 return NULL;
4655 }
4656
4657
4658 SWIGINTERN PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4659 PyObject *resultobj = 0;
4660 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4661 bool arg2 ;
4662 bool arg3 ;
4663 void *argp1 = 0 ;
4664 int res1 = 0 ;
4665 bool val2 ;
4666 int ecode2 = 0 ;
4667 bool val3 ;
4668 int ecode3 = 0 ;
4669 PyObject * obj0 = 0 ;
4670 PyObject * obj1 = 0 ;
4671 PyObject * obj2 = 0 ;
4672 char * kwnames[] = {
4673 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4674 };
4675
4676 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4677 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4678 if (!SWIG_IsOK(res1)) {
4679 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4680 }
4681 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4682 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4683 if (!SWIG_IsOK(ecode2)) {
4684 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4685 }
4686 arg2 = static_cast< bool >(val2);
4687 ecode3 = SWIG_AsVal_bool(obj2, &val3);
4688 if (!SWIG_IsOK(ecode3)) {
4689 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4690 }
4691 arg3 = static_cast< bool >(val3);
4692 {
4693 PyThreadState* __tstate = wxPyBeginAllowThreads();
4694 (arg1)->EnableScrolling(arg2,arg3);
4695 wxPyEndAllowThreads(__tstate);
4696 if (PyErr_Occurred()) SWIG_fail;
4697 }
4698 resultobj = SWIG_Py_Void();
4699 return resultobj;
4700 fail:
4701 return NULL;
4702 }
4703
4704
4705 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4706 PyObject *resultobj = 0;
4707 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4708 int *arg2 = (int *) 0 ;
4709 int *arg3 = (int *) 0 ;
4710 void *argp1 = 0 ;
4711 int res1 = 0 ;
4712 int temp2 ;
4713 int res2 = SWIG_TMPOBJ ;
4714 int temp3 ;
4715 int res3 = SWIG_TMPOBJ ;
4716 PyObject *swig_obj[1] ;
4717
4718 arg2 = &temp2;
4719 arg3 = &temp3;
4720 if (!args) SWIG_fail;
4721 swig_obj[0] = args;
4722 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4723 if (!SWIG_IsOK(res1)) {
4724 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4725 }
4726 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4727 {
4728 PyThreadState* __tstate = wxPyBeginAllowThreads();
4729 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
4730 wxPyEndAllowThreads(__tstate);
4731 if (PyErr_Occurred()) SWIG_fail;
4732 }
4733 resultobj = SWIG_Py_Void();
4734 if (SWIG_IsTmpObj(res2)) {
4735 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4736 } else {
4737 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4738 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4739 }
4740 if (SWIG_IsTmpObj(res3)) {
4741 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4742 } else {
4743 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4744 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4745 }
4746 return resultobj;
4747 fail:
4748 return NULL;
4749 }
4750
4751
4752 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4753 PyObject *resultobj = 0;
4754 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4755 double arg2 ;
4756 double arg3 ;
4757 void *argp1 = 0 ;
4758 int res1 = 0 ;
4759 double val2 ;
4760 int ecode2 = 0 ;
4761 double val3 ;
4762 int ecode3 = 0 ;
4763 PyObject * obj0 = 0 ;
4764 PyObject * obj1 = 0 ;
4765 PyObject * obj2 = 0 ;
4766 char * kwnames[] = {
4767 (char *) "self",(char *) "xs",(char *) "ys", NULL
4768 };
4769
4770 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4771 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4772 if (!SWIG_IsOK(res1)) {
4773 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4774 }
4775 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4776 ecode2 = SWIG_AsVal_double(obj1, &val2);
4777 if (!SWIG_IsOK(ecode2)) {
4778 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4779 }
4780 arg2 = static_cast< double >(val2);
4781 ecode3 = SWIG_AsVal_double(obj2, &val3);
4782 if (!SWIG_IsOK(ecode3)) {
4783 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4784 }
4785 arg3 = static_cast< double >(val3);
4786 {
4787 PyThreadState* __tstate = wxPyBeginAllowThreads();
4788 (arg1)->SetScale(arg2,arg3);
4789 wxPyEndAllowThreads(__tstate);
4790 if (PyErr_Occurred()) SWIG_fail;
4791 }
4792 resultobj = SWIG_Py_Void();
4793 return resultobj;
4794 fail:
4795 return NULL;
4796 }
4797
4798
4799 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4800 PyObject *resultobj = 0;
4801 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4802 double result;
4803 void *argp1 = 0 ;
4804 int res1 = 0 ;
4805 PyObject *swig_obj[1] ;
4806
4807 if (!args) SWIG_fail;
4808 swig_obj[0] = args;
4809 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4810 if (!SWIG_IsOK(res1)) {
4811 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4812 }
4813 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4814 {
4815 PyThreadState* __tstate = wxPyBeginAllowThreads();
4816 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
4817 wxPyEndAllowThreads(__tstate);
4818 if (PyErr_Occurred()) SWIG_fail;
4819 }
4820 resultobj = SWIG_From_double(static_cast< double >(result));
4821 return resultobj;
4822 fail:
4823 return NULL;
4824 }
4825
4826
4827 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4828 PyObject *resultobj = 0;
4829 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4830 double result;
4831 void *argp1 = 0 ;
4832 int res1 = 0 ;
4833 PyObject *swig_obj[1] ;
4834
4835 if (!args) SWIG_fail;
4836 swig_obj[0] = args;
4837 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4838 if (!SWIG_IsOK(res1)) {
4839 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4840 }
4841 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4842 {
4843 PyThreadState* __tstate = wxPyBeginAllowThreads();
4844 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
4845 wxPyEndAllowThreads(__tstate);
4846 if (PyErr_Occurred()) SWIG_fail;
4847 }
4848 resultobj = SWIG_From_double(static_cast< double >(result));
4849 return resultobj;
4850 fail:
4851 return NULL;
4852 }
4853
4854
4855 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4856 PyObject *resultobj = 0;
4857 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4858 wxPoint *arg2 = 0 ;
4859 wxPoint result;
4860 void *argp1 = 0 ;
4861 int res1 = 0 ;
4862 wxPoint temp2 ;
4863
4864 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4865 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4866 if (!SWIG_IsOK(res1)) {
4867 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4868 }
4869 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4870 {
4871 arg2 = &temp2;
4872 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4873 }
4874 {
4875 PyThreadState* __tstate = wxPyBeginAllowThreads();
4876 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
4877 wxPyEndAllowThreads(__tstate);
4878 if (PyErr_Occurred()) SWIG_fail;
4879 }
4880 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4881 return resultobj;
4882 fail:
4883 return NULL;
4884 }
4885
4886
4887 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4888 PyObject *resultobj = 0;
4889 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4890 int arg2 ;
4891 int arg3 ;
4892 int *arg4 = (int *) 0 ;
4893 int *arg5 = (int *) 0 ;
4894 void *argp1 = 0 ;
4895 int res1 = 0 ;
4896 int val2 ;
4897 int ecode2 = 0 ;
4898 int val3 ;
4899 int ecode3 = 0 ;
4900 int temp4 ;
4901 int res4 = SWIG_TMPOBJ ;
4902 int temp5 ;
4903 int res5 = SWIG_TMPOBJ ;
4904
4905 arg4 = &temp4;
4906 arg5 = &temp5;
4907 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4908 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4909 if (!SWIG_IsOK(res1)) {
4910 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4911 }
4912 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4913 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4914 if (!SWIG_IsOK(ecode2)) {
4915 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4916 }
4917 arg2 = static_cast< int >(val2);
4918 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4919 if (!SWIG_IsOK(ecode3)) {
4920 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4921 }
4922 arg3 = static_cast< int >(val3);
4923 {
4924 PyThreadState* __tstate = wxPyBeginAllowThreads();
4925 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
4926 wxPyEndAllowThreads(__tstate);
4927 if (PyErr_Occurred()) SWIG_fail;
4928 }
4929 resultobj = SWIG_Py_Void();
4930 if (SWIG_IsTmpObj(res4)) {
4931 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4932 } else {
4933 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4934 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4935 }
4936 if (SWIG_IsTmpObj(res5)) {
4937 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4938 } else {
4939 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4940 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4941 }
4942 return resultobj;
4943 fail:
4944 return NULL;
4945 }
4946
4947
4948 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
4949 int argc;
4950 PyObject *argv[4];
4951
4952 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcScrolledPosition",0,3,argv))) SWIG_fail;
4953 --argc;
4954 if (argc == 2) {
4955 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self, argc, argv);
4956 }
4957 if (argc == 3) {
4958 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self, argc, argv);
4959 }
4960
4961 fail:
4962 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4963 return NULL;
4964 }
4965
4966
4967 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4968 PyObject *resultobj = 0;
4969 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4970 wxPoint *arg2 = 0 ;
4971 wxPoint result;
4972 void *argp1 = 0 ;
4973 int res1 = 0 ;
4974 wxPoint temp2 ;
4975
4976 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4977 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4978 if (!SWIG_IsOK(res1)) {
4979 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4980 }
4981 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4982 {
4983 arg2 = &temp2;
4984 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4985 }
4986 {
4987 PyThreadState* __tstate = wxPyBeginAllowThreads();
4988 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
4989 wxPyEndAllowThreads(__tstate);
4990 if (PyErr_Occurred()) SWIG_fail;
4991 }
4992 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4993 return resultobj;
4994 fail:
4995 return NULL;
4996 }
4997
4998
4999 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
5000 PyObject *resultobj = 0;
5001 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5002 int arg2 ;
5003 int arg3 ;
5004 int *arg4 = (int *) 0 ;
5005 int *arg5 = (int *) 0 ;
5006 void *argp1 = 0 ;
5007 int res1 = 0 ;
5008 int val2 ;
5009 int ecode2 = 0 ;
5010 int val3 ;
5011 int ecode3 = 0 ;
5012 int temp4 ;
5013 int res4 = SWIG_TMPOBJ ;
5014 int temp5 ;
5015 int res5 = SWIG_TMPOBJ ;
5016
5017 arg4 = &temp4;
5018 arg5 = &temp5;
5019 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
5020 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5021 if (!SWIG_IsOK(res1)) {
5022 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5023 }
5024 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5025 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
5026 if (!SWIG_IsOK(ecode2)) {
5027 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
5028 }
5029 arg2 = static_cast< int >(val2);
5030 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
5031 if (!SWIG_IsOK(ecode3)) {
5032 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
5033 }
5034 arg3 = static_cast< int >(val3);
5035 {
5036 PyThreadState* __tstate = wxPyBeginAllowThreads();
5037 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
5038 wxPyEndAllowThreads(__tstate);
5039 if (PyErr_Occurred()) SWIG_fail;
5040 }
5041 resultobj = SWIG_Py_Void();
5042 if (SWIG_IsTmpObj(res4)) {
5043 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
5044 } else {
5045 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
5046 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
5047 }
5048 if (SWIG_IsTmpObj(res5)) {
5049 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
5050 } else {
5051 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
5052 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
5053 }
5054 return resultobj;
5055 fail:
5056 return NULL;
5057 }
5058
5059
5060 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
5061 int argc;
5062 PyObject *argv[4];
5063
5064 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv))) SWIG_fail;
5065 --argc;
5066 if (argc == 2) {
5067 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self, argc, argv);
5068 }
5069 if (argc == 3) {
5070 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self, argc, argv);
5071 }
5072
5073 fail:
5074 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
5075 return NULL;
5076 }
5077
5078
5079 SWIGINTERN PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5080 PyObject *resultobj = 0;
5081 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5082 void *argp1 = 0 ;
5083 int res1 = 0 ;
5084 PyObject *swig_obj[1] ;
5085
5086 if (!args) SWIG_fail;
5087 swig_obj[0] = args;
5088 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5089 if (!SWIG_IsOK(res1)) {
5090 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5091 }
5092 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5093 {
5094 PyThreadState* __tstate = wxPyBeginAllowThreads();
5095 (arg1)->AdjustScrollbars();
5096 wxPyEndAllowThreads(__tstate);
5097 if (PyErr_Occurred()) SWIG_fail;
5098 }
5099 resultobj = SWIG_Py_Void();
5100 return resultobj;
5101 fail:
5102 return NULL;
5103 }
5104
5105
5106 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5107 PyObject *resultobj = 0;
5108 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5109 wxScrollWinEvent *arg2 = 0 ;
5110 int result;
5111 void *argp1 = 0 ;
5112 int res1 = 0 ;
5113 void *argp2 = 0 ;
5114 int res2 = 0 ;
5115 PyObject * obj0 = 0 ;
5116 PyObject * obj1 = 0 ;
5117 char * kwnames[] = {
5118 (char *) "self",(char *) "event", NULL
5119 };
5120
5121 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) SWIG_fail;
5122 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5123 if (!SWIG_IsOK(res1)) {
5124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5125 }
5126 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5127 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxScrollWinEvent, 0 );
5128 if (!SWIG_IsOK(res2)) {
5129 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5130 }
5131 if (!argp2) {
5132 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5133 }
5134 arg2 = reinterpret_cast< wxScrollWinEvent * >(argp2);
5135 {
5136 PyThreadState* __tstate = wxPyBeginAllowThreads();
5137 result = (int)(arg1)->CalcScrollInc(*arg2);
5138 wxPyEndAllowThreads(__tstate);
5139 if (PyErr_Occurred()) SWIG_fail;
5140 }
5141 resultobj = SWIG_From_int(static_cast< int >(result));
5142 return resultobj;
5143 fail:
5144 return NULL;
5145 }
5146
5147
5148 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5149 PyObject *resultobj = 0;
5150 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5151 wxWindow *arg2 = (wxWindow *) 0 ;
5152 void *argp1 = 0 ;
5153 int res1 = 0 ;
5154 void *argp2 = 0 ;
5155 int res2 = 0 ;
5156 PyObject * obj0 = 0 ;
5157 PyObject * obj1 = 0 ;
5158 char * kwnames[] = {
5159 (char *) "self",(char *) "target", NULL
5160 };
5161
5162 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) SWIG_fail;
5163 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5164 if (!SWIG_IsOK(res1)) {
5165 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5166 }
5167 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5168 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5169 if (!SWIG_IsOK(res2)) {
5170 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5171 }
5172 arg2 = reinterpret_cast< wxWindow * >(argp2);
5173 {
5174 PyThreadState* __tstate = wxPyBeginAllowThreads();
5175 (arg1)->SetTargetWindow(arg2);
5176 wxPyEndAllowThreads(__tstate);
5177 if (PyErr_Occurred()) SWIG_fail;
5178 }
5179 resultobj = SWIG_Py_Void();
5180 return resultobj;
5181 fail:
5182 return NULL;
5183 }
5184
5185
5186 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5187 PyObject *resultobj = 0;
5188 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5189 wxWindow *result = 0 ;
5190 void *argp1 = 0 ;
5191 int res1 = 0 ;
5192 PyObject *swig_obj[1] ;
5193
5194 if (!args) SWIG_fail;
5195 swig_obj[0] = args;
5196 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5197 if (!SWIG_IsOK(res1)) {
5198 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5199 }
5200 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5201 {
5202 PyThreadState* __tstate = wxPyBeginAllowThreads();
5203 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
5204 wxPyEndAllowThreads(__tstate);
5205 if (PyErr_Occurred()) SWIG_fail;
5206 }
5207 {
5208 resultobj = wxPyMake_wxObject(result, 0);
5209 }
5210 return resultobj;
5211 fail:
5212 return NULL;
5213 }
5214
5215
5216 SWIGINTERN PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5217 PyObject *resultobj = 0;
5218 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5219 wxDC *arg2 = 0 ;
5220 void *argp1 = 0 ;
5221 int res1 = 0 ;
5222 void *argp2 = 0 ;
5223 int res2 = 0 ;
5224 PyObject * obj0 = 0 ;
5225 PyObject * obj1 = 0 ;
5226 char * kwnames[] = {
5227 (char *) "self",(char *) "dc", NULL
5228 };
5229
5230 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) SWIG_fail;
5231 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5232 if (!SWIG_IsOK(res1)) {
5233 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5234 }
5235 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5236 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
5237 if (!SWIG_IsOK(res2)) {
5238 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5239 }
5240 if (!argp2) {
5241 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5242 }
5243 arg2 = reinterpret_cast< wxDC * >(argp2);
5244 {
5245 PyThreadState* __tstate = wxPyBeginAllowThreads();
5246 (arg1)->DoPrepareDC(*arg2);
5247 wxPyEndAllowThreads(__tstate);
5248 if (PyErr_Occurred()) SWIG_fail;
5249 }
5250 resultobj = SWIG_Py_Void();
5251 return resultobj;
5252 fail:
5253 return NULL;
5254 }
5255
5256
5257 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5258 PyObject *resultobj = 0;
5259 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5260 SwigValueWrapper<wxVisualAttributes > result;
5261 int val1 ;
5262 int ecode1 = 0 ;
5263 PyObject * obj0 = 0 ;
5264 char * kwnames[] = {
5265 (char *) "variant", NULL
5266 };
5267
5268 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5269 if (obj0) {
5270 ecode1 = SWIG_AsVal_int(obj0, &val1);
5271 if (!SWIG_IsOK(ecode1)) {
5272 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5273 }
5274 arg1 = static_cast< wxWindowVariant >(val1);
5275 }
5276 {
5277 if (!wxPyCheckForApp()) SWIG_fail;
5278 PyThreadState* __tstate = wxPyBeginAllowThreads();
5279 result = wxScrolledWindow::GetClassDefaultAttributes(arg1);
5280 wxPyEndAllowThreads(__tstate);
5281 if (PyErr_Occurred()) SWIG_fail;
5282 }
5283 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5284 return resultobj;
5285 fail:
5286 return NULL;
5287 }
5288
5289
5290 SWIGINTERN PyObject *ScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5291 PyObject *obj;
5292 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5293 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow, SWIG_NewClientData(obj));
5294 return SWIG_Py_Void();
5295 }
5296
5297 SWIGINTERN PyObject *ScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5298 return SWIG_Python_InitShadowInstance(args);
5299 }
5300
5301 SWIGINTERN int FrameNameStr_set(PyObject *) {
5302 SWIG_Error(SWIG_AttributeError,"Variable FrameNameStr is read-only.");
5303 return 1;
5304 }
5305
5306
5307 SWIGINTERN PyObject *FrameNameStr_get(void) {
5308 PyObject *pyobj = 0;
5309
5310 {
5311 #if wxUSE_UNICODE
5312 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5313 #else
5314 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5315 #endif
5316 }
5317 return pyobj;
5318 }
5319
5320
5321 SWIGINTERN int DialogNameStr_set(PyObject *) {
5322 SWIG_Error(SWIG_AttributeError,"Variable DialogNameStr is read-only.");
5323 return 1;
5324 }
5325
5326
5327 SWIGINTERN PyObject *DialogNameStr_get(void) {
5328 PyObject *pyobj = 0;
5329
5330 {
5331 #if wxUSE_UNICODE
5332 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5333 #else
5334 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5335 #endif
5336 }
5337 return pyobj;
5338 }
5339
5340
5341 SWIGINTERN int StatusLineNameStr_set(PyObject *) {
5342 SWIG_Error(SWIG_AttributeError,"Variable StatusLineNameStr is read-only.");
5343 return 1;
5344 }
5345
5346
5347 SWIGINTERN PyObject *StatusLineNameStr_get(void) {
5348 PyObject *pyobj = 0;
5349
5350 {
5351 #if wxUSE_UNICODE
5352 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5353 #else
5354 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5355 #endif
5356 }
5357 return pyobj;
5358 }
5359
5360
5361 SWIGINTERN int ToolBarNameStr_set(PyObject *) {
5362 SWIG_Error(SWIG_AttributeError,"Variable ToolBarNameStr is read-only.");
5363 return 1;
5364 }
5365
5366
5367 SWIGINTERN PyObject *ToolBarNameStr_get(void) {
5368 PyObject *pyobj = 0;
5369
5370 {
5371 #if wxUSE_UNICODE
5372 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5373 #else
5374 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5375 #endif
5376 }
5377 return pyobj;
5378 }
5379
5380
5381 SWIGINTERN PyObject *_wrap_TopLevelWindow_Maximize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5382 PyObject *resultobj = 0;
5383 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5384 bool arg2 = (bool) true ;
5385 void *argp1 = 0 ;
5386 int res1 = 0 ;
5387 bool val2 ;
5388 int ecode2 = 0 ;
5389 PyObject * obj0 = 0 ;
5390 PyObject * obj1 = 0 ;
5391 char * kwnames[] = {
5392 (char *) "self",(char *) "maximize", NULL
5393 };
5394
5395 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) SWIG_fail;
5396 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5397 if (!SWIG_IsOK(res1)) {
5398 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5399 }
5400 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5401 if (obj1) {
5402 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5403 if (!SWIG_IsOK(ecode2)) {
5404 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5405 }
5406 arg2 = static_cast< bool >(val2);
5407 }
5408 {
5409 PyThreadState* __tstate = wxPyBeginAllowThreads();
5410 (arg1)->Maximize(arg2);
5411 wxPyEndAllowThreads(__tstate);
5412 if (PyErr_Occurred()) SWIG_fail;
5413 }
5414 resultobj = SWIG_Py_Void();
5415 return resultobj;
5416 fail:
5417 return NULL;
5418 }
5419
5420
5421 SWIGINTERN PyObject *_wrap_TopLevelWindow_Restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5422 PyObject *resultobj = 0;
5423 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5424 void *argp1 = 0 ;
5425 int res1 = 0 ;
5426 PyObject *swig_obj[1] ;
5427
5428 if (!args) SWIG_fail;
5429 swig_obj[0] = args;
5430 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5431 if (!SWIG_IsOK(res1)) {
5432 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5433 }
5434 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5435 {
5436 PyThreadState* __tstate = wxPyBeginAllowThreads();
5437 (arg1)->Restore();
5438 wxPyEndAllowThreads(__tstate);
5439 if (PyErr_Occurred()) SWIG_fail;
5440 }
5441 resultobj = SWIG_Py_Void();
5442 return resultobj;
5443 fail:
5444 return NULL;
5445 }
5446
5447
5448 SWIGINTERN PyObject *_wrap_TopLevelWindow_Iconize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5449 PyObject *resultobj = 0;
5450 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5451 bool arg2 = (bool) true ;
5452 void *argp1 = 0 ;
5453 int res1 = 0 ;
5454 bool val2 ;
5455 int ecode2 = 0 ;
5456 PyObject * obj0 = 0 ;
5457 PyObject * obj1 = 0 ;
5458 char * kwnames[] = {
5459 (char *) "self",(char *) "iconize", NULL
5460 };
5461
5462 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) SWIG_fail;
5463 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5464 if (!SWIG_IsOK(res1)) {
5465 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5466 }
5467 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5468 if (obj1) {
5469 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5470 if (!SWIG_IsOK(ecode2)) {
5471 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5472 }
5473 arg2 = static_cast< bool >(val2);
5474 }
5475 {
5476 PyThreadState* __tstate = wxPyBeginAllowThreads();
5477 (arg1)->Iconize(arg2);
5478 wxPyEndAllowThreads(__tstate);
5479 if (PyErr_Occurred()) SWIG_fail;
5480 }
5481 resultobj = SWIG_Py_Void();
5482 return resultobj;
5483 fail:
5484 return NULL;
5485 }
5486
5487
5488 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5489 PyObject *resultobj = 0;
5490 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5491 bool result;
5492 void *argp1 = 0 ;
5493 int res1 = 0 ;
5494 PyObject *swig_obj[1] ;
5495
5496 if (!args) SWIG_fail;
5497 swig_obj[0] = args;
5498 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5499 if (!SWIG_IsOK(res1)) {
5500 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5501 }
5502 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5503 {
5504 PyThreadState* __tstate = wxPyBeginAllowThreads();
5505 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
5506 wxPyEndAllowThreads(__tstate);
5507 if (PyErr_Occurred()) SWIG_fail;
5508 }
5509 {
5510 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5511 }
5512 return resultobj;
5513 fail:
5514 return NULL;
5515 }
5516
5517
5518 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5519 PyObject *resultobj = 0;
5520 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5521 bool result;
5522 void *argp1 = 0 ;
5523 int res1 = 0 ;
5524 PyObject *swig_obj[1] ;
5525
5526 if (!args) SWIG_fail;
5527 swig_obj[0] = args;
5528 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5529 if (!SWIG_IsOK(res1)) {
5530 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5531 }
5532 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5533 {
5534 PyThreadState* __tstate = wxPyBeginAllowThreads();
5535 result = (bool)((wxTopLevelWindow const *)arg1)->IsAlwaysMaximized();
5536 wxPyEndAllowThreads(__tstate);
5537 if (PyErr_Occurred()) SWIG_fail;
5538 }
5539 {
5540 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5541 }
5542 return resultobj;
5543 fail:
5544 return NULL;
5545 }
5546
5547
5548 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5549 PyObject *resultobj = 0;
5550 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5551 bool result;
5552 void *argp1 = 0 ;
5553 int res1 = 0 ;
5554 PyObject *swig_obj[1] ;
5555
5556 if (!args) SWIG_fail;
5557 swig_obj[0] = args;
5558 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5559 if (!SWIG_IsOK(res1)) {
5560 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5561 }
5562 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5563 {
5564 PyThreadState* __tstate = wxPyBeginAllowThreads();
5565 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
5566 wxPyEndAllowThreads(__tstate);
5567 if (PyErr_Occurred()) SWIG_fail;
5568 }
5569 {
5570 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5571 }
5572 return resultobj;
5573 fail:
5574 return NULL;
5575 }
5576
5577
5578 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5579 PyObject *resultobj = 0;
5580 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5581 wxIcon result;
5582 void *argp1 = 0 ;
5583 int res1 = 0 ;
5584 PyObject *swig_obj[1] ;
5585
5586 if (!args) SWIG_fail;
5587 swig_obj[0] = args;
5588 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5589 if (!SWIG_IsOK(res1)) {
5590 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5591 }
5592 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5593 {
5594 PyThreadState* __tstate = wxPyBeginAllowThreads();
5595 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
5596 wxPyEndAllowThreads(__tstate);
5597 if (PyErr_Occurred()) SWIG_fail;
5598 }
5599 resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN | 0 );
5600 return resultobj;
5601 fail:
5602 return NULL;
5603 }
5604
5605
5606 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5607 PyObject *resultobj = 0;
5608 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5609 wxIcon *arg2 = 0 ;
5610 void *argp1 = 0 ;
5611 int res1 = 0 ;
5612 void *argp2 = 0 ;
5613 int res2 = 0 ;
5614 PyObject * obj0 = 0 ;
5615 PyObject * obj1 = 0 ;
5616 char * kwnames[] = {
5617 (char *) "self",(char *) "icon", NULL
5618 };
5619
5620 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
5621 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5622 if (!SWIG_IsOK(res1)) {
5623 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5624 }
5625 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5626 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
5627 if (!SWIG_IsOK(res2)) {
5628 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5629 }
5630 if (!argp2) {
5631 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5632 }
5633 arg2 = reinterpret_cast< wxIcon * >(argp2);
5634 {
5635 PyThreadState* __tstate = wxPyBeginAllowThreads();
5636 (arg1)->SetIcon((wxIcon const &)*arg2);
5637 wxPyEndAllowThreads(__tstate);
5638 if (PyErr_Occurred()) SWIG_fail;
5639 }
5640 resultobj = SWIG_Py_Void();
5641 return resultobj;
5642 fail:
5643 return NULL;
5644 }
5645
5646
5647 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5648 PyObject *resultobj = 0;
5649 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5650 wxIconBundle *arg2 = 0 ;
5651 void *argp1 = 0 ;
5652 int res1 = 0 ;
5653 void *argp2 = 0 ;
5654 int res2 = 0 ;
5655 PyObject * obj0 = 0 ;
5656 PyObject * obj1 = 0 ;
5657 char * kwnames[] = {
5658 (char *) "self",(char *) "icons", NULL
5659 };
5660
5661 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) SWIG_fail;
5662 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5663 if (!SWIG_IsOK(res1)) {
5664 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5665 }
5666 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5667 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIconBundle, 0 | 0);
5668 if (!SWIG_IsOK(res2)) {
5669 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5670 }
5671 if (!argp2) {
5672 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5673 }
5674 arg2 = reinterpret_cast< wxIconBundle * >(argp2);
5675 {
5676 PyThreadState* __tstate = wxPyBeginAllowThreads();
5677 (arg1)->SetIcons((wxIconBundle const &)*arg2);
5678 wxPyEndAllowThreads(__tstate);
5679 if (PyErr_Occurred()) SWIG_fail;
5680 }
5681 resultobj = SWIG_Py_Void();
5682 return resultobj;
5683 fail:
5684 return NULL;
5685 }
5686
5687
5688 SWIGINTERN PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5689 PyObject *resultobj = 0;
5690 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5691 bool arg2 ;
5692 long arg3 = (long) wxFULLSCREEN_ALL ;
5693 bool result;
5694 void *argp1 = 0 ;
5695 int res1 = 0 ;
5696 bool val2 ;
5697 int ecode2 = 0 ;
5698 long val3 ;
5699 int ecode3 = 0 ;
5700 PyObject * obj0 = 0 ;
5701 PyObject * obj1 = 0 ;
5702 PyObject * obj2 = 0 ;
5703 char * kwnames[] = {
5704 (char *) "self",(char *) "show",(char *) "style", NULL
5705 };
5706
5707 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5708 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5709 if (!SWIG_IsOK(res1)) {
5710 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5711 }
5712 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5713 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5714 if (!SWIG_IsOK(ecode2)) {
5715 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5716 }
5717 arg2 = static_cast< bool >(val2);
5718 if (obj2) {
5719 ecode3 = SWIG_AsVal_long(obj2, &val3);
5720 if (!SWIG_IsOK(ecode3)) {
5721 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5722 }
5723 arg3 = static_cast< long >(val3);
5724 }
5725 {
5726 PyThreadState* __tstate = wxPyBeginAllowThreads();
5727 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
5728 wxPyEndAllowThreads(__tstate);
5729 if (PyErr_Occurred()) SWIG_fail;
5730 }
5731 {
5732 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5733 }
5734 return resultobj;
5735 fail:
5736 return NULL;
5737 }
5738
5739
5740 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5741 PyObject *resultobj = 0;
5742 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5743 bool result;
5744 void *argp1 = 0 ;
5745 int res1 = 0 ;
5746 PyObject *swig_obj[1] ;
5747
5748 if (!args) SWIG_fail;
5749 swig_obj[0] = args;
5750 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5751 if (!SWIG_IsOK(res1)) {
5752 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5753 }
5754 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5755 {
5756 PyThreadState* __tstate = wxPyBeginAllowThreads();
5757 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
5758 wxPyEndAllowThreads(__tstate);
5759 if (PyErr_Occurred()) SWIG_fail;
5760 }
5761 {
5762 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5763 }
5764 return resultobj;
5765 fail:
5766 return NULL;
5767 }
5768
5769
5770 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5771 PyObject *resultobj = 0;
5772 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5773 wxString *arg2 = 0 ;
5774 void *argp1 = 0 ;
5775 int res1 = 0 ;
5776 bool temp2 = false ;
5777 PyObject * obj0 = 0 ;
5778 PyObject * obj1 = 0 ;
5779 char * kwnames[] = {
5780 (char *) "self",(char *) "title", NULL
5781 };
5782
5783 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) SWIG_fail;
5784 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5785 if (!SWIG_IsOK(res1)) {
5786 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5787 }
5788 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5789 {
5790 arg2 = wxString_in_helper(obj1);
5791 if (arg2 == NULL) SWIG_fail;
5792 temp2 = true;
5793 }
5794 {
5795 PyThreadState* __tstate = wxPyBeginAllowThreads();
5796 (arg1)->SetTitle((wxString const &)*arg2);
5797 wxPyEndAllowThreads(__tstate);
5798 if (PyErr_Occurred()) SWIG_fail;
5799 }
5800 resultobj = SWIG_Py_Void();
5801 {
5802 if (temp2)
5803 delete arg2;
5804 }
5805 return resultobj;
5806 fail:
5807 {
5808 if (temp2)
5809 delete arg2;
5810 }
5811 return NULL;
5812 }
5813
5814
5815 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5816 PyObject *resultobj = 0;
5817 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5818 wxString result;
5819 void *argp1 = 0 ;
5820 int res1 = 0 ;
5821 PyObject *swig_obj[1] ;
5822
5823 if (!args) SWIG_fail;
5824 swig_obj[0] = args;
5825 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5826 if (!SWIG_IsOK(res1)) {
5827 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5828 }
5829 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5830 {
5831 PyThreadState* __tstate = wxPyBeginAllowThreads();
5832 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
5833 wxPyEndAllowThreads(__tstate);
5834 if (PyErr_Occurred()) SWIG_fail;
5835 }
5836 {
5837 #if wxUSE_UNICODE
5838 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5839 #else
5840 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5841 #endif
5842 }
5843 return resultobj;
5844 fail:
5845 return NULL;
5846 }
5847
5848
5849 SWIGINTERN PyObject *_wrap_TopLevelWindow_EnableCloseButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5850 PyObject *resultobj = 0;
5851 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5852 bool arg2 ;
5853 bool result;
5854 void *argp1 = 0 ;
5855 int res1 = 0 ;
5856 bool val2 ;
5857 int ecode2 = 0 ;
5858 PyObject * obj0 = 0 ;
5859 PyObject * obj1 = 0 ;
5860 char * kwnames[] = {
5861 (char *) "self",(char *) "enable", NULL
5862 };
5863
5864 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_EnableCloseButton",kwnames,&obj0,&obj1)) SWIG_fail;
5865 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5866 if (!SWIG_IsOK(res1)) {
5867 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5868 }
5869 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5870 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5871 if (!SWIG_IsOK(ecode2)) {
5872 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "2"" of type '" "bool""'");
5873 }
5874 arg2 = static_cast< bool >(val2);
5875 {
5876 PyThreadState* __tstate = wxPyBeginAllowThreads();
5877 result = (bool)(arg1)->EnableCloseButton(arg2);
5878 wxPyEndAllowThreads(__tstate);
5879 if (PyErr_Occurred()) SWIG_fail;
5880 }
5881 {
5882 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5883 }
5884 return resultobj;
5885 fail:
5886 return NULL;
5887 }
5888
5889
5890 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetShape(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5891 PyObject *resultobj = 0;
5892 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5893 wxRegion *arg2 = 0 ;
5894 bool result;
5895 void *argp1 = 0 ;
5896 int res1 = 0 ;
5897 void *argp2 = 0 ;
5898 int res2 = 0 ;
5899 PyObject * obj0 = 0 ;
5900 PyObject * obj1 = 0 ;
5901 char * kwnames[] = {
5902 (char *) "self",(char *) "region", NULL
5903 };
5904
5905 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) SWIG_fail;
5906 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5907 if (!SWIG_IsOK(res1)) {
5908 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5909 }
5910 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5911 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRegion, 0 | 0);
5912 if (!SWIG_IsOK(res2)) {
5913 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5914 }
5915 if (!argp2) {
5916 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5917 }
5918 arg2 = reinterpret_cast< wxRegion * >(argp2);
5919 {
5920 PyThreadState* __tstate = wxPyBeginAllowThreads();
5921 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
5922 wxPyEndAllowThreads(__tstate);
5923 if (PyErr_Occurred()) SWIG_fail;
5924 }
5925 {
5926 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5927 }
5928 return resultobj;
5929 fail:
5930 return NULL;
5931 }
5932
5933
5934 SWIGINTERN PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5935 PyObject *resultobj = 0;
5936 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5937 int arg2 = (int) wxUSER_ATTENTION_INFO ;
5938 void *argp1 = 0 ;
5939 int res1 = 0 ;
5940 int val2 ;
5941 int ecode2 = 0 ;
5942 PyObject * obj0 = 0 ;
5943 PyObject * obj1 = 0 ;
5944 char * kwnames[] = {
5945 (char *) "self",(char *) "flags", NULL
5946 };
5947
5948 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) SWIG_fail;
5949 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5950 if (!SWIG_IsOK(res1)) {
5951 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5952 }
5953 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5954 if (obj1) {
5955 ecode2 = SWIG_AsVal_int(obj1, &val2);
5956 if (!SWIG_IsOK(ecode2)) {
5957 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5958 }
5959 arg2 = static_cast< int >(val2);
5960 }
5961 {
5962 PyThreadState* __tstate = wxPyBeginAllowThreads();
5963 (arg1)->RequestUserAttention(arg2);
5964 wxPyEndAllowThreads(__tstate);
5965 if (PyErr_Occurred()) SWIG_fail;
5966 }
5967 resultobj = SWIG_Py_Void();
5968 return resultobj;
5969 fail:
5970 return NULL;
5971 }
5972
5973
5974 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5975 PyObject *resultobj = 0;
5976 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5977 bool result;
5978 void *argp1 = 0 ;
5979 int res1 = 0 ;
5980 PyObject *swig_obj[1] ;
5981
5982 if (!args) SWIG_fail;
5983 swig_obj[0] = args;
5984 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5985 if (!SWIG_IsOK(res1)) {
5986 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5987 }
5988 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5989 {
5990 PyThreadState* __tstate = wxPyBeginAllowThreads();
5991 result = (bool)(arg1)->IsActive();
5992 wxPyEndAllowThreads(__tstate);
5993 if (PyErr_Occurred()) SWIG_fail;
5994 }
5995 {
5996 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5997 }
5998 return resultobj;
5999 fail:
6000 return NULL;
6001 }
6002
6003
6004 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6005 PyObject *resultobj = 0;
6006 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6007 bool arg2 ;
6008 void *argp1 = 0 ;
6009 int res1 = 0 ;
6010 bool val2 ;
6011 int ecode2 = 0 ;
6012 PyObject * obj0 = 0 ;
6013 PyObject * obj1 = 0 ;
6014 char * kwnames[] = {
6015 (char *) "self",(char *) "on", NULL
6016 };
6017
6018 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) SWIG_fail;
6019 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6020 if (!SWIG_IsOK(res1)) {
6021 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6022 }
6023 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6024 ecode2 = SWIG_AsVal_bool(obj1, &val2);
6025 if (!SWIG_IsOK(ecode2)) {
6026 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
6027 }
6028 arg2 = static_cast< bool >(val2);
6029 {
6030 PyThreadState* __tstate = wxPyBeginAllowThreads();
6031 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
6032 wxPyEndAllowThreads(__tstate);
6033 if (PyErr_Occurred()) SWIG_fail;
6034 }
6035 resultobj = SWIG_Py_Void();
6036 return resultobj;
6037 fail:
6038 return NULL;
6039 }
6040
6041
6042 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6043 PyObject *resultobj = 0;
6044 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6045 bool result;
6046 void *argp1 = 0 ;
6047 int res1 = 0 ;
6048 PyObject *swig_obj[1] ;
6049
6050 if (!args) SWIG_fail;
6051 swig_obj[0] = args;
6052 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6053 if (!SWIG_IsOK(res1)) {
6054 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6055 }
6056 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6057 {
6058 PyThreadState* __tstate = wxPyBeginAllowThreads();
6059 result = (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow const *)arg1);
6060 wxPyEndAllowThreads(__tstate);
6061 if (PyErr_Occurred()) SWIG_fail;
6062 }
6063 {
6064 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6065 }
6066 return resultobj;
6067 fail:
6068 return NULL;
6069 }
6070
6071
6072 SWIGINTERN PyObject *_wrap_TopLevelWindow_CenterOnScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6073 PyObject *resultobj = 0;
6074 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6075 int arg2 = (int) wxBOTH ;
6076 void *argp1 = 0 ;
6077 int res1 = 0 ;
6078 int val2 ;
6079 int ecode2 = 0 ;
6080 PyObject * obj0 = 0 ;
6081 PyObject * obj1 = 0 ;
6082 char * kwnames[] = {
6083 (char *) "self",(char *) "dir", NULL
6084 };
6085
6086 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames,&obj0,&obj1)) SWIG_fail;
6087 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6088 if (!SWIG_IsOK(res1)) {
6089 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6090 }
6091 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6092 if (obj1) {
6093 ecode2 = SWIG_AsVal_int(obj1, &val2);
6094 if (!SWIG_IsOK(ecode2)) {
6095 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6096 }
6097 arg2 = static_cast< int >(val2);
6098 }
6099 {
6100 PyThreadState* __tstate = wxPyBeginAllowThreads();
6101 (arg1)->CenterOnScreen(arg2);
6102 wxPyEndAllowThreads(__tstate);
6103 if (PyErr_Occurred()) SWIG_fail;
6104 }
6105 resultobj = SWIG_Py_Void();
6106 return resultobj;
6107 fail:
6108 return NULL;
6109 }
6110
6111
6112 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6113 PyObject *resultobj = 0;
6114 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6115 wxWindow *result = 0 ;
6116 void *argp1 = 0 ;
6117 int res1 = 0 ;
6118 PyObject *swig_obj[1] ;
6119
6120 if (!args) SWIG_fail;
6121 swig_obj[0] = args;
6122 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6123 if (!SWIG_IsOK(res1)) {
6124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6125 }
6126 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6127 {
6128 PyThreadState* __tstate = wxPyBeginAllowThreads();
6129 result = (wxWindow *)((wxTopLevelWindow const *)arg1)->GetDefaultItem();
6130 wxPyEndAllowThreads(__tstate);
6131 if (PyErr_Occurred()) SWIG_fail;
6132 }
6133 {
6134 resultobj = wxPyMake_wxObject(result, 0);
6135 }
6136 return resultobj;
6137 fail:
6138 return NULL;
6139 }
6140
6141
6142 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6143 PyObject *resultobj = 0;
6144 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6145 wxWindow *arg2 = (wxWindow *) 0 ;
6146 wxWindow *result = 0 ;
6147 void *argp1 = 0 ;
6148 int res1 = 0 ;
6149 void *argp2 = 0 ;
6150 int res2 = 0 ;
6151 PyObject * obj0 = 0 ;
6152 PyObject * obj1 = 0 ;
6153 char * kwnames[] = {
6154 (char *) "self",(char *) "child", NULL
6155 };
6156
6157 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetDefaultItem",kwnames,&obj0,&obj1)) SWIG_fail;
6158 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6159 if (!SWIG_IsOK(res1)) {
6160 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6161 }
6162 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6163 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6164 if (!SWIG_IsOK(res2)) {
6165 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6166 }
6167 arg2 = reinterpret_cast< wxWindow * >(argp2);
6168 {
6169 PyThreadState* __tstate = wxPyBeginAllowThreads();
6170 result = (wxWindow *)(arg1)->SetDefaultItem(arg2);
6171 wxPyEndAllowThreads(__tstate);
6172 if (PyErr_Occurred()) SWIG_fail;
6173 }
6174 {
6175 resultobj = wxPyMake_wxObject(result, 0);
6176 }
6177 return resultobj;
6178 fail:
6179 return NULL;
6180 }
6181
6182
6183 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTmpDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6184 PyObject *resultobj = 0;
6185 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6186 wxWindow *arg2 = (wxWindow *) 0 ;
6187 void *argp1 = 0 ;
6188 int res1 = 0 ;
6189 void *argp2 = 0 ;
6190 int res2 = 0 ;
6191 PyObject * obj0 = 0 ;
6192 PyObject * obj1 = 0 ;
6193 char * kwnames[] = {
6194 (char *) "self",(char *) "win", NULL
6195 };
6196
6197 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTmpDefaultItem",kwnames,&obj0,&obj1)) SWIG_fail;
6198 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6199 if (!SWIG_IsOK(res1)) {
6200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6201 }
6202 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6203 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6204 if (!SWIG_IsOK(res2)) {
6205 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6206 }
6207 arg2 = reinterpret_cast< wxWindow * >(argp2);
6208 {
6209 PyThreadState* __tstate = wxPyBeginAllowThreads();
6210 (arg1)->SetTmpDefaultItem(arg2);
6211 wxPyEndAllowThreads(__tstate);
6212 if (PyErr_Occurred()) SWIG_fail;
6213 }
6214 resultobj = SWIG_Py_Void();
6215 return resultobj;
6216 fail:
6217 return NULL;
6218 }
6219
6220
6221 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTmpDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6222 PyObject *resultobj = 0;
6223 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6224 wxWindow *result = 0 ;
6225 void *argp1 = 0 ;
6226 int res1 = 0 ;
6227 PyObject *swig_obj[1] ;
6228
6229 if (!args) SWIG_fail;
6230 swig_obj[0] = args;
6231 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6232 if (!SWIG_IsOK(res1)) {
6233 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6234 }
6235 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6236 {
6237 PyThreadState* __tstate = wxPyBeginAllowThreads();
6238 result = (wxWindow *)((wxTopLevelWindow const *)arg1)->GetTmpDefaultItem();
6239 wxPyEndAllowThreads(__tstate);
6240 if (PyErr_Occurred()) SWIG_fail;
6241 }
6242 {
6243 resultobj = wxPyMake_wxObject(result, 0);
6244 }
6245 return resultobj;
6246 fail:
6247 return NULL;
6248 }
6249
6250
6251 SWIGINTERN PyObject *TopLevelWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6252 PyObject *obj;
6253 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6254 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow, SWIG_NewClientData(obj));
6255 return SWIG_Py_Void();
6256 }
6257
6258 SWIGINTERN PyObject *_wrap_new_Frame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6259 PyObject *resultobj = 0;
6260 wxWindow *arg1 = (wxWindow *) 0 ;
6261 int arg2 = (int) (int)-1 ;
6262 wxString const &arg3_defvalue = wxPyEmptyString ;
6263 wxString *arg3 = (wxString *) &arg3_defvalue ;
6264 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6265 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6266 wxSize const &arg5_defvalue = wxDefaultSize ;
6267 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6268 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
6269 wxString const &arg7_defvalue = wxPyFrameNameStr ;
6270 wxString *arg7 = (wxString *) &arg7_defvalue ;
6271 wxFrame *result = 0 ;
6272 void *argp1 = 0 ;
6273 int res1 = 0 ;
6274 int val2 ;
6275 int ecode2 = 0 ;
6276 bool temp3 = false ;
6277 wxPoint temp4 ;
6278 wxSize temp5 ;
6279 long val6 ;
6280 int ecode6 = 0 ;
6281 bool temp7 = false ;
6282 PyObject * obj0 = 0 ;
6283 PyObject * obj1 = 0 ;
6284 PyObject * obj2 = 0 ;
6285 PyObject * obj3 = 0 ;
6286 PyObject * obj4 = 0 ;
6287 PyObject * obj5 = 0 ;
6288 PyObject * obj6 = 0 ;
6289 char * kwnames[] = {
6290 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6291 };
6292
6293 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
6294 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
6295 if (!SWIG_IsOK(res1)) {
6296 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6297 }
6298 arg1 = reinterpret_cast< wxWindow * >(argp1);
6299 if (obj1) {
6300 ecode2 = SWIG_AsVal_int(obj1, &val2);
6301 if (!SWIG_IsOK(ecode2)) {
6302 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6303 }
6304 arg2 = static_cast< int >(val2);
6305 }
6306 if (obj2) {
6307 {
6308 arg3 = wxString_in_helper(obj2);
6309 if (arg3 == NULL) SWIG_fail;
6310 temp3 = true;
6311 }
6312 }
6313 if (obj3) {
6314 {
6315 arg4 = &temp4;
6316 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6317 }
6318 }
6319 if (obj4) {
6320 {
6321 arg5 = &temp5;
6322 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6323 }
6324 }
6325 if (obj5) {
6326 ecode6 = SWIG_AsVal_long(obj5, &val6);
6327 if (!SWIG_IsOK(ecode6)) {
6328 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6329 }
6330 arg6 = static_cast< long >(val6);
6331 }
6332 if (obj6) {
6333 {
6334 arg7 = wxString_in_helper(obj6);
6335 if (arg7 == NULL) SWIG_fail;
6336 temp7 = true;
6337 }
6338 }
6339 {
6340 if (!wxPyCheckForApp()) SWIG_fail;
6341 PyThreadState* __tstate = wxPyBeginAllowThreads();
6342 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6343 wxPyEndAllowThreads(__tstate);
6344 if (PyErr_Occurred()) SWIG_fail;
6345 }
6346 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_NEW | 0 );
6347 {
6348 if (temp3)
6349 delete arg3;
6350 }
6351 {
6352 if (temp7)
6353 delete arg7;
6354 }
6355 return resultobj;
6356 fail:
6357 {
6358 if (temp3)
6359 delete arg3;
6360 }
6361 {
6362 if (temp7)
6363 delete arg7;
6364 }
6365 return NULL;
6366 }
6367
6368
6369 SWIGINTERN PyObject *_wrap_new_PreFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6370 PyObject *resultobj = 0;
6371 wxFrame *result = 0 ;
6372
6373 if (!SWIG_Python_UnpackTuple(args,"new_PreFrame",0,0,0)) SWIG_fail;
6374 {
6375 if (!wxPyCheckForApp()) SWIG_fail;
6376 PyThreadState* __tstate = wxPyBeginAllowThreads();
6377 result = (wxFrame *)new wxFrame();
6378 wxPyEndAllowThreads(__tstate);
6379 if (PyErr_Occurred()) SWIG_fail;
6380 }
6381 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_OWN | 0 );
6382 return resultobj;
6383 fail:
6384 return NULL;
6385 }
6386
6387
6388 SWIGINTERN PyObject *_wrap_Frame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6389 PyObject *resultobj = 0;
6390 wxFrame *arg1 = (wxFrame *) 0 ;
6391 wxWindow *arg2 = (wxWindow *) 0 ;
6392 int arg3 = (int) (int)-1 ;
6393 wxString const &arg4_defvalue = wxPyEmptyString ;
6394 wxString *arg4 = (wxString *) &arg4_defvalue ;
6395 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6396 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6397 wxSize const &arg6_defvalue = wxDefaultSize ;
6398 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6399 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6400 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6401 wxString *arg8 = (wxString *) &arg8_defvalue ;
6402 bool result;
6403 void *argp1 = 0 ;
6404 int res1 = 0 ;
6405 void *argp2 = 0 ;
6406 int res2 = 0 ;
6407 int val3 ;
6408 int ecode3 = 0 ;
6409 bool temp4 = false ;
6410 wxPoint temp5 ;
6411 wxSize temp6 ;
6412 long val7 ;
6413 int ecode7 = 0 ;
6414 bool temp8 = false ;
6415 PyObject * obj0 = 0 ;
6416 PyObject * obj1 = 0 ;
6417 PyObject * obj2 = 0 ;
6418 PyObject * obj3 = 0 ;
6419 PyObject * obj4 = 0 ;
6420 PyObject * obj5 = 0 ;
6421 PyObject * obj6 = 0 ;
6422 PyObject * obj7 = 0 ;
6423 char * kwnames[] = {
6424 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6425 };
6426
6427 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6428 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6429 if (!SWIG_IsOK(res1)) {
6430 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6431 }
6432 arg1 = reinterpret_cast< wxFrame * >(argp1);
6433 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6434 if (!SWIG_IsOK(res2)) {
6435 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6436 }
6437 arg2 = reinterpret_cast< wxWindow * >(argp2);
6438 if (obj2) {
6439 ecode3 = SWIG_AsVal_int(obj2, &val3);
6440 if (!SWIG_IsOK(ecode3)) {
6441 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6442 }
6443 arg3 = static_cast< int >(val3);
6444 }
6445 if (obj3) {
6446 {
6447 arg4 = wxString_in_helper(obj3);
6448 if (arg4 == NULL) SWIG_fail;
6449 temp4 = true;
6450 }
6451 }
6452 if (obj4) {
6453 {
6454 arg5 = &temp5;
6455 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6456 }
6457 }
6458 if (obj5) {
6459 {
6460 arg6 = &temp6;
6461 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6462 }
6463 }
6464 if (obj6) {
6465 ecode7 = SWIG_AsVal_long(obj6, &val7);
6466 if (!SWIG_IsOK(ecode7)) {
6467 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6468 }
6469 arg7 = static_cast< long >(val7);
6470 }
6471 if (obj7) {
6472 {
6473 arg8 = wxString_in_helper(obj7);
6474 if (arg8 == NULL) SWIG_fail;
6475 temp8 = true;
6476 }
6477 }
6478 {
6479 PyThreadState* __tstate = wxPyBeginAllowThreads();
6480 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6481 wxPyEndAllowThreads(__tstate);
6482 if (PyErr_Occurred()) SWIG_fail;
6483 }
6484 {
6485 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6486 }
6487 {
6488 if (temp4)
6489 delete arg4;
6490 }
6491 {
6492 if (temp8)
6493 delete arg8;
6494 }
6495 return resultobj;
6496 fail:
6497 {
6498 if (temp4)
6499 delete arg4;
6500 }
6501 {
6502 if (temp8)
6503 delete arg8;
6504 }
6505 return NULL;
6506 }
6507
6508
6509 SWIGINTERN PyObject *_wrap_Frame_SendSizeEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6510 PyObject *resultobj = 0;
6511 wxFrame *arg1 = (wxFrame *) 0 ;
6512 void *argp1 = 0 ;
6513 int res1 = 0 ;
6514 PyObject *swig_obj[1] ;
6515
6516 if (!args) SWIG_fail;
6517 swig_obj[0] = args;
6518 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6519 if (!SWIG_IsOK(res1)) {
6520 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6521 }
6522 arg1 = reinterpret_cast< wxFrame * >(argp1);
6523 {
6524 PyThreadState* __tstate = wxPyBeginAllowThreads();
6525 (arg1)->SendSizeEvent();
6526 wxPyEndAllowThreads(__tstate);
6527 if (PyErr_Occurred()) SWIG_fail;
6528 }
6529 resultobj = SWIG_Py_Void();
6530 return resultobj;
6531 fail:
6532 return NULL;
6533 }
6534
6535
6536 SWIGINTERN PyObject *_wrap_Frame_SetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6537 PyObject *resultobj = 0;
6538 wxFrame *arg1 = (wxFrame *) 0 ;
6539 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
6540 void *argp1 = 0 ;
6541 int res1 = 0 ;
6542 void *argp2 = 0 ;
6543 int res2 = 0 ;
6544 PyObject * obj0 = 0 ;
6545 PyObject * obj1 = 0 ;
6546 char * kwnames[] = {
6547 (char *) "self",(char *) "menubar", NULL
6548 };
6549
6550 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) SWIG_fail;
6551 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6552 if (!SWIG_IsOK(res1)) {
6553 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6554 }
6555 arg1 = reinterpret_cast< wxFrame * >(argp1);
6556 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenuBar, 0 | 0 );
6557 if (!SWIG_IsOK(res2)) {
6558 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6559 }
6560 arg2 = reinterpret_cast< wxMenuBar * >(argp2);
6561 {
6562 PyThreadState* __tstate = wxPyBeginAllowThreads();
6563 (arg1)->SetMenuBar(arg2);
6564 wxPyEndAllowThreads(__tstate);
6565 if (PyErr_Occurred()) SWIG_fail;
6566 }
6567 resultobj = SWIG_Py_Void();
6568 return resultobj;
6569 fail:
6570 return NULL;
6571 }
6572
6573
6574 SWIGINTERN PyObject *_wrap_Frame_GetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6575 PyObject *resultobj = 0;
6576 wxFrame *arg1 = (wxFrame *) 0 ;
6577 wxMenuBar *result = 0 ;
6578 void *argp1 = 0 ;
6579 int res1 = 0 ;
6580 PyObject *swig_obj[1] ;
6581
6582 if (!args) SWIG_fail;
6583 swig_obj[0] = args;
6584 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6585 if (!SWIG_IsOK(res1)) {
6586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6587 }
6588 arg1 = reinterpret_cast< wxFrame * >(argp1);
6589 {
6590 PyThreadState* __tstate = wxPyBeginAllowThreads();
6591 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
6592 wxPyEndAllowThreads(__tstate);
6593 if (PyErr_Occurred()) SWIG_fail;
6594 }
6595 {
6596 resultobj = wxPyMake_wxObject(result, 0);
6597 }
6598 return resultobj;
6599 fail:
6600 return NULL;
6601 }
6602
6603
6604 SWIGINTERN PyObject *_wrap_Frame_ProcessCommand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6605 PyObject *resultobj = 0;
6606 wxFrame *arg1 = (wxFrame *) 0 ;
6607 int arg2 ;
6608 bool result;
6609 void *argp1 = 0 ;
6610 int res1 = 0 ;
6611 int val2 ;
6612 int ecode2 = 0 ;
6613 PyObject * obj0 = 0 ;
6614 PyObject * obj1 = 0 ;
6615 char * kwnames[] = {
6616 (char *) "self",(char *) "winid", NULL
6617 };
6618
6619 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) SWIG_fail;
6620 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6621 if (!SWIG_IsOK(res1)) {
6622 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6623 }
6624 arg1 = reinterpret_cast< wxFrame * >(argp1);
6625 ecode2 = SWIG_AsVal_int(obj1, &val2);
6626 if (!SWIG_IsOK(ecode2)) {
6627 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6628 }
6629 arg2 = static_cast< int >(val2);
6630 {
6631 PyThreadState* __tstate = wxPyBeginAllowThreads();
6632 result = (bool)(arg1)->ProcessCommand(arg2);
6633 wxPyEndAllowThreads(__tstate);
6634 if (PyErr_Occurred()) SWIG_fail;
6635 }
6636 {
6637 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6638 }
6639 return resultobj;
6640 fail:
6641 return NULL;
6642 }
6643
6644
6645 SWIGINTERN PyObject *_wrap_Frame_CreateStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6646 PyObject *resultobj = 0;
6647 wxFrame *arg1 = (wxFrame *) 0 ;
6648 int arg2 = (int) 1 ;
6649 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
6650 int arg4 = (int) 0 ;
6651 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
6652 wxString *arg5 = (wxString *) &arg5_defvalue ;
6653 wxStatusBar *result = 0 ;
6654 void *argp1 = 0 ;
6655 int res1 = 0 ;
6656 int val2 ;
6657 int ecode2 = 0 ;
6658 long val3 ;
6659 int ecode3 = 0 ;
6660 int val4 ;
6661 int ecode4 = 0 ;
6662 bool temp5 = false ;
6663 PyObject * obj0 = 0 ;
6664 PyObject * obj1 = 0 ;
6665 PyObject * obj2 = 0 ;
6666 PyObject * obj3 = 0 ;
6667 PyObject * obj4 = 0 ;
6668 char * kwnames[] = {
6669 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6670 };
6671
6672 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
6673 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6674 if (!SWIG_IsOK(res1)) {
6675 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6676 }
6677 arg1 = reinterpret_cast< wxFrame * >(argp1);
6678 if (obj1) {
6679 ecode2 = SWIG_AsVal_int(obj1, &val2);
6680 if (!SWIG_IsOK(ecode2)) {
6681 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6682 }
6683 arg2 = static_cast< int >(val2);
6684 }
6685 if (obj2) {
6686 ecode3 = SWIG_AsVal_long(obj2, &val3);
6687 if (!SWIG_IsOK(ecode3)) {
6688 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6689 }
6690 arg3 = static_cast< long >(val3);
6691 }
6692 if (obj3) {
6693 ecode4 = SWIG_AsVal_int(obj3, &val4);
6694 if (!SWIG_IsOK(ecode4)) {
6695 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6696 }
6697 arg4 = static_cast< int >(val4);
6698 }
6699 if (obj4) {
6700 {
6701 arg5 = wxString_in_helper(obj4);
6702 if (arg5 == NULL) SWIG_fail;
6703 temp5 = true;
6704 }
6705 }
6706 {
6707 PyThreadState* __tstate = wxPyBeginAllowThreads();
6708 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
6709 wxPyEndAllowThreads(__tstate);
6710 if (PyErr_Occurred()) SWIG_fail;
6711 }
6712 {
6713 resultobj = wxPyMake_wxObject(result, (bool)0);
6714 }
6715 {
6716 if (temp5)
6717 delete arg5;
6718 }
6719 return resultobj;
6720 fail:
6721 {
6722 if (temp5)
6723 delete arg5;
6724 }
6725 return NULL;
6726 }
6727
6728
6729 SWIGINTERN PyObject *_wrap_Frame_GetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6730 PyObject *resultobj = 0;
6731 wxFrame *arg1 = (wxFrame *) 0 ;
6732 wxStatusBar *result = 0 ;
6733 void *argp1 = 0 ;
6734 int res1 = 0 ;
6735 PyObject *swig_obj[1] ;
6736
6737 if (!args) SWIG_fail;
6738 swig_obj[0] = args;
6739 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6740 if (!SWIG_IsOK(res1)) {
6741 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6742 }
6743 arg1 = reinterpret_cast< wxFrame * >(argp1);
6744 {
6745 PyThreadState* __tstate = wxPyBeginAllowThreads();
6746 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
6747 wxPyEndAllowThreads(__tstate);
6748 if (PyErr_Occurred()) SWIG_fail;
6749 }
6750 {
6751 resultobj = wxPyMake_wxObject(result, (bool)0);
6752 }
6753 return resultobj;
6754 fail:
6755 return NULL;
6756 }
6757
6758
6759 SWIGINTERN PyObject *_wrap_Frame_SetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6760 PyObject *resultobj = 0;
6761 wxFrame *arg1 = (wxFrame *) 0 ;
6762 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
6763 void *argp1 = 0 ;
6764 int res1 = 0 ;
6765 void *argp2 = 0 ;
6766 int res2 = 0 ;
6767 PyObject * obj0 = 0 ;
6768 PyObject * obj1 = 0 ;
6769 char * kwnames[] = {
6770 (char *) "self",(char *) "statBar", NULL
6771 };
6772
6773 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) SWIG_fail;
6774 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6775 if (!SWIG_IsOK(res1)) {
6776 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6777 }
6778 arg1 = reinterpret_cast< wxFrame * >(argp1);
6779 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxStatusBar, 0 | 0 );
6780 if (!SWIG_IsOK(res2)) {
6781 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6782 }
6783 arg2 = reinterpret_cast< wxStatusBar * >(argp2);
6784 {
6785 PyThreadState* __tstate = wxPyBeginAllowThreads();
6786 (arg1)->SetStatusBar(arg2);
6787 wxPyEndAllowThreads(__tstate);
6788 if (PyErr_Occurred()) SWIG_fail;
6789 }
6790 resultobj = SWIG_Py_Void();
6791 return resultobj;
6792 fail:
6793 return NULL;
6794 }
6795
6796
6797 SWIGINTERN PyObject *_wrap_Frame_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6798 PyObject *resultobj = 0;
6799 wxFrame *arg1 = (wxFrame *) 0 ;
6800 wxString *arg2 = 0 ;
6801 int arg3 = (int) 0 ;
6802 void *argp1 = 0 ;
6803 int res1 = 0 ;
6804 bool temp2 = false ;
6805 int val3 ;
6806 int ecode3 = 0 ;
6807 PyObject * obj0 = 0 ;
6808 PyObject * obj1 = 0 ;
6809 PyObject * obj2 = 0 ;
6810 char * kwnames[] = {
6811 (char *) "self",(char *) "text",(char *) "number", NULL
6812 };
6813
6814 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6815 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6816 if (!SWIG_IsOK(res1)) {
6817 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6818 }
6819 arg1 = reinterpret_cast< wxFrame * >(argp1);
6820 {
6821 arg2 = wxString_in_helper(obj1);
6822 if (arg2 == NULL) SWIG_fail;
6823 temp2 = true;
6824 }
6825 if (obj2) {
6826 ecode3 = SWIG_AsVal_int(obj2, &val3);
6827 if (!SWIG_IsOK(ecode3)) {
6828 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6829 }
6830 arg3 = static_cast< int >(val3);
6831 }
6832 {
6833 PyThreadState* __tstate = wxPyBeginAllowThreads();
6834 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
6835 wxPyEndAllowThreads(__tstate);
6836 if (PyErr_Occurred()) SWIG_fail;
6837 }
6838 resultobj = SWIG_Py_Void();
6839 {
6840 if (temp2)
6841 delete arg2;
6842 }
6843 return resultobj;
6844 fail:
6845 {
6846 if (temp2)
6847 delete arg2;
6848 }
6849 return NULL;
6850 }
6851
6852
6853 SWIGINTERN PyObject *_wrap_Frame_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6854 PyObject *resultobj = 0;
6855 wxFrame *arg1 = (wxFrame *) 0 ;
6856 int arg2 ;
6857 int *arg3 = (int *) 0 ;
6858 void *argp1 = 0 ;
6859 int res1 = 0 ;
6860 PyObject * obj0 = 0 ;
6861 PyObject * obj1 = 0 ;
6862 char * kwnames[] = {
6863 (char *) "self",(char *) "widths", NULL
6864 };
6865
6866 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
6867 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6868 if (!SWIG_IsOK(res1)) {
6869 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6870 }
6871 arg1 = reinterpret_cast< wxFrame * >(argp1);
6872 {
6873 arg2 = PyList_Size(obj1);
6874 arg3 = int_LIST_helper(obj1);
6875 if (arg3 == NULL) SWIG_fail;
6876 }
6877 {
6878 PyThreadState* __tstate = wxPyBeginAllowThreads();
6879 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
6880 wxPyEndAllowThreads(__tstate);
6881 if (PyErr_Occurred()) SWIG_fail;
6882 }
6883 resultobj = SWIG_Py_Void();
6884 {
6885 if (arg3) delete [] arg3;
6886 }
6887 return resultobj;
6888 fail:
6889 {
6890 if (arg3) delete [] arg3;
6891 }
6892 return NULL;
6893 }
6894
6895
6896 SWIGINTERN PyObject *_wrap_Frame_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6897 PyObject *resultobj = 0;
6898 wxFrame *arg1 = (wxFrame *) 0 ;
6899 wxString *arg2 = 0 ;
6900 int arg3 = (int) 0 ;
6901 void *argp1 = 0 ;
6902 int res1 = 0 ;
6903 bool temp2 = false ;
6904 int val3 ;
6905 int ecode3 = 0 ;
6906 PyObject * obj0 = 0 ;
6907 PyObject * obj1 = 0 ;
6908 PyObject * obj2 = 0 ;
6909 char * kwnames[] = {
6910 (char *) "self",(char *) "text",(char *) "number", NULL
6911 };
6912
6913 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6914 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6915 if (!SWIG_IsOK(res1)) {
6916 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6917 }
6918 arg1 = reinterpret_cast< wxFrame * >(argp1);
6919 {
6920 arg2 = wxString_in_helper(obj1);
6921 if (arg2 == NULL) SWIG_fail;
6922 temp2 = true;
6923 }
6924 if (obj2) {
6925 ecode3 = SWIG_AsVal_int(obj2, &val3);
6926 if (!SWIG_IsOK(ecode3)) {
6927 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6928 }
6929 arg3 = static_cast< int >(val3);
6930 }
6931 {
6932 PyThreadState* __tstate = wxPyBeginAllowThreads();
6933 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
6934 wxPyEndAllowThreads(__tstate);
6935 if (PyErr_Occurred()) SWIG_fail;
6936 }
6937 resultobj = SWIG_Py_Void();
6938 {
6939 if (temp2)
6940 delete arg2;
6941 }
6942 return resultobj;
6943 fail:
6944 {
6945 if (temp2)
6946 delete arg2;
6947 }
6948 return NULL;
6949 }
6950
6951
6952 SWIGINTERN PyObject *_wrap_Frame_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6953 PyObject *resultobj = 0;
6954 wxFrame *arg1 = (wxFrame *) 0 ;
6955 int arg2 = (int) 0 ;
6956 void *argp1 = 0 ;
6957 int res1 = 0 ;
6958 int val2 ;
6959 int ecode2 = 0 ;
6960 PyObject * obj0 = 0 ;
6961 PyObject * obj1 = 0 ;
6962 char * kwnames[] = {
6963 (char *) "self",(char *) "number", NULL
6964 };
6965
6966 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
6967 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6968 if (!SWIG_IsOK(res1)) {
6969 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6970 }
6971 arg1 = reinterpret_cast< wxFrame * >(argp1);
6972 if (obj1) {
6973 ecode2 = SWIG_AsVal_int(obj1, &val2);
6974 if (!SWIG_IsOK(ecode2)) {
6975 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6976 }
6977 arg2 = static_cast< int >(val2);
6978 }
6979 {
6980 PyThreadState* __tstate = wxPyBeginAllowThreads();
6981 (arg1)->PopStatusText(arg2);
6982 wxPyEndAllowThreads(__tstate);
6983 if (PyErr_Occurred()) SWIG_fail;
6984 }
6985 resultobj = SWIG_Py_Void();
6986 return resultobj;
6987 fail:
6988 return NULL;
6989 }
6990
6991
6992 SWIGINTERN PyObject *_wrap_Frame_SetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6993 PyObject *resultobj = 0;
6994 wxFrame *arg1 = (wxFrame *) 0 ;
6995 int arg2 ;
6996 void *argp1 = 0 ;
6997 int res1 = 0 ;
6998 int val2 ;
6999 int ecode2 = 0 ;
7000 PyObject * obj0 = 0 ;
7001 PyObject * obj1 = 0 ;
7002 char * kwnames[] = {
7003 (char *) "self",(char *) "n", NULL
7004 };
7005
7006 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) SWIG_fail;
7007 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7008 if (!SWIG_IsOK(res1)) {
7009 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
7010 }
7011 arg1 = reinterpret_cast< wxFrame * >(argp1);
7012 ecode2 = SWIG_AsVal_int(obj1, &val2);
7013 if (!SWIG_IsOK(ecode2)) {
7014 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
7015 }
7016 arg2 = static_cast< int >(val2);
7017 {
7018 PyThreadState* __tstate = wxPyBeginAllowThreads();
7019 (arg1)->SetStatusBarPane(arg2);
7020 wxPyEndAllowThreads(__tstate);
7021 if (PyErr_Occurred()) SWIG_fail;
7022 }
7023 resultobj = SWIG_Py_Void();
7024 return resultobj;
7025 fail:
7026 return NULL;
7027 }
7028
7029
7030 SWIGINTERN PyObject *_wrap_Frame_GetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7031 PyObject *resultobj = 0;
7032 wxFrame *arg1 = (wxFrame *) 0 ;
7033 int result;
7034 void *argp1 = 0 ;
7035 int res1 = 0 ;
7036 PyObject *swig_obj[1] ;
7037
7038 if (!args) SWIG_fail;
7039 swig_obj[0] = args;
7040 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7041 if (!SWIG_IsOK(res1)) {
7042 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
7043 }
7044 arg1 = reinterpret_cast< wxFrame * >(argp1);
7045 {
7046 PyThreadState* __tstate = wxPyBeginAllowThreads();
7047 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
7048 wxPyEndAllowThreads(__tstate);
7049 if (PyErr_Occurred()) SWIG_fail;
7050 }
7051 resultobj = SWIG_From_int(static_cast< int >(result));
7052 return resultobj;
7053 fail:
7054 return NULL;
7055 }
7056
7057
7058 SWIGINTERN PyObject *_wrap_Frame_CreateToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7059 PyObject *resultobj = 0;
7060 wxFrame *arg1 = (wxFrame *) 0 ;
7061 long arg2 = (long) -1 ;
7062 int arg3 = (int) -1 ;
7063 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
7064 wxString *arg4 = (wxString *) &arg4_defvalue ;
7065 wxToolBar *result = 0 ;
7066 void *argp1 = 0 ;
7067 int res1 = 0 ;
7068 long val2 ;
7069 int ecode2 = 0 ;
7070 int val3 ;
7071 int ecode3 = 0 ;
7072 bool temp4 = false ;
7073 PyObject * obj0 = 0 ;
7074 PyObject * obj1 = 0 ;
7075 PyObject * obj2 = 0 ;
7076 PyObject * obj3 = 0 ;
7077 char * kwnames[] = {
7078 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
7079 };
7080
7081 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7082 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7083 if (!SWIG_IsOK(res1)) {
7084 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7085 }
7086 arg1 = reinterpret_cast< wxFrame * >(argp1);
7087 if (obj1) {
7088 ecode2 = SWIG_AsVal_long(obj1, &val2);
7089 if (!SWIG_IsOK(ecode2)) {
7090 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
7091 }
7092 arg2 = static_cast< long >(val2);
7093 }
7094 if (obj2) {
7095 ecode3 = SWIG_AsVal_int(obj2, &val3);
7096 if (!SWIG_IsOK(ecode3)) {
7097 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
7098 }
7099 arg3 = static_cast< int >(val3);
7100 }
7101 if (obj3) {
7102 {
7103 arg4 = wxString_in_helper(obj3);
7104 if (arg4 == NULL) SWIG_fail;
7105 temp4 = true;
7106 }
7107 }
7108 {
7109 PyThreadState* __tstate = wxPyBeginAllowThreads();
7110 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
7111 wxPyEndAllowThreads(__tstate);
7112 if (PyErr_Occurred()) SWIG_fail;
7113 }
7114 {
7115 resultobj = wxPyMake_wxObject(result, (bool)0);
7116 }
7117 {
7118 if (temp4)
7119 delete arg4;
7120 }
7121 return resultobj;
7122 fail:
7123 {
7124 if (temp4)
7125 delete arg4;
7126 }
7127 return NULL;
7128 }
7129
7130
7131 SWIGINTERN PyObject *_wrap_Frame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7132 PyObject *resultobj = 0;
7133 wxFrame *arg1 = (wxFrame *) 0 ;
7134 wxToolBar *result = 0 ;
7135 void *argp1 = 0 ;
7136 int res1 = 0 ;
7137 PyObject *swig_obj[1] ;
7138
7139 if (!args) SWIG_fail;
7140 swig_obj[0] = args;
7141 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7142 if (!SWIG_IsOK(res1)) {
7143 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
7144 }
7145 arg1 = reinterpret_cast< wxFrame * >(argp1);
7146 {
7147 PyThreadState* __tstate = wxPyBeginAllowThreads();
7148 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
7149 wxPyEndAllowThreads(__tstate);
7150 if (PyErr_Occurred()) SWIG_fail;
7151 }
7152 {
7153 resultobj = wxPyMake_wxObject(result, (bool)0);
7154 }
7155 return resultobj;
7156 fail:
7157 return NULL;
7158 }
7159
7160
7161 SWIGINTERN PyObject *_wrap_Frame_SetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7162 PyObject *resultobj = 0;
7163 wxFrame *arg1 = (wxFrame *) 0 ;
7164 wxToolBar *arg2 = (wxToolBar *) 0 ;
7165 void *argp1 = 0 ;
7166 int res1 = 0 ;
7167 void *argp2 = 0 ;
7168 int res2 = 0 ;
7169 PyObject * obj0 = 0 ;
7170 PyObject * obj1 = 0 ;
7171 char * kwnames[] = {
7172 (char *) "self",(char *) "toolbar", NULL
7173 };
7174
7175 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) SWIG_fail;
7176 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7177 if (!SWIG_IsOK(res1)) {
7178 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7179 }
7180 arg1 = reinterpret_cast< wxFrame * >(argp1);
7181 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBar, 0 | 0 );
7182 if (!SWIG_IsOK(res2)) {
7183 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
7184 }
7185 arg2 = reinterpret_cast< wxToolBar * >(argp2);
7186 {
7187 PyThreadState* __tstate = wxPyBeginAllowThreads();
7188 (arg1)->SetToolBar(arg2);
7189 wxPyEndAllowThreads(__tstate);
7190 if (PyErr_Occurred()) SWIG_fail;
7191 }
7192 resultobj = SWIG_Py_Void();
7193 return resultobj;
7194 fail:
7195 return NULL;
7196 }
7197
7198
7199 SWIGINTERN PyObject *_wrap_Frame_DoGiveHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7200 PyObject *resultobj = 0;
7201 wxFrame *arg1 = (wxFrame *) 0 ;
7202 wxString *arg2 = 0 ;
7203 bool arg3 ;
7204 void *argp1 = 0 ;
7205 int res1 = 0 ;
7206 bool temp2 = false ;
7207 bool val3 ;
7208 int ecode3 = 0 ;
7209 PyObject * obj0 = 0 ;
7210 PyObject * obj1 = 0 ;
7211 PyObject * obj2 = 0 ;
7212 char * kwnames[] = {
7213 (char *) "self",(char *) "text",(char *) "show", NULL
7214 };
7215
7216 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7217 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7218 if (!SWIG_IsOK(res1)) {
7219 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7220 }
7221 arg1 = reinterpret_cast< wxFrame * >(argp1);
7222 {
7223 arg2 = wxString_in_helper(obj1);
7224 if (arg2 == NULL) SWIG_fail;
7225 temp2 = true;
7226 }
7227 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7228 if (!SWIG_IsOK(ecode3)) {
7229 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7230 }
7231 arg3 = static_cast< bool >(val3);
7232 {
7233 PyThreadState* __tstate = wxPyBeginAllowThreads();
7234 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
7235 wxPyEndAllowThreads(__tstate);
7236 if (PyErr_Occurred()) SWIG_fail;
7237 }
7238 resultobj = SWIG_Py_Void();
7239 {
7240 if (temp2)
7241 delete arg2;
7242 }
7243 return resultobj;
7244 fail:
7245 {
7246 if (temp2)
7247 delete arg2;
7248 }
7249 return NULL;
7250 }
7251
7252
7253 SWIGINTERN PyObject *_wrap_Frame_DoMenuUpdates(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7254 PyObject *resultobj = 0;
7255 wxFrame *arg1 = (wxFrame *) 0 ;
7256 wxMenu *arg2 = (wxMenu *) NULL ;
7257 void *argp1 = 0 ;
7258 int res1 = 0 ;
7259 void *argp2 = 0 ;
7260 int res2 = 0 ;
7261 PyObject * obj0 = 0 ;
7262 PyObject * obj1 = 0 ;
7263 char * kwnames[] = {
7264 (char *) "self",(char *) "menu", NULL
7265 };
7266
7267 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) SWIG_fail;
7268 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7269 if (!SWIG_IsOK(res1)) {
7270 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7271 }
7272 arg1 = reinterpret_cast< wxFrame * >(argp1);
7273 if (obj1) {
7274 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
7275 if (!SWIG_IsOK(res2)) {
7276 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7277 }
7278 arg2 = reinterpret_cast< wxMenu * >(argp2);
7279 }
7280 {
7281 PyThreadState* __tstate = wxPyBeginAllowThreads();
7282 (arg1)->DoMenuUpdates(arg2);
7283 wxPyEndAllowThreads(__tstate);
7284 if (PyErr_Occurred()) SWIG_fail;
7285 }
7286 resultobj = SWIG_Py_Void();
7287 return resultobj;
7288 fail:
7289 return NULL;
7290 }
7291
7292
7293 SWIGINTERN PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7294 PyObject *resultobj = 0;
7295 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7296 SwigValueWrapper<wxVisualAttributes > result;
7297 int val1 ;
7298 int ecode1 = 0 ;
7299 PyObject * obj0 = 0 ;
7300 char * kwnames[] = {
7301 (char *) "variant", NULL
7302 };
7303
7304 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7305 if (obj0) {
7306 ecode1 = SWIG_AsVal_int(obj0, &val1);
7307 if (!SWIG_IsOK(ecode1)) {
7308 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7309 }
7310 arg1 = static_cast< wxWindowVariant >(val1);
7311 }
7312 {
7313 if (!wxPyCheckForApp()) SWIG_fail;
7314 PyThreadState* __tstate = wxPyBeginAllowThreads();
7315 result = wxFrame::GetClassDefaultAttributes(arg1);
7316 wxPyEndAllowThreads(__tstate);
7317 if (PyErr_Occurred()) SWIG_fail;
7318 }
7319 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7320 return resultobj;
7321 fail:
7322 return NULL;
7323 }
7324
7325
7326 SWIGINTERN PyObject *Frame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7327 PyObject *obj;
7328 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7329 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame, SWIG_NewClientData(obj));
7330 return SWIG_Py_Void();
7331 }
7332
7333 SWIGINTERN PyObject *Frame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7334 return SWIG_Python_InitShadowInstance(args);
7335 }
7336
7337 SWIGINTERN PyObject *_wrap_new_Dialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7338 PyObject *resultobj = 0;
7339 wxWindow *arg1 = (wxWindow *) 0 ;
7340 int arg2 = (int) (int)-1 ;
7341 wxString const &arg3_defvalue = wxPyEmptyString ;
7342 wxString *arg3 = (wxString *) &arg3_defvalue ;
7343 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7344 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7345 wxSize const &arg5_defvalue = wxDefaultSize ;
7346 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7347 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
7348 wxString const &arg7_defvalue = wxPyDialogNameStr ;
7349 wxString *arg7 = (wxString *) &arg7_defvalue ;
7350 wxDialog *result = 0 ;
7351 void *argp1 = 0 ;
7352 int res1 = 0 ;
7353 int val2 ;
7354 int ecode2 = 0 ;
7355 bool temp3 = false ;
7356 wxPoint temp4 ;
7357 wxSize temp5 ;
7358 long val6 ;
7359 int ecode6 = 0 ;
7360 bool temp7 = false ;
7361 PyObject * obj0 = 0 ;
7362 PyObject * obj1 = 0 ;
7363 PyObject * obj2 = 0 ;
7364 PyObject * obj3 = 0 ;
7365 PyObject * obj4 = 0 ;
7366 PyObject * obj5 = 0 ;
7367 PyObject * obj6 = 0 ;
7368 char * kwnames[] = {
7369 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7370 };
7371
7372 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7373 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7374 if (!SWIG_IsOK(res1)) {
7375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7376 }
7377 arg1 = reinterpret_cast< wxWindow * >(argp1);
7378 if (obj1) {
7379 ecode2 = SWIG_AsVal_int(obj1, &val2);
7380 if (!SWIG_IsOK(ecode2)) {
7381 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7382 }
7383 arg2 = static_cast< int >(val2);
7384 }
7385 if (obj2) {
7386 {
7387 arg3 = wxString_in_helper(obj2);
7388 if (arg3 == NULL) SWIG_fail;
7389 temp3 = true;
7390 }
7391 }
7392 if (obj3) {
7393 {
7394 arg4 = &temp4;
7395 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7396 }
7397 }
7398 if (obj4) {
7399 {
7400 arg5 = &temp5;
7401 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7402 }
7403 }
7404 if (obj5) {
7405 ecode6 = SWIG_AsVal_long(obj5, &val6);
7406 if (!SWIG_IsOK(ecode6)) {
7407 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7408 }
7409 arg6 = static_cast< long >(val6);
7410 }
7411 if (obj6) {
7412 {
7413 arg7 = wxString_in_helper(obj6);
7414 if (arg7 == NULL) SWIG_fail;
7415 temp7 = true;
7416 }
7417 }
7418 {
7419 if (!wxPyCheckForApp()) SWIG_fail;
7420 PyThreadState* __tstate = wxPyBeginAllowThreads();
7421 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7422 wxPyEndAllowThreads(__tstate);
7423 if (PyErr_Occurred()) SWIG_fail;
7424 }
7425 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_NEW | 0 );
7426 {
7427 if (temp3)
7428 delete arg3;
7429 }
7430 {
7431 if (temp7)
7432 delete arg7;
7433 }
7434 return resultobj;
7435 fail:
7436 {
7437 if (temp3)
7438 delete arg3;
7439 }
7440 {
7441 if (temp7)
7442 delete arg7;
7443 }
7444 return NULL;
7445 }
7446
7447
7448 SWIGINTERN PyObject *_wrap_new_PreDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7449 PyObject *resultobj = 0;
7450 wxDialog *result = 0 ;
7451
7452 if (!SWIG_Python_UnpackTuple(args,"new_PreDialog",0,0,0)) SWIG_fail;
7453 {
7454 if (!wxPyCheckForApp()) SWIG_fail;
7455 PyThreadState* __tstate = wxPyBeginAllowThreads();
7456 result = (wxDialog *)new wxDialog();
7457 wxPyEndAllowThreads(__tstate);
7458 if (PyErr_Occurred()) SWIG_fail;
7459 }
7460 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_OWN | 0 );
7461 return resultobj;
7462 fail:
7463 return NULL;
7464 }
7465
7466
7467 SWIGINTERN PyObject *_wrap_Dialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7468 PyObject *resultobj = 0;
7469 wxDialog *arg1 = (wxDialog *) 0 ;
7470 wxWindow *arg2 = (wxWindow *) 0 ;
7471 int arg3 = (int) (int)-1 ;
7472 wxString const &arg4_defvalue = wxPyEmptyString ;
7473 wxString *arg4 = (wxString *) &arg4_defvalue ;
7474 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7475 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7476 wxSize const &arg6_defvalue = wxDefaultSize ;
7477 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7478 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
7479 wxString const &arg8_defvalue = wxPyDialogNameStr ;
7480 wxString *arg8 = (wxString *) &arg8_defvalue ;
7481 bool result;
7482 void *argp1 = 0 ;
7483 int res1 = 0 ;
7484 void *argp2 = 0 ;
7485 int res2 = 0 ;
7486 int val3 ;
7487 int ecode3 = 0 ;
7488 bool temp4 = false ;
7489 wxPoint temp5 ;
7490 wxSize temp6 ;
7491 long val7 ;
7492 int ecode7 = 0 ;
7493 bool temp8 = false ;
7494 PyObject * obj0 = 0 ;
7495 PyObject * obj1 = 0 ;
7496 PyObject * obj2 = 0 ;
7497 PyObject * obj3 = 0 ;
7498 PyObject * obj4 = 0 ;
7499 PyObject * obj5 = 0 ;
7500 PyObject * obj6 = 0 ;
7501 PyObject * obj7 = 0 ;
7502 char * kwnames[] = {
7503 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7504 };
7505
7506 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7507 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7508 if (!SWIG_IsOK(res1)) {
7509 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7510 }
7511 arg1 = reinterpret_cast< wxDialog * >(argp1);
7512 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7513 if (!SWIG_IsOK(res2)) {
7514 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7515 }
7516 arg2 = reinterpret_cast< wxWindow * >(argp2);
7517 if (obj2) {
7518 ecode3 = SWIG_AsVal_int(obj2, &val3);
7519 if (!SWIG_IsOK(ecode3)) {
7520 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7521 }
7522 arg3 = static_cast< int >(val3);
7523 }
7524 if (obj3) {
7525 {
7526 arg4 = wxString_in_helper(obj3);
7527 if (arg4 == NULL) SWIG_fail;
7528 temp4 = true;
7529 }
7530 }
7531 if (obj4) {
7532 {
7533 arg5 = &temp5;
7534 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7535 }
7536 }
7537 if (obj5) {
7538 {
7539 arg6 = &temp6;
7540 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7541 }
7542 }
7543 if (obj6) {
7544 ecode7 = SWIG_AsVal_long(obj6, &val7);
7545 if (!SWIG_IsOK(ecode7)) {
7546 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7547 }
7548 arg7 = static_cast< long >(val7);
7549 }
7550 if (obj7) {
7551 {
7552 arg8 = wxString_in_helper(obj7);
7553 if (arg8 == NULL) SWIG_fail;
7554 temp8 = true;
7555 }
7556 }
7557 {
7558 PyThreadState* __tstate = wxPyBeginAllowThreads();
7559 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7560 wxPyEndAllowThreads(__tstate);
7561 if (PyErr_Occurred()) SWIG_fail;
7562 }
7563 {
7564 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7565 }
7566 {
7567 if (temp4)
7568 delete arg4;
7569 }
7570 {
7571 if (temp8)
7572 delete arg8;
7573 }
7574 return resultobj;
7575 fail:
7576 {
7577 if (temp4)
7578 delete arg4;
7579 }
7580 {
7581 if (temp8)
7582 delete arg8;
7583 }
7584 return NULL;
7585 }
7586
7587
7588 SWIGINTERN PyObject *_wrap_Dialog_SetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7589 PyObject *resultobj = 0;
7590 wxDialog *arg1 = (wxDialog *) 0 ;
7591 int arg2 ;
7592 void *argp1 = 0 ;
7593 int res1 = 0 ;
7594 int val2 ;
7595 int ecode2 = 0 ;
7596 PyObject * obj0 = 0 ;
7597 PyObject * obj1 = 0 ;
7598 char * kwnames[] = {
7599 (char *) "self",(char *) "returnCode", NULL
7600 };
7601
7602 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) SWIG_fail;
7603 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7604 if (!SWIG_IsOK(res1)) {
7605 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7606 }
7607 arg1 = reinterpret_cast< wxDialog * >(argp1);
7608 ecode2 = SWIG_AsVal_int(obj1, &val2);
7609 if (!SWIG_IsOK(ecode2)) {
7610 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7611 }
7612 arg2 = static_cast< int >(val2);
7613 {
7614 PyThreadState* __tstate = wxPyBeginAllowThreads();
7615 (arg1)->SetReturnCode(arg2);
7616 wxPyEndAllowThreads(__tstate);
7617 if (PyErr_Occurred()) SWIG_fail;
7618 }
7619 resultobj = SWIG_Py_Void();
7620 return resultobj;
7621 fail:
7622 return NULL;
7623 }
7624
7625
7626 SWIGINTERN PyObject *_wrap_Dialog_GetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7627 PyObject *resultobj = 0;
7628 wxDialog *arg1 = (wxDialog *) 0 ;
7629 int result;
7630 void *argp1 = 0 ;
7631 int res1 = 0 ;
7632 PyObject *swig_obj[1] ;
7633
7634 if (!args) SWIG_fail;
7635 swig_obj[0] = args;
7636 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7637 if (!SWIG_IsOK(res1)) {
7638 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7639 }
7640 arg1 = reinterpret_cast< wxDialog * >(argp1);
7641 {
7642 PyThreadState* __tstate = wxPyBeginAllowThreads();
7643 result = (int)((wxDialog const *)arg1)->GetReturnCode();
7644 wxPyEndAllowThreads(__tstate);
7645 if (PyErr_Occurred()) SWIG_fail;
7646 }
7647 resultobj = SWIG_From_int(static_cast< int >(result));
7648 return resultobj;
7649 fail:
7650 return NULL;
7651 }
7652
7653
7654 SWIGINTERN PyObject *_wrap_Dialog_SetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7655 PyObject *resultobj = 0;
7656 wxDialog *arg1 = (wxDialog *) 0 ;
7657 int arg2 ;
7658 void *argp1 = 0 ;
7659 int res1 = 0 ;
7660 int val2 ;
7661 int ecode2 = 0 ;
7662 PyObject * obj0 = 0 ;
7663 PyObject * obj1 = 0 ;
7664 char * kwnames[] = {
7665 (char *) "self",(char *) "affirmativeId", NULL
7666 };
7667
7668 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetAffirmativeId",kwnames,&obj0,&obj1)) SWIG_fail;
7669 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7670 if (!SWIG_IsOK(res1)) {
7671 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7672 }
7673 arg1 = reinterpret_cast< wxDialog * >(argp1);
7674 ecode2 = SWIG_AsVal_int(obj1, &val2);
7675 if (!SWIG_IsOK(ecode2)) {
7676 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7677 }
7678 arg2 = static_cast< int >(val2);
7679 {
7680 PyThreadState* __tstate = wxPyBeginAllowThreads();
7681 (arg1)->SetAffirmativeId(arg2);
7682 wxPyEndAllowThreads(__tstate);
7683 if (PyErr_Occurred()) SWIG_fail;
7684 }
7685 resultobj = SWIG_Py_Void();
7686 return resultobj;
7687 fail:
7688 return NULL;
7689 }
7690
7691
7692 SWIGINTERN PyObject *_wrap_Dialog_GetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7693 PyObject *resultobj = 0;
7694 wxDialog *arg1 = (wxDialog *) 0 ;
7695 int result;
7696 void *argp1 = 0 ;
7697 int res1 = 0 ;
7698 PyObject *swig_obj[1] ;
7699
7700 if (!args) SWIG_fail;
7701 swig_obj[0] = args;
7702 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7703 if (!SWIG_IsOK(res1)) {
7704 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7705 }
7706 arg1 = reinterpret_cast< wxDialog * >(argp1);
7707 {
7708 PyThreadState* __tstate = wxPyBeginAllowThreads();
7709 result = (int)((wxDialog const *)arg1)->GetAffirmativeId();
7710 wxPyEndAllowThreads(__tstate);
7711 if (PyErr_Occurred()) SWIG_fail;
7712 }
7713 resultobj = SWIG_From_int(static_cast< int >(result));
7714 return resultobj;
7715 fail:
7716 return NULL;
7717 }
7718
7719
7720 SWIGINTERN PyObject *_wrap_Dialog_SetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7721 PyObject *resultobj = 0;
7722 wxDialog *arg1 = (wxDialog *) 0 ;
7723 int arg2 ;
7724 void *argp1 = 0 ;
7725 int res1 = 0 ;
7726 int val2 ;
7727 int ecode2 = 0 ;
7728 PyObject * obj0 = 0 ;
7729 PyObject * obj1 = 0 ;
7730 char * kwnames[] = {
7731 (char *) "self",(char *) "escapeId", NULL
7732 };
7733
7734 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetEscapeId",kwnames,&obj0,&obj1)) SWIG_fail;
7735 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7736 if (!SWIG_IsOK(res1)) {
7737 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7738 }
7739 arg1 = reinterpret_cast< wxDialog * >(argp1);
7740 ecode2 = SWIG_AsVal_int(obj1, &val2);
7741 if (!SWIG_IsOK(ecode2)) {
7742 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7743 }
7744 arg2 = static_cast< int >(val2);
7745 {
7746 PyThreadState* __tstate = wxPyBeginAllowThreads();
7747 (arg1)->SetEscapeId(arg2);
7748 wxPyEndAllowThreads(__tstate);
7749 if (PyErr_Occurred()) SWIG_fail;
7750 }
7751 resultobj = SWIG_Py_Void();
7752 return resultobj;
7753 fail:
7754 return NULL;
7755 }
7756
7757
7758 SWIGINTERN PyObject *_wrap_Dialog_GetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7759 PyObject *resultobj = 0;
7760 wxDialog *arg1 = (wxDialog *) 0 ;
7761 int result;
7762 void *argp1 = 0 ;
7763 int res1 = 0 ;
7764 PyObject *swig_obj[1] ;
7765
7766 if (!args) SWIG_fail;
7767 swig_obj[0] = args;
7768 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7769 if (!SWIG_IsOK(res1)) {
7770 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7771 }
7772 arg1 = reinterpret_cast< wxDialog * >(argp1);
7773 {
7774 PyThreadState* __tstate = wxPyBeginAllowThreads();
7775 result = (int)((wxDialog const *)arg1)->GetEscapeId();
7776 wxPyEndAllowThreads(__tstate);
7777 if (PyErr_Occurred()) SWIG_fail;
7778 }
7779 resultobj = SWIG_From_int(static_cast< int >(result));
7780 return resultobj;
7781 fail:
7782 return NULL;
7783 }
7784
7785
7786 SWIGINTERN PyObject *_wrap_Dialog_CreateTextSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7787 PyObject *resultobj = 0;
7788 wxDialog *arg1 = (wxDialog *) 0 ;
7789 wxString *arg2 = 0 ;
7790 wxSizer *result = 0 ;
7791 void *argp1 = 0 ;
7792 int res1 = 0 ;
7793 bool temp2 = false ;
7794 PyObject * obj0 = 0 ;
7795 PyObject * obj1 = 0 ;
7796 char * kwnames[] = {
7797 (char *) "self",(char *) "message", NULL
7798 };
7799
7800 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7801 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7802 if (!SWIG_IsOK(res1)) {
7803 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7804 }
7805 arg1 = reinterpret_cast< wxDialog * >(argp1);
7806 {
7807 arg2 = wxString_in_helper(obj1);
7808 if (arg2 == NULL) SWIG_fail;
7809 temp2 = true;
7810 }
7811 {
7812 PyThreadState* __tstate = wxPyBeginAllowThreads();
7813 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
7814 wxPyEndAllowThreads(__tstate);
7815 if (PyErr_Occurred()) SWIG_fail;
7816 }
7817 {
7818 resultobj = wxPyMake_wxObject(result, (bool)0);
7819 }
7820 {
7821 if (temp2)
7822 delete arg2;
7823 }
7824 return resultobj;
7825 fail:
7826 {
7827 if (temp2)
7828 delete arg2;
7829 }
7830 return NULL;
7831 }
7832
7833
7834 SWIGINTERN PyObject *_wrap_Dialog__CreateButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7835 PyObject *resultobj = 0;
7836 wxDialog *arg1 = (wxDialog *) 0 ;
7837 long arg2 ;
7838 wxSizer *result = 0 ;
7839 void *argp1 = 0 ;
7840 int res1 = 0 ;
7841 long val2 ;
7842 int ecode2 = 0 ;
7843 PyObject * obj0 = 0 ;
7844 PyObject * obj1 = 0 ;
7845 char * kwnames[] = {
7846 (char *) "self",(char *) "flags", NULL
7847 };
7848
7849 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog__CreateButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7850 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7851 if (!SWIG_IsOK(res1)) {
7852 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7853 }
7854 arg1 = reinterpret_cast< wxDialog * >(argp1);
7855 ecode2 = SWIG_AsVal_long(obj1, &val2);
7856 if (!SWIG_IsOK(ecode2)) {
7857 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7858 }
7859 arg2 = static_cast< long >(val2);
7860 {
7861 PyThreadState* __tstate = wxPyBeginAllowThreads();
7862 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
7863 wxPyEndAllowThreads(__tstate);
7864 if (PyErr_Occurred()) SWIG_fail;
7865 }
7866 {
7867 resultobj = wxPyMake_wxObject(result, (bool)0);
7868 }
7869 return resultobj;
7870 fail:
7871 return NULL;
7872 }
7873
7874
7875 SWIGINTERN PyObject *_wrap_Dialog_CreateSeparatedButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7876 PyObject *resultobj = 0;
7877 wxDialog *arg1 = (wxDialog *) 0 ;
7878 long arg2 ;
7879 wxSizer *result = 0 ;
7880 void *argp1 = 0 ;
7881 int res1 = 0 ;
7882 long val2 ;
7883 int ecode2 = 0 ;
7884 PyObject * obj0 = 0 ;
7885 PyObject * obj1 = 0 ;
7886 char * kwnames[] = {
7887 (char *) "self",(char *) "flags", NULL
7888 };
7889
7890 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateSeparatedButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7891 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7892 if (!SWIG_IsOK(res1)) {
7893 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7894 }
7895 arg1 = reinterpret_cast< wxDialog * >(argp1);
7896 ecode2 = SWIG_AsVal_long(obj1, &val2);
7897 if (!SWIG_IsOK(ecode2)) {
7898 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "2"" of type '" "long""'");
7899 }
7900 arg2 = static_cast< long >(val2);
7901 {
7902 PyThreadState* __tstate = wxPyBeginAllowThreads();
7903 result = (wxSizer *)(arg1)->CreateSeparatedButtonSizer(arg2);
7904 wxPyEndAllowThreads(__tstate);
7905 if (PyErr_Occurred()) SWIG_fail;
7906 }
7907 {
7908 resultobj = wxPyMake_wxObject(result, (bool)0);
7909 }
7910 return resultobj;
7911 fail:
7912 return NULL;
7913 }
7914
7915
7916 SWIGINTERN PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7917 PyObject *resultobj = 0;
7918 wxDialog *arg1 = (wxDialog *) 0 ;
7919 long arg2 ;
7920 wxStdDialogButtonSizer *result = 0 ;
7921 void *argp1 = 0 ;
7922 int res1 = 0 ;
7923 long val2 ;
7924 int ecode2 = 0 ;
7925 PyObject * obj0 = 0 ;
7926 PyObject * obj1 = 0 ;
7927 char * kwnames[] = {
7928 (char *) "self",(char *) "flags", NULL
7929 };
7930
7931 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7932 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7933 if (!SWIG_IsOK(res1)) {
7934 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7935 }
7936 arg1 = reinterpret_cast< wxDialog * >(argp1);
7937 ecode2 = SWIG_AsVal_long(obj1, &val2);
7938 if (!SWIG_IsOK(ecode2)) {
7939 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7940 }
7941 arg2 = static_cast< long >(val2);
7942 {
7943 PyThreadState* __tstate = wxPyBeginAllowThreads();
7944 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
7945 wxPyEndAllowThreads(__tstate);
7946 if (PyErr_Occurred()) SWIG_fail;
7947 }
7948 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0 | 0 );
7949 return resultobj;
7950 fail:
7951 return NULL;
7952 }
7953
7954
7955 SWIGINTERN PyObject *_wrap_Dialog_IsModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7956 PyObject *resultobj = 0;
7957 wxDialog *arg1 = (wxDialog *) 0 ;
7958 bool result;
7959 void *argp1 = 0 ;
7960 int res1 = 0 ;
7961 PyObject *swig_obj[1] ;
7962
7963 if (!args) SWIG_fail;
7964 swig_obj[0] = args;
7965 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7966 if (!SWIG_IsOK(res1)) {
7967 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7968 }
7969 arg1 = reinterpret_cast< wxDialog * >(argp1);
7970 {
7971 PyThreadState* __tstate = wxPyBeginAllowThreads();
7972 result = (bool)((wxDialog const *)arg1)->IsModal();
7973 wxPyEndAllowThreads(__tstate);
7974 if (PyErr_Occurred()) SWIG_fail;
7975 }
7976 {
7977 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7978 }
7979 return resultobj;
7980 fail:
7981 return NULL;
7982 }
7983
7984
7985 SWIGINTERN PyObject *_wrap_Dialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7986 PyObject *resultobj = 0;
7987 wxDialog *arg1 = (wxDialog *) 0 ;
7988 int result;
7989 void *argp1 = 0 ;
7990 int res1 = 0 ;
7991 PyObject *swig_obj[1] ;
7992
7993 if (!args) SWIG_fail;
7994 swig_obj[0] = args;
7995 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7996 if (!SWIG_IsOK(res1)) {
7997 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7998 }
7999 arg1 = reinterpret_cast< wxDialog * >(argp1);
8000 {
8001 PyThreadState* __tstate = wxPyBeginAllowThreads();
8002 result = (int)(arg1)->ShowModal();
8003 wxPyEndAllowThreads(__tstate);
8004 if (PyErr_Occurred()) SWIG_fail;
8005 }
8006 resultobj = SWIG_From_int(static_cast< int >(result));
8007 return resultobj;
8008 fail:
8009 return NULL;
8010 }
8011
8012
8013 SWIGINTERN PyObject *_wrap_Dialog_EndModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8014 PyObject *resultobj = 0;
8015 wxDialog *arg1 = (wxDialog *) 0 ;
8016 int arg2 ;
8017 void *argp1 = 0 ;
8018 int res1 = 0 ;
8019 int val2 ;
8020 int ecode2 = 0 ;
8021 PyObject * obj0 = 0 ;
8022 PyObject * obj1 = 0 ;
8023 char * kwnames[] = {
8024 (char *) "self",(char *) "retCode", NULL
8025 };
8026
8027 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) SWIG_fail;
8028 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
8029 if (!SWIG_IsOK(res1)) {
8030 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
8031 }
8032 arg1 = reinterpret_cast< wxDialog * >(argp1);
8033 ecode2 = SWIG_AsVal_int(obj1, &val2);
8034 if (!SWIG_IsOK(ecode2)) {
8035 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
8036 }
8037 arg2 = static_cast< int >(val2);
8038 {
8039 PyThreadState* __tstate = wxPyBeginAllowThreads();
8040 (arg1)->EndModal(arg2);
8041 wxPyEndAllowThreads(__tstate);
8042 if (PyErr_Occurred()) SWIG_fail;
8043 }
8044 resultobj = SWIG_Py_Void();
8045 return resultobj;
8046 fail:
8047 return NULL;
8048 }
8049
8050
8051 SWIGINTERN PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8052 PyObject *resultobj = 0;
8053 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8054 SwigValueWrapper<wxVisualAttributes > result;
8055 int val1 ;
8056 int ecode1 = 0 ;
8057 PyObject * obj0 = 0 ;
8058 char * kwnames[] = {
8059 (char *) "variant", NULL
8060 };
8061
8062 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
8063 if (obj0) {
8064 ecode1 = SWIG_AsVal_int(obj0, &val1);
8065 if (!SWIG_IsOK(ecode1)) {
8066 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8067 }
8068 arg1 = static_cast< wxWindowVariant >(val1);
8069 }
8070 {
8071 if (!wxPyCheckForApp()) SWIG_fail;
8072 PyThreadState* __tstate = wxPyBeginAllowThreads();
8073 result = wxDialog::GetClassDefaultAttributes(arg1);
8074 wxPyEndAllowThreads(__tstate);
8075 if (PyErr_Occurred()) SWIG_fail;
8076 }
8077 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8078 return resultobj;
8079 fail:
8080 return NULL;
8081 }
8082
8083
8084 SWIGINTERN PyObject *Dialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8085 PyObject *obj;
8086 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8087 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog, SWIG_NewClientData(obj));
8088 return SWIG_Py_Void();
8089 }
8090
8091 SWIGINTERN PyObject *Dialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8092 return SWIG_Python_InitShadowInstance(args);
8093 }
8094
8095 SWIGINTERN PyObject *_wrap_new_MiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8096 PyObject *resultobj = 0;
8097 wxWindow *arg1 = (wxWindow *) 0 ;
8098 int arg2 = (int) (int)-1 ;
8099 wxString const &arg3_defvalue = wxPyEmptyString ;
8100 wxString *arg3 = (wxString *) &arg3_defvalue ;
8101 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8102 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8103 wxSize const &arg5_defvalue = wxDefaultSize ;
8104 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8105 long arg6 = (long) wxDEFAULT_MINIFRAME_STYLE ;
8106 wxString const &arg7_defvalue = wxPyFrameNameStr ;
8107 wxString *arg7 = (wxString *) &arg7_defvalue ;
8108 wxMiniFrame *result = 0 ;
8109 void *argp1 = 0 ;
8110 int res1 = 0 ;
8111 int val2 ;
8112 int ecode2 = 0 ;
8113 bool temp3 = false ;
8114 wxPoint temp4 ;
8115 wxSize temp5 ;
8116 long val6 ;
8117 int ecode6 = 0 ;
8118 bool temp7 = false ;
8119 PyObject * obj0 = 0 ;
8120 PyObject * obj1 = 0 ;
8121 PyObject * obj2 = 0 ;
8122 PyObject * obj3 = 0 ;
8123 PyObject * obj4 = 0 ;
8124 PyObject * obj5 = 0 ;
8125 PyObject * obj6 = 0 ;
8126 char * kwnames[] = {
8127 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8128 };
8129
8130 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
8131 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8132 if (!SWIG_IsOK(res1)) {
8133 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
8134 }
8135 arg1 = reinterpret_cast< wxWindow * >(argp1);
8136 if (obj1) {
8137 ecode2 = SWIG_AsVal_int(obj1, &val2);
8138 if (!SWIG_IsOK(ecode2)) {
8139 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
8140 }
8141 arg2 = static_cast< int >(val2);
8142 }
8143 if (obj2) {
8144 {
8145 arg3 = wxString_in_helper(obj2);
8146 if (arg3 == NULL) SWIG_fail;
8147 temp3 = true;
8148 }
8149 }
8150 if (obj3) {
8151 {
8152 arg4 = &temp4;
8153 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8154 }
8155 }
8156 if (obj4) {
8157 {
8158 arg5 = &temp5;
8159 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8160 }
8161 }
8162 if (obj5) {
8163 ecode6 = SWIG_AsVal_long(obj5, &val6);
8164 if (!SWIG_IsOK(ecode6)) {
8165 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
8166 }
8167 arg6 = static_cast< long >(val6);
8168 }
8169 if (obj6) {
8170 {
8171 arg7 = wxString_in_helper(obj6);
8172 if (arg7 == NULL) SWIG_fail;
8173 temp7 = true;
8174 }
8175 }
8176 {
8177 if (!wxPyCheckForApp()) SWIG_fail;
8178 PyThreadState* __tstate = wxPyBeginAllowThreads();
8179 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8180 wxPyEndAllowThreads(__tstate);
8181 if (PyErr_Occurred()) SWIG_fail;
8182 }
8183 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_NEW | 0 );
8184 {
8185 if (temp3)
8186 delete arg3;
8187 }
8188 {
8189 if (temp7)
8190 delete arg7;
8191 }
8192 return resultobj;
8193 fail:
8194 {
8195 if (temp3)
8196 delete arg3;
8197 }
8198 {
8199 if (temp7)
8200 delete arg7;
8201 }
8202 return NULL;
8203 }
8204
8205
8206 SWIGINTERN PyObject *_wrap_new_PreMiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8207 PyObject *resultobj = 0;
8208 wxMiniFrame *result = 0 ;
8209
8210 if (!SWIG_Python_UnpackTuple(args,"new_PreMiniFrame",0,0,0)) SWIG_fail;
8211 {
8212 if (!wxPyCheckForApp()) SWIG_fail;
8213 PyThreadState* __tstate = wxPyBeginAllowThreads();
8214 result = (wxMiniFrame *)new wxMiniFrame();
8215 wxPyEndAllowThreads(__tstate);
8216 if (PyErr_Occurred()) SWIG_fail;
8217 }
8218 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_OWN | 0 );
8219 return resultobj;
8220 fail:
8221 return NULL;
8222 }
8223
8224
8225 SWIGINTERN PyObject *_wrap_MiniFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8226 PyObject *resultobj = 0;
8227 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
8228 wxWindow *arg2 = (wxWindow *) 0 ;
8229 int arg3 = (int) (int)-1 ;
8230 wxString const &arg4_defvalue = wxPyEmptyString ;
8231 wxString *arg4 = (wxString *) &arg4_defvalue ;
8232 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8233 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8234 wxSize const &arg6_defvalue = wxDefaultSize ;
8235 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8236 long arg7 = (long) wxDEFAULT_MINIFRAME_STYLE ;
8237 wxString const &arg8_defvalue = wxPyFrameNameStr ;
8238 wxString *arg8 = (wxString *) &arg8_defvalue ;
8239 bool result;
8240 void *argp1 = 0 ;
8241 int res1 = 0 ;
8242 void *argp2 = 0 ;
8243 int res2 = 0 ;
8244 int val3 ;
8245 int ecode3 = 0 ;
8246 bool temp4 = false ;
8247 wxPoint temp5 ;
8248 wxSize temp6 ;
8249 long val7 ;
8250 int ecode7 = 0 ;
8251 bool temp8 = false ;
8252 PyObject * obj0 = 0 ;
8253 PyObject * obj1 = 0 ;
8254 PyObject * obj2 = 0 ;
8255 PyObject * obj3 = 0 ;
8256 PyObject * obj4 = 0 ;
8257 PyObject * obj5 = 0 ;
8258 PyObject * obj6 = 0 ;
8259 PyObject * obj7 = 0 ;
8260 char * kwnames[] = {
8261 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8262 };
8263
8264 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8265 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMiniFrame, 0 | 0 );
8266 if (!SWIG_IsOK(res1)) {
8267 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8268 }
8269 arg1 = reinterpret_cast< wxMiniFrame * >(argp1);
8270 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8271 if (!SWIG_IsOK(res2)) {
8272 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8273 }
8274 arg2 = reinterpret_cast< wxWindow * >(argp2);
8275 if (obj2) {
8276 ecode3 = SWIG_AsVal_int(obj2, &val3);
8277 if (!SWIG_IsOK(ecode3)) {
8278 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8279 }
8280 arg3 = static_cast< int >(val3);
8281 }
8282 if (obj3) {
8283 {
8284 arg4 = wxString_in_helper(obj3);
8285 if (arg4 == NULL) SWIG_fail;
8286 temp4 = true;
8287 }
8288 }
8289 if (obj4) {
8290 {
8291 arg5 = &temp5;
8292 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8293 }
8294 }
8295 if (obj5) {
8296 {
8297 arg6 = &temp6;
8298 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8299 }
8300 }
8301 if (obj6) {
8302 ecode7 = SWIG_AsVal_long(obj6, &val7);
8303 if (!SWIG_IsOK(ecode7)) {
8304 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8305 }
8306 arg7 = static_cast< long >(val7);
8307 }
8308 if (obj7) {
8309 {
8310 arg8 = wxString_in_helper(obj7);
8311 if (arg8 == NULL) SWIG_fail;
8312 temp8 = true;
8313 }
8314 }
8315 {
8316 PyThreadState* __tstate = wxPyBeginAllowThreads();
8317 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8318 wxPyEndAllowThreads(__tstate);
8319 if (PyErr_Occurred()) SWIG_fail;
8320 }
8321 {
8322 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8323 }
8324 {
8325 if (temp4)
8326 delete arg4;
8327 }
8328 {
8329 if (temp8)
8330 delete arg8;
8331 }
8332 return resultobj;
8333 fail:
8334 {
8335 if (temp4)
8336 delete arg4;
8337 }
8338 {
8339 if (temp8)
8340 delete arg8;
8341 }
8342 return NULL;
8343 }
8344
8345
8346 SWIGINTERN PyObject *MiniFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8347 PyObject *obj;
8348 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8349 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame, SWIG_NewClientData(obj));
8350 return SWIG_Py_Void();
8351 }
8352
8353 SWIGINTERN PyObject *MiniFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8354 return SWIG_Python_InitShadowInstance(args);
8355 }
8356
8357 SWIGINTERN PyObject *_wrap_new_SplashScreenWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8358 PyObject *resultobj = 0;
8359 wxBitmap *arg1 = 0 ;
8360 wxWindow *arg2 = (wxWindow *) 0 ;
8361 int arg3 ;
8362 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8363 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8364 wxSize const &arg5_defvalue = wxDefaultSize ;
8365 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8366 long arg6 = (long) wxNO_BORDER ;
8367 wxSplashScreenWindow *result = 0 ;
8368 void *argp1 = 0 ;
8369 int res1 = 0 ;
8370 void *argp2 = 0 ;
8371 int res2 = 0 ;
8372 int val3 ;
8373 int ecode3 = 0 ;
8374 wxPoint temp4 ;
8375 wxSize temp5 ;
8376 long val6 ;
8377 int ecode6 = 0 ;
8378 PyObject * obj0 = 0 ;
8379 PyObject * obj1 = 0 ;
8380 PyObject * obj2 = 0 ;
8381 PyObject * obj3 = 0 ;
8382 PyObject * obj4 = 0 ;
8383 PyObject * obj5 = 0 ;
8384 char * kwnames[] = {
8385 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8386 };
8387
8388 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
8389 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8390 if (!SWIG_IsOK(res1)) {
8391 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8392 }
8393 if (!argp1) {
8394 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8395 }
8396 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8397 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8398 if (!SWIG_IsOK(res2)) {
8399 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8400 }
8401 arg2 = reinterpret_cast< wxWindow * >(argp2);
8402 ecode3 = SWIG_AsVal_int(obj2, &val3);
8403 if (!SWIG_IsOK(ecode3)) {
8404 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8405 }
8406 arg3 = static_cast< int >(val3);
8407 if (obj3) {
8408 {
8409 arg4 = &temp4;
8410 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8411 }
8412 }
8413 if (obj4) {
8414 {
8415 arg5 = &temp5;
8416 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8417 }
8418 }
8419 if (obj5) {
8420 ecode6 = SWIG_AsVal_long(obj5, &val6);
8421 if (!SWIG_IsOK(ecode6)) {
8422 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8423 }
8424 arg6 = static_cast< long >(val6);
8425 }
8426 {
8427 if (!wxPyCheckForApp()) SWIG_fail;
8428 PyThreadState* __tstate = wxPyBeginAllowThreads();
8429 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
8430 wxPyEndAllowThreads(__tstate);
8431 if (PyErr_Occurred()) SWIG_fail;
8432 }
8433 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_NEW | 0 );
8434 return resultobj;
8435 fail:
8436 return NULL;
8437 }
8438
8439
8440 SWIGINTERN PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8441 PyObject *resultobj = 0;
8442 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8443 wxBitmap *arg2 = 0 ;
8444 void *argp1 = 0 ;
8445 int res1 = 0 ;
8446 void *argp2 = 0 ;
8447 int res2 = 0 ;
8448 PyObject * obj0 = 0 ;
8449 PyObject * obj1 = 0 ;
8450 char * kwnames[] = {
8451 (char *) "self",(char *) "bitmap", NULL
8452 };
8453
8454 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
8455 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8456 if (!SWIG_IsOK(res1)) {
8457 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8458 }
8459 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8460 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
8461 if (!SWIG_IsOK(res2)) {
8462 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8463 }
8464 if (!argp2) {
8465 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8466 }
8467 arg2 = reinterpret_cast< wxBitmap * >(argp2);
8468 {
8469 PyThreadState* __tstate = wxPyBeginAllowThreads();
8470 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8471 wxPyEndAllowThreads(__tstate);
8472 if (PyErr_Occurred()) SWIG_fail;
8473 }
8474 resultobj = SWIG_Py_Void();
8475 return resultobj;
8476 fail:
8477 return NULL;
8478 }
8479
8480
8481 SWIGINTERN PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8482 PyObject *resultobj = 0;
8483 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8484 wxBitmap *result = 0 ;
8485 void *argp1 = 0 ;
8486 int res1 = 0 ;
8487 PyObject *swig_obj[1] ;
8488
8489 if (!args) SWIG_fail;
8490 swig_obj[0] = args;
8491 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8492 if (!SWIG_IsOK(res1)) {
8493 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8494 }
8495 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8496 {
8497 PyThreadState* __tstate = wxPyBeginAllowThreads();
8498 {
8499 wxBitmap &_result_ref = (arg1)->GetBitmap();
8500 result = (wxBitmap *) &_result_ref;
8501 }
8502 wxPyEndAllowThreads(__tstate);
8503 if (PyErr_Occurred()) SWIG_fail;
8504 }
8505 {
8506 wxBitmap* resultptr = new wxBitmap(*result);
8507 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
8508 }
8509 return resultobj;
8510 fail:
8511 return NULL;
8512 }
8513
8514
8515 SWIGINTERN PyObject *SplashScreenWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8516 PyObject *obj;
8517 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8518 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow, SWIG_NewClientData(obj));
8519 return SWIG_Py_Void();
8520 }
8521
8522 SWIGINTERN PyObject *SplashScreenWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8523 return SWIG_Python_InitShadowInstance(args);
8524 }
8525
8526 SWIGINTERN PyObject *_wrap_new_SplashScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8527 PyObject *resultobj = 0;
8528 wxBitmap *arg1 = 0 ;
8529 long arg2 ;
8530 int arg3 ;
8531 wxWindow *arg4 = (wxWindow *) 0 ;
8532 int arg5 = (int) -1 ;
8533 wxPoint const &arg6_defvalue = wxDefaultPosition ;
8534 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
8535 wxSize const &arg7_defvalue = wxDefaultSize ;
8536 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
8537 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
8538 wxSplashScreen *result = 0 ;
8539 void *argp1 = 0 ;
8540 int res1 = 0 ;
8541 long val2 ;
8542 int ecode2 = 0 ;
8543 int val3 ;
8544 int ecode3 = 0 ;
8545 void *argp4 = 0 ;
8546 int res4 = 0 ;
8547 int val5 ;
8548 int ecode5 = 0 ;
8549 wxPoint temp6 ;
8550 wxSize temp7 ;
8551 long val8 ;
8552 int ecode8 = 0 ;
8553 PyObject * obj0 = 0 ;
8554 PyObject * obj1 = 0 ;
8555 PyObject * obj2 = 0 ;
8556 PyObject * obj3 = 0 ;
8557 PyObject * obj4 = 0 ;
8558 PyObject * obj5 = 0 ;
8559 PyObject * obj6 = 0 ;
8560 PyObject * obj7 = 0 ;
8561 char * kwnames[] = {
8562 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8563 };
8564
8565 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8566 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8567 if (!SWIG_IsOK(res1)) {
8568 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8569 }
8570 if (!argp1) {
8571 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8572 }
8573 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8574 ecode2 = SWIG_AsVal_long(obj1, &val2);
8575 if (!SWIG_IsOK(ecode2)) {
8576 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8577 }
8578 arg2 = static_cast< long >(val2);
8579 ecode3 = SWIG_AsVal_int(obj2, &val3);
8580 if (!SWIG_IsOK(ecode3)) {
8581 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8582 }
8583 arg3 = static_cast< int >(val3);
8584 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
8585 if (!SWIG_IsOK(res4)) {
8586 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8587 }
8588 arg4 = reinterpret_cast< wxWindow * >(argp4);
8589 if (obj4) {
8590 ecode5 = SWIG_AsVal_int(obj4, &val5);
8591 if (!SWIG_IsOK(ecode5)) {
8592 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8593 }
8594 arg5 = static_cast< int >(val5);
8595 }
8596 if (obj5) {
8597 {
8598 arg6 = &temp6;
8599 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
8600 }
8601 }
8602 if (obj6) {
8603 {
8604 arg7 = &temp7;
8605 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
8606 }
8607 }
8608 if (obj7) {
8609 ecode8 = SWIG_AsVal_long(obj7, &val8);
8610 if (!SWIG_IsOK(ecode8)) {
8611 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8612 }
8613 arg8 = static_cast< long >(val8);
8614 }
8615 {
8616 if (!wxPyCheckForApp()) SWIG_fail;
8617 PyThreadState* __tstate = wxPyBeginAllowThreads();
8618 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
8619 wxPyEndAllowThreads(__tstate);
8620 if (PyErr_Occurred()) SWIG_fail;
8621 }
8622 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_NEW | 0 );
8623 return resultobj;
8624 fail:
8625 return NULL;
8626 }
8627
8628
8629 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8630 PyObject *resultobj = 0;
8631 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8632 long result;
8633 void *argp1 = 0 ;
8634 int res1 = 0 ;
8635 PyObject *swig_obj[1] ;
8636
8637 if (!args) SWIG_fail;
8638 swig_obj[0] = args;
8639 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8640 if (!SWIG_IsOK(res1)) {
8641 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8642 }
8643 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8644 {
8645 PyThreadState* __tstate = wxPyBeginAllowThreads();
8646 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
8647 wxPyEndAllowThreads(__tstate);
8648 if (PyErr_Occurred()) SWIG_fail;
8649 }
8650 resultobj = SWIG_From_long(static_cast< long >(result));
8651 return resultobj;
8652 fail:
8653 return NULL;
8654 }
8655
8656
8657 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8658 PyObject *resultobj = 0;
8659 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8660 wxSplashScreenWindow *result = 0 ;
8661 void *argp1 = 0 ;
8662 int res1 = 0 ;
8663 PyObject *swig_obj[1] ;
8664
8665 if (!args) SWIG_fail;
8666 swig_obj[0] = args;
8667 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8668 if (!SWIG_IsOK(res1)) {
8669 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8670 }
8671 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8672 {
8673 PyThreadState* __tstate = wxPyBeginAllowThreads();
8674 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
8675 wxPyEndAllowThreads(__tstate);
8676 if (PyErr_Occurred()) SWIG_fail;
8677 }
8678 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8679 return resultobj;
8680 fail:
8681 return NULL;
8682 }
8683
8684
8685 SWIGINTERN PyObject *_wrap_SplashScreen_GetTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8686 PyObject *resultobj = 0;
8687 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8688 int result;
8689 void *argp1 = 0 ;
8690 int res1 = 0 ;
8691 PyObject *swig_obj[1] ;
8692
8693 if (!args) SWIG_fail;
8694 swig_obj[0] = args;
8695 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8696 if (!SWIG_IsOK(res1)) {
8697 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8698 }
8699 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8700 {
8701 PyThreadState* __tstate = wxPyBeginAllowThreads();
8702 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
8703 wxPyEndAllowThreads(__tstate);
8704 if (PyErr_Occurred()) SWIG_fail;
8705 }
8706 resultobj = SWIG_From_int(static_cast< int >(result));
8707 return resultobj;
8708 fail:
8709 return NULL;
8710 }
8711
8712
8713 SWIGINTERN PyObject *SplashScreen_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8714 PyObject *obj;
8715 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8716 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen, SWIG_NewClientData(obj));
8717 return SWIG_Py_Void();
8718 }
8719
8720 SWIGINTERN PyObject *SplashScreen_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8721 return SWIG_Python_InitShadowInstance(args);
8722 }
8723
8724 SWIGINTERN PyObject *_wrap_new_StatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8725 PyObject *resultobj = 0;
8726 wxWindow *arg1 = (wxWindow *) 0 ;
8727 int arg2 = (int) -1 ;
8728 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
8729 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
8730 wxString *arg4 = (wxString *) &arg4_defvalue ;
8731 wxStatusBar *result = 0 ;
8732 void *argp1 = 0 ;
8733 int res1 = 0 ;
8734 int val2 ;
8735 int ecode2 = 0 ;
8736 long val3 ;
8737 int ecode3 = 0 ;
8738 bool temp4 = false ;
8739 PyObject * obj0 = 0 ;
8740 PyObject * obj1 = 0 ;
8741 PyObject * obj2 = 0 ;
8742 PyObject * obj3 = 0 ;
8743 char * kwnames[] = {
8744 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8745 };
8746
8747 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
8748 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8749 if (!SWIG_IsOK(res1)) {
8750 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8751 }
8752 arg1 = reinterpret_cast< wxWindow * >(argp1);
8753 if (obj1) {
8754 ecode2 = SWIG_AsVal_int(obj1, &val2);
8755 if (!SWIG_IsOK(ecode2)) {
8756 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8757 }
8758 arg2 = static_cast< int >(val2);
8759 }
8760 if (obj2) {
8761 ecode3 = SWIG_AsVal_long(obj2, &val3);
8762 if (!SWIG_IsOK(ecode3)) {
8763 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8764 }
8765 arg3 = static_cast< long >(val3);
8766 }
8767 if (obj3) {
8768 {
8769 arg4 = wxString_in_helper(obj3);
8770 if (arg4 == NULL) SWIG_fail;
8771 temp4 = true;
8772 }
8773 }
8774 {
8775 if (!wxPyCheckForApp()) SWIG_fail;
8776 PyThreadState* __tstate = wxPyBeginAllowThreads();
8777 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
8778 wxPyEndAllowThreads(__tstate);
8779 if (PyErr_Occurred()) SWIG_fail;
8780 }
8781 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_NEW | 0 );
8782 {
8783 if (temp4)
8784 delete arg4;
8785 }
8786 return resultobj;
8787 fail:
8788 {
8789 if (temp4)
8790 delete arg4;
8791 }
8792 return NULL;
8793 }
8794
8795
8796 SWIGINTERN PyObject *_wrap_new_PreStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8797 PyObject *resultobj = 0;
8798 wxStatusBar *result = 0 ;
8799
8800 if (!SWIG_Python_UnpackTuple(args,"new_PreStatusBar",0,0,0)) SWIG_fail;
8801 {
8802 if (!wxPyCheckForApp()) SWIG_fail;
8803 PyThreadState* __tstate = wxPyBeginAllowThreads();
8804 result = (wxStatusBar *)new wxStatusBar();
8805 wxPyEndAllowThreads(__tstate);
8806 if (PyErr_Occurred()) SWIG_fail;
8807 }
8808 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_OWN | 0 );
8809 return resultobj;
8810 fail:
8811 return NULL;
8812 }
8813
8814
8815 SWIGINTERN PyObject *_wrap_StatusBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8816 PyObject *resultobj = 0;
8817 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8818 wxWindow *arg2 = (wxWindow *) 0 ;
8819 int arg3 = (int) -1 ;
8820 long arg4 = (long) wxST_SIZEGRIP ;
8821 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
8822 wxString *arg5 = (wxString *) &arg5_defvalue ;
8823 bool result;
8824 void *argp1 = 0 ;
8825 int res1 = 0 ;
8826 void *argp2 = 0 ;
8827 int res2 = 0 ;
8828 int val3 ;
8829 int ecode3 = 0 ;
8830 long val4 ;
8831 int ecode4 = 0 ;
8832 bool temp5 = false ;
8833 PyObject * obj0 = 0 ;
8834 PyObject * obj1 = 0 ;
8835 PyObject * obj2 = 0 ;
8836 PyObject * obj3 = 0 ;
8837 PyObject * obj4 = 0 ;
8838 char * kwnames[] = {
8839 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8840 };
8841
8842 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
8843 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8844 if (!SWIG_IsOK(res1)) {
8845 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8846 }
8847 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8848 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8849 if (!SWIG_IsOK(res2)) {
8850 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8851 }
8852 arg2 = reinterpret_cast< wxWindow * >(argp2);
8853 if (obj2) {
8854 ecode3 = SWIG_AsVal_int(obj2, &val3);
8855 if (!SWIG_IsOK(ecode3)) {
8856 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8857 }
8858 arg3 = static_cast< int >(val3);
8859 }
8860 if (obj3) {
8861 ecode4 = SWIG_AsVal_long(obj3, &val4);
8862 if (!SWIG_IsOK(ecode4)) {
8863 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8864 }
8865 arg4 = static_cast< long >(val4);
8866 }
8867 if (obj4) {
8868 {
8869 arg5 = wxString_in_helper(obj4);
8870 if (arg5 == NULL) SWIG_fail;
8871 temp5 = true;
8872 }
8873 }
8874 {
8875 PyThreadState* __tstate = wxPyBeginAllowThreads();
8876 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
8877 wxPyEndAllowThreads(__tstate);
8878 if (PyErr_Occurred()) SWIG_fail;
8879 }
8880 {
8881 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8882 }
8883 {
8884 if (temp5)
8885 delete arg5;
8886 }
8887 return resultobj;
8888 fail:
8889 {
8890 if (temp5)
8891 delete arg5;
8892 }
8893 return NULL;
8894 }
8895
8896
8897 SWIGINTERN PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8898 PyObject *resultobj = 0;
8899 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8900 int arg2 = (int) 1 ;
8901 void *argp1 = 0 ;
8902 int res1 = 0 ;
8903 int val2 ;
8904 int ecode2 = 0 ;
8905 PyObject * obj0 = 0 ;
8906 PyObject * obj1 = 0 ;
8907 char * kwnames[] = {
8908 (char *) "self",(char *) "number", NULL
8909 };
8910
8911 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) SWIG_fail;
8912 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8913 if (!SWIG_IsOK(res1)) {
8914 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8915 }
8916 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8917 if (obj1) {
8918 ecode2 = SWIG_AsVal_int(obj1, &val2);
8919 if (!SWIG_IsOK(ecode2)) {
8920 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8921 }
8922 arg2 = static_cast< int >(val2);
8923 }
8924 {
8925 PyThreadState* __tstate = wxPyBeginAllowThreads();
8926 (arg1)->SetFieldsCount(arg2);
8927 wxPyEndAllowThreads(__tstate);
8928 if (PyErr_Occurred()) SWIG_fail;
8929 }
8930 resultobj = SWIG_Py_Void();
8931 return resultobj;
8932 fail:
8933 return NULL;
8934 }
8935
8936
8937 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8938 PyObject *resultobj = 0;
8939 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8940 int result;
8941 void *argp1 = 0 ;
8942 int res1 = 0 ;
8943 PyObject *swig_obj[1] ;
8944
8945 if (!args) SWIG_fail;
8946 swig_obj[0] = args;
8947 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8948 if (!SWIG_IsOK(res1)) {
8949 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8950 }
8951 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8952 {
8953 PyThreadState* __tstate = wxPyBeginAllowThreads();
8954 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
8955 wxPyEndAllowThreads(__tstate);
8956 if (PyErr_Occurred()) SWIG_fail;
8957 }
8958 resultobj = SWIG_From_int(static_cast< int >(result));
8959 return resultobj;
8960 fail:
8961 return NULL;
8962 }
8963
8964
8965 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8966 PyObject *resultobj = 0;
8967 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8968 wxString *arg2 = 0 ;
8969 int arg3 = (int) 0 ;
8970 void *argp1 = 0 ;
8971 int res1 = 0 ;
8972 bool temp2 = false ;
8973 int val3 ;
8974 int ecode3 = 0 ;
8975 PyObject * obj0 = 0 ;
8976 PyObject * obj1 = 0 ;
8977 PyObject * obj2 = 0 ;
8978 char * kwnames[] = {
8979 (char *) "self",(char *) "text",(char *) "number", NULL
8980 };
8981
8982 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8983 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8984 if (!SWIG_IsOK(res1)) {
8985 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8986 }
8987 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8988 {
8989 arg2 = wxString_in_helper(obj1);
8990 if (arg2 == NULL) SWIG_fail;
8991 temp2 = true;
8992 }
8993 if (obj2) {
8994 ecode3 = SWIG_AsVal_int(obj2, &val3);
8995 if (!SWIG_IsOK(ecode3)) {
8996 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8997 }
8998 arg3 = static_cast< int >(val3);
8999 }
9000 {
9001 PyThreadState* __tstate = wxPyBeginAllowThreads();
9002 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
9003 wxPyEndAllowThreads(__tstate);
9004 if (PyErr_Occurred()) SWIG_fail;
9005 }
9006 resultobj = SWIG_Py_Void();
9007 {
9008 if (temp2)
9009 delete arg2;
9010 }
9011 return resultobj;
9012 fail:
9013 {
9014 if (temp2)
9015 delete arg2;
9016 }
9017 return NULL;
9018 }
9019
9020
9021 SWIGINTERN PyObject *_wrap_StatusBar_GetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9022 PyObject *resultobj = 0;
9023 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9024 int arg2 = (int) 0 ;
9025 wxString result;
9026 void *argp1 = 0 ;
9027 int res1 = 0 ;
9028 int val2 ;
9029 int ecode2 = 0 ;
9030 PyObject * obj0 = 0 ;
9031 PyObject * obj1 = 0 ;
9032 char * kwnames[] = {
9033 (char *) "self",(char *) "number", NULL
9034 };
9035
9036 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
9037 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9038 if (!SWIG_IsOK(res1)) {
9039 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9040 }
9041 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9042 if (obj1) {
9043 ecode2 = SWIG_AsVal_int(obj1, &val2);
9044 if (!SWIG_IsOK(ecode2)) {
9045 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
9046 }
9047 arg2 = static_cast< int >(val2);
9048 }
9049 {
9050 PyThreadState* __tstate = wxPyBeginAllowThreads();
9051 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
9052 wxPyEndAllowThreads(__tstate);
9053 if (PyErr_Occurred()) SWIG_fail;
9054 }
9055 {
9056 #if wxUSE_UNICODE
9057 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9058 #else
9059 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9060 #endif
9061 }
9062 return resultobj;
9063 fail:
9064 return NULL;
9065 }
9066
9067
9068 SWIGINTERN PyObject *_wrap_StatusBar_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9069 PyObject *resultobj = 0;
9070 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9071 wxString *arg2 = 0 ;
9072 int arg3 = (int) 0 ;
9073 void *argp1 = 0 ;
9074 int res1 = 0 ;
9075 bool temp2 = false ;
9076 int val3 ;
9077 int ecode3 = 0 ;
9078 PyObject * obj0 = 0 ;
9079 PyObject * obj1 = 0 ;
9080 PyObject * obj2 = 0 ;
9081 char * kwnames[] = {
9082 (char *) "self",(char *) "text",(char *) "number", NULL
9083 };
9084
9085 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9086 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9087 if (!SWIG_IsOK(res1)) {
9088 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9089 }
9090 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9091 {
9092 arg2 = wxString_in_helper(obj1);
9093 if (arg2 == NULL) SWIG_fail;
9094 temp2 = true;
9095 }
9096 if (obj2) {
9097 ecode3 = SWIG_AsVal_int(obj2, &val3);
9098 if (!SWIG_IsOK(ecode3)) {
9099 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
9100 }
9101 arg3 = static_cast< int >(val3);
9102 }
9103 {
9104 PyThreadState* __tstate = wxPyBeginAllowThreads();
9105 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
9106 wxPyEndAllowThreads(__tstate);
9107 if (PyErr_Occurred()) SWIG_fail;
9108 }
9109 resultobj = SWIG_Py_Void();
9110 {
9111 if (temp2)
9112 delete arg2;
9113 }
9114 return resultobj;
9115 fail:
9116 {
9117 if (temp2)
9118 delete arg2;
9119 }
9120 return NULL;
9121 }
9122
9123
9124 SWIGINTERN PyObject *_wrap_StatusBar_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9125 PyObject *resultobj = 0;
9126 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9127 int arg2 = (int) 0 ;
9128 void *argp1 = 0 ;
9129 int res1 = 0 ;
9130 int val2 ;
9131 int ecode2 = 0 ;
9132 PyObject * obj0 = 0 ;
9133 PyObject * obj1 = 0 ;
9134 char * kwnames[] = {
9135 (char *) "self",(char *) "number", NULL
9136 };
9137
9138 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
9139 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9140 if (!SWIG_IsOK(res1)) {
9141 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9142 }
9143 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9144 if (obj1) {
9145 ecode2 = SWIG_AsVal_int(obj1, &val2);
9146 if (!SWIG_IsOK(ecode2)) {
9147 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
9148 }
9149 arg2 = static_cast< int >(val2);
9150 }
9151 {
9152 PyThreadState* __tstate = wxPyBeginAllowThreads();
9153 (arg1)->PopStatusText(arg2);
9154 wxPyEndAllowThreads(__tstate);
9155 if (PyErr_Occurred()) SWIG_fail;
9156 }
9157 resultobj = SWIG_Py_Void();
9158 return resultobj;
9159 fail:
9160 return NULL;
9161 }
9162
9163
9164 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9165 PyObject *resultobj = 0;
9166 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9167 int arg2 ;
9168 int *arg3 = (int *) 0 ;
9169 void *argp1 = 0 ;
9170 int res1 = 0 ;
9171 PyObject * obj0 = 0 ;
9172 PyObject * obj1 = 0 ;
9173 char * kwnames[] = {
9174 (char *) "self",(char *) "widths", NULL
9175 };
9176
9177 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
9178 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9179 if (!SWIG_IsOK(res1)) {
9180 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9181 }
9182 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9183 {
9184 arg2 = PyList_Size(obj1);
9185 arg3 = int_LIST_helper(obj1);
9186 if (arg3 == NULL) SWIG_fail;
9187 }
9188 {
9189 PyThreadState* __tstate = wxPyBeginAllowThreads();
9190 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
9191 wxPyEndAllowThreads(__tstate);
9192 if (PyErr_Occurred()) SWIG_fail;
9193 }
9194 resultobj = SWIG_Py_Void();
9195 {
9196 if (arg3) delete [] arg3;
9197 }
9198 return resultobj;
9199 fail:
9200 {
9201 if (arg3) delete [] arg3;
9202 }
9203 return NULL;
9204 }
9205
9206
9207 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9208 PyObject *resultobj = 0;
9209 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9210 int arg2 ;
9211 int *arg3 = (int *) 0 ;
9212 void *argp1 = 0 ;
9213 int res1 = 0 ;
9214 PyObject * obj0 = 0 ;
9215 PyObject * obj1 = 0 ;
9216 char * kwnames[] = {
9217 (char *) "self",(char *) "styles", NULL
9218 };
9219
9220 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) SWIG_fail;
9221 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9222 if (!SWIG_IsOK(res1)) {
9223 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9224 }
9225 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9226 {
9227 arg2 = PyList_Size(obj1);
9228 arg3 = int_LIST_helper(obj1);
9229 if (arg3 == NULL) SWIG_fail;
9230 }
9231 {
9232 PyThreadState* __tstate = wxPyBeginAllowThreads();
9233 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
9234 wxPyEndAllowThreads(__tstate);
9235 if (PyErr_Occurred()) SWIG_fail;
9236 }
9237 resultobj = SWIG_Py_Void();
9238 {
9239 if (arg3) delete [] arg3;
9240 }
9241 return resultobj;
9242 fail:
9243 {
9244 if (arg3) delete [] arg3;
9245 }
9246 return NULL;
9247 }
9248
9249
9250 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9251 PyObject *resultobj = 0;
9252 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9253 int arg2 ;
9254 wxRect result;
9255 void *argp1 = 0 ;
9256 int res1 = 0 ;
9257 int val2 ;
9258 int ecode2 = 0 ;
9259 PyObject * obj0 = 0 ;
9260 PyObject * obj1 = 0 ;
9261 char * kwnames[] = {
9262 (char *) "self",(char *) "i", NULL
9263 };
9264
9265 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) SWIG_fail;
9266 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9267 if (!SWIG_IsOK(res1)) {
9268 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9269 }
9270 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9271 ecode2 = SWIG_AsVal_int(obj1, &val2);
9272 if (!SWIG_IsOK(ecode2)) {
9273 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9274 }
9275 arg2 = static_cast< int >(val2);
9276 {
9277 PyThreadState* __tstate = wxPyBeginAllowThreads();
9278 result = wxStatusBar_GetFieldRect(arg1,arg2);
9279 wxPyEndAllowThreads(__tstate);
9280 if (PyErr_Occurred()) SWIG_fail;
9281 }
9282 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
9283 return resultobj;
9284 fail:
9285 return NULL;
9286 }
9287
9288
9289 SWIGINTERN PyObject *_wrap_StatusBar_SetMinHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9290 PyObject *resultobj = 0;
9291 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9292 int arg2 ;
9293 void *argp1 = 0 ;
9294 int res1 = 0 ;
9295 int val2 ;
9296 int ecode2 = 0 ;
9297 PyObject * obj0 = 0 ;
9298 PyObject * obj1 = 0 ;
9299 char * kwnames[] = {
9300 (char *) "self",(char *) "height", NULL
9301 };
9302
9303 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) SWIG_fail;
9304 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9305 if (!SWIG_IsOK(res1)) {
9306 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9307 }
9308 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9309 ecode2 = SWIG_AsVal_int(obj1, &val2);
9310 if (!SWIG_IsOK(ecode2)) {
9311 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9312 }
9313 arg2 = static_cast< int >(val2);
9314 {
9315 PyThreadState* __tstate = wxPyBeginAllowThreads();
9316 (arg1)->SetMinHeight(arg2);
9317 wxPyEndAllowThreads(__tstate);
9318 if (PyErr_Occurred()) SWIG_fail;
9319 }
9320 resultobj = SWIG_Py_Void();
9321 return resultobj;
9322 fail:
9323 return NULL;
9324 }
9325
9326
9327 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9328 PyObject *resultobj = 0;
9329 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9330 int result;
9331 void *argp1 = 0 ;
9332 int res1 = 0 ;
9333 PyObject *swig_obj[1] ;
9334
9335 if (!args) SWIG_fail;
9336 swig_obj[0] = args;
9337 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9338 if (!SWIG_IsOK(res1)) {
9339 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9340 }
9341 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9342 {
9343 PyThreadState* __tstate = wxPyBeginAllowThreads();
9344 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
9345 wxPyEndAllowThreads(__tstate);
9346 if (PyErr_Occurred()) SWIG_fail;
9347 }
9348 resultobj = SWIG_From_int(static_cast< int >(result));
9349 return resultobj;
9350 fail:
9351 return NULL;
9352 }
9353
9354
9355 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9356 PyObject *resultobj = 0;
9357 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9358 int result;
9359 void *argp1 = 0 ;
9360 int res1 = 0 ;
9361 PyObject *swig_obj[1] ;
9362
9363 if (!args) SWIG_fail;
9364 swig_obj[0] = args;
9365 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9366 if (!SWIG_IsOK(res1)) {
9367 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9368 }
9369 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9370 {
9371 PyThreadState* __tstate = wxPyBeginAllowThreads();
9372 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
9373 wxPyEndAllowThreads(__tstate);
9374 if (PyErr_Occurred()) SWIG_fail;
9375 }
9376 resultobj = SWIG_From_int(static_cast< int >(result));
9377 return resultobj;
9378 fail:
9379 return NULL;
9380 }
9381
9382
9383 SWIGINTERN PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9384 PyObject *resultobj = 0;
9385 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
9386 SwigValueWrapper<wxVisualAttributes > result;
9387 int val1 ;
9388 int ecode1 = 0 ;
9389 PyObject * obj0 = 0 ;
9390 char * kwnames[] = {
9391 (char *) "variant", NULL
9392 };
9393
9394 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
9395 if (obj0) {
9396 ecode1 = SWIG_AsVal_int(obj0, &val1);
9397 if (!SWIG_IsOK(ecode1)) {
9398 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9399 }
9400 arg1 = static_cast< wxWindowVariant >(val1);
9401 }
9402 {
9403 if (!wxPyCheckForApp()) SWIG_fail;
9404 PyThreadState* __tstate = wxPyBeginAllowThreads();
9405 result = wxStatusBar::GetClassDefaultAttributes(arg1);
9406 wxPyEndAllowThreads(__tstate);
9407 if (PyErr_Occurred()) SWIG_fail;
9408 }
9409 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
9410 return resultobj;
9411 fail:
9412 return NULL;
9413 }
9414
9415
9416 SWIGINTERN PyObject *StatusBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9417 PyObject *obj;
9418 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9419 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar, SWIG_NewClientData(obj));
9420 return SWIG_Py_Void();
9421 }
9422
9423 SWIGINTERN PyObject *StatusBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9424 return SWIG_Python_InitShadowInstance(args);
9425 }
9426
9427 SWIGINTERN int SplitterNameStr_set(PyObject *) {
9428 SWIG_Error(SWIG_AttributeError,"Variable SplitterNameStr is read-only.");
9429 return 1;
9430 }
9431
9432
9433 SWIGINTERN PyObject *SplitterNameStr_get(void) {
9434 PyObject *pyobj = 0;
9435
9436 {
9437 #if wxUSE_UNICODE
9438 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9439 #else
9440 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9441 #endif
9442 }
9443 return pyobj;
9444 }
9445
9446
9447 SWIGINTERN PyObject *_wrap_new_SplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9448 PyObject *resultobj = 0;
9449 wxWindow *arg1 = (wxWindow *) 0 ;
9450 int arg2 = (int) -1 ;
9451 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9452 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9453 wxSize const &arg4_defvalue = wxDefaultSize ;
9454 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9455 long arg5 = (long) wxSP_3D ;
9456 wxString const &arg6_defvalue = wxPySplitterNameStr ;
9457 wxString *arg6 = (wxString *) &arg6_defvalue ;
9458 wxSplitterWindow *result = 0 ;
9459 void *argp1 = 0 ;
9460 int res1 = 0 ;
9461 int val2 ;
9462 int ecode2 = 0 ;
9463 wxPoint temp3 ;
9464 wxSize temp4 ;
9465 long val5 ;
9466 int ecode5 = 0 ;
9467 bool temp6 = false ;
9468 PyObject * obj0 = 0 ;
9469 PyObject * obj1 = 0 ;
9470 PyObject * obj2 = 0 ;
9471 PyObject * obj3 = 0 ;
9472 PyObject * obj4 = 0 ;
9473 PyObject * obj5 = 0 ;
9474 char * kwnames[] = {
9475 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9476 };
9477
9478 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9479 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
9480 if (!SWIG_IsOK(res1)) {
9481 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9482 }
9483 arg1 = reinterpret_cast< wxWindow * >(argp1);
9484 if (obj1) {
9485 ecode2 = SWIG_AsVal_int(obj1, &val2);
9486 if (!SWIG_IsOK(ecode2)) {
9487 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9488 }
9489 arg2 = static_cast< int >(val2);
9490 }
9491 if (obj2) {
9492 {
9493 arg3 = &temp3;
9494 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9495 }
9496 }
9497 if (obj3) {
9498 {
9499 arg4 = &temp4;
9500 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9501 }
9502 }
9503 if (obj4) {
9504 ecode5 = SWIG_AsVal_long(obj4, &val5);
9505 if (!SWIG_IsOK(ecode5)) {
9506 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9507 }
9508 arg5 = static_cast< long >(val5);
9509 }
9510 if (obj5) {
9511 {
9512 arg6 = wxString_in_helper(obj5);
9513 if (arg6 == NULL) SWIG_fail;
9514 temp6 = true;
9515 }
9516 }
9517 {
9518 if (!wxPyCheckForApp()) SWIG_fail;
9519 PyThreadState* __tstate = wxPyBeginAllowThreads();
9520 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9521 wxPyEndAllowThreads(__tstate);
9522 if (PyErr_Occurred()) SWIG_fail;
9523 }
9524 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_NEW | 0 );
9525 {
9526 if (temp6)
9527 delete arg6;
9528 }
9529 return resultobj;
9530 fail:
9531 {
9532 if (temp6)
9533 delete arg6;
9534 }
9535 return NULL;
9536 }
9537
9538
9539 SWIGINTERN PyObject *_wrap_new_PreSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9540 PyObject *resultobj = 0;
9541 wxSplitterWindow *result = 0 ;
9542
9543 if (!SWIG_Python_UnpackTuple(args,"new_PreSplitterWindow",0,0,0)) SWIG_fail;
9544 {
9545 if (!wxPyCheckForApp()) SWIG_fail;
9546 PyThreadState* __tstate = wxPyBeginAllowThreads();
9547 result = (wxSplitterWindow *)new wxSplitterWindow();
9548 wxPyEndAllowThreads(__tstate);
9549 if (PyErr_Occurred()) SWIG_fail;
9550 }
9551 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_OWN | 0 );
9552 return resultobj;
9553 fail:
9554 return NULL;
9555 }
9556
9557
9558 SWIGINTERN PyObject *_wrap_SplitterWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9559 PyObject *resultobj = 0;
9560 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9561 wxWindow *arg2 = (wxWindow *) 0 ;
9562 int arg3 = (int) -1 ;
9563 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9564 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9565 wxSize const &arg5_defvalue = wxDefaultSize ;
9566 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9567 long arg6 = (long) wxSP_3D ;
9568 wxString const &arg7_defvalue = wxPySplitterNameStr ;
9569 wxString *arg7 = (wxString *) &arg7_defvalue ;
9570 bool result;
9571 void *argp1 = 0 ;
9572 int res1 = 0 ;
9573 void *argp2 = 0 ;
9574 int res2 = 0 ;
9575 int val3 ;
9576 int ecode3 = 0 ;
9577 wxPoint temp4 ;
9578 wxSize temp5 ;
9579 long val6 ;
9580 int ecode6 = 0 ;
9581 bool temp7 = false ;
9582 PyObject * obj0 = 0 ;
9583 PyObject * obj1 = 0 ;
9584 PyObject * obj2 = 0 ;
9585 PyObject * obj3 = 0 ;
9586 PyObject * obj4 = 0 ;
9587 PyObject * obj5 = 0 ;
9588 PyObject * obj6 = 0 ;
9589 char * kwnames[] = {
9590 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9591 };
9592
9593 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9594 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9595 if (!SWIG_IsOK(res1)) {
9596 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9597 }
9598 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9599 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9600 if (!SWIG_IsOK(res2)) {
9601 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9602 }
9603 arg2 = reinterpret_cast< wxWindow * >(argp2);
9604 if (obj2) {
9605 ecode3 = SWIG_AsVal_int(obj2, &val3);
9606 if (!SWIG_IsOK(ecode3)) {
9607 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9608 }
9609 arg3 = static_cast< int >(val3);
9610 }
9611 if (obj3) {
9612 {
9613 arg4 = &temp4;
9614 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9615 }
9616 }
9617 if (obj4) {
9618 {
9619 arg5 = &temp5;
9620 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9621 }
9622 }
9623 if (obj5) {
9624 ecode6 = SWIG_AsVal_long(obj5, &val6);
9625 if (!SWIG_IsOK(ecode6)) {
9626 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9627 }
9628 arg6 = static_cast< long >(val6);
9629 }
9630 if (obj6) {
9631 {
9632 arg7 = wxString_in_helper(obj6);
9633 if (arg7 == NULL) SWIG_fail;
9634 temp7 = true;
9635 }
9636 }
9637 {
9638 PyThreadState* __tstate = wxPyBeginAllowThreads();
9639 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9640 wxPyEndAllowThreads(__tstate);
9641 if (PyErr_Occurred()) SWIG_fail;
9642 }
9643 {
9644 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9645 }
9646 {
9647 if (temp7)
9648 delete arg7;
9649 }
9650 return resultobj;
9651 fail:
9652 {
9653 if (temp7)
9654 delete arg7;
9655 }
9656 return NULL;
9657 }
9658
9659
9660 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9661 PyObject *resultobj = 0;
9662 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9663 wxWindow *result = 0 ;
9664 void *argp1 = 0 ;
9665 int res1 = 0 ;
9666 PyObject *swig_obj[1] ;
9667
9668 if (!args) SWIG_fail;
9669 swig_obj[0] = args;
9670 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9671 if (!SWIG_IsOK(res1)) {
9672 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9673 }
9674 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9675 {
9676 PyThreadState* __tstate = wxPyBeginAllowThreads();
9677 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
9678 wxPyEndAllowThreads(__tstate);
9679 if (PyErr_Occurred()) SWIG_fail;
9680 }
9681 {
9682 resultobj = wxPyMake_wxObject(result, 0);
9683 }
9684 return resultobj;
9685 fail:
9686 return NULL;
9687 }
9688
9689
9690 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9691 PyObject *resultobj = 0;
9692 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9693 wxWindow *result = 0 ;
9694 void *argp1 = 0 ;
9695 int res1 = 0 ;
9696 PyObject *swig_obj[1] ;
9697
9698 if (!args) SWIG_fail;
9699 swig_obj[0] = args;
9700 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9701 if (!SWIG_IsOK(res1)) {
9702 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9703 }
9704 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9705 {
9706 PyThreadState* __tstate = wxPyBeginAllowThreads();
9707 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
9708 wxPyEndAllowThreads(__tstate);
9709 if (PyErr_Occurred()) SWIG_fail;
9710 }
9711 {
9712 resultobj = wxPyMake_wxObject(result, 0);
9713 }
9714 return resultobj;
9715 fail:
9716 return NULL;
9717 }
9718
9719
9720 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9721 PyObject *resultobj = 0;
9722 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9723 int arg2 ;
9724 void *argp1 = 0 ;
9725 int res1 = 0 ;
9726 int val2 ;
9727 int ecode2 = 0 ;
9728 PyObject * obj0 = 0 ;
9729 PyObject * obj1 = 0 ;
9730 char * kwnames[] = {
9731 (char *) "self",(char *) "mode", NULL
9732 };
9733
9734 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) SWIG_fail;
9735 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9736 if (!SWIG_IsOK(res1)) {
9737 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9738 }
9739 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9740 ecode2 = SWIG_AsVal_int(obj1, &val2);
9741 if (!SWIG_IsOK(ecode2)) {
9742 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9743 }
9744 arg2 = static_cast< int >(val2);
9745 {
9746 PyThreadState* __tstate = wxPyBeginAllowThreads();
9747 (arg1)->SetSplitMode(arg2);
9748 wxPyEndAllowThreads(__tstate);
9749 if (PyErr_Occurred()) SWIG_fail;
9750 }
9751 resultobj = SWIG_Py_Void();
9752 return resultobj;
9753 fail:
9754 return NULL;
9755 }
9756
9757
9758 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9759 PyObject *resultobj = 0;
9760 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9761 wxSplitMode result;
9762 void *argp1 = 0 ;
9763 int res1 = 0 ;
9764 PyObject *swig_obj[1] ;
9765
9766 if (!args) SWIG_fail;
9767 swig_obj[0] = args;
9768 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9769 if (!SWIG_IsOK(res1)) {
9770 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9771 }
9772 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9773 {
9774 PyThreadState* __tstate = wxPyBeginAllowThreads();
9775 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
9776 wxPyEndAllowThreads(__tstate);
9777 if (PyErr_Occurred()) SWIG_fail;
9778 }
9779 resultobj = SWIG_From_int(static_cast< int >(result));
9780 return resultobj;
9781 fail:
9782 return NULL;
9783 }
9784
9785
9786 SWIGINTERN PyObject *_wrap_SplitterWindow_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9787 PyObject *resultobj = 0;
9788 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9789 wxWindow *arg2 = (wxWindow *) 0 ;
9790 void *argp1 = 0 ;
9791 int res1 = 0 ;
9792 void *argp2 = 0 ;
9793 int res2 = 0 ;
9794 PyObject * obj0 = 0 ;
9795 PyObject * obj1 = 0 ;
9796 char * kwnames[] = {
9797 (char *) "self",(char *) "window", NULL
9798 };
9799
9800 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) SWIG_fail;
9801 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9802 if (!SWIG_IsOK(res1)) {
9803 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9804 }
9805 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9806 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9807 if (!SWIG_IsOK(res2)) {
9808 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9809 }
9810 arg2 = reinterpret_cast< wxWindow * >(argp2);
9811 {
9812 PyThreadState* __tstate = wxPyBeginAllowThreads();
9813 (arg1)->Initialize(arg2);
9814 wxPyEndAllowThreads(__tstate);
9815 if (PyErr_Occurred()) SWIG_fail;
9816 }
9817 resultobj = SWIG_Py_Void();
9818 return resultobj;
9819 fail:
9820 return NULL;
9821 }
9822
9823
9824 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9825 PyObject *resultobj = 0;
9826 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9827 wxWindow *arg2 = (wxWindow *) 0 ;
9828 wxWindow *arg3 = (wxWindow *) 0 ;
9829 int arg4 = (int) 0 ;
9830 bool result;
9831 void *argp1 = 0 ;
9832 int res1 = 0 ;
9833 void *argp2 = 0 ;
9834 int res2 = 0 ;
9835 void *argp3 = 0 ;
9836 int res3 = 0 ;
9837 int val4 ;
9838 int ecode4 = 0 ;
9839 PyObject * obj0 = 0 ;
9840 PyObject * obj1 = 0 ;
9841 PyObject * obj2 = 0 ;
9842 PyObject * obj3 = 0 ;
9843 char * kwnames[] = {
9844 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9845 };
9846
9847 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9848 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9849 if (!SWIG_IsOK(res1)) {
9850 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9851 }
9852 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9853 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9854 if (!SWIG_IsOK(res2)) {
9855 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9856 }
9857 arg2 = reinterpret_cast< wxWindow * >(argp2);
9858 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9859 if (!SWIG_IsOK(res3)) {
9860 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9861 }
9862 arg3 = reinterpret_cast< wxWindow * >(argp3);
9863 if (obj3) {
9864 ecode4 = SWIG_AsVal_int(obj3, &val4);
9865 if (!SWIG_IsOK(ecode4)) {
9866 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9867 }
9868 arg4 = static_cast< int >(val4);
9869 }
9870 {
9871 PyThreadState* __tstate = wxPyBeginAllowThreads();
9872 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
9873 wxPyEndAllowThreads(__tstate);
9874 if (PyErr_Occurred()) SWIG_fail;
9875 }
9876 {
9877 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9878 }
9879 return resultobj;
9880 fail:
9881 return NULL;
9882 }
9883
9884
9885 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9886 PyObject *resultobj = 0;
9887 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9888 wxWindow *arg2 = (wxWindow *) 0 ;
9889 wxWindow *arg3 = (wxWindow *) 0 ;
9890 int arg4 = (int) 0 ;
9891 bool result;
9892 void *argp1 = 0 ;
9893 int res1 = 0 ;
9894 void *argp2 = 0 ;
9895 int res2 = 0 ;
9896 void *argp3 = 0 ;
9897 int res3 = 0 ;
9898 int val4 ;
9899 int ecode4 = 0 ;
9900 PyObject * obj0 = 0 ;
9901 PyObject * obj1 = 0 ;
9902 PyObject * obj2 = 0 ;
9903 PyObject * obj3 = 0 ;
9904 char * kwnames[] = {
9905 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9906 };
9907
9908 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9909 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9910 if (!SWIG_IsOK(res1)) {
9911 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9912 }
9913 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9914 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9915 if (!SWIG_IsOK(res2)) {
9916 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9917 }
9918 arg2 = reinterpret_cast< wxWindow * >(argp2);
9919 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9920 if (!SWIG_IsOK(res3)) {
9921 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9922 }
9923 arg3 = reinterpret_cast< wxWindow * >(argp3);
9924 if (obj3) {
9925 ecode4 = SWIG_AsVal_int(obj3, &val4);
9926 if (!SWIG_IsOK(ecode4)) {
9927 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9928 }
9929 arg4 = static_cast< int >(val4);
9930 }
9931 {
9932 PyThreadState* __tstate = wxPyBeginAllowThreads();
9933 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
9934 wxPyEndAllowThreads(__tstate);
9935 if (PyErr_Occurred()) SWIG_fail;
9936 }
9937 {
9938 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9939 }
9940 return resultobj;
9941 fail:
9942 return NULL;
9943 }
9944
9945
9946 SWIGINTERN PyObject *_wrap_SplitterWindow_Unsplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9947 PyObject *resultobj = 0;
9948 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9949 wxWindow *arg2 = (wxWindow *) NULL ;
9950 bool result;
9951 void *argp1 = 0 ;
9952 int res1 = 0 ;
9953 void *argp2 = 0 ;
9954 int res2 = 0 ;
9955 PyObject * obj0 = 0 ;
9956 PyObject * obj1 = 0 ;
9957 char * kwnames[] = {
9958 (char *) "self",(char *) "toRemove", NULL
9959 };
9960
9961 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) SWIG_fail;
9962 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9963 if (!SWIG_IsOK(res1)) {
9964 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9965 }
9966 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9967 if (obj1) {
9968 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9969 if (!SWIG_IsOK(res2)) {
9970 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9971 }
9972 arg2 = reinterpret_cast< wxWindow * >(argp2);
9973 }
9974 {
9975 PyThreadState* __tstate = wxPyBeginAllowThreads();
9976 result = (bool)(arg1)->Unsplit(arg2);
9977 wxPyEndAllowThreads(__tstate);
9978 if (PyErr_Occurred()) SWIG_fail;
9979 }
9980 {
9981 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9982 }
9983 return resultobj;
9984 fail:
9985 return NULL;
9986 }
9987
9988
9989 SWIGINTERN PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9990 PyObject *resultobj = 0;
9991 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9992 wxWindow *arg2 = (wxWindow *) 0 ;
9993 wxWindow *arg3 = (wxWindow *) 0 ;
9994 bool result;
9995 void *argp1 = 0 ;
9996 int res1 = 0 ;
9997 void *argp2 = 0 ;
9998 int res2 = 0 ;
9999 void *argp3 = 0 ;
10000 int res3 = 0 ;
10001 PyObject * obj0 = 0 ;
10002 PyObject * obj1 = 0 ;
10003 PyObject * obj2 = 0 ;
10004 char * kwnames[] = {
10005 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
10006 };
10007
10008 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10009 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10010 if (!SWIG_IsOK(res1)) {
10011 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10012 }
10013 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10014 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10015 if (!SWIG_IsOK(res2)) {
10016 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
10017 }
10018 arg2 = reinterpret_cast< wxWindow * >(argp2);
10019 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
10020 if (!SWIG_IsOK(res3)) {
10021 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
10022 }
10023 arg3 = reinterpret_cast< wxWindow * >(argp3);
10024 {
10025 PyThreadState* __tstate = wxPyBeginAllowThreads();
10026 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
10027 wxPyEndAllowThreads(__tstate);
10028 if (PyErr_Occurred()) SWIG_fail;
10029 }
10030 {
10031 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10032 }
10033 return resultobj;
10034 fail:
10035 return NULL;
10036 }
10037
10038
10039 SWIGINTERN PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10040 PyObject *resultobj = 0;
10041 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10042 void *argp1 = 0 ;
10043 int res1 = 0 ;
10044 PyObject *swig_obj[1] ;
10045
10046 if (!args) SWIG_fail;
10047 swig_obj[0] = args;
10048 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10049 if (!SWIG_IsOK(res1)) {
10050 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10051 }
10052 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10053 {
10054 PyThreadState* __tstate = wxPyBeginAllowThreads();
10055 (arg1)->UpdateSize();
10056 wxPyEndAllowThreads(__tstate);
10057 if (PyErr_Occurred()) SWIG_fail;
10058 }
10059 resultobj = SWIG_Py_Void();
10060 return resultobj;
10061 fail:
10062 return NULL;
10063 }
10064
10065
10066 SWIGINTERN PyObject *_wrap_SplitterWindow_IsSplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10067 PyObject *resultobj = 0;
10068 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10069 bool result;
10070 void *argp1 = 0 ;
10071 int res1 = 0 ;
10072 PyObject *swig_obj[1] ;
10073
10074 if (!args) SWIG_fail;
10075 swig_obj[0] = args;
10076 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10077 if (!SWIG_IsOK(res1)) {
10078 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10079 }
10080 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10081 {
10082 PyThreadState* __tstate = wxPyBeginAllowThreads();
10083 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
10084 wxPyEndAllowThreads(__tstate);
10085 if (PyErr_Occurred()) SWIG_fail;
10086 }
10087 {
10088 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10089 }
10090 return resultobj;
10091 fail:
10092 return NULL;
10093 }
10094
10095
10096 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10097 PyObject *resultobj = 0;
10098 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10099 int arg2 ;
10100 void *argp1 = 0 ;
10101 int res1 = 0 ;
10102 int val2 ;
10103 int ecode2 = 0 ;
10104 PyObject * obj0 = 0 ;
10105 PyObject * obj1 = 0 ;
10106 char * kwnames[] = {
10107 (char *) "self",(char *) "width", NULL
10108 };
10109
10110 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) SWIG_fail;
10111 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10112 if (!SWIG_IsOK(res1)) {
10113 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10114 }
10115 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10116 ecode2 = SWIG_AsVal_int(obj1, &val2);
10117 if (!SWIG_IsOK(ecode2)) {
10118 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
10119 }
10120 arg2 = static_cast< int >(val2);
10121 {
10122 PyThreadState* __tstate = wxPyBeginAllowThreads();
10123 (arg1)->SetSashSize(arg2);
10124 wxPyEndAllowThreads(__tstate);
10125 if (PyErr_Occurred()) SWIG_fail;
10126 }
10127 resultobj = SWIG_Py_Void();
10128 return resultobj;
10129 fail:
10130 return NULL;
10131 }
10132
10133
10134 SWIGINTERN PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10135 PyObject *resultobj = 0;
10136 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10137 int arg2 ;
10138 void *argp1 = 0 ;
10139 int res1 = 0 ;
10140 int val2 ;
10141 int ecode2 = 0 ;
10142 PyObject * obj0 = 0 ;
10143 PyObject * obj1 = 0 ;
10144 char * kwnames[] = {
10145 (char *) "self",(char *) "width", NULL
10146 };
10147
10148 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
10149 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10150 if (!SWIG_IsOK(res1)) {
10151 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10152 }
10153 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10154 ecode2 = SWIG_AsVal_int(obj1, &val2);
10155 if (!SWIG_IsOK(ecode2)) {
10156 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
10157 }
10158 arg2 = static_cast< int >(val2);
10159 {
10160 PyThreadState* __tstate = wxPyBeginAllowThreads();
10161 (arg1)->SetBorderSize(arg2);
10162 wxPyEndAllowThreads(__tstate);
10163 if (PyErr_Occurred()) SWIG_fail;
10164 }
10165 resultobj = SWIG_Py_Void();
10166 return resultobj;
10167 fail:
10168 return NULL;
10169 }
10170
10171
10172 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10173 PyObject *resultobj = 0;
10174 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10175 int result;
10176 void *argp1 = 0 ;
10177 int res1 = 0 ;
10178 PyObject *swig_obj[1] ;
10179
10180 if (!args) SWIG_fail;
10181 swig_obj[0] = args;
10182 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10183 if (!SWIG_IsOK(res1)) {
10184 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10185 }
10186 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10187 {
10188 PyThreadState* __tstate = wxPyBeginAllowThreads();
10189 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
10190 wxPyEndAllowThreads(__tstate);
10191 if (PyErr_Occurred()) SWIG_fail;
10192 }
10193 resultobj = SWIG_From_int(static_cast< int >(result));
10194 return resultobj;
10195 fail:
10196 return NULL;
10197 }
10198
10199
10200 SWIGINTERN PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10201 PyObject *resultobj = 0;
10202 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10203 int result;
10204 void *argp1 = 0 ;
10205 int res1 = 0 ;
10206 PyObject *swig_obj[1] ;
10207
10208 if (!args) SWIG_fail;
10209 swig_obj[0] = args;
10210 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10211 if (!SWIG_IsOK(res1)) {
10212 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10213 }
10214 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10215 {
10216 PyThreadState* __tstate = wxPyBeginAllowThreads();
10217 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
10218 wxPyEndAllowThreads(__tstate);
10219 if (PyErr_Occurred()) SWIG_fail;
10220 }
10221 resultobj = SWIG_From_int(static_cast< int >(result));
10222 return resultobj;
10223 fail:
10224 return NULL;
10225 }
10226
10227
10228 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10229 PyObject *resultobj = 0;
10230 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10231 int arg2 ;
10232 bool arg3 = (bool) true ;
10233 void *argp1 = 0 ;
10234 int res1 = 0 ;
10235 int val2 ;
10236 int ecode2 = 0 ;
10237 bool val3 ;
10238 int ecode3 = 0 ;
10239 PyObject * obj0 = 0 ;
10240 PyObject * obj1 = 0 ;
10241 PyObject * obj2 = 0 ;
10242 char * kwnames[] = {
10243 (char *) "self",(char *) "position",(char *) "redraw", NULL
10244 };
10245
10246 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10247 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10248 if (!SWIG_IsOK(res1)) {
10249 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10250 }
10251 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10252 ecode2 = SWIG_AsVal_int(obj1, &val2);
10253 if (!SWIG_IsOK(ecode2)) {
10254 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10255 }
10256 arg2 = static_cast< int >(val2);
10257 if (obj2) {
10258 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10259 if (!SWIG_IsOK(ecode3)) {
10260 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10261 }
10262 arg3 = static_cast< bool >(val3);
10263 }
10264 {
10265 PyThreadState* __tstate = wxPyBeginAllowThreads();
10266 (arg1)->SetSashPosition(arg2,arg3);
10267 wxPyEndAllowThreads(__tstate);
10268 if (PyErr_Occurred()) SWIG_fail;
10269 }
10270 resultobj = SWIG_Py_Void();
10271 return resultobj;
10272 fail:
10273 return NULL;
10274 }
10275
10276
10277 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10278 PyObject *resultobj = 0;
10279 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10280 int result;
10281 void *argp1 = 0 ;
10282 int res1 = 0 ;
10283 PyObject *swig_obj[1] ;
10284
10285 if (!args) SWIG_fail;
10286 swig_obj[0] = args;
10287 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10288 if (!SWIG_IsOK(res1)) {
10289 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10290 }
10291 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10292 {
10293 PyThreadState* __tstate = wxPyBeginAllowThreads();
10294 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
10295 wxPyEndAllowThreads(__tstate);
10296 if (PyErr_Occurred()) SWIG_fail;
10297 }
10298 resultobj = SWIG_From_int(static_cast< int >(result));
10299 return resultobj;
10300 fail:
10301 return NULL;
10302 }
10303
10304
10305 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10306 PyObject *resultobj = 0;
10307 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10308 double arg2 ;
10309 void *argp1 = 0 ;
10310 int res1 = 0 ;
10311 double val2 ;
10312 int ecode2 = 0 ;
10313 PyObject * obj0 = 0 ;
10314 PyObject * obj1 = 0 ;
10315 char * kwnames[] = {
10316 (char *) "self",(char *) "gravity", NULL
10317 };
10318
10319 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) SWIG_fail;
10320 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10321 if (!SWIG_IsOK(res1)) {
10322 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10323 }
10324 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10325 ecode2 = SWIG_AsVal_double(obj1, &val2);
10326 if (!SWIG_IsOK(ecode2)) {
10327 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10328 }
10329 arg2 = static_cast< double >(val2);
10330 {
10331 PyThreadState* __tstate = wxPyBeginAllowThreads();
10332 (arg1)->SetSashGravity(arg2);
10333 wxPyEndAllowThreads(__tstate);
10334 if (PyErr_Occurred()) SWIG_fail;
10335 }
10336 resultobj = SWIG_Py_Void();
10337 return resultobj;
10338 fail:
10339 return NULL;
10340 }
10341
10342
10343 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10344 PyObject *resultobj = 0;
10345 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10346 double result;
10347 void *argp1 = 0 ;
10348 int res1 = 0 ;
10349 PyObject *swig_obj[1] ;
10350
10351 if (!args) SWIG_fail;
10352 swig_obj[0] = args;
10353 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10354 if (!SWIG_IsOK(res1)) {
10355 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10356 }
10357 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10358 {
10359 PyThreadState* __tstate = wxPyBeginAllowThreads();
10360 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
10361 wxPyEndAllowThreads(__tstate);
10362 if (PyErr_Occurred()) SWIG_fail;
10363 }
10364 resultobj = SWIG_From_double(static_cast< double >(result));
10365 return resultobj;
10366 fail:
10367 return NULL;
10368 }
10369
10370
10371 SWIGINTERN PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10372 PyObject *resultobj = 0;
10373 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10374 int arg2 ;
10375 void *argp1 = 0 ;
10376 int res1 = 0 ;
10377 int val2 ;
10378 int ecode2 = 0 ;
10379 PyObject * obj0 = 0 ;
10380 PyObject * obj1 = 0 ;
10381 char * kwnames[] = {
10382 (char *) "self",(char *) "min", NULL
10383 };
10384
10385 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) SWIG_fail;
10386 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10387 if (!SWIG_IsOK(res1)) {
10388 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10389 }
10390 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10391 ecode2 = SWIG_AsVal_int(obj1, &val2);
10392 if (!SWIG_IsOK(ecode2)) {
10393 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10394 }
10395 arg2 = static_cast< int >(val2);
10396 {
10397 PyThreadState* __tstate = wxPyBeginAllowThreads();
10398 (arg1)->SetMinimumPaneSize(arg2);
10399 wxPyEndAllowThreads(__tstate);
10400 if (PyErr_Occurred()) SWIG_fail;
10401 }
10402 resultobj = SWIG_Py_Void();
10403 return resultobj;
10404 fail:
10405 return NULL;
10406 }
10407
10408
10409 SWIGINTERN PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10410 PyObject *resultobj = 0;
10411 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10412 int result;
10413 void *argp1 = 0 ;
10414 int res1 = 0 ;
10415 PyObject *swig_obj[1] ;
10416
10417 if (!args) SWIG_fail;
10418 swig_obj[0] = args;
10419 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10420 if (!SWIG_IsOK(res1)) {
10421 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10422 }
10423 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10424 {
10425 PyThreadState* __tstate = wxPyBeginAllowThreads();
10426 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
10427 wxPyEndAllowThreads(__tstate);
10428 if (PyErr_Occurred()) SWIG_fail;
10429 }
10430 resultobj = SWIG_From_int(static_cast< int >(result));
10431 return resultobj;
10432 fail:
10433 return NULL;
10434 }
10435
10436
10437 SWIGINTERN PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10438 PyObject *resultobj = 0;
10439 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10440 int arg2 ;
10441 int arg3 ;
10442 int arg4 = (int) 5 ;
10443 bool result;
10444 void *argp1 = 0 ;
10445 int res1 = 0 ;
10446 int val2 ;
10447 int ecode2 = 0 ;
10448 int val3 ;
10449 int ecode3 = 0 ;
10450 int val4 ;
10451 int ecode4 = 0 ;
10452 PyObject * obj0 = 0 ;
10453 PyObject * obj1 = 0 ;
10454 PyObject * obj2 = 0 ;
10455 PyObject * obj3 = 0 ;
10456 char * kwnames[] = {
10457 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10458 };
10459
10460 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10461 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10462 if (!SWIG_IsOK(res1)) {
10463 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10464 }
10465 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10466 ecode2 = SWIG_AsVal_int(obj1, &val2);
10467 if (!SWIG_IsOK(ecode2)) {
10468 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10469 }
10470 arg2 = static_cast< int >(val2);
10471 ecode3 = SWIG_AsVal_int(obj2, &val3);
10472 if (!SWIG_IsOK(ecode3)) {
10473 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10474 }
10475 arg3 = static_cast< int >(val3);
10476 if (obj3) {
10477 ecode4 = SWIG_AsVal_int(obj3, &val4);
10478 if (!SWIG_IsOK(ecode4)) {
10479 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10480 }
10481 arg4 = static_cast< int >(val4);
10482 }
10483 {
10484 PyThreadState* __tstate = wxPyBeginAllowThreads();
10485 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
10486 wxPyEndAllowThreads(__tstate);
10487 if (PyErr_Occurred()) SWIG_fail;
10488 }
10489 {
10490 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10491 }
10492 return resultobj;
10493 fail:
10494 return NULL;
10495 }
10496
10497
10498 SWIGINTERN PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10499 PyObject *resultobj = 0;
10500 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10501 void *argp1 = 0 ;
10502 int res1 = 0 ;
10503 PyObject *swig_obj[1] ;
10504
10505 if (!args) SWIG_fail;
10506 swig_obj[0] = args;
10507 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10508 if (!SWIG_IsOK(res1)) {
10509 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10510 }
10511 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10512 {
10513 PyThreadState* __tstate = wxPyBeginAllowThreads();
10514 (arg1)->SizeWindows();
10515 wxPyEndAllowThreads(__tstate);
10516 if (PyErr_Occurred()) SWIG_fail;
10517 }
10518 resultobj = SWIG_Py_Void();
10519 return resultobj;
10520 fail:
10521 return NULL;
10522 }
10523
10524
10525 SWIGINTERN PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10526 PyObject *resultobj = 0;
10527 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10528 bool arg2 ;
10529 void *argp1 = 0 ;
10530 int res1 = 0 ;
10531 bool val2 ;
10532 int ecode2 = 0 ;
10533 PyObject * obj0 = 0 ;
10534 PyObject * obj1 = 0 ;
10535 char * kwnames[] = {
10536 (char *) "self",(char *) "needUpdating", NULL
10537 };
10538
10539 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) SWIG_fail;
10540 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10541 if (!SWIG_IsOK(res1)) {
10542 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10543 }
10544 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10545 ecode2 = SWIG_AsVal_bool(obj1, &val2);
10546 if (!SWIG_IsOK(ecode2)) {
10547 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10548 }
10549 arg2 = static_cast< bool >(val2);
10550 {
10551 PyThreadState* __tstate = wxPyBeginAllowThreads();
10552 (arg1)->SetNeedUpdating(arg2);
10553 wxPyEndAllowThreads(__tstate);
10554 if (PyErr_Occurred()) SWIG_fail;
10555 }
10556 resultobj = SWIG_Py_Void();
10557 return resultobj;
10558 fail:
10559 return NULL;
10560 }
10561
10562
10563 SWIGINTERN PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10564 PyObject *resultobj = 0;
10565 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10566 bool result;
10567 void *argp1 = 0 ;
10568 int res1 = 0 ;
10569 PyObject *swig_obj[1] ;
10570
10571 if (!args) SWIG_fail;
10572 swig_obj[0] = args;
10573 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10574 if (!SWIG_IsOK(res1)) {
10575 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10576 }
10577 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10578 {
10579 PyThreadState* __tstate = wxPyBeginAllowThreads();
10580 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
10581 wxPyEndAllowThreads(__tstate);
10582 if (PyErr_Occurred()) SWIG_fail;
10583 }
10584 {
10585 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10586 }
10587 return resultobj;
10588 fail:
10589 return NULL;
10590 }
10591
10592
10593 SWIGINTERN PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10594 PyObject *resultobj = 0;
10595 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
10596 SwigValueWrapper<wxVisualAttributes > result;
10597 int val1 ;
10598 int ecode1 = 0 ;
10599 PyObject * obj0 = 0 ;
10600 char * kwnames[] = {
10601 (char *) "variant", NULL
10602 };
10603
10604 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
10605 if (obj0) {
10606 ecode1 = SWIG_AsVal_int(obj0, &val1);
10607 if (!SWIG_IsOK(ecode1)) {
10608 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10609 }
10610 arg1 = static_cast< wxWindowVariant >(val1);
10611 }
10612 {
10613 if (!wxPyCheckForApp()) SWIG_fail;
10614 PyThreadState* __tstate = wxPyBeginAllowThreads();
10615 result = wxSplitterWindow::GetClassDefaultAttributes(arg1);
10616 wxPyEndAllowThreads(__tstate);
10617 if (PyErr_Occurred()) SWIG_fail;
10618 }
10619 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
10620 return resultobj;
10621 fail:
10622 return NULL;
10623 }
10624
10625
10626 SWIGINTERN PyObject *SplitterWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10627 PyObject *obj;
10628 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10629 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow, SWIG_NewClientData(obj));
10630 return SWIG_Py_Void();
10631 }
10632
10633 SWIGINTERN PyObject *SplitterWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10634 return SWIG_Python_InitShadowInstance(args);
10635 }
10636
10637 SWIGINTERN PyObject *_wrap_new_SplitterEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10638 PyObject *resultobj = 0;
10639 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10640 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
10641 wxSplitterEvent *result = 0 ;
10642 int val1 ;
10643 int ecode1 = 0 ;
10644 void *argp2 = 0 ;
10645 int res2 = 0 ;
10646 PyObject * obj0 = 0 ;
10647 PyObject * obj1 = 0 ;
10648 char * kwnames[] = {
10649 (char *) "type",(char *) "splitter", NULL
10650 };
10651
10652 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) SWIG_fail;
10653 if (obj0) {
10654 ecode1 = SWIG_AsVal_int(obj0, &val1);
10655 if (!SWIG_IsOK(ecode1)) {
10656 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10657 }
10658 arg1 = static_cast< wxEventType >(val1);
10659 }
10660 if (obj1) {
10661 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10662 if (!SWIG_IsOK(res2)) {
10663 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10664 }
10665 arg2 = reinterpret_cast< wxSplitterWindow * >(argp2);
10666 }
10667 {
10668 PyThreadState* __tstate = wxPyBeginAllowThreads();
10669 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
10670 wxPyEndAllowThreads(__tstate);
10671 if (PyErr_Occurred()) SWIG_fail;
10672 }
10673 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_NEW | 0 );
10674 return resultobj;
10675 fail:
10676 return NULL;
10677 }
10678
10679
10680 SWIGINTERN PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10681 PyObject *resultobj = 0;
10682 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10683 int arg2 ;
10684 void *argp1 = 0 ;
10685 int res1 = 0 ;
10686 int val2 ;
10687 int ecode2 = 0 ;
10688 PyObject * obj0 = 0 ;
10689 PyObject * obj1 = 0 ;
10690 char * kwnames[] = {
10691 (char *) "self",(char *) "pos", NULL
10692 };
10693
10694 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) SWIG_fail;
10695 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10696 if (!SWIG_IsOK(res1)) {
10697 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10698 }
10699 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10700 ecode2 = SWIG_AsVal_int(obj1, &val2);
10701 if (!SWIG_IsOK(ecode2)) {
10702 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10703 }
10704 arg2 = static_cast< int >(val2);
10705 {
10706 PyThreadState* __tstate = wxPyBeginAllowThreads();
10707 (arg1)->SetSashPosition(arg2);
10708 wxPyEndAllowThreads(__tstate);
10709 if (PyErr_Occurred()) SWIG_fail;
10710 }
10711 resultobj = SWIG_Py_Void();
10712 return resultobj;
10713 fail:
10714 return NULL;
10715 }
10716
10717
10718 SWIGINTERN PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10719 PyObject *resultobj = 0;
10720 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10721 int result;
10722 void *argp1 = 0 ;
10723 int res1 = 0 ;
10724 PyObject *swig_obj[1] ;
10725
10726 if (!args) SWIG_fail;
10727 swig_obj[0] = args;
10728 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10729 if (!SWIG_IsOK(res1)) {
10730 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10731 }
10732 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10733 {
10734 PyThreadState* __tstate = wxPyBeginAllowThreads();
10735 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
10736 wxPyEndAllowThreads(__tstate);
10737 if (PyErr_Occurred()) SWIG_fail;
10738 }
10739 resultobj = SWIG_From_int(static_cast< int >(result));
10740 return resultobj;
10741 fail:
10742 return NULL;
10743 }
10744
10745
10746 SWIGINTERN PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10747 PyObject *resultobj = 0;
10748 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10749 wxWindow *result = 0 ;
10750 void *argp1 = 0 ;
10751 int res1 = 0 ;
10752 PyObject *swig_obj[1] ;
10753
10754 if (!args) SWIG_fail;
10755 swig_obj[0] = args;
10756 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10757 if (!SWIG_IsOK(res1)) {
10758 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10759 }
10760 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10761 {
10762 PyThreadState* __tstate = wxPyBeginAllowThreads();
10763 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
10764 wxPyEndAllowThreads(__tstate);
10765 if (PyErr_Occurred()) SWIG_fail;
10766 }
10767 {
10768 resultobj = wxPyMake_wxObject(result, 0);
10769 }
10770 return resultobj;
10771 fail:
10772 return NULL;
10773 }
10774
10775
10776 SWIGINTERN PyObject *_wrap_SplitterEvent_GetX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10777 PyObject *resultobj = 0;
10778 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10779 int result;
10780 void *argp1 = 0 ;
10781 int res1 = 0 ;
10782 PyObject *swig_obj[1] ;
10783
10784 if (!args) SWIG_fail;
10785 swig_obj[0] = args;
10786 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10787 if (!SWIG_IsOK(res1)) {
10788 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10789 }
10790 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10791 {
10792 PyThreadState* __tstate = wxPyBeginAllowThreads();
10793 result = (int)((wxSplitterEvent const *)arg1)->GetX();
10794 wxPyEndAllowThreads(__tstate);
10795 if (PyErr_Occurred()) SWIG_fail;
10796 }
10797 resultobj = SWIG_From_int(static_cast< int >(result));
10798 return resultobj;
10799 fail:
10800 return NULL;
10801 }
10802
10803
10804 SWIGINTERN PyObject *_wrap_SplitterEvent_GetY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10805 PyObject *resultobj = 0;
10806 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10807 int result;
10808 void *argp1 = 0 ;
10809 int res1 = 0 ;
10810 PyObject *swig_obj[1] ;
10811
10812 if (!args) SWIG_fail;
10813 swig_obj[0] = args;
10814 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10815 if (!SWIG_IsOK(res1)) {
10816 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10817 }
10818 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10819 {
10820 PyThreadState* __tstate = wxPyBeginAllowThreads();
10821 result = (int)((wxSplitterEvent const *)arg1)->GetY();
10822 wxPyEndAllowThreads(__tstate);
10823 if (PyErr_Occurred()) SWIG_fail;
10824 }
10825 resultobj = SWIG_From_int(static_cast< int >(result));
10826 return resultobj;
10827 fail:
10828 return NULL;
10829 }
10830
10831
10832 SWIGINTERN PyObject *SplitterEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10833 PyObject *obj;
10834 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10835 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent, SWIG_NewClientData(obj));
10836 return SWIG_Py_Void();
10837 }
10838
10839 SWIGINTERN PyObject *SplitterEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10840 return SWIG_Python_InitShadowInstance(args);
10841 }
10842
10843 SWIGINTERN int SashNameStr_set(PyObject *) {
10844 SWIG_Error(SWIG_AttributeError,"Variable SashNameStr is read-only.");
10845 return 1;
10846 }
10847
10848
10849 SWIGINTERN PyObject *SashNameStr_get(void) {
10850 PyObject *pyobj = 0;
10851
10852 {
10853 #if wxUSE_UNICODE
10854 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10855 #else
10856 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10857 #endif
10858 }
10859 return pyobj;
10860 }
10861
10862
10863 SWIGINTERN int SashLayoutNameStr_set(PyObject *) {
10864 SWIG_Error(SWIG_AttributeError,"Variable SashLayoutNameStr is read-only.");
10865 return 1;
10866 }
10867
10868
10869 SWIGINTERN PyObject *SashLayoutNameStr_get(void) {
10870 PyObject *pyobj = 0;
10871
10872 {
10873 #if wxUSE_UNICODE
10874 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10875 #else
10876 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10877 #endif
10878 }
10879 return pyobj;
10880 }
10881
10882
10883 SWIGINTERN PyObject *_wrap_new_SashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10884 PyObject *resultobj = 0;
10885 wxWindow *arg1 = (wxWindow *) 0 ;
10886 int arg2 = (int) -1 ;
10887 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10888 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10889 wxSize const &arg4_defvalue = wxDefaultSize ;
10890 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10891 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10892 wxString const &arg6_defvalue = wxPySashNameStr ;
10893 wxString *arg6 = (wxString *) &arg6_defvalue ;
10894 wxSashWindow *result = 0 ;
10895 void *argp1 = 0 ;
10896 int res1 = 0 ;
10897 int val2 ;
10898 int ecode2 = 0 ;
10899 wxPoint temp3 ;
10900 wxSize temp4 ;
10901 long val5 ;
10902 int ecode5 = 0 ;
10903 bool temp6 = false ;
10904 PyObject * obj0 = 0 ;
10905 PyObject * obj1 = 0 ;
10906 PyObject * obj2 = 0 ;
10907 PyObject * obj3 = 0 ;
10908 PyObject * obj4 = 0 ;
10909 PyObject * obj5 = 0 ;
10910 char * kwnames[] = {
10911 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10912 };
10913
10914 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
10915 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10916 if (!SWIG_IsOK(res1)) {
10917 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10918 }
10919 arg1 = reinterpret_cast< wxWindow * >(argp1);
10920 if (obj1) {
10921 ecode2 = SWIG_AsVal_int(obj1, &val2);
10922 if (!SWIG_IsOK(ecode2)) {
10923 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10924 }
10925 arg2 = static_cast< int >(val2);
10926 }
10927 if (obj2) {
10928 {
10929 arg3 = &temp3;
10930 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10931 }
10932 }
10933 if (obj3) {
10934 {
10935 arg4 = &temp4;
10936 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10937 }
10938 }
10939 if (obj4) {
10940 ecode5 = SWIG_AsVal_long(obj4, &val5);
10941 if (!SWIG_IsOK(ecode5)) {
10942 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10943 }
10944 arg5 = static_cast< long >(val5);
10945 }
10946 if (obj5) {
10947 {
10948 arg6 = wxString_in_helper(obj5);
10949 if (arg6 == NULL) SWIG_fail;
10950 temp6 = true;
10951 }
10952 }
10953 {
10954 if (!wxPyCheckForApp()) SWIG_fail;
10955 PyThreadState* __tstate = wxPyBeginAllowThreads();
10956 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10957 wxPyEndAllowThreads(__tstate);
10958 if (PyErr_Occurred()) SWIG_fail;
10959 }
10960 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_NEW | 0 );
10961 {
10962 if (temp6)
10963 delete arg6;
10964 }
10965 return resultobj;
10966 fail:
10967 {
10968 if (temp6)
10969 delete arg6;
10970 }
10971 return NULL;
10972 }
10973
10974
10975 SWIGINTERN PyObject *_wrap_new_PreSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10976 PyObject *resultobj = 0;
10977 wxSashWindow *result = 0 ;
10978
10979 if (!SWIG_Python_UnpackTuple(args,"new_PreSashWindow",0,0,0)) SWIG_fail;
10980 {
10981 if (!wxPyCheckForApp()) SWIG_fail;
10982 PyThreadState* __tstate = wxPyBeginAllowThreads();
10983 result = (wxSashWindow *)new wxSashWindow();
10984 wxPyEndAllowThreads(__tstate);
10985 if (PyErr_Occurred()) SWIG_fail;
10986 }
10987 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_OWN | 0 );
10988 return resultobj;
10989 fail:
10990 return NULL;
10991 }
10992
10993
10994 SWIGINTERN PyObject *_wrap_SashWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10995 PyObject *resultobj = 0;
10996 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10997 wxWindow *arg2 = (wxWindow *) 0 ;
10998 int arg3 = (int) -1 ;
10999 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11000 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11001 wxSize const &arg5_defvalue = wxDefaultSize ;
11002 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11003 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
11004 wxString const &arg7_defvalue = wxPySashNameStr ;
11005 wxString *arg7 = (wxString *) &arg7_defvalue ;
11006 bool result;
11007 void *argp1 = 0 ;
11008 int res1 = 0 ;
11009 void *argp2 = 0 ;
11010 int res2 = 0 ;
11011 int val3 ;
11012 int ecode3 = 0 ;
11013 wxPoint temp4 ;
11014 wxSize temp5 ;
11015 long val6 ;
11016 int ecode6 = 0 ;
11017 bool temp7 = false ;
11018 PyObject * obj0 = 0 ;
11019 PyObject * obj1 = 0 ;
11020 PyObject * obj2 = 0 ;
11021 PyObject * obj3 = 0 ;
11022 PyObject * obj4 = 0 ;
11023 PyObject * obj5 = 0 ;
11024 PyObject * obj6 = 0 ;
11025 char * kwnames[] = {
11026 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11027 };
11028
11029 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
11030 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11031 if (!SWIG_IsOK(res1)) {
11032 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11033 }
11034 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11035 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
11036 if (!SWIG_IsOK(res2)) {
11037 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11038 }
11039 arg2 = reinterpret_cast< wxWindow * >(argp2);
11040 if (obj2) {
11041 ecode3 = SWIG_AsVal_int(obj2, &val3);
11042 if (!SWIG_IsOK(ecode3)) {
11043 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
11044 }
11045 arg3 = static_cast< int >(val3);
11046 }
11047 if (obj3) {
11048 {
11049 arg4 = &temp4;
11050 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11051 }
11052 }
11053 if (obj4) {
11054 {
11055 arg5 = &temp5;
11056 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11057 }
11058 }
11059 if (obj5) {
11060 ecode6 = SWIG_AsVal_long(obj5, &val6);
11061 if (!SWIG_IsOK(ecode6)) {
11062 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
11063 }
11064 arg6 = static_cast< long >(val6);
11065 }
11066 if (obj6) {
11067 {
11068 arg7 = wxString_in_helper(obj6);
11069 if (arg7 == NULL) SWIG_fail;
11070 temp7 = true;
11071 }
11072 }
11073 {
11074 PyThreadState* __tstate = wxPyBeginAllowThreads();
11075 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11076 wxPyEndAllowThreads(__tstate);
11077 if (PyErr_Occurred()) SWIG_fail;
11078 }
11079 {
11080 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11081 }
11082 {
11083 if (temp7)
11084 delete arg7;
11085 }
11086 return resultobj;
11087 fail:
11088 {
11089 if (temp7)
11090 delete arg7;
11091 }
11092 return NULL;
11093 }
11094
11095
11096 SWIGINTERN PyObject *_wrap_SashWindow_SetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11097 PyObject *resultobj = 0;
11098 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11099 wxSashEdgePosition arg2 ;
11100 bool arg3 ;
11101 void *argp1 = 0 ;
11102 int res1 = 0 ;
11103 int val2 ;
11104 int ecode2 = 0 ;
11105 bool val3 ;
11106 int ecode3 = 0 ;
11107 PyObject * obj0 = 0 ;
11108 PyObject * obj1 = 0 ;
11109 PyObject * obj2 = 0 ;
11110 char * kwnames[] = {
11111 (char *) "self",(char *) "edge",(char *) "sash", NULL
11112 };
11113
11114 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11115 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11116 if (!SWIG_IsOK(res1)) {
11117 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11118 }
11119 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11120 ecode2 = SWIG_AsVal_int(obj1, &val2);
11121 if (!SWIG_IsOK(ecode2)) {
11122 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11123 }
11124 arg2 = static_cast< wxSashEdgePosition >(val2);
11125 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11126 if (!SWIG_IsOK(ecode3)) {
11127 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
11128 }
11129 arg3 = static_cast< bool >(val3);
11130 {
11131 PyThreadState* __tstate = wxPyBeginAllowThreads();
11132 (arg1)->SetSashVisible(arg2,arg3);
11133 wxPyEndAllowThreads(__tstate);
11134 if (PyErr_Occurred()) SWIG_fail;
11135 }
11136 resultobj = SWIG_Py_Void();
11137 return resultobj;
11138 fail:
11139 return NULL;
11140 }
11141
11142
11143 SWIGINTERN PyObject *_wrap_SashWindow_GetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11144 PyObject *resultobj = 0;
11145 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11146 wxSashEdgePosition arg2 ;
11147 bool result;
11148 void *argp1 = 0 ;
11149 int res1 = 0 ;
11150 int val2 ;
11151 int ecode2 = 0 ;
11152 PyObject * obj0 = 0 ;
11153 PyObject * obj1 = 0 ;
11154 char * kwnames[] = {
11155 (char *) "self",(char *) "edge", NULL
11156 };
11157
11158 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) SWIG_fail;
11159 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11160 if (!SWIG_IsOK(res1)) {
11161 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11162 }
11163 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11164 ecode2 = SWIG_AsVal_int(obj1, &val2);
11165 if (!SWIG_IsOK(ecode2)) {
11166 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11167 }
11168 arg2 = static_cast< wxSashEdgePosition >(val2);
11169 {
11170 PyThreadState* __tstate = wxPyBeginAllowThreads();
11171 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible(arg2);
11172 wxPyEndAllowThreads(__tstate);
11173 if (PyErr_Occurred()) SWIG_fail;
11174 }
11175 {
11176 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11177 }
11178 return resultobj;
11179 fail:
11180 return NULL;
11181 }
11182
11183
11184 SWIGINTERN PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11185 PyObject *resultobj = 0;
11186 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11187 wxSashEdgePosition arg2 ;
11188 int result;
11189 void *argp1 = 0 ;
11190 int res1 = 0 ;
11191 int val2 ;
11192 int ecode2 = 0 ;
11193 PyObject * obj0 = 0 ;
11194 PyObject * obj1 = 0 ;
11195 char * kwnames[] = {
11196 (char *) "self",(char *) "edge", NULL
11197 };
11198
11199 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) SWIG_fail;
11200 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11201 if (!SWIG_IsOK(res1)) {
11202 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11203 }
11204 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11205 ecode2 = SWIG_AsVal_int(obj1, &val2);
11206 if (!SWIG_IsOK(ecode2)) {
11207 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11208 }
11209 arg2 = static_cast< wxSashEdgePosition >(val2);
11210 {
11211 PyThreadState* __tstate = wxPyBeginAllowThreads();
11212 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin(arg2);
11213 wxPyEndAllowThreads(__tstate);
11214 if (PyErr_Occurred()) SWIG_fail;
11215 }
11216 resultobj = SWIG_From_int(static_cast< int >(result));
11217 return resultobj;
11218 fail:
11219 return NULL;
11220 }
11221
11222
11223 SWIGINTERN PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11224 PyObject *resultobj = 0;
11225 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11226 int arg2 ;
11227 void *argp1 = 0 ;
11228 int res1 = 0 ;
11229 int val2 ;
11230 int ecode2 = 0 ;
11231 PyObject * obj0 = 0 ;
11232 PyObject * obj1 = 0 ;
11233 char * kwnames[] = {
11234 (char *) "self",(char *) "width", NULL
11235 };
11236
11237 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11238 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11239 if (!SWIG_IsOK(res1)) {
11240 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11241 }
11242 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11243 ecode2 = SWIG_AsVal_int(obj1, &val2);
11244 if (!SWIG_IsOK(ecode2)) {
11245 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11246 }
11247 arg2 = static_cast< int >(val2);
11248 {
11249 PyThreadState* __tstate = wxPyBeginAllowThreads();
11250 (arg1)->SetDefaultBorderSize(arg2);
11251 wxPyEndAllowThreads(__tstate);
11252 if (PyErr_Occurred()) SWIG_fail;
11253 }
11254 resultobj = SWIG_Py_Void();
11255 return resultobj;
11256 fail:
11257 return NULL;
11258 }
11259
11260
11261 SWIGINTERN PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11262 PyObject *resultobj = 0;
11263 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11264 int result;
11265 void *argp1 = 0 ;
11266 int res1 = 0 ;
11267 PyObject *swig_obj[1] ;
11268
11269 if (!args) SWIG_fail;
11270 swig_obj[0] = args;
11271 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11272 if (!SWIG_IsOK(res1)) {
11273 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11274 }
11275 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11276 {
11277 PyThreadState* __tstate = wxPyBeginAllowThreads();
11278 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
11279 wxPyEndAllowThreads(__tstate);
11280 if (PyErr_Occurred()) SWIG_fail;
11281 }
11282 resultobj = SWIG_From_int(static_cast< int >(result));
11283 return resultobj;
11284 fail:
11285 return NULL;
11286 }
11287
11288
11289 SWIGINTERN PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11290 PyObject *resultobj = 0;
11291 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11292 int arg2 ;
11293 void *argp1 = 0 ;
11294 int res1 = 0 ;
11295 int val2 ;
11296 int ecode2 = 0 ;
11297 PyObject * obj0 = 0 ;
11298 PyObject * obj1 = 0 ;
11299 char * kwnames[] = {
11300 (char *) "self",(char *) "width", NULL
11301 };
11302
11303 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11304 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11305 if (!SWIG_IsOK(res1)) {
11306 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11307 }
11308 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11309 ecode2 = SWIG_AsVal_int(obj1, &val2);
11310 if (!SWIG_IsOK(ecode2)) {
11311 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11312 }
11313 arg2 = static_cast< int >(val2);
11314 {
11315 PyThreadState* __tstate = wxPyBeginAllowThreads();
11316 (arg1)->SetExtraBorderSize(arg2);
11317 wxPyEndAllowThreads(__tstate);
11318 if (PyErr_Occurred()) SWIG_fail;
11319 }
11320 resultobj = SWIG_Py_Void();
11321 return resultobj;
11322 fail:
11323 return NULL;
11324 }
11325
11326
11327 SWIGINTERN PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11328 PyObject *resultobj = 0;
11329 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11330 int result;
11331 void *argp1 = 0 ;
11332 int res1 = 0 ;
11333 PyObject *swig_obj[1] ;
11334
11335 if (!args) SWIG_fail;
11336 swig_obj[0] = args;
11337 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11338 if (!SWIG_IsOK(res1)) {
11339 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11340 }
11341 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11342 {
11343 PyThreadState* __tstate = wxPyBeginAllowThreads();
11344 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
11345 wxPyEndAllowThreads(__tstate);
11346 if (PyErr_Occurred()) SWIG_fail;
11347 }
11348 resultobj = SWIG_From_int(static_cast< int >(result));
11349 return resultobj;
11350 fail:
11351 return NULL;
11352 }
11353
11354
11355 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11356 PyObject *resultobj = 0;
11357 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11358 int arg2 ;
11359 void *argp1 = 0 ;
11360 int res1 = 0 ;
11361 int val2 ;
11362 int ecode2 = 0 ;
11363 PyObject * obj0 = 0 ;
11364 PyObject * obj1 = 0 ;
11365 char * kwnames[] = {
11366 (char *) "self",(char *) "min", NULL
11367 };
11368
11369 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11370 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11371 if (!SWIG_IsOK(res1)) {
11372 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11373 }
11374 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11375 ecode2 = SWIG_AsVal_int(obj1, &val2);
11376 if (!SWIG_IsOK(ecode2)) {
11377 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11378 }
11379 arg2 = static_cast< int >(val2);
11380 {
11381 PyThreadState* __tstate = wxPyBeginAllowThreads();
11382 (arg1)->SetMinimumSizeX(arg2);
11383 wxPyEndAllowThreads(__tstate);
11384 if (PyErr_Occurred()) SWIG_fail;
11385 }
11386 resultobj = SWIG_Py_Void();
11387 return resultobj;
11388 fail:
11389 return NULL;
11390 }
11391
11392
11393 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11394 PyObject *resultobj = 0;
11395 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11396 int arg2 ;
11397 void *argp1 = 0 ;
11398 int res1 = 0 ;
11399 int val2 ;
11400 int ecode2 = 0 ;
11401 PyObject * obj0 = 0 ;
11402 PyObject * obj1 = 0 ;
11403 char * kwnames[] = {
11404 (char *) "self",(char *) "min", NULL
11405 };
11406
11407 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11408 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11409 if (!SWIG_IsOK(res1)) {
11410 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11411 }
11412 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11413 ecode2 = SWIG_AsVal_int(obj1, &val2);
11414 if (!SWIG_IsOK(ecode2)) {
11415 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11416 }
11417 arg2 = static_cast< int >(val2);
11418 {
11419 PyThreadState* __tstate = wxPyBeginAllowThreads();
11420 (arg1)->SetMinimumSizeY(arg2);
11421 wxPyEndAllowThreads(__tstate);
11422 if (PyErr_Occurred()) SWIG_fail;
11423 }
11424 resultobj = SWIG_Py_Void();
11425 return resultobj;
11426 fail:
11427 return NULL;
11428 }
11429
11430
11431 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11432 PyObject *resultobj = 0;
11433 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11434 int result;
11435 void *argp1 = 0 ;
11436 int res1 = 0 ;
11437 PyObject *swig_obj[1] ;
11438
11439 if (!args) SWIG_fail;
11440 swig_obj[0] = args;
11441 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11442 if (!SWIG_IsOK(res1)) {
11443 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11444 }
11445 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11446 {
11447 PyThreadState* __tstate = wxPyBeginAllowThreads();
11448 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
11449 wxPyEndAllowThreads(__tstate);
11450 if (PyErr_Occurred()) SWIG_fail;
11451 }
11452 resultobj = SWIG_From_int(static_cast< int >(result));
11453 return resultobj;
11454 fail:
11455 return NULL;
11456 }
11457
11458
11459 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11460 PyObject *resultobj = 0;
11461 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11462 int result;
11463 void *argp1 = 0 ;
11464 int res1 = 0 ;
11465 PyObject *swig_obj[1] ;
11466
11467 if (!args) SWIG_fail;
11468 swig_obj[0] = args;
11469 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11470 if (!SWIG_IsOK(res1)) {
11471 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11472 }
11473 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11474 {
11475 PyThreadState* __tstate = wxPyBeginAllowThreads();
11476 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
11477 wxPyEndAllowThreads(__tstate);
11478 if (PyErr_Occurred()) SWIG_fail;
11479 }
11480 resultobj = SWIG_From_int(static_cast< int >(result));
11481 return resultobj;
11482 fail:
11483 return NULL;
11484 }
11485
11486
11487 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11488 PyObject *resultobj = 0;
11489 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11490 int arg2 ;
11491 void *argp1 = 0 ;
11492 int res1 = 0 ;
11493 int val2 ;
11494 int ecode2 = 0 ;
11495 PyObject * obj0 = 0 ;
11496 PyObject * obj1 = 0 ;
11497 char * kwnames[] = {
11498 (char *) "self",(char *) "max", NULL
11499 };
11500
11501 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11502 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11503 if (!SWIG_IsOK(res1)) {
11504 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11505 }
11506 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11507 ecode2 = SWIG_AsVal_int(obj1, &val2);
11508 if (!SWIG_IsOK(ecode2)) {
11509 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11510 }
11511 arg2 = static_cast< int >(val2);
11512 {
11513 PyThreadState* __tstate = wxPyBeginAllowThreads();
11514 (arg1)->SetMaximumSizeX(arg2);
11515 wxPyEndAllowThreads(__tstate);
11516 if (PyErr_Occurred()) SWIG_fail;
11517 }
11518 resultobj = SWIG_Py_Void();
11519 return resultobj;
11520 fail:
11521 return NULL;
11522 }
11523
11524
11525 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11526 PyObject *resultobj = 0;
11527 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11528 int arg2 ;
11529 void *argp1 = 0 ;
11530 int res1 = 0 ;
11531 int val2 ;
11532 int ecode2 = 0 ;
11533 PyObject * obj0 = 0 ;
11534 PyObject * obj1 = 0 ;
11535 char * kwnames[] = {
11536 (char *) "self",(char *) "max", NULL
11537 };
11538
11539 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11540 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11541 if (!SWIG_IsOK(res1)) {
11542 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11543 }
11544 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11545 ecode2 = SWIG_AsVal_int(obj1, &val2);
11546 if (!SWIG_IsOK(ecode2)) {
11547 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11548 }
11549 arg2 = static_cast< int >(val2);
11550 {
11551 PyThreadState* __tstate = wxPyBeginAllowThreads();
11552 (arg1)->SetMaximumSizeY(arg2);
11553 wxPyEndAllowThreads(__tstate);
11554 if (PyErr_Occurred()) SWIG_fail;
11555 }
11556 resultobj = SWIG_Py_Void();
11557 return resultobj;
11558 fail:
11559 return NULL;
11560 }
11561
11562
11563 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11564 PyObject *resultobj = 0;
11565 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11566 int result;
11567 void *argp1 = 0 ;
11568 int res1 = 0 ;
11569 PyObject *swig_obj[1] ;
11570
11571 if (!args) SWIG_fail;
11572 swig_obj[0] = args;
11573 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11574 if (!SWIG_IsOK(res1)) {
11575 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11576 }
11577 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11578 {
11579 PyThreadState* __tstate = wxPyBeginAllowThreads();
11580 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
11581 wxPyEndAllowThreads(__tstate);
11582 if (PyErr_Occurred()) SWIG_fail;
11583 }
11584 resultobj = SWIG_From_int(static_cast< int >(result));
11585 return resultobj;
11586 fail:
11587 return NULL;
11588 }
11589
11590
11591 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11592 PyObject *resultobj = 0;
11593 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11594 int result;
11595 void *argp1 = 0 ;
11596 int res1 = 0 ;
11597 PyObject *swig_obj[1] ;
11598
11599 if (!args) SWIG_fail;
11600 swig_obj[0] = args;
11601 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11602 if (!SWIG_IsOK(res1)) {
11603 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11604 }
11605 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11606 {
11607 PyThreadState* __tstate = wxPyBeginAllowThreads();
11608 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
11609 wxPyEndAllowThreads(__tstate);
11610 if (PyErr_Occurred()) SWIG_fail;
11611 }
11612 resultobj = SWIG_From_int(static_cast< int >(result));
11613 return resultobj;
11614 fail:
11615 return NULL;
11616 }
11617
11618
11619 SWIGINTERN PyObject *_wrap_SashWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11620 PyObject *resultobj = 0;
11621 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11622 int arg2 ;
11623 int arg3 ;
11624 int arg4 = (int) 2 ;
11625 wxSashEdgePosition result;
11626 void *argp1 = 0 ;
11627 int res1 = 0 ;
11628 int val2 ;
11629 int ecode2 = 0 ;
11630 int val3 ;
11631 int ecode3 = 0 ;
11632 int val4 ;
11633 int ecode4 = 0 ;
11634 PyObject * obj0 = 0 ;
11635 PyObject * obj1 = 0 ;
11636 PyObject * obj2 = 0 ;
11637 PyObject * obj3 = 0 ;
11638 char * kwnames[] = {
11639 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11640 };
11641
11642 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11643 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11644 if (!SWIG_IsOK(res1)) {
11645 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11646 }
11647 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11648 ecode2 = SWIG_AsVal_int(obj1, &val2);
11649 if (!SWIG_IsOK(ecode2)) {
11650 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11651 }
11652 arg2 = static_cast< int >(val2);
11653 ecode3 = SWIG_AsVal_int(obj2, &val3);
11654 if (!SWIG_IsOK(ecode3)) {
11655 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11656 }
11657 arg3 = static_cast< int >(val3);
11658 if (obj3) {
11659 ecode4 = SWIG_AsVal_int(obj3, &val4);
11660 if (!SWIG_IsOK(ecode4)) {
11661 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11662 }
11663 arg4 = static_cast< int >(val4);
11664 }
11665 {
11666 PyThreadState* __tstate = wxPyBeginAllowThreads();
11667 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
11668 wxPyEndAllowThreads(__tstate);
11669 if (PyErr_Occurred()) SWIG_fail;
11670 }
11671 resultobj = SWIG_From_int(static_cast< int >(result));
11672 return resultobj;
11673 fail:
11674 return NULL;
11675 }
11676
11677
11678 SWIGINTERN PyObject *_wrap_SashWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11679 PyObject *resultobj = 0;
11680 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11681 void *argp1 = 0 ;
11682 int res1 = 0 ;
11683 PyObject *swig_obj[1] ;
11684
11685 if (!args) SWIG_fail;
11686 swig_obj[0] = args;
11687 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11688 if (!SWIG_IsOK(res1)) {
11689 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11690 }
11691 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11692 {
11693 PyThreadState* __tstate = wxPyBeginAllowThreads();
11694 (arg1)->SizeWindows();
11695 wxPyEndAllowThreads(__tstate);
11696 if (PyErr_Occurred()) SWIG_fail;
11697 }
11698 resultobj = SWIG_Py_Void();
11699 return resultobj;
11700 fail:
11701 return NULL;
11702 }
11703
11704
11705 SWIGINTERN PyObject *SashWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11706 PyObject *obj;
11707 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11708 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow, SWIG_NewClientData(obj));
11709 return SWIG_Py_Void();
11710 }
11711
11712 SWIGINTERN PyObject *SashWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11713 return SWIG_Python_InitShadowInstance(args);
11714 }
11715
11716 SWIGINTERN PyObject *_wrap_new_SashEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11717 PyObject *resultobj = 0;
11718 int arg1 = (int) 0 ;
11719 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
11720 wxSashEvent *result = 0 ;
11721 int val1 ;
11722 int ecode1 = 0 ;
11723 int val2 ;
11724 int ecode2 = 0 ;
11725 PyObject * obj0 = 0 ;
11726 PyObject * obj1 = 0 ;
11727 char * kwnames[] = {
11728 (char *) "id",(char *) "edge", NULL
11729 };
11730
11731 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) SWIG_fail;
11732 if (obj0) {
11733 ecode1 = SWIG_AsVal_int(obj0, &val1);
11734 if (!SWIG_IsOK(ecode1)) {
11735 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11736 }
11737 arg1 = static_cast< int >(val1);
11738 }
11739 if (obj1) {
11740 ecode2 = SWIG_AsVal_int(obj1, &val2);
11741 if (!SWIG_IsOK(ecode2)) {
11742 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11743 }
11744 arg2 = static_cast< wxSashEdgePosition >(val2);
11745 }
11746 {
11747 PyThreadState* __tstate = wxPyBeginAllowThreads();
11748 result = (wxSashEvent *)new wxSashEvent(arg1,arg2);
11749 wxPyEndAllowThreads(__tstate);
11750 if (PyErr_Occurred()) SWIG_fail;
11751 }
11752 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashEvent, SWIG_POINTER_NEW | 0 );
11753 return resultobj;
11754 fail:
11755 return NULL;
11756 }
11757
11758
11759 SWIGINTERN PyObject *_wrap_SashEvent_SetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11760 PyObject *resultobj = 0;
11761 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11762 wxSashEdgePosition arg2 ;
11763 void *argp1 = 0 ;
11764 int res1 = 0 ;
11765 int val2 ;
11766 int ecode2 = 0 ;
11767 PyObject * obj0 = 0 ;
11768 PyObject * obj1 = 0 ;
11769 char * kwnames[] = {
11770 (char *) "self",(char *) "edge", NULL
11771 };
11772
11773 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) SWIG_fail;
11774 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11775 if (!SWIG_IsOK(res1)) {
11776 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11777 }
11778 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11779 ecode2 = SWIG_AsVal_int(obj1, &val2);
11780 if (!SWIG_IsOK(ecode2)) {
11781 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11782 }
11783 arg2 = static_cast< wxSashEdgePosition >(val2);
11784 {
11785 PyThreadState* __tstate = wxPyBeginAllowThreads();
11786 (arg1)->SetEdge(arg2);
11787 wxPyEndAllowThreads(__tstate);
11788 if (PyErr_Occurred()) SWIG_fail;
11789 }
11790 resultobj = SWIG_Py_Void();
11791 return resultobj;
11792 fail:
11793 return NULL;
11794 }
11795
11796
11797 SWIGINTERN PyObject *_wrap_SashEvent_GetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11798 PyObject *resultobj = 0;
11799 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11800 wxSashEdgePosition result;
11801 void *argp1 = 0 ;
11802 int res1 = 0 ;
11803 PyObject *swig_obj[1] ;
11804
11805 if (!args) SWIG_fail;
11806 swig_obj[0] = args;
11807 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11808 if (!SWIG_IsOK(res1)) {
11809 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11810 }
11811 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11812 {
11813 PyThreadState* __tstate = wxPyBeginAllowThreads();
11814 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
11815 wxPyEndAllowThreads(__tstate);
11816 if (PyErr_Occurred()) SWIG_fail;
11817 }
11818 resultobj = SWIG_From_int(static_cast< int >(result));
11819 return resultobj;
11820 fail:
11821 return NULL;
11822 }
11823
11824
11825 SWIGINTERN PyObject *_wrap_SashEvent_SetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11826 PyObject *resultobj = 0;
11827 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11828 wxRect *arg2 = 0 ;
11829 void *argp1 = 0 ;
11830 int res1 = 0 ;
11831 wxRect temp2 ;
11832 PyObject * obj0 = 0 ;
11833 PyObject * obj1 = 0 ;
11834 char * kwnames[] = {
11835 (char *) "self",(char *) "rect", NULL
11836 };
11837
11838 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) SWIG_fail;
11839 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11840 if (!SWIG_IsOK(res1)) {
11841 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11842 }
11843 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11844 {
11845 arg2 = &temp2;
11846 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11847 }
11848 {
11849 PyThreadState* __tstate = wxPyBeginAllowThreads();
11850 (arg1)->SetDragRect((wxRect const &)*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_GetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11862 PyObject *resultobj = 0;
11863 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11864 wxRect 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_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11874 }
11875 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11876 {
11877 PyThreadState* __tstate = wxPyBeginAllowThreads();
11878 result = ((wxSashEvent const *)arg1)->GetDragRect();
11879 wxPyEndAllowThreads(__tstate);
11880 if (PyErr_Occurred()) SWIG_fail;
11881 }
11882 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
11883 return resultobj;
11884 fail:
11885 return NULL;
11886 }
11887
11888
11889 SWIGINTERN PyObject *_wrap_SashEvent_SetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11890 PyObject *resultobj = 0;
11891 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11892 wxSashDragStatus arg2 ;
11893 void *argp1 = 0 ;
11894 int res1 = 0 ;
11895 int val2 ;
11896 int ecode2 = 0 ;
11897 PyObject * obj0 = 0 ;
11898 PyObject * obj1 = 0 ;
11899 char * kwnames[] = {
11900 (char *) "self",(char *) "status", NULL
11901 };
11902
11903 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) SWIG_fail;
11904 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11905 if (!SWIG_IsOK(res1)) {
11906 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11907 }
11908 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11909 ecode2 = SWIG_AsVal_int(obj1, &val2);
11910 if (!SWIG_IsOK(ecode2)) {
11911 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11912 }
11913 arg2 = static_cast< wxSashDragStatus >(val2);
11914 {
11915 PyThreadState* __tstate = wxPyBeginAllowThreads();
11916 (arg1)->SetDragStatus(arg2);
11917 wxPyEndAllowThreads(__tstate);
11918 if (PyErr_Occurred()) SWIG_fail;
11919 }
11920 resultobj = SWIG_Py_Void();
11921 return resultobj;
11922 fail:
11923 return NULL;
11924 }
11925
11926
11927 SWIGINTERN PyObject *_wrap_SashEvent_GetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11928 PyObject *resultobj = 0;
11929 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11930 wxSashDragStatus result;
11931 void *argp1 = 0 ;
11932 int res1 = 0 ;
11933 PyObject *swig_obj[1] ;
11934
11935 if (!args) SWIG_fail;
11936 swig_obj[0] = args;
11937 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11938 if (!SWIG_IsOK(res1)) {
11939 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11940 }
11941 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11942 {
11943 PyThreadState* __tstate = wxPyBeginAllowThreads();
11944 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
11945 wxPyEndAllowThreads(__tstate);
11946 if (PyErr_Occurred()) SWIG_fail;
11947 }
11948 resultobj = SWIG_From_int(static_cast< int >(result));
11949 return resultobj;
11950 fail:
11951 return NULL;
11952 }
11953
11954
11955 SWIGINTERN PyObject *SashEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11956 PyObject *obj;
11957 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11958 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent, SWIG_NewClientData(obj));
11959 return SWIG_Py_Void();
11960 }
11961
11962 SWIGINTERN PyObject *SashEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11963 return SWIG_Python_InitShadowInstance(args);
11964 }
11965
11966 SWIGINTERN PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11967 PyObject *resultobj = 0;
11968 int arg1 = (int) 0 ;
11969 wxQueryLayoutInfoEvent *result = 0 ;
11970 int val1 ;
11971 int ecode1 = 0 ;
11972 PyObject * obj0 = 0 ;
11973 char * kwnames[] = {
11974 (char *) "id", NULL
11975 };
11976
11977 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) SWIG_fail;
11978 if (obj0) {
11979 ecode1 = SWIG_AsVal_int(obj0, &val1);
11980 if (!SWIG_IsOK(ecode1)) {
11981 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
11982 }
11983 arg1 = static_cast< int >(val1);
11984 }
11985 {
11986 PyThreadState* __tstate = wxPyBeginAllowThreads();
11987 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
11988 wxPyEndAllowThreads(__tstate);
11989 if (PyErr_Occurred()) SWIG_fail;
11990 }
11991 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_NEW | 0 );
11992 return resultobj;
11993 fail:
11994 return NULL;
11995 }
11996
11997
11998 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11999 PyObject *resultobj = 0;
12000 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12001 int arg2 ;
12002 void *argp1 = 0 ;
12003 int res1 = 0 ;
12004 int val2 ;
12005 int ecode2 = 0 ;
12006 PyObject * obj0 = 0 ;
12007 PyObject * obj1 = 0 ;
12008 char * kwnames[] = {
12009 (char *) "self",(char *) "length", NULL
12010 };
12011
12012 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) SWIG_fail;
12013 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12014 if (!SWIG_IsOK(res1)) {
12015 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12016 }
12017 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12018 ecode2 = SWIG_AsVal_int(obj1, &val2);
12019 if (!SWIG_IsOK(ecode2)) {
12020 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
12021 }
12022 arg2 = static_cast< int >(val2);
12023 {
12024 PyThreadState* __tstate = wxPyBeginAllowThreads();
12025 (arg1)->SetRequestedLength(arg2);
12026 wxPyEndAllowThreads(__tstate);
12027 if (PyErr_Occurred()) SWIG_fail;
12028 }
12029 resultobj = SWIG_Py_Void();
12030 return resultobj;
12031 fail:
12032 return NULL;
12033 }
12034
12035
12036 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12037 PyObject *resultobj = 0;
12038 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12039 int result;
12040 void *argp1 = 0 ;
12041 int res1 = 0 ;
12042 PyObject *swig_obj[1] ;
12043
12044 if (!args) SWIG_fail;
12045 swig_obj[0] = args;
12046 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12047 if (!SWIG_IsOK(res1)) {
12048 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12049 }
12050 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12051 {
12052 PyThreadState* __tstate = wxPyBeginAllowThreads();
12053 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
12054 wxPyEndAllowThreads(__tstate);
12055 if (PyErr_Occurred()) SWIG_fail;
12056 }
12057 resultobj = SWIG_From_int(static_cast< int >(result));
12058 return resultobj;
12059 fail:
12060 return NULL;
12061 }
12062
12063
12064 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12065 PyObject *resultobj = 0;
12066 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12067 int arg2 ;
12068 void *argp1 = 0 ;
12069 int res1 = 0 ;
12070 int val2 ;
12071 int ecode2 = 0 ;
12072 PyObject * obj0 = 0 ;
12073 PyObject * obj1 = 0 ;
12074 char * kwnames[] = {
12075 (char *) "self",(char *) "flags", NULL
12076 };
12077
12078 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12079 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12080 if (!SWIG_IsOK(res1)) {
12081 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12082 }
12083 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12084 ecode2 = SWIG_AsVal_int(obj1, &val2);
12085 if (!SWIG_IsOK(ecode2)) {
12086 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12087 }
12088 arg2 = static_cast< int >(val2);
12089 {
12090 PyThreadState* __tstate = wxPyBeginAllowThreads();
12091 (arg1)->SetFlags(arg2);
12092 wxPyEndAllowThreads(__tstate);
12093 if (PyErr_Occurred()) SWIG_fail;
12094 }
12095 resultobj = SWIG_Py_Void();
12096 return resultobj;
12097 fail:
12098 return NULL;
12099 }
12100
12101
12102 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12103 PyObject *resultobj = 0;
12104 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12105 int result;
12106 void *argp1 = 0 ;
12107 int res1 = 0 ;
12108 PyObject *swig_obj[1] ;
12109
12110 if (!args) SWIG_fail;
12111 swig_obj[0] = args;
12112 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12113 if (!SWIG_IsOK(res1)) {
12114 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12115 }
12116 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12117 {
12118 PyThreadState* __tstate = wxPyBeginAllowThreads();
12119 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
12120 wxPyEndAllowThreads(__tstate);
12121 if (PyErr_Occurred()) SWIG_fail;
12122 }
12123 resultobj = SWIG_From_int(static_cast< int >(result));
12124 return resultobj;
12125 fail:
12126 return NULL;
12127 }
12128
12129
12130 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12131 PyObject *resultobj = 0;
12132 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12133 wxSize *arg2 = 0 ;
12134 void *argp1 = 0 ;
12135 int res1 = 0 ;
12136 wxSize temp2 ;
12137 PyObject * obj0 = 0 ;
12138 PyObject * obj1 = 0 ;
12139 char * kwnames[] = {
12140 (char *) "self",(char *) "size", NULL
12141 };
12142
12143 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) SWIG_fail;
12144 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12145 if (!SWIG_IsOK(res1)) {
12146 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12147 }
12148 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12149 {
12150 arg2 = &temp2;
12151 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12152 }
12153 {
12154 PyThreadState* __tstate = wxPyBeginAllowThreads();
12155 (arg1)->SetSize((wxSize const &)*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_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12167 PyObject *resultobj = 0;
12168 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12169 wxSize 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_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12179 }
12180 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12181 {
12182 PyThreadState* __tstate = wxPyBeginAllowThreads();
12183 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
12184 wxPyEndAllowThreads(__tstate);
12185 if (PyErr_Occurred()) SWIG_fail;
12186 }
12187 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
12188 return resultobj;
12189 fail:
12190 return NULL;
12191 }
12192
12193
12194 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12195 PyObject *resultobj = 0;
12196 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12197 wxLayoutOrientation arg2 ;
12198 void *argp1 = 0 ;
12199 int res1 = 0 ;
12200 int val2 ;
12201 int ecode2 = 0 ;
12202 PyObject * obj0 = 0 ;
12203 PyObject * obj1 = 0 ;
12204 char * kwnames[] = {
12205 (char *) "self",(char *) "orient", NULL
12206 };
12207
12208 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12209 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12210 if (!SWIG_IsOK(res1)) {
12211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12212 }
12213 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12214 ecode2 = SWIG_AsVal_int(obj1, &val2);
12215 if (!SWIG_IsOK(ecode2)) {
12216 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12217 }
12218 arg2 = static_cast< wxLayoutOrientation >(val2);
12219 {
12220 PyThreadState* __tstate = wxPyBeginAllowThreads();
12221 (arg1)->SetOrientation(arg2);
12222 wxPyEndAllowThreads(__tstate);
12223 if (PyErr_Occurred()) SWIG_fail;
12224 }
12225 resultobj = SWIG_Py_Void();
12226 return resultobj;
12227 fail:
12228 return NULL;
12229 }
12230
12231
12232 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12233 PyObject *resultobj = 0;
12234 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12235 wxLayoutOrientation result;
12236 void *argp1 = 0 ;
12237 int res1 = 0 ;
12238 PyObject *swig_obj[1] ;
12239
12240 if (!args) SWIG_fail;
12241 swig_obj[0] = args;
12242 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12243 if (!SWIG_IsOK(res1)) {
12244 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12245 }
12246 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12247 {
12248 PyThreadState* __tstate = wxPyBeginAllowThreads();
12249 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
12250 wxPyEndAllowThreads(__tstate);
12251 if (PyErr_Occurred()) SWIG_fail;
12252 }
12253 resultobj = SWIG_From_int(static_cast< int >(result));
12254 return resultobj;
12255 fail:
12256 return NULL;
12257 }
12258
12259
12260 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12261 PyObject *resultobj = 0;
12262 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12263 wxLayoutAlignment arg2 ;
12264 void *argp1 = 0 ;
12265 int res1 = 0 ;
12266 int val2 ;
12267 int ecode2 = 0 ;
12268 PyObject * obj0 = 0 ;
12269 PyObject * obj1 = 0 ;
12270 char * kwnames[] = {
12271 (char *) "self",(char *) "align", NULL
12272 };
12273
12274 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12275 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12276 if (!SWIG_IsOK(res1)) {
12277 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12278 }
12279 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12280 ecode2 = SWIG_AsVal_int(obj1, &val2);
12281 if (!SWIG_IsOK(ecode2)) {
12282 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12283 }
12284 arg2 = static_cast< wxLayoutAlignment >(val2);
12285 {
12286 PyThreadState* __tstate = wxPyBeginAllowThreads();
12287 (arg1)->SetAlignment(arg2);
12288 wxPyEndAllowThreads(__tstate);
12289 if (PyErr_Occurred()) SWIG_fail;
12290 }
12291 resultobj = SWIG_Py_Void();
12292 return resultobj;
12293 fail:
12294 return NULL;
12295 }
12296
12297
12298 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12299 PyObject *resultobj = 0;
12300 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12301 wxLayoutAlignment result;
12302 void *argp1 = 0 ;
12303 int res1 = 0 ;
12304 PyObject *swig_obj[1] ;
12305
12306 if (!args) SWIG_fail;
12307 swig_obj[0] = args;
12308 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12309 if (!SWIG_IsOK(res1)) {
12310 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12311 }
12312 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12313 {
12314 PyThreadState* __tstate = wxPyBeginAllowThreads();
12315 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
12316 wxPyEndAllowThreads(__tstate);
12317 if (PyErr_Occurred()) SWIG_fail;
12318 }
12319 resultobj = SWIG_From_int(static_cast< int >(result));
12320 return resultobj;
12321 fail:
12322 return NULL;
12323 }
12324
12325
12326 SWIGINTERN PyObject *QueryLayoutInfoEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12327 PyObject *obj;
12328 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12329 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_NewClientData(obj));
12330 return SWIG_Py_Void();
12331 }
12332
12333 SWIGINTERN PyObject *QueryLayoutInfoEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12334 return SWIG_Python_InitShadowInstance(args);
12335 }
12336
12337 SWIGINTERN PyObject *_wrap_new_CalculateLayoutEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12338 PyObject *resultobj = 0;
12339 int arg1 = (int) 0 ;
12340 wxCalculateLayoutEvent *result = 0 ;
12341 int val1 ;
12342 int ecode1 = 0 ;
12343 PyObject * obj0 = 0 ;
12344 char * kwnames[] = {
12345 (char *) "id", NULL
12346 };
12347
12348 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) SWIG_fail;
12349 if (obj0) {
12350 ecode1 = SWIG_AsVal_int(obj0, &val1);
12351 if (!SWIG_IsOK(ecode1)) {
12352 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12353 }
12354 arg1 = static_cast< int >(val1);
12355 }
12356 {
12357 PyThreadState* __tstate = wxPyBeginAllowThreads();
12358 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
12359 wxPyEndAllowThreads(__tstate);
12360 if (PyErr_Occurred()) SWIG_fail;
12361 }
12362 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_NEW | 0 );
12363 return resultobj;
12364 fail:
12365 return NULL;
12366 }
12367
12368
12369 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12370 PyObject *resultobj = 0;
12371 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12372 int arg2 ;
12373 void *argp1 = 0 ;
12374 int res1 = 0 ;
12375 int val2 ;
12376 int ecode2 = 0 ;
12377 PyObject * obj0 = 0 ;
12378 PyObject * obj1 = 0 ;
12379 char * kwnames[] = {
12380 (char *) "self",(char *) "flags", NULL
12381 };
12382
12383 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12384 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12385 if (!SWIG_IsOK(res1)) {
12386 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12387 }
12388 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12389 ecode2 = SWIG_AsVal_int(obj1, &val2);
12390 if (!SWIG_IsOK(ecode2)) {
12391 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12392 }
12393 arg2 = static_cast< int >(val2);
12394 {
12395 PyThreadState* __tstate = wxPyBeginAllowThreads();
12396 (arg1)->SetFlags(arg2);
12397 wxPyEndAllowThreads(__tstate);
12398 if (PyErr_Occurred()) SWIG_fail;
12399 }
12400 resultobj = SWIG_Py_Void();
12401 return resultobj;
12402 fail:
12403 return NULL;
12404 }
12405
12406
12407 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12408 PyObject *resultobj = 0;
12409 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12410 int result;
12411 void *argp1 = 0 ;
12412 int res1 = 0 ;
12413 PyObject *swig_obj[1] ;
12414
12415 if (!args) SWIG_fail;
12416 swig_obj[0] = args;
12417 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12418 if (!SWIG_IsOK(res1)) {
12419 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12420 }
12421 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12422 {
12423 PyThreadState* __tstate = wxPyBeginAllowThreads();
12424 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
12425 wxPyEndAllowThreads(__tstate);
12426 if (PyErr_Occurred()) SWIG_fail;
12427 }
12428 resultobj = SWIG_From_int(static_cast< int >(result));
12429 return resultobj;
12430 fail:
12431 return NULL;
12432 }
12433
12434
12435 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12436 PyObject *resultobj = 0;
12437 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12438 wxRect *arg2 = 0 ;
12439 void *argp1 = 0 ;
12440 int res1 = 0 ;
12441 wxRect temp2 ;
12442 PyObject * obj0 = 0 ;
12443 PyObject * obj1 = 0 ;
12444 char * kwnames[] = {
12445 (char *) "self",(char *) "rect", NULL
12446 };
12447
12448 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) SWIG_fail;
12449 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12450 if (!SWIG_IsOK(res1)) {
12451 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12452 }
12453 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12454 {
12455 arg2 = &temp2;
12456 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12457 }
12458 {
12459 PyThreadState* __tstate = wxPyBeginAllowThreads();
12460 (arg1)->SetRect((wxRect const &)*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_GetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12472 PyObject *resultobj = 0;
12473 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12474 wxRect 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_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12484 }
12485 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12486 {
12487 PyThreadState* __tstate = wxPyBeginAllowThreads();
12488 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
12489 wxPyEndAllowThreads(__tstate);
12490 if (PyErr_Occurred()) SWIG_fail;
12491 }
12492 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
12493 return resultobj;
12494 fail:
12495 return NULL;
12496 }
12497
12498
12499 SWIGINTERN PyObject *CalculateLayoutEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12500 PyObject *obj;
12501 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12502 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_NewClientData(obj));
12503 return SWIG_Py_Void();
12504 }
12505
12506 SWIGINTERN PyObject *CalculateLayoutEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12507 return SWIG_Python_InitShadowInstance(args);
12508 }
12509
12510 SWIGINTERN PyObject *_wrap_new_SashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12511 PyObject *resultobj = 0;
12512 wxWindow *arg1 = (wxWindow *) 0 ;
12513 int arg2 = (int) -1 ;
12514 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12515 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12516 wxSize const &arg4_defvalue = wxDefaultSize ;
12517 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12518 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12519 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
12520 wxString *arg6 = (wxString *) &arg6_defvalue ;
12521 wxSashLayoutWindow *result = 0 ;
12522 void *argp1 = 0 ;
12523 int res1 = 0 ;
12524 int val2 ;
12525 int ecode2 = 0 ;
12526 wxPoint temp3 ;
12527 wxSize temp4 ;
12528 long val5 ;
12529 int ecode5 = 0 ;
12530 bool temp6 = false ;
12531 PyObject * obj0 = 0 ;
12532 PyObject * obj1 = 0 ;
12533 PyObject * obj2 = 0 ;
12534 PyObject * obj3 = 0 ;
12535 PyObject * obj4 = 0 ;
12536 PyObject * obj5 = 0 ;
12537 char * kwnames[] = {
12538 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12539 };
12540
12541 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
12542 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12543 if (!SWIG_IsOK(res1)) {
12544 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12545 }
12546 arg1 = reinterpret_cast< wxWindow * >(argp1);
12547 if (obj1) {
12548 ecode2 = SWIG_AsVal_int(obj1, &val2);
12549 if (!SWIG_IsOK(ecode2)) {
12550 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12551 }
12552 arg2 = static_cast< int >(val2);
12553 }
12554 if (obj2) {
12555 {
12556 arg3 = &temp3;
12557 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12558 }
12559 }
12560 if (obj3) {
12561 {
12562 arg4 = &temp4;
12563 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12564 }
12565 }
12566 if (obj4) {
12567 ecode5 = SWIG_AsVal_long(obj4, &val5);
12568 if (!SWIG_IsOK(ecode5)) {
12569 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12570 }
12571 arg5 = static_cast< long >(val5);
12572 }
12573 if (obj5) {
12574 {
12575 arg6 = wxString_in_helper(obj5);
12576 if (arg6 == NULL) SWIG_fail;
12577 temp6 = true;
12578 }
12579 }
12580 {
12581 if (!wxPyCheckForApp()) SWIG_fail;
12582 PyThreadState* __tstate = wxPyBeginAllowThreads();
12583 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12584 wxPyEndAllowThreads(__tstate);
12585 if (PyErr_Occurred()) SWIG_fail;
12586 }
12587 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_NEW | 0 );
12588 {
12589 if (temp6)
12590 delete arg6;
12591 }
12592 return resultobj;
12593 fail:
12594 {
12595 if (temp6)
12596 delete arg6;
12597 }
12598 return NULL;
12599 }
12600
12601
12602 SWIGINTERN PyObject *_wrap_new_PreSashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12603 PyObject *resultobj = 0;
12604 wxSashLayoutWindow *result = 0 ;
12605
12606 if (!SWIG_Python_UnpackTuple(args,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail;
12607 {
12608 if (!wxPyCheckForApp()) SWIG_fail;
12609 PyThreadState* __tstate = wxPyBeginAllowThreads();
12610 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
12611 wxPyEndAllowThreads(__tstate);
12612 if (PyErr_Occurred()) SWIG_fail;
12613 }
12614 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_OWN | 0 );
12615 return resultobj;
12616 fail:
12617 return NULL;
12618 }
12619
12620
12621 SWIGINTERN PyObject *_wrap_SashLayoutWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12622 PyObject *resultobj = 0;
12623 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12624 wxWindow *arg2 = (wxWindow *) 0 ;
12625 int arg3 = (int) -1 ;
12626 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12627 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12628 wxSize const &arg5_defvalue = wxDefaultSize ;
12629 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12630 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12631 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
12632 wxString *arg7 = (wxString *) &arg7_defvalue ;
12633 bool result;
12634 void *argp1 = 0 ;
12635 int res1 = 0 ;
12636 void *argp2 = 0 ;
12637 int res2 = 0 ;
12638 int val3 ;
12639 int ecode3 = 0 ;
12640 wxPoint temp4 ;
12641 wxSize temp5 ;
12642 long val6 ;
12643 int ecode6 = 0 ;
12644 bool temp7 = false ;
12645 PyObject * obj0 = 0 ;
12646 PyObject * obj1 = 0 ;
12647 PyObject * obj2 = 0 ;
12648 PyObject * obj3 = 0 ;
12649 PyObject * obj4 = 0 ;
12650 PyObject * obj5 = 0 ;
12651 PyObject * obj6 = 0 ;
12652 char * kwnames[] = {
12653 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12654 };
12655
12656 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
12657 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12658 if (!SWIG_IsOK(res1)) {
12659 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12660 }
12661 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12662 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12663 if (!SWIG_IsOK(res2)) {
12664 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12665 }
12666 arg2 = reinterpret_cast< wxWindow * >(argp2);
12667 if (obj2) {
12668 ecode3 = SWIG_AsVal_int(obj2, &val3);
12669 if (!SWIG_IsOK(ecode3)) {
12670 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12671 }
12672 arg3 = static_cast< int >(val3);
12673 }
12674 if (obj3) {
12675 {
12676 arg4 = &temp4;
12677 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12678 }
12679 }
12680 if (obj4) {
12681 {
12682 arg5 = &temp5;
12683 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12684 }
12685 }
12686 if (obj5) {
12687 ecode6 = SWIG_AsVal_long(obj5, &val6);
12688 if (!SWIG_IsOK(ecode6)) {
12689 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12690 }
12691 arg6 = static_cast< long >(val6);
12692 }
12693 if (obj6) {
12694 {
12695 arg7 = wxString_in_helper(obj6);
12696 if (arg7 == NULL) SWIG_fail;
12697 temp7 = true;
12698 }
12699 }
12700 {
12701 PyThreadState* __tstate = wxPyBeginAllowThreads();
12702 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12703 wxPyEndAllowThreads(__tstate);
12704 if (PyErr_Occurred()) SWIG_fail;
12705 }
12706 {
12707 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12708 }
12709 {
12710 if (temp7)
12711 delete arg7;
12712 }
12713 return resultobj;
12714 fail:
12715 {
12716 if (temp7)
12717 delete arg7;
12718 }
12719 return NULL;
12720 }
12721
12722
12723 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12724 PyObject *resultobj = 0;
12725 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12726 wxLayoutAlignment result;
12727 void *argp1 = 0 ;
12728 int res1 = 0 ;
12729 PyObject *swig_obj[1] ;
12730
12731 if (!args) SWIG_fail;
12732 swig_obj[0] = args;
12733 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12734 if (!SWIG_IsOK(res1)) {
12735 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12736 }
12737 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12738 {
12739 PyThreadState* __tstate = wxPyBeginAllowThreads();
12740 result = (wxLayoutAlignment)(arg1)->GetAlignment();
12741 wxPyEndAllowThreads(__tstate);
12742 if (PyErr_Occurred()) SWIG_fail;
12743 }
12744 resultobj = SWIG_From_int(static_cast< int >(result));
12745 return resultobj;
12746 fail:
12747 return NULL;
12748 }
12749
12750
12751 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12752 PyObject *resultobj = 0;
12753 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12754 wxLayoutOrientation result;
12755 void *argp1 = 0 ;
12756 int res1 = 0 ;
12757 PyObject *swig_obj[1] ;
12758
12759 if (!args) SWIG_fail;
12760 swig_obj[0] = args;
12761 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12762 if (!SWIG_IsOK(res1)) {
12763 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12764 }
12765 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12766 {
12767 PyThreadState* __tstate = wxPyBeginAllowThreads();
12768 result = (wxLayoutOrientation)(arg1)->GetOrientation();
12769 wxPyEndAllowThreads(__tstate);
12770 if (PyErr_Occurred()) SWIG_fail;
12771 }
12772 resultobj = SWIG_From_int(static_cast< int >(result));
12773 return resultobj;
12774 fail:
12775 return NULL;
12776 }
12777
12778
12779 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12780 PyObject *resultobj = 0;
12781 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12782 wxLayoutAlignment arg2 ;
12783 void *argp1 = 0 ;
12784 int res1 = 0 ;
12785 int val2 ;
12786 int ecode2 = 0 ;
12787 PyObject * obj0 = 0 ;
12788 PyObject * obj1 = 0 ;
12789 char * kwnames[] = {
12790 (char *) "self",(char *) "alignment", NULL
12791 };
12792
12793 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12794 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12795 if (!SWIG_IsOK(res1)) {
12796 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12797 }
12798 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12799 ecode2 = SWIG_AsVal_int(obj1, &val2);
12800 if (!SWIG_IsOK(ecode2)) {
12801 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12802 }
12803 arg2 = static_cast< wxLayoutAlignment >(val2);
12804 {
12805 PyThreadState* __tstate = wxPyBeginAllowThreads();
12806 (arg1)->SetAlignment(arg2);
12807 wxPyEndAllowThreads(__tstate);
12808 if (PyErr_Occurred()) SWIG_fail;
12809 }
12810 resultobj = SWIG_Py_Void();
12811 return resultobj;
12812 fail:
12813 return NULL;
12814 }
12815
12816
12817 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12818 PyObject *resultobj = 0;
12819 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12820 wxSize *arg2 = 0 ;
12821 void *argp1 = 0 ;
12822 int res1 = 0 ;
12823 wxSize temp2 ;
12824 PyObject * obj0 = 0 ;
12825 PyObject * obj1 = 0 ;
12826 char * kwnames[] = {
12827 (char *) "self",(char *) "size", NULL
12828 };
12829
12830 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) SWIG_fail;
12831 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12832 if (!SWIG_IsOK(res1)) {
12833 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12834 }
12835 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12836 {
12837 arg2 = &temp2;
12838 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12839 }
12840 {
12841 PyThreadState* __tstate = wxPyBeginAllowThreads();
12842 (arg1)->SetDefaultSize((wxSize const &)*arg2);
12843 wxPyEndAllowThreads(__tstate);
12844 if (PyErr_Occurred()) SWIG_fail;
12845 }
12846 resultobj = SWIG_Py_Void();
12847 return resultobj;
12848 fail:
12849 return NULL;
12850 }
12851
12852
12853 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12854 PyObject *resultobj = 0;
12855 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12856 wxLayoutOrientation arg2 ;
12857 void *argp1 = 0 ;
12858 int res1 = 0 ;
12859 int val2 ;
12860 int ecode2 = 0 ;
12861 PyObject * obj0 = 0 ;
12862 PyObject * obj1 = 0 ;
12863 char * kwnames[] = {
12864 (char *) "self",(char *) "orientation", NULL
12865 };
12866
12867 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12868 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12869 if (!SWIG_IsOK(res1)) {
12870 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12871 }
12872 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12873 ecode2 = SWIG_AsVal_int(obj1, &val2);
12874 if (!SWIG_IsOK(ecode2)) {
12875 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12876 }
12877 arg2 = static_cast< wxLayoutOrientation >(val2);
12878 {
12879 PyThreadState* __tstate = wxPyBeginAllowThreads();
12880 (arg1)->SetOrientation(arg2);
12881 wxPyEndAllowThreads(__tstate);
12882 if (PyErr_Occurred()) SWIG_fail;
12883 }
12884 resultobj = SWIG_Py_Void();
12885 return resultobj;
12886 fail:
12887 return NULL;
12888 }
12889
12890
12891 SWIGINTERN PyObject *SashLayoutWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12892 PyObject *obj;
12893 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12894 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow, SWIG_NewClientData(obj));
12895 return SWIG_Py_Void();
12896 }
12897
12898 SWIGINTERN PyObject *SashLayoutWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12899 return SWIG_Python_InitShadowInstance(args);
12900 }
12901
12902 SWIGINTERN PyObject *_wrap_new_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12903 PyObject *resultobj = 0;
12904 wxLayoutAlgorithm *result = 0 ;
12905
12906 if (!SWIG_Python_UnpackTuple(args,"new_LayoutAlgorithm",0,0,0)) SWIG_fail;
12907 {
12908 PyThreadState* __tstate = wxPyBeginAllowThreads();
12909 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
12910 wxPyEndAllowThreads(__tstate);
12911 if (PyErr_Occurred()) SWIG_fail;
12912 }
12913 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_NEW | 0 );
12914 return resultobj;
12915 fail:
12916 return NULL;
12917 }
12918
12919
12920 SWIGINTERN PyObject *_wrap_delete_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12921 PyObject *resultobj = 0;
12922 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12923 void *argp1 = 0 ;
12924 int res1 = 0 ;
12925 PyObject *swig_obj[1] ;
12926
12927 if (!args) SWIG_fail;
12928 swig_obj[0] = args;
12929 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_DISOWN | 0 );
12930 if (!SWIG_IsOK(res1)) {
12931 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12932 }
12933 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12934 {
12935 PyThreadState* __tstate = wxPyBeginAllowThreads();
12936 delete arg1;
12937
12938 wxPyEndAllowThreads(__tstate);
12939 if (PyErr_Occurred()) SWIG_fail;
12940 }
12941 resultobj = SWIG_Py_Void();
12942 return resultobj;
12943 fail:
12944 return NULL;
12945 }
12946
12947
12948 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12949 PyObject *resultobj = 0;
12950 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12951 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
12952 wxRect *arg3 = (wxRect *) NULL ;
12953 bool result;
12954 void *argp1 = 0 ;
12955 int res1 = 0 ;
12956 void *argp2 = 0 ;
12957 int res2 = 0 ;
12958 void *argp3 = 0 ;
12959 int res3 = 0 ;
12960 PyObject * obj0 = 0 ;
12961 PyObject * obj1 = 0 ;
12962 PyObject * obj2 = 0 ;
12963 char * kwnames[] = {
12964 (char *) "self",(char *) "frame",(char *) "rect", NULL
12965 };
12966
12967 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12968 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
12969 if (!SWIG_IsOK(res1)) {
12970 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12971 }
12972 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12973 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
12974 if (!SWIG_IsOK(res2)) {
12975 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
12976 }
12977 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
12978 if (obj2) {
12979 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxRect, 0 | 0 );
12980 if (!SWIG_IsOK(res3)) {
12981 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
12982 }
12983 arg3 = reinterpret_cast< wxRect * >(argp3);
12984 }
12985 {
12986 PyThreadState* __tstate = wxPyBeginAllowThreads();
12987 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
12988 wxPyEndAllowThreads(__tstate);
12989 if (PyErr_Occurred()) SWIG_fail;
12990 }
12991 {
12992 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12993 }
12994 return resultobj;
12995 fail:
12996 return NULL;
12997 }
12998
12999
13000 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13001 PyObject *resultobj = 0;
13002 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13003 wxFrame *arg2 = (wxFrame *) 0 ;
13004 wxWindow *arg3 = (wxWindow *) NULL ;
13005 bool result;
13006 void *argp1 = 0 ;
13007 int res1 = 0 ;
13008 void *argp2 = 0 ;
13009 int res2 = 0 ;
13010 void *argp3 = 0 ;
13011 int res3 = 0 ;
13012 PyObject * obj0 = 0 ;
13013 PyObject * obj1 = 0 ;
13014 PyObject * obj2 = 0 ;
13015 char * kwnames[] = {
13016 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
13017 };
13018
13019 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13020 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13021 if (!SWIG_IsOK(res1)) {
13022 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13023 }
13024 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13025 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
13026 if (!SWIG_IsOK(res2)) {
13027 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
13028 }
13029 arg2 = reinterpret_cast< wxFrame * >(argp2);
13030 if (obj2) {
13031 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13032 if (!SWIG_IsOK(res3)) {
13033 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
13034 }
13035 arg3 = reinterpret_cast< wxWindow * >(argp3);
13036 }
13037 {
13038 PyThreadState* __tstate = wxPyBeginAllowThreads();
13039 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
13040 wxPyEndAllowThreads(__tstate);
13041 if (PyErr_Occurred()) SWIG_fail;
13042 }
13043 {
13044 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13045 }
13046 return resultobj;
13047 fail:
13048 return NULL;
13049 }
13050
13051
13052 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13053 PyObject *resultobj = 0;
13054 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13055 wxWindow *arg2 = (wxWindow *) 0 ;
13056 wxWindow *arg3 = (wxWindow *) NULL ;
13057 bool result;
13058 void *argp1 = 0 ;
13059 int res1 = 0 ;
13060 void *argp2 = 0 ;
13061 int res2 = 0 ;
13062 void *argp3 = 0 ;
13063 int res3 = 0 ;
13064 PyObject * obj0 = 0 ;
13065 PyObject * obj1 = 0 ;
13066 PyObject * obj2 = 0 ;
13067 char * kwnames[] = {
13068 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
13069 };
13070
13071 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13072 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13073 if (!SWIG_IsOK(res1)) {
13074 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13075 }
13076 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13077 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13078 if (!SWIG_IsOK(res2)) {
13079 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13080 }
13081 arg2 = reinterpret_cast< wxWindow * >(argp2);
13082 if (obj2) {
13083 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13084 if (!SWIG_IsOK(res3)) {
13085 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
13086 }
13087 arg3 = reinterpret_cast< wxWindow * >(argp3);
13088 }
13089 {
13090 PyThreadState* __tstate = wxPyBeginAllowThreads();
13091 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
13092 wxPyEndAllowThreads(__tstate);
13093 if (PyErr_Occurred()) SWIG_fail;
13094 }
13095 {
13096 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13097 }
13098 return resultobj;
13099 fail:
13100 return NULL;
13101 }
13102
13103
13104 SWIGINTERN PyObject *LayoutAlgorithm_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13105 PyObject *obj;
13106 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13107 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm, SWIG_NewClientData(obj));
13108 return SWIG_Py_Void();
13109 }
13110
13111 SWIGINTERN PyObject *LayoutAlgorithm_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13112 return SWIG_Python_InitShadowInstance(args);
13113 }
13114
13115 SWIGINTERN PyObject *_wrap_new_PopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13116 PyObject *resultobj = 0;
13117 wxWindow *arg1 = (wxWindow *) 0 ;
13118 int arg2 = (int) wxBORDER_NONE ;
13119 wxPopupWindow *result = 0 ;
13120 void *argp1 = 0 ;
13121 int res1 = 0 ;
13122 int val2 ;
13123 int ecode2 = 0 ;
13124 PyObject * obj0 = 0 ;
13125 PyObject * obj1 = 0 ;
13126 char * kwnames[] = {
13127 (char *) "parent",(char *) "flags", NULL
13128 };
13129
13130 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13131 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13132 if (!SWIG_IsOK(res1)) {
13133 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13134 }
13135 arg1 = reinterpret_cast< wxWindow * >(argp1);
13136 if (obj1) {
13137 ecode2 = SWIG_AsVal_int(obj1, &val2);
13138 if (!SWIG_IsOK(ecode2)) {
13139 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13140 }
13141 arg2 = static_cast< int >(val2);
13142 }
13143 {
13144 if (!wxPyCheckForApp()) SWIG_fail;
13145 PyThreadState* __tstate = wxPyBeginAllowThreads();
13146 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
13147 wxPyEndAllowThreads(__tstate);
13148 if (PyErr_Occurred()) SWIG_fail;
13149 }
13150 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_NEW | 0 );
13151 return resultobj;
13152 fail:
13153 return NULL;
13154 }
13155
13156
13157 SWIGINTERN PyObject *_wrap_new_PrePopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13158 PyObject *resultobj = 0;
13159 wxPopupWindow *result = 0 ;
13160
13161 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupWindow",0,0,0)) SWIG_fail;
13162 {
13163 if (!wxPyCheckForApp()) SWIG_fail;
13164 PyThreadState* __tstate = wxPyBeginAllowThreads();
13165 result = (wxPopupWindow *)new wxPopupWindow();
13166 wxPyEndAllowThreads(__tstate);
13167 if (PyErr_Occurred()) SWIG_fail;
13168 }
13169 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_OWN | 0 );
13170 return resultobj;
13171 fail:
13172 return NULL;
13173 }
13174
13175
13176 SWIGINTERN PyObject *_wrap_PopupWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13177 PyObject *resultobj = 0;
13178 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
13179 wxWindow *arg2 = (wxWindow *) 0 ;
13180 int arg3 = (int) wxBORDER_NONE ;
13181 bool result;
13182 void *argp1 = 0 ;
13183 int res1 = 0 ;
13184 void *argp2 = 0 ;
13185 int res2 = 0 ;
13186 int val3 ;
13187 int ecode3 = 0 ;
13188 PyObject * obj0 = 0 ;
13189 PyObject * obj1 = 0 ;
13190 PyObject * obj2 = 0 ;
13191 char * kwnames[] = {
13192 (char *) "self",(char *) "parent",(char *) "flags", NULL
13193 };
13194
13195 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13196 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
13197 if (!SWIG_IsOK(res1)) {
13198 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13199 }
13200 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
13201 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13202 if (!SWIG_IsOK(res2)) {
13203 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13204 }
13205 arg2 = reinterpret_cast< wxWindow * >(argp2);
13206 if (obj2) {
13207 ecode3 = SWIG_AsVal_int(obj2, &val3);
13208 if (!SWIG_IsOK(ecode3)) {
13209 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'");
13210 }
13211 arg3 = static_cast< int >(val3);
13212 }
13213 {
13214 PyThreadState* __tstate = wxPyBeginAllowThreads();
13215 result = (bool)(arg1)->Create(arg2,arg3);
13216 wxPyEndAllowThreads(__tstate);
13217 if (PyErr_Occurred()) SWIG_fail;
13218 }
13219 {
13220 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13221 }
13222 return resultobj;
13223 fail:
13224 return NULL;
13225 }
13226
13227
13228 SWIGINTERN PyObject *_wrap_PopupWindow_Position(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13229 PyObject *resultobj = 0;
13230 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
13231 wxPoint *arg2 = 0 ;
13232 wxSize *arg3 = 0 ;
13233 void *argp1 = 0 ;
13234 int res1 = 0 ;
13235 wxPoint temp2 ;
13236 wxSize temp3 ;
13237 PyObject * obj0 = 0 ;
13238 PyObject * obj1 = 0 ;
13239 PyObject * obj2 = 0 ;
13240 char * kwnames[] = {
13241 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
13242 };
13243
13244 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13245 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
13246 if (!SWIG_IsOK(res1)) {
13247 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13248 }
13249 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
13250 {
13251 arg2 = &temp2;
13252 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13253 }
13254 {
13255 arg3 = &temp3;
13256 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
13257 }
13258 {
13259 PyThreadState* __tstate = wxPyBeginAllowThreads();
13260 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
13261 wxPyEndAllowThreads(__tstate);
13262 if (PyErr_Occurred()) SWIG_fail;
13263 }
13264 resultobj = SWIG_Py_Void();
13265 return resultobj;
13266 fail:
13267 return NULL;
13268 }
13269
13270
13271 SWIGINTERN PyObject *PopupWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13272 PyObject *obj;
13273 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13274 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow, SWIG_NewClientData(obj));
13275 return SWIG_Py_Void();
13276 }
13277
13278 SWIGINTERN PyObject *PopupWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13279 return SWIG_Python_InitShadowInstance(args);
13280 }
13281
13282 SWIGINTERN PyObject *_wrap_new_PopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13283 PyObject *resultobj = 0;
13284 wxWindow *arg1 = (wxWindow *) 0 ;
13285 int arg2 = (int) wxBORDER_NONE ;
13286 wxPyPopupTransientWindow *result = 0 ;
13287 void *argp1 = 0 ;
13288 int res1 = 0 ;
13289 int val2 ;
13290 int ecode2 = 0 ;
13291 PyObject * obj0 = 0 ;
13292 PyObject * obj1 = 0 ;
13293 char * kwnames[] = {
13294 (char *) "parent",(char *) "style", NULL
13295 };
13296
13297 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13298 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13299 if (!SWIG_IsOK(res1)) {
13300 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13301 }
13302 arg1 = reinterpret_cast< wxWindow * >(argp1);
13303 if (obj1) {
13304 ecode2 = SWIG_AsVal_int(obj1, &val2);
13305 if (!SWIG_IsOK(ecode2)) {
13306 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13307 }
13308 arg2 = static_cast< int >(val2);
13309 }
13310 {
13311 if (!wxPyCheckForApp()) SWIG_fail;
13312 PyThreadState* __tstate = wxPyBeginAllowThreads();
13313 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
13314 wxPyEndAllowThreads(__tstate);
13315 if (PyErr_Occurred()) SWIG_fail;
13316 }
13317 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_NEW | 0 );
13318 return resultobj;
13319 fail:
13320 return NULL;
13321 }
13322
13323
13324 SWIGINTERN PyObject *_wrap_new_PrePopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13325 PyObject *resultobj = 0;
13326 wxPyPopupTransientWindow *result = 0 ;
13327
13328 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail;
13329 {
13330 if (!wxPyCheckForApp()) SWIG_fail;
13331 PyThreadState* __tstate = wxPyBeginAllowThreads();
13332 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
13333 wxPyEndAllowThreads(__tstate);
13334 if (PyErr_Occurred()) SWIG_fail;
13335 }
13336 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_OWN | 0 );
13337 return resultobj;
13338 fail:
13339 return NULL;
13340 }
13341
13342
13343 SWIGINTERN PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13344 PyObject *resultobj = 0;
13345 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13346 PyObject *arg2 = (PyObject *) 0 ;
13347 PyObject *arg3 = (PyObject *) 0 ;
13348 void *argp1 = 0 ;
13349 int res1 = 0 ;
13350 PyObject * obj0 = 0 ;
13351 PyObject * obj1 = 0 ;
13352 PyObject * obj2 = 0 ;
13353 char * kwnames[] = {
13354 (char *) "self",(char *) "self",(char *) "_class", NULL
13355 };
13356
13357 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13358 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13359 if (!SWIG_IsOK(res1)) {
13360 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13361 }
13362 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13363 arg2 = obj1;
13364 arg3 = obj2;
13365 {
13366 PyThreadState* __tstate = wxPyBeginAllowThreads();
13367 (arg1)->_setCallbackInfo(arg2,arg3);
13368 wxPyEndAllowThreads(__tstate);
13369 if (PyErr_Occurred()) SWIG_fail;
13370 }
13371 resultobj = SWIG_Py_Void();
13372 return resultobj;
13373 fail:
13374 return NULL;
13375 }
13376
13377
13378 SWIGINTERN PyObject *_wrap_PopupTransientWindow_Popup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13379 PyObject *resultobj = 0;
13380 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13381 wxWindow *arg2 = (wxWindow *) NULL ;
13382 void *argp1 = 0 ;
13383 int res1 = 0 ;
13384 void *argp2 = 0 ;
13385 int res2 = 0 ;
13386 PyObject * obj0 = 0 ;
13387 PyObject * obj1 = 0 ;
13388 char * kwnames[] = {
13389 (char *) "self",(char *) "focus", NULL
13390 };
13391
13392 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) SWIG_fail;
13393 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13394 if (!SWIG_IsOK(res1)) {
13395 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13396 }
13397 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13398 if (obj1) {
13399 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13400 if (!SWIG_IsOK(res2)) {
13401 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");
13402 }
13403 arg2 = reinterpret_cast< wxWindow * >(argp2);
13404 }
13405 {
13406 PyThreadState* __tstate = wxPyBeginAllowThreads();
13407 (arg1)->Popup(arg2);
13408 wxPyEndAllowThreads(__tstate);
13409 if (PyErr_Occurred()) SWIG_fail;
13410 }
13411 resultobj = SWIG_Py_Void();
13412 return resultobj;
13413 fail:
13414 return NULL;
13415 }
13416
13417
13418 SWIGINTERN PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13419 PyObject *resultobj = 0;
13420 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13421 void *argp1 = 0 ;
13422 int res1 = 0 ;
13423 PyObject *swig_obj[1] ;
13424
13425 if (!args) SWIG_fail;
13426 swig_obj[0] = args;
13427 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13428 if (!SWIG_IsOK(res1)) {
13429 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13430 }
13431 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13432 {
13433 PyThreadState* __tstate = wxPyBeginAllowThreads();
13434 (arg1)->Dismiss();
13435 wxPyEndAllowThreads(__tstate);
13436 if (PyErr_Occurred()) SWIG_fail;
13437 }
13438 resultobj = SWIG_Py_Void();
13439 return resultobj;
13440 fail:
13441 return NULL;
13442 }
13443
13444
13445 SWIGINTERN PyObject *PopupTransientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13446 PyObject *obj;
13447 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13448 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_NewClientData(obj));
13449 return SWIG_Py_Void();
13450 }
13451
13452 SWIGINTERN PyObject *PopupTransientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13453 return SWIG_Python_InitShadowInstance(args);
13454 }
13455
13456 SWIGINTERN PyObject *_wrap_new_TipWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13457 PyObject *resultobj = 0;
13458 wxWindow *arg1 = (wxWindow *) 0 ;
13459 wxString *arg2 = 0 ;
13460 int arg3 = (int) 100 ;
13461 wxRect *arg4 = (wxRect *) NULL ;
13462 wxTipWindow *result = 0 ;
13463 void *argp1 = 0 ;
13464 int res1 = 0 ;
13465 bool temp2 = false ;
13466 int val3 ;
13467 int ecode3 = 0 ;
13468 void *argp4 = 0 ;
13469 int res4 = 0 ;
13470 PyObject * obj0 = 0 ;
13471 PyObject * obj1 = 0 ;
13472 PyObject * obj2 = 0 ;
13473 PyObject * obj3 = 0 ;
13474 char * kwnames[] = {
13475 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13476 };
13477
13478 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13479 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13480 if (!SWIG_IsOK(res1)) {
13481 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13482 }
13483 arg1 = reinterpret_cast< wxWindow * >(argp1);
13484 {
13485 arg2 = wxString_in_helper(obj1);
13486 if (arg2 == NULL) SWIG_fail;
13487 temp2 = true;
13488 }
13489 if (obj2) {
13490 ecode3 = SWIG_AsVal_int(obj2, &val3);
13491 if (!SWIG_IsOK(ecode3)) {
13492 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13493 }
13494 arg3 = static_cast< int >(val3);
13495 }
13496 if (obj3) {
13497 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxRect, 0 | 0 );
13498 if (!SWIG_IsOK(res4)) {
13499 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13500 }
13501 arg4 = reinterpret_cast< wxRect * >(argp4);
13502 }
13503 {
13504 if (!wxPyCheckForApp()) SWIG_fail;
13505 PyThreadState* __tstate = wxPyBeginAllowThreads();
13506 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
13507 wxPyEndAllowThreads(__tstate);
13508 if (PyErr_Occurred()) SWIG_fail;
13509 }
13510 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTipWindow, SWIG_POINTER_NEW | 0 );
13511 {
13512 if (temp2)
13513 delete arg2;
13514 }
13515 return resultobj;
13516 fail:
13517 {
13518 if (temp2)
13519 delete arg2;
13520 }
13521 return NULL;
13522 }
13523
13524
13525 SWIGINTERN PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13526 PyObject *resultobj = 0;
13527 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13528 wxRect *arg2 = 0 ;
13529 void *argp1 = 0 ;
13530 int res1 = 0 ;
13531 wxRect temp2 ;
13532 PyObject * obj0 = 0 ;
13533 PyObject * obj1 = 0 ;
13534 char * kwnames[] = {
13535 (char *) "self",(char *) "rectBound", NULL
13536 };
13537
13538 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) SWIG_fail;
13539 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13540 if (!SWIG_IsOK(res1)) {
13541 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13542 }
13543 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13544 {
13545 arg2 = &temp2;
13546 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
13547 }
13548 {
13549 PyThreadState* __tstate = wxPyBeginAllowThreads();
13550 (arg1)->SetBoundingRect((wxRect const &)*arg2);
13551 wxPyEndAllowThreads(__tstate);
13552 if (PyErr_Occurred()) SWIG_fail;
13553 }
13554 resultobj = SWIG_Py_Void();
13555 return resultobj;
13556 fail:
13557 return NULL;
13558 }
13559
13560
13561 SWIGINTERN PyObject *_wrap_TipWindow_Close(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13562 PyObject *resultobj = 0;
13563 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13564 void *argp1 = 0 ;
13565 int res1 = 0 ;
13566 PyObject *swig_obj[1] ;
13567
13568 if (!args) SWIG_fail;
13569 swig_obj[0] = args;
13570 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13571 if (!SWIG_IsOK(res1)) {
13572 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13573 }
13574 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13575 {
13576 PyThreadState* __tstate = wxPyBeginAllowThreads();
13577 (arg1)->Close();
13578 wxPyEndAllowThreads(__tstate);
13579 if (PyErr_Occurred()) SWIG_fail;
13580 }
13581 resultobj = SWIG_Py_Void();
13582 return resultobj;
13583 fail:
13584 return NULL;
13585 }
13586
13587
13588 SWIGINTERN PyObject *TipWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13589 PyObject *obj;
13590 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13591 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow, SWIG_NewClientData(obj));
13592 return SWIG_Py_Void();
13593 }
13594
13595 SWIGINTERN PyObject *TipWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13596 return SWIG_Python_InitShadowInstance(args);
13597 }
13598
13599 SWIGINTERN PyObject *_wrap_VarScrollHelperBase_EnablePhysicalScrolling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13600 PyObject *resultobj = 0;
13601 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
13602 bool arg2 = (bool) true ;
13603 void *argp1 = 0 ;
13604 int res1 = 0 ;
13605 bool val2 ;
13606 int ecode2 = 0 ;
13607 PyObject * obj0 = 0 ;
13608 PyObject * obj1 = 0 ;
13609 char * kwnames[] = {
13610 (char *) "self",(char *) "scrolling", NULL
13611 };
13612
13613 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:VarScrollHelperBase_EnablePhysicalScrolling",kwnames,&obj0,&obj1)) SWIG_fail;
13614 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
13615 if (!SWIG_IsOK(res1)) {
13616 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_EnablePhysicalScrolling" "', expected argument " "1"" of type '" "wxVarScrollHelperBase *""'");
13617 }
13618 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
13619 if (obj1) {
13620 ecode2 = SWIG_AsVal_bool(obj1, &val2);
13621 if (!SWIG_IsOK(ecode2)) {
13622 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarScrollHelperBase_EnablePhysicalScrolling" "', expected argument " "2"" of type '" "bool""'");
13623 }
13624 arg2 = static_cast< bool >(val2);
13625 }
13626 {
13627 PyThreadState* __tstate = wxPyBeginAllowThreads();
13628 (arg1)->EnablePhysicalScrolling(arg2);
13629 wxPyEndAllowThreads(__tstate);
13630 if (PyErr_Occurred()) SWIG_fail;
13631 }
13632 resultobj = SWIG_Py_Void();
13633 return resultobj;
13634 fail:
13635 return NULL;
13636 }
13637
13638
13639 SWIGINTERN PyObject *_wrap_VarScrollHelperBase_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13640 PyObject *resultobj = 0;
13641 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
13642 int arg2 ;
13643 int result;
13644 void *argp1 = 0 ;
13645 int res1 = 0 ;
13646 int val2 ;
13647 int ecode2 = 0 ;
13648 PyObject * obj0 = 0 ;
13649 PyObject * obj1 = 0 ;
13650 char * kwnames[] = {
13651 (char *) "self",(char *) "coord", NULL
13652 };
13653
13654 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarScrollHelperBase_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
13655 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
13656 if (!SWIG_IsOK(res1)) {
13657 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_HitTest" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
13658 }
13659 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
13660 ecode2 = SWIG_AsVal_int(obj1, &val2);
13661 if (!SWIG_IsOK(ecode2)) {
13662 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarScrollHelperBase_HitTest" "', expected argument " "2"" of type '" "int""'");
13663 }
13664 arg2 = static_cast< int >(val2);
13665 {
13666 PyThreadState* __tstate = wxPyBeginAllowThreads();
13667 result = (int)((wxVarScrollHelperBase const *)arg1)->HitTest(arg2);
13668 wxPyEndAllowThreads(__tstate);
13669 if (PyErr_Occurred()) SWIG_fail;
13670 }
13671 resultobj = SWIG_From_int(static_cast< int >(result));
13672 return resultobj;
13673 fail:
13674 return NULL;
13675 }
13676
13677
13678 SWIGINTERN PyObject *_wrap_VarScrollHelperBase_RefreshAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13679 PyObject *resultobj = 0;
13680 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
13681 void *argp1 = 0 ;
13682 int res1 = 0 ;
13683 PyObject *swig_obj[1] ;
13684
13685 if (!args) SWIG_fail;
13686 swig_obj[0] = args;
13687 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
13688 if (!SWIG_IsOK(res1)) {
13689 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_RefreshAll" "', expected argument " "1"" of type '" "wxVarScrollHelperBase *""'");
13690 }
13691 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
13692 {
13693 PyThreadState* __tstate = wxPyBeginAllowThreads();
13694 (arg1)->RefreshAll();
13695 wxPyEndAllowThreads(__tstate);
13696 if (PyErr_Occurred()) SWIG_fail;
13697 }
13698 resultobj = SWIG_Py_Void();
13699 return resultobj;
13700 fail:
13701 return NULL;
13702 }
13703
13704
13705 SWIGINTERN PyObject *_wrap_VarScrollHelperBase_GetVisibleBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13706 PyObject *resultobj = 0;
13707 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
13708 size_t result;
13709 void *argp1 = 0 ;
13710 int res1 = 0 ;
13711 PyObject *swig_obj[1] ;
13712
13713 if (!args) SWIG_fail;
13714 swig_obj[0] = args;
13715 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
13716 if (!SWIG_IsOK(res1)) {
13717 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_GetVisibleBegin" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
13718 }
13719 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
13720 {
13721 PyThreadState* __tstate = wxPyBeginAllowThreads();
13722 result = (size_t)((wxVarScrollHelperBase const *)arg1)->GetVisibleBegin();
13723 wxPyEndAllowThreads(__tstate);
13724 if (PyErr_Occurred()) SWIG_fail;
13725 }
13726 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13727 return resultobj;
13728 fail:
13729 return NULL;
13730 }
13731
13732
13733 SWIGINTERN PyObject *_wrap_VarScrollHelperBase_GetVisibleEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13734 PyObject *resultobj = 0;
13735 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
13736 size_t result;
13737 void *argp1 = 0 ;
13738 int res1 = 0 ;
13739 PyObject *swig_obj[1] ;
13740
13741 if (!args) SWIG_fail;
13742 swig_obj[0] = args;
13743 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
13744 if (!SWIG_IsOK(res1)) {
13745 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_GetVisibleEnd" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
13746 }
13747 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
13748 {
13749 PyThreadState* __tstate = wxPyBeginAllowThreads();
13750 result = (size_t)((wxVarScrollHelperBase const *)arg1)->GetVisibleEnd();
13751 wxPyEndAllowThreads(__tstate);
13752 if (PyErr_Occurred()) SWIG_fail;
13753 }
13754 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13755 return resultobj;
13756 fail:
13757 return NULL;
13758 }
13759
13760
13761 SWIGINTERN PyObject *_wrap_VarScrollHelperBase_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13762 PyObject *resultobj = 0;
13763 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
13764 size_t arg2 ;
13765 bool result;
13766 void *argp1 = 0 ;
13767 int res1 = 0 ;
13768 size_t val2 ;
13769 int ecode2 = 0 ;
13770 PyObject * obj0 = 0 ;
13771 PyObject * obj1 = 0 ;
13772 char * kwnames[] = {
13773 (char *) "self",(char *) "unit", NULL
13774 };
13775
13776 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarScrollHelperBase_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
13777 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
13778 if (!SWIG_IsOK(res1)) {
13779 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_IsVisible" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
13780 }
13781 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
13782 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13783 if (!SWIG_IsOK(ecode2)) {
13784 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarScrollHelperBase_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
13785 }
13786 arg2 = static_cast< size_t >(val2);
13787 {
13788 PyThreadState* __tstate = wxPyBeginAllowThreads();
13789 result = (bool)((wxVarScrollHelperBase const *)arg1)->IsVisible(arg2);
13790 wxPyEndAllowThreads(__tstate);
13791 if (PyErr_Occurred()) SWIG_fail;
13792 }
13793 {
13794 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13795 }
13796 return resultobj;
13797 fail:
13798 return NULL;
13799 }
13800
13801
13802 SWIGINTERN PyObject *_wrap_VarScrollHelperBase_CalcScrolledPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13803 PyObject *resultobj = 0;
13804 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
13805 int arg2 ;
13806 int result;
13807 void *argp1 = 0 ;
13808 int res1 = 0 ;
13809 int val2 ;
13810 int ecode2 = 0 ;
13811 PyObject * obj0 = 0 ;
13812 PyObject * obj1 = 0 ;
13813 char * kwnames[] = {
13814 (char *) "self",(char *) "coord", NULL
13815 };
13816
13817 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarScrollHelperBase_CalcScrolledPosition",kwnames,&obj0,&obj1)) SWIG_fail;
13818 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
13819 if (!SWIG_IsOK(res1)) {
13820 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
13821 }
13822 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
13823 ecode2 = SWIG_AsVal_int(obj1, &val2);
13824 if (!SWIG_IsOK(ecode2)) {
13825 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarScrollHelperBase_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
13826 }
13827 arg2 = static_cast< int >(val2);
13828 {
13829 PyThreadState* __tstate = wxPyBeginAllowThreads();
13830 result = (int)((wxVarScrollHelperBase const *)arg1)->CalcScrolledPosition(arg2);
13831 wxPyEndAllowThreads(__tstate);
13832 if (PyErr_Occurred()) SWIG_fail;
13833 }
13834 resultobj = SWIG_From_int(static_cast< int >(result));
13835 return resultobj;
13836 fail:
13837 return NULL;
13838 }
13839
13840
13841 SWIGINTERN PyObject *_wrap_VarScrollHelperBase_CalcUnscrolledPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13842 PyObject *resultobj = 0;
13843 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
13844 int arg2 ;
13845 int result;
13846 void *argp1 = 0 ;
13847 int res1 = 0 ;
13848 int val2 ;
13849 int ecode2 = 0 ;
13850 PyObject * obj0 = 0 ;
13851 PyObject * obj1 = 0 ;
13852 char * kwnames[] = {
13853 (char *) "self",(char *) "coord", NULL
13854 };
13855
13856 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarScrollHelperBase_CalcUnscrolledPosition",kwnames,&obj0,&obj1)) SWIG_fail;
13857 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
13858 if (!SWIG_IsOK(res1)) {
13859 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
13860 }
13861 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
13862 ecode2 = SWIG_AsVal_int(obj1, &val2);
13863 if (!SWIG_IsOK(ecode2)) {
13864 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarScrollHelperBase_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
13865 }
13866 arg2 = static_cast< int >(val2);
13867 {
13868 PyThreadState* __tstate = wxPyBeginAllowThreads();
13869 result = (int)((wxVarScrollHelperBase const *)arg1)->CalcUnscrolledPosition(arg2);
13870 wxPyEndAllowThreads(__tstate);
13871 if (PyErr_Occurred()) SWIG_fail;
13872 }
13873 resultobj = SWIG_From_int(static_cast< int >(result));
13874 return resultobj;
13875 fail:
13876 return NULL;
13877 }
13878
13879
13880 SWIGINTERN PyObject *_wrap_VarScrollHelperBase_UpdateScrollbar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13881 PyObject *resultobj = 0;
13882 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
13883 void *argp1 = 0 ;
13884 int res1 = 0 ;
13885 PyObject *swig_obj[1] ;
13886
13887 if (!args) SWIG_fail;
13888 swig_obj[0] = args;
13889 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
13890 if (!SWIG_IsOK(res1)) {
13891 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_UpdateScrollbar" "', expected argument " "1"" of type '" "wxVarScrollHelperBase *""'");
13892 }
13893 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
13894 {
13895 PyThreadState* __tstate = wxPyBeginAllowThreads();
13896 (arg1)->UpdateScrollbar();
13897 wxPyEndAllowThreads(__tstate);
13898 if (PyErr_Occurred()) SWIG_fail;
13899 }
13900 resultobj = SWIG_Py_Void();
13901 return resultobj;
13902 fail:
13903 return NULL;
13904 }
13905
13906
13907 SWIGINTERN PyObject *_wrap_VarScrollHelperBase_RemoveScrollbar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13908 PyObject *resultobj = 0;
13909 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
13910 void *argp1 = 0 ;
13911 int res1 = 0 ;
13912 PyObject *swig_obj[1] ;
13913
13914 if (!args) SWIG_fail;
13915 swig_obj[0] = args;
13916 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
13917 if (!SWIG_IsOK(res1)) {
13918 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_RemoveScrollbar" "', expected argument " "1"" of type '" "wxVarScrollHelperBase *""'");
13919 }
13920 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
13921 {
13922 PyThreadState* __tstate = wxPyBeginAllowThreads();
13923 (arg1)->RemoveScrollbar();
13924 wxPyEndAllowThreads(__tstate);
13925 if (PyErr_Occurred()) SWIG_fail;
13926 }
13927 resultobj = SWIG_Py_Void();
13928 return resultobj;
13929 fail:
13930 return NULL;
13931 }
13932
13933
13934 SWIGINTERN PyObject *_wrap_VarScrollHelperBase_SetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13935 PyObject *resultobj = 0;
13936 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
13937 wxWindow *arg2 = (wxWindow *) 0 ;
13938 void *argp1 = 0 ;
13939 int res1 = 0 ;
13940 void *argp2 = 0 ;
13941 int res2 = 0 ;
13942 PyObject * obj0 = 0 ;
13943 PyObject * obj1 = 0 ;
13944 char * kwnames[] = {
13945 (char *) "self",(char *) "target", NULL
13946 };
13947
13948 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarScrollHelperBase_SetTargetWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13949 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
13950 if (!SWIG_IsOK(res1)) {
13951 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_SetTargetWindow" "', expected argument " "1"" of type '" "wxVarScrollHelperBase *""'");
13952 }
13953 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
13954 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13955 if (!SWIG_IsOK(res2)) {
13956 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VarScrollHelperBase_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13957 }
13958 arg2 = reinterpret_cast< wxWindow * >(argp2);
13959 {
13960 PyThreadState* __tstate = wxPyBeginAllowThreads();
13961 (arg1)->SetTargetWindow(arg2);
13962 wxPyEndAllowThreads(__tstate);
13963 if (PyErr_Occurred()) SWIG_fail;
13964 }
13965 resultobj = SWIG_Py_Void();
13966 return resultobj;
13967 fail:
13968 return NULL;
13969 }
13970
13971
13972 SWIGINTERN PyObject *_wrap_VarScrollHelperBase_GetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13973 PyObject *resultobj = 0;
13974 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
13975 wxWindow *result = 0 ;
13976 void *argp1 = 0 ;
13977 int res1 = 0 ;
13978 PyObject *swig_obj[1] ;
13979
13980 if (!args) SWIG_fail;
13981 swig_obj[0] = args;
13982 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
13983 if (!SWIG_IsOK(res1)) {
13984 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_GetTargetWindow" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
13985 }
13986 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
13987 {
13988 PyThreadState* __tstate = wxPyBeginAllowThreads();
13989 result = (wxWindow *)((wxVarScrollHelperBase const *)arg1)->GetTargetWindow();
13990 wxPyEndAllowThreads(__tstate);
13991 if (PyErr_Occurred()) SWIG_fail;
13992 }
13993 {
13994 resultobj = wxPyMake_wxObject(result, 0);
13995 }
13996 return resultobj;
13997 fail:
13998 return NULL;
13999 }
14000
14001
14002 SWIGINTERN PyObject *_wrap_VarScrollHelperBase_GetOrientationTargetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14003 PyObject *resultobj = 0;
14004 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
14005 int result;
14006 void *argp1 = 0 ;
14007 int res1 = 0 ;
14008 PyObject *swig_obj[1] ;
14009
14010 if (!args) SWIG_fail;
14011 swig_obj[0] = args;
14012 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
14013 if (!SWIG_IsOK(res1)) {
14014 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_GetOrientationTargetSize" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
14015 }
14016 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
14017 {
14018 PyThreadState* __tstate = wxPyBeginAllowThreads();
14019 result = (int)((wxVarScrollHelperBase const *)arg1)->GetOrientationTargetSize();
14020 wxPyEndAllowThreads(__tstate);
14021 if (PyErr_Occurred()) SWIG_fail;
14022 }
14023 resultobj = SWIG_From_int(static_cast< int >(result));
14024 return resultobj;
14025 fail:
14026 return NULL;
14027 }
14028
14029
14030 SWIGINTERN PyObject *_wrap_VarScrollHelperBase_GetNonOrientationTargetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14031 PyObject *resultobj = 0;
14032 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
14033 int result;
14034 void *argp1 = 0 ;
14035 int res1 = 0 ;
14036 PyObject *swig_obj[1] ;
14037
14038 if (!args) SWIG_fail;
14039 swig_obj[0] = args;
14040 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
14041 if (!SWIG_IsOK(res1)) {
14042 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_GetNonOrientationTargetSize" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
14043 }
14044 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
14045 {
14046 PyThreadState* __tstate = wxPyBeginAllowThreads();
14047 result = (int)((wxVarScrollHelperBase const *)arg1)->GetNonOrientationTargetSize();
14048 wxPyEndAllowThreads(__tstate);
14049 if (PyErr_Occurred()) SWIG_fail;
14050 }
14051 resultobj = SWIG_From_int(static_cast< int >(result));
14052 return resultobj;
14053 fail:
14054 return NULL;
14055 }
14056
14057
14058 SWIGINTERN PyObject *_wrap_VarScrollHelperBase_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14059 PyObject *resultobj = 0;
14060 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
14061 wxOrientation result;
14062 void *argp1 = 0 ;
14063 int res1 = 0 ;
14064 PyObject *swig_obj[1] ;
14065
14066 if (!args) SWIG_fail;
14067 swig_obj[0] = args;
14068 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
14069 if (!SWIG_IsOK(res1)) {
14070 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_GetOrientation" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
14071 }
14072 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
14073 {
14074 PyThreadState* __tstate = wxPyBeginAllowThreads();
14075 result = (wxOrientation)((wxVarScrollHelperBase const *)arg1)->GetOrientation();
14076 wxPyEndAllowThreads(__tstate);
14077 if (PyErr_Occurred()) SWIG_fail;
14078 }
14079 resultobj = SWIG_From_int(static_cast< int >(result));
14080 return resultobj;
14081 fail:
14082 return NULL;
14083 }
14084
14085
14086 SWIGINTERN PyObject *VarScrollHelperBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14087 PyObject *obj;
14088 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14089 SWIG_TypeNewClientData(SWIGTYPE_p_wxVarScrollHelperBase, SWIG_NewClientData(obj));
14090 return SWIG_Py_Void();
14091 }
14092
14093 SWIGINTERN PyObject *_wrap_VarVScrollHelper_SetRowCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14094 PyObject *resultobj = 0;
14095 wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ;
14096 size_t arg2 ;
14097 void *argp1 = 0 ;
14098 int res1 = 0 ;
14099 size_t val2 ;
14100 int ecode2 = 0 ;
14101 PyObject * obj0 = 0 ;
14102 PyObject * obj1 = 0 ;
14103 char * kwnames[] = {
14104 (char *) "self",(char *) "rowCount", NULL
14105 };
14106
14107 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarVScrollHelper_SetRowCount",kwnames,&obj0,&obj1)) SWIG_fail;
14108 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 );
14109 if (!SWIG_IsOK(res1)) {
14110 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_SetRowCount" "', expected argument " "1"" of type '" "wxVarVScrollHelper *""'");
14111 }
14112 arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1);
14113 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14114 if (!SWIG_IsOK(ecode2)) {
14115 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarVScrollHelper_SetRowCount" "', expected argument " "2"" of type '" "size_t""'");
14116 }
14117 arg2 = static_cast< size_t >(val2);
14118 {
14119 PyThreadState* __tstate = wxPyBeginAllowThreads();
14120 (arg1)->SetRowCount(arg2);
14121 wxPyEndAllowThreads(__tstate);
14122 if (PyErr_Occurred()) SWIG_fail;
14123 }
14124 resultobj = SWIG_Py_Void();
14125 return resultobj;
14126 fail:
14127 return NULL;
14128 }
14129
14130
14131 SWIGINTERN PyObject *_wrap_VarVScrollHelper_ScrollToRow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14132 PyObject *resultobj = 0;
14133 wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ;
14134 size_t arg2 ;
14135 bool result;
14136 void *argp1 = 0 ;
14137 int res1 = 0 ;
14138 size_t val2 ;
14139 int ecode2 = 0 ;
14140 PyObject * obj0 = 0 ;
14141 PyObject * obj1 = 0 ;
14142 char * kwnames[] = {
14143 (char *) "self",(char *) "row", NULL
14144 };
14145
14146 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarVScrollHelper_ScrollToRow",kwnames,&obj0,&obj1)) SWIG_fail;
14147 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 );
14148 if (!SWIG_IsOK(res1)) {
14149 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_ScrollToRow" "', expected argument " "1"" of type '" "wxVarVScrollHelper *""'");
14150 }
14151 arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1);
14152 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14153 if (!SWIG_IsOK(ecode2)) {
14154 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarVScrollHelper_ScrollToRow" "', expected argument " "2"" of type '" "size_t""'");
14155 }
14156 arg2 = static_cast< size_t >(val2);
14157 {
14158 PyThreadState* __tstate = wxPyBeginAllowThreads();
14159 result = (bool)(arg1)->ScrollToRow(arg2);
14160 wxPyEndAllowThreads(__tstate);
14161 if (PyErr_Occurred()) SWIG_fail;
14162 }
14163 {
14164 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14165 }
14166 return resultobj;
14167 fail:
14168 return NULL;
14169 }
14170
14171
14172 SWIGINTERN PyObject *_wrap_VarVScrollHelper_ScrollRows(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14173 PyObject *resultobj = 0;
14174 wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ;
14175 int arg2 ;
14176 bool result;
14177 void *argp1 = 0 ;
14178 int res1 = 0 ;
14179 int val2 ;
14180 int ecode2 = 0 ;
14181 PyObject * obj0 = 0 ;
14182 PyObject * obj1 = 0 ;
14183 char * kwnames[] = {
14184 (char *) "self",(char *) "rows", NULL
14185 };
14186
14187 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarVScrollHelper_ScrollRows",kwnames,&obj0,&obj1)) SWIG_fail;
14188 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 );
14189 if (!SWIG_IsOK(res1)) {
14190 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_ScrollRows" "', expected argument " "1"" of type '" "wxVarVScrollHelper *""'");
14191 }
14192 arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1);
14193 ecode2 = SWIG_AsVal_int(obj1, &val2);
14194 if (!SWIG_IsOK(ecode2)) {
14195 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarVScrollHelper_ScrollRows" "', expected argument " "2"" of type '" "int""'");
14196 }
14197 arg2 = static_cast< int >(val2);
14198 {
14199 PyThreadState* __tstate = wxPyBeginAllowThreads();
14200 result = (bool)(arg1)->ScrollRows(arg2);
14201 wxPyEndAllowThreads(__tstate);
14202 if (PyErr_Occurred()) SWIG_fail;
14203 }
14204 {
14205 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14206 }
14207 return resultobj;
14208 fail:
14209 return NULL;
14210 }
14211
14212
14213 SWIGINTERN PyObject *_wrap_VarVScrollHelper_ScrollRowPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14214 PyObject *resultobj = 0;
14215 wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ;
14216 int arg2 ;
14217 bool result;
14218 void *argp1 = 0 ;
14219 int res1 = 0 ;
14220 int val2 ;
14221 int ecode2 = 0 ;
14222 PyObject * obj0 = 0 ;
14223 PyObject * obj1 = 0 ;
14224 char * kwnames[] = {
14225 (char *) "self",(char *) "pages", NULL
14226 };
14227
14228 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarVScrollHelper_ScrollRowPages",kwnames,&obj0,&obj1)) SWIG_fail;
14229 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 );
14230 if (!SWIG_IsOK(res1)) {
14231 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_ScrollRowPages" "', expected argument " "1"" of type '" "wxVarVScrollHelper *""'");
14232 }
14233 arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1);
14234 ecode2 = SWIG_AsVal_int(obj1, &val2);
14235 if (!SWIG_IsOK(ecode2)) {
14236 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarVScrollHelper_ScrollRowPages" "', expected argument " "2"" of type '" "int""'");
14237 }
14238 arg2 = static_cast< int >(val2);
14239 {
14240 PyThreadState* __tstate = wxPyBeginAllowThreads();
14241 result = (bool)(arg1)->ScrollRowPages(arg2);
14242 wxPyEndAllowThreads(__tstate);
14243 if (PyErr_Occurred()) SWIG_fail;
14244 }
14245 {
14246 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14247 }
14248 return resultobj;
14249 fail:
14250 return NULL;
14251 }
14252
14253
14254 SWIGINTERN PyObject *_wrap_VarVScrollHelper_RefreshRow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14255 PyObject *resultobj = 0;
14256 wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ;
14257 size_t arg2 ;
14258 void *argp1 = 0 ;
14259 int res1 = 0 ;
14260 size_t val2 ;
14261 int ecode2 = 0 ;
14262 PyObject * obj0 = 0 ;
14263 PyObject * obj1 = 0 ;
14264 char * kwnames[] = {
14265 (char *) "self",(char *) "row", NULL
14266 };
14267
14268 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarVScrollHelper_RefreshRow",kwnames,&obj0,&obj1)) SWIG_fail;
14269 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 );
14270 if (!SWIG_IsOK(res1)) {
14271 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_RefreshRow" "', expected argument " "1"" of type '" "wxVarVScrollHelper *""'");
14272 }
14273 arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1);
14274 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14275 if (!SWIG_IsOK(ecode2)) {
14276 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarVScrollHelper_RefreshRow" "', expected argument " "2"" of type '" "size_t""'");
14277 }
14278 arg2 = static_cast< size_t >(val2);
14279 {
14280 PyThreadState* __tstate = wxPyBeginAllowThreads();
14281 (arg1)->RefreshRow(arg2);
14282 wxPyEndAllowThreads(__tstate);
14283 if (PyErr_Occurred()) SWIG_fail;
14284 }
14285 resultobj = SWIG_Py_Void();
14286 return resultobj;
14287 fail:
14288 return NULL;
14289 }
14290
14291
14292 SWIGINTERN PyObject *_wrap_VarVScrollHelper_RefreshRows(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14293 PyObject *resultobj = 0;
14294 wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ;
14295 size_t arg2 ;
14296 size_t arg3 ;
14297 void *argp1 = 0 ;
14298 int res1 = 0 ;
14299 size_t val2 ;
14300 int ecode2 = 0 ;
14301 size_t val3 ;
14302 int ecode3 = 0 ;
14303 PyObject * obj0 = 0 ;
14304 PyObject * obj1 = 0 ;
14305 PyObject * obj2 = 0 ;
14306 char * kwnames[] = {
14307 (char *) "self",(char *) "from",(char *) "to", NULL
14308 };
14309
14310 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VarVScrollHelper_RefreshRows",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14311 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 );
14312 if (!SWIG_IsOK(res1)) {
14313 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_RefreshRows" "', expected argument " "1"" of type '" "wxVarVScrollHelper *""'");
14314 }
14315 arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1);
14316 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14317 if (!SWIG_IsOK(ecode2)) {
14318 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarVScrollHelper_RefreshRows" "', expected argument " "2"" of type '" "size_t""'");
14319 }
14320 arg2 = static_cast< size_t >(val2);
14321 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14322 if (!SWIG_IsOK(ecode3)) {
14323 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VarVScrollHelper_RefreshRows" "', expected argument " "3"" of type '" "size_t""'");
14324 }
14325 arg3 = static_cast< size_t >(val3);
14326 {
14327 PyThreadState* __tstate = wxPyBeginAllowThreads();
14328 (arg1)->RefreshRows(arg2,arg3);
14329 wxPyEndAllowThreads(__tstate);
14330 if (PyErr_Occurred()) SWIG_fail;
14331 }
14332 resultobj = SWIG_Py_Void();
14333 return resultobj;
14334 fail:
14335 return NULL;
14336 }
14337
14338
14339 SWIGINTERN PyObject *_wrap_VarVScrollHelper_GetRowCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14340 PyObject *resultobj = 0;
14341 wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ;
14342 size_t result;
14343 void *argp1 = 0 ;
14344 int res1 = 0 ;
14345 PyObject *swig_obj[1] ;
14346
14347 if (!args) SWIG_fail;
14348 swig_obj[0] = args;
14349 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 );
14350 if (!SWIG_IsOK(res1)) {
14351 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_GetRowCount" "', expected argument " "1"" of type '" "wxVarVScrollHelper const *""'");
14352 }
14353 arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1);
14354 {
14355 PyThreadState* __tstate = wxPyBeginAllowThreads();
14356 result = (size_t)((wxVarVScrollHelper const *)arg1)->GetRowCount();
14357 wxPyEndAllowThreads(__tstate);
14358 if (PyErr_Occurred()) SWIG_fail;
14359 }
14360 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14361 return resultobj;
14362 fail:
14363 return NULL;
14364 }
14365
14366
14367 SWIGINTERN PyObject *_wrap_VarVScrollHelper_GetVisibleRowsBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14368 PyObject *resultobj = 0;
14369 wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ;
14370 size_t result;
14371 void *argp1 = 0 ;
14372 int res1 = 0 ;
14373 PyObject *swig_obj[1] ;
14374
14375 if (!args) SWIG_fail;
14376 swig_obj[0] = args;
14377 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 );
14378 if (!SWIG_IsOK(res1)) {
14379 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_GetVisibleRowsBegin" "', expected argument " "1"" of type '" "wxVarVScrollHelper const *""'");
14380 }
14381 arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1);
14382 {
14383 PyThreadState* __tstate = wxPyBeginAllowThreads();
14384 result = (size_t)((wxVarVScrollHelper const *)arg1)->GetVisibleRowsBegin();
14385 wxPyEndAllowThreads(__tstate);
14386 if (PyErr_Occurred()) SWIG_fail;
14387 }
14388 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14389 return resultobj;
14390 fail:
14391 return NULL;
14392 }
14393
14394
14395 SWIGINTERN PyObject *_wrap_VarVScrollHelper_GetVisibleRowsEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14396 PyObject *resultobj = 0;
14397 wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ;
14398 size_t result;
14399 void *argp1 = 0 ;
14400 int res1 = 0 ;
14401 PyObject *swig_obj[1] ;
14402
14403 if (!args) SWIG_fail;
14404 swig_obj[0] = args;
14405 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 );
14406 if (!SWIG_IsOK(res1)) {
14407 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_GetVisibleRowsEnd" "', expected argument " "1"" of type '" "wxVarVScrollHelper const *""'");
14408 }
14409 arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1);
14410 {
14411 PyThreadState* __tstate = wxPyBeginAllowThreads();
14412 result = (size_t)((wxVarVScrollHelper const *)arg1)->GetVisibleRowsEnd();
14413 wxPyEndAllowThreads(__tstate);
14414 if (PyErr_Occurred()) SWIG_fail;
14415 }
14416 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14417 return resultobj;
14418 fail:
14419 return NULL;
14420 }
14421
14422
14423 SWIGINTERN PyObject *_wrap_VarVScrollHelper_IsRowVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14424 PyObject *resultobj = 0;
14425 wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ;
14426 size_t arg2 ;
14427 bool result;
14428 void *argp1 = 0 ;
14429 int res1 = 0 ;
14430 size_t val2 ;
14431 int ecode2 = 0 ;
14432 PyObject * obj0 = 0 ;
14433 PyObject * obj1 = 0 ;
14434 char * kwnames[] = {
14435 (char *) "self",(char *) "row", NULL
14436 };
14437
14438 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarVScrollHelper_IsRowVisible",kwnames,&obj0,&obj1)) SWIG_fail;
14439 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 );
14440 if (!SWIG_IsOK(res1)) {
14441 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_IsRowVisible" "', expected argument " "1"" of type '" "wxVarVScrollHelper const *""'");
14442 }
14443 arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1);
14444 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14445 if (!SWIG_IsOK(ecode2)) {
14446 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarVScrollHelper_IsRowVisible" "', expected argument " "2"" of type '" "size_t""'");
14447 }
14448 arg2 = static_cast< size_t >(val2);
14449 {
14450 PyThreadState* __tstate = wxPyBeginAllowThreads();
14451 result = (bool)((wxVarVScrollHelper const *)arg1)->IsRowVisible(arg2);
14452 wxPyEndAllowThreads(__tstate);
14453 if (PyErr_Occurred()) SWIG_fail;
14454 }
14455 {
14456 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14457 }
14458 return resultobj;
14459 fail:
14460 return NULL;
14461 }
14462
14463
14464 SWIGINTERN PyObject *VarVScrollHelper_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14465 PyObject *obj;
14466 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14467 SWIG_TypeNewClientData(SWIGTYPE_p_wxVarVScrollHelper, SWIG_NewClientData(obj));
14468 return SWIG_Py_Void();
14469 }
14470
14471 SWIGINTERN PyObject *_wrap_VarHScrollHelper_SetColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14472 PyObject *resultobj = 0;
14473 wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ;
14474 size_t arg2 ;
14475 void *argp1 = 0 ;
14476 int res1 = 0 ;
14477 size_t val2 ;
14478 int ecode2 = 0 ;
14479 PyObject * obj0 = 0 ;
14480 PyObject * obj1 = 0 ;
14481 char * kwnames[] = {
14482 (char *) "self",(char *) "columnCount", NULL
14483 };
14484
14485 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHScrollHelper_SetColumnCount",kwnames,&obj0,&obj1)) SWIG_fail;
14486 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 );
14487 if (!SWIG_IsOK(res1)) {
14488 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_SetColumnCount" "', expected argument " "1"" of type '" "wxVarHScrollHelper *""'");
14489 }
14490 arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1);
14491 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14492 if (!SWIG_IsOK(ecode2)) {
14493 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarHScrollHelper_SetColumnCount" "', expected argument " "2"" of type '" "size_t""'");
14494 }
14495 arg2 = static_cast< size_t >(val2);
14496 {
14497 PyThreadState* __tstate = wxPyBeginAllowThreads();
14498 (arg1)->SetColumnCount(arg2);
14499 wxPyEndAllowThreads(__tstate);
14500 if (PyErr_Occurred()) SWIG_fail;
14501 }
14502 resultobj = SWIG_Py_Void();
14503 return resultobj;
14504 fail:
14505 return NULL;
14506 }
14507
14508
14509 SWIGINTERN PyObject *_wrap_VarHScrollHelper_ScrollToColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14510 PyObject *resultobj = 0;
14511 wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ;
14512 size_t arg2 ;
14513 bool result;
14514 void *argp1 = 0 ;
14515 int res1 = 0 ;
14516 size_t val2 ;
14517 int ecode2 = 0 ;
14518 PyObject * obj0 = 0 ;
14519 PyObject * obj1 = 0 ;
14520 char * kwnames[] = {
14521 (char *) "self",(char *) "column", NULL
14522 };
14523
14524 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHScrollHelper_ScrollToColumn",kwnames,&obj0,&obj1)) SWIG_fail;
14525 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 );
14526 if (!SWIG_IsOK(res1)) {
14527 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_ScrollToColumn" "', expected argument " "1"" of type '" "wxVarHScrollHelper *""'");
14528 }
14529 arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1);
14530 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14531 if (!SWIG_IsOK(ecode2)) {
14532 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarHScrollHelper_ScrollToColumn" "', expected argument " "2"" of type '" "size_t""'");
14533 }
14534 arg2 = static_cast< size_t >(val2);
14535 {
14536 PyThreadState* __tstate = wxPyBeginAllowThreads();
14537 result = (bool)(arg1)->ScrollToColumn(arg2);
14538 wxPyEndAllowThreads(__tstate);
14539 if (PyErr_Occurred()) SWIG_fail;
14540 }
14541 {
14542 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14543 }
14544 return resultobj;
14545 fail:
14546 return NULL;
14547 }
14548
14549
14550 SWIGINTERN PyObject *_wrap_VarHScrollHelper_ScrollColumns(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14551 PyObject *resultobj = 0;
14552 wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ;
14553 int arg2 ;
14554 bool result;
14555 void *argp1 = 0 ;
14556 int res1 = 0 ;
14557 int val2 ;
14558 int ecode2 = 0 ;
14559 PyObject * obj0 = 0 ;
14560 PyObject * obj1 = 0 ;
14561 char * kwnames[] = {
14562 (char *) "self",(char *) "columns", NULL
14563 };
14564
14565 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHScrollHelper_ScrollColumns",kwnames,&obj0,&obj1)) SWIG_fail;
14566 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 );
14567 if (!SWIG_IsOK(res1)) {
14568 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_ScrollColumns" "', expected argument " "1"" of type '" "wxVarHScrollHelper *""'");
14569 }
14570 arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1);
14571 ecode2 = SWIG_AsVal_int(obj1, &val2);
14572 if (!SWIG_IsOK(ecode2)) {
14573 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarHScrollHelper_ScrollColumns" "', expected argument " "2"" of type '" "int""'");
14574 }
14575 arg2 = static_cast< int >(val2);
14576 {
14577 PyThreadState* __tstate = wxPyBeginAllowThreads();
14578 result = (bool)(arg1)->ScrollColumns(arg2);
14579 wxPyEndAllowThreads(__tstate);
14580 if (PyErr_Occurred()) SWIG_fail;
14581 }
14582 {
14583 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14584 }
14585 return resultobj;
14586 fail:
14587 return NULL;
14588 }
14589
14590
14591 SWIGINTERN PyObject *_wrap_VarHScrollHelper_ScrollColumnPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14592 PyObject *resultobj = 0;
14593 wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ;
14594 int arg2 ;
14595 bool result;
14596 void *argp1 = 0 ;
14597 int res1 = 0 ;
14598 int val2 ;
14599 int ecode2 = 0 ;
14600 PyObject * obj0 = 0 ;
14601 PyObject * obj1 = 0 ;
14602 char * kwnames[] = {
14603 (char *) "self",(char *) "pages", NULL
14604 };
14605
14606 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHScrollHelper_ScrollColumnPages",kwnames,&obj0,&obj1)) SWIG_fail;
14607 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 );
14608 if (!SWIG_IsOK(res1)) {
14609 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_ScrollColumnPages" "', expected argument " "1"" of type '" "wxVarHScrollHelper *""'");
14610 }
14611 arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1);
14612 ecode2 = SWIG_AsVal_int(obj1, &val2);
14613 if (!SWIG_IsOK(ecode2)) {
14614 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarHScrollHelper_ScrollColumnPages" "', expected argument " "2"" of type '" "int""'");
14615 }
14616 arg2 = static_cast< int >(val2);
14617 {
14618 PyThreadState* __tstate = wxPyBeginAllowThreads();
14619 result = (bool)(arg1)->ScrollColumnPages(arg2);
14620 wxPyEndAllowThreads(__tstate);
14621 if (PyErr_Occurred()) SWIG_fail;
14622 }
14623 {
14624 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14625 }
14626 return resultobj;
14627 fail:
14628 return NULL;
14629 }
14630
14631
14632 SWIGINTERN PyObject *_wrap_VarHScrollHelper_RefreshColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14633 PyObject *resultobj = 0;
14634 wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ;
14635 size_t arg2 ;
14636 void *argp1 = 0 ;
14637 int res1 = 0 ;
14638 size_t val2 ;
14639 int ecode2 = 0 ;
14640 PyObject * obj0 = 0 ;
14641 PyObject * obj1 = 0 ;
14642 char * kwnames[] = {
14643 (char *) "self",(char *) "column", NULL
14644 };
14645
14646 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHScrollHelper_RefreshColumn",kwnames,&obj0,&obj1)) SWIG_fail;
14647 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 );
14648 if (!SWIG_IsOK(res1)) {
14649 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_RefreshColumn" "', expected argument " "1"" of type '" "wxVarHScrollHelper *""'");
14650 }
14651 arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1);
14652 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14653 if (!SWIG_IsOK(ecode2)) {
14654 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarHScrollHelper_RefreshColumn" "', expected argument " "2"" of type '" "size_t""'");
14655 }
14656 arg2 = static_cast< size_t >(val2);
14657 {
14658 PyThreadState* __tstate = wxPyBeginAllowThreads();
14659 (arg1)->RefreshColumn(arg2);
14660 wxPyEndAllowThreads(__tstate);
14661 if (PyErr_Occurred()) SWIG_fail;
14662 }
14663 resultobj = SWIG_Py_Void();
14664 return resultobj;
14665 fail:
14666 return NULL;
14667 }
14668
14669
14670 SWIGINTERN PyObject *_wrap_VarHScrollHelper_RefreshColumns(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14671 PyObject *resultobj = 0;
14672 wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ;
14673 size_t arg2 ;
14674 size_t arg3 ;
14675 void *argp1 = 0 ;
14676 int res1 = 0 ;
14677 size_t val2 ;
14678 int ecode2 = 0 ;
14679 size_t val3 ;
14680 int ecode3 = 0 ;
14681 PyObject * obj0 = 0 ;
14682 PyObject * obj1 = 0 ;
14683 PyObject * obj2 = 0 ;
14684 char * kwnames[] = {
14685 (char *) "self",(char *) "from",(char *) "to", NULL
14686 };
14687
14688 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VarHScrollHelper_RefreshColumns",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14689 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 );
14690 if (!SWIG_IsOK(res1)) {
14691 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_RefreshColumns" "', expected argument " "1"" of type '" "wxVarHScrollHelper *""'");
14692 }
14693 arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1);
14694 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14695 if (!SWIG_IsOK(ecode2)) {
14696 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarHScrollHelper_RefreshColumns" "', expected argument " "2"" of type '" "size_t""'");
14697 }
14698 arg2 = static_cast< size_t >(val2);
14699 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14700 if (!SWIG_IsOK(ecode3)) {
14701 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VarHScrollHelper_RefreshColumns" "', expected argument " "3"" of type '" "size_t""'");
14702 }
14703 arg3 = static_cast< size_t >(val3);
14704 {
14705 PyThreadState* __tstate = wxPyBeginAllowThreads();
14706 (arg1)->RefreshColumns(arg2,arg3);
14707 wxPyEndAllowThreads(__tstate);
14708 if (PyErr_Occurred()) SWIG_fail;
14709 }
14710 resultobj = SWIG_Py_Void();
14711 return resultobj;
14712 fail:
14713 return NULL;
14714 }
14715
14716
14717 SWIGINTERN PyObject *_wrap_VarHScrollHelper_GetColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14718 PyObject *resultobj = 0;
14719 wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ;
14720 size_t result;
14721 void *argp1 = 0 ;
14722 int res1 = 0 ;
14723 PyObject *swig_obj[1] ;
14724
14725 if (!args) SWIG_fail;
14726 swig_obj[0] = args;
14727 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 );
14728 if (!SWIG_IsOK(res1)) {
14729 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_GetColumnCount" "', expected argument " "1"" of type '" "wxVarHScrollHelper const *""'");
14730 }
14731 arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1);
14732 {
14733 PyThreadState* __tstate = wxPyBeginAllowThreads();
14734 result = (size_t)((wxVarHScrollHelper const *)arg1)->GetColumnCount();
14735 wxPyEndAllowThreads(__tstate);
14736 if (PyErr_Occurred()) SWIG_fail;
14737 }
14738 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14739 return resultobj;
14740 fail:
14741 return NULL;
14742 }
14743
14744
14745 SWIGINTERN PyObject *_wrap_VarHScrollHelper_GetVisibleColumnsBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14746 PyObject *resultobj = 0;
14747 wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 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_wxVarHScrollHelper, 0 | 0 );
14756 if (!SWIG_IsOK(res1)) {
14757 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_GetVisibleColumnsBegin" "', expected argument " "1"" of type '" "wxVarHScrollHelper const *""'");
14758 }
14759 arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1);
14760 {
14761 PyThreadState* __tstate = wxPyBeginAllowThreads();
14762 result = (size_t)((wxVarHScrollHelper const *)arg1)->GetVisibleColumnsBegin();
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_VarHScrollHelper_GetVisibleColumnsEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14774 PyObject *resultobj = 0;
14775 wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ;
14776 size_t 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_wxVarHScrollHelper, 0 | 0 );
14784 if (!SWIG_IsOK(res1)) {
14785 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_GetVisibleColumnsEnd" "', expected argument " "1"" of type '" "wxVarHScrollHelper const *""'");
14786 }
14787 arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1);
14788 {
14789 PyThreadState* __tstate = wxPyBeginAllowThreads();
14790 result = (size_t)((wxVarHScrollHelper const *)arg1)->GetVisibleColumnsEnd();
14791 wxPyEndAllowThreads(__tstate);
14792 if (PyErr_Occurred()) SWIG_fail;
14793 }
14794 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14795 return resultobj;
14796 fail:
14797 return NULL;
14798 }
14799
14800
14801 SWIGINTERN PyObject *_wrap_VarHScrollHelper_IsColumnVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14802 PyObject *resultobj = 0;
14803 wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ;
14804 size_t arg2 ;
14805 bool result;
14806 void *argp1 = 0 ;
14807 int res1 = 0 ;
14808 size_t val2 ;
14809 int ecode2 = 0 ;
14810 PyObject * obj0 = 0 ;
14811 PyObject * obj1 = 0 ;
14812 char * kwnames[] = {
14813 (char *) "self",(char *) "column", NULL
14814 };
14815
14816 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHScrollHelper_IsColumnVisible",kwnames,&obj0,&obj1)) SWIG_fail;
14817 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 );
14818 if (!SWIG_IsOK(res1)) {
14819 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_IsColumnVisible" "', expected argument " "1"" of type '" "wxVarHScrollHelper const *""'");
14820 }
14821 arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1);
14822 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14823 if (!SWIG_IsOK(ecode2)) {
14824 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarHScrollHelper_IsColumnVisible" "', expected argument " "2"" of type '" "size_t""'");
14825 }
14826 arg2 = static_cast< size_t >(val2);
14827 {
14828 PyThreadState* __tstate = wxPyBeginAllowThreads();
14829 result = (bool)((wxVarHScrollHelper const *)arg1)->IsColumnVisible(arg2);
14830 wxPyEndAllowThreads(__tstate);
14831 if (PyErr_Occurred()) SWIG_fail;
14832 }
14833 {
14834 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14835 }
14836 return resultobj;
14837 fail:
14838 return NULL;
14839 }
14840
14841
14842 SWIGINTERN PyObject *VarHScrollHelper_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14843 PyObject *obj;
14844 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14845 SWIG_TypeNewClientData(SWIGTYPE_p_wxVarHScrollHelper, SWIG_NewClientData(obj));
14846 return SWIG_Py_Void();
14847 }
14848
14849 SWIGINTERN PyObject *_wrap_VarHVScrollHelper_SetRowColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14850 PyObject *resultobj = 0;
14851 wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ;
14852 size_t arg2 ;
14853 size_t arg3 ;
14854 void *argp1 = 0 ;
14855 int res1 = 0 ;
14856 size_t val2 ;
14857 int ecode2 = 0 ;
14858 size_t val3 ;
14859 int ecode3 = 0 ;
14860 PyObject * obj0 = 0 ;
14861 PyObject * obj1 = 0 ;
14862 PyObject * obj2 = 0 ;
14863 char * kwnames[] = {
14864 (char *) "self",(char *) "rowCount",(char *) "columnCount", NULL
14865 };
14866
14867 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VarHVScrollHelper_SetRowColumnCount",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14868 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 );
14869 if (!SWIG_IsOK(res1)) {
14870 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_SetRowColumnCount" "', expected argument " "1"" of type '" "wxVarHVScrollHelper *""'");
14871 }
14872 arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1);
14873 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14874 if (!SWIG_IsOK(ecode2)) {
14875 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarHVScrollHelper_SetRowColumnCount" "', expected argument " "2"" of type '" "size_t""'");
14876 }
14877 arg2 = static_cast< size_t >(val2);
14878 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14879 if (!SWIG_IsOK(ecode3)) {
14880 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VarHVScrollHelper_SetRowColumnCount" "', expected argument " "3"" of type '" "size_t""'");
14881 }
14882 arg3 = static_cast< size_t >(val3);
14883 {
14884 PyThreadState* __tstate = wxPyBeginAllowThreads();
14885 (arg1)->SetRowColumnCount(arg2,arg3);
14886 wxPyEndAllowThreads(__tstate);
14887 if (PyErr_Occurred()) SWIG_fail;
14888 }
14889 resultobj = SWIG_Py_Void();
14890 return resultobj;
14891 fail:
14892 return NULL;
14893 }
14894
14895
14896 SWIGINTERN PyObject *_wrap_VarHVScrollHelper_EnablePhysicalScrolling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14897 PyObject *resultobj = 0;
14898 wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ;
14899 bool arg2 = (bool) true ;
14900 bool arg3 = (bool) true ;
14901 void *argp1 = 0 ;
14902 int res1 = 0 ;
14903 bool val2 ;
14904 int ecode2 = 0 ;
14905 bool val3 ;
14906 int ecode3 = 0 ;
14907 PyObject * obj0 = 0 ;
14908 PyObject * obj1 = 0 ;
14909 PyObject * obj2 = 0 ;
14910 char * kwnames[] = {
14911 (char *) "self",(char *) "vscrolling",(char *) "hscrolling", NULL
14912 };
14913
14914 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:VarHVScrollHelper_EnablePhysicalScrolling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14915 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 );
14916 if (!SWIG_IsOK(res1)) {
14917 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_EnablePhysicalScrolling" "', expected argument " "1"" of type '" "wxVarHVScrollHelper *""'");
14918 }
14919 arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1);
14920 if (obj1) {
14921 ecode2 = SWIG_AsVal_bool(obj1, &val2);
14922 if (!SWIG_IsOK(ecode2)) {
14923 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarHVScrollHelper_EnablePhysicalScrolling" "', expected argument " "2"" of type '" "bool""'");
14924 }
14925 arg2 = static_cast< bool >(val2);
14926 }
14927 if (obj2) {
14928 ecode3 = SWIG_AsVal_bool(obj2, &val3);
14929 if (!SWIG_IsOK(ecode3)) {
14930 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VarHVScrollHelper_EnablePhysicalScrolling" "', expected argument " "3"" of type '" "bool""'");
14931 }
14932 arg3 = static_cast< bool >(val3);
14933 }
14934 {
14935 PyThreadState* __tstate = wxPyBeginAllowThreads();
14936 (arg1)->EnablePhysicalScrolling(arg2,arg3);
14937 wxPyEndAllowThreads(__tstate);
14938 if (PyErr_Occurred()) SWIG_fail;
14939 }
14940 resultobj = SWIG_Py_Void();
14941 return resultobj;
14942 fail:
14943 return NULL;
14944 }
14945
14946
14947 SWIGINTERN PyObject *_wrap_VarHVScrollHelper_ScrollToRowColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14948 PyObject *resultobj = 0;
14949 wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ;
14950 wxPosition *arg2 = 0 ;
14951 bool result;
14952 void *argp1 = 0 ;
14953 int res1 = 0 ;
14954 void *argp2 = 0 ;
14955 int res2 = 0 ;
14956 PyObject * obj0 = 0 ;
14957 PyObject * obj1 = 0 ;
14958 char * kwnames[] = {
14959 (char *) "self",(char *) "pos", NULL
14960 };
14961
14962 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHVScrollHelper_ScrollToRowColumn",kwnames,&obj0,&obj1)) SWIG_fail;
14963 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 );
14964 if (!SWIG_IsOK(res1)) {
14965 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_ScrollToRowColumn" "', expected argument " "1"" of type '" "wxVarHVScrollHelper *""'");
14966 }
14967 arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1);
14968 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPosition, 0 | 0);
14969 if (!SWIG_IsOK(res2)) {
14970 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VarHVScrollHelper_ScrollToRowColumn" "', expected argument " "2"" of type '" "wxPosition const &""'");
14971 }
14972 if (!argp2) {
14973 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VarHVScrollHelper_ScrollToRowColumn" "', expected argument " "2"" of type '" "wxPosition const &""'");
14974 }
14975 arg2 = reinterpret_cast< wxPosition * >(argp2);
14976 {
14977 PyThreadState* __tstate = wxPyBeginAllowThreads();
14978 result = (bool)(arg1)->ScrollToRowColumn((wxPosition const &)*arg2);
14979 wxPyEndAllowThreads(__tstate);
14980 if (PyErr_Occurred()) SWIG_fail;
14981 }
14982 {
14983 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14984 }
14985 return resultobj;
14986 fail:
14987 return NULL;
14988 }
14989
14990
14991 SWIGINTERN PyObject *_wrap_VarHVScrollHelper_RefreshRowColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14992 PyObject *resultobj = 0;
14993 wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ;
14994 wxPosition *arg2 = 0 ;
14995 void *argp1 = 0 ;
14996 int res1 = 0 ;
14997 void *argp2 = 0 ;
14998 int res2 = 0 ;
14999 PyObject * obj0 = 0 ;
15000 PyObject * obj1 = 0 ;
15001 char * kwnames[] = {
15002 (char *) "self",(char *) "pos", NULL
15003 };
15004
15005 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHVScrollHelper_RefreshRowColumn",kwnames,&obj0,&obj1)) SWIG_fail;
15006 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 );
15007 if (!SWIG_IsOK(res1)) {
15008 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_RefreshRowColumn" "', expected argument " "1"" of type '" "wxVarHVScrollHelper *""'");
15009 }
15010 arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1);
15011 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPosition, 0 | 0);
15012 if (!SWIG_IsOK(res2)) {
15013 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VarHVScrollHelper_RefreshRowColumn" "', expected argument " "2"" of type '" "wxPosition const &""'");
15014 }
15015 if (!argp2) {
15016 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VarHVScrollHelper_RefreshRowColumn" "', expected argument " "2"" of type '" "wxPosition const &""'");
15017 }
15018 arg2 = reinterpret_cast< wxPosition * >(argp2);
15019 {
15020 PyThreadState* __tstate = wxPyBeginAllowThreads();
15021 (arg1)->RefreshRowColumn((wxPosition const &)*arg2);
15022 wxPyEndAllowThreads(__tstate);
15023 if (PyErr_Occurred()) SWIG_fail;
15024 }
15025 resultobj = SWIG_Py_Void();
15026 return resultobj;
15027 fail:
15028 return NULL;
15029 }
15030
15031
15032 SWIGINTERN PyObject *_wrap_VarHVScrollHelper_RefreshRowsColumns(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15033 PyObject *resultobj = 0;
15034 wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ;
15035 wxPosition *arg2 = 0 ;
15036 wxPosition *arg3 = 0 ;
15037 void *argp1 = 0 ;
15038 int res1 = 0 ;
15039 void *argp2 = 0 ;
15040 int res2 = 0 ;
15041 void *argp3 = 0 ;
15042 int res3 = 0 ;
15043 PyObject * obj0 = 0 ;
15044 PyObject * obj1 = 0 ;
15045 PyObject * obj2 = 0 ;
15046 char * kwnames[] = {
15047 (char *) "self",(char *) "from",(char *) "to", NULL
15048 };
15049
15050 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VarHVScrollHelper_RefreshRowsColumns",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15051 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 );
15052 if (!SWIG_IsOK(res1)) {
15053 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_RefreshRowsColumns" "', expected argument " "1"" of type '" "wxVarHVScrollHelper *""'");
15054 }
15055 arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1);
15056 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPosition, 0 | 0);
15057 if (!SWIG_IsOK(res2)) {
15058 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VarHVScrollHelper_RefreshRowsColumns" "', expected argument " "2"" of type '" "wxPosition const &""'");
15059 }
15060 if (!argp2) {
15061 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VarHVScrollHelper_RefreshRowsColumns" "', expected argument " "2"" of type '" "wxPosition const &""'");
15062 }
15063 arg2 = reinterpret_cast< wxPosition * >(argp2);
15064 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxPosition, 0 | 0);
15065 if (!SWIG_IsOK(res3)) {
15066 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "VarHVScrollHelper_RefreshRowsColumns" "', expected argument " "3"" of type '" "wxPosition const &""'");
15067 }
15068 if (!argp3) {
15069 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VarHVScrollHelper_RefreshRowsColumns" "', expected argument " "3"" of type '" "wxPosition const &""'");
15070 }
15071 arg3 = reinterpret_cast< wxPosition * >(argp3);
15072 {
15073 PyThreadState* __tstate = wxPyBeginAllowThreads();
15074 (arg1)->RefreshRowsColumns((wxPosition const &)*arg2,(wxPosition const &)*arg3);
15075 wxPyEndAllowThreads(__tstate);
15076 if (PyErr_Occurred()) SWIG_fail;
15077 }
15078 resultobj = SWIG_Py_Void();
15079 return resultobj;
15080 fail:
15081 return NULL;
15082 }
15083
15084
15085 SWIGINTERN PyObject *_wrap_VarHVScrollHelper_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15086 PyObject *resultobj = 0;
15087 wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ;
15088 wxPoint *arg2 = 0 ;
15089 wxPosition result;
15090 void *argp1 = 0 ;
15091 int res1 = 0 ;
15092 wxPoint temp2 ;
15093 PyObject * obj0 = 0 ;
15094 PyObject * obj1 = 0 ;
15095 char * kwnames[] = {
15096 (char *) "self",(char *) "pos", NULL
15097 };
15098
15099 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHVScrollHelper_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
15100 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 );
15101 if (!SWIG_IsOK(res1)) {
15102 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_HitTest" "', expected argument " "1"" of type '" "wxVarHVScrollHelper const *""'");
15103 }
15104 arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1);
15105 {
15106 arg2 = &temp2;
15107 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15108 }
15109 {
15110 PyThreadState* __tstate = wxPyBeginAllowThreads();
15111 result = ((wxVarHVScrollHelper const *)arg1)->HitTest((wxPoint const &)*arg2);
15112 wxPyEndAllowThreads(__tstate);
15113 if (PyErr_Occurred()) SWIG_fail;
15114 }
15115 resultobj = SWIG_NewPointerObj((new wxPosition(static_cast< const wxPosition& >(result))), SWIGTYPE_p_wxPosition, SWIG_POINTER_OWN | 0 );
15116 return resultobj;
15117 fail:
15118 return NULL;
15119 }
15120
15121
15122 SWIGINTERN PyObject *_wrap_VarHVScrollHelper_ScrollLayout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15123 PyObject *resultobj = 0;
15124 wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ;
15125 bool result;
15126 void *argp1 = 0 ;
15127 int res1 = 0 ;
15128 PyObject *swig_obj[1] ;
15129
15130 if (!args) SWIG_fail;
15131 swig_obj[0] = args;
15132 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 );
15133 if (!SWIG_IsOK(res1)) {
15134 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_ScrollLayout" "', expected argument " "1"" of type '" "wxVarHVScrollHelper *""'");
15135 }
15136 arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1);
15137 {
15138 PyThreadState* __tstate = wxPyBeginAllowThreads();
15139 result = (bool)(arg1)->ScrollLayout();
15140 wxPyEndAllowThreads(__tstate);
15141 if (PyErr_Occurred()) SWIG_fail;
15142 }
15143 {
15144 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15145 }
15146 return resultobj;
15147 fail:
15148 return NULL;
15149 }
15150
15151
15152 SWIGINTERN PyObject *_wrap_VarHVScrollHelper_GetRowColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15153 PyObject *resultobj = 0;
15154 wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ;
15155 wxSize result;
15156 void *argp1 = 0 ;
15157 int res1 = 0 ;
15158 PyObject *swig_obj[1] ;
15159
15160 if (!args) SWIG_fail;
15161 swig_obj[0] = args;
15162 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 );
15163 if (!SWIG_IsOK(res1)) {
15164 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_GetRowColumnCount" "', expected argument " "1"" of type '" "wxVarHVScrollHelper const *""'");
15165 }
15166 arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1);
15167 {
15168 PyThreadState* __tstate = wxPyBeginAllowThreads();
15169 result = ((wxVarHVScrollHelper const *)arg1)->GetRowColumnCount();
15170 wxPyEndAllowThreads(__tstate);
15171 if (PyErr_Occurred()) SWIG_fail;
15172 }
15173 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
15174 return resultobj;
15175 fail:
15176 return NULL;
15177 }
15178
15179
15180 SWIGINTERN PyObject *_wrap_VarHVScrollHelper_GetVisibleBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15181 PyObject *resultobj = 0;
15182 wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ;
15183 wxPosition result;
15184 void *argp1 = 0 ;
15185 int res1 = 0 ;
15186 PyObject *swig_obj[1] ;
15187
15188 if (!args) SWIG_fail;
15189 swig_obj[0] = args;
15190 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 );
15191 if (!SWIG_IsOK(res1)) {
15192 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_GetVisibleBegin" "', expected argument " "1"" of type '" "wxVarHVScrollHelper const *""'");
15193 }
15194 arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1);
15195 {
15196 PyThreadState* __tstate = wxPyBeginAllowThreads();
15197 result = ((wxVarHVScrollHelper const *)arg1)->GetVisibleBegin();
15198 wxPyEndAllowThreads(__tstate);
15199 if (PyErr_Occurred()) SWIG_fail;
15200 }
15201 resultobj = SWIG_NewPointerObj((new wxPosition(static_cast< const wxPosition& >(result))), SWIGTYPE_p_wxPosition, SWIG_POINTER_OWN | 0 );
15202 return resultobj;
15203 fail:
15204 return NULL;
15205 }
15206
15207
15208 SWIGINTERN PyObject *_wrap_VarHVScrollHelper_GetVisibleEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15209 PyObject *resultobj = 0;
15210 wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ;
15211 wxPosition result;
15212 void *argp1 = 0 ;
15213 int res1 = 0 ;
15214 PyObject *swig_obj[1] ;
15215
15216 if (!args) SWIG_fail;
15217 swig_obj[0] = args;
15218 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 );
15219 if (!SWIG_IsOK(res1)) {
15220 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_GetVisibleEnd" "', expected argument " "1"" of type '" "wxVarHVScrollHelper const *""'");
15221 }
15222 arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1);
15223 {
15224 PyThreadState* __tstate = wxPyBeginAllowThreads();
15225 result = ((wxVarHVScrollHelper const *)arg1)->GetVisibleEnd();
15226 wxPyEndAllowThreads(__tstate);
15227 if (PyErr_Occurred()) SWIG_fail;
15228 }
15229 resultobj = SWIG_NewPointerObj((new wxPosition(static_cast< const wxPosition& >(result))), SWIGTYPE_p_wxPosition, SWIG_POINTER_OWN | 0 );
15230 return resultobj;
15231 fail:
15232 return NULL;
15233 }
15234
15235
15236 SWIGINTERN PyObject *_wrap_VarHVScrollHelper_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15237 PyObject *resultobj = 0;
15238 wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ;
15239 wxPosition *arg2 = 0 ;
15240 bool result;
15241 void *argp1 = 0 ;
15242 int res1 = 0 ;
15243 void *argp2 = 0 ;
15244 int res2 = 0 ;
15245 PyObject * obj0 = 0 ;
15246 PyObject * obj1 = 0 ;
15247 char * kwnames[] = {
15248 (char *) "self",(char *) "pos", NULL
15249 };
15250
15251 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHVScrollHelper_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
15252 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 );
15253 if (!SWIG_IsOK(res1)) {
15254 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_IsVisible" "', expected argument " "1"" of type '" "wxVarHVScrollHelper const *""'");
15255 }
15256 arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1);
15257 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPosition, 0 | 0);
15258 if (!SWIG_IsOK(res2)) {
15259 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VarHVScrollHelper_IsVisible" "', expected argument " "2"" of type '" "wxPosition const &""'");
15260 }
15261 if (!argp2) {
15262 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VarHVScrollHelper_IsVisible" "', expected argument " "2"" of type '" "wxPosition const &""'");
15263 }
15264 arg2 = reinterpret_cast< wxPosition * >(argp2);
15265 {
15266 PyThreadState* __tstate = wxPyBeginAllowThreads();
15267 result = (bool)((wxVarHVScrollHelper const *)arg1)->IsVisible((wxPosition const &)*arg2);
15268 wxPyEndAllowThreads(__tstate);
15269 if (PyErr_Occurred()) SWIG_fail;
15270 }
15271 {
15272 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15273 }
15274 return resultobj;
15275 fail:
15276 return NULL;
15277 }
15278
15279
15280 SWIGINTERN PyObject *VarHVScrollHelper_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15281 PyObject *obj;
15282 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15283 SWIG_TypeNewClientData(SWIGTYPE_p_wxVarHVScrollHelper, SWIG_NewClientData(obj));
15284 return SWIG_Py_Void();
15285 }
15286
15287 SWIGINTERN PyObject *_wrap_new_VScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15288 PyObject *resultobj = 0;
15289 wxWindow *arg1 = (wxWindow *) 0 ;
15290 int arg2 = (int) wxID_ANY ;
15291 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15292 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15293 wxSize const &arg4_defvalue = wxDefaultSize ;
15294 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15295 long arg5 = (long) 0 ;
15296 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15297 wxString *arg6 = (wxString *) &arg6_defvalue ;
15298 wxPyVScrolledWindow *result = 0 ;
15299 void *argp1 = 0 ;
15300 int res1 = 0 ;
15301 int val2 ;
15302 int ecode2 = 0 ;
15303 wxPoint temp3 ;
15304 wxSize temp4 ;
15305 long val5 ;
15306 int ecode5 = 0 ;
15307 bool temp6 = false ;
15308 PyObject * obj0 = 0 ;
15309 PyObject * obj1 = 0 ;
15310 PyObject * obj2 = 0 ;
15311 PyObject * obj3 = 0 ;
15312 PyObject * obj4 = 0 ;
15313 PyObject * obj5 = 0 ;
15314 char * kwnames[] = {
15315 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15316 };
15317
15318 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
15319 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15320 if (!SWIG_IsOK(res1)) {
15321 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
15322 }
15323 arg1 = reinterpret_cast< wxWindow * >(argp1);
15324 if (obj1) {
15325 ecode2 = SWIG_AsVal_int(obj1, &val2);
15326 if (!SWIG_IsOK(ecode2)) {
15327 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
15328 }
15329 arg2 = static_cast< int >(val2);
15330 }
15331 if (obj2) {
15332 {
15333 arg3 = &temp3;
15334 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15335 }
15336 }
15337 if (obj3) {
15338 {
15339 arg4 = &temp4;
15340 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15341 }
15342 }
15343 if (obj4) {
15344 ecode5 = SWIG_AsVal_long(obj4, &val5);
15345 if (!SWIG_IsOK(ecode5)) {
15346 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
15347 }
15348 arg5 = static_cast< long >(val5);
15349 }
15350 if (obj5) {
15351 {
15352 arg6 = wxString_in_helper(obj5);
15353 if (arg6 == NULL) SWIG_fail;
15354 temp6 = true;
15355 }
15356 }
15357 {
15358 if (!wxPyCheckForApp()) SWIG_fail;
15359 PyThreadState* __tstate = wxPyBeginAllowThreads();
15360 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15361 wxPyEndAllowThreads(__tstate);
15362 if (PyErr_Occurred()) SWIG_fail;
15363 }
15364 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_NEW | 0 );
15365 {
15366 if (temp6)
15367 delete arg6;
15368 }
15369 return resultobj;
15370 fail:
15371 {
15372 if (temp6)
15373 delete arg6;
15374 }
15375 return NULL;
15376 }
15377
15378
15379 SWIGINTERN PyObject *_wrap_new_PreVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15380 PyObject *resultobj = 0;
15381 wxPyVScrolledWindow *result = 0 ;
15382
15383 if (!SWIG_Python_UnpackTuple(args,"new_PreVScrolledWindow",0,0,0)) SWIG_fail;
15384 {
15385 if (!wxPyCheckForApp()) SWIG_fail;
15386 PyThreadState* __tstate = wxPyBeginAllowThreads();
15387 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
15388 wxPyEndAllowThreads(__tstate);
15389 if (PyErr_Occurred()) SWIG_fail;
15390 }
15391 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_OWN | 0 );
15392 return resultobj;
15393 fail:
15394 return NULL;
15395 }
15396
15397
15398 SWIGINTERN PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15399 PyObject *resultobj = 0;
15400 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
15401 PyObject *arg2 = (PyObject *) 0 ;
15402 PyObject *arg3 = (PyObject *) 0 ;
15403 void *argp1 = 0 ;
15404 int res1 = 0 ;
15405 PyObject * obj0 = 0 ;
15406 PyObject * obj1 = 0 ;
15407 PyObject * obj2 = 0 ;
15408 char * kwnames[] = {
15409 (char *) "self",(char *) "self",(char *) "_class", NULL
15410 };
15411
15412 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15413 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
15414 if (!SWIG_IsOK(res1)) {
15415 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
15416 }
15417 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
15418 arg2 = obj1;
15419 arg3 = obj2;
15420 {
15421 PyThreadState* __tstate = wxPyBeginAllowThreads();
15422 (arg1)->_setCallbackInfo(arg2,arg3);
15423 wxPyEndAllowThreads(__tstate);
15424 if (PyErr_Occurred()) SWIG_fail;
15425 }
15426 resultobj = SWIG_Py_Void();
15427 return resultobj;
15428 fail:
15429 return NULL;
15430 }
15431
15432
15433 SWIGINTERN PyObject *_wrap_VScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15434 PyObject *resultobj = 0;
15435 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
15436 wxWindow *arg2 = (wxWindow *) 0 ;
15437 int arg3 = (int) wxID_ANY ;
15438 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15439 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15440 wxSize const &arg5_defvalue = wxDefaultSize ;
15441 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15442 long arg6 = (long) 0 ;
15443 wxString const &arg7_defvalue = wxPyPanelNameStr ;
15444 wxString *arg7 = (wxString *) &arg7_defvalue ;
15445 bool result;
15446 void *argp1 = 0 ;
15447 int res1 = 0 ;
15448 void *argp2 = 0 ;
15449 int res2 = 0 ;
15450 int val3 ;
15451 int ecode3 = 0 ;
15452 wxPoint temp4 ;
15453 wxSize temp5 ;
15454 long val6 ;
15455 int ecode6 = 0 ;
15456 bool temp7 = false ;
15457 PyObject * obj0 = 0 ;
15458 PyObject * obj1 = 0 ;
15459 PyObject * obj2 = 0 ;
15460 PyObject * obj3 = 0 ;
15461 PyObject * obj4 = 0 ;
15462 PyObject * obj5 = 0 ;
15463 PyObject * obj6 = 0 ;
15464 char * kwnames[] = {
15465 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15466 };
15467
15468 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
15469 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
15470 if (!SWIG_IsOK(res1)) {
15471 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
15472 }
15473 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
15474 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15475 if (!SWIG_IsOK(res2)) {
15476 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15477 }
15478 arg2 = reinterpret_cast< wxWindow * >(argp2);
15479 if (obj2) {
15480 ecode3 = SWIG_AsVal_int(obj2, &val3);
15481 if (!SWIG_IsOK(ecode3)) {
15482 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
15483 }
15484 arg3 = static_cast< int >(val3);
15485 }
15486 if (obj3) {
15487 {
15488 arg4 = &temp4;
15489 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15490 }
15491 }
15492 if (obj4) {
15493 {
15494 arg5 = &temp5;
15495 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15496 }
15497 }
15498 if (obj5) {
15499 ecode6 = SWIG_AsVal_long(obj5, &val6);
15500 if (!SWIG_IsOK(ecode6)) {
15501 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
15502 }
15503 arg6 = static_cast< long >(val6);
15504 }
15505 if (obj6) {
15506 {
15507 arg7 = wxString_in_helper(obj6);
15508 if (arg7 == NULL) SWIG_fail;
15509 temp7 = true;
15510 }
15511 }
15512 {
15513 PyThreadState* __tstate = wxPyBeginAllowThreads();
15514 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15515 wxPyEndAllowThreads(__tstate);
15516 if (PyErr_Occurred()) SWIG_fail;
15517 }
15518 {
15519 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15520 }
15521 {
15522 if (temp7)
15523 delete arg7;
15524 }
15525 return resultobj;
15526 fail:
15527 {
15528 if (temp7)
15529 delete arg7;
15530 }
15531 return NULL;
15532 }
15533
15534
15535 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetRowsHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15536 PyObject *resultobj = 0;
15537 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
15538 size_t arg2 ;
15539 size_t arg3 ;
15540 int result;
15541 void *argp1 = 0 ;
15542 int res1 = 0 ;
15543 size_t val2 ;
15544 int ecode2 = 0 ;
15545 size_t val3 ;
15546 int ecode3 = 0 ;
15547 PyObject * obj0 = 0 ;
15548 PyObject * obj1 = 0 ;
15549 PyObject * obj2 = 0 ;
15550 char * kwnames[] = {
15551 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
15552 };
15553
15554 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_GetRowsHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15555 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
15556 if (!SWIG_IsOK(res1)) {
15557 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetRowsHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
15558 }
15559 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
15560 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15561 if (!SWIG_IsOK(ecode2)) {
15562 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_GetRowsHeight" "', expected argument " "2"" of type '" "size_t""'");
15563 }
15564 arg2 = static_cast< size_t >(val2);
15565 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
15566 if (!SWIG_IsOK(ecode3)) {
15567 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_GetRowsHeight" "', expected argument " "3"" of type '" "size_t""'");
15568 }
15569 arg3 = static_cast< size_t >(val3);
15570 {
15571 PyThreadState* __tstate = wxPyBeginAllowThreads();
15572 result = (int)((wxPyVScrolledWindow const *)arg1)->GetRowsHeight(arg2,arg3);
15573 wxPyEndAllowThreads(__tstate);
15574 if (PyErr_Occurred()) SWIG_fail;
15575 }
15576 resultobj = SWIG_From_int(static_cast< int >(result));
15577 return resultobj;
15578 fail:
15579 return NULL;
15580 }
15581
15582
15583 SWIGINTERN PyObject *_wrap_VScrolledWindow_EstimateTotalHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15584 PyObject *resultobj = 0;
15585 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
15586 int result;
15587 void *argp1 = 0 ;
15588 int res1 = 0 ;
15589 PyObject *swig_obj[1] ;
15590
15591 if (!args) SWIG_fail;
15592 swig_obj[0] = args;
15593 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
15594 if (!SWIG_IsOK(res1)) {
15595 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_EstimateTotalHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
15596 }
15597 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
15598 {
15599 PyThreadState* __tstate = wxPyBeginAllowThreads();
15600 result = (int)((wxPyVScrolledWindow const *)arg1)->EstimateTotalHeight();
15601 wxPyEndAllowThreads(__tstate);
15602 if (PyErr_Occurred()) SWIG_fail;
15603 }
15604 resultobj = SWIG_From_int(static_cast< int >(result));
15605 return resultobj;
15606 fail:
15607 return NULL;
15608 }
15609
15610
15611 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15612 PyObject *resultobj = 0;
15613 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
15614 wxPoint *arg2 = 0 ;
15615 int result;
15616 void *argp1 = 0 ;
15617 int res1 = 0 ;
15618 wxPoint temp2 ;
15619 PyObject * obj0 = 0 ;
15620 PyObject * obj1 = 0 ;
15621 char * kwnames[] = {
15622 (char *) "self",(char *) "pt", NULL
15623 };
15624
15625 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
15626 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
15627 if (!SWIG_IsOK(res1)) {
15628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
15629 }
15630 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
15631 {
15632 arg2 = &temp2;
15633 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15634 }
15635 {
15636 PyThreadState* __tstate = wxPyBeginAllowThreads();
15637 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
15638 wxPyEndAllowThreads(__tstate);
15639 if (PyErr_Occurred()) SWIG_fail;
15640 }
15641 resultobj = SWIG_From_int(static_cast< int >(result));
15642 return resultobj;
15643 fail:
15644 return NULL;
15645 }
15646
15647
15648 SWIGINTERN PyObject *VScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15649 PyObject *obj;
15650 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15651 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow, SWIG_NewClientData(obj));
15652 return SWIG_Py_Void();
15653 }
15654
15655 SWIGINTERN PyObject *VScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15656 return SWIG_Python_InitShadowInstance(args);
15657 }
15658
15659 SWIGINTERN PyObject *_wrap_new_HScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15660 PyObject *resultobj = 0;
15661 wxWindow *arg1 = (wxWindow *) 0 ;
15662 int arg2 = (int) wxID_ANY ;
15663 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15664 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15665 wxSize const &arg4_defvalue = wxDefaultSize ;
15666 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15667 long arg5 = (long) 0 ;
15668 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15669 wxString *arg6 = (wxString *) &arg6_defvalue ;
15670 wxPyHScrolledWindow *result = 0 ;
15671 void *argp1 = 0 ;
15672 int res1 = 0 ;
15673 int val2 ;
15674 int ecode2 = 0 ;
15675 wxPoint temp3 ;
15676 wxSize temp4 ;
15677 long val5 ;
15678 int ecode5 = 0 ;
15679 bool temp6 = false ;
15680 PyObject * obj0 = 0 ;
15681 PyObject * obj1 = 0 ;
15682 PyObject * obj2 = 0 ;
15683 PyObject * obj3 = 0 ;
15684 PyObject * obj4 = 0 ;
15685 PyObject * obj5 = 0 ;
15686 char * kwnames[] = {
15687 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15688 };
15689
15690 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
15691 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15692 if (!SWIG_IsOK(res1)) {
15693 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
15694 }
15695 arg1 = reinterpret_cast< wxWindow * >(argp1);
15696 if (obj1) {
15697 ecode2 = SWIG_AsVal_int(obj1, &val2);
15698 if (!SWIG_IsOK(ecode2)) {
15699 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HScrolledWindow" "', expected argument " "2"" of type '" "int""'");
15700 }
15701 arg2 = static_cast< int >(val2);
15702 }
15703 if (obj2) {
15704 {
15705 arg3 = &temp3;
15706 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15707 }
15708 }
15709 if (obj3) {
15710 {
15711 arg4 = &temp4;
15712 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15713 }
15714 }
15715 if (obj4) {
15716 ecode5 = SWIG_AsVal_long(obj4, &val5);
15717 if (!SWIG_IsOK(ecode5)) {
15718 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HScrolledWindow" "', expected argument " "5"" of type '" "long""'");
15719 }
15720 arg5 = static_cast< long >(val5);
15721 }
15722 if (obj5) {
15723 {
15724 arg6 = wxString_in_helper(obj5);
15725 if (arg6 == NULL) SWIG_fail;
15726 temp6 = true;
15727 }
15728 }
15729 {
15730 if (!wxPyCheckForApp()) SWIG_fail;
15731 PyThreadState* __tstate = wxPyBeginAllowThreads();
15732 result = (wxPyHScrolledWindow *)new wxPyHScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15733 wxPyEndAllowThreads(__tstate);
15734 if (PyErr_Occurred()) SWIG_fail;
15735 }
15736 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHScrolledWindow, SWIG_POINTER_NEW | 0 );
15737 {
15738 if (temp6)
15739 delete arg6;
15740 }
15741 return resultobj;
15742 fail:
15743 {
15744 if (temp6)
15745 delete arg6;
15746 }
15747 return NULL;
15748 }
15749
15750
15751 SWIGINTERN PyObject *_wrap_new_PreHScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15752 PyObject *resultobj = 0;
15753 wxPyHScrolledWindow *result = 0 ;
15754
15755 if (!SWIG_Python_UnpackTuple(args,"new_PreHScrolledWindow",0,0,0)) SWIG_fail;
15756 {
15757 if (!wxPyCheckForApp()) SWIG_fail;
15758 PyThreadState* __tstate = wxPyBeginAllowThreads();
15759 result = (wxPyHScrolledWindow *)new wxPyHScrolledWindow();
15760 wxPyEndAllowThreads(__tstate);
15761 if (PyErr_Occurred()) SWIG_fail;
15762 }
15763 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHScrolledWindow, SWIG_POINTER_OWN | 0 );
15764 return resultobj;
15765 fail:
15766 return NULL;
15767 }
15768
15769
15770 SWIGINTERN PyObject *_wrap_HScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15771 PyObject *resultobj = 0;
15772 wxPyHScrolledWindow *arg1 = (wxPyHScrolledWindow *) 0 ;
15773 PyObject *arg2 = (PyObject *) 0 ;
15774 PyObject *arg3 = (PyObject *) 0 ;
15775 void *argp1 = 0 ;
15776 int res1 = 0 ;
15777 PyObject * obj0 = 0 ;
15778 PyObject * obj1 = 0 ;
15779 PyObject * obj2 = 0 ;
15780 char * kwnames[] = {
15781 (char *) "self",(char *) "self",(char *) "_class", NULL
15782 };
15783
15784 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15785 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHScrolledWindow, 0 | 0 );
15786 if (!SWIG_IsOK(res1)) {
15787 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHScrolledWindow *""'");
15788 }
15789 arg1 = reinterpret_cast< wxPyHScrolledWindow * >(argp1);
15790 arg2 = obj1;
15791 arg3 = obj2;
15792 {
15793 PyThreadState* __tstate = wxPyBeginAllowThreads();
15794 (arg1)->_setCallbackInfo(arg2,arg3);
15795 wxPyEndAllowThreads(__tstate);
15796 if (PyErr_Occurred()) SWIG_fail;
15797 }
15798 resultobj = SWIG_Py_Void();
15799 return resultobj;
15800 fail:
15801 return NULL;
15802 }
15803
15804
15805 SWIGINTERN PyObject *_wrap_HScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15806 PyObject *resultobj = 0;
15807 wxPyHScrolledWindow *arg1 = (wxPyHScrolledWindow *) 0 ;
15808 wxWindow *arg2 = (wxWindow *) 0 ;
15809 int arg3 = (int) wxID_ANY ;
15810 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15811 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15812 wxSize const &arg5_defvalue = wxDefaultSize ;
15813 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15814 long arg6 = (long) 0 ;
15815 wxString const &arg7_defvalue = wxPyPanelNameStr ;
15816 wxString *arg7 = (wxString *) &arg7_defvalue ;
15817 bool result;
15818 void *argp1 = 0 ;
15819 int res1 = 0 ;
15820 void *argp2 = 0 ;
15821 int res2 = 0 ;
15822 int val3 ;
15823 int ecode3 = 0 ;
15824 wxPoint temp4 ;
15825 wxSize temp5 ;
15826 long val6 ;
15827 int ecode6 = 0 ;
15828 bool temp7 = false ;
15829 PyObject * obj0 = 0 ;
15830 PyObject * obj1 = 0 ;
15831 PyObject * obj2 = 0 ;
15832 PyObject * obj3 = 0 ;
15833 PyObject * obj4 = 0 ;
15834 PyObject * obj5 = 0 ;
15835 PyObject * obj6 = 0 ;
15836 char * kwnames[] = {
15837 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15838 };
15839
15840 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
15841 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHScrolledWindow, 0 | 0 );
15842 if (!SWIG_IsOK(res1)) {
15843 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyHScrolledWindow *""'");
15844 }
15845 arg1 = reinterpret_cast< wxPyHScrolledWindow * >(argp1);
15846 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15847 if (!SWIG_IsOK(res2)) {
15848 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15849 }
15850 arg2 = reinterpret_cast< wxWindow * >(argp2);
15851 if (obj2) {
15852 ecode3 = SWIG_AsVal_int(obj2, &val3);
15853 if (!SWIG_IsOK(ecode3)) {
15854 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
15855 }
15856 arg3 = static_cast< int >(val3);
15857 }
15858 if (obj3) {
15859 {
15860 arg4 = &temp4;
15861 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15862 }
15863 }
15864 if (obj4) {
15865 {
15866 arg5 = &temp5;
15867 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15868 }
15869 }
15870 if (obj5) {
15871 ecode6 = SWIG_AsVal_long(obj5, &val6);
15872 if (!SWIG_IsOK(ecode6)) {
15873 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
15874 }
15875 arg6 = static_cast< long >(val6);
15876 }
15877 if (obj6) {
15878 {
15879 arg7 = wxString_in_helper(obj6);
15880 if (arg7 == NULL) SWIG_fail;
15881 temp7 = true;
15882 }
15883 }
15884 {
15885 PyThreadState* __tstate = wxPyBeginAllowThreads();
15886 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15887 wxPyEndAllowThreads(__tstate);
15888 if (PyErr_Occurred()) SWIG_fail;
15889 }
15890 {
15891 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15892 }
15893 {
15894 if (temp7)
15895 delete arg7;
15896 }
15897 return resultobj;
15898 fail:
15899 {
15900 if (temp7)
15901 delete arg7;
15902 }
15903 return NULL;
15904 }
15905
15906
15907 SWIGINTERN PyObject *_wrap_HScrolledWindow_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15908 PyObject *resultobj = 0;
15909 wxPyHScrolledWindow *arg1 = (wxPyHScrolledWindow *) 0 ;
15910 wxPoint *arg2 = 0 ;
15911 int result;
15912 void *argp1 = 0 ;
15913 int res1 = 0 ;
15914 wxPoint temp2 ;
15915 PyObject * obj0 = 0 ;
15916 PyObject * obj1 = 0 ;
15917 char * kwnames[] = {
15918 (char *) "self",(char *) "pt", NULL
15919 };
15920
15921 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HScrolledWindow_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
15922 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHScrolledWindow, 0 | 0 );
15923 if (!SWIG_IsOK(res1)) {
15924 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyHScrolledWindow const *""'");
15925 }
15926 arg1 = reinterpret_cast< wxPyHScrolledWindow * >(argp1);
15927 {
15928 arg2 = &temp2;
15929 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15930 }
15931 {
15932 PyThreadState* __tstate = wxPyBeginAllowThreads();
15933 result = (int)((wxPyHScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
15934 wxPyEndAllowThreads(__tstate);
15935 if (PyErr_Occurred()) SWIG_fail;
15936 }
15937 resultobj = SWIG_From_int(static_cast< int >(result));
15938 return resultobj;
15939 fail:
15940 return NULL;
15941 }
15942
15943
15944 SWIGINTERN PyObject *_wrap_HScrolledWindow_GetColumnsWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15945 PyObject *resultobj = 0;
15946 wxPyHScrolledWindow *arg1 = (wxPyHScrolledWindow *) 0 ;
15947 size_t arg2 ;
15948 size_t arg3 ;
15949 int result;
15950 void *argp1 = 0 ;
15951 int res1 = 0 ;
15952 size_t val2 ;
15953 int ecode2 = 0 ;
15954 size_t val3 ;
15955 int ecode3 = 0 ;
15956 PyObject * obj0 = 0 ;
15957 PyObject * obj1 = 0 ;
15958 PyObject * obj2 = 0 ;
15959 char * kwnames[] = {
15960 (char *) "self",(char *) "columnMin",(char *) "columnMax", NULL
15961 };
15962
15963 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HScrolledWindow_GetColumnsWidth",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15964 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHScrolledWindow, 0 | 0 );
15965 if (!SWIG_IsOK(res1)) {
15966 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HScrolledWindow_GetColumnsWidth" "', expected argument " "1"" of type '" "wxPyHScrolledWindow const *""'");
15967 }
15968 arg1 = reinterpret_cast< wxPyHScrolledWindow * >(argp1);
15969 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15970 if (!SWIG_IsOK(ecode2)) {
15971 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HScrolledWindow_GetColumnsWidth" "', expected argument " "2"" of type '" "size_t""'");
15972 }
15973 arg2 = static_cast< size_t >(val2);
15974 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
15975 if (!SWIG_IsOK(ecode3)) {
15976 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HScrolledWindow_GetColumnsWidth" "', expected argument " "3"" of type '" "size_t""'");
15977 }
15978 arg3 = static_cast< size_t >(val3);
15979 {
15980 PyThreadState* __tstate = wxPyBeginAllowThreads();
15981 result = (int)((wxPyHScrolledWindow const *)arg1)->GetColumnsWidth(arg2,arg3);
15982 wxPyEndAllowThreads(__tstate);
15983 if (PyErr_Occurred()) SWIG_fail;
15984 }
15985 resultobj = SWIG_From_int(static_cast< int >(result));
15986 return resultobj;
15987 fail:
15988 return NULL;
15989 }
15990
15991
15992 SWIGINTERN PyObject *_wrap_HScrolledWindow_EstimateTotalWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15993 PyObject *resultobj = 0;
15994 wxPyHScrolledWindow *arg1 = (wxPyHScrolledWindow *) 0 ;
15995 int result;
15996 void *argp1 = 0 ;
15997 int res1 = 0 ;
15998 PyObject *swig_obj[1] ;
15999
16000 if (!args) SWIG_fail;
16001 swig_obj[0] = args;
16002 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHScrolledWindow, 0 | 0 );
16003 if (!SWIG_IsOK(res1)) {
16004 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HScrolledWindow_EstimateTotalWidth" "', expected argument " "1"" of type '" "wxPyHScrolledWindow const *""'");
16005 }
16006 arg1 = reinterpret_cast< wxPyHScrolledWindow * >(argp1);
16007 {
16008 PyThreadState* __tstate = wxPyBeginAllowThreads();
16009 result = (int)((wxPyHScrolledWindow const *)arg1)->EstimateTotalWidth();
16010 wxPyEndAllowThreads(__tstate);
16011 if (PyErr_Occurred()) SWIG_fail;
16012 }
16013 resultobj = SWIG_From_int(static_cast< int >(result));
16014 return resultobj;
16015 fail:
16016 return NULL;
16017 }
16018
16019
16020 SWIGINTERN PyObject *HScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16021 PyObject *obj;
16022 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16023 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHScrolledWindow, SWIG_NewClientData(obj));
16024 return SWIG_Py_Void();
16025 }
16026
16027 SWIGINTERN PyObject *HScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16028 return SWIG_Python_InitShadowInstance(args);
16029 }
16030
16031 SWIGINTERN PyObject *_wrap_new_HVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16032 PyObject *resultobj = 0;
16033 wxWindow *arg1 = (wxWindow *) 0 ;
16034 int arg2 = (int) wxID_ANY ;
16035 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16036 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16037 wxSize const &arg4_defvalue = wxDefaultSize ;
16038 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
16039 long arg5 = (long) 0 ;
16040 wxString const &arg6_defvalue = wxPyPanelNameStr ;
16041 wxString *arg6 = (wxString *) &arg6_defvalue ;
16042 wxPyHVScrolledWindow *result = 0 ;
16043 void *argp1 = 0 ;
16044 int res1 = 0 ;
16045 int val2 ;
16046 int ecode2 = 0 ;
16047 wxPoint temp3 ;
16048 wxSize temp4 ;
16049 long val5 ;
16050 int ecode5 = 0 ;
16051 bool temp6 = false ;
16052 PyObject * obj0 = 0 ;
16053 PyObject * obj1 = 0 ;
16054 PyObject * obj2 = 0 ;
16055 PyObject * obj3 = 0 ;
16056 PyObject * obj4 = 0 ;
16057 PyObject * obj5 = 0 ;
16058 char * kwnames[] = {
16059 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16060 };
16061
16062 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HVScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
16063 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16064 if (!SWIG_IsOK(res1)) {
16065 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HVScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
16066 }
16067 arg1 = reinterpret_cast< wxWindow * >(argp1);
16068 if (obj1) {
16069 ecode2 = SWIG_AsVal_int(obj1, &val2);
16070 if (!SWIG_IsOK(ecode2)) {
16071 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HVScrolledWindow" "', expected argument " "2"" of type '" "int""'");
16072 }
16073 arg2 = static_cast< int >(val2);
16074 }
16075 if (obj2) {
16076 {
16077 arg3 = &temp3;
16078 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16079 }
16080 }
16081 if (obj3) {
16082 {
16083 arg4 = &temp4;
16084 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
16085 }
16086 }
16087 if (obj4) {
16088 ecode5 = SWIG_AsVal_long(obj4, &val5);
16089 if (!SWIG_IsOK(ecode5)) {
16090 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HVScrolledWindow" "', expected argument " "5"" of type '" "long""'");
16091 }
16092 arg5 = static_cast< long >(val5);
16093 }
16094 if (obj5) {
16095 {
16096 arg6 = wxString_in_helper(obj5);
16097 if (arg6 == NULL) SWIG_fail;
16098 temp6 = true;
16099 }
16100 }
16101 {
16102 if (!wxPyCheckForApp()) SWIG_fail;
16103 PyThreadState* __tstate = wxPyBeginAllowThreads();
16104 result = (wxPyHVScrolledWindow *)new wxPyHVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
16105 wxPyEndAllowThreads(__tstate);
16106 if (PyErr_Occurred()) SWIG_fail;
16107 }
16108 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHVScrolledWindow, SWIG_POINTER_NEW | 0 );
16109 {
16110 if (temp6)
16111 delete arg6;
16112 }
16113 return resultobj;
16114 fail:
16115 {
16116 if (temp6)
16117 delete arg6;
16118 }
16119 return NULL;
16120 }
16121
16122
16123 SWIGINTERN PyObject *_wrap_new_PreHVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16124 PyObject *resultobj = 0;
16125 wxPyHVScrolledWindow *result = 0 ;
16126
16127 if (!SWIG_Python_UnpackTuple(args,"new_PreHVScrolledWindow",0,0,0)) SWIG_fail;
16128 {
16129 if (!wxPyCheckForApp()) SWIG_fail;
16130 PyThreadState* __tstate = wxPyBeginAllowThreads();
16131 result = (wxPyHVScrolledWindow *)new wxPyHVScrolledWindow();
16132 wxPyEndAllowThreads(__tstate);
16133 if (PyErr_Occurred()) SWIG_fail;
16134 }
16135 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHVScrolledWindow, SWIG_POINTER_OWN | 0 );
16136 return resultobj;
16137 fail:
16138 return NULL;
16139 }
16140
16141
16142 SWIGINTERN PyObject *_wrap_HVScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16143 PyObject *resultobj = 0;
16144 wxPyHVScrolledWindow *arg1 = (wxPyHVScrolledWindow *) 0 ;
16145 PyObject *arg2 = (PyObject *) 0 ;
16146 PyObject *arg3 = (PyObject *) 0 ;
16147 void *argp1 = 0 ;
16148 int res1 = 0 ;
16149 PyObject * obj0 = 0 ;
16150 PyObject * obj1 = 0 ;
16151 PyObject * obj2 = 0 ;
16152 char * kwnames[] = {
16153 (char *) "self",(char *) "self",(char *) "_class", NULL
16154 };
16155
16156 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HVScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16157 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHVScrolledWindow, 0 | 0 );
16158 if (!SWIG_IsOK(res1)) {
16159 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HVScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHVScrolledWindow *""'");
16160 }
16161 arg1 = reinterpret_cast< wxPyHVScrolledWindow * >(argp1);
16162 arg2 = obj1;
16163 arg3 = obj2;
16164 {
16165 PyThreadState* __tstate = wxPyBeginAllowThreads();
16166 (arg1)->_setCallbackInfo(arg2,arg3);
16167 wxPyEndAllowThreads(__tstate);
16168 if (PyErr_Occurred()) SWIG_fail;
16169 }
16170 resultobj = SWIG_Py_Void();
16171 return resultobj;
16172 fail:
16173 return NULL;
16174 }
16175
16176
16177 SWIGINTERN PyObject *_wrap_HVScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16178 PyObject *resultobj = 0;
16179 wxPyHVScrolledWindow *arg1 = (wxPyHVScrolledWindow *) 0 ;
16180 wxWindow *arg2 = (wxWindow *) 0 ;
16181 int arg3 = (int) wxID_ANY ;
16182 wxPoint const &arg4_defvalue = wxDefaultPosition ;
16183 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
16184 wxSize const &arg5_defvalue = wxDefaultSize ;
16185 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
16186 long arg6 = (long) 0 ;
16187 wxString const &arg7_defvalue = wxPyPanelNameStr ;
16188 wxString *arg7 = (wxString *) &arg7_defvalue ;
16189 bool result;
16190 void *argp1 = 0 ;
16191 int res1 = 0 ;
16192 void *argp2 = 0 ;
16193 int res2 = 0 ;
16194 int val3 ;
16195 int ecode3 = 0 ;
16196 wxPoint temp4 ;
16197 wxSize temp5 ;
16198 long val6 ;
16199 int ecode6 = 0 ;
16200 bool temp7 = false ;
16201 PyObject * obj0 = 0 ;
16202 PyObject * obj1 = 0 ;
16203 PyObject * obj2 = 0 ;
16204 PyObject * obj3 = 0 ;
16205 PyObject * obj4 = 0 ;
16206 PyObject * obj5 = 0 ;
16207 PyObject * obj6 = 0 ;
16208 char * kwnames[] = {
16209 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16210 };
16211
16212 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HVScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
16213 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHVScrolledWindow, 0 | 0 );
16214 if (!SWIG_IsOK(res1)) {
16215 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HVScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyHVScrolledWindow *""'");
16216 }
16217 arg1 = reinterpret_cast< wxPyHVScrolledWindow * >(argp1);
16218 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
16219 if (!SWIG_IsOK(res2)) {
16220 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HVScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16221 }
16222 arg2 = reinterpret_cast< wxWindow * >(argp2);
16223 if (obj2) {
16224 ecode3 = SWIG_AsVal_int(obj2, &val3);
16225 if (!SWIG_IsOK(ecode3)) {
16226 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HVScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
16227 }
16228 arg3 = static_cast< int >(val3);
16229 }
16230 if (obj3) {
16231 {
16232 arg4 = &temp4;
16233 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
16234 }
16235 }
16236 if (obj4) {
16237 {
16238 arg5 = &temp5;
16239 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
16240 }
16241 }
16242 if (obj5) {
16243 ecode6 = SWIG_AsVal_long(obj5, &val6);
16244 if (!SWIG_IsOK(ecode6)) {
16245 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HVScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
16246 }
16247 arg6 = static_cast< long >(val6);
16248 }
16249 if (obj6) {
16250 {
16251 arg7 = wxString_in_helper(obj6);
16252 if (arg7 == NULL) SWIG_fail;
16253 temp7 = true;
16254 }
16255 }
16256 {
16257 PyThreadState* __tstate = wxPyBeginAllowThreads();
16258 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
16259 wxPyEndAllowThreads(__tstate);
16260 if (PyErr_Occurred()) SWIG_fail;
16261 }
16262 {
16263 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16264 }
16265 {
16266 if (temp7)
16267 delete arg7;
16268 }
16269 return resultobj;
16270 fail:
16271 {
16272 if (temp7)
16273 delete arg7;
16274 }
16275 return NULL;
16276 }
16277
16278
16279 SWIGINTERN PyObject *_wrap_HVScrolledWindow_GetRowsHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16280 PyObject *resultobj = 0;
16281 wxPyHVScrolledWindow *arg1 = (wxPyHVScrolledWindow *) 0 ;
16282 size_t arg2 ;
16283 size_t arg3 ;
16284 int result;
16285 void *argp1 = 0 ;
16286 int res1 = 0 ;
16287 size_t val2 ;
16288 int ecode2 = 0 ;
16289 size_t val3 ;
16290 int ecode3 = 0 ;
16291 PyObject * obj0 = 0 ;
16292 PyObject * obj1 = 0 ;
16293 PyObject * obj2 = 0 ;
16294 char * kwnames[] = {
16295 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
16296 };
16297
16298 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HVScrolledWindow_GetRowsHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16299 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHVScrolledWindow, 0 | 0 );
16300 if (!SWIG_IsOK(res1)) {
16301 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HVScrolledWindow_GetRowsHeight" "', expected argument " "1"" of type '" "wxPyHVScrolledWindow const *""'");
16302 }
16303 arg1 = reinterpret_cast< wxPyHVScrolledWindow * >(argp1);
16304 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
16305 if (!SWIG_IsOK(ecode2)) {
16306 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HVScrolledWindow_GetRowsHeight" "', expected argument " "2"" of type '" "size_t""'");
16307 }
16308 arg2 = static_cast< size_t >(val2);
16309 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
16310 if (!SWIG_IsOK(ecode3)) {
16311 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HVScrolledWindow_GetRowsHeight" "', expected argument " "3"" of type '" "size_t""'");
16312 }
16313 arg3 = static_cast< size_t >(val3);
16314 {
16315 PyThreadState* __tstate = wxPyBeginAllowThreads();
16316 result = (int)((wxPyHVScrolledWindow const *)arg1)->GetRowsHeight(arg2,arg3);
16317 wxPyEndAllowThreads(__tstate);
16318 if (PyErr_Occurred()) SWIG_fail;
16319 }
16320 resultobj = SWIG_From_int(static_cast< int >(result));
16321 return resultobj;
16322 fail:
16323 return NULL;
16324 }
16325
16326
16327 SWIGINTERN PyObject *_wrap_HVScrolledWindow_EstimateTotalHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16328 PyObject *resultobj = 0;
16329 wxPyHVScrolledWindow *arg1 = (wxPyHVScrolledWindow *) 0 ;
16330 int result;
16331 void *argp1 = 0 ;
16332 int res1 = 0 ;
16333 PyObject *swig_obj[1] ;
16334
16335 if (!args) SWIG_fail;
16336 swig_obj[0] = args;
16337 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHVScrolledWindow, 0 | 0 );
16338 if (!SWIG_IsOK(res1)) {
16339 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HVScrolledWindow_EstimateTotalHeight" "', expected argument " "1"" of type '" "wxPyHVScrolledWindow const *""'");
16340 }
16341 arg1 = reinterpret_cast< wxPyHVScrolledWindow * >(argp1);
16342 {
16343 PyThreadState* __tstate = wxPyBeginAllowThreads();
16344 result = (int)((wxPyHVScrolledWindow const *)arg1)->EstimateTotalHeight();
16345 wxPyEndAllowThreads(__tstate);
16346 if (PyErr_Occurred()) SWIG_fail;
16347 }
16348 resultobj = SWIG_From_int(static_cast< int >(result));
16349 return resultobj;
16350 fail:
16351 return NULL;
16352 }
16353
16354
16355 SWIGINTERN PyObject *_wrap_HVScrolledWindow_GetColumnsWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16356 PyObject *resultobj = 0;
16357 wxPyHVScrolledWindow *arg1 = (wxPyHVScrolledWindow *) 0 ;
16358 size_t arg2 ;
16359 size_t arg3 ;
16360 int result;
16361 void *argp1 = 0 ;
16362 int res1 = 0 ;
16363 size_t val2 ;
16364 int ecode2 = 0 ;
16365 size_t val3 ;
16366 int ecode3 = 0 ;
16367 PyObject * obj0 = 0 ;
16368 PyObject * obj1 = 0 ;
16369 PyObject * obj2 = 0 ;
16370 char * kwnames[] = {
16371 (char *) "self",(char *) "columnMin",(char *) "columnMax", NULL
16372 };
16373
16374 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HVScrolledWindow_GetColumnsWidth",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16375 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHVScrolledWindow, 0 | 0 );
16376 if (!SWIG_IsOK(res1)) {
16377 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HVScrolledWindow_GetColumnsWidth" "', expected argument " "1"" of type '" "wxPyHVScrolledWindow const *""'");
16378 }
16379 arg1 = reinterpret_cast< wxPyHVScrolledWindow * >(argp1);
16380 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
16381 if (!SWIG_IsOK(ecode2)) {
16382 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HVScrolledWindow_GetColumnsWidth" "', expected argument " "2"" of type '" "size_t""'");
16383 }
16384 arg2 = static_cast< size_t >(val2);
16385 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
16386 if (!SWIG_IsOK(ecode3)) {
16387 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HVScrolledWindow_GetColumnsWidth" "', expected argument " "3"" of type '" "size_t""'");
16388 }
16389 arg3 = static_cast< size_t >(val3);
16390 {
16391 PyThreadState* __tstate = wxPyBeginAllowThreads();
16392 result = (int)((wxPyHVScrolledWindow const *)arg1)->GetColumnsWidth(arg2,arg3);
16393 wxPyEndAllowThreads(__tstate);
16394 if (PyErr_Occurred()) SWIG_fail;
16395 }
16396 resultobj = SWIG_From_int(static_cast< int >(result));
16397 return resultobj;
16398 fail:
16399 return NULL;
16400 }
16401
16402
16403 SWIGINTERN PyObject *_wrap_HVScrolledWindow_EstimateTotalWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16404 PyObject *resultobj = 0;
16405 wxPyHVScrolledWindow *arg1 = (wxPyHVScrolledWindow *) 0 ;
16406 int result;
16407 void *argp1 = 0 ;
16408 int res1 = 0 ;
16409 PyObject *swig_obj[1] ;
16410
16411 if (!args) SWIG_fail;
16412 swig_obj[0] = args;
16413 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHVScrolledWindow, 0 | 0 );
16414 if (!SWIG_IsOK(res1)) {
16415 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HVScrolledWindow_EstimateTotalWidth" "', expected argument " "1"" of type '" "wxPyHVScrolledWindow const *""'");
16416 }
16417 arg1 = reinterpret_cast< wxPyHVScrolledWindow * >(argp1);
16418 {
16419 PyThreadState* __tstate = wxPyBeginAllowThreads();
16420 result = (int)((wxPyHVScrolledWindow const *)arg1)->EstimateTotalWidth();
16421 wxPyEndAllowThreads(__tstate);
16422 if (PyErr_Occurred()) SWIG_fail;
16423 }
16424 resultobj = SWIG_From_int(static_cast< int >(result));
16425 return resultobj;
16426 fail:
16427 return NULL;
16428 }
16429
16430
16431 SWIGINTERN PyObject *HVScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16432 PyObject *obj;
16433 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16434 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHVScrolledWindow, SWIG_NewClientData(obj));
16435 return SWIG_Py_Void();
16436 }
16437
16438 SWIGINTERN PyObject *HVScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16439 return SWIG_Python_InitShadowInstance(args);
16440 }
16441
16442 SWIGINTERN int VListBoxNameStr_set(PyObject *) {
16443 SWIG_Error(SWIG_AttributeError,"Variable VListBoxNameStr is read-only.");
16444 return 1;
16445 }
16446
16447
16448 SWIGINTERN PyObject *VListBoxNameStr_get(void) {
16449 PyObject *pyobj = 0;
16450
16451 {
16452 #if wxUSE_UNICODE
16453 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
16454 #else
16455 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
16456 #endif
16457 }
16458 return pyobj;
16459 }
16460
16461
16462 SWIGINTERN PyObject *_wrap_new_VListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16463 PyObject *resultobj = 0;
16464 wxWindow *arg1 = (wxWindow *) 0 ;
16465 int arg2 = (int) wxID_ANY ;
16466 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16467 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16468 wxSize const &arg4_defvalue = wxDefaultSize ;
16469 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
16470 long arg5 = (long) 0 ;
16471 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
16472 wxString *arg6 = (wxString *) &arg6_defvalue ;
16473 wxPyVListBox *result = 0 ;
16474 void *argp1 = 0 ;
16475 int res1 = 0 ;
16476 int val2 ;
16477 int ecode2 = 0 ;
16478 wxPoint temp3 ;
16479 wxSize temp4 ;
16480 long val5 ;
16481 int ecode5 = 0 ;
16482 bool temp6 = false ;
16483 PyObject * obj0 = 0 ;
16484 PyObject * obj1 = 0 ;
16485 PyObject * obj2 = 0 ;
16486 PyObject * obj3 = 0 ;
16487 PyObject * obj4 = 0 ;
16488 PyObject * obj5 = 0 ;
16489 char * kwnames[] = {
16490 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16491 };
16492
16493 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
16494 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16495 if (!SWIG_IsOK(res1)) {
16496 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
16497 }
16498 arg1 = reinterpret_cast< wxWindow * >(argp1);
16499 if (obj1) {
16500 ecode2 = SWIG_AsVal_int(obj1, &val2);
16501 if (!SWIG_IsOK(ecode2)) {
16502 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
16503 }
16504 arg2 = static_cast< int >(val2);
16505 }
16506 if (obj2) {
16507 {
16508 arg3 = &temp3;
16509 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16510 }
16511 }
16512 if (obj3) {
16513 {
16514 arg4 = &temp4;
16515 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
16516 }
16517 }
16518 if (obj4) {
16519 ecode5 = SWIG_AsVal_long(obj4, &val5);
16520 if (!SWIG_IsOK(ecode5)) {
16521 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
16522 }
16523 arg5 = static_cast< long >(val5);
16524 }
16525 if (obj5) {
16526 {
16527 arg6 = wxString_in_helper(obj5);
16528 if (arg6 == NULL) SWIG_fail;
16529 temp6 = true;
16530 }
16531 }
16532 {
16533 if (!wxPyCheckForApp()) SWIG_fail;
16534 PyThreadState* __tstate = wxPyBeginAllowThreads();
16535 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
16536 wxPyEndAllowThreads(__tstate);
16537 if (PyErr_Occurred()) SWIG_fail;
16538 }
16539 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_NEW | 0 );
16540 {
16541 if (temp6)
16542 delete arg6;
16543 }
16544 return resultobj;
16545 fail:
16546 {
16547 if (temp6)
16548 delete arg6;
16549 }
16550 return NULL;
16551 }
16552
16553
16554 SWIGINTERN PyObject *_wrap_new_PreVListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16555 PyObject *resultobj = 0;
16556 wxPyVListBox *result = 0 ;
16557
16558 if (!SWIG_Python_UnpackTuple(args,"new_PreVListBox",0,0,0)) SWIG_fail;
16559 {
16560 if (!wxPyCheckForApp()) SWIG_fail;
16561 PyThreadState* __tstate = wxPyBeginAllowThreads();
16562 result = (wxPyVListBox *)new wxPyVListBox();
16563 wxPyEndAllowThreads(__tstate);
16564 if (PyErr_Occurred()) SWIG_fail;
16565 }
16566 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_OWN | 0 );
16567 return resultobj;
16568 fail:
16569 return NULL;
16570 }
16571
16572
16573 SWIGINTERN PyObject *_wrap_VListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16574 PyObject *resultobj = 0;
16575 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
16576 PyObject *arg2 = (PyObject *) 0 ;
16577 PyObject *arg3 = (PyObject *) 0 ;
16578 void *argp1 = 0 ;
16579 int res1 = 0 ;
16580 PyObject * obj0 = 0 ;
16581 PyObject * obj1 = 0 ;
16582 PyObject * obj2 = 0 ;
16583 char * kwnames[] = {
16584 (char *) "self",(char *) "self",(char *) "_class", NULL
16585 };
16586
16587 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16588 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
16589 if (!SWIG_IsOK(res1)) {
16590 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
16591 }
16592 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
16593 arg2 = obj1;
16594 arg3 = obj2;
16595 {
16596 PyThreadState* __tstate = wxPyBeginAllowThreads();
16597 (arg1)->_setCallbackInfo(arg2,arg3);
16598 wxPyEndAllowThreads(__tstate);
16599 if (PyErr_Occurred()) SWIG_fail;
16600 }
16601 resultobj = SWIG_Py_Void();
16602 return resultobj;
16603 fail:
16604 return NULL;
16605 }
16606
16607
16608 SWIGINTERN PyObject *_wrap_VListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16609 PyObject *resultobj = 0;
16610 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
16611 wxWindow *arg2 = (wxWindow *) 0 ;
16612 int arg3 = (int) wxID_ANY ;
16613 wxPoint const &arg4_defvalue = wxDefaultPosition ;
16614 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
16615 wxSize const &arg5_defvalue = wxDefaultSize ;
16616 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
16617 long arg6 = (long) 0 ;
16618 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
16619 wxString *arg7 = (wxString *) &arg7_defvalue ;
16620 bool result;
16621 void *argp1 = 0 ;
16622 int res1 = 0 ;
16623 void *argp2 = 0 ;
16624 int res2 = 0 ;
16625 int val3 ;
16626 int ecode3 = 0 ;
16627 wxPoint temp4 ;
16628 wxSize temp5 ;
16629 long val6 ;
16630 int ecode6 = 0 ;
16631 bool temp7 = false ;
16632 PyObject * obj0 = 0 ;
16633 PyObject * obj1 = 0 ;
16634 PyObject * obj2 = 0 ;
16635 PyObject * obj3 = 0 ;
16636 PyObject * obj4 = 0 ;
16637 PyObject * obj5 = 0 ;
16638 PyObject * obj6 = 0 ;
16639 char * kwnames[] = {
16640 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16641 };
16642
16643 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
16644 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
16645 if (!SWIG_IsOK(res1)) {
16646 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
16647 }
16648 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
16649 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
16650 if (!SWIG_IsOK(res2)) {
16651 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16652 }
16653 arg2 = reinterpret_cast< wxWindow * >(argp2);
16654 if (obj2) {
16655 ecode3 = SWIG_AsVal_int(obj2, &val3);
16656 if (!SWIG_IsOK(ecode3)) {
16657 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
16658 }
16659 arg3 = static_cast< int >(val3);
16660 }
16661 if (obj3) {
16662 {
16663 arg4 = &temp4;
16664 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
16665 }
16666 }
16667 if (obj4) {
16668 {
16669 arg5 = &temp5;
16670 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
16671 }
16672 }
16673 if (obj5) {
16674 ecode6 = SWIG_AsVal_long(obj5, &val6);
16675 if (!SWIG_IsOK(ecode6)) {
16676 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
16677 }
16678 arg6 = static_cast< long >(val6);
16679 }
16680 if (obj6) {
16681 {
16682 arg7 = wxString_in_helper(obj6);
16683 if (arg7 == NULL) SWIG_fail;
16684 temp7 = true;
16685 }
16686 }
16687 {
16688 PyThreadState* __tstate = wxPyBeginAllowThreads();
16689 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
16690 wxPyEndAllowThreads(__tstate);
16691 if (PyErr_Occurred()) SWIG_fail;
16692 }
16693 {
16694 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16695 }
16696 {
16697 if (temp7)
16698 delete arg7;
16699 }
16700 return resultobj;
16701 fail:
16702 {
16703 if (temp7)
16704 delete arg7;
16705 }
16706 return NULL;
16707 }
16708
16709
16710 SWIGINTERN PyObject *_wrap_VListBox_GetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16711 PyObject *resultobj = 0;
16712 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
16713 size_t result;
16714 void *argp1 = 0 ;
16715 int res1 = 0 ;
16716 PyObject *swig_obj[1] ;
16717
16718 if (!args) SWIG_fail;
16719 swig_obj[0] = args;
16720 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
16721 if (!SWIG_IsOK(res1)) {
16722 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
16723 }
16724 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
16725 {
16726 PyThreadState* __tstate = wxPyBeginAllowThreads();
16727 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
16728 wxPyEndAllowThreads(__tstate);
16729 if (PyErr_Occurred()) SWIG_fail;
16730 }
16731 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
16732 return resultobj;
16733 fail:
16734 return NULL;
16735 }
16736
16737
16738 SWIGINTERN PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16739 PyObject *resultobj = 0;
16740 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
16741 bool result;
16742 void *argp1 = 0 ;
16743 int res1 = 0 ;
16744 PyObject *swig_obj[1] ;
16745
16746 if (!args) SWIG_fail;
16747 swig_obj[0] = args;
16748 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
16749 if (!SWIG_IsOK(res1)) {
16750 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
16751 }
16752 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
16753 {
16754 PyThreadState* __tstate = wxPyBeginAllowThreads();
16755 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
16756 wxPyEndAllowThreads(__tstate);
16757 if (PyErr_Occurred()) SWIG_fail;
16758 }
16759 {
16760 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16761 }
16762 return resultobj;
16763 fail:
16764 return NULL;
16765 }
16766
16767
16768 SWIGINTERN PyObject *_wrap_VListBox_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16769 PyObject *resultobj = 0;
16770 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
16771 int result;
16772 void *argp1 = 0 ;
16773 int res1 = 0 ;
16774 PyObject *swig_obj[1] ;
16775
16776 if (!args) SWIG_fail;
16777 swig_obj[0] = args;
16778 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
16779 if (!SWIG_IsOK(res1)) {
16780 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
16781 }
16782 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
16783 {
16784 PyThreadState* __tstate = wxPyBeginAllowThreads();
16785 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
16786 wxPyEndAllowThreads(__tstate);
16787 if (PyErr_Occurred()) SWIG_fail;
16788 }
16789 resultobj = SWIG_From_int(static_cast< int >(result));
16790 return resultobj;
16791 fail:
16792 return NULL;
16793 }
16794
16795
16796 SWIGINTERN PyObject *_wrap_VListBox_IsCurrent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16797 PyObject *resultobj = 0;
16798 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
16799 size_t arg2 ;
16800 bool result;
16801 void *argp1 = 0 ;
16802 int res1 = 0 ;
16803 size_t val2 ;
16804 int ecode2 = 0 ;
16805 PyObject * obj0 = 0 ;
16806 PyObject * obj1 = 0 ;
16807 char * kwnames[] = {
16808 (char *) "self",(char *) "item", NULL
16809 };
16810
16811 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) SWIG_fail;
16812 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
16813 if (!SWIG_IsOK(res1)) {
16814 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
16815 }
16816 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
16817 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
16818 if (!SWIG_IsOK(ecode2)) {
16819 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
16820 }
16821 arg2 = static_cast< size_t >(val2);
16822 {
16823 PyThreadState* __tstate = wxPyBeginAllowThreads();
16824 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
16825 wxPyEndAllowThreads(__tstate);
16826 if (PyErr_Occurred()) SWIG_fail;
16827 }
16828 {
16829 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16830 }
16831 return resultobj;
16832 fail:
16833 return NULL;
16834 }
16835
16836
16837 SWIGINTERN PyObject *_wrap_VListBox_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16838 PyObject *resultobj = 0;
16839 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
16840 size_t arg2 ;
16841 bool result;
16842 void *argp1 = 0 ;
16843 int res1 = 0 ;
16844 size_t val2 ;
16845 int ecode2 = 0 ;
16846 PyObject * obj0 = 0 ;
16847 PyObject * obj1 = 0 ;
16848 char * kwnames[] = {
16849 (char *) "self",(char *) "item", NULL
16850 };
16851
16852 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
16853 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
16854 if (!SWIG_IsOK(res1)) {
16855 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
16856 }
16857 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
16858 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
16859 if (!SWIG_IsOK(ecode2)) {
16860 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
16861 }
16862 arg2 = static_cast< size_t >(val2);
16863 {
16864 PyThreadState* __tstate = wxPyBeginAllowThreads();
16865 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
16866 wxPyEndAllowThreads(__tstate);
16867 if (PyErr_Occurred()) SWIG_fail;
16868 }
16869 {
16870 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16871 }
16872 return resultobj;
16873 fail:
16874 return NULL;
16875 }
16876
16877
16878 SWIGINTERN PyObject *_wrap_VListBox_GetSelectedCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16879 PyObject *resultobj = 0;
16880 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
16881 size_t result;
16882 void *argp1 = 0 ;
16883 int res1 = 0 ;
16884 PyObject *swig_obj[1] ;
16885
16886 if (!args) SWIG_fail;
16887 swig_obj[0] = args;
16888 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
16889 if (!SWIG_IsOK(res1)) {
16890 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
16891 }
16892 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
16893 {
16894 PyThreadState* __tstate = wxPyBeginAllowThreads();
16895 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
16896 wxPyEndAllowThreads(__tstate);
16897 if (PyErr_Occurred()) SWIG_fail;
16898 }
16899 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
16900 return resultobj;
16901 fail:
16902 return NULL;
16903 }
16904
16905
16906 SWIGINTERN PyObject *_wrap_VListBox_GetFirstSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16907 PyObject *resultobj = 0;
16908 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
16909 PyObject *result = 0 ;
16910 void *argp1 = 0 ;
16911 int res1 = 0 ;
16912 PyObject *swig_obj[1] ;
16913
16914 if (!args) SWIG_fail;
16915 swig_obj[0] = args;
16916 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
16917 if (!SWIG_IsOK(res1)) {
16918 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
16919 }
16920 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
16921 {
16922 PyThreadState* __tstate = wxPyBeginAllowThreads();
16923 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
16924 wxPyEndAllowThreads(__tstate);
16925 if (PyErr_Occurred()) SWIG_fail;
16926 }
16927 resultobj = result;
16928 return resultobj;
16929 fail:
16930 return NULL;
16931 }
16932
16933
16934 SWIGINTERN PyObject *_wrap_VListBox_GetNextSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16935 PyObject *resultobj = 0;
16936 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
16937 unsigned long arg2 ;
16938 PyObject *result = 0 ;
16939 void *argp1 = 0 ;
16940 int res1 = 0 ;
16941 unsigned long val2 ;
16942 int ecode2 = 0 ;
16943 PyObject * obj0 = 0 ;
16944 PyObject * obj1 = 0 ;
16945 char * kwnames[] = {
16946 (char *) "self",(char *) "cookie", NULL
16947 };
16948
16949 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) SWIG_fail;
16950 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
16951 if (!SWIG_IsOK(res1)) {
16952 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
16953 }
16954 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
16955 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
16956 if (!SWIG_IsOK(ecode2)) {
16957 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
16958 }
16959 arg2 = static_cast< unsigned long >(val2);
16960 {
16961 PyThreadState* __tstate = wxPyBeginAllowThreads();
16962 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
16963 wxPyEndAllowThreads(__tstate);
16964 if (PyErr_Occurred()) SWIG_fail;
16965 }
16966 resultobj = result;
16967 return resultobj;
16968 fail:
16969 return NULL;
16970 }
16971
16972
16973 SWIGINTERN PyObject *_wrap_VListBox_GetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16974 PyObject *resultobj = 0;
16975 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
16976 wxPoint result;
16977 void *argp1 = 0 ;
16978 int res1 = 0 ;
16979 PyObject *swig_obj[1] ;
16980
16981 if (!args) SWIG_fail;
16982 swig_obj[0] = args;
16983 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
16984 if (!SWIG_IsOK(res1)) {
16985 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
16986 }
16987 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
16988 {
16989 PyThreadState* __tstate = wxPyBeginAllowThreads();
16990 result = ((wxPyVListBox const *)arg1)->GetMargins();
16991 wxPyEndAllowThreads(__tstate);
16992 if (PyErr_Occurred()) SWIG_fail;
16993 }
16994 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
16995 return resultobj;
16996 fail:
16997 return NULL;
16998 }
16999
17000
17001 SWIGINTERN PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17002 PyObject *resultobj = 0;
17003 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17004 wxColour *result = 0 ;
17005 void *argp1 = 0 ;
17006 int res1 = 0 ;
17007 PyObject *swig_obj[1] ;
17008
17009 if (!args) SWIG_fail;
17010 swig_obj[0] = args;
17011 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17012 if (!SWIG_IsOK(res1)) {
17013 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
17014 }
17015 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17016 {
17017 PyThreadState* __tstate = wxPyBeginAllowThreads();
17018 {
17019 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
17020 result = (wxColour *) &_result_ref;
17021 }
17022 wxPyEndAllowThreads(__tstate);
17023 if (PyErr_Occurred()) SWIG_fail;
17024 }
17025 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
17026 return resultobj;
17027 fail:
17028 return NULL;
17029 }
17030
17031
17032 SWIGINTERN PyObject *_wrap_VListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17033 PyObject *resultobj = 0;
17034 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17035 size_t arg2 ;
17036 void *argp1 = 0 ;
17037 int res1 = 0 ;
17038 size_t val2 ;
17039 int ecode2 = 0 ;
17040 PyObject * obj0 = 0 ;
17041 PyObject * obj1 = 0 ;
17042 char * kwnames[] = {
17043 (char *) "self",(char *) "count", NULL
17044 };
17045
17046 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
17047 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17048 if (!SWIG_IsOK(res1)) {
17049 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17050 }
17051 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17052 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
17053 if (!SWIG_IsOK(ecode2)) {
17054 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
17055 }
17056 arg2 = static_cast< size_t >(val2);
17057 {
17058 PyThreadState* __tstate = wxPyBeginAllowThreads();
17059 (arg1)->SetItemCount(arg2);
17060 wxPyEndAllowThreads(__tstate);
17061 if (PyErr_Occurred()) SWIG_fail;
17062 }
17063 resultobj = SWIG_Py_Void();
17064 return resultobj;
17065 fail:
17066 return NULL;
17067 }
17068
17069
17070 SWIGINTERN PyObject *_wrap_VListBox_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17071 PyObject *resultobj = 0;
17072 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17073 void *argp1 = 0 ;
17074 int res1 = 0 ;
17075 PyObject *swig_obj[1] ;
17076
17077 if (!args) SWIG_fail;
17078 swig_obj[0] = args;
17079 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17080 if (!SWIG_IsOK(res1)) {
17081 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17082 }
17083 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17084 {
17085 PyThreadState* __tstate = wxPyBeginAllowThreads();
17086 (arg1)->Clear();
17087 wxPyEndAllowThreads(__tstate);
17088 if (PyErr_Occurred()) SWIG_fail;
17089 }
17090 resultobj = SWIG_Py_Void();
17091 return resultobj;
17092 fail:
17093 return NULL;
17094 }
17095
17096
17097 SWIGINTERN PyObject *_wrap_VListBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17098 PyObject *resultobj = 0;
17099 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17100 int arg2 ;
17101 void *argp1 = 0 ;
17102 int res1 = 0 ;
17103 int val2 ;
17104 int ecode2 = 0 ;
17105 PyObject * obj0 = 0 ;
17106 PyObject * obj1 = 0 ;
17107 char * kwnames[] = {
17108 (char *) "self",(char *) "selection", NULL
17109 };
17110
17111 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
17112 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17113 if (!SWIG_IsOK(res1)) {
17114 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17115 }
17116 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17117 ecode2 = SWIG_AsVal_int(obj1, &val2);
17118 if (!SWIG_IsOK(ecode2)) {
17119 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
17120 }
17121 arg2 = static_cast< int >(val2);
17122 {
17123 PyThreadState* __tstate = wxPyBeginAllowThreads();
17124 (arg1)->SetSelection(arg2);
17125 wxPyEndAllowThreads(__tstate);
17126 if (PyErr_Occurred()) SWIG_fail;
17127 }
17128 resultobj = SWIG_Py_Void();
17129 return resultobj;
17130 fail:
17131 return NULL;
17132 }
17133
17134
17135 SWIGINTERN PyObject *_wrap_VListBox_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17136 PyObject *resultobj = 0;
17137 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17138 size_t arg2 ;
17139 bool arg3 = (bool) true ;
17140 bool result;
17141 void *argp1 = 0 ;
17142 int res1 = 0 ;
17143 size_t val2 ;
17144 int ecode2 = 0 ;
17145 bool val3 ;
17146 int ecode3 = 0 ;
17147 PyObject * obj0 = 0 ;
17148 PyObject * obj1 = 0 ;
17149 PyObject * obj2 = 0 ;
17150 char * kwnames[] = {
17151 (char *) "self",(char *) "item",(char *) "select", NULL
17152 };
17153
17154 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17155 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17156 if (!SWIG_IsOK(res1)) {
17157 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17158 }
17159 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17160 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
17161 if (!SWIG_IsOK(ecode2)) {
17162 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
17163 }
17164 arg2 = static_cast< size_t >(val2);
17165 if (obj2) {
17166 ecode3 = SWIG_AsVal_bool(obj2, &val3);
17167 if (!SWIG_IsOK(ecode3)) {
17168 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
17169 }
17170 arg3 = static_cast< bool >(val3);
17171 }
17172 {
17173 PyThreadState* __tstate = wxPyBeginAllowThreads();
17174 result = (bool)(arg1)->Select(arg2,arg3);
17175 wxPyEndAllowThreads(__tstate);
17176 if (PyErr_Occurred()) SWIG_fail;
17177 }
17178 {
17179 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17180 }
17181 return resultobj;
17182 fail:
17183 return NULL;
17184 }
17185
17186
17187 SWIGINTERN PyObject *_wrap_VListBox_SelectRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17188 PyObject *resultobj = 0;
17189 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17190 size_t arg2 ;
17191 size_t arg3 ;
17192 bool result;
17193 void *argp1 = 0 ;
17194 int res1 = 0 ;
17195 size_t val2 ;
17196 int ecode2 = 0 ;
17197 size_t val3 ;
17198 int ecode3 = 0 ;
17199 PyObject * obj0 = 0 ;
17200 PyObject * obj1 = 0 ;
17201 PyObject * obj2 = 0 ;
17202 char * kwnames[] = {
17203 (char *) "self",(char *) "from",(char *) "to", NULL
17204 };
17205
17206 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17207 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17208 if (!SWIG_IsOK(res1)) {
17209 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17210 }
17211 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17212 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
17213 if (!SWIG_IsOK(ecode2)) {
17214 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
17215 }
17216 arg2 = static_cast< size_t >(val2);
17217 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
17218 if (!SWIG_IsOK(ecode3)) {
17219 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
17220 }
17221 arg3 = static_cast< size_t >(val3);
17222 {
17223 PyThreadState* __tstate = wxPyBeginAllowThreads();
17224 result = (bool)(arg1)->SelectRange(arg2,arg3);
17225 wxPyEndAllowThreads(__tstate);
17226 if (PyErr_Occurred()) SWIG_fail;
17227 }
17228 {
17229 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17230 }
17231 return resultobj;
17232 fail:
17233 return NULL;
17234 }
17235
17236
17237 SWIGINTERN PyObject *_wrap_VListBox_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17238 PyObject *resultobj = 0;
17239 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17240 size_t arg2 ;
17241 void *argp1 = 0 ;
17242 int res1 = 0 ;
17243 size_t val2 ;
17244 int ecode2 = 0 ;
17245 PyObject * obj0 = 0 ;
17246 PyObject * obj1 = 0 ;
17247 char * kwnames[] = {
17248 (char *) "self",(char *) "item", NULL
17249 };
17250
17251 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
17252 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17253 if (!SWIG_IsOK(res1)) {
17254 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17255 }
17256 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17257 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
17258 if (!SWIG_IsOK(ecode2)) {
17259 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
17260 }
17261 arg2 = static_cast< size_t >(val2);
17262 {
17263 PyThreadState* __tstate = wxPyBeginAllowThreads();
17264 (arg1)->Toggle(arg2);
17265 wxPyEndAllowThreads(__tstate);
17266 if (PyErr_Occurred()) SWIG_fail;
17267 }
17268 resultobj = SWIG_Py_Void();
17269 return resultobj;
17270 fail:
17271 return NULL;
17272 }
17273
17274
17275 SWIGINTERN PyObject *_wrap_VListBox_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17276 PyObject *resultobj = 0;
17277 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17278 bool result;
17279 void *argp1 = 0 ;
17280 int res1 = 0 ;
17281 PyObject *swig_obj[1] ;
17282
17283 if (!args) SWIG_fail;
17284 swig_obj[0] = args;
17285 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17286 if (!SWIG_IsOK(res1)) {
17287 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17288 }
17289 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17290 {
17291 PyThreadState* __tstate = wxPyBeginAllowThreads();
17292 result = (bool)(arg1)->SelectAll();
17293 wxPyEndAllowThreads(__tstate);
17294 if (PyErr_Occurred()) SWIG_fail;
17295 }
17296 {
17297 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17298 }
17299 return resultobj;
17300 fail:
17301 return NULL;
17302 }
17303
17304
17305 SWIGINTERN PyObject *_wrap_VListBox_DeselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17306 PyObject *resultobj = 0;
17307 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17308 bool result;
17309 void *argp1 = 0 ;
17310 int res1 = 0 ;
17311 PyObject *swig_obj[1] ;
17312
17313 if (!args) SWIG_fail;
17314 swig_obj[0] = args;
17315 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17316 if (!SWIG_IsOK(res1)) {
17317 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17318 }
17319 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17320 {
17321 PyThreadState* __tstate = wxPyBeginAllowThreads();
17322 result = (bool)(arg1)->DeselectAll();
17323 wxPyEndAllowThreads(__tstate);
17324 if (PyErr_Occurred()) SWIG_fail;
17325 }
17326 {
17327 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17328 }
17329 return resultobj;
17330 fail:
17331 return NULL;
17332 }
17333
17334
17335 SWIGINTERN PyObject *_wrap_VListBox_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17336 PyObject *resultobj = 0;
17337 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17338 wxPoint *arg2 = 0 ;
17339 void *argp1 = 0 ;
17340 int res1 = 0 ;
17341 wxPoint temp2 ;
17342 PyObject * obj0 = 0 ;
17343 PyObject * obj1 = 0 ;
17344 char * kwnames[] = {
17345 (char *) "self",(char *) "pt", NULL
17346 };
17347
17348 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) SWIG_fail;
17349 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17350 if (!SWIG_IsOK(res1)) {
17351 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17352 }
17353 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17354 {
17355 arg2 = &temp2;
17356 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
17357 }
17358 {
17359 PyThreadState* __tstate = wxPyBeginAllowThreads();
17360 (arg1)->SetMargins((wxPoint const &)*arg2);
17361 wxPyEndAllowThreads(__tstate);
17362 if (PyErr_Occurred()) SWIG_fail;
17363 }
17364 resultobj = SWIG_Py_Void();
17365 return resultobj;
17366 fail:
17367 return NULL;
17368 }
17369
17370
17371 SWIGINTERN PyObject *_wrap_VListBox_SetMarginsXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17372 PyObject *resultobj = 0;
17373 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17374 int arg2 ;
17375 int arg3 ;
17376 void *argp1 = 0 ;
17377 int res1 = 0 ;
17378 int val2 ;
17379 int ecode2 = 0 ;
17380 int val3 ;
17381 int ecode3 = 0 ;
17382 PyObject * obj0 = 0 ;
17383 PyObject * obj1 = 0 ;
17384 PyObject * obj2 = 0 ;
17385 char * kwnames[] = {
17386 (char *) "self",(char *) "x",(char *) "y", NULL
17387 };
17388
17389 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17390 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17391 if (!SWIG_IsOK(res1)) {
17392 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17393 }
17394 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17395 ecode2 = SWIG_AsVal_int(obj1, &val2);
17396 if (!SWIG_IsOK(ecode2)) {
17397 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
17398 }
17399 arg2 = static_cast< int >(val2);
17400 ecode3 = SWIG_AsVal_int(obj2, &val3);
17401 if (!SWIG_IsOK(ecode3)) {
17402 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
17403 }
17404 arg3 = static_cast< int >(val3);
17405 {
17406 PyThreadState* __tstate = wxPyBeginAllowThreads();
17407 (arg1)->SetMargins(arg2,arg3);
17408 wxPyEndAllowThreads(__tstate);
17409 if (PyErr_Occurred()) SWIG_fail;
17410 }
17411 resultobj = SWIG_Py_Void();
17412 return resultobj;
17413 fail:
17414 return NULL;
17415 }
17416
17417
17418 SWIGINTERN PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17419 PyObject *resultobj = 0;
17420 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17421 wxColour *arg2 = 0 ;
17422 void *argp1 = 0 ;
17423 int res1 = 0 ;
17424 wxColour temp2 ;
17425 PyObject * obj0 = 0 ;
17426 PyObject * obj1 = 0 ;
17427 char * kwnames[] = {
17428 (char *) "self",(char *) "col", NULL
17429 };
17430
17431 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) SWIG_fail;
17432 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17433 if (!SWIG_IsOK(res1)) {
17434 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17435 }
17436 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17437 {
17438 arg2 = &temp2;
17439 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17440 }
17441 {
17442 PyThreadState* __tstate = wxPyBeginAllowThreads();
17443 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
17444 wxPyEndAllowThreads(__tstate);
17445 if (PyErr_Occurred()) SWIG_fail;
17446 }
17447 resultobj = SWIG_Py_Void();
17448 return resultobj;
17449 fail:
17450 return NULL;
17451 }
17452
17453
17454 SWIGINTERN PyObject *_wrap_VListBox_RefreshSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17455 PyObject *resultobj = 0;
17456 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17457 void *argp1 = 0 ;
17458 int res1 = 0 ;
17459 PyObject *swig_obj[1] ;
17460
17461 if (!args) SWIG_fail;
17462 swig_obj[0] = args;
17463 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17464 if (!SWIG_IsOK(res1)) {
17465 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_RefreshSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17466 }
17467 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17468 {
17469 PyThreadState* __tstate = wxPyBeginAllowThreads();
17470 (arg1)->RefreshSelected();
17471 wxPyEndAllowThreads(__tstate);
17472 if (PyErr_Occurred()) SWIG_fail;
17473 }
17474 resultobj = SWIG_Py_Void();
17475 return resultobj;
17476 fail:
17477 return NULL;
17478 }
17479
17480
17481 SWIGINTERN PyObject *_wrap_VListBox_OnDrawSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17482 PyObject *resultobj = 0;
17483 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17484 wxDC *arg2 = 0 ;
17485 wxRect *arg3 = 0 ;
17486 size_t arg4 ;
17487 void *argp1 = 0 ;
17488 int res1 = 0 ;
17489 void *argp2 = 0 ;
17490 int res2 = 0 ;
17491 wxRect temp3 ;
17492 size_t val4 ;
17493 int ecode4 = 0 ;
17494 PyObject * obj0 = 0 ;
17495 PyObject * obj1 = 0 ;
17496 PyObject * obj2 = 0 ;
17497 PyObject * obj3 = 0 ;
17498 char * kwnames[] = {
17499 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
17500 };
17501
17502 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
17503 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17504 if (!SWIG_IsOK(res1)) {
17505 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
17506 }
17507 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17508 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
17509 if (!SWIG_IsOK(res2)) {
17510 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
17511 }
17512 if (!argp2) {
17513 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
17514 }
17515 arg2 = reinterpret_cast< wxDC * >(argp2);
17516 {
17517 arg3 = &temp3;
17518 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
17519 }
17520 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
17521 if (!SWIG_IsOK(ecode4)) {
17522 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
17523 }
17524 arg4 = static_cast< size_t >(val4);
17525 {
17526 PyThreadState* __tstate = wxPyBeginAllowThreads();
17527 ((wxPyVListBox const *)arg1)->OnDrawSeparator(*arg2,*arg3,arg4);
17528 wxPyEndAllowThreads(__tstate);
17529 if (PyErr_Occurred()) SWIG_fail;
17530 }
17531 resultobj = SWIG_Py_Void();
17532 return resultobj;
17533 fail:
17534 return NULL;
17535 }
17536
17537
17538 SWIGINTERN PyObject *_wrap_VListBox_OnDrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17539 PyObject *resultobj = 0;
17540 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17541 wxDC *arg2 = 0 ;
17542 wxRect *arg3 = 0 ;
17543 size_t arg4 ;
17544 void *argp1 = 0 ;
17545 int res1 = 0 ;
17546 void *argp2 = 0 ;
17547 int res2 = 0 ;
17548 wxRect temp3 ;
17549 size_t val4 ;
17550 int ecode4 = 0 ;
17551 PyObject * obj0 = 0 ;
17552 PyObject * obj1 = 0 ;
17553 PyObject * obj2 = 0 ;
17554 PyObject * obj3 = 0 ;
17555 char * kwnames[] = {
17556 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
17557 };
17558
17559 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
17560 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17561 if (!SWIG_IsOK(res1)) {
17562 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
17563 }
17564 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17565 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
17566 if (!SWIG_IsOK(res2)) {
17567 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
17568 }
17569 if (!argp2) {
17570 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
17571 }
17572 arg2 = reinterpret_cast< wxDC * >(argp2);
17573 {
17574 arg3 = &temp3;
17575 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
17576 }
17577 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
17578 if (!SWIG_IsOK(ecode4)) {
17579 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
17580 }
17581 arg4 = static_cast< size_t >(val4);
17582 {
17583 PyThreadState* __tstate = wxPyBeginAllowThreads();
17584 ((wxPyVListBox const *)arg1)->OnDrawBackground(*arg2,(wxRect const &)*arg3,arg4);
17585 wxPyEndAllowThreads(__tstate);
17586 if (PyErr_Occurred()) SWIG_fail;
17587 }
17588 resultobj = SWIG_Py_Void();
17589 return resultobj;
17590 fail:
17591 return NULL;
17592 }
17593
17594
17595 SWIGINTERN PyObject *VListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17596 PyObject *obj;
17597 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17598 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox, SWIG_NewClientData(obj));
17599 return SWIG_Py_Void();
17600 }
17601
17602 SWIGINTERN PyObject *VListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17603 return SWIG_Python_InitShadowInstance(args);
17604 }
17605
17606 SWIGINTERN PyObject *_wrap_new_HtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17607 PyObject *resultobj = 0;
17608 wxWindow *arg1 = (wxWindow *) 0 ;
17609 int arg2 = (int) wxID_ANY ;
17610 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17611 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17612 wxSize const &arg4_defvalue = wxDefaultSize ;
17613 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17614 long arg5 = (long) 0 ;
17615 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
17616 wxString *arg6 = (wxString *) &arg6_defvalue ;
17617 wxPyHtmlListBox *result = 0 ;
17618 void *argp1 = 0 ;
17619 int res1 = 0 ;
17620 int val2 ;
17621 int ecode2 = 0 ;
17622 wxPoint temp3 ;
17623 wxSize temp4 ;
17624 long val5 ;
17625 int ecode5 = 0 ;
17626 bool temp6 = false ;
17627 PyObject * obj0 = 0 ;
17628 PyObject * obj1 = 0 ;
17629 PyObject * obj2 = 0 ;
17630 PyObject * obj3 = 0 ;
17631 PyObject * obj4 = 0 ;
17632 PyObject * obj5 = 0 ;
17633 char * kwnames[] = {
17634 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17635 };
17636
17637 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17638 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17639 if (!SWIG_IsOK(res1)) {
17640 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
17641 }
17642 arg1 = reinterpret_cast< wxWindow * >(argp1);
17643 if (obj1) {
17644 ecode2 = SWIG_AsVal_int(obj1, &val2);
17645 if (!SWIG_IsOK(ecode2)) {
17646 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
17647 }
17648 arg2 = static_cast< int >(val2);
17649 }
17650 if (obj2) {
17651 {
17652 arg3 = &temp3;
17653 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17654 }
17655 }
17656 if (obj3) {
17657 {
17658 arg4 = &temp4;
17659 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17660 }
17661 }
17662 if (obj4) {
17663 ecode5 = SWIG_AsVal_long(obj4, &val5);
17664 if (!SWIG_IsOK(ecode5)) {
17665 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
17666 }
17667 arg5 = static_cast< long >(val5);
17668 }
17669 if (obj5) {
17670 {
17671 arg6 = wxString_in_helper(obj5);
17672 if (arg6 == NULL) SWIG_fail;
17673 temp6 = true;
17674 }
17675 }
17676 {
17677 if (!wxPyCheckForApp()) SWIG_fail;
17678 PyThreadState* __tstate = wxPyBeginAllowThreads();
17679 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17680 wxPyEndAllowThreads(__tstate);
17681 if (PyErr_Occurred()) SWIG_fail;
17682 }
17683 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_NEW | 0 );
17684 {
17685 if (temp6)
17686 delete arg6;
17687 }
17688 return resultobj;
17689 fail:
17690 {
17691 if (temp6)
17692 delete arg6;
17693 }
17694 return NULL;
17695 }
17696
17697
17698 SWIGINTERN PyObject *_wrap_new_PreHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17699 PyObject *resultobj = 0;
17700 wxPyHtmlListBox *result = 0 ;
17701
17702 if (!SWIG_Python_UnpackTuple(args,"new_PreHtmlListBox",0,0,0)) SWIG_fail;
17703 {
17704 if (!wxPyCheckForApp()) SWIG_fail;
17705 PyThreadState* __tstate = wxPyBeginAllowThreads();
17706 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
17707 wxPyEndAllowThreads(__tstate);
17708 if (PyErr_Occurred()) SWIG_fail;
17709 }
17710 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_OWN | 0 );
17711 return resultobj;
17712 fail:
17713 return NULL;
17714 }
17715
17716
17717 SWIGINTERN PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17718 PyObject *resultobj = 0;
17719 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
17720 PyObject *arg2 = (PyObject *) 0 ;
17721 PyObject *arg3 = (PyObject *) 0 ;
17722 void *argp1 = 0 ;
17723 int res1 = 0 ;
17724 PyObject * obj0 = 0 ;
17725 PyObject * obj1 = 0 ;
17726 PyObject * obj2 = 0 ;
17727 char * kwnames[] = {
17728 (char *) "self",(char *) "self",(char *) "_class", NULL
17729 };
17730
17731 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17732 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
17733 if (!SWIG_IsOK(res1)) {
17734 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
17735 }
17736 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
17737 arg2 = obj1;
17738 arg3 = obj2;
17739 {
17740 PyThreadState* __tstate = wxPyBeginAllowThreads();
17741 (arg1)->_setCallbackInfo(arg2,arg3);
17742 wxPyEndAllowThreads(__tstate);
17743 if (PyErr_Occurred()) SWIG_fail;
17744 }
17745 resultobj = SWIG_Py_Void();
17746 return resultobj;
17747 fail:
17748 return NULL;
17749 }
17750
17751
17752 SWIGINTERN PyObject *_wrap_HtmlListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17753 PyObject *resultobj = 0;
17754 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
17755 wxWindow *arg2 = (wxWindow *) 0 ;
17756 int arg3 = (int) wxID_ANY ;
17757 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17758 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17759 wxSize const &arg5_defvalue = wxDefaultSize ;
17760 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17761 long arg6 = (long) 0 ;
17762 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
17763 wxString *arg7 = (wxString *) &arg7_defvalue ;
17764 bool result;
17765 void *argp1 = 0 ;
17766 int res1 = 0 ;
17767 void *argp2 = 0 ;
17768 int res2 = 0 ;
17769 int val3 ;
17770 int ecode3 = 0 ;
17771 wxPoint temp4 ;
17772 wxSize temp5 ;
17773 long val6 ;
17774 int ecode6 = 0 ;
17775 bool temp7 = false ;
17776 PyObject * obj0 = 0 ;
17777 PyObject * obj1 = 0 ;
17778 PyObject * obj2 = 0 ;
17779 PyObject * obj3 = 0 ;
17780 PyObject * obj4 = 0 ;
17781 PyObject * obj5 = 0 ;
17782 PyObject * obj6 = 0 ;
17783 char * kwnames[] = {
17784 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17785 };
17786
17787 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
17788 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
17789 if (!SWIG_IsOK(res1)) {
17790 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
17791 }
17792 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
17793 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
17794 if (!SWIG_IsOK(res2)) {
17795 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17796 }
17797 arg2 = reinterpret_cast< wxWindow * >(argp2);
17798 if (obj2) {
17799 ecode3 = SWIG_AsVal_int(obj2, &val3);
17800 if (!SWIG_IsOK(ecode3)) {
17801 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
17802 }
17803 arg3 = static_cast< int >(val3);
17804 }
17805 if (obj3) {
17806 {
17807 arg4 = &temp4;
17808 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17809 }
17810 }
17811 if (obj4) {
17812 {
17813 arg5 = &temp5;
17814 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17815 }
17816 }
17817 if (obj5) {
17818 ecode6 = SWIG_AsVal_long(obj5, &val6);
17819 if (!SWIG_IsOK(ecode6)) {
17820 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
17821 }
17822 arg6 = static_cast< long >(val6);
17823 }
17824 if (obj6) {
17825 {
17826 arg7 = wxString_in_helper(obj6);
17827 if (arg7 == NULL) SWIG_fail;
17828 temp7 = true;
17829 }
17830 }
17831 {
17832 PyThreadState* __tstate = wxPyBeginAllowThreads();
17833 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17834 wxPyEndAllowThreads(__tstate);
17835 if (PyErr_Occurred()) SWIG_fail;
17836 }
17837 {
17838 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17839 }
17840 {
17841 if (temp7)
17842 delete arg7;
17843 }
17844 return resultobj;
17845 fail:
17846 {
17847 if (temp7)
17848 delete arg7;
17849 }
17850 return NULL;
17851 }
17852
17853
17854 SWIGINTERN PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17855 PyObject *resultobj = 0;
17856 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
17857 size_t arg2 ;
17858 void *argp1 = 0 ;
17859 int res1 = 0 ;
17860 size_t val2 ;
17861 int ecode2 = 0 ;
17862 PyObject * obj0 = 0 ;
17863 PyObject * obj1 = 0 ;
17864 char * kwnames[] = {
17865 (char *) "self",(char *) "count", NULL
17866 };
17867
17868 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
17869 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
17870 if (!SWIG_IsOK(res1)) {
17871 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
17872 }
17873 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
17874 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
17875 if (!SWIG_IsOK(ecode2)) {
17876 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
17877 }
17878 arg2 = static_cast< size_t >(val2);
17879 {
17880 PyThreadState* __tstate = wxPyBeginAllowThreads();
17881 (arg1)->SetItemCount(arg2);
17882 wxPyEndAllowThreads(__tstate);
17883 if (PyErr_Occurred()) SWIG_fail;
17884 }
17885 resultobj = SWIG_Py_Void();
17886 return resultobj;
17887 fail:
17888 return NULL;
17889 }
17890
17891
17892 SWIGINTERN PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17893 PyObject *resultobj = 0;
17894 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
17895 wxFileSystem *result = 0 ;
17896 void *argp1 = 0 ;
17897 int res1 = 0 ;
17898 PyObject *swig_obj[1] ;
17899
17900 if (!args) SWIG_fail;
17901 swig_obj[0] = args;
17902 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
17903 if (!SWIG_IsOK(res1)) {
17904 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
17905 }
17906 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
17907 {
17908 PyThreadState* __tstate = wxPyBeginAllowThreads();
17909 {
17910 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
17911 result = (wxFileSystem *) &_result_ref;
17912 }
17913 wxPyEndAllowThreads(__tstate);
17914 if (PyErr_Occurred()) SWIG_fail;
17915 }
17916 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileSystem, 0 | 0 );
17917 return resultobj;
17918 fail:
17919 return NULL;
17920 }
17921
17922
17923 SWIGINTERN PyObject *_wrap_HtmlListBox_OnLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17924 PyObject *resultobj = 0;
17925 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
17926 size_t arg2 ;
17927 wxHtmlLinkInfo *arg3 = 0 ;
17928 void *argp1 = 0 ;
17929 int res1 = 0 ;
17930 size_t val2 ;
17931 int ecode2 = 0 ;
17932 void *argp3 = 0 ;
17933 int res3 = 0 ;
17934 PyObject * obj0 = 0 ;
17935 PyObject * obj1 = 0 ;
17936 PyObject * obj2 = 0 ;
17937 char * kwnames[] = {
17938 (char *) "self",(char *) "n",(char *) "link", NULL
17939 };
17940
17941 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17942 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
17943 if (!SWIG_IsOK(res1)) {
17944 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
17945 }
17946 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
17947 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
17948 if (!SWIG_IsOK(ecode2)) {
17949 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
17950 }
17951 arg2 = static_cast< size_t >(val2);
17952 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0);
17953 if (!SWIG_IsOK(res3)) {
17954 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
17955 }
17956 if (!argp3) {
17957 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
17958 }
17959 arg3 = reinterpret_cast< wxHtmlLinkInfo * >(argp3);
17960 {
17961 PyThreadState* __tstate = wxPyBeginAllowThreads();
17962 (arg1)->OnLinkClicked(arg2,(wxHtmlLinkInfo const &)*arg3);
17963 wxPyEndAllowThreads(__tstate);
17964 if (PyErr_Occurred()) SWIG_fail;
17965 }
17966 resultobj = SWIG_Py_Void();
17967 return resultobj;
17968 fail:
17969 return NULL;
17970 }
17971
17972
17973 SWIGINTERN PyObject *HtmlListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17974 PyObject *obj;
17975 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17976 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox, SWIG_NewClientData(obj));
17977 return SWIG_Py_Void();
17978 }
17979
17980 SWIGINTERN PyObject *HtmlListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17981 return SWIG_Python_InitShadowInstance(args);
17982 }
17983
17984 SWIGINTERN int SimpleHtmlListBoxNameStr_set(PyObject *) {
17985 SWIG_Error(SWIG_AttributeError,"Variable SimpleHtmlListBoxNameStr is read-only.");
17986 return 1;
17987 }
17988
17989
17990 SWIGINTERN PyObject *SimpleHtmlListBoxNameStr_get(void) {
17991 PyObject *pyobj = 0;
17992
17993 {
17994 #if wxUSE_UNICODE
17995 pyobj = PyUnicode_FromWideChar((&wxPySimpleHtmlListBoxNameStr)->c_str(), (&wxPySimpleHtmlListBoxNameStr)->Len());
17996 #else
17997 pyobj = PyString_FromStringAndSize((&wxPySimpleHtmlListBoxNameStr)->c_str(), (&wxPySimpleHtmlListBoxNameStr)->Len());
17998 #endif
17999 }
18000 return pyobj;
18001 }
18002
18003
18004 SWIGINTERN PyObject *_wrap_new_SimpleHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18005 PyObject *resultobj = 0;
18006 wxWindow *arg1 = (wxWindow *) 0 ;
18007 int arg2 = (int) -1 ;
18008 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18009 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18010 wxSize const &arg4_defvalue = wxDefaultSize ;
18011 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18012 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
18013 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
18014 long arg6 = (long) wxHLB_DEFAULT_STYLE ;
18015 wxValidator const &arg7_defvalue = wxDefaultValidator ;
18016 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
18017 wxString const &arg8_defvalue = wxPySimpleHtmlListBoxNameStr ;
18018 wxString *arg8 = (wxString *) &arg8_defvalue ;
18019 wxSimpleHtmlListBox *result = 0 ;
18020 void *argp1 = 0 ;
18021 int res1 = 0 ;
18022 int val2 ;
18023 int ecode2 = 0 ;
18024 wxPoint temp3 ;
18025 wxSize temp4 ;
18026 bool temp5 = false ;
18027 long val6 ;
18028 int ecode6 = 0 ;
18029 void *argp7 = 0 ;
18030 int res7 = 0 ;
18031 bool temp8 = false ;
18032 PyObject * obj0 = 0 ;
18033 PyObject * obj1 = 0 ;
18034 PyObject * obj2 = 0 ;
18035 PyObject * obj3 = 0 ;
18036 PyObject * obj4 = 0 ;
18037 PyObject * obj5 = 0 ;
18038 PyObject * obj6 = 0 ;
18039 PyObject * obj7 = 0 ;
18040 char * kwnames[] = {
18041 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
18042 };
18043
18044 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_SimpleHtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
18045 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18046 if (!SWIG_IsOK(res1)) {
18047 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SimpleHtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
18048 }
18049 arg1 = reinterpret_cast< wxWindow * >(argp1);
18050 if (obj1) {
18051 ecode2 = SWIG_AsVal_int(obj1, &val2);
18052 if (!SWIG_IsOK(ecode2)) {
18053 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SimpleHtmlListBox" "', expected argument " "2"" of type '" "int""'");
18054 }
18055 arg2 = static_cast< int >(val2);
18056 }
18057 if (obj2) {
18058 {
18059 arg3 = &temp3;
18060 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18061 }
18062 }
18063 if (obj3) {
18064 {
18065 arg4 = &temp4;
18066 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18067 }
18068 }
18069 if (obj4) {
18070 {
18071 if (! PySequence_Check(obj4)) {
18072 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
18073 SWIG_fail;
18074 }
18075 arg5 = new wxArrayString;
18076 temp5 = true;
18077 int i, len=PySequence_Length(obj4);
18078 for (i=0; i<len; i++) {
18079 PyObject* item = PySequence_GetItem(obj4, i);
18080 wxString* s = wxString_in_helper(item);
18081 if (PyErr_Occurred()) SWIG_fail;
18082 arg5->Add(*s);
18083 delete s;
18084 Py_DECREF(item);
18085 }
18086 }
18087 }
18088 if (obj5) {
18089 ecode6 = SWIG_AsVal_long(obj5, &val6);
18090 if (!SWIG_IsOK(ecode6)) {
18091 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SimpleHtmlListBox" "', expected argument " "6"" of type '" "long""'");
18092 }
18093 arg6 = static_cast< long >(val6);
18094 }
18095 if (obj6) {
18096 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
18097 if (!SWIG_IsOK(res7)) {
18098 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_SimpleHtmlListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
18099 }
18100 if (!argp7) {
18101 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SimpleHtmlListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
18102 }
18103 arg7 = reinterpret_cast< wxValidator * >(argp7);
18104 }
18105 if (obj7) {
18106 {
18107 arg8 = wxString_in_helper(obj7);
18108 if (arg8 == NULL) SWIG_fail;
18109 temp8 = true;
18110 }
18111 }
18112 {
18113 if (!wxPyCheckForApp()) SWIG_fail;
18114 PyThreadState* __tstate = wxPyBeginAllowThreads();
18115 result = (wxSimpleHtmlListBox *)new wxSimpleHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
18116 wxPyEndAllowThreads(__tstate);
18117 if (PyErr_Occurred()) SWIG_fail;
18118 }
18119 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSimpleHtmlListBox, SWIG_POINTER_NEW | 0 );
18120 {
18121 if (temp5) delete arg5;
18122 }
18123 {
18124 if (temp8)
18125 delete arg8;
18126 }
18127 return resultobj;
18128 fail:
18129 {
18130 if (temp5) delete arg5;
18131 }
18132 {
18133 if (temp8)
18134 delete arg8;
18135 }
18136 return NULL;
18137 }
18138
18139
18140 SWIGINTERN PyObject *_wrap_new_PreSimpleHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18141 PyObject *resultobj = 0;
18142 wxSimpleHtmlListBox *result = 0 ;
18143
18144 if (!SWIG_Python_UnpackTuple(args,"new_PreSimpleHtmlListBox",0,0,0)) SWIG_fail;
18145 {
18146 if (!wxPyCheckForApp()) SWIG_fail;
18147 PyThreadState* __tstate = wxPyBeginAllowThreads();
18148 result = (wxSimpleHtmlListBox *)new wxSimpleHtmlListBox();
18149 wxPyEndAllowThreads(__tstate);
18150 if (PyErr_Occurred()) SWIG_fail;
18151 }
18152 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSimpleHtmlListBox, SWIG_POINTER_OWN | 0 );
18153 return resultobj;
18154 fail:
18155 return NULL;
18156 }
18157
18158
18159 SWIGINTERN PyObject *_wrap_SimpleHtmlListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18160 PyObject *resultobj = 0;
18161 wxSimpleHtmlListBox *arg1 = (wxSimpleHtmlListBox *) 0 ;
18162 wxWindow *arg2 = (wxWindow *) 0 ;
18163 int arg3 = (int) -1 ;
18164 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18165 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18166 wxSize const &arg5_defvalue = wxDefaultSize ;
18167 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18168 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
18169 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
18170 long arg7 = (long) wxHLB_DEFAULT_STYLE ;
18171 wxValidator const &arg8_defvalue = wxDefaultValidator ;
18172 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
18173 wxString const &arg9_defvalue = wxPySimpleHtmlListBoxNameStr ;
18174 wxString *arg9 = (wxString *) &arg9_defvalue ;
18175 bool result;
18176 void *argp1 = 0 ;
18177 int res1 = 0 ;
18178 void *argp2 = 0 ;
18179 int res2 = 0 ;
18180 int val3 ;
18181 int ecode3 = 0 ;
18182 wxPoint temp4 ;
18183 wxSize temp5 ;
18184 bool temp6 = false ;
18185 long val7 ;
18186 int ecode7 = 0 ;
18187 void *argp8 = 0 ;
18188 int res8 = 0 ;
18189 bool temp9 = false ;
18190 PyObject * obj0 = 0 ;
18191 PyObject * obj1 = 0 ;
18192 PyObject * obj2 = 0 ;
18193 PyObject * obj3 = 0 ;
18194 PyObject * obj4 = 0 ;
18195 PyObject * obj5 = 0 ;
18196 PyObject * obj6 = 0 ;
18197 PyObject * obj7 = 0 ;
18198 PyObject * obj8 = 0 ;
18199 char * kwnames[] = {
18200 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
18201 };
18202
18203 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:SimpleHtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
18204 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSimpleHtmlListBox, 0 | 0 );
18205 if (!SWIG_IsOK(res1)) {
18206 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "1"" of type '" "wxSimpleHtmlListBox *""'");
18207 }
18208 arg1 = reinterpret_cast< wxSimpleHtmlListBox * >(argp1);
18209 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
18210 if (!SWIG_IsOK(res2)) {
18211 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
18212 }
18213 arg2 = reinterpret_cast< wxWindow * >(argp2);
18214 if (obj2) {
18215 ecode3 = SWIG_AsVal_int(obj2, &val3);
18216 if (!SWIG_IsOK(ecode3)) {
18217 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
18218 }
18219 arg3 = static_cast< int >(val3);
18220 }
18221 if (obj3) {
18222 {
18223 arg4 = &temp4;
18224 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
18225 }
18226 }
18227 if (obj4) {
18228 {
18229 arg5 = &temp5;
18230 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
18231 }
18232 }
18233 if (obj5) {
18234 {
18235 if (! PySequence_Check(obj5)) {
18236 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
18237 SWIG_fail;
18238 }
18239 arg6 = new wxArrayString;
18240 temp6 = true;
18241 int i, len=PySequence_Length(obj5);
18242 for (i=0; i<len; i++) {
18243 PyObject* item = PySequence_GetItem(obj5, i);
18244 wxString* s = wxString_in_helper(item);
18245 if (PyErr_Occurred()) SWIG_fail;
18246 arg6->Add(*s);
18247 delete s;
18248 Py_DECREF(item);
18249 }
18250 }
18251 }
18252 if (obj6) {
18253 ecode7 = SWIG_AsVal_long(obj6, &val7);
18254 if (!SWIG_IsOK(ecode7)) {
18255 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "7"" of type '" "long""'");
18256 }
18257 arg7 = static_cast< long >(val7);
18258 }
18259 if (obj7) {
18260 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
18261 if (!SWIG_IsOK(res8)) {
18262 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18263 }
18264 if (!argp8) {
18265 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SimpleHtmlListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18266 }
18267 arg8 = reinterpret_cast< wxValidator * >(argp8);
18268 }
18269 if (obj8) {
18270 {
18271 arg9 = wxString_in_helper(obj8);
18272 if (arg9 == NULL) SWIG_fail;
18273 temp9 = true;
18274 }
18275 }
18276 {
18277 PyThreadState* __tstate = wxPyBeginAllowThreads();
18278 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
18279 wxPyEndAllowThreads(__tstate);
18280 if (PyErr_Occurred()) SWIG_fail;
18281 }
18282 {
18283 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18284 }
18285 {
18286 if (temp6) delete arg6;
18287 }
18288 {
18289 if (temp9)
18290 delete arg9;
18291 }
18292 return resultobj;
18293 fail:
18294 {
18295 if (temp6) delete arg6;
18296 }
18297 {
18298 if (temp9)
18299 delete arg9;
18300 }
18301 return NULL;
18302 }
18303
18304
18305 SWIGINTERN PyObject *SimpleHtmlListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18306 PyObject *obj;
18307 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18308 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHtmlListBox, SWIG_NewClientData(obj));
18309 return SWIG_Py_Void();
18310 }
18311
18312 SWIGINTERN PyObject *SimpleHtmlListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18313 return SWIG_Python_InitShadowInstance(args);
18314 }
18315
18316 SWIGINTERN PyObject *_wrap_new_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18317 PyObject *resultobj = 0;
18318 wxPyTaskBarIcon *result = 0 ;
18319
18320 if (!SWIG_Python_UnpackTuple(args,"new_TaskBarIcon",0,0,0)) SWIG_fail;
18321 {
18322 if (!wxPyCheckForApp()) SWIG_fail;
18323 PyThreadState* __tstate = wxPyBeginAllowThreads();
18324 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
18325 wxPyEndAllowThreads(__tstate);
18326 if (PyErr_Occurred()) SWIG_fail;
18327 }
18328 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_NEW | 0 );
18329 return resultobj;
18330 fail:
18331 return NULL;
18332 }
18333
18334
18335 SWIGINTERN PyObject *_wrap_delete_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18336 PyObject *resultobj = 0;
18337 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
18338 void *argp1 = 0 ;
18339 int res1 = 0 ;
18340 PyObject *swig_obj[1] ;
18341
18342 if (!args) SWIG_fail;
18343 swig_obj[0] = args;
18344 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_DISOWN | 0 );
18345 if (!SWIG_IsOK(res1)) {
18346 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
18347 }
18348 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
18349 {
18350 PyThreadState* __tstate = wxPyBeginAllowThreads();
18351 delete arg1;
18352
18353 wxPyEndAllowThreads(__tstate);
18354 if (PyErr_Occurred()) SWIG_fail;
18355 }
18356 resultobj = SWIG_Py_Void();
18357 return resultobj;
18358 fail:
18359 return NULL;
18360 }
18361
18362
18363 SWIGINTERN PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18364 PyObject *resultobj = 0;
18365 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
18366 PyObject *arg2 = (PyObject *) 0 ;
18367 PyObject *arg3 = (PyObject *) 0 ;
18368 int arg4 = (int) 0 ;
18369 void *argp1 = 0 ;
18370 int res1 = 0 ;
18371 int val4 ;
18372 int ecode4 = 0 ;
18373 PyObject * obj0 = 0 ;
18374 PyObject * obj1 = 0 ;
18375 PyObject * obj2 = 0 ;
18376 PyObject * obj3 = 0 ;
18377 char * kwnames[] = {
18378 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
18379 };
18380
18381 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
18382 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
18383 if (!SWIG_IsOK(res1)) {
18384 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
18385 }
18386 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
18387 arg2 = obj1;
18388 arg3 = obj2;
18389 if (obj3) {
18390 ecode4 = SWIG_AsVal_int(obj3, &val4);
18391 if (!SWIG_IsOK(ecode4)) {
18392 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
18393 }
18394 arg4 = static_cast< int >(val4);
18395 }
18396 {
18397 PyThreadState* __tstate = wxPyBeginAllowThreads();
18398 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
18399 wxPyEndAllowThreads(__tstate);
18400 if (PyErr_Occurred()) SWIG_fail;
18401 }
18402 resultobj = SWIG_Py_Void();
18403 return resultobj;
18404 fail:
18405 return NULL;
18406 }
18407
18408
18409 SWIGINTERN PyObject *_wrap_TaskBarIcon_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18410 PyObject *resultobj = 0;
18411 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
18412 void *argp1 = 0 ;
18413 int res1 = 0 ;
18414 PyObject *swig_obj[1] ;
18415
18416 if (!args) SWIG_fail;
18417 swig_obj[0] = args;
18418 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
18419 if (!SWIG_IsOK(res1)) {
18420 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
18421 }
18422 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
18423 {
18424 PyThreadState* __tstate = wxPyBeginAllowThreads();
18425 wxPyTaskBarIcon_Destroy(arg1);
18426 wxPyEndAllowThreads(__tstate);
18427 if (PyErr_Occurred()) SWIG_fail;
18428 }
18429 resultobj = SWIG_Py_Void();
18430 return resultobj;
18431 fail:
18432 return NULL;
18433 }
18434
18435
18436 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18437 PyObject *resultobj = 0;
18438 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
18439 bool result;
18440 void *argp1 = 0 ;
18441 int res1 = 0 ;
18442 PyObject *swig_obj[1] ;
18443
18444 if (!args) SWIG_fail;
18445 swig_obj[0] = args;
18446 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
18447 if (!SWIG_IsOK(res1)) {
18448 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
18449 }
18450 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
18451 {
18452 PyThreadState* __tstate = wxPyBeginAllowThreads();
18453 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
18454 wxPyEndAllowThreads(__tstate);
18455 if (PyErr_Occurred()) SWIG_fail;
18456 }
18457 {
18458 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18459 }
18460 return resultobj;
18461 fail:
18462 return NULL;
18463 }
18464
18465
18466 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18467 PyObject *resultobj = 0;
18468 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
18469 bool result;
18470 void *argp1 = 0 ;
18471 int res1 = 0 ;
18472 PyObject *swig_obj[1] ;
18473
18474 if (!args) SWIG_fail;
18475 swig_obj[0] = args;
18476 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
18477 if (!SWIG_IsOK(res1)) {
18478 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
18479 }
18480 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
18481 {
18482 PyThreadState* __tstate = wxPyBeginAllowThreads();
18483 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
18484 wxPyEndAllowThreads(__tstate);
18485 if (PyErr_Occurred()) SWIG_fail;
18486 }
18487 {
18488 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18489 }
18490 return resultobj;
18491 fail:
18492 return NULL;
18493 }
18494
18495
18496 SWIGINTERN PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18497 PyObject *resultobj = 0;
18498 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
18499 wxIcon *arg2 = 0 ;
18500 wxString const &arg3_defvalue = wxPyEmptyString ;
18501 wxString *arg3 = (wxString *) &arg3_defvalue ;
18502 bool result;
18503 void *argp1 = 0 ;
18504 int res1 = 0 ;
18505 void *argp2 = 0 ;
18506 int res2 = 0 ;
18507 bool temp3 = false ;
18508 PyObject * obj0 = 0 ;
18509 PyObject * obj1 = 0 ;
18510 PyObject * obj2 = 0 ;
18511 char * kwnames[] = {
18512 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
18513 };
18514
18515 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18516 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
18517 if (!SWIG_IsOK(res1)) {
18518 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
18519 }
18520 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
18521 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
18522 if (!SWIG_IsOK(res2)) {
18523 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
18524 }
18525 if (!argp2) {
18526 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
18527 }
18528 arg2 = reinterpret_cast< wxIcon * >(argp2);
18529 if (obj2) {
18530 {
18531 arg3 = wxString_in_helper(obj2);
18532 if (arg3 == NULL) SWIG_fail;
18533 temp3 = true;
18534 }
18535 }
18536 {
18537 PyThreadState* __tstate = wxPyBeginAllowThreads();
18538 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
18539 wxPyEndAllowThreads(__tstate);
18540 if (PyErr_Occurred()) SWIG_fail;
18541 }
18542 {
18543 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18544 }
18545 {
18546 if (temp3)
18547 delete arg3;
18548 }
18549 return resultobj;
18550 fail:
18551 {
18552 if (temp3)
18553 delete arg3;
18554 }
18555 return NULL;
18556 }
18557
18558
18559 SWIGINTERN PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18560 PyObject *resultobj = 0;
18561 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
18562 bool result;
18563 void *argp1 = 0 ;
18564 int res1 = 0 ;
18565 PyObject *swig_obj[1] ;
18566
18567 if (!args) SWIG_fail;
18568 swig_obj[0] = args;
18569 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
18570 if (!SWIG_IsOK(res1)) {
18571 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
18572 }
18573 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
18574 {
18575 PyThreadState* __tstate = wxPyBeginAllowThreads();
18576 result = (bool)(arg1)->RemoveIcon();
18577 wxPyEndAllowThreads(__tstate);
18578 if (PyErr_Occurred()) SWIG_fail;
18579 }
18580 {
18581 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18582 }
18583 return resultobj;
18584 fail:
18585 return NULL;
18586 }
18587
18588
18589 SWIGINTERN PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18590 PyObject *resultobj = 0;
18591 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
18592 wxMenu *arg2 = (wxMenu *) 0 ;
18593 bool result;
18594 void *argp1 = 0 ;
18595 int res1 = 0 ;
18596 void *argp2 = 0 ;
18597 int res2 = 0 ;
18598 PyObject * obj0 = 0 ;
18599 PyObject * obj1 = 0 ;
18600 char * kwnames[] = {
18601 (char *) "self",(char *) "menu", NULL
18602 };
18603
18604 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) SWIG_fail;
18605 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
18606 if (!SWIG_IsOK(res1)) {
18607 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
18608 }
18609 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
18610 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
18611 if (!SWIG_IsOK(res2)) {
18612 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
18613 }
18614 arg2 = reinterpret_cast< wxMenu * >(argp2);
18615 {
18616 PyThreadState* __tstate = wxPyBeginAllowThreads();
18617 result = (bool)(arg1)->PopupMenu(arg2);
18618 wxPyEndAllowThreads(__tstate);
18619 if (PyErr_Occurred()) SWIG_fail;
18620 }
18621 {
18622 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18623 }
18624 return resultobj;
18625 fail:
18626 return NULL;
18627 }
18628
18629
18630 SWIGINTERN PyObject *TaskBarIcon_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18631 PyObject *obj;
18632 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18633 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon, SWIG_NewClientData(obj));
18634 return SWIG_Py_Void();
18635 }
18636
18637 SWIGINTERN PyObject *TaskBarIcon_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18638 return SWIG_Python_InitShadowInstance(args);
18639 }
18640
18641 SWIGINTERN PyObject *_wrap_new_TaskBarIconEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18642 PyObject *resultobj = 0;
18643 wxEventType arg1 ;
18644 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
18645 wxTaskBarIconEvent *result = 0 ;
18646 int val1 ;
18647 int ecode1 = 0 ;
18648 void *argp2 = 0 ;
18649 int res2 = 0 ;
18650 PyObject * obj0 = 0 ;
18651 PyObject * obj1 = 0 ;
18652 char * kwnames[] = {
18653 (char *) "evtType",(char *) "tbIcon", NULL
18654 };
18655
18656 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) SWIG_fail;
18657 ecode1 = SWIG_AsVal_int(obj0, &val1);
18658 if (!SWIG_IsOK(ecode1)) {
18659 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
18660 }
18661 arg1 = static_cast< wxEventType >(val1);
18662 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTaskBarIcon, 0 | 0 );
18663 if (!SWIG_IsOK(res2)) {
18664 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
18665 }
18666 arg2 = reinterpret_cast< wxTaskBarIcon * >(argp2);
18667 {
18668 PyThreadState* __tstate = wxPyBeginAllowThreads();
18669 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
18670 wxPyEndAllowThreads(__tstate);
18671 if (PyErr_Occurred()) SWIG_fail;
18672 }
18673 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTaskBarIconEvent, SWIG_POINTER_NEW | 0 );
18674 return resultobj;
18675 fail:
18676 return NULL;
18677 }
18678
18679
18680 SWIGINTERN PyObject *TaskBarIconEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18681 PyObject *obj;
18682 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18683 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent, SWIG_NewClientData(obj));
18684 return SWIG_Py_Void();
18685 }
18686
18687 SWIGINTERN PyObject *TaskBarIconEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18688 return SWIG_Python_InitShadowInstance(args);
18689 }
18690
18691 SWIGINTERN int FileSelectorPromptStr_set(PyObject *) {
18692 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorPromptStr is read-only.");
18693 return 1;
18694 }
18695
18696
18697 SWIGINTERN PyObject *FileSelectorPromptStr_get(void) {
18698 PyObject *pyobj = 0;
18699
18700 {
18701 #if wxUSE_UNICODE
18702 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
18703 #else
18704 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
18705 #endif
18706 }
18707 return pyobj;
18708 }
18709
18710
18711 SWIGINTERN int DirSelectorPromptStr_set(PyObject *) {
18712 SWIG_Error(SWIG_AttributeError,"Variable DirSelectorPromptStr is read-only.");
18713 return 1;
18714 }
18715
18716
18717 SWIGINTERN PyObject *DirSelectorPromptStr_get(void) {
18718 PyObject *pyobj = 0;
18719
18720 {
18721 #if wxUSE_UNICODE
18722 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
18723 #else
18724 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
18725 #endif
18726 }
18727 return pyobj;
18728 }
18729
18730
18731 SWIGINTERN int DirDialogNameStr_set(PyObject *) {
18732 SWIG_Error(SWIG_AttributeError,"Variable DirDialogNameStr is read-only.");
18733 return 1;
18734 }
18735
18736
18737 SWIGINTERN PyObject *DirDialogNameStr_get(void) {
18738 PyObject *pyobj = 0;
18739
18740 {
18741 #if wxUSE_UNICODE
18742 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
18743 #else
18744 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
18745 #endif
18746 }
18747 return pyobj;
18748 }
18749
18750
18751 SWIGINTERN int FileSelectorDefaultWildcardStr_set(PyObject *) {
18752 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
18753 return 1;
18754 }
18755
18756
18757 SWIGINTERN PyObject *FileSelectorDefaultWildcardStr_get(void) {
18758 PyObject *pyobj = 0;
18759
18760 {
18761 #if wxUSE_UNICODE
18762 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
18763 #else
18764 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
18765 #endif
18766 }
18767 return pyobj;
18768 }
18769
18770
18771 SWIGINTERN int GetTextFromUserPromptStr_set(PyObject *) {
18772 SWIG_Error(SWIG_AttributeError,"Variable GetTextFromUserPromptStr is read-only.");
18773 return 1;
18774 }
18775
18776
18777 SWIGINTERN PyObject *GetTextFromUserPromptStr_get(void) {
18778 PyObject *pyobj = 0;
18779
18780 {
18781 #if wxUSE_UNICODE
18782 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
18783 #else
18784 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
18785 #endif
18786 }
18787 return pyobj;
18788 }
18789
18790
18791 SWIGINTERN int MessageBoxCaptionStr_set(PyObject *) {
18792 SWIG_Error(SWIG_AttributeError,"Variable MessageBoxCaptionStr is read-only.");
18793 return 1;
18794 }
18795
18796
18797 SWIGINTERN PyObject *MessageBoxCaptionStr_get(void) {
18798 PyObject *pyobj = 0;
18799
18800 {
18801 #if wxUSE_UNICODE
18802 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
18803 #else
18804 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
18805 #endif
18806 }
18807 return pyobj;
18808 }
18809
18810
18811 SWIGINTERN PyObject *_wrap_new_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18812 PyObject *resultobj = 0;
18813 wxColourData *result = 0 ;
18814
18815 if (!SWIG_Python_UnpackTuple(args,"new_ColourData",0,0,0)) SWIG_fail;
18816 {
18817 PyThreadState* __tstate = wxPyBeginAllowThreads();
18818 result = (wxColourData *)new wxColourData();
18819 wxPyEndAllowThreads(__tstate);
18820 if (PyErr_Occurred()) SWIG_fail;
18821 }
18822 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, SWIG_POINTER_NEW | 0 );
18823 return resultobj;
18824 fail:
18825 return NULL;
18826 }
18827
18828
18829 SWIGINTERN PyObject *_wrap_delete_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18830 PyObject *resultobj = 0;
18831 wxColourData *arg1 = (wxColourData *) 0 ;
18832 void *argp1 = 0 ;
18833 int res1 = 0 ;
18834 PyObject *swig_obj[1] ;
18835
18836 if (!args) SWIG_fail;
18837 swig_obj[0] = args;
18838 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, SWIG_POINTER_DISOWN | 0 );
18839 if (!SWIG_IsOK(res1)) {
18840 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
18841 }
18842 arg1 = reinterpret_cast< wxColourData * >(argp1);
18843 {
18844 PyThreadState* __tstate = wxPyBeginAllowThreads();
18845 delete arg1;
18846
18847 wxPyEndAllowThreads(__tstate);
18848 if (PyErr_Occurred()) SWIG_fail;
18849 }
18850 resultobj = SWIG_Py_Void();
18851 return resultobj;
18852 fail:
18853 return NULL;
18854 }
18855
18856
18857 SWIGINTERN PyObject *_wrap_ColourData_GetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18858 PyObject *resultobj = 0;
18859 wxColourData *arg1 = (wxColourData *) 0 ;
18860 bool result;
18861 void *argp1 = 0 ;
18862 int res1 = 0 ;
18863 PyObject *swig_obj[1] ;
18864
18865 if (!args) SWIG_fail;
18866 swig_obj[0] = args;
18867 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
18868 if (!SWIG_IsOK(res1)) {
18869 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
18870 }
18871 arg1 = reinterpret_cast< wxColourData * >(argp1);
18872 {
18873 PyThreadState* __tstate = wxPyBeginAllowThreads();
18874 result = (bool)(arg1)->GetChooseFull();
18875 wxPyEndAllowThreads(__tstate);
18876 if (PyErr_Occurred()) SWIG_fail;
18877 }
18878 {
18879 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18880 }
18881 return resultobj;
18882 fail:
18883 return NULL;
18884 }
18885
18886
18887 SWIGINTERN PyObject *_wrap_ColourData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18888 PyObject *resultobj = 0;
18889 wxColourData *arg1 = (wxColourData *) 0 ;
18890 wxColour result;
18891 void *argp1 = 0 ;
18892 int res1 = 0 ;
18893 PyObject *swig_obj[1] ;
18894
18895 if (!args) SWIG_fail;
18896 swig_obj[0] = args;
18897 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
18898 if (!SWIG_IsOK(res1)) {
18899 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
18900 }
18901 arg1 = reinterpret_cast< wxColourData * >(argp1);
18902 {
18903 PyThreadState* __tstate = wxPyBeginAllowThreads();
18904 result = (arg1)->GetColour();
18905 wxPyEndAllowThreads(__tstate);
18906 if (PyErr_Occurred()) SWIG_fail;
18907 }
18908 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
18909 return resultobj;
18910 fail:
18911 return NULL;
18912 }
18913
18914
18915 SWIGINTERN PyObject *_wrap_ColourData_GetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18916 PyObject *resultobj = 0;
18917 wxColourData *arg1 = (wxColourData *) 0 ;
18918 int arg2 ;
18919 wxColour result;
18920 void *argp1 = 0 ;
18921 int res1 = 0 ;
18922 int val2 ;
18923 int ecode2 = 0 ;
18924 PyObject * obj0 = 0 ;
18925 PyObject * obj1 = 0 ;
18926 char * kwnames[] = {
18927 (char *) "self",(char *) "i", NULL
18928 };
18929
18930 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) SWIG_fail;
18931 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
18932 if (!SWIG_IsOK(res1)) {
18933 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
18934 }
18935 arg1 = reinterpret_cast< wxColourData * >(argp1);
18936 ecode2 = SWIG_AsVal_int(obj1, &val2);
18937 if (!SWIG_IsOK(ecode2)) {
18938 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
18939 }
18940 arg2 = static_cast< int >(val2);
18941 {
18942 PyThreadState* __tstate = wxPyBeginAllowThreads();
18943 result = (arg1)->GetCustomColour(arg2);
18944 wxPyEndAllowThreads(__tstate);
18945 if (PyErr_Occurred()) SWIG_fail;
18946 }
18947 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
18948 return resultobj;
18949 fail:
18950 return NULL;
18951 }
18952
18953
18954 SWIGINTERN PyObject *_wrap_ColourData_SetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18955 PyObject *resultobj = 0;
18956 wxColourData *arg1 = (wxColourData *) 0 ;
18957 int arg2 ;
18958 void *argp1 = 0 ;
18959 int res1 = 0 ;
18960 int val2 ;
18961 int ecode2 = 0 ;
18962 PyObject * obj0 = 0 ;
18963 PyObject * obj1 = 0 ;
18964 char * kwnames[] = {
18965 (char *) "self",(char *) "flag", NULL
18966 };
18967
18968 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) SWIG_fail;
18969 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
18970 if (!SWIG_IsOK(res1)) {
18971 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
18972 }
18973 arg1 = reinterpret_cast< wxColourData * >(argp1);
18974 ecode2 = SWIG_AsVal_int(obj1, &val2);
18975 if (!SWIG_IsOK(ecode2)) {
18976 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
18977 }
18978 arg2 = static_cast< int >(val2);
18979 {
18980 PyThreadState* __tstate = wxPyBeginAllowThreads();
18981 (arg1)->SetChooseFull(arg2);
18982 wxPyEndAllowThreads(__tstate);
18983 if (PyErr_Occurred()) SWIG_fail;
18984 }
18985 resultobj = SWIG_Py_Void();
18986 return resultobj;
18987 fail:
18988 return NULL;
18989 }
18990
18991
18992 SWIGINTERN PyObject *_wrap_ColourData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18993 PyObject *resultobj = 0;
18994 wxColourData *arg1 = (wxColourData *) 0 ;
18995 wxColour *arg2 = 0 ;
18996 void *argp1 = 0 ;
18997 int res1 = 0 ;
18998 wxColour temp2 ;
18999 PyObject * obj0 = 0 ;
19000 PyObject * obj1 = 0 ;
19001 char * kwnames[] = {
19002 (char *) "self",(char *) "colour", NULL
19003 };
19004
19005 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
19006 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
19007 if (!SWIG_IsOK(res1)) {
19008 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
19009 }
19010 arg1 = reinterpret_cast< wxColourData * >(argp1);
19011 {
19012 arg2 = &temp2;
19013 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19014 }
19015 {
19016 PyThreadState* __tstate = wxPyBeginAllowThreads();
19017 (arg1)->SetColour((wxColour const &)*arg2);
19018 wxPyEndAllowThreads(__tstate);
19019 if (PyErr_Occurred()) SWIG_fail;
19020 }
19021 resultobj = SWIG_Py_Void();
19022 return resultobj;
19023 fail:
19024 return NULL;
19025 }
19026
19027
19028 SWIGINTERN PyObject *_wrap_ColourData_SetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19029 PyObject *resultobj = 0;
19030 wxColourData *arg1 = (wxColourData *) 0 ;
19031 int arg2 ;
19032 wxColour *arg3 = 0 ;
19033 void *argp1 = 0 ;
19034 int res1 = 0 ;
19035 int val2 ;
19036 int ecode2 = 0 ;
19037 wxColour temp3 ;
19038 PyObject * obj0 = 0 ;
19039 PyObject * obj1 = 0 ;
19040 PyObject * obj2 = 0 ;
19041 char * kwnames[] = {
19042 (char *) "self",(char *) "i",(char *) "colour", NULL
19043 };
19044
19045 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19046 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
19047 if (!SWIG_IsOK(res1)) {
19048 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
19049 }
19050 arg1 = reinterpret_cast< wxColourData * >(argp1);
19051 ecode2 = SWIG_AsVal_int(obj1, &val2);
19052 if (!SWIG_IsOK(ecode2)) {
19053 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
19054 }
19055 arg2 = static_cast< int >(val2);
19056 {
19057 arg3 = &temp3;
19058 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
19059 }
19060 {
19061 PyThreadState* __tstate = wxPyBeginAllowThreads();
19062 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
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 *ColourData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19074 PyObject *obj;
19075 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19076 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData, SWIG_NewClientData(obj));
19077 return SWIG_Py_Void();
19078 }
19079
19080 SWIGINTERN PyObject *ColourData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19081 return SWIG_Python_InitShadowInstance(args);
19082 }
19083
19084 SWIGINTERN PyObject *_wrap_new_ColourDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19085 PyObject *resultobj = 0;
19086 wxWindow *arg1 = (wxWindow *) 0 ;
19087 wxColourData *arg2 = (wxColourData *) NULL ;
19088 wxColourDialog *result = 0 ;
19089 void *argp1 = 0 ;
19090 int res1 = 0 ;
19091 void *argp2 = 0 ;
19092 int res2 = 0 ;
19093 PyObject * obj0 = 0 ;
19094 PyObject * obj1 = 0 ;
19095 char * kwnames[] = {
19096 (char *) "parent",(char *) "data", NULL
19097 };
19098
19099 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) SWIG_fail;
19100 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19101 if (!SWIG_IsOK(res1)) {
19102 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19103 }
19104 arg1 = reinterpret_cast< wxWindow * >(argp1);
19105 if (obj1) {
19106 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxColourData, 0 | 0 );
19107 if (!SWIG_IsOK(res2)) {
19108 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
19109 }
19110 arg2 = reinterpret_cast< wxColourData * >(argp2);
19111 }
19112 {
19113 if (!wxPyCheckForApp()) SWIG_fail;
19114 PyThreadState* __tstate = wxPyBeginAllowThreads();
19115 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
19116 wxPyEndAllowThreads(__tstate);
19117 if (PyErr_Occurred()) SWIG_fail;
19118 }
19119 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourDialog, SWIG_POINTER_NEW | 0 );
19120 return resultobj;
19121 fail:
19122 return NULL;
19123 }
19124
19125
19126 SWIGINTERN PyObject *_wrap_ColourDialog_GetColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19127 PyObject *resultobj = 0;
19128 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
19129 wxColourData *result = 0 ;
19130 void *argp1 = 0 ;
19131 int res1 = 0 ;
19132 PyObject *swig_obj[1] ;
19133
19134 if (!args) SWIG_fail;
19135 swig_obj[0] = args;
19136 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourDialog, 0 | 0 );
19137 if (!SWIG_IsOK(res1)) {
19138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
19139 }
19140 arg1 = reinterpret_cast< wxColourDialog * >(argp1);
19141 {
19142 PyThreadState* __tstate = wxPyBeginAllowThreads();
19143 {
19144 wxColourData &_result_ref = (arg1)->GetColourData();
19145 result = (wxColourData *) &_result_ref;
19146 }
19147 wxPyEndAllowThreads(__tstate);
19148 if (PyErr_Occurred()) SWIG_fail;
19149 }
19150 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, 0 | 0 );
19151 return resultobj;
19152 fail:
19153 return NULL;
19154 }
19155
19156
19157 SWIGINTERN PyObject *ColourDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19158 PyObject *obj;
19159 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19160 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog, SWIG_NewClientData(obj));
19161 return SWIG_Py_Void();
19162 }
19163
19164 SWIGINTERN PyObject *ColourDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19165 return SWIG_Python_InitShadowInstance(args);
19166 }
19167
19168 SWIGINTERN PyObject *_wrap_GetColourFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19169 PyObject *resultobj = 0;
19170 wxWindow *arg1 = (wxWindow *) (wxWindow *) NULL ;
19171 wxColour const &arg2_defvalue = wxNullColour ;
19172 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
19173 wxString const &arg3_defvalue = wxPyEmptyString ;
19174 wxString *arg3 = (wxString *) &arg3_defvalue ;
19175 wxColour result;
19176 void *argp1 = 0 ;
19177 int res1 = 0 ;
19178 wxColour temp2 ;
19179 bool temp3 = false ;
19180 PyObject * obj0 = 0 ;
19181 PyObject * obj1 = 0 ;
19182 PyObject * obj2 = 0 ;
19183 char * kwnames[] = {
19184 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
19185 };
19186
19187 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetColourFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19188 if (obj0) {
19189 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19190 if (!SWIG_IsOK(res1)) {
19191 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
19192 }
19193 arg1 = reinterpret_cast< wxWindow * >(argp1);
19194 }
19195 if (obj1) {
19196 {
19197 arg2 = &temp2;
19198 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19199 }
19200 }
19201 if (obj2) {
19202 {
19203 arg3 = wxString_in_helper(obj2);
19204 if (arg3 == NULL) SWIG_fail;
19205 temp3 = true;
19206 }
19207 }
19208 {
19209 PyThreadState* __tstate = wxPyBeginAllowThreads();
19210 result = wxGetColourFromUser(arg1,(wxColour const &)*arg2,(wxString const &)*arg3);
19211 wxPyEndAllowThreads(__tstate);
19212 if (PyErr_Occurred()) SWIG_fail;
19213 }
19214 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
19215 {
19216 if (temp3)
19217 delete arg3;
19218 }
19219 return resultobj;
19220 fail:
19221 {
19222 if (temp3)
19223 delete arg3;
19224 }
19225 return NULL;
19226 }
19227
19228
19229 SWIGINTERN PyObject *_wrap_new_DirDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19230 PyObject *resultobj = 0;
19231 wxWindow *arg1 = (wxWindow *) 0 ;
19232 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
19233 wxString *arg2 = (wxString *) &arg2_defvalue ;
19234 wxString const &arg3_defvalue = wxPyEmptyString ;
19235 wxString *arg3 = (wxString *) &arg3_defvalue ;
19236 long arg4 = (long) wxDD_DEFAULT_STYLE ;
19237 wxPoint const &arg5_defvalue = wxDefaultPosition ;
19238 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
19239 wxSize const &arg6_defvalue = wxDefaultSize ;
19240 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
19241 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
19242 wxString *arg7 = (wxString *) &arg7_defvalue ;
19243 wxDirDialog *result = 0 ;
19244 void *argp1 = 0 ;
19245 int res1 = 0 ;
19246 bool temp2 = false ;
19247 bool temp3 = false ;
19248 long val4 ;
19249 int ecode4 = 0 ;
19250 wxPoint temp5 ;
19251 wxSize temp6 ;
19252 bool temp7 = false ;
19253 PyObject * obj0 = 0 ;
19254 PyObject * obj1 = 0 ;
19255 PyObject * obj2 = 0 ;
19256 PyObject * obj3 = 0 ;
19257 PyObject * obj4 = 0 ;
19258 PyObject * obj5 = 0 ;
19259 PyObject * obj6 = 0 ;
19260 char * kwnames[] = {
19261 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
19262 };
19263
19264 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
19265 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19266 if (!SWIG_IsOK(res1)) {
19267 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19268 }
19269 arg1 = reinterpret_cast< wxWindow * >(argp1);
19270 if (obj1) {
19271 {
19272 arg2 = wxString_in_helper(obj1);
19273 if (arg2 == NULL) SWIG_fail;
19274 temp2 = true;
19275 }
19276 }
19277 if (obj2) {
19278 {
19279 arg3 = wxString_in_helper(obj2);
19280 if (arg3 == NULL) SWIG_fail;
19281 temp3 = true;
19282 }
19283 }
19284 if (obj3) {
19285 ecode4 = SWIG_AsVal_long(obj3, &val4);
19286 if (!SWIG_IsOK(ecode4)) {
19287 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
19288 }
19289 arg4 = static_cast< long >(val4);
19290 }
19291 if (obj4) {
19292 {
19293 arg5 = &temp5;
19294 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
19295 }
19296 }
19297 if (obj5) {
19298 {
19299 arg6 = &temp6;
19300 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
19301 }
19302 }
19303 if (obj6) {
19304 {
19305 arg7 = wxString_in_helper(obj6);
19306 if (arg7 == NULL) SWIG_fail;
19307 temp7 = true;
19308 }
19309 }
19310 {
19311 if (!wxPyCheckForApp()) SWIG_fail;
19312 PyThreadState* __tstate = wxPyBeginAllowThreads();
19313 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
19314 wxPyEndAllowThreads(__tstate);
19315 if (PyErr_Occurred()) SWIG_fail;
19316 }
19317 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirDialog, SWIG_POINTER_NEW | 0 );
19318 {
19319 if (temp2)
19320 delete arg2;
19321 }
19322 {
19323 if (temp3)
19324 delete arg3;
19325 }
19326 {
19327 if (temp7)
19328 delete arg7;
19329 }
19330 return resultobj;
19331 fail:
19332 {
19333 if (temp2)
19334 delete arg2;
19335 }
19336 {
19337 if (temp3)
19338 delete arg3;
19339 }
19340 {
19341 if (temp7)
19342 delete arg7;
19343 }
19344 return NULL;
19345 }
19346
19347
19348 SWIGINTERN PyObject *_wrap_DirDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19349 PyObject *resultobj = 0;
19350 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
19351 wxString result;
19352 void *argp1 = 0 ;
19353 int res1 = 0 ;
19354 PyObject *swig_obj[1] ;
19355
19356 if (!args) SWIG_fail;
19357 swig_obj[0] = args;
19358 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
19359 if (!SWIG_IsOK(res1)) {
19360 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
19361 }
19362 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
19363 {
19364 PyThreadState* __tstate = wxPyBeginAllowThreads();
19365 result = (arg1)->GetPath();
19366 wxPyEndAllowThreads(__tstate);
19367 if (PyErr_Occurred()) SWIG_fail;
19368 }
19369 {
19370 #if wxUSE_UNICODE
19371 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19372 #else
19373 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19374 #endif
19375 }
19376 return resultobj;
19377 fail:
19378 return NULL;
19379 }
19380
19381
19382 SWIGINTERN PyObject *_wrap_DirDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19383 PyObject *resultobj = 0;
19384 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
19385 wxString result;
19386 void *argp1 = 0 ;
19387 int res1 = 0 ;
19388 PyObject *swig_obj[1] ;
19389
19390 if (!args) SWIG_fail;
19391 swig_obj[0] = args;
19392 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
19393 if (!SWIG_IsOK(res1)) {
19394 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
19395 }
19396 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
19397 {
19398 PyThreadState* __tstate = wxPyBeginAllowThreads();
19399 result = (arg1)->GetMessage();
19400 wxPyEndAllowThreads(__tstate);
19401 if (PyErr_Occurred()) SWIG_fail;
19402 }
19403 {
19404 #if wxUSE_UNICODE
19405 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19406 #else
19407 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19408 #endif
19409 }
19410 return resultobj;
19411 fail:
19412 return NULL;
19413 }
19414
19415
19416 SWIGINTERN PyObject *_wrap_DirDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19417 PyObject *resultobj = 0;
19418 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
19419 wxString *arg2 = 0 ;
19420 void *argp1 = 0 ;
19421 int res1 = 0 ;
19422 bool temp2 = false ;
19423 PyObject * obj0 = 0 ;
19424 PyObject * obj1 = 0 ;
19425 char * kwnames[] = {
19426 (char *) "self",(char *) "message", NULL
19427 };
19428
19429 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
19430 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
19431 if (!SWIG_IsOK(res1)) {
19432 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
19433 }
19434 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
19435 {
19436 arg2 = wxString_in_helper(obj1);
19437 if (arg2 == NULL) SWIG_fail;
19438 temp2 = true;
19439 }
19440 {
19441 PyThreadState* __tstate = wxPyBeginAllowThreads();
19442 (arg1)->SetMessage((wxString const &)*arg2);
19443 wxPyEndAllowThreads(__tstate);
19444 if (PyErr_Occurred()) SWIG_fail;
19445 }
19446 resultobj = SWIG_Py_Void();
19447 {
19448 if (temp2)
19449 delete arg2;
19450 }
19451 return resultobj;
19452 fail:
19453 {
19454 if (temp2)
19455 delete arg2;
19456 }
19457 return NULL;
19458 }
19459
19460
19461 SWIGINTERN PyObject *_wrap_DirDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19462 PyObject *resultobj = 0;
19463 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
19464 wxString *arg2 = 0 ;
19465 void *argp1 = 0 ;
19466 int res1 = 0 ;
19467 bool temp2 = false ;
19468 PyObject * obj0 = 0 ;
19469 PyObject * obj1 = 0 ;
19470 char * kwnames[] = {
19471 (char *) "self",(char *) "path", NULL
19472 };
19473
19474 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
19475 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
19476 if (!SWIG_IsOK(res1)) {
19477 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
19478 }
19479 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
19480 {
19481 arg2 = wxString_in_helper(obj1);
19482 if (arg2 == NULL) SWIG_fail;
19483 temp2 = true;
19484 }
19485 {
19486 PyThreadState* __tstate = wxPyBeginAllowThreads();
19487 (arg1)->SetPath((wxString const &)*arg2);
19488 wxPyEndAllowThreads(__tstate);
19489 if (PyErr_Occurred()) SWIG_fail;
19490 }
19491 resultobj = SWIG_Py_Void();
19492 {
19493 if (temp2)
19494 delete arg2;
19495 }
19496 return resultobj;
19497 fail:
19498 {
19499 if (temp2)
19500 delete arg2;
19501 }
19502 return NULL;
19503 }
19504
19505
19506 SWIGINTERN PyObject *DirDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19507 PyObject *obj;
19508 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19509 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog, SWIG_NewClientData(obj));
19510 return SWIG_Py_Void();
19511 }
19512
19513 SWIGINTERN PyObject *DirDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19514 return SWIG_Python_InitShadowInstance(args);
19515 }
19516
19517 SWIGINTERN PyObject *_wrap_new_FileDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19518 PyObject *resultobj = 0;
19519 wxWindow *arg1 = (wxWindow *) 0 ;
19520 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
19521 wxString *arg2 = (wxString *) &arg2_defvalue ;
19522 wxString const &arg3_defvalue = wxPyEmptyString ;
19523 wxString *arg3 = (wxString *) &arg3_defvalue ;
19524 wxString const &arg4_defvalue = wxPyEmptyString ;
19525 wxString *arg4 = (wxString *) &arg4_defvalue ;
19526 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
19527 wxString *arg5 = (wxString *) &arg5_defvalue ;
19528 long arg6 = (long) wxFD_DEFAULT_STYLE ;
19529 wxPoint const &arg7_defvalue = wxDefaultPosition ;
19530 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
19531 wxFileDialog *result = 0 ;
19532 void *argp1 = 0 ;
19533 int res1 = 0 ;
19534 bool temp2 = false ;
19535 bool temp3 = false ;
19536 bool temp4 = false ;
19537 bool temp5 = false ;
19538 long val6 ;
19539 int ecode6 = 0 ;
19540 wxPoint temp7 ;
19541 PyObject * obj0 = 0 ;
19542 PyObject * obj1 = 0 ;
19543 PyObject * obj2 = 0 ;
19544 PyObject * obj3 = 0 ;
19545 PyObject * obj4 = 0 ;
19546 PyObject * obj5 = 0 ;
19547 PyObject * obj6 = 0 ;
19548 char * kwnames[] = {
19549 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
19550 };
19551
19552 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
19553 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19554 if (!SWIG_IsOK(res1)) {
19555 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19556 }
19557 arg1 = reinterpret_cast< wxWindow * >(argp1);
19558 if (obj1) {
19559 {
19560 arg2 = wxString_in_helper(obj1);
19561 if (arg2 == NULL) SWIG_fail;
19562 temp2 = true;
19563 }
19564 }
19565 if (obj2) {
19566 {
19567 arg3 = wxString_in_helper(obj2);
19568 if (arg3 == NULL) SWIG_fail;
19569 temp3 = true;
19570 }
19571 }
19572 if (obj3) {
19573 {
19574 arg4 = wxString_in_helper(obj3);
19575 if (arg4 == NULL) SWIG_fail;
19576 temp4 = true;
19577 }
19578 }
19579 if (obj4) {
19580 {
19581 arg5 = wxString_in_helper(obj4);
19582 if (arg5 == NULL) SWIG_fail;
19583 temp5 = true;
19584 }
19585 }
19586 if (obj5) {
19587 ecode6 = SWIG_AsVal_long(obj5, &val6);
19588 if (!SWIG_IsOK(ecode6)) {
19589 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
19590 }
19591 arg6 = static_cast< long >(val6);
19592 }
19593 if (obj6) {
19594 {
19595 arg7 = &temp7;
19596 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
19597 }
19598 }
19599 {
19600 if (!wxPyCheckForApp()) SWIG_fail;
19601 PyThreadState* __tstate = wxPyBeginAllowThreads();
19602 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
19603 wxPyEndAllowThreads(__tstate);
19604 if (PyErr_Occurred()) SWIG_fail;
19605 }
19606 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileDialog, SWIG_POINTER_NEW | 0 );
19607 {
19608 if (temp2)
19609 delete arg2;
19610 }
19611 {
19612 if (temp3)
19613 delete arg3;
19614 }
19615 {
19616 if (temp4)
19617 delete arg4;
19618 }
19619 {
19620 if (temp5)
19621 delete arg5;
19622 }
19623 return resultobj;
19624 fail:
19625 {
19626 if (temp2)
19627 delete arg2;
19628 }
19629 {
19630 if (temp3)
19631 delete arg3;
19632 }
19633 {
19634 if (temp4)
19635 delete arg4;
19636 }
19637 {
19638 if (temp5)
19639 delete arg5;
19640 }
19641 return NULL;
19642 }
19643
19644
19645 SWIGINTERN PyObject *_wrap_FileDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19646 PyObject *resultobj = 0;
19647 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
19648 wxString *arg2 = 0 ;
19649 void *argp1 = 0 ;
19650 int res1 = 0 ;
19651 bool temp2 = false ;
19652 PyObject * obj0 = 0 ;
19653 PyObject * obj1 = 0 ;
19654 char * kwnames[] = {
19655 (char *) "self",(char *) "message", NULL
19656 };
19657
19658 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
19659 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
19660 if (!SWIG_IsOK(res1)) {
19661 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
19662 }
19663 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
19664 {
19665 arg2 = wxString_in_helper(obj1);
19666 if (arg2 == NULL) SWIG_fail;
19667 temp2 = true;
19668 }
19669 {
19670 PyThreadState* __tstate = wxPyBeginAllowThreads();
19671 (arg1)->SetMessage((wxString const &)*arg2);
19672 wxPyEndAllowThreads(__tstate);
19673 if (PyErr_Occurred()) SWIG_fail;
19674 }
19675 resultobj = SWIG_Py_Void();
19676 {
19677 if (temp2)
19678 delete arg2;
19679 }
19680 return resultobj;
19681 fail:
19682 {
19683 if (temp2)
19684 delete arg2;
19685 }
19686 return NULL;
19687 }
19688
19689
19690 SWIGINTERN PyObject *_wrap_FileDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19691 PyObject *resultobj = 0;
19692 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
19693 wxString *arg2 = 0 ;
19694 void *argp1 = 0 ;
19695 int res1 = 0 ;
19696 bool temp2 = false ;
19697 PyObject * obj0 = 0 ;
19698 PyObject * obj1 = 0 ;
19699 char * kwnames[] = {
19700 (char *) "self",(char *) "path", NULL
19701 };
19702
19703 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
19704 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
19705 if (!SWIG_IsOK(res1)) {
19706 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
19707 }
19708 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
19709 {
19710 arg2 = wxString_in_helper(obj1);
19711 if (arg2 == NULL) SWIG_fail;
19712 temp2 = true;
19713 }
19714 {
19715 PyThreadState* __tstate = wxPyBeginAllowThreads();
19716 (arg1)->SetPath((wxString const &)*arg2);
19717 wxPyEndAllowThreads(__tstate);
19718 if (PyErr_Occurred()) SWIG_fail;
19719 }
19720 resultobj = SWIG_Py_Void();
19721 {
19722 if (temp2)
19723 delete arg2;
19724 }
19725 return resultobj;
19726 fail:
19727 {
19728 if (temp2)
19729 delete arg2;
19730 }
19731 return NULL;
19732 }
19733
19734
19735 SWIGINTERN PyObject *_wrap_FileDialog_SetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19736 PyObject *resultobj = 0;
19737 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
19738 wxString *arg2 = 0 ;
19739 void *argp1 = 0 ;
19740 int res1 = 0 ;
19741 bool temp2 = false ;
19742 PyObject * obj0 = 0 ;
19743 PyObject * obj1 = 0 ;
19744 char * kwnames[] = {
19745 (char *) "self",(char *) "dir", NULL
19746 };
19747
19748 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) SWIG_fail;
19749 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
19750 if (!SWIG_IsOK(res1)) {
19751 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
19752 }
19753 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
19754 {
19755 arg2 = wxString_in_helper(obj1);
19756 if (arg2 == NULL) SWIG_fail;
19757 temp2 = true;
19758 }
19759 {
19760 PyThreadState* __tstate = wxPyBeginAllowThreads();
19761 (arg1)->SetDirectory((wxString const &)*arg2);
19762 wxPyEndAllowThreads(__tstate);
19763 if (PyErr_Occurred()) SWIG_fail;
19764 }
19765 resultobj = SWIG_Py_Void();
19766 {
19767 if (temp2)
19768 delete arg2;
19769 }
19770 return resultobj;
19771 fail:
19772 {
19773 if (temp2)
19774 delete arg2;
19775 }
19776 return NULL;
19777 }
19778
19779
19780 SWIGINTERN PyObject *_wrap_FileDialog_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19781 PyObject *resultobj = 0;
19782 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
19783 wxString *arg2 = 0 ;
19784 void *argp1 = 0 ;
19785 int res1 = 0 ;
19786 bool temp2 = false ;
19787 PyObject * obj0 = 0 ;
19788 PyObject * obj1 = 0 ;
19789 char * kwnames[] = {
19790 (char *) "self",(char *) "name", NULL
19791 };
19792
19793 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
19794 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
19795 if (!SWIG_IsOK(res1)) {
19796 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
19797 }
19798 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
19799 {
19800 arg2 = wxString_in_helper(obj1);
19801 if (arg2 == NULL) SWIG_fail;
19802 temp2 = true;
19803 }
19804 {
19805 PyThreadState* __tstate = wxPyBeginAllowThreads();
19806 (arg1)->SetFilename((wxString const &)*arg2);
19807 wxPyEndAllowThreads(__tstate);
19808 if (PyErr_Occurred()) SWIG_fail;
19809 }
19810 resultobj = SWIG_Py_Void();
19811 {
19812 if (temp2)
19813 delete arg2;
19814 }
19815 return resultobj;
19816 fail:
19817 {
19818 if (temp2)
19819 delete arg2;
19820 }
19821 return NULL;
19822 }
19823
19824
19825 SWIGINTERN PyObject *_wrap_FileDialog_SetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19826 PyObject *resultobj = 0;
19827 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
19828 wxString *arg2 = 0 ;
19829 void *argp1 = 0 ;
19830 int res1 = 0 ;
19831 bool temp2 = false ;
19832 PyObject * obj0 = 0 ;
19833 PyObject * obj1 = 0 ;
19834 char * kwnames[] = {
19835 (char *) "self",(char *) "wildCard", NULL
19836 };
19837
19838 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) SWIG_fail;
19839 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
19840 if (!SWIG_IsOK(res1)) {
19841 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
19842 }
19843 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
19844 {
19845 arg2 = wxString_in_helper(obj1);
19846 if (arg2 == NULL) SWIG_fail;
19847 temp2 = true;
19848 }
19849 {
19850 PyThreadState* __tstate = wxPyBeginAllowThreads();
19851 (arg1)->SetWildcard((wxString const &)*arg2);
19852 wxPyEndAllowThreads(__tstate);
19853 if (PyErr_Occurred()) SWIG_fail;
19854 }
19855 resultobj = SWIG_Py_Void();
19856 {
19857 if (temp2)
19858 delete arg2;
19859 }
19860 return resultobj;
19861 fail:
19862 {
19863 if (temp2)
19864 delete arg2;
19865 }
19866 return NULL;
19867 }
19868
19869
19870 SWIGINTERN PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19871 PyObject *resultobj = 0;
19872 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
19873 int arg2 ;
19874 void *argp1 = 0 ;
19875 int res1 = 0 ;
19876 int val2 ;
19877 int ecode2 = 0 ;
19878 PyObject * obj0 = 0 ;
19879 PyObject * obj1 = 0 ;
19880 char * kwnames[] = {
19881 (char *) "self",(char *) "filterIndex", NULL
19882 };
19883
19884 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) SWIG_fail;
19885 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
19886 if (!SWIG_IsOK(res1)) {
19887 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
19888 }
19889 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
19890 ecode2 = SWIG_AsVal_int(obj1, &val2);
19891 if (!SWIG_IsOK(ecode2)) {
19892 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
19893 }
19894 arg2 = static_cast< int >(val2);
19895 {
19896 PyThreadState* __tstate = wxPyBeginAllowThreads();
19897 (arg1)->SetFilterIndex(arg2);
19898 wxPyEndAllowThreads(__tstate);
19899 if (PyErr_Occurred()) SWIG_fail;
19900 }
19901 resultobj = SWIG_Py_Void();
19902 return resultobj;
19903 fail:
19904 return NULL;
19905 }
19906
19907
19908 SWIGINTERN PyObject *_wrap_FileDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19909 PyObject *resultobj = 0;
19910 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
19911 wxString result;
19912 void *argp1 = 0 ;
19913 int res1 = 0 ;
19914 PyObject *swig_obj[1] ;
19915
19916 if (!args) SWIG_fail;
19917 swig_obj[0] = args;
19918 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
19919 if (!SWIG_IsOK(res1)) {
19920 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
19921 }
19922 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
19923 {
19924 PyThreadState* __tstate = wxPyBeginAllowThreads();
19925 result = ((wxFileDialog const *)arg1)->GetMessage();
19926 wxPyEndAllowThreads(__tstate);
19927 if (PyErr_Occurred()) SWIG_fail;
19928 }
19929 {
19930 #if wxUSE_UNICODE
19931 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19932 #else
19933 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19934 #endif
19935 }
19936 return resultobj;
19937 fail:
19938 return NULL;
19939 }
19940
19941
19942 SWIGINTERN PyObject *_wrap_FileDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19943 PyObject *resultobj = 0;
19944 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
19945 wxString result;
19946 void *argp1 = 0 ;
19947 int res1 = 0 ;
19948 PyObject *swig_obj[1] ;
19949
19950 if (!args) SWIG_fail;
19951 swig_obj[0] = args;
19952 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
19953 if (!SWIG_IsOK(res1)) {
19954 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
19955 }
19956 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
19957 {
19958 PyThreadState* __tstate = wxPyBeginAllowThreads();
19959 result = ((wxFileDialog const *)arg1)->GetPath();
19960 wxPyEndAllowThreads(__tstate);
19961 if (PyErr_Occurred()) SWIG_fail;
19962 }
19963 {
19964 #if wxUSE_UNICODE
19965 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19966 #else
19967 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19968 #endif
19969 }
19970 return resultobj;
19971 fail:
19972 return NULL;
19973 }
19974
19975
19976 SWIGINTERN PyObject *_wrap_FileDialog_GetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19977 PyObject *resultobj = 0;
19978 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
19979 wxString result;
19980 void *argp1 = 0 ;
19981 int res1 = 0 ;
19982 PyObject *swig_obj[1] ;
19983
19984 if (!args) SWIG_fail;
19985 swig_obj[0] = args;
19986 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
19987 if (!SWIG_IsOK(res1)) {
19988 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
19989 }
19990 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
19991 {
19992 PyThreadState* __tstate = wxPyBeginAllowThreads();
19993 result = ((wxFileDialog const *)arg1)->GetDirectory();
19994 wxPyEndAllowThreads(__tstate);
19995 if (PyErr_Occurred()) SWIG_fail;
19996 }
19997 {
19998 #if wxUSE_UNICODE
19999 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20000 #else
20001 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20002 #endif
20003 }
20004 return resultobj;
20005 fail:
20006 return NULL;
20007 }
20008
20009
20010 SWIGINTERN PyObject *_wrap_FileDialog_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20011 PyObject *resultobj = 0;
20012 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
20013 wxString result;
20014 void *argp1 = 0 ;
20015 int res1 = 0 ;
20016 PyObject *swig_obj[1] ;
20017
20018 if (!args) SWIG_fail;
20019 swig_obj[0] = args;
20020 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
20021 if (!SWIG_IsOK(res1)) {
20022 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
20023 }
20024 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
20025 {
20026 PyThreadState* __tstate = wxPyBeginAllowThreads();
20027 result = ((wxFileDialog const *)arg1)->GetFilename();
20028 wxPyEndAllowThreads(__tstate);
20029 if (PyErr_Occurred()) SWIG_fail;
20030 }
20031 {
20032 #if wxUSE_UNICODE
20033 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20034 #else
20035 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20036 #endif
20037 }
20038 return resultobj;
20039 fail:
20040 return NULL;
20041 }
20042
20043
20044 SWIGINTERN PyObject *_wrap_FileDialog_GetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20045 PyObject *resultobj = 0;
20046 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
20047 wxString result;
20048 void *argp1 = 0 ;
20049 int res1 = 0 ;
20050 PyObject *swig_obj[1] ;
20051
20052 if (!args) SWIG_fail;
20053 swig_obj[0] = args;
20054 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
20055 if (!SWIG_IsOK(res1)) {
20056 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
20057 }
20058 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
20059 {
20060 PyThreadState* __tstate = wxPyBeginAllowThreads();
20061 result = ((wxFileDialog const *)arg1)->GetWildcard();
20062 wxPyEndAllowThreads(__tstate);
20063 if (PyErr_Occurred()) SWIG_fail;
20064 }
20065 {
20066 #if wxUSE_UNICODE
20067 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20068 #else
20069 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20070 #endif
20071 }
20072 return resultobj;
20073 fail:
20074 return NULL;
20075 }
20076
20077
20078 SWIGINTERN PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20079 PyObject *resultobj = 0;
20080 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
20081 int result;
20082 void *argp1 = 0 ;
20083 int res1 = 0 ;
20084 PyObject *swig_obj[1] ;
20085
20086 if (!args) SWIG_fail;
20087 swig_obj[0] = args;
20088 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
20089 if (!SWIG_IsOK(res1)) {
20090 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
20091 }
20092 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
20093 {
20094 PyThreadState* __tstate = wxPyBeginAllowThreads();
20095 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
20096 wxPyEndAllowThreads(__tstate);
20097 if (PyErr_Occurred()) SWIG_fail;
20098 }
20099 resultobj = SWIG_From_int(static_cast< int >(result));
20100 return resultobj;
20101 fail:
20102 return NULL;
20103 }
20104
20105
20106 SWIGINTERN PyObject *_wrap_FileDialog_GetFilenames(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20107 PyObject *resultobj = 0;
20108 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
20109 PyObject *result = 0 ;
20110 void *argp1 = 0 ;
20111 int res1 = 0 ;
20112 PyObject *swig_obj[1] ;
20113
20114 if (!args) SWIG_fail;
20115 swig_obj[0] = args;
20116 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
20117 if (!SWIG_IsOK(res1)) {
20118 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
20119 }
20120 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
20121 {
20122 PyThreadState* __tstate = wxPyBeginAllowThreads();
20123 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
20124 wxPyEndAllowThreads(__tstate);
20125 if (PyErr_Occurred()) SWIG_fail;
20126 }
20127 resultobj = result;
20128 return resultobj;
20129 fail:
20130 return NULL;
20131 }
20132
20133
20134 SWIGINTERN PyObject *_wrap_FileDialog_GetPaths(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20135 PyObject *resultobj = 0;
20136 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
20137 PyObject *result = 0 ;
20138 void *argp1 = 0 ;
20139 int res1 = 0 ;
20140 PyObject *swig_obj[1] ;
20141
20142 if (!args) SWIG_fail;
20143 swig_obj[0] = args;
20144 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
20145 if (!SWIG_IsOK(res1)) {
20146 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
20147 }
20148 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
20149 {
20150 PyThreadState* __tstate = wxPyBeginAllowThreads();
20151 result = (PyObject *)wxFileDialog_GetPaths(arg1);
20152 wxPyEndAllowThreads(__tstate);
20153 if (PyErr_Occurred()) SWIG_fail;
20154 }
20155 resultobj = result;
20156 return resultobj;
20157 fail:
20158 return NULL;
20159 }
20160
20161
20162 SWIGINTERN PyObject *FileDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20163 PyObject *obj;
20164 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20165 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog, SWIG_NewClientData(obj));
20166 return SWIG_Py_Void();
20167 }
20168
20169 SWIGINTERN PyObject *FileDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20170 return SWIG_Python_InitShadowInstance(args);
20171 }
20172
20173 SWIGINTERN PyObject *_wrap_new_MultiChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20174 PyObject *resultobj = 0;
20175 wxWindow *arg1 = (wxWindow *) 0 ;
20176 wxString *arg2 = 0 ;
20177 wxString *arg3 = 0 ;
20178 int arg4 = (int) 0 ;
20179 wxString *arg5 = (wxString *) NULL ;
20180 long arg6 = (long) wxCHOICEDLG_STYLE ;
20181 wxPoint const &arg7_defvalue = wxDefaultPosition ;
20182 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
20183 wxMultiChoiceDialog *result = 0 ;
20184 void *argp1 = 0 ;
20185 int res1 = 0 ;
20186 bool temp2 = false ;
20187 bool temp3 = false ;
20188 long val6 ;
20189 int ecode6 = 0 ;
20190 wxPoint temp7 ;
20191 PyObject * obj0 = 0 ;
20192 PyObject * obj1 = 0 ;
20193 PyObject * obj2 = 0 ;
20194 PyObject * obj3 = 0 ;
20195 PyObject * obj4 = 0 ;
20196 PyObject * obj5 = 0 ;
20197 char * kwnames[] = {
20198 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
20199 };
20200
20201 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
20202 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20203 if (!SWIG_IsOK(res1)) {
20204 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20205 }
20206 arg1 = reinterpret_cast< wxWindow * >(argp1);
20207 {
20208 arg2 = wxString_in_helper(obj1);
20209 if (arg2 == NULL) SWIG_fail;
20210 temp2 = true;
20211 }
20212 {
20213 arg3 = wxString_in_helper(obj2);
20214 if (arg3 == NULL) SWIG_fail;
20215 temp3 = true;
20216 }
20217 if (obj3) {
20218 {
20219 arg4 = PyList_Size(obj3);
20220 arg5 = wxString_LIST_helper(obj3);
20221 if (arg5 == NULL) SWIG_fail;
20222 }
20223 }
20224 if (obj4) {
20225 ecode6 = SWIG_AsVal_long(obj4, &val6);
20226 if (!SWIG_IsOK(ecode6)) {
20227 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
20228 }
20229 arg6 = static_cast< long >(val6);
20230 }
20231 if (obj5) {
20232 {
20233 arg7 = &temp7;
20234 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
20235 }
20236 }
20237 {
20238 if (!wxPyCheckForApp()) SWIG_fail;
20239 PyThreadState* __tstate = wxPyBeginAllowThreads();
20240 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
20241 wxPyEndAllowThreads(__tstate);
20242 if (PyErr_Occurred()) SWIG_fail;
20243 }
20244 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_NEW | 0 );
20245 {
20246 if (temp2)
20247 delete arg2;
20248 }
20249 {
20250 if (temp3)
20251 delete arg3;
20252 }
20253 {
20254 if (arg5) delete [] arg5;
20255 }
20256 return resultobj;
20257 fail:
20258 {
20259 if (temp2)
20260 delete arg2;
20261 }
20262 {
20263 if (temp3)
20264 delete arg3;
20265 }
20266 {
20267 if (arg5) delete [] arg5;
20268 }
20269 return NULL;
20270 }
20271
20272
20273 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20274 PyObject *resultobj = 0;
20275 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
20276 wxArrayInt *arg2 = 0 ;
20277 void *argp1 = 0 ;
20278 int res1 = 0 ;
20279 bool temp2 = false ;
20280 PyObject * obj0 = 0 ;
20281 PyObject * obj1 = 0 ;
20282 char * kwnames[] = {
20283 (char *) "self",(char *) "selections", NULL
20284 };
20285
20286 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) SWIG_fail;
20287 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
20288 if (!SWIG_IsOK(res1)) {
20289 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
20290 }
20291 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
20292 {
20293 if (! PySequence_Check(obj1)) {
20294 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
20295 SWIG_fail;
20296 }
20297 arg2 = new wxArrayInt;
20298 temp2 = true;
20299 int i, len=PySequence_Length(obj1);
20300 for (i=0; i<len; i++) {
20301 PyObject* item = PySequence_GetItem(obj1, i);
20302 PyObject* number = PyNumber_Int(item);
20303 if (!number) {
20304 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
20305 SWIG_fail;
20306 }
20307 arg2->Add(PyInt_AS_LONG(number));
20308 Py_DECREF(item);
20309 Py_DECREF(number);
20310 }
20311 }
20312 {
20313 PyThreadState* __tstate = wxPyBeginAllowThreads();
20314 (arg1)->SetSelections((wxArrayInt const &)*arg2);
20315 wxPyEndAllowThreads(__tstate);
20316 if (PyErr_Occurred()) SWIG_fail;
20317 }
20318 resultobj = SWIG_Py_Void();
20319 {
20320 if (temp2) delete arg2;
20321 }
20322 return resultobj;
20323 fail:
20324 {
20325 if (temp2) delete arg2;
20326 }
20327 return NULL;
20328 }
20329
20330
20331 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20332 PyObject *resultobj = 0;
20333 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
20334 PyObject *result = 0 ;
20335 void *argp1 = 0 ;
20336 int res1 = 0 ;
20337 PyObject *swig_obj[1] ;
20338
20339 if (!args) SWIG_fail;
20340 swig_obj[0] = args;
20341 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
20342 if (!SWIG_IsOK(res1)) {
20343 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
20344 }
20345 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
20346 {
20347 PyThreadState* __tstate = wxPyBeginAllowThreads();
20348 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
20349 wxPyEndAllowThreads(__tstate);
20350 if (PyErr_Occurred()) SWIG_fail;
20351 }
20352 resultobj = result;
20353 return resultobj;
20354 fail:
20355 return NULL;
20356 }
20357
20358
20359 SWIGINTERN PyObject *MultiChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20360 PyObject *obj;
20361 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20362 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog, SWIG_NewClientData(obj));
20363 return SWIG_Py_Void();
20364 }
20365
20366 SWIGINTERN PyObject *MultiChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20367 return SWIG_Python_InitShadowInstance(args);
20368 }
20369
20370 SWIGINTERN PyObject *_wrap_new_SingleChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20371 PyObject *resultobj = 0;
20372 wxWindow *arg1 = (wxWindow *) 0 ;
20373 wxString *arg2 = 0 ;
20374 wxString *arg3 = 0 ;
20375 int arg4 ;
20376 wxString *arg5 = (wxString *) 0 ;
20377 long arg6 = (long) wxCHOICEDLG_STYLE ;
20378 wxPoint const &arg7_defvalue = wxDefaultPosition ;
20379 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
20380 wxSingleChoiceDialog *result = 0 ;
20381 void *argp1 = 0 ;
20382 int res1 = 0 ;
20383 bool temp2 = false ;
20384 bool temp3 = false ;
20385 long val6 ;
20386 int ecode6 = 0 ;
20387 wxPoint temp7 ;
20388 PyObject * obj0 = 0 ;
20389 PyObject * obj1 = 0 ;
20390 PyObject * obj2 = 0 ;
20391 PyObject * obj3 = 0 ;
20392 PyObject * obj4 = 0 ;
20393 PyObject * obj5 = 0 ;
20394 char * kwnames[] = {
20395 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
20396 };
20397
20398 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
20399 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20400 if (!SWIG_IsOK(res1)) {
20401 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20402 }
20403 arg1 = reinterpret_cast< wxWindow * >(argp1);
20404 {
20405 arg2 = wxString_in_helper(obj1);
20406 if (arg2 == NULL) SWIG_fail;
20407 temp2 = true;
20408 }
20409 {
20410 arg3 = wxString_in_helper(obj2);
20411 if (arg3 == NULL) SWIG_fail;
20412 temp3 = true;
20413 }
20414 {
20415 arg4 = PyList_Size(obj3);
20416 arg5 = wxString_LIST_helper(obj3);
20417 if (arg5 == NULL) SWIG_fail;
20418 }
20419 if (obj4) {
20420 ecode6 = SWIG_AsVal_long(obj4, &val6);
20421 if (!SWIG_IsOK(ecode6)) {
20422 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
20423 }
20424 arg6 = static_cast< long >(val6);
20425 }
20426 if (obj5) {
20427 {
20428 arg7 = &temp7;
20429 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
20430 }
20431 }
20432 {
20433 if (!wxPyCheckForApp()) SWIG_fail;
20434 PyThreadState* __tstate = wxPyBeginAllowThreads();
20435 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
20436 wxPyEndAllowThreads(__tstate);
20437 if (PyErr_Occurred()) SWIG_fail;
20438 }
20439 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_NEW | 0 );
20440 {
20441 if (temp2)
20442 delete arg2;
20443 }
20444 {
20445 if (temp3)
20446 delete arg3;
20447 }
20448 {
20449 if (arg5) delete [] arg5;
20450 }
20451 return resultobj;
20452 fail:
20453 {
20454 if (temp2)
20455 delete arg2;
20456 }
20457 {
20458 if (temp3)
20459 delete arg3;
20460 }
20461 {
20462 if (arg5) delete [] arg5;
20463 }
20464 return NULL;
20465 }
20466
20467
20468 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20469 PyObject *resultobj = 0;
20470 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
20471 int result;
20472 void *argp1 = 0 ;
20473 int res1 = 0 ;
20474 PyObject *swig_obj[1] ;
20475
20476 if (!args) SWIG_fail;
20477 swig_obj[0] = args;
20478 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
20479 if (!SWIG_IsOK(res1)) {
20480 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
20481 }
20482 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
20483 {
20484 PyThreadState* __tstate = wxPyBeginAllowThreads();
20485 result = (int)(arg1)->GetSelection();
20486 wxPyEndAllowThreads(__tstate);
20487 if (PyErr_Occurred()) SWIG_fail;
20488 }
20489 resultobj = SWIG_From_int(static_cast< int >(result));
20490 return resultobj;
20491 fail:
20492 return NULL;
20493 }
20494
20495
20496 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20497 PyObject *resultobj = 0;
20498 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
20499 wxString result;
20500 void *argp1 = 0 ;
20501 int res1 = 0 ;
20502 PyObject *swig_obj[1] ;
20503
20504 if (!args) SWIG_fail;
20505 swig_obj[0] = args;
20506 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
20507 if (!SWIG_IsOK(res1)) {
20508 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
20509 }
20510 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
20511 {
20512 PyThreadState* __tstate = wxPyBeginAllowThreads();
20513 result = (arg1)->GetStringSelection();
20514 wxPyEndAllowThreads(__tstate);
20515 if (PyErr_Occurred()) SWIG_fail;
20516 }
20517 {
20518 #if wxUSE_UNICODE
20519 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20520 #else
20521 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20522 #endif
20523 }
20524 return resultobj;
20525 fail:
20526 return NULL;
20527 }
20528
20529
20530 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20531 PyObject *resultobj = 0;
20532 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
20533 int arg2 ;
20534 void *argp1 = 0 ;
20535 int res1 = 0 ;
20536 int val2 ;
20537 int ecode2 = 0 ;
20538 PyObject * obj0 = 0 ;
20539 PyObject * obj1 = 0 ;
20540 char * kwnames[] = {
20541 (char *) "self",(char *) "sel", NULL
20542 };
20543
20544 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20545 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
20546 if (!SWIG_IsOK(res1)) {
20547 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
20548 }
20549 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
20550 ecode2 = SWIG_AsVal_int(obj1, &val2);
20551 if (!SWIG_IsOK(ecode2)) {
20552 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
20553 }
20554 arg2 = static_cast< int >(val2);
20555 {
20556 PyThreadState* __tstate = wxPyBeginAllowThreads();
20557 (arg1)->SetSelection(arg2);
20558 wxPyEndAllowThreads(__tstate);
20559 if (PyErr_Occurred()) SWIG_fail;
20560 }
20561 resultobj = SWIG_Py_Void();
20562 return resultobj;
20563 fail:
20564 return NULL;
20565 }
20566
20567
20568 SWIGINTERN PyObject *SingleChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20569 PyObject *obj;
20570 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20571 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog, SWIG_NewClientData(obj));
20572 return SWIG_Py_Void();
20573 }
20574
20575 SWIGINTERN PyObject *SingleChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20576 return SWIG_Python_InitShadowInstance(args);
20577 }
20578
20579 SWIGINTERN PyObject *_wrap_new_TextEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20580 PyObject *resultobj = 0;
20581 wxWindow *arg1 = (wxWindow *) 0 ;
20582 wxString *arg2 = 0 ;
20583 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
20584 wxString *arg3 = (wxString *) &arg3_defvalue ;
20585 wxString const &arg4_defvalue = wxPyEmptyString ;
20586 wxString *arg4 = (wxString *) &arg4_defvalue ;
20587 long arg5 = (long) wxTextEntryDialogStyle ;
20588 wxPoint const &arg6_defvalue = wxDefaultPosition ;
20589 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
20590 wxTextEntryDialog *result = 0 ;
20591 void *argp1 = 0 ;
20592 int res1 = 0 ;
20593 bool temp2 = false ;
20594 bool temp3 = false ;
20595 bool temp4 = false ;
20596 long val5 ;
20597 int ecode5 = 0 ;
20598 wxPoint temp6 ;
20599 PyObject * obj0 = 0 ;
20600 PyObject * obj1 = 0 ;
20601 PyObject * obj2 = 0 ;
20602 PyObject * obj3 = 0 ;
20603 PyObject * obj4 = 0 ;
20604 PyObject * obj5 = 0 ;
20605 char * kwnames[] = {
20606 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
20607 };
20608
20609 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
20610 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20611 if (!SWIG_IsOK(res1)) {
20612 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20613 }
20614 arg1 = reinterpret_cast< wxWindow * >(argp1);
20615 {
20616 arg2 = wxString_in_helper(obj1);
20617 if (arg2 == NULL) SWIG_fail;
20618 temp2 = true;
20619 }
20620 if (obj2) {
20621 {
20622 arg3 = wxString_in_helper(obj2);
20623 if (arg3 == NULL) SWIG_fail;
20624 temp3 = true;
20625 }
20626 }
20627 if (obj3) {
20628 {
20629 arg4 = wxString_in_helper(obj3);
20630 if (arg4 == NULL) SWIG_fail;
20631 temp4 = true;
20632 }
20633 }
20634 if (obj4) {
20635 ecode5 = SWIG_AsVal_long(obj4, &val5);
20636 if (!SWIG_IsOK(ecode5)) {
20637 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
20638 }
20639 arg5 = static_cast< long >(val5);
20640 }
20641 if (obj5) {
20642 {
20643 arg6 = &temp6;
20644 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
20645 }
20646 }
20647 {
20648 if (!wxPyCheckForApp()) SWIG_fail;
20649 PyThreadState* __tstate = wxPyBeginAllowThreads();
20650 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
20651 wxPyEndAllowThreads(__tstate);
20652 if (PyErr_Occurred()) SWIG_fail;
20653 }
20654 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_NEW | 0 );
20655 {
20656 if (temp2)
20657 delete arg2;
20658 }
20659 {
20660 if (temp3)
20661 delete arg3;
20662 }
20663 {
20664 if (temp4)
20665 delete arg4;
20666 }
20667 return resultobj;
20668 fail:
20669 {
20670 if (temp2)
20671 delete arg2;
20672 }
20673 {
20674 if (temp3)
20675 delete arg3;
20676 }
20677 {
20678 if (temp4)
20679 delete arg4;
20680 }
20681 return NULL;
20682 }
20683
20684
20685 SWIGINTERN PyObject *_wrap_TextEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20686 PyObject *resultobj = 0;
20687 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
20688 wxString result;
20689 void *argp1 = 0 ;
20690 int res1 = 0 ;
20691 PyObject *swig_obj[1] ;
20692
20693 if (!args) SWIG_fail;
20694 swig_obj[0] = args;
20695 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
20696 if (!SWIG_IsOK(res1)) {
20697 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
20698 }
20699 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
20700 {
20701 PyThreadState* __tstate = wxPyBeginAllowThreads();
20702 result = (arg1)->GetValue();
20703 wxPyEndAllowThreads(__tstate);
20704 if (PyErr_Occurred()) SWIG_fail;
20705 }
20706 {
20707 #if wxUSE_UNICODE
20708 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20709 #else
20710 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20711 #endif
20712 }
20713 return resultobj;
20714 fail:
20715 return NULL;
20716 }
20717
20718
20719 SWIGINTERN PyObject *_wrap_TextEntryDialog_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20720 PyObject *resultobj = 0;
20721 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
20722 wxString *arg2 = 0 ;
20723 void *argp1 = 0 ;
20724 int res1 = 0 ;
20725 bool temp2 = false ;
20726 PyObject * obj0 = 0 ;
20727 PyObject * obj1 = 0 ;
20728 char * kwnames[] = {
20729 (char *) "self",(char *) "value", NULL
20730 };
20731
20732 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
20733 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
20734 if (!SWIG_IsOK(res1)) {
20735 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
20736 }
20737 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
20738 {
20739 arg2 = wxString_in_helper(obj1);
20740 if (arg2 == NULL) SWIG_fail;
20741 temp2 = true;
20742 }
20743 {
20744 PyThreadState* __tstate = wxPyBeginAllowThreads();
20745 (arg1)->SetValue((wxString const &)*arg2);
20746 wxPyEndAllowThreads(__tstate);
20747 if (PyErr_Occurred()) SWIG_fail;
20748 }
20749 resultobj = SWIG_Py_Void();
20750 {
20751 if (temp2)
20752 delete arg2;
20753 }
20754 return resultobj;
20755 fail:
20756 {
20757 if (temp2)
20758 delete arg2;
20759 }
20760 return NULL;
20761 }
20762
20763
20764 SWIGINTERN PyObject *TextEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20765 PyObject *obj;
20766 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20767 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog, SWIG_NewClientData(obj));
20768 return SWIG_Py_Void();
20769 }
20770
20771 SWIGINTERN PyObject *TextEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20772 return SWIG_Python_InitShadowInstance(args);
20773 }
20774
20775 SWIGINTERN int GetPasswordFromUserPromptStr_set(PyObject *) {
20776 SWIG_Error(SWIG_AttributeError,"Variable GetPasswordFromUserPromptStr is read-only.");
20777 return 1;
20778 }
20779
20780
20781 SWIGINTERN PyObject *GetPasswordFromUserPromptStr_get(void) {
20782 PyObject *pyobj = 0;
20783
20784 {
20785 #if wxUSE_UNICODE
20786 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
20787 #else
20788 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
20789 #endif
20790 }
20791 return pyobj;
20792 }
20793
20794
20795 SWIGINTERN PyObject *_wrap_new_PasswordEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20796 PyObject *resultobj = 0;
20797 wxWindow *arg1 = (wxWindow *) 0 ;
20798 wxString *arg2 = 0 ;
20799 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
20800 wxString *arg3 = (wxString *) &arg3_defvalue ;
20801 wxString const &arg4_defvalue = wxPyEmptyString ;
20802 wxString *arg4 = (wxString *) &arg4_defvalue ;
20803 long arg5 = (long) wxTextEntryDialogStyle ;
20804 wxPoint const &arg6_defvalue = wxDefaultPosition ;
20805 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
20806 wxPasswordEntryDialog *result = 0 ;
20807 void *argp1 = 0 ;
20808 int res1 = 0 ;
20809 bool temp2 = false ;
20810 bool temp3 = false ;
20811 bool temp4 = false ;
20812 long val5 ;
20813 int ecode5 = 0 ;
20814 wxPoint temp6 ;
20815 PyObject * obj0 = 0 ;
20816 PyObject * obj1 = 0 ;
20817 PyObject * obj2 = 0 ;
20818 PyObject * obj3 = 0 ;
20819 PyObject * obj4 = 0 ;
20820 PyObject * obj5 = 0 ;
20821 char * kwnames[] = {
20822 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
20823 };
20824
20825 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
20826 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20827 if (!SWIG_IsOK(res1)) {
20828 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20829 }
20830 arg1 = reinterpret_cast< wxWindow * >(argp1);
20831 {
20832 arg2 = wxString_in_helper(obj1);
20833 if (arg2 == NULL) SWIG_fail;
20834 temp2 = true;
20835 }
20836 if (obj2) {
20837 {
20838 arg3 = wxString_in_helper(obj2);
20839 if (arg3 == NULL) SWIG_fail;
20840 temp3 = true;
20841 }
20842 }
20843 if (obj3) {
20844 {
20845 arg4 = wxString_in_helper(obj3);
20846 if (arg4 == NULL) SWIG_fail;
20847 temp4 = true;
20848 }
20849 }
20850 if (obj4) {
20851 ecode5 = SWIG_AsVal_long(obj4, &val5);
20852 if (!SWIG_IsOK(ecode5)) {
20853 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
20854 }
20855 arg5 = static_cast< long >(val5);
20856 }
20857 if (obj5) {
20858 {
20859 arg6 = &temp6;
20860 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
20861 }
20862 }
20863 {
20864 PyThreadState* __tstate = wxPyBeginAllowThreads();
20865 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
20866 wxPyEndAllowThreads(__tstate);
20867 if (PyErr_Occurred()) SWIG_fail;
20868 }
20869 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPasswordEntryDialog, SWIG_POINTER_NEW | 0 );
20870 {
20871 if (temp2)
20872 delete arg2;
20873 }
20874 {
20875 if (temp3)
20876 delete arg3;
20877 }
20878 {
20879 if (temp4)
20880 delete arg4;
20881 }
20882 return resultobj;
20883 fail:
20884 {
20885 if (temp2)
20886 delete arg2;
20887 }
20888 {
20889 if (temp3)
20890 delete arg3;
20891 }
20892 {
20893 if (temp4)
20894 delete arg4;
20895 }
20896 return NULL;
20897 }
20898
20899
20900 SWIGINTERN PyObject *PasswordEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20901 PyObject *obj;
20902 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20903 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog, SWIG_NewClientData(obj));
20904 return SWIG_Py_Void();
20905 }
20906
20907 SWIGINTERN PyObject *PasswordEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20908 return SWIG_Python_InitShadowInstance(args);
20909 }
20910
20911 SWIGINTERN PyObject *_wrap_new_NumberEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20912 PyObject *resultobj = 0;
20913 wxWindow *arg1 = (wxWindow *) 0 ;
20914 wxString *arg2 = 0 ;
20915 wxString *arg3 = 0 ;
20916 wxString *arg4 = 0 ;
20917 long arg5 ;
20918 long arg6 ;
20919 long arg7 ;
20920 wxPoint const &arg8_defvalue = wxDefaultPosition ;
20921 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
20922 wxNumberEntryDialog *result = 0 ;
20923 void *argp1 = 0 ;
20924 int res1 = 0 ;
20925 bool temp2 = false ;
20926 bool temp3 = false ;
20927 bool temp4 = false ;
20928 long val5 ;
20929 int ecode5 = 0 ;
20930 long val6 ;
20931 int ecode6 = 0 ;
20932 long val7 ;
20933 int ecode7 = 0 ;
20934 wxPoint temp8 ;
20935 PyObject * obj0 = 0 ;
20936 PyObject * obj1 = 0 ;
20937 PyObject * obj2 = 0 ;
20938 PyObject * obj3 = 0 ;
20939 PyObject * obj4 = 0 ;
20940 PyObject * obj5 = 0 ;
20941 PyObject * obj6 = 0 ;
20942 PyObject * obj7 = 0 ;
20943 char * kwnames[] = {
20944 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
20945 };
20946
20947 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
20948 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20949 if (!SWIG_IsOK(res1)) {
20950 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20951 }
20952 arg1 = reinterpret_cast< wxWindow * >(argp1);
20953 {
20954 arg2 = wxString_in_helper(obj1);
20955 if (arg2 == NULL) SWIG_fail;
20956 temp2 = true;
20957 }
20958 {
20959 arg3 = wxString_in_helper(obj2);
20960 if (arg3 == NULL) SWIG_fail;
20961 temp3 = true;
20962 }
20963 {
20964 arg4 = wxString_in_helper(obj3);
20965 if (arg4 == NULL) SWIG_fail;
20966 temp4 = true;
20967 }
20968 ecode5 = SWIG_AsVal_long(obj4, &val5);
20969 if (!SWIG_IsOK(ecode5)) {
20970 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
20971 }
20972 arg5 = static_cast< long >(val5);
20973 ecode6 = SWIG_AsVal_long(obj5, &val6);
20974 if (!SWIG_IsOK(ecode6)) {
20975 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
20976 }
20977 arg6 = static_cast< long >(val6);
20978 ecode7 = SWIG_AsVal_long(obj6, &val7);
20979 if (!SWIG_IsOK(ecode7)) {
20980 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
20981 }
20982 arg7 = static_cast< long >(val7);
20983 if (obj7) {
20984 {
20985 arg8 = &temp8;
20986 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
20987 }
20988 }
20989 {
20990 if (!wxPyCheckForApp()) SWIG_fail;
20991 PyThreadState* __tstate = wxPyBeginAllowThreads();
20992 result = (wxNumberEntryDialog *)new wxNumberEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
20993 wxPyEndAllowThreads(__tstate);
20994 if (PyErr_Occurred()) SWIG_fail;
20995 }
20996 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNumberEntryDialog, SWIG_POINTER_NEW | 0 );
20997 {
20998 if (temp2)
20999 delete arg2;
21000 }
21001 {
21002 if (temp3)
21003 delete arg3;
21004 }
21005 {
21006 if (temp4)
21007 delete arg4;
21008 }
21009 return resultobj;
21010 fail:
21011 {
21012 if (temp2)
21013 delete arg2;
21014 }
21015 {
21016 if (temp3)
21017 delete arg3;
21018 }
21019 {
21020 if (temp4)
21021 delete arg4;
21022 }
21023 return NULL;
21024 }
21025
21026
21027 SWIGINTERN PyObject *_wrap_NumberEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21028 PyObject *resultobj = 0;
21029 wxNumberEntryDialog *arg1 = (wxNumberEntryDialog *) 0 ;
21030 long result;
21031 void *argp1 = 0 ;
21032 int res1 = 0 ;
21033 PyObject *swig_obj[1] ;
21034
21035 if (!args) SWIG_fail;
21036 swig_obj[0] = args;
21037 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxNumberEntryDialog, 0 | 0 );
21038 if (!SWIG_IsOK(res1)) {
21039 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
21040 }
21041 arg1 = reinterpret_cast< wxNumberEntryDialog * >(argp1);
21042 {
21043 PyThreadState* __tstate = wxPyBeginAllowThreads();
21044 result = (long)(arg1)->GetValue();
21045 wxPyEndAllowThreads(__tstate);
21046 if (PyErr_Occurred()) SWIG_fail;
21047 }
21048 resultobj = SWIG_From_long(static_cast< long >(result));
21049 return resultobj;
21050 fail:
21051 return NULL;
21052 }
21053
21054
21055 SWIGINTERN PyObject *NumberEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21056 PyObject *obj;
21057 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21058 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog, SWIG_NewClientData(obj));
21059 return SWIG_Py_Void();
21060 }
21061
21062 SWIGINTERN PyObject *NumberEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21063 return SWIG_Python_InitShadowInstance(args);
21064 }
21065
21066 SWIGINTERN PyObject *_wrap_new_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21067 PyObject *resultobj = 0;
21068 wxFontData *result = 0 ;
21069
21070 if (!SWIG_Python_UnpackTuple(args,"new_FontData",0,0,0)) SWIG_fail;
21071 {
21072 PyThreadState* __tstate = wxPyBeginAllowThreads();
21073 result = (wxFontData *)new wxFontData();
21074 wxPyEndAllowThreads(__tstate);
21075 if (PyErr_Occurred()) SWIG_fail;
21076 }
21077 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, SWIG_POINTER_NEW | 0 );
21078 return resultobj;
21079 fail:
21080 return NULL;
21081 }
21082
21083
21084 SWIGINTERN PyObject *_wrap_delete_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21085 PyObject *resultobj = 0;
21086 wxFontData *arg1 = (wxFontData *) 0 ;
21087 void *argp1 = 0 ;
21088 int res1 = 0 ;
21089 PyObject *swig_obj[1] ;
21090
21091 if (!args) SWIG_fail;
21092 swig_obj[0] = args;
21093 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, SWIG_POINTER_DISOWN | 0 );
21094 if (!SWIG_IsOK(res1)) {
21095 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
21096 }
21097 arg1 = reinterpret_cast< wxFontData * >(argp1);
21098 {
21099 PyThreadState* __tstate = wxPyBeginAllowThreads();
21100 delete arg1;
21101
21102 wxPyEndAllowThreads(__tstate);
21103 if (PyErr_Occurred()) SWIG_fail;
21104 }
21105 resultobj = SWIG_Py_Void();
21106 return resultobj;
21107 fail:
21108 return NULL;
21109 }
21110
21111
21112 SWIGINTERN PyObject *_wrap_FontData_EnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21113 PyObject *resultobj = 0;
21114 wxFontData *arg1 = (wxFontData *) 0 ;
21115 bool arg2 ;
21116 void *argp1 = 0 ;
21117 int res1 = 0 ;
21118 bool val2 ;
21119 int ecode2 = 0 ;
21120 PyObject * obj0 = 0 ;
21121 PyObject * obj1 = 0 ;
21122 char * kwnames[] = {
21123 (char *) "self",(char *) "enable", NULL
21124 };
21125
21126 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) SWIG_fail;
21127 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
21128 if (!SWIG_IsOK(res1)) {
21129 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
21130 }
21131 arg1 = reinterpret_cast< wxFontData * >(argp1);
21132 ecode2 = SWIG_AsVal_bool(obj1, &val2);
21133 if (!SWIG_IsOK(ecode2)) {
21134 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
21135 }
21136 arg2 = static_cast< bool >(val2);
21137 {
21138 PyThreadState* __tstate = wxPyBeginAllowThreads();
21139 (arg1)->EnableEffects(arg2);
21140 wxPyEndAllowThreads(__tstate);
21141 if (PyErr_Occurred()) SWIG_fail;
21142 }
21143 resultobj = SWIG_Py_Void();
21144 return resultobj;
21145 fail:
21146 return NULL;
21147 }
21148
21149
21150 SWIGINTERN PyObject *_wrap_FontData_GetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21151 PyObject *resultobj = 0;
21152 wxFontData *arg1 = (wxFontData *) 0 ;
21153 bool result;
21154 void *argp1 = 0 ;
21155 int res1 = 0 ;
21156 PyObject *swig_obj[1] ;
21157
21158 if (!args) SWIG_fail;
21159 swig_obj[0] = args;
21160 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
21161 if (!SWIG_IsOK(res1)) {
21162 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
21163 }
21164 arg1 = reinterpret_cast< wxFontData * >(argp1);
21165 {
21166 PyThreadState* __tstate = wxPyBeginAllowThreads();
21167 result = (bool)(arg1)->GetAllowSymbols();
21168 wxPyEndAllowThreads(__tstate);
21169 if (PyErr_Occurred()) SWIG_fail;
21170 }
21171 {
21172 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21173 }
21174 return resultobj;
21175 fail:
21176 return NULL;
21177 }
21178
21179
21180 SWIGINTERN PyObject *_wrap_FontData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21181 PyObject *resultobj = 0;
21182 wxFontData *arg1 = (wxFontData *) 0 ;
21183 wxColour result;
21184 void *argp1 = 0 ;
21185 int res1 = 0 ;
21186 PyObject *swig_obj[1] ;
21187
21188 if (!args) SWIG_fail;
21189 swig_obj[0] = args;
21190 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
21191 if (!SWIG_IsOK(res1)) {
21192 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
21193 }
21194 arg1 = reinterpret_cast< wxFontData * >(argp1);
21195 {
21196 PyThreadState* __tstate = wxPyBeginAllowThreads();
21197 result = (arg1)->GetColour();
21198 wxPyEndAllowThreads(__tstate);
21199 if (PyErr_Occurred()) SWIG_fail;
21200 }
21201 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
21202 return resultobj;
21203 fail:
21204 return NULL;
21205 }
21206
21207
21208 SWIGINTERN PyObject *_wrap_FontData_GetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21209 PyObject *resultobj = 0;
21210 wxFontData *arg1 = (wxFontData *) 0 ;
21211 wxFont result;
21212 void *argp1 = 0 ;
21213 int res1 = 0 ;
21214 PyObject *swig_obj[1] ;
21215
21216 if (!args) SWIG_fail;
21217 swig_obj[0] = args;
21218 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
21219 if (!SWIG_IsOK(res1)) {
21220 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
21221 }
21222 arg1 = reinterpret_cast< wxFontData * >(argp1);
21223 {
21224 PyThreadState* __tstate = wxPyBeginAllowThreads();
21225 result = (arg1)->GetChosenFont();
21226 wxPyEndAllowThreads(__tstate);
21227 if (PyErr_Occurred()) SWIG_fail;
21228 }
21229 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
21230 return resultobj;
21231 fail:
21232 return NULL;
21233 }
21234
21235
21236 SWIGINTERN PyObject *_wrap_FontData_GetEnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21237 PyObject *resultobj = 0;
21238 wxFontData *arg1 = (wxFontData *) 0 ;
21239 bool result;
21240 void *argp1 = 0 ;
21241 int res1 = 0 ;
21242 PyObject *swig_obj[1] ;
21243
21244 if (!args) SWIG_fail;
21245 swig_obj[0] = args;
21246 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
21247 if (!SWIG_IsOK(res1)) {
21248 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
21249 }
21250 arg1 = reinterpret_cast< wxFontData * >(argp1);
21251 {
21252 PyThreadState* __tstate = wxPyBeginAllowThreads();
21253 result = (bool)(arg1)->GetEnableEffects();
21254 wxPyEndAllowThreads(__tstate);
21255 if (PyErr_Occurred()) SWIG_fail;
21256 }
21257 {
21258 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21259 }
21260 return resultobj;
21261 fail:
21262 return NULL;
21263 }
21264
21265
21266 SWIGINTERN PyObject *_wrap_FontData_GetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21267 PyObject *resultobj = 0;
21268 wxFontData *arg1 = (wxFontData *) 0 ;
21269 wxFont result;
21270 void *argp1 = 0 ;
21271 int res1 = 0 ;
21272 PyObject *swig_obj[1] ;
21273
21274 if (!args) SWIG_fail;
21275 swig_obj[0] = args;
21276 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
21277 if (!SWIG_IsOK(res1)) {
21278 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
21279 }
21280 arg1 = reinterpret_cast< wxFontData * >(argp1);
21281 {
21282 PyThreadState* __tstate = wxPyBeginAllowThreads();
21283 result = (arg1)->GetInitialFont();
21284 wxPyEndAllowThreads(__tstate);
21285 if (PyErr_Occurred()) SWIG_fail;
21286 }
21287 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
21288 return resultobj;
21289 fail:
21290 return NULL;
21291 }
21292
21293
21294 SWIGINTERN PyObject *_wrap_FontData_GetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21295 PyObject *resultobj = 0;
21296 wxFontData *arg1 = (wxFontData *) 0 ;
21297 bool result;
21298 void *argp1 = 0 ;
21299 int res1 = 0 ;
21300 PyObject *swig_obj[1] ;
21301
21302 if (!args) SWIG_fail;
21303 swig_obj[0] = args;
21304 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
21305 if (!SWIG_IsOK(res1)) {
21306 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
21307 }
21308 arg1 = reinterpret_cast< wxFontData * >(argp1);
21309 {
21310 PyThreadState* __tstate = wxPyBeginAllowThreads();
21311 result = (bool)(arg1)->GetShowHelp();
21312 wxPyEndAllowThreads(__tstate);
21313 if (PyErr_Occurred()) SWIG_fail;
21314 }
21315 {
21316 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21317 }
21318 return resultobj;
21319 fail:
21320 return NULL;
21321 }
21322
21323
21324 SWIGINTERN PyObject *_wrap_FontData_SetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21325 PyObject *resultobj = 0;
21326 wxFontData *arg1 = (wxFontData *) 0 ;
21327 bool arg2 ;
21328 void *argp1 = 0 ;
21329 int res1 = 0 ;
21330 bool val2 ;
21331 int ecode2 = 0 ;
21332 PyObject * obj0 = 0 ;
21333 PyObject * obj1 = 0 ;
21334 char * kwnames[] = {
21335 (char *) "self",(char *) "allowSymbols", NULL
21336 };
21337
21338 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) SWIG_fail;
21339 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
21340 if (!SWIG_IsOK(res1)) {
21341 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
21342 }
21343 arg1 = reinterpret_cast< wxFontData * >(argp1);
21344 ecode2 = SWIG_AsVal_bool(obj1, &val2);
21345 if (!SWIG_IsOK(ecode2)) {
21346 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
21347 }
21348 arg2 = static_cast< bool >(val2);
21349 {
21350 PyThreadState* __tstate = wxPyBeginAllowThreads();
21351 (arg1)->SetAllowSymbols(arg2);
21352 wxPyEndAllowThreads(__tstate);
21353 if (PyErr_Occurred()) SWIG_fail;
21354 }
21355 resultobj = SWIG_Py_Void();
21356 return resultobj;
21357 fail:
21358 return NULL;
21359 }
21360
21361
21362 SWIGINTERN PyObject *_wrap_FontData_SetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21363 PyObject *resultobj = 0;
21364 wxFontData *arg1 = (wxFontData *) 0 ;
21365 wxFont *arg2 = 0 ;
21366 void *argp1 = 0 ;
21367 int res1 = 0 ;
21368 void *argp2 = 0 ;
21369 int res2 = 0 ;
21370 PyObject * obj0 = 0 ;
21371 PyObject * obj1 = 0 ;
21372 char * kwnames[] = {
21373 (char *) "self",(char *) "font", NULL
21374 };
21375
21376 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) SWIG_fail;
21377 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
21378 if (!SWIG_IsOK(res1)) {
21379 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
21380 }
21381 arg1 = reinterpret_cast< wxFontData * >(argp1);
21382 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
21383 if (!SWIG_IsOK(res2)) {
21384 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21385 }
21386 if (!argp2) {
21387 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21388 }
21389 arg2 = reinterpret_cast< wxFont * >(argp2);
21390 {
21391 PyThreadState* __tstate = wxPyBeginAllowThreads();
21392 (arg1)->SetChosenFont((wxFont const &)*arg2);
21393 wxPyEndAllowThreads(__tstate);
21394 if (PyErr_Occurred()) SWIG_fail;
21395 }
21396 resultobj = SWIG_Py_Void();
21397 return resultobj;
21398 fail:
21399 return NULL;
21400 }
21401
21402
21403 SWIGINTERN PyObject *_wrap_FontData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21404 PyObject *resultobj = 0;
21405 wxFontData *arg1 = (wxFontData *) 0 ;
21406 wxColour *arg2 = 0 ;
21407 void *argp1 = 0 ;
21408 int res1 = 0 ;
21409 wxColour temp2 ;
21410 PyObject * obj0 = 0 ;
21411 PyObject * obj1 = 0 ;
21412 char * kwnames[] = {
21413 (char *) "self",(char *) "colour", NULL
21414 };
21415
21416 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
21417 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
21418 if (!SWIG_IsOK(res1)) {
21419 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
21420 }
21421 arg1 = reinterpret_cast< wxFontData * >(argp1);
21422 {
21423 arg2 = &temp2;
21424 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21425 }
21426 {
21427 PyThreadState* __tstate = wxPyBeginAllowThreads();
21428 (arg1)->SetColour((wxColour const &)*arg2);
21429 wxPyEndAllowThreads(__tstate);
21430 if (PyErr_Occurred()) SWIG_fail;
21431 }
21432 resultobj = SWIG_Py_Void();
21433 return resultobj;
21434 fail:
21435 return NULL;
21436 }
21437
21438
21439 SWIGINTERN PyObject *_wrap_FontData_SetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21440 PyObject *resultobj = 0;
21441 wxFontData *arg1 = (wxFontData *) 0 ;
21442 wxFont *arg2 = 0 ;
21443 void *argp1 = 0 ;
21444 int res1 = 0 ;
21445 void *argp2 = 0 ;
21446 int res2 = 0 ;
21447 PyObject * obj0 = 0 ;
21448 PyObject * obj1 = 0 ;
21449 char * kwnames[] = {
21450 (char *) "self",(char *) "font", NULL
21451 };
21452
21453 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) SWIG_fail;
21454 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
21455 if (!SWIG_IsOK(res1)) {
21456 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
21457 }
21458 arg1 = reinterpret_cast< wxFontData * >(argp1);
21459 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
21460 if (!SWIG_IsOK(res2)) {
21461 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21462 }
21463 if (!argp2) {
21464 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21465 }
21466 arg2 = reinterpret_cast< wxFont * >(argp2);
21467 {
21468 PyThreadState* __tstate = wxPyBeginAllowThreads();
21469 (arg1)->SetInitialFont((wxFont const &)*arg2);
21470 wxPyEndAllowThreads(__tstate);
21471 if (PyErr_Occurred()) SWIG_fail;
21472 }
21473 resultobj = SWIG_Py_Void();
21474 return resultobj;
21475 fail:
21476 return NULL;
21477 }
21478
21479
21480 SWIGINTERN PyObject *_wrap_FontData_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21481 PyObject *resultobj = 0;
21482 wxFontData *arg1 = (wxFontData *) 0 ;
21483 int arg2 ;
21484 int arg3 ;
21485 void *argp1 = 0 ;
21486 int res1 = 0 ;
21487 int val2 ;
21488 int ecode2 = 0 ;
21489 int val3 ;
21490 int ecode3 = 0 ;
21491 PyObject * obj0 = 0 ;
21492 PyObject * obj1 = 0 ;
21493 PyObject * obj2 = 0 ;
21494 char * kwnames[] = {
21495 (char *) "self",(char *) "min",(char *) "max", NULL
21496 };
21497
21498 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21499 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
21500 if (!SWIG_IsOK(res1)) {
21501 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
21502 }
21503 arg1 = reinterpret_cast< wxFontData * >(argp1);
21504 ecode2 = SWIG_AsVal_int(obj1, &val2);
21505 if (!SWIG_IsOK(ecode2)) {
21506 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
21507 }
21508 arg2 = static_cast< int >(val2);
21509 ecode3 = SWIG_AsVal_int(obj2, &val3);
21510 if (!SWIG_IsOK(ecode3)) {
21511 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
21512 }
21513 arg3 = static_cast< int >(val3);
21514 {
21515 PyThreadState* __tstate = wxPyBeginAllowThreads();
21516 (arg1)->SetRange(arg2,arg3);
21517 wxPyEndAllowThreads(__tstate);
21518 if (PyErr_Occurred()) SWIG_fail;
21519 }
21520 resultobj = SWIG_Py_Void();
21521 return resultobj;
21522 fail:
21523 return NULL;
21524 }
21525
21526
21527 SWIGINTERN PyObject *_wrap_FontData_SetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21528 PyObject *resultobj = 0;
21529 wxFontData *arg1 = (wxFontData *) 0 ;
21530 bool arg2 ;
21531 void *argp1 = 0 ;
21532 int res1 = 0 ;
21533 bool val2 ;
21534 int ecode2 = 0 ;
21535 PyObject * obj0 = 0 ;
21536 PyObject * obj1 = 0 ;
21537 char * kwnames[] = {
21538 (char *) "self",(char *) "showHelp", NULL
21539 };
21540
21541 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) SWIG_fail;
21542 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
21543 if (!SWIG_IsOK(res1)) {
21544 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
21545 }
21546 arg1 = reinterpret_cast< wxFontData * >(argp1);
21547 ecode2 = SWIG_AsVal_bool(obj1, &val2);
21548 if (!SWIG_IsOK(ecode2)) {
21549 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
21550 }
21551 arg2 = static_cast< bool >(val2);
21552 {
21553 PyThreadState* __tstate = wxPyBeginAllowThreads();
21554 (arg1)->SetShowHelp(arg2);
21555 wxPyEndAllowThreads(__tstate);
21556 if (PyErr_Occurred()) SWIG_fail;
21557 }
21558 resultobj = SWIG_Py_Void();
21559 return resultobj;
21560 fail:
21561 return NULL;
21562 }
21563
21564
21565 SWIGINTERN PyObject *FontData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21566 PyObject *obj;
21567 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21568 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData, SWIG_NewClientData(obj));
21569 return SWIG_Py_Void();
21570 }
21571
21572 SWIGINTERN PyObject *FontData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21573 return SWIG_Python_InitShadowInstance(args);
21574 }
21575
21576 SWIGINTERN PyObject *_wrap_new_FontDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21577 PyObject *resultobj = 0;
21578 wxWindow *arg1 = (wxWindow *) 0 ;
21579 wxFontData *arg2 = 0 ;
21580 wxFontDialog *result = 0 ;
21581 void *argp1 = 0 ;
21582 int res1 = 0 ;
21583 void *argp2 = 0 ;
21584 int res2 = 0 ;
21585 PyObject * obj0 = 0 ;
21586 PyObject * obj1 = 0 ;
21587 char * kwnames[] = {
21588 (char *) "parent",(char *) "data", NULL
21589 };
21590
21591 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) SWIG_fail;
21592 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21593 if (!SWIG_IsOK(res1)) {
21594 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
21595 }
21596 arg1 = reinterpret_cast< wxWindow * >(argp1);
21597 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFontData, 0 | 0);
21598 if (!SWIG_IsOK(res2)) {
21599 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
21600 }
21601 if (!argp2) {
21602 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
21603 }
21604 arg2 = reinterpret_cast< wxFontData * >(argp2);
21605 {
21606 if (!wxPyCheckForApp()) SWIG_fail;
21607 PyThreadState* __tstate = wxPyBeginAllowThreads();
21608 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
21609 wxPyEndAllowThreads(__tstate);
21610 if (PyErr_Occurred()) SWIG_fail;
21611 }
21612 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontDialog, SWIG_POINTER_NEW | 0 );
21613 return resultobj;
21614 fail:
21615 return NULL;
21616 }
21617
21618
21619 SWIGINTERN PyObject *_wrap_FontDialog_GetFontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21620 PyObject *resultobj = 0;
21621 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
21622 wxFontData *result = 0 ;
21623 void *argp1 = 0 ;
21624 int res1 = 0 ;
21625 PyObject *swig_obj[1] ;
21626
21627 if (!args) SWIG_fail;
21628 swig_obj[0] = args;
21629 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontDialog, 0 | 0 );
21630 if (!SWIG_IsOK(res1)) {
21631 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
21632 }
21633 arg1 = reinterpret_cast< wxFontDialog * >(argp1);
21634 {
21635 PyThreadState* __tstate = wxPyBeginAllowThreads();
21636 {
21637 wxFontData &_result_ref = (arg1)->GetFontData();
21638 result = (wxFontData *) &_result_ref;
21639 }
21640 wxPyEndAllowThreads(__tstate);
21641 if (PyErr_Occurred()) SWIG_fail;
21642 }
21643 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, 0 | 0 );
21644 return resultobj;
21645 fail:
21646 return NULL;
21647 }
21648
21649
21650 SWIGINTERN PyObject *FontDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21651 PyObject *obj;
21652 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21653 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog, SWIG_NewClientData(obj));
21654 return SWIG_Py_Void();
21655 }
21656
21657 SWIGINTERN PyObject *FontDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21658 return SWIG_Python_InitShadowInstance(args);
21659 }
21660
21661 SWIGINTERN PyObject *_wrap_GetFontFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21662 PyObject *resultobj = 0;
21663 wxWindow *arg1 = (wxWindow *) NULL ;
21664 wxFont const &arg2_defvalue = wxNullFont ;
21665 wxFont *arg2 = (wxFont *) &arg2_defvalue ;
21666 wxString const &arg3_defvalue = wxPyEmptyString ;
21667 wxString *arg3 = (wxString *) &arg3_defvalue ;
21668 wxFont result;
21669 void *argp1 = 0 ;
21670 int res1 = 0 ;
21671 void *argp2 = 0 ;
21672 int res2 = 0 ;
21673 bool temp3 = false ;
21674 PyObject * obj0 = 0 ;
21675 PyObject * obj1 = 0 ;
21676 PyObject * obj2 = 0 ;
21677 char * kwnames[] = {
21678 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
21679 };
21680
21681 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetFontFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21682 if (obj0) {
21683 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21684 if (!SWIG_IsOK(res1)) {
21685 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
21686 }
21687 arg1 = reinterpret_cast< wxWindow * >(argp1);
21688 }
21689 if (obj1) {
21690 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
21691 if (!SWIG_IsOK(res2)) {
21692 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
21693 }
21694 if (!argp2) {
21695 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
21696 }
21697 arg2 = reinterpret_cast< wxFont * >(argp2);
21698 }
21699 if (obj2) {
21700 {
21701 arg3 = wxString_in_helper(obj2);
21702 if (arg3 == NULL) SWIG_fail;
21703 temp3 = true;
21704 }
21705 }
21706 {
21707 PyThreadState* __tstate = wxPyBeginAllowThreads();
21708 result = wxGetFontFromUser(arg1,(wxFont const &)*arg2,(wxString const &)*arg3);
21709 wxPyEndAllowThreads(__tstate);
21710 if (PyErr_Occurred()) SWIG_fail;
21711 }
21712 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
21713 {
21714 if (temp3)
21715 delete arg3;
21716 }
21717 return resultobj;
21718 fail:
21719 {
21720 if (temp3)
21721 delete arg3;
21722 }
21723 return NULL;
21724 }
21725
21726
21727 SWIGINTERN PyObject *_wrap_new_MessageDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21728 PyObject *resultobj = 0;
21729 wxWindow *arg1 = (wxWindow *) 0 ;
21730 wxString *arg2 = 0 ;
21731 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
21732 wxString *arg3 = (wxString *) &arg3_defvalue ;
21733 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
21734 wxPoint const &arg5_defvalue = wxDefaultPosition ;
21735 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
21736 wxMessageDialog *result = 0 ;
21737 void *argp1 = 0 ;
21738 int res1 = 0 ;
21739 bool temp2 = false ;
21740 bool temp3 = false ;
21741 long val4 ;
21742 int ecode4 = 0 ;
21743 wxPoint temp5 ;
21744 PyObject * obj0 = 0 ;
21745 PyObject * obj1 = 0 ;
21746 PyObject * obj2 = 0 ;
21747 PyObject * obj3 = 0 ;
21748 PyObject * obj4 = 0 ;
21749 char * kwnames[] = {
21750 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
21751 };
21752
21753 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
21754 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21755 if (!SWIG_IsOK(res1)) {
21756 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
21757 }
21758 arg1 = reinterpret_cast< wxWindow * >(argp1);
21759 {
21760 arg2 = wxString_in_helper(obj1);
21761 if (arg2 == NULL) SWIG_fail;
21762 temp2 = true;
21763 }
21764 if (obj2) {
21765 {
21766 arg3 = wxString_in_helper(obj2);
21767 if (arg3 == NULL) SWIG_fail;
21768 temp3 = true;
21769 }
21770 }
21771 if (obj3) {
21772 ecode4 = SWIG_AsVal_long(obj3, &val4);
21773 if (!SWIG_IsOK(ecode4)) {
21774 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
21775 }
21776 arg4 = static_cast< long >(val4);
21777 }
21778 if (obj4) {
21779 {
21780 arg5 = &temp5;
21781 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
21782 }
21783 }
21784 {
21785 if (!wxPyCheckForApp()) SWIG_fail;
21786 PyThreadState* __tstate = wxPyBeginAllowThreads();
21787 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
21788 wxPyEndAllowThreads(__tstate);
21789 if (PyErr_Occurred()) SWIG_fail;
21790 }
21791 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMessageDialog, SWIG_POINTER_NEW | 0 );
21792 {
21793 if (temp2)
21794 delete arg2;
21795 }
21796 {
21797 if (temp3)
21798 delete arg3;
21799 }
21800 return resultobj;
21801 fail:
21802 {
21803 if (temp2)
21804 delete arg2;
21805 }
21806 {
21807 if (temp3)
21808 delete arg3;
21809 }
21810 return NULL;
21811 }
21812
21813
21814 SWIGINTERN PyObject *MessageDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21815 PyObject *obj;
21816 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21817 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog, SWIG_NewClientData(obj));
21818 return SWIG_Py_Void();
21819 }
21820
21821 SWIGINTERN PyObject *MessageDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21822 return SWIG_Python_InitShadowInstance(args);
21823 }
21824
21825 SWIGINTERN PyObject *_wrap_new_ProgressDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21826 PyObject *resultobj = 0;
21827 wxString *arg1 = 0 ;
21828 wxString *arg2 = 0 ;
21829 int arg3 = (int) 100 ;
21830 wxWindow *arg4 = (wxWindow *) NULL ;
21831 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
21832 wxProgressDialog *result = 0 ;
21833 bool temp1 = false ;
21834 bool temp2 = false ;
21835 int val3 ;
21836 int ecode3 = 0 ;
21837 void *argp4 = 0 ;
21838 int res4 = 0 ;
21839 int val5 ;
21840 int ecode5 = 0 ;
21841 PyObject * obj0 = 0 ;
21842 PyObject * obj1 = 0 ;
21843 PyObject * obj2 = 0 ;
21844 PyObject * obj3 = 0 ;
21845 PyObject * obj4 = 0 ;
21846 char * kwnames[] = {
21847 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
21848 };
21849
21850 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
21851 {
21852 arg1 = wxString_in_helper(obj0);
21853 if (arg1 == NULL) SWIG_fail;
21854 temp1 = true;
21855 }
21856 {
21857 arg2 = wxString_in_helper(obj1);
21858 if (arg2 == NULL) SWIG_fail;
21859 temp2 = true;
21860 }
21861 if (obj2) {
21862 ecode3 = SWIG_AsVal_int(obj2, &val3);
21863 if (!SWIG_IsOK(ecode3)) {
21864 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
21865 }
21866 arg3 = static_cast< int >(val3);
21867 }
21868 if (obj3) {
21869 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
21870 if (!SWIG_IsOK(res4)) {
21871 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
21872 }
21873 arg4 = reinterpret_cast< wxWindow * >(argp4);
21874 }
21875 if (obj4) {
21876 ecode5 = SWIG_AsVal_int(obj4, &val5);
21877 if (!SWIG_IsOK(ecode5)) {
21878 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
21879 }
21880 arg5 = static_cast< int >(val5);
21881 }
21882 {
21883 if (!wxPyCheckForApp()) SWIG_fail;
21884 PyThreadState* __tstate = wxPyBeginAllowThreads();
21885 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
21886 wxPyEndAllowThreads(__tstate);
21887 if (PyErr_Occurred()) SWIG_fail;
21888 }
21889 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_NEW | 0 );
21890 {
21891 if (temp1)
21892 delete arg1;
21893 }
21894 {
21895 if (temp2)
21896 delete arg2;
21897 }
21898 return resultobj;
21899 fail:
21900 {
21901 if (temp1)
21902 delete arg1;
21903 }
21904 {
21905 if (temp2)
21906 delete arg2;
21907 }
21908 return NULL;
21909 }
21910
21911
21912 SWIGINTERN PyObject *_wrap_ProgressDialog_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21913 PyObject *resultobj = 0;
21914 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
21915 int arg2 ;
21916 wxString const &arg3_defvalue = wxPyEmptyString ;
21917 wxString *arg3 = (wxString *) &arg3_defvalue ;
21918 bool *arg4 = (bool *) 0 ;
21919 bool result;
21920 void *argp1 = 0 ;
21921 int res1 = 0 ;
21922 int val2 ;
21923 int ecode2 = 0 ;
21924 bool temp3 = false ;
21925 bool temp4 ;
21926 int res4 = SWIG_TMPOBJ ;
21927 PyObject * obj0 = 0 ;
21928 PyObject * obj1 = 0 ;
21929 PyObject * obj2 = 0 ;
21930 char * kwnames[] = {
21931 (char *) "self",(char *) "value",(char *) "newmsg", NULL
21932 };
21933
21934 arg4 = &temp4;
21935 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21936 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
21937 if (!SWIG_IsOK(res1)) {
21938 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
21939 }
21940 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
21941 ecode2 = SWIG_AsVal_int(obj1, &val2);
21942 if (!SWIG_IsOK(ecode2)) {
21943 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
21944 }
21945 arg2 = static_cast< int >(val2);
21946 if (obj2) {
21947 {
21948 arg3 = wxString_in_helper(obj2);
21949 if (arg3 == NULL) SWIG_fail;
21950 temp3 = true;
21951 }
21952 }
21953 {
21954 PyThreadState* __tstate = wxPyBeginAllowThreads();
21955 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3,arg4);
21956 wxPyEndAllowThreads(__tstate);
21957 if (PyErr_Occurred()) SWIG_fail;
21958 }
21959 {
21960 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21961 }
21962 if (SWIG_IsTmpObj(res4)) {
21963 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg4)));
21964 } else {
21965 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21966 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, new_flags));
21967 }
21968 {
21969 if (temp3)
21970 delete arg3;
21971 }
21972 return resultobj;
21973 fail:
21974 {
21975 if (temp3)
21976 delete arg3;
21977 }
21978 return NULL;
21979 }
21980
21981
21982 SWIGINTERN PyObject *_wrap_ProgressDialog_Pulse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21983 PyObject *resultobj = 0;
21984 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
21985 wxString const &arg2_defvalue = wxPyEmptyString ;
21986 wxString *arg2 = (wxString *) &arg2_defvalue ;
21987 bool *arg3 = (bool *) 0 ;
21988 bool result;
21989 void *argp1 = 0 ;
21990 int res1 = 0 ;
21991 bool temp2 = false ;
21992 bool temp3 ;
21993 int res3 = SWIG_TMPOBJ ;
21994 PyObject * obj0 = 0 ;
21995 PyObject * obj1 = 0 ;
21996 char * kwnames[] = {
21997 (char *) "self",(char *) "newmsg", NULL
21998 };
21999
22000 arg3 = &temp3;
22001 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ProgressDialog_Pulse",kwnames,&obj0,&obj1)) SWIG_fail;
22002 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
22003 if (!SWIG_IsOK(res1)) {
22004 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Pulse" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
22005 }
22006 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
22007 if (obj1) {
22008 {
22009 arg2 = wxString_in_helper(obj1);
22010 if (arg2 == NULL) SWIG_fail;
22011 temp2 = true;
22012 }
22013 }
22014 {
22015 PyThreadState* __tstate = wxPyBeginAllowThreads();
22016 result = (bool)(arg1)->Pulse((wxString const &)*arg2,arg3);
22017 wxPyEndAllowThreads(__tstate);
22018 if (PyErr_Occurred()) SWIG_fail;
22019 }
22020 {
22021 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22022 }
22023 if (SWIG_IsTmpObj(res3)) {
22024 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg3)));
22025 } else {
22026 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22027 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_bool, new_flags));
22028 }
22029 {
22030 if (temp2)
22031 delete arg2;
22032 }
22033 return resultobj;
22034 fail:
22035 {
22036 if (temp2)
22037 delete arg2;
22038 }
22039 return NULL;
22040 }
22041
22042
22043 SWIGINTERN PyObject *_wrap_ProgressDialog_Resume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22044 PyObject *resultobj = 0;
22045 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
22046 void *argp1 = 0 ;
22047 int res1 = 0 ;
22048 PyObject *swig_obj[1] ;
22049
22050 if (!args) SWIG_fail;
22051 swig_obj[0] = args;
22052 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
22053 if (!SWIG_IsOK(res1)) {
22054 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
22055 }
22056 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
22057 {
22058 PyThreadState* __tstate = wxPyBeginAllowThreads();
22059 (arg1)->Resume();
22060 wxPyEndAllowThreads(__tstate);
22061 if (PyErr_Occurred()) SWIG_fail;
22062 }
22063 resultobj = SWIG_Py_Void();
22064 return resultobj;
22065 fail:
22066 return NULL;
22067 }
22068
22069
22070 SWIGINTERN PyObject *ProgressDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22071 PyObject *obj;
22072 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22073 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog, SWIG_NewClientData(obj));
22074 return SWIG_Py_Void();
22075 }
22076
22077 SWIGINTERN PyObject *ProgressDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22078 return SWIG_Python_InitShadowInstance(args);
22079 }
22080
22081 SWIGINTERN PyObject *_wrap_new_FindDialogEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22082 PyObject *resultobj = 0;
22083 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
22084 int arg2 = (int) 0 ;
22085 wxFindDialogEvent *result = 0 ;
22086 int val1 ;
22087 int ecode1 = 0 ;
22088 int val2 ;
22089 int ecode2 = 0 ;
22090 PyObject * obj0 = 0 ;
22091 PyObject * obj1 = 0 ;
22092 char * kwnames[] = {
22093 (char *) "commandType",(char *) "id", NULL
22094 };
22095
22096 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) SWIG_fail;
22097 if (obj0) {
22098 ecode1 = SWIG_AsVal_int(obj0, &val1);
22099 if (!SWIG_IsOK(ecode1)) {
22100 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22101 }
22102 arg1 = static_cast< wxEventType >(val1);
22103 }
22104 if (obj1) {
22105 ecode2 = SWIG_AsVal_int(obj1, &val2);
22106 if (!SWIG_IsOK(ecode2)) {
22107 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
22108 }
22109 arg2 = static_cast< int >(val2);
22110 }
22111 {
22112 PyThreadState* __tstate = wxPyBeginAllowThreads();
22113 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
22114 wxPyEndAllowThreads(__tstate);
22115 if (PyErr_Occurred()) SWIG_fail;
22116 }
22117 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_NEW | 0 );
22118 return resultobj;
22119 fail:
22120 return NULL;
22121 }
22122
22123
22124 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22125 PyObject *resultobj = 0;
22126 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
22127 int result;
22128 void *argp1 = 0 ;
22129 int res1 = 0 ;
22130 PyObject *swig_obj[1] ;
22131
22132 if (!args) SWIG_fail;
22133 swig_obj[0] = args;
22134 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
22135 if (!SWIG_IsOK(res1)) {
22136 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
22137 }
22138 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
22139 {
22140 PyThreadState* __tstate = wxPyBeginAllowThreads();
22141 result = (int)(arg1)->GetFlags();
22142 wxPyEndAllowThreads(__tstate);
22143 if (PyErr_Occurred()) SWIG_fail;
22144 }
22145 resultobj = SWIG_From_int(static_cast< int >(result));
22146 return resultobj;
22147 fail:
22148 return NULL;
22149 }
22150
22151
22152 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22153 PyObject *resultobj = 0;
22154 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
22155 wxString *result = 0 ;
22156 void *argp1 = 0 ;
22157 int res1 = 0 ;
22158 PyObject *swig_obj[1] ;
22159
22160 if (!args) SWIG_fail;
22161 swig_obj[0] = args;
22162 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
22163 if (!SWIG_IsOK(res1)) {
22164 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
22165 }
22166 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
22167 {
22168 PyThreadState* __tstate = wxPyBeginAllowThreads();
22169 {
22170 wxString const &_result_ref = (arg1)->GetFindString();
22171 result = (wxString *) &_result_ref;
22172 }
22173 wxPyEndAllowThreads(__tstate);
22174 if (PyErr_Occurred()) SWIG_fail;
22175 }
22176 {
22177 #if wxUSE_UNICODE
22178 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
22179 #else
22180 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
22181 #endif
22182 }
22183 return resultobj;
22184 fail:
22185 return NULL;
22186 }
22187
22188
22189 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22190 PyObject *resultobj = 0;
22191 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
22192 wxString *result = 0 ;
22193 void *argp1 = 0 ;
22194 int res1 = 0 ;
22195 PyObject *swig_obj[1] ;
22196
22197 if (!args) SWIG_fail;
22198 swig_obj[0] = args;
22199 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
22200 if (!SWIG_IsOK(res1)) {
22201 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
22202 }
22203 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
22204 {
22205 PyThreadState* __tstate = wxPyBeginAllowThreads();
22206 {
22207 wxString const &_result_ref = (arg1)->GetReplaceString();
22208 result = (wxString *) &_result_ref;
22209 }
22210 wxPyEndAllowThreads(__tstate);
22211 if (PyErr_Occurred()) SWIG_fail;
22212 }
22213 {
22214 #if wxUSE_UNICODE
22215 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
22216 #else
22217 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
22218 #endif
22219 }
22220 return resultobj;
22221 fail:
22222 return NULL;
22223 }
22224
22225
22226 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22227 PyObject *resultobj = 0;
22228 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
22229 wxFindReplaceDialog *result = 0 ;
22230 void *argp1 = 0 ;
22231 int res1 = 0 ;
22232 PyObject *swig_obj[1] ;
22233
22234 if (!args) SWIG_fail;
22235 swig_obj[0] = args;
22236 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
22237 if (!SWIG_IsOK(res1)) {
22238 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
22239 }
22240 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
22241 {
22242 PyThreadState* __tstate = wxPyBeginAllowThreads();
22243 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
22244 wxPyEndAllowThreads(__tstate);
22245 if (PyErr_Occurred()) SWIG_fail;
22246 }
22247 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
22248 return resultobj;
22249 fail:
22250 return NULL;
22251 }
22252
22253
22254 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22255 PyObject *resultobj = 0;
22256 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
22257 int arg2 ;
22258 void *argp1 = 0 ;
22259 int res1 = 0 ;
22260 int val2 ;
22261 int ecode2 = 0 ;
22262 PyObject * obj0 = 0 ;
22263 PyObject * obj1 = 0 ;
22264 char * kwnames[] = {
22265 (char *) "self",(char *) "flags", NULL
22266 };
22267
22268 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
22269 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
22270 if (!SWIG_IsOK(res1)) {
22271 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
22272 }
22273 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
22274 ecode2 = SWIG_AsVal_int(obj1, &val2);
22275 if (!SWIG_IsOK(ecode2)) {
22276 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
22277 }
22278 arg2 = static_cast< int >(val2);
22279 {
22280 PyThreadState* __tstate = wxPyBeginAllowThreads();
22281 (arg1)->SetFlags(arg2);
22282 wxPyEndAllowThreads(__tstate);
22283 if (PyErr_Occurred()) SWIG_fail;
22284 }
22285 resultobj = SWIG_Py_Void();
22286 return resultobj;
22287 fail:
22288 return NULL;
22289 }
22290
22291
22292 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22293 PyObject *resultobj = 0;
22294 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
22295 wxString *arg2 = 0 ;
22296 void *argp1 = 0 ;
22297 int res1 = 0 ;
22298 bool temp2 = false ;
22299 PyObject * obj0 = 0 ;
22300 PyObject * obj1 = 0 ;
22301 char * kwnames[] = {
22302 (char *) "self",(char *) "str", NULL
22303 };
22304
22305 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
22306 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
22307 if (!SWIG_IsOK(res1)) {
22308 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
22309 }
22310 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
22311 {
22312 arg2 = wxString_in_helper(obj1);
22313 if (arg2 == NULL) SWIG_fail;
22314 temp2 = true;
22315 }
22316 {
22317 PyThreadState* __tstate = wxPyBeginAllowThreads();
22318 (arg1)->SetFindString((wxString const &)*arg2);
22319 wxPyEndAllowThreads(__tstate);
22320 if (PyErr_Occurred()) SWIG_fail;
22321 }
22322 resultobj = SWIG_Py_Void();
22323 {
22324 if (temp2)
22325 delete arg2;
22326 }
22327 return resultobj;
22328 fail:
22329 {
22330 if (temp2)
22331 delete arg2;
22332 }
22333 return NULL;
22334 }
22335
22336
22337 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22338 PyObject *resultobj = 0;
22339 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
22340 wxString *arg2 = 0 ;
22341 void *argp1 = 0 ;
22342 int res1 = 0 ;
22343 bool temp2 = false ;
22344 PyObject * obj0 = 0 ;
22345 PyObject * obj1 = 0 ;
22346 char * kwnames[] = {
22347 (char *) "self",(char *) "str", NULL
22348 };
22349
22350 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
22351 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
22352 if (!SWIG_IsOK(res1)) {
22353 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
22354 }
22355 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
22356 {
22357 arg2 = wxString_in_helper(obj1);
22358 if (arg2 == NULL) SWIG_fail;
22359 temp2 = true;
22360 }
22361 {
22362 PyThreadState* __tstate = wxPyBeginAllowThreads();
22363 (arg1)->SetReplaceString((wxString const &)*arg2);
22364 wxPyEndAllowThreads(__tstate);
22365 if (PyErr_Occurred()) SWIG_fail;
22366 }
22367 resultobj = SWIG_Py_Void();
22368 {
22369 if (temp2)
22370 delete arg2;
22371 }
22372 return resultobj;
22373 fail:
22374 {
22375 if (temp2)
22376 delete arg2;
22377 }
22378 return NULL;
22379 }
22380
22381
22382 SWIGINTERN PyObject *FindDialogEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22383 PyObject *obj;
22384 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22385 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent, SWIG_NewClientData(obj));
22386 return SWIG_Py_Void();
22387 }
22388
22389 SWIGINTERN PyObject *FindDialogEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22390 return SWIG_Python_InitShadowInstance(args);
22391 }
22392
22393 SWIGINTERN PyObject *_wrap_new_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22394 PyObject *resultobj = 0;
22395 int arg1 = (int) 0 ;
22396 wxFindReplaceData *result = 0 ;
22397 int val1 ;
22398 int ecode1 = 0 ;
22399 PyObject * obj0 = 0 ;
22400 char * kwnames[] = {
22401 (char *) "flags", NULL
22402 };
22403
22404 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) SWIG_fail;
22405 if (obj0) {
22406 ecode1 = SWIG_AsVal_int(obj0, &val1);
22407 if (!SWIG_IsOK(ecode1)) {
22408 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
22409 }
22410 arg1 = static_cast< int >(val1);
22411 }
22412 {
22413 PyThreadState* __tstate = wxPyBeginAllowThreads();
22414 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
22415 wxPyEndAllowThreads(__tstate);
22416 if (PyErr_Occurred()) SWIG_fail;
22417 }
22418 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_NEW | 0 );
22419 return resultobj;
22420 fail:
22421 return NULL;
22422 }
22423
22424
22425 SWIGINTERN PyObject *_wrap_delete_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22426 PyObject *resultobj = 0;
22427 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
22428 void *argp1 = 0 ;
22429 int res1 = 0 ;
22430 PyObject *swig_obj[1] ;
22431
22432 if (!args) SWIG_fail;
22433 swig_obj[0] = args;
22434 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_DISOWN | 0 );
22435 if (!SWIG_IsOK(res1)) {
22436 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
22437 }
22438 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
22439 {
22440 PyThreadState* __tstate = wxPyBeginAllowThreads();
22441 delete arg1;
22442
22443 wxPyEndAllowThreads(__tstate);
22444 if (PyErr_Occurred()) SWIG_fail;
22445 }
22446 resultobj = SWIG_Py_Void();
22447 return resultobj;
22448 fail:
22449 return NULL;
22450 }
22451
22452
22453 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22454 PyObject *resultobj = 0;
22455 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
22456 wxString *result = 0 ;
22457 void *argp1 = 0 ;
22458 int res1 = 0 ;
22459 PyObject *swig_obj[1] ;
22460
22461 if (!args) SWIG_fail;
22462 swig_obj[0] = args;
22463 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
22464 if (!SWIG_IsOK(res1)) {
22465 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
22466 }
22467 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
22468 {
22469 PyThreadState* __tstate = wxPyBeginAllowThreads();
22470 {
22471 wxString const &_result_ref = (arg1)->GetFindString();
22472 result = (wxString *) &_result_ref;
22473 }
22474 wxPyEndAllowThreads(__tstate);
22475 if (PyErr_Occurred()) SWIG_fail;
22476 }
22477 {
22478 #if wxUSE_UNICODE
22479 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
22480 #else
22481 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
22482 #endif
22483 }
22484 return resultobj;
22485 fail:
22486 return NULL;
22487 }
22488
22489
22490 SWIGINTERN PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22491 PyObject *resultobj = 0;
22492 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
22493 wxString *result = 0 ;
22494 void *argp1 = 0 ;
22495 int res1 = 0 ;
22496 PyObject *swig_obj[1] ;
22497
22498 if (!args) SWIG_fail;
22499 swig_obj[0] = args;
22500 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
22501 if (!SWIG_IsOK(res1)) {
22502 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
22503 }
22504 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
22505 {
22506 PyThreadState* __tstate = wxPyBeginAllowThreads();
22507 {
22508 wxString const &_result_ref = (arg1)->GetReplaceString();
22509 result = (wxString *) &_result_ref;
22510 }
22511 wxPyEndAllowThreads(__tstate);
22512 if (PyErr_Occurred()) SWIG_fail;
22513 }
22514 {
22515 #if wxUSE_UNICODE
22516 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
22517 #else
22518 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
22519 #endif
22520 }
22521 return resultobj;
22522 fail:
22523 return NULL;
22524 }
22525
22526
22527 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22528 PyObject *resultobj = 0;
22529 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
22530 int result;
22531 void *argp1 = 0 ;
22532 int res1 = 0 ;
22533 PyObject *swig_obj[1] ;
22534
22535 if (!args) SWIG_fail;
22536 swig_obj[0] = args;
22537 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
22538 if (!SWIG_IsOK(res1)) {
22539 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
22540 }
22541 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
22542 {
22543 PyThreadState* __tstate = wxPyBeginAllowThreads();
22544 result = (int)(arg1)->GetFlags();
22545 wxPyEndAllowThreads(__tstate);
22546 if (PyErr_Occurred()) SWIG_fail;
22547 }
22548 resultobj = SWIG_From_int(static_cast< int >(result));
22549 return resultobj;
22550 fail:
22551 return NULL;
22552 }
22553
22554
22555 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22556 PyObject *resultobj = 0;
22557 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
22558 int arg2 ;
22559 void *argp1 = 0 ;
22560 int res1 = 0 ;
22561 int val2 ;
22562 int ecode2 = 0 ;
22563 PyObject * obj0 = 0 ;
22564 PyObject * obj1 = 0 ;
22565 char * kwnames[] = {
22566 (char *) "self",(char *) "flags", NULL
22567 };
22568
22569 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
22570 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
22571 if (!SWIG_IsOK(res1)) {
22572 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
22573 }
22574 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
22575 ecode2 = SWIG_AsVal_int(obj1, &val2);
22576 if (!SWIG_IsOK(ecode2)) {
22577 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
22578 }
22579 arg2 = static_cast< int >(val2);
22580 {
22581 PyThreadState* __tstate = wxPyBeginAllowThreads();
22582 (arg1)->SetFlags(arg2);
22583 wxPyEndAllowThreads(__tstate);
22584 if (PyErr_Occurred()) SWIG_fail;
22585 }
22586 resultobj = SWIG_Py_Void();
22587 return resultobj;
22588 fail:
22589 return NULL;
22590 }
22591
22592
22593 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22594 PyObject *resultobj = 0;
22595 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
22596 wxString *arg2 = 0 ;
22597 void *argp1 = 0 ;
22598 int res1 = 0 ;
22599 bool temp2 = false ;
22600 PyObject * obj0 = 0 ;
22601 PyObject * obj1 = 0 ;
22602 char * kwnames[] = {
22603 (char *) "self",(char *) "str", NULL
22604 };
22605
22606 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
22607 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
22608 if (!SWIG_IsOK(res1)) {
22609 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
22610 }
22611 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
22612 {
22613 arg2 = wxString_in_helper(obj1);
22614 if (arg2 == NULL) SWIG_fail;
22615 temp2 = true;
22616 }
22617 {
22618 PyThreadState* __tstate = wxPyBeginAllowThreads();
22619 (arg1)->SetFindString((wxString const &)*arg2);
22620 wxPyEndAllowThreads(__tstate);
22621 if (PyErr_Occurred()) SWIG_fail;
22622 }
22623 resultobj = SWIG_Py_Void();
22624 {
22625 if (temp2)
22626 delete arg2;
22627 }
22628 return resultobj;
22629 fail:
22630 {
22631 if (temp2)
22632 delete arg2;
22633 }
22634 return NULL;
22635 }
22636
22637
22638 SWIGINTERN PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22639 PyObject *resultobj = 0;
22640 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
22641 wxString *arg2 = 0 ;
22642 void *argp1 = 0 ;
22643 int res1 = 0 ;
22644 bool temp2 = false ;
22645 PyObject * obj0 = 0 ;
22646 PyObject * obj1 = 0 ;
22647 char * kwnames[] = {
22648 (char *) "self",(char *) "str", NULL
22649 };
22650
22651 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
22652 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
22653 if (!SWIG_IsOK(res1)) {
22654 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
22655 }
22656 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
22657 {
22658 arg2 = wxString_in_helper(obj1);
22659 if (arg2 == NULL) SWIG_fail;
22660 temp2 = true;
22661 }
22662 {
22663 PyThreadState* __tstate = wxPyBeginAllowThreads();
22664 (arg1)->SetReplaceString((wxString const &)*arg2);
22665 wxPyEndAllowThreads(__tstate);
22666 if (PyErr_Occurred()) SWIG_fail;
22667 }
22668 resultobj = SWIG_Py_Void();
22669 {
22670 if (temp2)
22671 delete arg2;
22672 }
22673 return resultobj;
22674 fail:
22675 {
22676 if (temp2)
22677 delete arg2;
22678 }
22679 return NULL;
22680 }
22681
22682
22683 SWIGINTERN PyObject *FindReplaceData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22684 PyObject *obj;
22685 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22686 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData, SWIG_NewClientData(obj));
22687 return SWIG_Py_Void();
22688 }
22689
22690 SWIGINTERN PyObject *FindReplaceData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22691 return SWIG_Python_InitShadowInstance(args);
22692 }
22693
22694 SWIGINTERN PyObject *_wrap_new_FindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22695 PyObject *resultobj = 0;
22696 wxWindow *arg1 = (wxWindow *) 0 ;
22697 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
22698 wxString *arg3 = 0 ;
22699 int arg4 = (int) 0 ;
22700 wxFindReplaceDialog *result = 0 ;
22701 void *argp1 = 0 ;
22702 int res1 = 0 ;
22703 void *argp2 = 0 ;
22704 int res2 = 0 ;
22705 bool temp3 = false ;
22706 int val4 ;
22707 int ecode4 = 0 ;
22708 PyObject * obj0 = 0 ;
22709 PyObject * obj1 = 0 ;
22710 PyObject * obj2 = 0 ;
22711 PyObject * obj3 = 0 ;
22712 char * kwnames[] = {
22713 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
22714 };
22715
22716 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
22717 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22718 if (!SWIG_IsOK(res1)) {
22719 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
22720 }
22721 arg1 = reinterpret_cast< wxWindow * >(argp1);
22722 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
22723 if (!SWIG_IsOK(res2)) {
22724 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
22725 }
22726 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
22727 {
22728 arg3 = wxString_in_helper(obj2);
22729 if (arg3 == NULL) SWIG_fail;
22730 temp3 = true;
22731 }
22732 if (obj3) {
22733 ecode4 = SWIG_AsVal_int(obj3, &val4);
22734 if (!SWIG_IsOK(ecode4)) {
22735 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
22736 }
22737 arg4 = static_cast< int >(val4);
22738 }
22739 {
22740 if (!wxPyCheckForApp()) SWIG_fail;
22741 PyThreadState* __tstate = wxPyBeginAllowThreads();
22742 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
22743 wxPyEndAllowThreads(__tstate);
22744 if (PyErr_Occurred()) SWIG_fail;
22745 }
22746 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_NEW | 0 );
22747 {
22748 if (temp3)
22749 delete arg3;
22750 }
22751 return resultobj;
22752 fail:
22753 {
22754 if (temp3)
22755 delete arg3;
22756 }
22757 return NULL;
22758 }
22759
22760
22761 SWIGINTERN PyObject *_wrap_new_PreFindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22762 PyObject *resultobj = 0;
22763 wxFindReplaceDialog *result = 0 ;
22764
22765 if (!SWIG_Python_UnpackTuple(args,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail;
22766 {
22767 if (!wxPyCheckForApp()) SWIG_fail;
22768 PyThreadState* __tstate = wxPyBeginAllowThreads();
22769 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
22770 wxPyEndAllowThreads(__tstate);
22771 if (PyErr_Occurred()) SWIG_fail;
22772 }
22773 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_OWN | 0 );
22774 return resultobj;
22775 fail:
22776 return NULL;
22777 }
22778
22779
22780 SWIGINTERN PyObject *_wrap_FindReplaceDialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22781 PyObject *resultobj = 0;
22782 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
22783 wxWindow *arg2 = (wxWindow *) 0 ;
22784 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
22785 wxString *arg4 = 0 ;
22786 int arg5 = (int) 0 ;
22787 bool result;
22788 void *argp1 = 0 ;
22789 int res1 = 0 ;
22790 void *argp2 = 0 ;
22791 int res2 = 0 ;
22792 void *argp3 = 0 ;
22793 int res3 = 0 ;
22794 bool temp4 = false ;
22795 int val5 ;
22796 int ecode5 = 0 ;
22797 PyObject * obj0 = 0 ;
22798 PyObject * obj1 = 0 ;
22799 PyObject * obj2 = 0 ;
22800 PyObject * obj3 = 0 ;
22801 PyObject * obj4 = 0 ;
22802 char * kwnames[] = {
22803 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
22804 };
22805
22806 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22807 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
22808 if (!SWIG_IsOK(res1)) {
22809 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
22810 }
22811 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
22812 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
22813 if (!SWIG_IsOK(res2)) {
22814 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22815 }
22816 arg2 = reinterpret_cast< wxWindow * >(argp2);
22817 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
22818 if (!SWIG_IsOK(res3)) {
22819 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
22820 }
22821 arg3 = reinterpret_cast< wxFindReplaceData * >(argp3);
22822 {
22823 arg4 = wxString_in_helper(obj3);
22824 if (arg4 == NULL) SWIG_fail;
22825 temp4 = true;
22826 }
22827 if (obj4) {
22828 ecode5 = SWIG_AsVal_int(obj4, &val5);
22829 if (!SWIG_IsOK(ecode5)) {
22830 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
22831 }
22832 arg5 = static_cast< int >(val5);
22833 }
22834 {
22835 PyThreadState* __tstate = wxPyBeginAllowThreads();
22836 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
22837 wxPyEndAllowThreads(__tstate);
22838 if (PyErr_Occurred()) SWIG_fail;
22839 }
22840 {
22841 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22842 }
22843 {
22844 if (temp4)
22845 delete arg4;
22846 }
22847 return resultobj;
22848 fail:
22849 {
22850 if (temp4)
22851 delete arg4;
22852 }
22853 return NULL;
22854 }
22855
22856
22857 SWIGINTERN PyObject *_wrap_FindReplaceDialog_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22858 PyObject *resultobj = 0;
22859 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
22860 wxFindReplaceData *result = 0 ;
22861 void *argp1 = 0 ;
22862 int res1 = 0 ;
22863 PyObject *swig_obj[1] ;
22864
22865 if (!args) SWIG_fail;
22866 swig_obj[0] = args;
22867 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
22868 if (!SWIG_IsOK(res1)) {
22869 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
22870 }
22871 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
22872 {
22873 PyThreadState* __tstate = wxPyBeginAllowThreads();
22874 result = (wxFindReplaceData *)(arg1)->GetData();
22875 wxPyEndAllowThreads(__tstate);
22876 if (PyErr_Occurred()) SWIG_fail;
22877 }
22878 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
22879 return resultobj;
22880 fail:
22881 return NULL;
22882 }
22883
22884
22885 SWIGINTERN PyObject *_wrap_FindReplaceDialog_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22886 PyObject *resultobj = 0;
22887 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
22888 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
22889 void *argp1 = 0 ;
22890 int res1 = 0 ;
22891 void *argp2 = 0 ;
22892 int res2 = 0 ;
22893 PyObject * obj0 = 0 ;
22894 PyObject * obj1 = 0 ;
22895 char * kwnames[] = {
22896 (char *) "self",(char *) "data", NULL
22897 };
22898
22899 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
22900 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
22901 if (!SWIG_IsOK(res1)) {
22902 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
22903 }
22904 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
22905 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
22906 if (!SWIG_IsOK(res2)) {
22907 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
22908 }
22909 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
22910 {
22911 PyThreadState* __tstate = wxPyBeginAllowThreads();
22912 (arg1)->SetData(arg2);
22913 wxPyEndAllowThreads(__tstate);
22914 if (PyErr_Occurred()) SWIG_fail;
22915 }
22916 resultobj = SWIG_Py_Void();
22917 return resultobj;
22918 fail:
22919 return NULL;
22920 }
22921
22922
22923 SWIGINTERN PyObject *FindReplaceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22924 PyObject *obj;
22925 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22926 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog, SWIG_NewClientData(obj));
22927 return SWIG_Py_Void();
22928 }
22929
22930 SWIGINTERN PyObject *FindReplaceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22931 return SWIG_Python_InitShadowInstance(args);
22932 }
22933
22934 SWIGINTERN PyObject *_wrap_new_MDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22935 PyObject *resultobj = 0;
22936 wxWindow *arg1 = (wxWindow *) 0 ;
22937 int arg2 = (int) (int)-1 ;
22938 wxString const &arg3_defvalue = wxPyEmptyString ;
22939 wxString *arg3 = (wxString *) &arg3_defvalue ;
22940 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22941 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22942 wxSize const &arg5_defvalue = wxDefaultSize ;
22943 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22944 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
22945 wxString const &arg7_defvalue = wxPyFrameNameStr ;
22946 wxString *arg7 = (wxString *) &arg7_defvalue ;
22947 wxMDIParentFrame *result = 0 ;
22948 void *argp1 = 0 ;
22949 int res1 = 0 ;
22950 int val2 ;
22951 int ecode2 = 0 ;
22952 bool temp3 = false ;
22953 wxPoint temp4 ;
22954 wxSize temp5 ;
22955 long val6 ;
22956 int ecode6 = 0 ;
22957 bool temp7 = false ;
22958 PyObject * obj0 = 0 ;
22959 PyObject * obj1 = 0 ;
22960 PyObject * obj2 = 0 ;
22961 PyObject * obj3 = 0 ;
22962 PyObject * obj4 = 0 ;
22963 PyObject * obj5 = 0 ;
22964 PyObject * obj6 = 0 ;
22965 char * kwnames[] = {
22966 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22967 };
22968
22969 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
22970 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22971 if (!SWIG_IsOK(res1)) {
22972 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
22973 }
22974 arg1 = reinterpret_cast< wxWindow * >(argp1);
22975 if (obj1) {
22976 ecode2 = SWIG_AsVal_int(obj1, &val2);
22977 if (!SWIG_IsOK(ecode2)) {
22978 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
22979 }
22980 arg2 = static_cast< int >(val2);
22981 }
22982 if (obj2) {
22983 {
22984 arg3 = wxString_in_helper(obj2);
22985 if (arg3 == NULL) SWIG_fail;
22986 temp3 = true;
22987 }
22988 }
22989 if (obj3) {
22990 {
22991 arg4 = &temp4;
22992 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22993 }
22994 }
22995 if (obj4) {
22996 {
22997 arg5 = &temp5;
22998 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22999 }
23000 }
23001 if (obj5) {
23002 ecode6 = SWIG_AsVal_long(obj5, &val6);
23003 if (!SWIG_IsOK(ecode6)) {
23004 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
23005 }
23006 arg6 = static_cast< long >(val6);
23007 }
23008 if (obj6) {
23009 {
23010 arg7 = wxString_in_helper(obj6);
23011 if (arg7 == NULL) SWIG_fail;
23012 temp7 = true;
23013 }
23014 }
23015 {
23016 if (!wxPyCheckForApp()) SWIG_fail;
23017 PyThreadState* __tstate = wxPyBeginAllowThreads();
23018 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
23019 wxPyEndAllowThreads(__tstate);
23020 if (PyErr_Occurred()) SWIG_fail;
23021 }
23022 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_NEW | 0 );
23023 {
23024 if (temp3)
23025 delete arg3;
23026 }
23027 {
23028 if (temp7)
23029 delete arg7;
23030 }
23031 return resultobj;
23032 fail:
23033 {
23034 if (temp3)
23035 delete arg3;
23036 }
23037 {
23038 if (temp7)
23039 delete arg7;
23040 }
23041 return NULL;
23042 }
23043
23044
23045 SWIGINTERN PyObject *_wrap_new_PreMDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23046 PyObject *resultobj = 0;
23047 wxMDIParentFrame *result = 0 ;
23048
23049 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIParentFrame",0,0,0)) SWIG_fail;
23050 {
23051 if (!wxPyCheckForApp()) SWIG_fail;
23052 PyThreadState* __tstate = wxPyBeginAllowThreads();
23053 result = (wxMDIParentFrame *)new wxMDIParentFrame();
23054 wxPyEndAllowThreads(__tstate);
23055 if (PyErr_Occurred()) SWIG_fail;
23056 }
23057 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_OWN | 0 );
23058 return resultobj;
23059 fail:
23060 return NULL;
23061 }
23062
23063
23064 SWIGINTERN PyObject *_wrap_MDIParentFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23065 PyObject *resultobj = 0;
23066 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
23067 wxWindow *arg2 = (wxWindow *) 0 ;
23068 int arg3 = (int) (int)-1 ;
23069 wxString const &arg4_defvalue = wxPyEmptyString ;
23070 wxString *arg4 = (wxString *) &arg4_defvalue ;
23071 wxPoint const &arg5_defvalue = wxDefaultPosition ;
23072 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
23073 wxSize const &arg6_defvalue = wxDefaultSize ;
23074 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
23075 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
23076 wxString const &arg8_defvalue = wxPyFrameNameStr ;
23077 wxString *arg8 = (wxString *) &arg8_defvalue ;
23078 bool result;
23079 void *argp1 = 0 ;
23080 int res1 = 0 ;
23081 void *argp2 = 0 ;
23082 int res2 = 0 ;
23083 int val3 ;
23084 int ecode3 = 0 ;
23085 bool temp4 = false ;
23086 wxPoint temp5 ;
23087 wxSize temp6 ;
23088 long val7 ;
23089 int ecode7 = 0 ;
23090 bool temp8 = false ;
23091 PyObject * obj0 = 0 ;
23092 PyObject * obj1 = 0 ;
23093 PyObject * obj2 = 0 ;
23094 PyObject * obj3 = 0 ;
23095 PyObject * obj4 = 0 ;
23096 PyObject * obj5 = 0 ;
23097 PyObject * obj6 = 0 ;
23098 PyObject * obj7 = 0 ;
23099 char * kwnames[] = {
23100 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23101 };
23102
23103 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
23104 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
23105 if (!SWIG_IsOK(res1)) {
23106 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23107 }
23108 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
23109 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
23110 if (!SWIG_IsOK(res2)) {
23111 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
23112 }
23113 arg2 = reinterpret_cast< wxWindow * >(argp2);
23114 if (obj2) {
23115 ecode3 = SWIG_AsVal_int(obj2, &val3);
23116 if (!SWIG_IsOK(ecode3)) {
23117 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
23118 }
23119 arg3 = static_cast< int >(val3);
23120 }
23121 if (obj3) {
23122 {
23123 arg4 = wxString_in_helper(obj3);
23124 if (arg4 == NULL) SWIG_fail;
23125 temp4 = true;
23126 }
23127 }
23128 if (obj4) {
23129 {
23130 arg5 = &temp5;
23131 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
23132 }
23133 }
23134 if (obj5) {
23135 {
23136 arg6 = &temp6;
23137 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
23138 }
23139 }
23140 if (obj6) {
23141 ecode7 = SWIG_AsVal_long(obj6, &val7);
23142 if (!SWIG_IsOK(ecode7)) {
23143 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
23144 }
23145 arg7 = static_cast< long >(val7);
23146 }
23147 if (obj7) {
23148 {
23149 arg8 = wxString_in_helper(obj7);
23150 if (arg8 == NULL) SWIG_fail;
23151 temp8 = true;
23152 }
23153 }
23154 {
23155 PyThreadState* __tstate = wxPyBeginAllowThreads();
23156 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
23157 wxPyEndAllowThreads(__tstate);
23158 if (PyErr_Occurred()) SWIG_fail;
23159 }
23160 {
23161 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23162 }
23163 {
23164 if (temp4)
23165 delete arg4;
23166 }
23167 {
23168 if (temp8)
23169 delete arg8;
23170 }
23171 return resultobj;
23172 fail:
23173 {
23174 if (temp4)
23175 delete arg4;
23176 }
23177 {
23178 if (temp8)
23179 delete arg8;
23180 }
23181 return NULL;
23182 }
23183
23184
23185 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23186 PyObject *resultobj = 0;
23187 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
23188 void *argp1 = 0 ;
23189 int res1 = 0 ;
23190 PyObject *swig_obj[1] ;
23191
23192 if (!args) SWIG_fail;
23193 swig_obj[0] = args;
23194 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
23195 if (!SWIG_IsOK(res1)) {
23196 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23197 }
23198 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
23199 {
23200 PyThreadState* __tstate = wxPyBeginAllowThreads();
23201 (arg1)->ActivateNext();
23202 wxPyEndAllowThreads(__tstate);
23203 if (PyErr_Occurred()) SWIG_fail;
23204 }
23205 resultobj = SWIG_Py_Void();
23206 return resultobj;
23207 fail:
23208 return NULL;
23209 }
23210
23211
23212 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23213 PyObject *resultobj = 0;
23214 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
23215 void *argp1 = 0 ;
23216 int res1 = 0 ;
23217 PyObject *swig_obj[1] ;
23218
23219 if (!args) SWIG_fail;
23220 swig_obj[0] = args;
23221 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
23222 if (!SWIG_IsOK(res1)) {
23223 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23224 }
23225 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
23226 {
23227 PyThreadState* __tstate = wxPyBeginAllowThreads();
23228 (arg1)->ActivatePrevious();
23229 wxPyEndAllowThreads(__tstate);
23230 if (PyErr_Occurred()) SWIG_fail;
23231 }
23232 resultobj = SWIG_Py_Void();
23233 return resultobj;
23234 fail:
23235 return NULL;
23236 }
23237
23238
23239 SWIGINTERN PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23240 PyObject *resultobj = 0;
23241 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
23242 void *argp1 = 0 ;
23243 int res1 = 0 ;
23244 PyObject *swig_obj[1] ;
23245
23246 if (!args) SWIG_fail;
23247 swig_obj[0] = args;
23248 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
23249 if (!SWIG_IsOK(res1)) {
23250 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23251 }
23252 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
23253 {
23254 PyThreadState* __tstate = wxPyBeginAllowThreads();
23255 (arg1)->ArrangeIcons();
23256 wxPyEndAllowThreads(__tstate);
23257 if (PyErr_Occurred()) SWIG_fail;
23258 }
23259 resultobj = SWIG_Py_Void();
23260 return resultobj;
23261 fail:
23262 return NULL;
23263 }
23264
23265
23266 SWIGINTERN PyObject *_wrap_MDIParentFrame_Cascade(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23267 PyObject *resultobj = 0;
23268 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
23269 void *argp1 = 0 ;
23270 int res1 = 0 ;
23271 PyObject *swig_obj[1] ;
23272
23273 if (!args) SWIG_fail;
23274 swig_obj[0] = args;
23275 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
23276 if (!SWIG_IsOK(res1)) {
23277 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23278 }
23279 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
23280 {
23281 PyThreadState* __tstate = wxPyBeginAllowThreads();
23282 (arg1)->Cascade();
23283 wxPyEndAllowThreads(__tstate);
23284 if (PyErr_Occurred()) SWIG_fail;
23285 }
23286 resultobj = SWIG_Py_Void();
23287 return resultobj;
23288 fail:
23289 return NULL;
23290 }
23291
23292
23293 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23294 PyObject *resultobj = 0;
23295 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
23296 wxMDIChildFrame *result = 0 ;
23297 void *argp1 = 0 ;
23298 int res1 = 0 ;
23299 PyObject *swig_obj[1] ;
23300
23301 if (!args) SWIG_fail;
23302 swig_obj[0] = args;
23303 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
23304 if (!SWIG_IsOK(res1)) {
23305 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23306 }
23307 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
23308 {
23309 PyThreadState* __tstate = wxPyBeginAllowThreads();
23310 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
23311 wxPyEndAllowThreads(__tstate);
23312 if (PyErr_Occurred()) SWIG_fail;
23313 }
23314 {
23315 resultobj = wxPyMake_wxObject(result, (bool)0);
23316 }
23317 return resultobj;
23318 fail:
23319 return NULL;
23320 }
23321
23322
23323 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23324 PyObject *resultobj = 0;
23325 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
23326 wxMDIClientWindow *result = 0 ;
23327 void *argp1 = 0 ;
23328 int res1 = 0 ;
23329 PyObject *swig_obj[1] ;
23330
23331 if (!args) SWIG_fail;
23332 swig_obj[0] = args;
23333 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
23334 if (!SWIG_IsOK(res1)) {
23335 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23336 }
23337 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
23338 {
23339 PyThreadState* __tstate = wxPyBeginAllowThreads();
23340 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
23341 wxPyEndAllowThreads(__tstate);
23342 if (PyErr_Occurred()) SWIG_fail;
23343 }
23344 {
23345 resultobj = wxPyMake_wxObject(result, (bool)0);
23346 }
23347 return resultobj;
23348 fail:
23349 return NULL;
23350 }
23351
23352
23353 SWIGINTERN PyObject *_wrap_MDIParentFrame_Tile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23354 PyObject *resultobj = 0;
23355 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
23356 wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ;
23357 void *argp1 = 0 ;
23358 int res1 = 0 ;
23359 int val2 ;
23360 int ecode2 = 0 ;
23361 PyObject * obj0 = 0 ;
23362 PyObject * obj1 = 0 ;
23363 char * kwnames[] = {
23364 (char *) "self",(char *) "orient", NULL
23365 };
23366
23367 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) SWIG_fail;
23368 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
23369 if (!SWIG_IsOK(res1)) {
23370 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23371 }
23372 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
23373 if (obj1) {
23374 ecode2 = SWIG_AsVal_int(obj1, &val2);
23375 if (!SWIG_IsOK(ecode2)) {
23376 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
23377 }
23378 arg2 = static_cast< wxOrientation >(val2);
23379 }
23380 {
23381 PyThreadState* __tstate = wxPyBeginAllowThreads();
23382 (arg1)->Tile(arg2);
23383 wxPyEndAllowThreads(__tstate);
23384 if (PyErr_Occurred()) SWIG_fail;
23385 }
23386 resultobj = SWIG_Py_Void();
23387 return resultobj;
23388 fail:
23389 return NULL;
23390 }
23391
23392
23393 SWIGINTERN PyObject *MDIParentFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23394 PyObject *obj;
23395 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23396 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame, SWIG_NewClientData(obj));
23397 return SWIG_Py_Void();
23398 }
23399
23400 SWIGINTERN PyObject *MDIParentFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23401 return SWIG_Python_InitShadowInstance(args);
23402 }
23403
23404 SWIGINTERN PyObject *_wrap_new_MDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23405 PyObject *resultobj = 0;
23406 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
23407 int arg2 = (int) (int)-1 ;
23408 wxString const &arg3_defvalue = wxPyEmptyString ;
23409 wxString *arg3 = (wxString *) &arg3_defvalue ;
23410 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23411 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23412 wxSize const &arg5_defvalue = wxDefaultSize ;
23413 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23414 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
23415 wxString const &arg7_defvalue = wxPyFrameNameStr ;
23416 wxString *arg7 = (wxString *) &arg7_defvalue ;
23417 wxMDIChildFrame *result = 0 ;
23418 void *argp1 = 0 ;
23419 int res1 = 0 ;
23420 int val2 ;
23421 int ecode2 = 0 ;
23422 bool temp3 = false ;
23423 wxPoint temp4 ;
23424 wxSize temp5 ;
23425 long val6 ;
23426 int ecode6 = 0 ;
23427 bool temp7 = false ;
23428 PyObject * obj0 = 0 ;
23429 PyObject * obj1 = 0 ;
23430 PyObject * obj2 = 0 ;
23431 PyObject * obj3 = 0 ;
23432 PyObject * obj4 = 0 ;
23433 PyObject * obj5 = 0 ;
23434 PyObject * obj6 = 0 ;
23435 char * kwnames[] = {
23436 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23437 };
23438
23439 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
23440 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
23441 if (!SWIG_IsOK(res1)) {
23442 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23443 }
23444 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
23445 if (obj1) {
23446 ecode2 = SWIG_AsVal_int(obj1, &val2);
23447 if (!SWIG_IsOK(ecode2)) {
23448 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
23449 }
23450 arg2 = static_cast< int >(val2);
23451 }
23452 if (obj2) {
23453 {
23454 arg3 = wxString_in_helper(obj2);
23455 if (arg3 == NULL) SWIG_fail;
23456 temp3 = true;
23457 }
23458 }
23459 if (obj3) {
23460 {
23461 arg4 = &temp4;
23462 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23463 }
23464 }
23465 if (obj4) {
23466 {
23467 arg5 = &temp5;
23468 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23469 }
23470 }
23471 if (obj5) {
23472 ecode6 = SWIG_AsVal_long(obj5, &val6);
23473 if (!SWIG_IsOK(ecode6)) {
23474 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
23475 }
23476 arg6 = static_cast< long >(val6);
23477 }
23478 if (obj6) {
23479 {
23480 arg7 = wxString_in_helper(obj6);
23481 if (arg7 == NULL) SWIG_fail;
23482 temp7 = true;
23483 }
23484 }
23485 {
23486 if (!wxPyCheckForApp()) SWIG_fail;
23487 PyThreadState* __tstate = wxPyBeginAllowThreads();
23488 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
23489 wxPyEndAllowThreads(__tstate);
23490 if (PyErr_Occurred()) SWIG_fail;
23491 }
23492 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_NEW | 0 );
23493 {
23494 if (temp3)
23495 delete arg3;
23496 }
23497 {
23498 if (temp7)
23499 delete arg7;
23500 }
23501 return resultobj;
23502 fail:
23503 {
23504 if (temp3)
23505 delete arg3;
23506 }
23507 {
23508 if (temp7)
23509 delete arg7;
23510 }
23511 return NULL;
23512 }
23513
23514
23515 SWIGINTERN PyObject *_wrap_new_PreMDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23516 PyObject *resultobj = 0;
23517 wxMDIChildFrame *result = 0 ;
23518
23519 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIChildFrame",0,0,0)) SWIG_fail;
23520 {
23521 if (!wxPyCheckForApp()) SWIG_fail;
23522 PyThreadState* __tstate = wxPyBeginAllowThreads();
23523 result = (wxMDIChildFrame *)new wxMDIChildFrame();
23524 wxPyEndAllowThreads(__tstate);
23525 if (PyErr_Occurred()) SWIG_fail;
23526 }
23527 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_OWN | 0 );
23528 return resultobj;
23529 fail:
23530 return NULL;
23531 }
23532
23533
23534 SWIGINTERN PyObject *_wrap_MDIChildFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23535 PyObject *resultobj = 0;
23536 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
23537 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
23538 int arg3 = (int) (int)-1 ;
23539 wxString const &arg4_defvalue = wxPyEmptyString ;
23540 wxString *arg4 = (wxString *) &arg4_defvalue ;
23541 wxPoint const &arg5_defvalue = wxDefaultPosition ;
23542 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
23543 wxSize const &arg6_defvalue = wxDefaultSize ;
23544 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
23545 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
23546 wxString const &arg8_defvalue = wxPyFrameNameStr ;
23547 wxString *arg8 = (wxString *) &arg8_defvalue ;
23548 bool result;
23549 void *argp1 = 0 ;
23550 int res1 = 0 ;
23551 void *argp2 = 0 ;
23552 int res2 = 0 ;
23553 int val3 ;
23554 int ecode3 = 0 ;
23555 bool temp4 = false ;
23556 wxPoint temp5 ;
23557 wxSize temp6 ;
23558 long val7 ;
23559 int ecode7 = 0 ;
23560 bool temp8 = false ;
23561 PyObject * obj0 = 0 ;
23562 PyObject * obj1 = 0 ;
23563 PyObject * obj2 = 0 ;
23564 PyObject * obj3 = 0 ;
23565 PyObject * obj4 = 0 ;
23566 PyObject * obj5 = 0 ;
23567 PyObject * obj6 = 0 ;
23568 PyObject * obj7 = 0 ;
23569 char * kwnames[] = {
23570 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23571 };
23572
23573 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
23574 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
23575 if (!SWIG_IsOK(res1)) {
23576 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
23577 }
23578 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
23579 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
23580 if (!SWIG_IsOK(res2)) {
23581 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
23582 }
23583 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
23584 if (obj2) {
23585 ecode3 = SWIG_AsVal_int(obj2, &val3);
23586 if (!SWIG_IsOK(ecode3)) {
23587 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
23588 }
23589 arg3 = static_cast< int >(val3);
23590 }
23591 if (obj3) {
23592 {
23593 arg4 = wxString_in_helper(obj3);
23594 if (arg4 == NULL) SWIG_fail;
23595 temp4 = true;
23596 }
23597 }
23598 if (obj4) {
23599 {
23600 arg5 = &temp5;
23601 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
23602 }
23603 }
23604 if (obj5) {
23605 {
23606 arg6 = &temp6;
23607 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
23608 }
23609 }
23610 if (obj6) {
23611 ecode7 = SWIG_AsVal_long(obj6, &val7);
23612 if (!SWIG_IsOK(ecode7)) {
23613 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
23614 }
23615 arg7 = static_cast< long >(val7);
23616 }
23617 if (obj7) {
23618 {
23619 arg8 = wxString_in_helper(obj7);
23620 if (arg8 == NULL) SWIG_fail;
23621 temp8 = true;
23622 }
23623 }
23624 {
23625 PyThreadState* __tstate = wxPyBeginAllowThreads();
23626 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
23627 wxPyEndAllowThreads(__tstate);
23628 if (PyErr_Occurred()) SWIG_fail;
23629 }
23630 {
23631 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23632 }
23633 {
23634 if (temp4)
23635 delete arg4;
23636 }
23637 {
23638 if (temp8)
23639 delete arg8;
23640 }
23641 return resultobj;
23642 fail:
23643 {
23644 if (temp4)
23645 delete arg4;
23646 }
23647 {
23648 if (temp8)
23649 delete arg8;
23650 }
23651 return NULL;
23652 }
23653
23654
23655 SWIGINTERN PyObject *_wrap_MDIChildFrame_Activate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23656 PyObject *resultobj = 0;
23657 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
23658 void *argp1 = 0 ;
23659 int res1 = 0 ;
23660 PyObject *swig_obj[1] ;
23661
23662 if (!args) SWIG_fail;
23663 swig_obj[0] = args;
23664 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
23665 if (!SWIG_IsOK(res1)) {
23666 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
23667 }
23668 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
23669 {
23670 PyThreadState* __tstate = wxPyBeginAllowThreads();
23671 (arg1)->Activate();
23672 wxPyEndAllowThreads(__tstate);
23673 if (PyErr_Occurred()) SWIG_fail;
23674 }
23675 resultobj = SWIG_Py_Void();
23676 return resultobj;
23677 fail:
23678 return NULL;
23679 }
23680
23681
23682 SWIGINTERN PyObject *MDIChildFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23683 PyObject *obj;
23684 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23685 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame, SWIG_NewClientData(obj));
23686 return SWIG_Py_Void();
23687 }
23688
23689 SWIGINTERN PyObject *MDIChildFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23690 return SWIG_Python_InitShadowInstance(args);
23691 }
23692
23693 SWIGINTERN PyObject *_wrap_new_MDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23694 PyObject *resultobj = 0;
23695 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
23696 long arg2 = (long) 0 ;
23697 wxMDIClientWindow *result = 0 ;
23698 void *argp1 = 0 ;
23699 int res1 = 0 ;
23700 long val2 ;
23701 int ecode2 = 0 ;
23702 PyObject * obj0 = 0 ;
23703 PyObject * obj1 = 0 ;
23704 char * kwnames[] = {
23705 (char *) "parent",(char *) "style", NULL
23706 };
23707
23708 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
23709 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
23710 if (!SWIG_IsOK(res1)) {
23711 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23712 }
23713 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
23714 if (obj1) {
23715 ecode2 = SWIG_AsVal_long(obj1, &val2);
23716 if (!SWIG_IsOK(ecode2)) {
23717 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
23718 }
23719 arg2 = static_cast< long >(val2);
23720 }
23721 {
23722 if (!wxPyCheckForApp()) SWIG_fail;
23723 PyThreadState* __tstate = wxPyBeginAllowThreads();
23724 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
23725 wxPyEndAllowThreads(__tstate);
23726 if (PyErr_Occurred()) SWIG_fail;
23727 }
23728 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_NEW | 0 );
23729 return resultobj;
23730 fail:
23731 return NULL;
23732 }
23733
23734
23735 SWIGINTERN PyObject *_wrap_new_PreMDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23736 PyObject *resultobj = 0;
23737 wxMDIClientWindow *result = 0 ;
23738
23739 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIClientWindow",0,0,0)) SWIG_fail;
23740 {
23741 if (!wxPyCheckForApp()) SWIG_fail;
23742 PyThreadState* __tstate = wxPyBeginAllowThreads();
23743 result = (wxMDIClientWindow *)new wxMDIClientWindow();
23744 wxPyEndAllowThreads(__tstate);
23745 if (PyErr_Occurred()) SWIG_fail;
23746 }
23747 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_OWN | 0 );
23748 return resultobj;
23749 fail:
23750 return NULL;
23751 }
23752
23753
23754 SWIGINTERN PyObject *_wrap_MDIClientWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23755 PyObject *resultobj = 0;
23756 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
23757 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
23758 long arg3 = (long) 0 ;
23759 bool result;
23760 void *argp1 = 0 ;
23761 int res1 = 0 ;
23762 void *argp2 = 0 ;
23763 int res2 = 0 ;
23764 long val3 ;
23765 int ecode3 = 0 ;
23766 PyObject * obj0 = 0 ;
23767 PyObject * obj1 = 0 ;
23768 PyObject * obj2 = 0 ;
23769 char * kwnames[] = {
23770 (char *) "self",(char *) "parent",(char *) "style", NULL
23771 };
23772
23773 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23774 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIClientWindow, 0 | 0 );
23775 if (!SWIG_IsOK(res1)) {
23776 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
23777 }
23778 arg1 = reinterpret_cast< wxMDIClientWindow * >(argp1);
23779 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
23780 if (!SWIG_IsOK(res2)) {
23781 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
23782 }
23783 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
23784 if (obj2) {
23785 ecode3 = SWIG_AsVal_long(obj2, &val3);
23786 if (!SWIG_IsOK(ecode3)) {
23787 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
23788 }
23789 arg3 = static_cast< long >(val3);
23790 }
23791 {
23792 PyThreadState* __tstate = wxPyBeginAllowThreads();
23793 result = (bool)(arg1)->Create(arg2,arg3);
23794 wxPyEndAllowThreads(__tstate);
23795 if (PyErr_Occurred()) SWIG_fail;
23796 }
23797 {
23798 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23799 }
23800 return resultobj;
23801 fail:
23802 return NULL;
23803 }
23804
23805
23806 SWIGINTERN PyObject *MDIClientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23807 PyObject *obj;
23808 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23809 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow, SWIG_NewClientData(obj));
23810 return SWIG_Py_Void();
23811 }
23812
23813 SWIGINTERN PyObject *MDIClientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23814 return SWIG_Python_InitShadowInstance(args);
23815 }
23816
23817 SWIGINTERN PyObject *_wrap_new_PyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23818 PyObject *resultobj = 0;
23819 wxWindow *arg1 = (wxWindow *) 0 ;
23820 int arg2 = (int) (int)-1 ;
23821 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23822 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23823 wxSize const &arg4_defvalue = wxDefaultSize ;
23824 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23825 long arg5 = (long) 0 ;
23826 wxString const &arg6_defvalue = wxPyPanelNameStr ;
23827 wxString *arg6 = (wxString *) &arg6_defvalue ;
23828 wxPyWindow *result = 0 ;
23829 void *argp1 = 0 ;
23830 int res1 = 0 ;
23831 int val2 ;
23832 int ecode2 = 0 ;
23833 wxPoint temp3 ;
23834 wxSize temp4 ;
23835 long val5 ;
23836 int ecode5 = 0 ;
23837 bool temp6 = false ;
23838 PyObject * obj0 = 0 ;
23839 PyObject * obj1 = 0 ;
23840 PyObject * obj2 = 0 ;
23841 PyObject * obj3 = 0 ;
23842 PyObject * obj4 = 0 ;
23843 PyObject * obj5 = 0 ;
23844 char * kwnames[] = {
23845 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23846 };
23847
23848 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
23849 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
23850 if (!SWIG_IsOK(res1)) {
23851 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
23852 }
23853 arg1 = reinterpret_cast< wxWindow * >(argp1);
23854 if (obj1) {
23855 ecode2 = SWIG_AsVal_int(obj1, &val2);
23856 if (!SWIG_IsOK(ecode2)) {
23857 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
23858 }
23859 arg2 = static_cast< int >(val2);
23860 }
23861 if (obj2) {
23862 {
23863 arg3 = &temp3;
23864 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23865 }
23866 }
23867 if (obj3) {
23868 {
23869 arg4 = &temp4;
23870 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23871 }
23872 }
23873 if (obj4) {
23874 ecode5 = SWIG_AsVal_long(obj4, &val5);
23875 if (!SWIG_IsOK(ecode5)) {
23876 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
23877 }
23878 arg5 = static_cast< long >(val5);
23879 }
23880 if (obj5) {
23881 {
23882 arg6 = wxString_in_helper(obj5);
23883 if (arg6 == NULL) SWIG_fail;
23884 temp6 = true;
23885 }
23886 }
23887 {
23888 if (!wxPyCheckForApp()) SWIG_fail;
23889 PyThreadState* __tstate = wxPyBeginAllowThreads();
23890 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
23891 wxPyEndAllowThreads(__tstate);
23892 if (PyErr_Occurred()) SWIG_fail;
23893 }
23894 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_NEW | 0 );
23895 {
23896 if (temp6)
23897 delete arg6;
23898 }
23899 return resultobj;
23900 fail:
23901 {
23902 if (temp6)
23903 delete arg6;
23904 }
23905 return NULL;
23906 }
23907
23908
23909 SWIGINTERN PyObject *_wrap_new_PrePyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23910 PyObject *resultobj = 0;
23911 wxPyWindow *result = 0 ;
23912
23913 if (!SWIG_Python_UnpackTuple(args,"new_PrePyWindow",0,0,0)) SWIG_fail;
23914 {
23915 if (!wxPyCheckForApp()) SWIG_fail;
23916 PyThreadState* __tstate = wxPyBeginAllowThreads();
23917 result = (wxPyWindow *)new wxPyWindow();
23918 wxPyEndAllowThreads(__tstate);
23919 if (PyErr_Occurred()) SWIG_fail;
23920 }
23921 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_OWN | 0 );
23922 return resultobj;
23923 fail:
23924 return NULL;
23925 }
23926
23927
23928 SWIGINTERN PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23929 PyObject *resultobj = 0;
23930 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
23931 PyObject *arg2 = (PyObject *) 0 ;
23932 PyObject *arg3 = (PyObject *) 0 ;
23933 void *argp1 = 0 ;
23934 int res1 = 0 ;
23935 PyObject * obj0 = 0 ;
23936 PyObject * obj1 = 0 ;
23937 PyObject * obj2 = 0 ;
23938 char * kwnames[] = {
23939 (char *) "self",(char *) "self",(char *) "_class", NULL
23940 };
23941
23942 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23943 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
23944 if (!SWIG_IsOK(res1)) {
23945 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
23946 }
23947 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
23948 arg2 = obj1;
23949 arg3 = obj2;
23950 {
23951 PyThreadState* __tstate = wxPyBeginAllowThreads();
23952 (arg1)->_setCallbackInfo(arg2,arg3);
23953 wxPyEndAllowThreads(__tstate);
23954 if (PyErr_Occurred()) SWIG_fail;
23955 }
23956 resultobj = SWIG_Py_Void();
23957 return resultobj;
23958 fail:
23959 return NULL;
23960 }
23961
23962
23963 SWIGINTERN PyObject *_wrap_PyWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23964 PyObject *resultobj = 0;
23965 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
23966 wxDC *arg2 = (wxDC *) 0 ;
23967 bool result;
23968 void *argp1 = 0 ;
23969 int res1 = 0 ;
23970 void *argp2 = 0 ;
23971 int res2 = 0 ;
23972 PyObject * obj0 = 0 ;
23973 PyObject * obj1 = 0 ;
23974 char * kwnames[] = {
23975 (char *) "self",(char *) "dc", NULL
23976 };
23977
23978 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
23979 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
23980 if (!SWIG_IsOK(res1)) {
23981 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
23982 }
23983 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
23984 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
23985 if (!SWIG_IsOK(res2)) {
23986 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
23987 }
23988 arg2 = reinterpret_cast< wxDC * >(argp2);
23989 {
23990 PyThreadState* __tstate = wxPyBeginAllowThreads();
23991 result = (bool)(arg1)->DoEraseBackground(arg2);
23992 wxPyEndAllowThreads(__tstate);
23993 if (PyErr_Occurred()) SWIG_fail;
23994 }
23995 {
23996 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23997 }
23998 return resultobj;
23999 fail:
24000 return NULL;
24001 }
24002
24003
24004 SWIGINTERN PyObject *_wrap_PyWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24005 PyObject *resultobj = 0;
24006 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
24007 int arg2 ;
24008 int arg3 ;
24009 int arg4 ;
24010 int arg5 ;
24011 void *argp1 = 0 ;
24012 int res1 = 0 ;
24013 int val2 ;
24014 int ecode2 = 0 ;
24015 int val3 ;
24016 int ecode3 = 0 ;
24017 int val4 ;
24018 int ecode4 = 0 ;
24019 int val5 ;
24020 int ecode5 = 0 ;
24021 PyObject * obj0 = 0 ;
24022 PyObject * obj1 = 0 ;
24023 PyObject * obj2 = 0 ;
24024 PyObject * obj3 = 0 ;
24025 PyObject * obj4 = 0 ;
24026 char * kwnames[] = {
24027 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
24028 };
24029
24030 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
24031 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
24032 if (!SWIG_IsOK(res1)) {
24033 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
24034 }
24035 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
24036 ecode2 = SWIG_AsVal_int(obj1, &val2);
24037 if (!SWIG_IsOK(ecode2)) {
24038 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
24039 }
24040 arg2 = static_cast< int >(val2);
24041 ecode3 = SWIG_AsVal_int(obj2, &val3);
24042 if (!SWIG_IsOK(ecode3)) {
24043 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
24044 }
24045 arg3 = static_cast< int >(val3);
24046 ecode4 = SWIG_AsVal_int(obj3, &val4);
24047 if (!SWIG_IsOK(ecode4)) {
24048 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
24049 }
24050 arg4 = static_cast< int >(val4);
24051 ecode5 = SWIG_AsVal_int(obj4, &val5);
24052 if (!SWIG_IsOK(ecode5)) {
24053 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
24054 }
24055 arg5 = static_cast< int >(val5);
24056 {
24057 PyThreadState* __tstate = wxPyBeginAllowThreads();
24058 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
24059 wxPyEndAllowThreads(__tstate);
24060 if (PyErr_Occurred()) SWIG_fail;
24061 }
24062 resultobj = SWIG_Py_Void();
24063 return resultobj;
24064 fail:
24065 return NULL;
24066 }
24067
24068
24069 SWIGINTERN PyObject *_wrap_PyWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24070 PyObject *resultobj = 0;
24071 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
24072 int arg2 ;
24073 int arg3 ;
24074 int arg4 ;
24075 int arg5 ;
24076 int arg6 = (int) wxSIZE_AUTO ;
24077 void *argp1 = 0 ;
24078 int res1 = 0 ;
24079 int val2 ;
24080 int ecode2 = 0 ;
24081 int val3 ;
24082 int ecode3 = 0 ;
24083 int val4 ;
24084 int ecode4 = 0 ;
24085 int val5 ;
24086 int ecode5 = 0 ;
24087 int val6 ;
24088 int ecode6 = 0 ;
24089 PyObject * obj0 = 0 ;
24090 PyObject * obj1 = 0 ;
24091 PyObject * obj2 = 0 ;
24092 PyObject * obj3 = 0 ;
24093 PyObject * obj4 = 0 ;
24094 PyObject * obj5 = 0 ;
24095 char * kwnames[] = {
24096 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
24097 };
24098
24099 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
24100 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
24101 if (!SWIG_IsOK(res1)) {
24102 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
24103 }
24104 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
24105 ecode2 = SWIG_AsVal_int(obj1, &val2);
24106 if (!SWIG_IsOK(ecode2)) {
24107 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
24108 }
24109 arg2 = static_cast< int >(val2);
24110 ecode3 = SWIG_AsVal_int(obj2, &val3);
24111 if (!SWIG_IsOK(ecode3)) {
24112 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
24113 }
24114 arg3 = static_cast< int >(val3);
24115 ecode4 = SWIG_AsVal_int(obj3, &val4);
24116 if (!SWIG_IsOK(ecode4)) {
24117 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
24118 }
24119 arg4 = static_cast< int >(val4);
24120 ecode5 = SWIG_AsVal_int(obj4, &val5);
24121 if (!SWIG_IsOK(ecode5)) {
24122 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
24123 }
24124 arg5 = static_cast< int >(val5);
24125 if (obj5) {
24126 ecode6 = SWIG_AsVal_int(obj5, &val6);
24127 if (!SWIG_IsOK(ecode6)) {
24128 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
24129 }
24130 arg6 = static_cast< int >(val6);
24131 }
24132 {
24133 PyThreadState* __tstate = wxPyBeginAllowThreads();
24134 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
24135 wxPyEndAllowThreads(__tstate);
24136 if (PyErr_Occurred()) SWIG_fail;
24137 }
24138 resultobj = SWIG_Py_Void();
24139 return resultobj;
24140 fail:
24141 return NULL;
24142 }
24143
24144
24145 SWIGINTERN PyObject *_wrap_PyWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24146 PyObject *resultobj = 0;
24147 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
24148 int arg2 ;
24149 int arg3 ;
24150 void *argp1 = 0 ;
24151 int res1 = 0 ;
24152 int val2 ;
24153 int ecode2 = 0 ;
24154 int val3 ;
24155 int ecode3 = 0 ;
24156 PyObject * obj0 = 0 ;
24157 PyObject * obj1 = 0 ;
24158 PyObject * obj2 = 0 ;
24159 char * kwnames[] = {
24160 (char *) "self",(char *) "width",(char *) "height", NULL
24161 };
24162
24163 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24164 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
24165 if (!SWIG_IsOK(res1)) {
24166 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
24167 }
24168 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
24169 ecode2 = SWIG_AsVal_int(obj1, &val2);
24170 if (!SWIG_IsOK(ecode2)) {
24171 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
24172 }
24173 arg2 = static_cast< int >(val2);
24174 ecode3 = SWIG_AsVal_int(obj2, &val3);
24175 if (!SWIG_IsOK(ecode3)) {
24176 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
24177 }
24178 arg3 = static_cast< int >(val3);
24179 {
24180 PyThreadState* __tstate = wxPyBeginAllowThreads();
24181 (arg1)->DoSetClientSize(arg2,arg3);
24182 wxPyEndAllowThreads(__tstate);
24183 if (PyErr_Occurred()) SWIG_fail;
24184 }
24185 resultobj = SWIG_Py_Void();
24186 return resultobj;
24187 fail:
24188 return NULL;
24189 }
24190
24191
24192 SWIGINTERN PyObject *_wrap_PyWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24193 PyObject *resultobj = 0;
24194 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
24195 int arg2 ;
24196 int arg3 ;
24197 void *argp1 = 0 ;
24198 int res1 = 0 ;
24199 int val2 ;
24200 int ecode2 = 0 ;
24201 int val3 ;
24202 int ecode3 = 0 ;
24203 PyObject * obj0 = 0 ;
24204 PyObject * obj1 = 0 ;
24205 PyObject * obj2 = 0 ;
24206 char * kwnames[] = {
24207 (char *) "self",(char *) "x",(char *) "y", NULL
24208 };
24209
24210 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24211 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
24212 if (!SWIG_IsOK(res1)) {
24213 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
24214 }
24215 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
24216 ecode2 = SWIG_AsVal_int(obj1, &val2);
24217 if (!SWIG_IsOK(ecode2)) {
24218 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
24219 }
24220 arg2 = static_cast< int >(val2);
24221 ecode3 = SWIG_AsVal_int(obj2, &val3);
24222 if (!SWIG_IsOK(ecode3)) {
24223 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
24224 }
24225 arg3 = static_cast< int >(val3);
24226 {
24227 PyThreadState* __tstate = wxPyBeginAllowThreads();
24228 (arg1)->DoSetVirtualSize(arg2,arg3);
24229 wxPyEndAllowThreads(__tstate);
24230 if (PyErr_Occurred()) SWIG_fail;
24231 }
24232 resultobj = SWIG_Py_Void();
24233 return resultobj;
24234 fail:
24235 return NULL;
24236 }
24237
24238
24239 SWIGINTERN PyObject *_wrap_PyWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24240 PyObject *resultobj = 0;
24241 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
24242 int *arg2 = (int *) 0 ;
24243 int *arg3 = (int *) 0 ;
24244 void *argp1 = 0 ;
24245 int res1 = 0 ;
24246 int temp2 ;
24247 int res2 = SWIG_TMPOBJ ;
24248 int temp3 ;
24249 int res3 = SWIG_TMPOBJ ;
24250 PyObject *swig_obj[1] ;
24251
24252 arg2 = &temp2;
24253 arg3 = &temp3;
24254 if (!args) SWIG_fail;
24255 swig_obj[0] = args;
24256 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
24257 if (!SWIG_IsOK(res1)) {
24258 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
24259 }
24260 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
24261 {
24262 PyThreadState* __tstate = wxPyBeginAllowThreads();
24263 ((wxPyWindow const *)arg1)->DoGetSize(arg2,arg3);
24264 wxPyEndAllowThreads(__tstate);
24265 if (PyErr_Occurred()) SWIG_fail;
24266 }
24267 resultobj = SWIG_Py_Void();
24268 if (SWIG_IsTmpObj(res2)) {
24269 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
24270 } else {
24271 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
24272 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
24273 }
24274 if (SWIG_IsTmpObj(res3)) {
24275 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
24276 } else {
24277 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
24278 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
24279 }
24280 return resultobj;
24281 fail:
24282 return NULL;
24283 }
24284
24285
24286 SWIGINTERN PyObject *_wrap_PyWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24287 PyObject *resultobj = 0;
24288 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
24289 int *arg2 = (int *) 0 ;
24290 int *arg3 = (int *) 0 ;
24291 void *argp1 = 0 ;
24292 int res1 = 0 ;
24293 int temp2 ;
24294 int res2 = SWIG_TMPOBJ ;
24295 int temp3 ;
24296 int res3 = SWIG_TMPOBJ ;
24297 PyObject *swig_obj[1] ;
24298
24299 arg2 = &temp2;
24300 arg3 = &temp3;
24301 if (!args) SWIG_fail;
24302 swig_obj[0] = args;
24303 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
24304 if (!SWIG_IsOK(res1)) {
24305 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
24306 }
24307 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
24308 {
24309 PyThreadState* __tstate = wxPyBeginAllowThreads();
24310 ((wxPyWindow const *)arg1)->DoGetClientSize(arg2,arg3);
24311 wxPyEndAllowThreads(__tstate);
24312 if (PyErr_Occurred()) SWIG_fail;
24313 }
24314 resultobj = SWIG_Py_Void();
24315 if (SWIG_IsTmpObj(res2)) {
24316 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
24317 } else {
24318 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
24319 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
24320 }
24321 if (SWIG_IsTmpObj(res3)) {
24322 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
24323 } else {
24324 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
24325 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
24326 }
24327 return resultobj;
24328 fail:
24329 return NULL;
24330 }
24331
24332
24333 SWIGINTERN PyObject *_wrap_PyWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24334 PyObject *resultobj = 0;
24335 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
24336 int *arg2 = (int *) 0 ;
24337 int *arg3 = (int *) 0 ;
24338 void *argp1 = 0 ;
24339 int res1 = 0 ;
24340 int temp2 ;
24341 int res2 = SWIG_TMPOBJ ;
24342 int temp3 ;
24343 int res3 = SWIG_TMPOBJ ;
24344 PyObject *swig_obj[1] ;
24345
24346 arg2 = &temp2;
24347 arg3 = &temp3;
24348 if (!args) SWIG_fail;
24349 swig_obj[0] = args;
24350 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
24351 if (!SWIG_IsOK(res1)) {
24352 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
24353 }
24354 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
24355 {
24356 PyThreadState* __tstate = wxPyBeginAllowThreads();
24357 ((wxPyWindow const *)arg1)->DoGetPosition(arg2,arg3);
24358 wxPyEndAllowThreads(__tstate);
24359 if (PyErr_Occurred()) SWIG_fail;
24360 }
24361 resultobj = SWIG_Py_Void();
24362 if (SWIG_IsTmpObj(res2)) {
24363 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
24364 } else {
24365 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
24366 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
24367 }
24368 if (SWIG_IsTmpObj(res3)) {
24369 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
24370 } else {
24371 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
24372 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
24373 }
24374 return resultobj;
24375 fail:
24376 return NULL;
24377 }
24378
24379
24380 SWIGINTERN PyObject *_wrap_PyWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24381 PyObject *resultobj = 0;
24382 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
24383 wxSize result;
24384 void *argp1 = 0 ;
24385 int res1 = 0 ;
24386 PyObject *swig_obj[1] ;
24387
24388 if (!args) SWIG_fail;
24389 swig_obj[0] = args;
24390 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
24391 if (!SWIG_IsOK(res1)) {
24392 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
24393 }
24394 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
24395 {
24396 PyThreadState* __tstate = wxPyBeginAllowThreads();
24397 result = ((wxPyWindow const *)arg1)->DoGetVirtualSize();
24398 wxPyEndAllowThreads(__tstate);
24399 if (PyErr_Occurred()) SWIG_fail;
24400 }
24401 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
24402 return resultobj;
24403 fail:
24404 return NULL;
24405 }
24406
24407
24408 SWIGINTERN PyObject *_wrap_PyWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24409 PyObject *resultobj = 0;
24410 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
24411 wxSize result;
24412 void *argp1 = 0 ;
24413 int res1 = 0 ;
24414 PyObject *swig_obj[1] ;
24415
24416 if (!args) SWIG_fail;
24417 swig_obj[0] = args;
24418 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
24419 if (!SWIG_IsOK(res1)) {
24420 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
24421 }
24422 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
24423 {
24424 PyThreadState* __tstate = wxPyBeginAllowThreads();
24425 result = ((wxPyWindow const *)arg1)->DoGetBestSize();
24426 wxPyEndAllowThreads(__tstate);
24427 if (PyErr_Occurred()) SWIG_fail;
24428 }
24429 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
24430 return resultobj;
24431 fail:
24432 return NULL;
24433 }
24434
24435
24436 SWIGINTERN PyObject *_wrap_PyWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24437 PyObject *resultobj = 0;
24438 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
24439 SwigValueWrapper<wxVisualAttributes > result;
24440 void *argp1 = 0 ;
24441 int res1 = 0 ;
24442 PyObject *swig_obj[1] ;
24443
24444 if (!args) SWIG_fail;
24445 swig_obj[0] = args;
24446 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
24447 if (!SWIG_IsOK(res1)) {
24448 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
24449 }
24450 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
24451 {
24452 PyThreadState* __tstate = wxPyBeginAllowThreads();
24453 result = (arg1)->GetDefaultAttributes();
24454 wxPyEndAllowThreads(__tstate);
24455 if (PyErr_Occurred()) SWIG_fail;
24456 }
24457 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
24458 return resultobj;
24459 fail:
24460 return NULL;
24461 }
24462
24463
24464 SWIGINTERN PyObject *_wrap_PyWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24465 PyObject *resultobj = 0;
24466 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
24467 void *argp1 = 0 ;
24468 int res1 = 0 ;
24469 PyObject *swig_obj[1] ;
24470
24471 if (!args) SWIG_fail;
24472 swig_obj[0] = args;
24473 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
24474 if (!SWIG_IsOK(res1)) {
24475 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
24476 }
24477 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
24478 {
24479 PyThreadState* __tstate = wxPyBeginAllowThreads();
24480 (arg1)->OnInternalIdle();
24481 wxPyEndAllowThreads(__tstate);
24482 if (PyErr_Occurred()) SWIG_fail;
24483 }
24484 resultobj = SWIG_Py_Void();
24485 return resultobj;
24486 fail:
24487 return NULL;
24488 }
24489
24490
24491 SWIGINTERN PyObject *PyWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24492 PyObject *obj;
24493 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
24494 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow, SWIG_NewClientData(obj));
24495 return SWIG_Py_Void();
24496 }
24497
24498 SWIGINTERN PyObject *PyWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24499 return SWIG_Python_InitShadowInstance(args);
24500 }
24501
24502 SWIGINTERN PyObject *_wrap_new_PyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24503 PyObject *resultobj = 0;
24504 wxWindow *arg1 = (wxWindow *) 0 ;
24505 int arg2 = (int) (int)-1 ;
24506 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24507 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24508 wxSize const &arg4_defvalue = wxDefaultSize ;
24509 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
24510 long arg5 = (long) 0 ;
24511 wxString const &arg6_defvalue = wxPyPanelNameStr ;
24512 wxString *arg6 = (wxString *) &arg6_defvalue ;
24513 wxPyPanel *result = 0 ;
24514 void *argp1 = 0 ;
24515 int res1 = 0 ;
24516 int val2 ;
24517 int ecode2 = 0 ;
24518 wxPoint temp3 ;
24519 wxSize temp4 ;
24520 long val5 ;
24521 int ecode5 = 0 ;
24522 bool temp6 = false ;
24523 PyObject * obj0 = 0 ;
24524 PyObject * obj1 = 0 ;
24525 PyObject * obj2 = 0 ;
24526 PyObject * obj3 = 0 ;
24527 PyObject * obj4 = 0 ;
24528 PyObject * obj5 = 0 ;
24529 char * kwnames[] = {
24530 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24531 };
24532
24533 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
24534 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
24535 if (!SWIG_IsOK(res1)) {
24536 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
24537 }
24538 arg1 = reinterpret_cast< wxWindow * >(argp1);
24539 if (obj1) {
24540 ecode2 = SWIG_AsVal_int(obj1, &val2);
24541 if (!SWIG_IsOK(ecode2)) {
24542 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
24543 }
24544 arg2 = static_cast< int >(val2);
24545 }
24546 if (obj2) {
24547 {
24548 arg3 = &temp3;
24549 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24550 }
24551 }
24552 if (obj3) {
24553 {
24554 arg4 = &temp4;
24555 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
24556 }
24557 }
24558 if (obj4) {
24559 ecode5 = SWIG_AsVal_long(obj4, &val5);
24560 if (!SWIG_IsOK(ecode5)) {
24561 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
24562 }
24563 arg5 = static_cast< long >(val5);
24564 }
24565 if (obj5) {
24566 {
24567 arg6 = wxString_in_helper(obj5);
24568 if (arg6 == NULL) SWIG_fail;
24569 temp6 = true;
24570 }
24571 }
24572 {
24573 if (!wxPyCheckForApp()) SWIG_fail;
24574 PyThreadState* __tstate = wxPyBeginAllowThreads();
24575 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
24576 wxPyEndAllowThreads(__tstate);
24577 if (PyErr_Occurred()) SWIG_fail;
24578 }
24579 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_NEW | 0 );
24580 {
24581 if (temp6)
24582 delete arg6;
24583 }
24584 return resultobj;
24585 fail:
24586 {
24587 if (temp6)
24588 delete arg6;
24589 }
24590 return NULL;
24591 }
24592
24593
24594 SWIGINTERN PyObject *_wrap_new_PrePyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24595 PyObject *resultobj = 0;
24596 wxPyPanel *result = 0 ;
24597
24598 if (!SWIG_Python_UnpackTuple(args,"new_PrePyPanel",0,0,0)) SWIG_fail;
24599 {
24600 if (!wxPyCheckForApp()) SWIG_fail;
24601 PyThreadState* __tstate = wxPyBeginAllowThreads();
24602 result = (wxPyPanel *)new wxPyPanel();
24603 wxPyEndAllowThreads(__tstate);
24604 if (PyErr_Occurred()) SWIG_fail;
24605 }
24606 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_OWN | 0 );
24607 return resultobj;
24608 fail:
24609 return NULL;
24610 }
24611
24612
24613 SWIGINTERN PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24614 PyObject *resultobj = 0;
24615 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
24616 PyObject *arg2 = (PyObject *) 0 ;
24617 PyObject *arg3 = (PyObject *) 0 ;
24618 void *argp1 = 0 ;
24619 int res1 = 0 ;
24620 PyObject * obj0 = 0 ;
24621 PyObject * obj1 = 0 ;
24622 PyObject * obj2 = 0 ;
24623 char * kwnames[] = {
24624 (char *) "self",(char *) "self",(char *) "_class", NULL
24625 };
24626
24627 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24628 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
24629 if (!SWIG_IsOK(res1)) {
24630 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
24631 }
24632 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
24633 arg2 = obj1;
24634 arg3 = obj2;
24635 {
24636 PyThreadState* __tstate = wxPyBeginAllowThreads();
24637 (arg1)->_setCallbackInfo(arg2,arg3);
24638 wxPyEndAllowThreads(__tstate);
24639 if (PyErr_Occurred()) SWIG_fail;
24640 }
24641 resultobj = SWIG_Py_Void();
24642 return resultobj;
24643 fail:
24644 return NULL;
24645 }
24646
24647
24648 SWIGINTERN PyObject *_wrap_PyPanel_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24649 PyObject *resultobj = 0;
24650 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
24651 wxDC *arg2 = (wxDC *) 0 ;
24652 bool result;
24653 void *argp1 = 0 ;
24654 int res1 = 0 ;
24655 void *argp2 = 0 ;
24656 int res2 = 0 ;
24657 PyObject * obj0 = 0 ;
24658 PyObject * obj1 = 0 ;
24659 char * kwnames[] = {
24660 (char *) "self",(char *) "dc", NULL
24661 };
24662
24663 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
24664 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
24665 if (!SWIG_IsOK(res1)) {
24666 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
24667 }
24668 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
24669 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
24670 if (!SWIG_IsOK(res2)) {
24671 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
24672 }
24673 arg2 = reinterpret_cast< wxDC * >(argp2);
24674 {
24675 PyThreadState* __tstate = wxPyBeginAllowThreads();
24676 result = (bool)(arg1)->DoEraseBackground(arg2);
24677 wxPyEndAllowThreads(__tstate);
24678 if (PyErr_Occurred()) SWIG_fail;
24679 }
24680 {
24681 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24682 }
24683 return resultobj;
24684 fail:
24685 return NULL;
24686 }
24687
24688
24689 SWIGINTERN PyObject *_wrap_PyPanel_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24690 PyObject *resultobj = 0;
24691 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
24692 int arg2 ;
24693 int arg3 ;
24694 int arg4 ;
24695 int arg5 ;
24696 void *argp1 = 0 ;
24697 int res1 = 0 ;
24698 int val2 ;
24699 int ecode2 = 0 ;
24700 int val3 ;
24701 int ecode3 = 0 ;
24702 int val4 ;
24703 int ecode4 = 0 ;
24704 int val5 ;
24705 int ecode5 = 0 ;
24706 PyObject * obj0 = 0 ;
24707 PyObject * obj1 = 0 ;
24708 PyObject * obj2 = 0 ;
24709 PyObject * obj3 = 0 ;
24710 PyObject * obj4 = 0 ;
24711 char * kwnames[] = {
24712 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
24713 };
24714
24715 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
24716 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
24717 if (!SWIG_IsOK(res1)) {
24718 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
24719 }
24720 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
24721 ecode2 = SWIG_AsVal_int(obj1, &val2);
24722 if (!SWIG_IsOK(ecode2)) {
24723 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
24724 }
24725 arg2 = static_cast< int >(val2);
24726 ecode3 = SWIG_AsVal_int(obj2, &val3);
24727 if (!SWIG_IsOK(ecode3)) {
24728 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
24729 }
24730 arg3 = static_cast< int >(val3);
24731 ecode4 = SWIG_AsVal_int(obj3, &val4);
24732 if (!SWIG_IsOK(ecode4)) {
24733 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
24734 }
24735 arg4 = static_cast< int >(val4);
24736 ecode5 = SWIG_AsVal_int(obj4, &val5);
24737 if (!SWIG_IsOK(ecode5)) {
24738 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
24739 }
24740 arg5 = static_cast< int >(val5);
24741 {
24742 PyThreadState* __tstate = wxPyBeginAllowThreads();
24743 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
24744 wxPyEndAllowThreads(__tstate);
24745 if (PyErr_Occurred()) SWIG_fail;
24746 }
24747 resultobj = SWIG_Py_Void();
24748 return resultobj;
24749 fail:
24750 return NULL;
24751 }
24752
24753
24754 SWIGINTERN PyObject *_wrap_PyPanel_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24755 PyObject *resultobj = 0;
24756 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
24757 int arg2 ;
24758 int arg3 ;
24759 int arg4 ;
24760 int arg5 ;
24761 int arg6 = (int) wxSIZE_AUTO ;
24762 void *argp1 = 0 ;
24763 int res1 = 0 ;
24764 int val2 ;
24765 int ecode2 = 0 ;
24766 int val3 ;
24767 int ecode3 = 0 ;
24768 int val4 ;
24769 int ecode4 = 0 ;
24770 int val5 ;
24771 int ecode5 = 0 ;
24772 int val6 ;
24773 int ecode6 = 0 ;
24774 PyObject * obj0 = 0 ;
24775 PyObject * obj1 = 0 ;
24776 PyObject * obj2 = 0 ;
24777 PyObject * obj3 = 0 ;
24778 PyObject * obj4 = 0 ;
24779 PyObject * obj5 = 0 ;
24780 char * kwnames[] = {
24781 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
24782 };
24783
24784 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
24785 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
24786 if (!SWIG_IsOK(res1)) {
24787 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
24788 }
24789 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
24790 ecode2 = SWIG_AsVal_int(obj1, &val2);
24791 if (!SWIG_IsOK(ecode2)) {
24792 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
24793 }
24794 arg2 = static_cast< int >(val2);
24795 ecode3 = SWIG_AsVal_int(obj2, &val3);
24796 if (!SWIG_IsOK(ecode3)) {
24797 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
24798 }
24799 arg3 = static_cast< int >(val3);
24800 ecode4 = SWIG_AsVal_int(obj3, &val4);
24801 if (!SWIG_IsOK(ecode4)) {
24802 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
24803 }
24804 arg4 = static_cast< int >(val4);
24805 ecode5 = SWIG_AsVal_int(obj4, &val5);
24806 if (!SWIG_IsOK(ecode5)) {
24807 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
24808 }
24809 arg5 = static_cast< int >(val5);
24810 if (obj5) {
24811 ecode6 = SWIG_AsVal_int(obj5, &val6);
24812 if (!SWIG_IsOK(ecode6)) {
24813 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
24814 }
24815 arg6 = static_cast< int >(val6);
24816 }
24817 {
24818 PyThreadState* __tstate = wxPyBeginAllowThreads();
24819 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
24820 wxPyEndAllowThreads(__tstate);
24821 if (PyErr_Occurred()) SWIG_fail;
24822 }
24823 resultobj = SWIG_Py_Void();
24824 return resultobj;
24825 fail:
24826 return NULL;
24827 }
24828
24829
24830 SWIGINTERN PyObject *_wrap_PyPanel_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24831 PyObject *resultobj = 0;
24832 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
24833 int arg2 ;
24834 int arg3 ;
24835 void *argp1 = 0 ;
24836 int res1 = 0 ;
24837 int val2 ;
24838 int ecode2 = 0 ;
24839 int val3 ;
24840 int ecode3 = 0 ;
24841 PyObject * obj0 = 0 ;
24842 PyObject * obj1 = 0 ;
24843 PyObject * obj2 = 0 ;
24844 char * kwnames[] = {
24845 (char *) "self",(char *) "width",(char *) "height", NULL
24846 };
24847
24848 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24849 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
24850 if (!SWIG_IsOK(res1)) {
24851 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
24852 }
24853 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
24854 ecode2 = SWIG_AsVal_int(obj1, &val2);
24855 if (!SWIG_IsOK(ecode2)) {
24856 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
24857 }
24858 arg2 = static_cast< int >(val2);
24859 ecode3 = SWIG_AsVal_int(obj2, &val3);
24860 if (!SWIG_IsOK(ecode3)) {
24861 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
24862 }
24863 arg3 = static_cast< int >(val3);
24864 {
24865 PyThreadState* __tstate = wxPyBeginAllowThreads();
24866 (arg1)->DoSetClientSize(arg2,arg3);
24867 wxPyEndAllowThreads(__tstate);
24868 if (PyErr_Occurred()) SWIG_fail;
24869 }
24870 resultobj = SWIG_Py_Void();
24871 return resultobj;
24872 fail:
24873 return NULL;
24874 }
24875
24876
24877 SWIGINTERN PyObject *_wrap_PyPanel_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24878 PyObject *resultobj = 0;
24879 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
24880 int arg2 ;
24881 int arg3 ;
24882 void *argp1 = 0 ;
24883 int res1 = 0 ;
24884 int val2 ;
24885 int ecode2 = 0 ;
24886 int val3 ;
24887 int ecode3 = 0 ;
24888 PyObject * obj0 = 0 ;
24889 PyObject * obj1 = 0 ;
24890 PyObject * obj2 = 0 ;
24891 char * kwnames[] = {
24892 (char *) "self",(char *) "x",(char *) "y", NULL
24893 };
24894
24895 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24896 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
24897 if (!SWIG_IsOK(res1)) {
24898 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
24899 }
24900 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
24901 ecode2 = SWIG_AsVal_int(obj1, &val2);
24902 if (!SWIG_IsOK(ecode2)) {
24903 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
24904 }
24905 arg2 = static_cast< int >(val2);
24906 ecode3 = SWIG_AsVal_int(obj2, &val3);
24907 if (!SWIG_IsOK(ecode3)) {
24908 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
24909 }
24910 arg3 = static_cast< int >(val3);
24911 {
24912 PyThreadState* __tstate = wxPyBeginAllowThreads();
24913 (arg1)->DoSetVirtualSize(arg2,arg3);
24914 wxPyEndAllowThreads(__tstate);
24915 if (PyErr_Occurred()) SWIG_fail;
24916 }
24917 resultobj = SWIG_Py_Void();
24918 return resultobj;
24919 fail:
24920 return NULL;
24921 }
24922
24923
24924 SWIGINTERN PyObject *_wrap_PyPanel_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24925 PyObject *resultobj = 0;
24926 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
24927 int *arg2 = (int *) 0 ;
24928 int *arg3 = (int *) 0 ;
24929 void *argp1 = 0 ;
24930 int res1 = 0 ;
24931 int temp2 ;
24932 int res2 = SWIG_TMPOBJ ;
24933 int temp3 ;
24934 int res3 = SWIG_TMPOBJ ;
24935 PyObject *swig_obj[1] ;
24936
24937 arg2 = &temp2;
24938 arg3 = &temp3;
24939 if (!args) SWIG_fail;
24940 swig_obj[0] = args;
24941 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
24942 if (!SWIG_IsOK(res1)) {
24943 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
24944 }
24945 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
24946 {
24947 PyThreadState* __tstate = wxPyBeginAllowThreads();
24948 ((wxPyPanel const *)arg1)->DoGetSize(arg2,arg3);
24949 wxPyEndAllowThreads(__tstate);
24950 if (PyErr_Occurred()) SWIG_fail;
24951 }
24952 resultobj = SWIG_Py_Void();
24953 if (SWIG_IsTmpObj(res2)) {
24954 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
24955 } else {
24956 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
24957 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
24958 }
24959 if (SWIG_IsTmpObj(res3)) {
24960 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
24961 } else {
24962 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
24963 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
24964 }
24965 return resultobj;
24966 fail:
24967 return NULL;
24968 }
24969
24970
24971 SWIGINTERN PyObject *_wrap_PyPanel_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24972 PyObject *resultobj = 0;
24973 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
24974 int *arg2 = (int *) 0 ;
24975 int *arg3 = (int *) 0 ;
24976 void *argp1 = 0 ;
24977 int res1 = 0 ;
24978 int temp2 ;
24979 int res2 = SWIG_TMPOBJ ;
24980 int temp3 ;
24981 int res3 = SWIG_TMPOBJ ;
24982 PyObject *swig_obj[1] ;
24983
24984 arg2 = &temp2;
24985 arg3 = &temp3;
24986 if (!args) SWIG_fail;
24987 swig_obj[0] = args;
24988 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
24989 if (!SWIG_IsOK(res1)) {
24990 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
24991 }
24992 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
24993 {
24994 PyThreadState* __tstate = wxPyBeginAllowThreads();
24995 ((wxPyPanel const *)arg1)->DoGetClientSize(arg2,arg3);
24996 wxPyEndAllowThreads(__tstate);
24997 if (PyErr_Occurred()) SWIG_fail;
24998 }
24999 resultobj = SWIG_Py_Void();
25000 if (SWIG_IsTmpObj(res2)) {
25001 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
25002 } else {
25003 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
25004 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
25005 }
25006 if (SWIG_IsTmpObj(res3)) {
25007 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
25008 } else {
25009 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
25010 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
25011 }
25012 return resultobj;
25013 fail:
25014 return NULL;
25015 }
25016
25017
25018 SWIGINTERN PyObject *_wrap_PyPanel_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25019 PyObject *resultobj = 0;
25020 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
25021 int *arg2 = (int *) 0 ;
25022 int *arg3 = (int *) 0 ;
25023 void *argp1 = 0 ;
25024 int res1 = 0 ;
25025 int temp2 ;
25026 int res2 = SWIG_TMPOBJ ;
25027 int temp3 ;
25028 int res3 = SWIG_TMPOBJ ;
25029 PyObject *swig_obj[1] ;
25030
25031 arg2 = &temp2;
25032 arg3 = &temp3;
25033 if (!args) SWIG_fail;
25034 swig_obj[0] = args;
25035 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
25036 if (!SWIG_IsOK(res1)) {
25037 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
25038 }
25039 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
25040 {
25041 PyThreadState* __tstate = wxPyBeginAllowThreads();
25042 ((wxPyPanel const *)arg1)->DoGetPosition(arg2,arg3);
25043 wxPyEndAllowThreads(__tstate);
25044 if (PyErr_Occurred()) SWIG_fail;
25045 }
25046 resultobj = SWIG_Py_Void();
25047 if (SWIG_IsTmpObj(res2)) {
25048 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
25049 } else {
25050 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
25051 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
25052 }
25053 if (SWIG_IsTmpObj(res3)) {
25054 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
25055 } else {
25056 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
25057 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
25058 }
25059 return resultobj;
25060 fail:
25061 return NULL;
25062 }
25063
25064
25065 SWIGINTERN PyObject *_wrap_PyPanel_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25066 PyObject *resultobj = 0;
25067 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
25068 wxSize result;
25069 void *argp1 = 0 ;
25070 int res1 = 0 ;
25071 PyObject *swig_obj[1] ;
25072
25073 if (!args) SWIG_fail;
25074 swig_obj[0] = args;
25075 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
25076 if (!SWIG_IsOK(res1)) {
25077 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
25078 }
25079 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
25080 {
25081 PyThreadState* __tstate = wxPyBeginAllowThreads();
25082 result = ((wxPyPanel const *)arg1)->DoGetVirtualSize();
25083 wxPyEndAllowThreads(__tstate);
25084 if (PyErr_Occurred()) SWIG_fail;
25085 }
25086 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25087 return resultobj;
25088 fail:
25089 return NULL;
25090 }
25091
25092
25093 SWIGINTERN PyObject *_wrap_PyPanel_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25094 PyObject *resultobj = 0;
25095 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
25096 wxSize result;
25097 void *argp1 = 0 ;
25098 int res1 = 0 ;
25099 PyObject *swig_obj[1] ;
25100
25101 if (!args) SWIG_fail;
25102 swig_obj[0] = args;
25103 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
25104 if (!SWIG_IsOK(res1)) {
25105 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
25106 }
25107 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
25108 {
25109 PyThreadState* __tstate = wxPyBeginAllowThreads();
25110 result = ((wxPyPanel const *)arg1)->DoGetBestSize();
25111 wxPyEndAllowThreads(__tstate);
25112 if (PyErr_Occurred()) SWIG_fail;
25113 }
25114 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25115 return resultobj;
25116 fail:
25117 return NULL;
25118 }
25119
25120
25121 SWIGINTERN PyObject *_wrap_PyPanel_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25122 PyObject *resultobj = 0;
25123 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
25124 SwigValueWrapper<wxVisualAttributes > 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_wxPyPanel, 0 | 0 );
25132 if (!SWIG_IsOK(res1)) {
25133 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
25134 }
25135 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
25136 {
25137 PyThreadState* __tstate = wxPyBeginAllowThreads();
25138 result = (arg1)->GetDefaultAttributes();
25139 wxPyEndAllowThreads(__tstate);
25140 if (PyErr_Occurred()) SWIG_fail;
25141 }
25142 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
25143 return resultobj;
25144 fail:
25145 return NULL;
25146 }
25147
25148
25149 SWIGINTERN PyObject *_wrap_PyPanel_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25150 PyObject *resultobj = 0;
25151 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
25152 void *argp1 = 0 ;
25153 int res1 = 0 ;
25154 PyObject *swig_obj[1] ;
25155
25156 if (!args) SWIG_fail;
25157 swig_obj[0] = args;
25158 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
25159 if (!SWIG_IsOK(res1)) {
25160 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
25161 }
25162 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
25163 {
25164 PyThreadState* __tstate = wxPyBeginAllowThreads();
25165 (arg1)->OnInternalIdle();
25166 wxPyEndAllowThreads(__tstate);
25167 if (PyErr_Occurred()) SWIG_fail;
25168 }
25169 resultobj = SWIG_Py_Void();
25170 return resultobj;
25171 fail:
25172 return NULL;
25173 }
25174
25175
25176 SWIGINTERN PyObject *PyPanel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25177 PyObject *obj;
25178 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25179 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel, SWIG_NewClientData(obj));
25180 return SWIG_Py_Void();
25181 }
25182
25183 SWIGINTERN PyObject *PyPanel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25184 return SWIG_Python_InitShadowInstance(args);
25185 }
25186
25187 SWIGINTERN PyObject *_wrap_new_PyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25188 PyObject *resultobj = 0;
25189 wxWindow *arg1 = (wxWindow *) 0 ;
25190 int arg2 = (int) (int)-1 ;
25191 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25192 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25193 wxSize const &arg4_defvalue = wxDefaultSize ;
25194 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25195 long arg5 = (long) 0 ;
25196 wxString const &arg6_defvalue = wxPyPanelNameStr ;
25197 wxString *arg6 = (wxString *) &arg6_defvalue ;
25198 wxPyScrolledWindow *result = 0 ;
25199 void *argp1 = 0 ;
25200 int res1 = 0 ;
25201 int val2 ;
25202 int ecode2 = 0 ;
25203 wxPoint temp3 ;
25204 wxSize temp4 ;
25205 long val5 ;
25206 int ecode5 = 0 ;
25207 bool temp6 = false ;
25208 PyObject * obj0 = 0 ;
25209 PyObject * obj1 = 0 ;
25210 PyObject * obj2 = 0 ;
25211 PyObject * obj3 = 0 ;
25212 PyObject * obj4 = 0 ;
25213 PyObject * obj5 = 0 ;
25214 char * kwnames[] = {
25215 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25216 };
25217
25218 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
25219 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
25220 if (!SWIG_IsOK(res1)) {
25221 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
25222 }
25223 arg1 = reinterpret_cast< wxWindow * >(argp1);
25224 if (obj1) {
25225 ecode2 = SWIG_AsVal_int(obj1, &val2);
25226 if (!SWIG_IsOK(ecode2)) {
25227 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
25228 }
25229 arg2 = static_cast< int >(val2);
25230 }
25231 if (obj2) {
25232 {
25233 arg3 = &temp3;
25234 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25235 }
25236 }
25237 if (obj3) {
25238 {
25239 arg4 = &temp4;
25240 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
25241 }
25242 }
25243 if (obj4) {
25244 ecode5 = SWIG_AsVal_long(obj4, &val5);
25245 if (!SWIG_IsOK(ecode5)) {
25246 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
25247 }
25248 arg5 = static_cast< long >(val5);
25249 }
25250 if (obj5) {
25251 {
25252 arg6 = wxString_in_helper(obj5);
25253 if (arg6 == NULL) SWIG_fail;
25254 temp6 = true;
25255 }
25256 }
25257 {
25258 if (!wxPyCheckForApp()) SWIG_fail;
25259 PyThreadState* __tstate = wxPyBeginAllowThreads();
25260 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
25261 wxPyEndAllowThreads(__tstate);
25262 if (PyErr_Occurred()) SWIG_fail;
25263 }
25264 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_NEW | 0 );
25265 {
25266 if (temp6)
25267 delete arg6;
25268 }
25269 return resultobj;
25270 fail:
25271 {
25272 if (temp6)
25273 delete arg6;
25274 }
25275 return NULL;
25276 }
25277
25278
25279 SWIGINTERN PyObject *_wrap_new_PrePyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25280 PyObject *resultobj = 0;
25281 wxPyScrolledWindow *result = 0 ;
25282
25283 if (!SWIG_Python_UnpackTuple(args,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail;
25284 {
25285 if (!wxPyCheckForApp()) SWIG_fail;
25286 PyThreadState* __tstate = wxPyBeginAllowThreads();
25287 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
25288 wxPyEndAllowThreads(__tstate);
25289 if (PyErr_Occurred()) SWIG_fail;
25290 }
25291 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_OWN | 0 );
25292 return resultobj;
25293 fail:
25294 return NULL;
25295 }
25296
25297
25298 SWIGINTERN PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25299 PyObject *resultobj = 0;
25300 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
25301 PyObject *arg2 = (PyObject *) 0 ;
25302 PyObject *arg3 = (PyObject *) 0 ;
25303 void *argp1 = 0 ;
25304 int res1 = 0 ;
25305 PyObject * obj0 = 0 ;
25306 PyObject * obj1 = 0 ;
25307 PyObject * obj2 = 0 ;
25308 char * kwnames[] = {
25309 (char *) "self",(char *) "self",(char *) "_class", NULL
25310 };
25311
25312 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25313 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
25314 if (!SWIG_IsOK(res1)) {
25315 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25316 }
25317 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
25318 arg2 = obj1;
25319 arg3 = obj2;
25320 {
25321 PyThreadState* __tstate = wxPyBeginAllowThreads();
25322 (arg1)->_setCallbackInfo(arg2,arg3);
25323 wxPyEndAllowThreads(__tstate);
25324 if (PyErr_Occurred()) SWIG_fail;
25325 }
25326 resultobj = SWIG_Py_Void();
25327 return resultobj;
25328 fail:
25329 return NULL;
25330 }
25331
25332
25333 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25334 PyObject *resultobj = 0;
25335 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
25336 wxDC *arg2 = (wxDC *) 0 ;
25337 bool result;
25338 void *argp1 = 0 ;
25339 int res1 = 0 ;
25340 void *argp2 = 0 ;
25341 int res2 = 0 ;
25342 PyObject * obj0 = 0 ;
25343 PyObject * obj1 = 0 ;
25344 char * kwnames[] = {
25345 (char *) "self",(char *) "dc", NULL
25346 };
25347
25348 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
25349 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
25350 if (!SWIG_IsOK(res1)) {
25351 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25352 }
25353 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
25354 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
25355 if (!SWIG_IsOK(res2)) {
25356 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
25357 }
25358 arg2 = reinterpret_cast< wxDC * >(argp2);
25359 {
25360 PyThreadState* __tstate = wxPyBeginAllowThreads();
25361 result = (bool)(arg1)->DoEraseBackground(arg2);
25362 wxPyEndAllowThreads(__tstate);
25363 if (PyErr_Occurred()) SWIG_fail;
25364 }
25365 {
25366 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25367 }
25368 return resultobj;
25369 fail:
25370 return NULL;
25371 }
25372
25373
25374 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25375 PyObject *resultobj = 0;
25376 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
25377 int arg2 ;
25378 int arg3 ;
25379 int arg4 ;
25380 int arg5 ;
25381 void *argp1 = 0 ;
25382 int res1 = 0 ;
25383 int val2 ;
25384 int ecode2 = 0 ;
25385 int val3 ;
25386 int ecode3 = 0 ;
25387 int val4 ;
25388 int ecode4 = 0 ;
25389 int val5 ;
25390 int ecode5 = 0 ;
25391 PyObject * obj0 = 0 ;
25392 PyObject * obj1 = 0 ;
25393 PyObject * obj2 = 0 ;
25394 PyObject * obj3 = 0 ;
25395 PyObject * obj4 = 0 ;
25396 char * kwnames[] = {
25397 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
25398 };
25399
25400 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
25401 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
25402 if (!SWIG_IsOK(res1)) {
25403 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25404 }
25405 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
25406 ecode2 = SWIG_AsVal_int(obj1, &val2);
25407 if (!SWIG_IsOK(ecode2)) {
25408 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
25409 }
25410 arg2 = static_cast< int >(val2);
25411 ecode3 = SWIG_AsVal_int(obj2, &val3);
25412 if (!SWIG_IsOK(ecode3)) {
25413 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
25414 }
25415 arg3 = static_cast< int >(val3);
25416 ecode4 = SWIG_AsVal_int(obj3, &val4);
25417 if (!SWIG_IsOK(ecode4)) {
25418 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
25419 }
25420 arg4 = static_cast< int >(val4);
25421 ecode5 = SWIG_AsVal_int(obj4, &val5);
25422 if (!SWIG_IsOK(ecode5)) {
25423 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
25424 }
25425 arg5 = static_cast< int >(val5);
25426 {
25427 PyThreadState* __tstate = wxPyBeginAllowThreads();
25428 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
25429 wxPyEndAllowThreads(__tstate);
25430 if (PyErr_Occurred()) SWIG_fail;
25431 }
25432 resultobj = SWIG_Py_Void();
25433 return resultobj;
25434 fail:
25435 return NULL;
25436 }
25437
25438
25439 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25440 PyObject *resultobj = 0;
25441 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
25442 int arg2 ;
25443 int arg3 ;
25444 int arg4 ;
25445 int arg5 ;
25446 int arg6 = (int) wxSIZE_AUTO ;
25447 void *argp1 = 0 ;
25448 int res1 = 0 ;
25449 int val2 ;
25450 int ecode2 = 0 ;
25451 int val3 ;
25452 int ecode3 = 0 ;
25453 int val4 ;
25454 int ecode4 = 0 ;
25455 int val5 ;
25456 int ecode5 = 0 ;
25457 int val6 ;
25458 int ecode6 = 0 ;
25459 PyObject * obj0 = 0 ;
25460 PyObject * obj1 = 0 ;
25461 PyObject * obj2 = 0 ;
25462 PyObject * obj3 = 0 ;
25463 PyObject * obj4 = 0 ;
25464 PyObject * obj5 = 0 ;
25465 char * kwnames[] = {
25466 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
25467 };
25468
25469 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
25470 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
25471 if (!SWIG_IsOK(res1)) {
25472 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25473 }
25474 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
25475 ecode2 = SWIG_AsVal_int(obj1, &val2);
25476 if (!SWIG_IsOK(ecode2)) {
25477 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
25478 }
25479 arg2 = static_cast< int >(val2);
25480 ecode3 = SWIG_AsVal_int(obj2, &val3);
25481 if (!SWIG_IsOK(ecode3)) {
25482 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
25483 }
25484 arg3 = static_cast< int >(val3);
25485 ecode4 = SWIG_AsVal_int(obj3, &val4);
25486 if (!SWIG_IsOK(ecode4)) {
25487 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
25488 }
25489 arg4 = static_cast< int >(val4);
25490 ecode5 = SWIG_AsVal_int(obj4, &val5);
25491 if (!SWIG_IsOK(ecode5)) {
25492 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
25493 }
25494 arg5 = static_cast< int >(val5);
25495 if (obj5) {
25496 ecode6 = SWIG_AsVal_int(obj5, &val6);
25497 if (!SWIG_IsOK(ecode6)) {
25498 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
25499 }
25500 arg6 = static_cast< int >(val6);
25501 }
25502 {
25503 PyThreadState* __tstate = wxPyBeginAllowThreads();
25504 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
25505 wxPyEndAllowThreads(__tstate);
25506 if (PyErr_Occurred()) SWIG_fail;
25507 }
25508 resultobj = SWIG_Py_Void();
25509 return resultobj;
25510 fail:
25511 return NULL;
25512 }
25513
25514
25515 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25516 PyObject *resultobj = 0;
25517 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
25518 int arg2 ;
25519 int arg3 ;
25520 void *argp1 = 0 ;
25521 int res1 = 0 ;
25522 int val2 ;
25523 int ecode2 = 0 ;
25524 int val3 ;
25525 int ecode3 = 0 ;
25526 PyObject * obj0 = 0 ;
25527 PyObject * obj1 = 0 ;
25528 PyObject * obj2 = 0 ;
25529 char * kwnames[] = {
25530 (char *) "self",(char *) "width",(char *) "height", NULL
25531 };
25532
25533 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25534 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
25535 if (!SWIG_IsOK(res1)) {
25536 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25537 }
25538 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
25539 ecode2 = SWIG_AsVal_int(obj1, &val2);
25540 if (!SWIG_IsOK(ecode2)) {
25541 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
25542 }
25543 arg2 = static_cast< int >(val2);
25544 ecode3 = SWIG_AsVal_int(obj2, &val3);
25545 if (!SWIG_IsOK(ecode3)) {
25546 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
25547 }
25548 arg3 = static_cast< int >(val3);
25549 {
25550 PyThreadState* __tstate = wxPyBeginAllowThreads();
25551 (arg1)->DoSetClientSize(arg2,arg3);
25552 wxPyEndAllowThreads(__tstate);
25553 if (PyErr_Occurred()) SWIG_fail;
25554 }
25555 resultobj = SWIG_Py_Void();
25556 return resultobj;
25557 fail:
25558 return NULL;
25559 }
25560
25561
25562 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25563 PyObject *resultobj = 0;
25564 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
25565 int arg2 ;
25566 int arg3 ;
25567 void *argp1 = 0 ;
25568 int res1 = 0 ;
25569 int val2 ;
25570 int ecode2 = 0 ;
25571 int val3 ;
25572 int ecode3 = 0 ;
25573 PyObject * obj0 = 0 ;
25574 PyObject * obj1 = 0 ;
25575 PyObject * obj2 = 0 ;
25576 char * kwnames[] = {
25577 (char *) "self",(char *) "x",(char *) "y", NULL
25578 };
25579
25580 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25581 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
25582 if (!SWIG_IsOK(res1)) {
25583 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25584 }
25585 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
25586 ecode2 = SWIG_AsVal_int(obj1, &val2);
25587 if (!SWIG_IsOK(ecode2)) {
25588 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
25589 }
25590 arg2 = static_cast< int >(val2);
25591 ecode3 = SWIG_AsVal_int(obj2, &val3);
25592 if (!SWIG_IsOK(ecode3)) {
25593 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
25594 }
25595 arg3 = static_cast< int >(val3);
25596 {
25597 PyThreadState* __tstate = wxPyBeginAllowThreads();
25598 (arg1)->DoSetVirtualSize(arg2,arg3);
25599 wxPyEndAllowThreads(__tstate);
25600 if (PyErr_Occurred()) SWIG_fail;
25601 }
25602 resultobj = SWIG_Py_Void();
25603 return resultobj;
25604 fail:
25605 return NULL;
25606 }
25607
25608
25609 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25610 PyObject *resultobj = 0;
25611 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
25612 int *arg2 = (int *) 0 ;
25613 int *arg3 = (int *) 0 ;
25614 void *argp1 = 0 ;
25615 int res1 = 0 ;
25616 int temp2 ;
25617 int res2 = SWIG_TMPOBJ ;
25618 int temp3 ;
25619 int res3 = SWIG_TMPOBJ ;
25620 PyObject *swig_obj[1] ;
25621
25622 arg2 = &temp2;
25623 arg3 = &temp3;
25624 if (!args) SWIG_fail;
25625 swig_obj[0] = args;
25626 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
25627 if (!SWIG_IsOK(res1)) {
25628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
25629 }
25630 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
25631 {
25632 PyThreadState* __tstate = wxPyBeginAllowThreads();
25633 ((wxPyScrolledWindow const *)arg1)->DoGetSize(arg2,arg3);
25634 wxPyEndAllowThreads(__tstate);
25635 if (PyErr_Occurred()) SWIG_fail;
25636 }
25637 resultobj = SWIG_Py_Void();
25638 if (SWIG_IsTmpObj(res2)) {
25639 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
25640 } else {
25641 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
25642 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
25643 }
25644 if (SWIG_IsTmpObj(res3)) {
25645 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
25646 } else {
25647 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
25648 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
25649 }
25650 return resultobj;
25651 fail:
25652 return NULL;
25653 }
25654
25655
25656 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25657 PyObject *resultobj = 0;
25658 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
25659 int *arg2 = (int *) 0 ;
25660 int *arg3 = (int *) 0 ;
25661 void *argp1 = 0 ;
25662 int res1 = 0 ;
25663 int temp2 ;
25664 int res2 = SWIG_TMPOBJ ;
25665 int temp3 ;
25666 int res3 = SWIG_TMPOBJ ;
25667 PyObject *swig_obj[1] ;
25668
25669 arg2 = &temp2;
25670 arg3 = &temp3;
25671 if (!args) SWIG_fail;
25672 swig_obj[0] = args;
25673 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
25674 if (!SWIG_IsOK(res1)) {
25675 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
25676 }
25677 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
25678 {
25679 PyThreadState* __tstate = wxPyBeginAllowThreads();
25680 ((wxPyScrolledWindow const *)arg1)->DoGetClientSize(arg2,arg3);
25681 wxPyEndAllowThreads(__tstate);
25682 if (PyErr_Occurred()) SWIG_fail;
25683 }
25684 resultobj = SWIG_Py_Void();
25685 if (SWIG_IsTmpObj(res2)) {
25686 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
25687 } else {
25688 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
25689 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
25690 }
25691 if (SWIG_IsTmpObj(res3)) {
25692 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
25693 } else {
25694 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
25695 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
25696 }
25697 return resultobj;
25698 fail:
25699 return NULL;
25700 }
25701
25702
25703 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25704 PyObject *resultobj = 0;
25705 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
25706 int *arg2 = (int *) 0 ;
25707 int *arg3 = (int *) 0 ;
25708 void *argp1 = 0 ;
25709 int res1 = 0 ;
25710 int temp2 ;
25711 int res2 = SWIG_TMPOBJ ;
25712 int temp3 ;
25713 int res3 = SWIG_TMPOBJ ;
25714 PyObject *swig_obj[1] ;
25715
25716 arg2 = &temp2;
25717 arg3 = &temp3;
25718 if (!args) SWIG_fail;
25719 swig_obj[0] = args;
25720 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
25721 if (!SWIG_IsOK(res1)) {
25722 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
25723 }
25724 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
25725 {
25726 PyThreadState* __tstate = wxPyBeginAllowThreads();
25727 ((wxPyScrolledWindow const *)arg1)->DoGetPosition(arg2,arg3);
25728 wxPyEndAllowThreads(__tstate);
25729 if (PyErr_Occurred()) SWIG_fail;
25730 }
25731 resultobj = SWIG_Py_Void();
25732 if (SWIG_IsTmpObj(res2)) {
25733 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
25734 } else {
25735 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
25736 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
25737 }
25738 if (SWIG_IsTmpObj(res3)) {
25739 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
25740 } else {
25741 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
25742 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
25743 }
25744 return resultobj;
25745 fail:
25746 return NULL;
25747 }
25748
25749
25750 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25751 PyObject *resultobj = 0;
25752 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
25753 wxSize result;
25754 void *argp1 = 0 ;
25755 int res1 = 0 ;
25756 PyObject *swig_obj[1] ;
25757
25758 if (!args) SWIG_fail;
25759 swig_obj[0] = args;
25760 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
25761 if (!SWIG_IsOK(res1)) {
25762 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
25763 }
25764 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
25765 {
25766 PyThreadState* __tstate = wxPyBeginAllowThreads();
25767 result = ((wxPyScrolledWindow const *)arg1)->DoGetVirtualSize();
25768 wxPyEndAllowThreads(__tstate);
25769 if (PyErr_Occurred()) SWIG_fail;
25770 }
25771 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25772 return resultobj;
25773 fail:
25774 return NULL;
25775 }
25776
25777
25778 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25779 PyObject *resultobj = 0;
25780 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
25781 wxSize result;
25782 void *argp1 = 0 ;
25783 int res1 = 0 ;
25784 PyObject *swig_obj[1] ;
25785
25786 if (!args) SWIG_fail;
25787 swig_obj[0] = args;
25788 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
25789 if (!SWIG_IsOK(res1)) {
25790 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
25791 }
25792 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
25793 {
25794 PyThreadState* __tstate = wxPyBeginAllowThreads();
25795 result = ((wxPyScrolledWindow const *)arg1)->DoGetBestSize();
25796 wxPyEndAllowThreads(__tstate);
25797 if (PyErr_Occurred()) SWIG_fail;
25798 }
25799 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25800 return resultobj;
25801 fail:
25802 return NULL;
25803 }
25804
25805
25806 SWIGINTERN PyObject *_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25807 PyObject *resultobj = 0;
25808 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
25809 SwigValueWrapper<wxVisualAttributes > result;
25810 void *argp1 = 0 ;
25811 int res1 = 0 ;
25812 PyObject *swig_obj[1] ;
25813
25814 if (!args) SWIG_fail;
25815 swig_obj[0] = args;
25816 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
25817 if (!SWIG_IsOK(res1)) {
25818 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25819 }
25820 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
25821 {
25822 PyThreadState* __tstate = wxPyBeginAllowThreads();
25823 result = (arg1)->GetDefaultAttributes();
25824 wxPyEndAllowThreads(__tstate);
25825 if (PyErr_Occurred()) SWIG_fail;
25826 }
25827 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
25828 return resultobj;
25829 fail:
25830 return NULL;
25831 }
25832
25833
25834 SWIGINTERN PyObject *_wrap_PyScrolledWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25835 PyObject *resultobj = 0;
25836 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
25837 void *argp1 = 0 ;
25838 int res1 = 0 ;
25839 PyObject *swig_obj[1] ;
25840
25841 if (!args) SWIG_fail;
25842 swig_obj[0] = args;
25843 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
25844 if (!SWIG_IsOK(res1)) {
25845 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25846 }
25847 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
25848 {
25849 PyThreadState* __tstate = wxPyBeginAllowThreads();
25850 (arg1)->OnInternalIdle();
25851 wxPyEndAllowThreads(__tstate);
25852 if (PyErr_Occurred()) SWIG_fail;
25853 }
25854 resultobj = SWIG_Py_Void();
25855 return resultobj;
25856 fail:
25857 return NULL;
25858 }
25859
25860
25861 SWIGINTERN PyObject *PyScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25862 PyObject *obj;
25863 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25864 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow, SWIG_NewClientData(obj));
25865 return SWIG_Py_Void();
25866 }
25867
25868 SWIGINTERN PyObject *PyScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25869 return SWIG_Python_InitShadowInstance(args);
25870 }
25871
25872 SWIGINTERN int PrintoutTitleStr_set(PyObject *) {
25873 SWIG_Error(SWIG_AttributeError,"Variable PrintoutTitleStr is read-only.");
25874 return 1;
25875 }
25876
25877
25878 SWIGINTERN PyObject *PrintoutTitleStr_get(void) {
25879 PyObject *pyobj = 0;
25880
25881 {
25882 #if wxUSE_UNICODE
25883 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
25884 #else
25885 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
25886 #endif
25887 }
25888 return pyobj;
25889 }
25890
25891
25892 SWIGINTERN int PreviewCanvasNameStr_set(PyObject *) {
25893 SWIG_Error(SWIG_AttributeError,"Variable PreviewCanvasNameStr is read-only.");
25894 return 1;
25895 }
25896
25897
25898 SWIGINTERN PyObject *PreviewCanvasNameStr_get(void) {
25899 PyObject *pyobj = 0;
25900
25901 {
25902 #if wxUSE_UNICODE
25903 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
25904 #else
25905 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
25906 #endif
25907 }
25908 return pyobj;
25909 }
25910
25911
25912 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
25913 PyObject *resultobj = 0;
25914 wxPrintData *result = 0 ;
25915
25916 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
25917 {
25918 PyThreadState* __tstate = wxPyBeginAllowThreads();
25919 result = (wxPrintData *)new wxPrintData();
25920 wxPyEndAllowThreads(__tstate);
25921 if (PyErr_Occurred()) SWIG_fail;
25922 }
25923 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
25924 return resultobj;
25925 fail:
25926 return NULL;
25927 }
25928
25929
25930 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
25931 PyObject *resultobj = 0;
25932 wxPrintData *arg1 = 0 ;
25933 wxPrintData *result = 0 ;
25934 void *argp1 = 0 ;
25935 int res1 = 0 ;
25936
25937 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
25938 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
25939 if (!SWIG_IsOK(res1)) {
25940 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25941 }
25942 if (!argp1) {
25943 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25944 }
25945 arg1 = reinterpret_cast< wxPrintData * >(argp1);
25946 {
25947 PyThreadState* __tstate = wxPyBeginAllowThreads();
25948 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
25949 wxPyEndAllowThreads(__tstate);
25950 if (PyErr_Occurred()) SWIG_fail;
25951 }
25952 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
25953 return resultobj;
25954 fail:
25955 return NULL;
25956 }
25957
25958
25959 SWIGINTERN PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
25960 int argc;
25961 PyObject *argv[2];
25962
25963 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintData",0,1,argv))) SWIG_fail;
25964 --argc;
25965 if (argc == 0) {
25966 return _wrap_new_PrintData__SWIG_0(self, argc, argv);
25967 }
25968 if (argc == 1) {
25969 return _wrap_new_PrintData__SWIG_1(self, argc, argv);
25970 }
25971
25972 fail:
25973 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
25974 return NULL;
25975 }
25976
25977
25978 SWIGINTERN PyObject *_wrap_delete_PrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25979 PyObject *resultobj = 0;
25980 wxPrintData *arg1 = (wxPrintData *) 0 ;
25981 void *argp1 = 0 ;
25982 int res1 = 0 ;
25983 PyObject *swig_obj[1] ;
25984
25985 if (!args) SWIG_fail;
25986 swig_obj[0] = args;
25987 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, SWIG_POINTER_DISOWN | 0 );
25988 if (!SWIG_IsOK(res1)) {
25989 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
25990 }
25991 arg1 = reinterpret_cast< wxPrintData * >(argp1);
25992 {
25993 PyThreadState* __tstate = wxPyBeginAllowThreads();
25994 delete arg1;
25995
25996 wxPyEndAllowThreads(__tstate);
25997 if (PyErr_Occurred()) SWIG_fail;
25998 }
25999 resultobj = SWIG_Py_Void();
26000 return resultobj;
26001 fail:
26002 return NULL;
26003 }
26004
26005
26006 SWIGINTERN PyObject *_wrap_PrintData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26007 PyObject *resultobj = 0;
26008 wxPrintData *arg1 = (wxPrintData *) 0 ;
26009 int result;
26010 void *argp1 = 0 ;
26011 int res1 = 0 ;
26012 PyObject *swig_obj[1] ;
26013
26014 if (!args) SWIG_fail;
26015 swig_obj[0] = args;
26016 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26017 if (!SWIG_IsOK(res1)) {
26018 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
26019 }
26020 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26021 {
26022 PyThreadState* __tstate = wxPyBeginAllowThreads();
26023 result = (int)(arg1)->GetNoCopies();
26024 wxPyEndAllowThreads(__tstate);
26025 if (PyErr_Occurred()) SWIG_fail;
26026 }
26027 resultobj = SWIG_From_int(static_cast< int >(result));
26028 return resultobj;
26029 fail:
26030 return NULL;
26031 }
26032
26033
26034 SWIGINTERN PyObject *_wrap_PrintData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26035 PyObject *resultobj = 0;
26036 wxPrintData *arg1 = (wxPrintData *) 0 ;
26037 bool result;
26038 void *argp1 = 0 ;
26039 int res1 = 0 ;
26040 PyObject *swig_obj[1] ;
26041
26042 if (!args) SWIG_fail;
26043 swig_obj[0] = args;
26044 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26045 if (!SWIG_IsOK(res1)) {
26046 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
26047 }
26048 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26049 {
26050 PyThreadState* __tstate = wxPyBeginAllowThreads();
26051 result = (bool)(arg1)->GetCollate();
26052 wxPyEndAllowThreads(__tstate);
26053 if (PyErr_Occurred()) SWIG_fail;
26054 }
26055 {
26056 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26057 }
26058 return resultobj;
26059 fail:
26060 return NULL;
26061 }
26062
26063
26064 SWIGINTERN PyObject *_wrap_PrintData_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26065 PyObject *resultobj = 0;
26066 wxPrintData *arg1 = (wxPrintData *) 0 ;
26067 int result;
26068 void *argp1 = 0 ;
26069 int res1 = 0 ;
26070 PyObject *swig_obj[1] ;
26071
26072 if (!args) SWIG_fail;
26073 swig_obj[0] = args;
26074 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26075 if (!SWIG_IsOK(res1)) {
26076 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
26077 }
26078 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26079 {
26080 PyThreadState* __tstate = wxPyBeginAllowThreads();
26081 result = (int)(arg1)->GetOrientation();
26082 wxPyEndAllowThreads(__tstate);
26083 if (PyErr_Occurred()) SWIG_fail;
26084 }
26085 resultobj = SWIG_From_int(static_cast< int >(result));
26086 return resultobj;
26087 fail:
26088 return NULL;
26089 }
26090
26091
26092 SWIGINTERN PyObject *_wrap_PrintData_IsOrientationReversed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26093 PyObject *resultobj = 0;
26094 wxPrintData *arg1 = (wxPrintData *) 0 ;
26095 bool result;
26096 void *argp1 = 0 ;
26097 int res1 = 0 ;
26098 PyObject *swig_obj[1] ;
26099
26100 if (!args) SWIG_fail;
26101 swig_obj[0] = args;
26102 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26103 if (!SWIG_IsOK(res1)) {
26104 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_IsOrientationReversed" "', expected argument " "1"" of type '" "wxPrintData const *""'");
26105 }
26106 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26107 {
26108 PyThreadState* __tstate = wxPyBeginAllowThreads();
26109 result = (bool)((wxPrintData const *)arg1)->IsOrientationReversed();
26110 wxPyEndAllowThreads(__tstate);
26111 if (PyErr_Occurred()) SWIG_fail;
26112 }
26113 {
26114 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26115 }
26116 return resultobj;
26117 fail:
26118 return NULL;
26119 }
26120
26121
26122 SWIGINTERN PyObject *_wrap_PrintData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26123 PyObject *resultobj = 0;
26124 wxPrintData *arg1 = (wxPrintData *) 0 ;
26125 bool result;
26126 void *argp1 = 0 ;
26127 int res1 = 0 ;
26128 PyObject *swig_obj[1] ;
26129
26130 if (!args) SWIG_fail;
26131 swig_obj[0] = args;
26132 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26133 if (!SWIG_IsOK(res1)) {
26134 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_IsOk" "', expected argument " "1"" of type '" "wxPrintData *""'");
26135 }
26136 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26137 {
26138 PyThreadState* __tstate = wxPyBeginAllowThreads();
26139 result = (bool)(arg1)->IsOk();
26140 wxPyEndAllowThreads(__tstate);
26141 if (PyErr_Occurred()) SWIG_fail;
26142 }
26143 {
26144 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26145 }
26146 return resultobj;
26147 fail:
26148 return NULL;
26149 }
26150
26151
26152 SWIGINTERN PyObject *_wrap_PrintData_GetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26153 PyObject *resultobj = 0;
26154 wxPrintData *arg1 = (wxPrintData *) 0 ;
26155 wxString *result = 0 ;
26156 void *argp1 = 0 ;
26157 int res1 = 0 ;
26158 PyObject *swig_obj[1] ;
26159
26160 if (!args) SWIG_fail;
26161 swig_obj[0] = args;
26162 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26163 if (!SWIG_IsOK(res1)) {
26164 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
26165 }
26166 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26167 {
26168 PyThreadState* __tstate = wxPyBeginAllowThreads();
26169 {
26170 wxString const &_result_ref = (arg1)->GetPrinterName();
26171 result = (wxString *) &_result_ref;
26172 }
26173 wxPyEndAllowThreads(__tstate);
26174 if (PyErr_Occurred()) SWIG_fail;
26175 }
26176 {
26177 #if wxUSE_UNICODE
26178 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
26179 #else
26180 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
26181 #endif
26182 }
26183 return resultobj;
26184 fail:
26185 return NULL;
26186 }
26187
26188
26189 SWIGINTERN PyObject *_wrap_PrintData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26190 PyObject *resultobj = 0;
26191 wxPrintData *arg1 = (wxPrintData *) 0 ;
26192 bool result;
26193 void *argp1 = 0 ;
26194 int res1 = 0 ;
26195 PyObject *swig_obj[1] ;
26196
26197 if (!args) SWIG_fail;
26198 swig_obj[0] = args;
26199 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26200 if (!SWIG_IsOK(res1)) {
26201 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
26202 }
26203 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26204 {
26205 PyThreadState* __tstate = wxPyBeginAllowThreads();
26206 result = (bool)(arg1)->GetColour();
26207 wxPyEndAllowThreads(__tstate);
26208 if (PyErr_Occurred()) SWIG_fail;
26209 }
26210 {
26211 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26212 }
26213 return resultobj;
26214 fail:
26215 return NULL;
26216 }
26217
26218
26219 SWIGINTERN PyObject *_wrap_PrintData_GetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26220 PyObject *resultobj = 0;
26221 wxPrintData *arg1 = (wxPrintData *) 0 ;
26222 wxDuplexMode result;
26223 void *argp1 = 0 ;
26224 int res1 = 0 ;
26225 PyObject *swig_obj[1] ;
26226
26227 if (!args) SWIG_fail;
26228 swig_obj[0] = args;
26229 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26230 if (!SWIG_IsOK(res1)) {
26231 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
26232 }
26233 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26234 {
26235 PyThreadState* __tstate = wxPyBeginAllowThreads();
26236 result = (wxDuplexMode)(arg1)->GetDuplex();
26237 wxPyEndAllowThreads(__tstate);
26238 if (PyErr_Occurred()) SWIG_fail;
26239 }
26240 resultobj = SWIG_From_int(static_cast< int >(result));
26241 return resultobj;
26242 fail:
26243 return NULL;
26244 }
26245
26246
26247 SWIGINTERN PyObject *_wrap_PrintData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26248 PyObject *resultobj = 0;
26249 wxPrintData *arg1 = (wxPrintData *) 0 ;
26250 wxPaperSize result;
26251 void *argp1 = 0 ;
26252 int res1 = 0 ;
26253 PyObject *swig_obj[1] ;
26254
26255 if (!args) SWIG_fail;
26256 swig_obj[0] = args;
26257 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26258 if (!SWIG_IsOK(res1)) {
26259 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
26260 }
26261 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26262 {
26263 PyThreadState* __tstate = wxPyBeginAllowThreads();
26264 result = (wxPaperSize)(arg1)->GetPaperId();
26265 wxPyEndAllowThreads(__tstate);
26266 if (PyErr_Occurred()) SWIG_fail;
26267 }
26268 resultobj = SWIG_From_int(static_cast< int >(result));
26269 return resultobj;
26270 fail:
26271 return NULL;
26272 }
26273
26274
26275 SWIGINTERN PyObject *_wrap_PrintData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26276 PyObject *resultobj = 0;
26277 wxPrintData *arg1 = (wxPrintData *) 0 ;
26278 wxSize *result = 0 ;
26279 void *argp1 = 0 ;
26280 int res1 = 0 ;
26281 PyObject *swig_obj[1] ;
26282
26283 if (!args) SWIG_fail;
26284 swig_obj[0] = args;
26285 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26286 if (!SWIG_IsOK(res1)) {
26287 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
26288 }
26289 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26290 {
26291 PyThreadState* __tstate = wxPyBeginAllowThreads();
26292 {
26293 wxSize const &_result_ref = (arg1)->GetPaperSize();
26294 result = (wxSize *) &_result_ref;
26295 }
26296 wxPyEndAllowThreads(__tstate);
26297 if (PyErr_Occurred()) SWIG_fail;
26298 }
26299 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
26300 return resultobj;
26301 fail:
26302 return NULL;
26303 }
26304
26305
26306 SWIGINTERN PyObject *_wrap_PrintData_GetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26307 PyObject *resultobj = 0;
26308 wxPrintData *arg1 = (wxPrintData *) 0 ;
26309 int result;
26310 void *argp1 = 0 ;
26311 int res1 = 0 ;
26312 PyObject *swig_obj[1] ;
26313
26314 if (!args) SWIG_fail;
26315 swig_obj[0] = args;
26316 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26317 if (!SWIG_IsOK(res1)) {
26318 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
26319 }
26320 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26321 {
26322 PyThreadState* __tstate = wxPyBeginAllowThreads();
26323 result = (int)(arg1)->GetQuality();
26324 wxPyEndAllowThreads(__tstate);
26325 if (PyErr_Occurred()) SWIG_fail;
26326 }
26327 resultobj = SWIG_From_int(static_cast< int >(result));
26328 return resultobj;
26329 fail:
26330 return NULL;
26331 }
26332
26333
26334 SWIGINTERN PyObject *_wrap_PrintData_GetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26335 PyObject *resultobj = 0;
26336 wxPrintData *arg1 = (wxPrintData *) 0 ;
26337 wxPrintBin result;
26338 void *argp1 = 0 ;
26339 int res1 = 0 ;
26340 PyObject *swig_obj[1] ;
26341
26342 if (!args) SWIG_fail;
26343 swig_obj[0] = args;
26344 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26345 if (!SWIG_IsOK(res1)) {
26346 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
26347 }
26348 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26349 {
26350 PyThreadState* __tstate = wxPyBeginAllowThreads();
26351 result = (wxPrintBin)(arg1)->GetBin();
26352 wxPyEndAllowThreads(__tstate);
26353 if (PyErr_Occurred()) SWIG_fail;
26354 }
26355 resultobj = SWIG_From_int(static_cast< int >(result));
26356 return resultobj;
26357 fail:
26358 return NULL;
26359 }
26360
26361
26362 SWIGINTERN PyObject *_wrap_PrintData_GetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26363 PyObject *resultobj = 0;
26364 wxPrintData *arg1 = (wxPrintData *) 0 ;
26365 wxPrintMode result;
26366 void *argp1 = 0 ;
26367 int res1 = 0 ;
26368 PyObject *swig_obj[1] ;
26369
26370 if (!args) SWIG_fail;
26371 swig_obj[0] = args;
26372 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26373 if (!SWIG_IsOK(res1)) {
26374 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
26375 }
26376 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26377 {
26378 PyThreadState* __tstate = wxPyBeginAllowThreads();
26379 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
26380 wxPyEndAllowThreads(__tstate);
26381 if (PyErr_Occurred()) SWIG_fail;
26382 }
26383 resultobj = SWIG_From_int(static_cast< int >(result));
26384 return resultobj;
26385 fail:
26386 return NULL;
26387 }
26388
26389
26390 SWIGINTERN PyObject *_wrap_PrintData_GetMedia(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26391 PyObject *resultobj = 0;
26392 wxPrintData *arg1 = (wxPrintData *) 0 ;
26393 int result;
26394 void *argp1 = 0 ;
26395 int res1 = 0 ;
26396 PyObject *swig_obj[1] ;
26397
26398 if (!args) SWIG_fail;
26399 swig_obj[0] = args;
26400 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26401 if (!SWIG_IsOK(res1)) {
26402 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetMedia" "', expected argument " "1"" of type '" "wxPrintData const *""'");
26403 }
26404 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26405 {
26406 PyThreadState* __tstate = wxPyBeginAllowThreads();
26407 result = (int)((wxPrintData const *)arg1)->GetMedia();
26408 wxPyEndAllowThreads(__tstate);
26409 if (PyErr_Occurred()) SWIG_fail;
26410 }
26411 resultobj = SWIG_From_int(static_cast< int >(result));
26412 return resultobj;
26413 fail:
26414 return NULL;
26415 }
26416
26417
26418 SWIGINTERN PyObject *_wrap_PrintData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26419 PyObject *resultobj = 0;
26420 wxPrintData *arg1 = (wxPrintData *) 0 ;
26421 int arg2 ;
26422 void *argp1 = 0 ;
26423 int res1 = 0 ;
26424 int val2 ;
26425 int ecode2 = 0 ;
26426 PyObject * obj0 = 0 ;
26427 PyObject * obj1 = 0 ;
26428 char * kwnames[] = {
26429 (char *) "self",(char *) "v", NULL
26430 };
26431
26432 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
26433 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26434 if (!SWIG_IsOK(res1)) {
26435 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
26436 }
26437 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26438 ecode2 = SWIG_AsVal_int(obj1, &val2);
26439 if (!SWIG_IsOK(ecode2)) {
26440 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26441 }
26442 arg2 = static_cast< int >(val2);
26443 {
26444 PyThreadState* __tstate = wxPyBeginAllowThreads();
26445 (arg1)->SetNoCopies(arg2);
26446 wxPyEndAllowThreads(__tstate);
26447 if (PyErr_Occurred()) SWIG_fail;
26448 }
26449 resultobj = SWIG_Py_Void();
26450 return resultobj;
26451 fail:
26452 return NULL;
26453 }
26454
26455
26456 SWIGINTERN PyObject *_wrap_PrintData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26457 PyObject *resultobj = 0;
26458 wxPrintData *arg1 = (wxPrintData *) 0 ;
26459 bool arg2 ;
26460 void *argp1 = 0 ;
26461 int res1 = 0 ;
26462 bool val2 ;
26463 int ecode2 = 0 ;
26464 PyObject * obj0 = 0 ;
26465 PyObject * obj1 = 0 ;
26466 char * kwnames[] = {
26467 (char *) "self",(char *) "flag", NULL
26468 };
26469
26470 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
26471 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26472 if (!SWIG_IsOK(res1)) {
26473 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
26474 }
26475 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26476 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26477 if (!SWIG_IsOK(ecode2)) {
26478 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26479 }
26480 arg2 = static_cast< bool >(val2);
26481 {
26482 PyThreadState* __tstate = wxPyBeginAllowThreads();
26483 (arg1)->SetCollate(arg2);
26484 wxPyEndAllowThreads(__tstate);
26485 if (PyErr_Occurred()) SWIG_fail;
26486 }
26487 resultobj = SWIG_Py_Void();
26488 return resultobj;
26489 fail:
26490 return NULL;
26491 }
26492
26493
26494 SWIGINTERN PyObject *_wrap_PrintData_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26495 PyObject *resultobj = 0;
26496 wxPrintData *arg1 = (wxPrintData *) 0 ;
26497 int arg2 ;
26498 void *argp1 = 0 ;
26499 int res1 = 0 ;
26500 int val2 ;
26501 int ecode2 = 0 ;
26502 PyObject * obj0 = 0 ;
26503 PyObject * obj1 = 0 ;
26504 char * kwnames[] = {
26505 (char *) "self",(char *) "orient", NULL
26506 };
26507
26508 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
26509 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26510 if (!SWIG_IsOK(res1)) {
26511 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
26512 }
26513 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26514 ecode2 = SWIG_AsVal_int(obj1, &val2);
26515 if (!SWIG_IsOK(ecode2)) {
26516 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
26517 }
26518 arg2 = static_cast< int >(val2);
26519 {
26520 PyThreadState* __tstate = wxPyBeginAllowThreads();
26521 (arg1)->SetOrientation(arg2);
26522 wxPyEndAllowThreads(__tstate);
26523 if (PyErr_Occurred()) SWIG_fail;
26524 }
26525 resultobj = SWIG_Py_Void();
26526 return resultobj;
26527 fail:
26528 return NULL;
26529 }
26530
26531
26532 SWIGINTERN PyObject *_wrap_PrintData_SetOrientationReversed(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26533 PyObject *resultobj = 0;
26534 wxPrintData *arg1 = (wxPrintData *) 0 ;
26535 bool arg2 ;
26536 void *argp1 = 0 ;
26537 int res1 = 0 ;
26538 bool val2 ;
26539 int ecode2 = 0 ;
26540 PyObject * obj0 = 0 ;
26541 PyObject * obj1 = 0 ;
26542 char * kwnames[] = {
26543 (char *) "self",(char *) "reversed", NULL
26544 };
26545
26546 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientationReversed",kwnames,&obj0,&obj1)) SWIG_fail;
26547 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26548 if (!SWIG_IsOK(res1)) {
26549 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetOrientationReversed" "', expected argument " "1"" of type '" "wxPrintData *""'");
26550 }
26551 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26552 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26553 if (!SWIG_IsOK(ecode2)) {
26554 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetOrientationReversed" "', expected argument " "2"" of type '" "bool""'");
26555 }
26556 arg2 = static_cast< bool >(val2);
26557 {
26558 PyThreadState* __tstate = wxPyBeginAllowThreads();
26559 (arg1)->SetOrientationReversed(arg2);
26560 wxPyEndAllowThreads(__tstate);
26561 if (PyErr_Occurred()) SWIG_fail;
26562 }
26563 resultobj = SWIG_Py_Void();
26564 return resultobj;
26565 fail:
26566 return NULL;
26567 }
26568
26569
26570 SWIGINTERN PyObject *_wrap_PrintData_SetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26571 PyObject *resultobj = 0;
26572 wxPrintData *arg1 = (wxPrintData *) 0 ;
26573 wxString *arg2 = 0 ;
26574 void *argp1 = 0 ;
26575 int res1 = 0 ;
26576 bool temp2 = false ;
26577 PyObject * obj0 = 0 ;
26578 PyObject * obj1 = 0 ;
26579 char * kwnames[] = {
26580 (char *) "self",(char *) "name", NULL
26581 };
26582
26583 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) SWIG_fail;
26584 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26585 if (!SWIG_IsOK(res1)) {
26586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
26587 }
26588 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26589 {
26590 arg2 = wxString_in_helper(obj1);
26591 if (arg2 == NULL) SWIG_fail;
26592 temp2 = true;
26593 }
26594 {
26595 PyThreadState* __tstate = wxPyBeginAllowThreads();
26596 (arg1)->SetPrinterName((wxString const &)*arg2);
26597 wxPyEndAllowThreads(__tstate);
26598 if (PyErr_Occurred()) SWIG_fail;
26599 }
26600 resultobj = SWIG_Py_Void();
26601 {
26602 if (temp2)
26603 delete arg2;
26604 }
26605 return resultobj;
26606 fail:
26607 {
26608 if (temp2)
26609 delete arg2;
26610 }
26611 return NULL;
26612 }
26613
26614
26615 SWIGINTERN PyObject *_wrap_PrintData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26616 PyObject *resultobj = 0;
26617 wxPrintData *arg1 = (wxPrintData *) 0 ;
26618 bool arg2 ;
26619 void *argp1 = 0 ;
26620 int res1 = 0 ;
26621 bool val2 ;
26622 int ecode2 = 0 ;
26623 PyObject * obj0 = 0 ;
26624 PyObject * obj1 = 0 ;
26625 char * kwnames[] = {
26626 (char *) "self",(char *) "colour", NULL
26627 };
26628
26629 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
26630 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26631 if (!SWIG_IsOK(res1)) {
26632 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
26633 }
26634 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26635 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26636 if (!SWIG_IsOK(ecode2)) {
26637 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
26638 }
26639 arg2 = static_cast< bool >(val2);
26640 {
26641 PyThreadState* __tstate = wxPyBeginAllowThreads();
26642 (arg1)->SetColour(arg2);
26643 wxPyEndAllowThreads(__tstate);
26644 if (PyErr_Occurred()) SWIG_fail;
26645 }
26646 resultobj = SWIG_Py_Void();
26647 return resultobj;
26648 fail:
26649 return NULL;
26650 }
26651
26652
26653 SWIGINTERN PyObject *_wrap_PrintData_SetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26654 PyObject *resultobj = 0;
26655 wxPrintData *arg1 = (wxPrintData *) 0 ;
26656 wxDuplexMode arg2 ;
26657 void *argp1 = 0 ;
26658 int res1 = 0 ;
26659 int val2 ;
26660 int ecode2 = 0 ;
26661 PyObject * obj0 = 0 ;
26662 PyObject * obj1 = 0 ;
26663 char * kwnames[] = {
26664 (char *) "self",(char *) "duplex", NULL
26665 };
26666
26667 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) SWIG_fail;
26668 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26669 if (!SWIG_IsOK(res1)) {
26670 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
26671 }
26672 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26673 ecode2 = SWIG_AsVal_int(obj1, &val2);
26674 if (!SWIG_IsOK(ecode2)) {
26675 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
26676 }
26677 arg2 = static_cast< wxDuplexMode >(val2);
26678 {
26679 PyThreadState* __tstate = wxPyBeginAllowThreads();
26680 (arg1)->SetDuplex(arg2);
26681 wxPyEndAllowThreads(__tstate);
26682 if (PyErr_Occurred()) SWIG_fail;
26683 }
26684 resultobj = SWIG_Py_Void();
26685 return resultobj;
26686 fail:
26687 return NULL;
26688 }
26689
26690
26691 SWIGINTERN PyObject *_wrap_PrintData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26692 PyObject *resultobj = 0;
26693 wxPrintData *arg1 = (wxPrintData *) 0 ;
26694 wxPaperSize arg2 ;
26695 void *argp1 = 0 ;
26696 int res1 = 0 ;
26697 int val2 ;
26698 int ecode2 = 0 ;
26699 PyObject * obj0 = 0 ;
26700 PyObject * obj1 = 0 ;
26701 char * kwnames[] = {
26702 (char *) "self",(char *) "sizeId", NULL
26703 };
26704
26705 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
26706 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26707 if (!SWIG_IsOK(res1)) {
26708 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
26709 }
26710 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26711 ecode2 = SWIG_AsVal_int(obj1, &val2);
26712 if (!SWIG_IsOK(ecode2)) {
26713 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
26714 }
26715 arg2 = static_cast< wxPaperSize >(val2);
26716 {
26717 PyThreadState* __tstate = wxPyBeginAllowThreads();
26718 (arg1)->SetPaperId(arg2);
26719 wxPyEndAllowThreads(__tstate);
26720 if (PyErr_Occurred()) SWIG_fail;
26721 }
26722 resultobj = SWIG_Py_Void();
26723 return resultobj;
26724 fail:
26725 return NULL;
26726 }
26727
26728
26729 SWIGINTERN PyObject *_wrap_PrintData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26730 PyObject *resultobj = 0;
26731 wxPrintData *arg1 = (wxPrintData *) 0 ;
26732 wxSize *arg2 = 0 ;
26733 void *argp1 = 0 ;
26734 int res1 = 0 ;
26735 wxSize temp2 ;
26736 PyObject * obj0 = 0 ;
26737 PyObject * obj1 = 0 ;
26738 char * kwnames[] = {
26739 (char *) "self",(char *) "sz", NULL
26740 };
26741
26742 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
26743 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26744 if (!SWIG_IsOK(res1)) {
26745 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
26746 }
26747 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26748 {
26749 arg2 = &temp2;
26750 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
26751 }
26752 {
26753 PyThreadState* __tstate = wxPyBeginAllowThreads();
26754 (arg1)->SetPaperSize((wxSize const &)*arg2);
26755 wxPyEndAllowThreads(__tstate);
26756 if (PyErr_Occurred()) SWIG_fail;
26757 }
26758 resultobj = SWIG_Py_Void();
26759 return resultobj;
26760 fail:
26761 return NULL;
26762 }
26763
26764
26765 SWIGINTERN PyObject *_wrap_PrintData_SetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26766 PyObject *resultobj = 0;
26767 wxPrintData *arg1 = (wxPrintData *) 0 ;
26768 int arg2 ;
26769 void *argp1 = 0 ;
26770 int res1 = 0 ;
26771 int val2 ;
26772 int ecode2 = 0 ;
26773 PyObject * obj0 = 0 ;
26774 PyObject * obj1 = 0 ;
26775 char * kwnames[] = {
26776 (char *) "self",(char *) "quality", NULL
26777 };
26778
26779 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) SWIG_fail;
26780 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26781 if (!SWIG_IsOK(res1)) {
26782 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
26783 }
26784 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26785 ecode2 = SWIG_AsVal_int(obj1, &val2);
26786 if (!SWIG_IsOK(ecode2)) {
26787 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
26788 }
26789 arg2 = static_cast< int >(val2);
26790 {
26791 PyThreadState* __tstate = wxPyBeginAllowThreads();
26792 (arg1)->SetQuality(arg2);
26793 wxPyEndAllowThreads(__tstate);
26794 if (PyErr_Occurred()) SWIG_fail;
26795 }
26796 resultobj = SWIG_Py_Void();
26797 return resultobj;
26798 fail:
26799 return NULL;
26800 }
26801
26802
26803 SWIGINTERN PyObject *_wrap_PrintData_SetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26804 PyObject *resultobj = 0;
26805 wxPrintData *arg1 = (wxPrintData *) 0 ;
26806 wxPrintBin arg2 ;
26807 void *argp1 = 0 ;
26808 int res1 = 0 ;
26809 int val2 ;
26810 int ecode2 = 0 ;
26811 PyObject * obj0 = 0 ;
26812 PyObject * obj1 = 0 ;
26813 char * kwnames[] = {
26814 (char *) "self",(char *) "bin", NULL
26815 };
26816
26817 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) SWIG_fail;
26818 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26819 if (!SWIG_IsOK(res1)) {
26820 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
26821 }
26822 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26823 ecode2 = SWIG_AsVal_int(obj1, &val2);
26824 if (!SWIG_IsOK(ecode2)) {
26825 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
26826 }
26827 arg2 = static_cast< wxPrintBin >(val2);
26828 {
26829 PyThreadState* __tstate = wxPyBeginAllowThreads();
26830 (arg1)->SetBin(arg2);
26831 wxPyEndAllowThreads(__tstate);
26832 if (PyErr_Occurred()) SWIG_fail;
26833 }
26834 resultobj = SWIG_Py_Void();
26835 return resultobj;
26836 fail:
26837 return NULL;
26838 }
26839
26840
26841 SWIGINTERN PyObject *_wrap_PrintData_SetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26842 PyObject *resultobj = 0;
26843 wxPrintData *arg1 = (wxPrintData *) 0 ;
26844 wxPrintMode arg2 ;
26845 void *argp1 = 0 ;
26846 int res1 = 0 ;
26847 int val2 ;
26848 int ecode2 = 0 ;
26849 PyObject * obj0 = 0 ;
26850 PyObject * obj1 = 0 ;
26851 char * kwnames[] = {
26852 (char *) "self",(char *) "printMode", NULL
26853 };
26854
26855 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) SWIG_fail;
26856 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26857 if (!SWIG_IsOK(res1)) {
26858 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
26859 }
26860 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26861 ecode2 = SWIG_AsVal_int(obj1, &val2);
26862 if (!SWIG_IsOK(ecode2)) {
26863 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
26864 }
26865 arg2 = static_cast< wxPrintMode >(val2);
26866 {
26867 PyThreadState* __tstate = wxPyBeginAllowThreads();
26868 (arg1)->SetPrintMode(arg2);
26869 wxPyEndAllowThreads(__tstate);
26870 if (PyErr_Occurred()) SWIG_fail;
26871 }
26872 resultobj = SWIG_Py_Void();
26873 return resultobj;
26874 fail:
26875 return NULL;
26876 }
26877
26878
26879 SWIGINTERN PyObject *_wrap_PrintData_SetMedia(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26880 PyObject *resultobj = 0;
26881 wxPrintData *arg1 = (wxPrintData *) 0 ;
26882 int arg2 ;
26883 void *argp1 = 0 ;
26884 int res1 = 0 ;
26885 int val2 ;
26886 int ecode2 = 0 ;
26887 PyObject * obj0 = 0 ;
26888 PyObject * obj1 = 0 ;
26889 char * kwnames[] = {
26890 (char *) "self",(char *) "media", NULL
26891 };
26892
26893 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetMedia",kwnames,&obj0,&obj1)) SWIG_fail;
26894 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26895 if (!SWIG_IsOK(res1)) {
26896 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetMedia" "', expected argument " "1"" of type '" "wxPrintData *""'");
26897 }
26898 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26899 ecode2 = SWIG_AsVal_int(obj1, &val2);
26900 if (!SWIG_IsOK(ecode2)) {
26901 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetMedia" "', expected argument " "2"" of type '" "int""'");
26902 }
26903 arg2 = static_cast< int >(val2);
26904 {
26905 PyThreadState* __tstate = wxPyBeginAllowThreads();
26906 (arg1)->SetMedia(arg2);
26907 wxPyEndAllowThreads(__tstate);
26908 if (PyErr_Occurred()) SWIG_fail;
26909 }
26910 resultobj = SWIG_Py_Void();
26911 return resultobj;
26912 fail:
26913 return NULL;
26914 }
26915
26916
26917 SWIGINTERN PyObject *_wrap_PrintData_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26918 PyObject *resultobj = 0;
26919 wxPrintData *arg1 = (wxPrintData *) 0 ;
26920 wxString result;
26921 void *argp1 = 0 ;
26922 int res1 = 0 ;
26923 PyObject *swig_obj[1] ;
26924
26925 if (!args) SWIG_fail;
26926 swig_obj[0] = args;
26927 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26928 if (!SWIG_IsOK(res1)) {
26929 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
26930 }
26931 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26932 {
26933 PyThreadState* __tstate = wxPyBeginAllowThreads();
26934 result = ((wxPrintData const *)arg1)->GetFilename();
26935 wxPyEndAllowThreads(__tstate);
26936 if (PyErr_Occurred()) SWIG_fail;
26937 }
26938 {
26939 #if wxUSE_UNICODE
26940 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26941 #else
26942 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26943 #endif
26944 }
26945 return resultobj;
26946 fail:
26947 return NULL;
26948 }
26949
26950
26951 SWIGINTERN PyObject *_wrap_PrintData_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26952 PyObject *resultobj = 0;
26953 wxPrintData *arg1 = (wxPrintData *) 0 ;
26954 wxString *arg2 = 0 ;
26955 void *argp1 = 0 ;
26956 int res1 = 0 ;
26957 bool temp2 = false ;
26958 PyObject * obj0 = 0 ;
26959 PyObject * obj1 = 0 ;
26960 char * kwnames[] = {
26961 (char *) "self",(char *) "filename", NULL
26962 };
26963
26964 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
26965 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26966 if (!SWIG_IsOK(res1)) {
26967 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
26968 }
26969 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26970 {
26971 arg2 = wxString_in_helper(obj1);
26972 if (arg2 == NULL) SWIG_fail;
26973 temp2 = true;
26974 }
26975 {
26976 PyThreadState* __tstate = wxPyBeginAllowThreads();
26977 (arg1)->SetFilename((wxString const &)*arg2);
26978 wxPyEndAllowThreads(__tstate);
26979 if (PyErr_Occurred()) SWIG_fail;
26980 }
26981 resultobj = SWIG_Py_Void();
26982 {
26983 if (temp2)
26984 delete arg2;
26985 }
26986 return resultobj;
26987 fail:
26988 {
26989 if (temp2)
26990 delete arg2;
26991 }
26992 return NULL;
26993 }
26994
26995
26996 SWIGINTERN PyObject *_wrap_PrintData_GetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26997 PyObject *resultobj = 0;
26998 wxPrintData *arg1 = (wxPrintData *) 0 ;
26999 PyObject *result = 0 ;
27000 void *argp1 = 0 ;
27001 int res1 = 0 ;
27002 PyObject *swig_obj[1] ;
27003
27004 if (!args) SWIG_fail;
27005 swig_obj[0] = args;
27006 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
27007 if (!SWIG_IsOK(res1)) {
27008 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
27009 }
27010 arg1 = reinterpret_cast< wxPrintData * >(argp1);
27011 {
27012 PyThreadState* __tstate = wxPyBeginAllowThreads();
27013 result = (PyObject *)wxPrintData_GetPrivData(arg1);
27014 wxPyEndAllowThreads(__tstate);
27015 if (PyErr_Occurred()) SWIG_fail;
27016 }
27017 resultobj = result;
27018 return resultobj;
27019 fail:
27020 return NULL;
27021 }
27022
27023
27024 SWIGINTERN PyObject *_wrap_PrintData_SetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27025 PyObject *resultobj = 0;
27026 wxPrintData *arg1 = (wxPrintData *) 0 ;
27027 PyObject *arg2 = (PyObject *) 0 ;
27028 void *argp1 = 0 ;
27029 int res1 = 0 ;
27030 PyObject * obj0 = 0 ;
27031 PyObject * obj1 = 0 ;
27032 char * kwnames[] = {
27033 (char *) "self",(char *) "data", NULL
27034 };
27035
27036 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) SWIG_fail;
27037 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
27038 if (!SWIG_IsOK(res1)) {
27039 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
27040 }
27041 arg1 = reinterpret_cast< wxPrintData * >(argp1);
27042 arg2 = obj1;
27043 {
27044 PyThreadState* __tstate = wxPyBeginAllowThreads();
27045 wxPrintData_SetPrivData(arg1,arg2);
27046 wxPyEndAllowThreads(__tstate);
27047 if (PyErr_Occurred()) SWIG_fail;
27048 }
27049 resultobj = SWIG_Py_Void();
27050 return resultobj;
27051 fail:
27052 return NULL;
27053 }
27054
27055
27056 SWIGINTERN PyObject *PrintData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27057 PyObject *obj;
27058 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27059 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData, SWIG_NewClientData(obj));
27060 return SWIG_Py_Void();
27061 }
27062
27063 SWIGINTERN PyObject *PrintData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27064 return SWIG_Python_InitShadowInstance(args);
27065 }
27066
27067 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
27068 PyObject *resultobj = 0;
27069 wxPageSetupDialogData *result = 0 ;
27070
27071 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
27072 {
27073 PyThreadState* __tstate = wxPyBeginAllowThreads();
27074 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
27075 wxPyEndAllowThreads(__tstate);
27076 if (PyErr_Occurred()) SWIG_fail;
27077 }
27078 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
27079 return resultobj;
27080 fail:
27081 return NULL;
27082 }
27083
27084
27085 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
27086 PyObject *resultobj = 0;
27087 wxPageSetupDialogData *arg1 = 0 ;
27088 wxPageSetupDialogData *result = 0 ;
27089 void *argp1 = 0 ;
27090 int res1 = 0 ;
27091
27092 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
27093 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
27094 if (!SWIG_IsOK(res1)) {
27095 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
27096 }
27097 if (!argp1) {
27098 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
27099 }
27100 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27101 {
27102 PyThreadState* __tstate = wxPyBeginAllowThreads();
27103 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
27104 wxPyEndAllowThreads(__tstate);
27105 if (PyErr_Occurred()) SWIG_fail;
27106 }
27107 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
27108 return resultobj;
27109 fail:
27110 return NULL;
27111 }
27112
27113
27114 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
27115 PyObject *resultobj = 0;
27116 wxPrintData *arg1 = 0 ;
27117 wxPageSetupDialogData *result = 0 ;
27118 void *argp1 = 0 ;
27119 int res1 = 0 ;
27120
27121 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
27122 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
27123 if (!SWIG_IsOK(res1)) {
27124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
27125 }
27126 if (!argp1) {
27127 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
27128 }
27129 arg1 = reinterpret_cast< wxPrintData * >(argp1);
27130 {
27131 PyThreadState* __tstate = wxPyBeginAllowThreads();
27132 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
27133 wxPyEndAllowThreads(__tstate);
27134 if (PyErr_Occurred()) SWIG_fail;
27135 }
27136 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
27137 return resultobj;
27138 fail:
27139 return NULL;
27140 }
27141
27142
27143 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
27144 int argc;
27145 PyObject *argv[2];
27146
27147 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PageSetupDialogData",0,1,argv))) SWIG_fail;
27148 --argc;
27149 if (argc == 0) {
27150 return _wrap_new_PageSetupDialogData__SWIG_0(self, argc, argv);
27151 }
27152 if (argc == 1) {
27153 int _v = 0;
27154 {
27155 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPageSetupDialogData, 0);
27156 _v = SWIG_CheckState(res);
27157 }
27158 if (!_v) goto check_2;
27159 return _wrap_new_PageSetupDialogData__SWIG_1(self, argc, argv);
27160 }
27161 check_2:
27162
27163 if (argc == 1) {
27164 return _wrap_new_PageSetupDialogData__SWIG_2(self, argc, argv);
27165 }
27166
27167 fail:
27168 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
27169 return NULL;
27170 }
27171
27172
27173 SWIGINTERN PyObject *_wrap_delete_PageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27174 PyObject *resultobj = 0;
27175 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27176 void *argp1 = 0 ;
27177 int res1 = 0 ;
27178 PyObject *swig_obj[1] ;
27179
27180 if (!args) SWIG_fail;
27181 swig_obj[0] = args;
27182 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_DISOWN | 0 );
27183 if (!SWIG_IsOK(res1)) {
27184 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27185 }
27186 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27187 {
27188 PyThreadState* __tstate = wxPyBeginAllowThreads();
27189 delete arg1;
27190
27191 wxPyEndAllowThreads(__tstate);
27192 if (PyErr_Occurred()) SWIG_fail;
27193 }
27194 resultobj = SWIG_Py_Void();
27195 return resultobj;
27196 fail:
27197 return NULL;
27198 }
27199
27200
27201 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27202 PyObject *resultobj = 0;
27203 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27204 bool arg2 ;
27205 void *argp1 = 0 ;
27206 int res1 = 0 ;
27207 bool val2 ;
27208 int ecode2 = 0 ;
27209 PyObject * obj0 = 0 ;
27210 PyObject * obj1 = 0 ;
27211 char * kwnames[] = {
27212 (char *) "self",(char *) "flag", NULL
27213 };
27214
27215 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
27216 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27217 if (!SWIG_IsOK(res1)) {
27218 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27219 }
27220 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27221 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27222 if (!SWIG_IsOK(ecode2)) {
27223 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
27224 }
27225 arg2 = static_cast< bool >(val2);
27226 {
27227 PyThreadState* __tstate = wxPyBeginAllowThreads();
27228 (arg1)->EnableHelp(arg2);
27229 wxPyEndAllowThreads(__tstate);
27230 if (PyErr_Occurred()) SWIG_fail;
27231 }
27232 resultobj = SWIG_Py_Void();
27233 return resultobj;
27234 fail:
27235 return NULL;
27236 }
27237
27238
27239 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27240 PyObject *resultobj = 0;
27241 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27242 bool arg2 ;
27243 void *argp1 = 0 ;
27244 int res1 = 0 ;
27245 bool val2 ;
27246 int ecode2 = 0 ;
27247 PyObject * obj0 = 0 ;
27248 PyObject * obj1 = 0 ;
27249 char * kwnames[] = {
27250 (char *) "self",(char *) "flag", NULL
27251 };
27252
27253 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) SWIG_fail;
27254 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27255 if (!SWIG_IsOK(res1)) {
27256 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27257 }
27258 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27259 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27260 if (!SWIG_IsOK(ecode2)) {
27261 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
27262 }
27263 arg2 = static_cast< bool >(val2);
27264 {
27265 PyThreadState* __tstate = wxPyBeginAllowThreads();
27266 (arg1)->EnableMargins(arg2);
27267 wxPyEndAllowThreads(__tstate);
27268 if (PyErr_Occurred()) SWIG_fail;
27269 }
27270 resultobj = SWIG_Py_Void();
27271 return resultobj;
27272 fail:
27273 return NULL;
27274 }
27275
27276
27277 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27278 PyObject *resultobj = 0;
27279 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27280 bool arg2 ;
27281 void *argp1 = 0 ;
27282 int res1 = 0 ;
27283 bool val2 ;
27284 int ecode2 = 0 ;
27285 PyObject * obj0 = 0 ;
27286 PyObject * obj1 = 0 ;
27287 char * kwnames[] = {
27288 (char *) "self",(char *) "flag", NULL
27289 };
27290
27291 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
27292 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27293 if (!SWIG_IsOK(res1)) {
27294 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27295 }
27296 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27297 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27298 if (!SWIG_IsOK(ecode2)) {
27299 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
27300 }
27301 arg2 = static_cast< bool >(val2);
27302 {
27303 PyThreadState* __tstate = wxPyBeginAllowThreads();
27304 (arg1)->EnableOrientation(arg2);
27305 wxPyEndAllowThreads(__tstate);
27306 if (PyErr_Occurred()) SWIG_fail;
27307 }
27308 resultobj = SWIG_Py_Void();
27309 return resultobj;
27310 fail:
27311 return NULL;
27312 }
27313
27314
27315 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27316 PyObject *resultobj = 0;
27317 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27318 bool arg2 ;
27319 void *argp1 = 0 ;
27320 int res1 = 0 ;
27321 bool val2 ;
27322 int ecode2 = 0 ;
27323 PyObject * obj0 = 0 ;
27324 PyObject * obj1 = 0 ;
27325 char * kwnames[] = {
27326 (char *) "self",(char *) "flag", NULL
27327 };
27328
27329 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) SWIG_fail;
27330 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27331 if (!SWIG_IsOK(res1)) {
27332 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27333 }
27334 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27335 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27336 if (!SWIG_IsOK(ecode2)) {
27337 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
27338 }
27339 arg2 = static_cast< bool >(val2);
27340 {
27341 PyThreadState* __tstate = wxPyBeginAllowThreads();
27342 (arg1)->EnablePaper(arg2);
27343 wxPyEndAllowThreads(__tstate);
27344 if (PyErr_Occurred()) SWIG_fail;
27345 }
27346 resultobj = SWIG_Py_Void();
27347 return resultobj;
27348 fail:
27349 return NULL;
27350 }
27351
27352
27353 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27354 PyObject *resultobj = 0;
27355 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27356 bool arg2 ;
27357 void *argp1 = 0 ;
27358 int res1 = 0 ;
27359 bool val2 ;
27360 int ecode2 = 0 ;
27361 PyObject * obj0 = 0 ;
27362 PyObject * obj1 = 0 ;
27363 char * kwnames[] = {
27364 (char *) "self",(char *) "flag", NULL
27365 };
27366
27367 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) SWIG_fail;
27368 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27369 if (!SWIG_IsOK(res1)) {
27370 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27371 }
27372 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27373 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27374 if (!SWIG_IsOK(ecode2)) {
27375 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
27376 }
27377 arg2 = static_cast< bool >(val2);
27378 {
27379 PyThreadState* __tstate = wxPyBeginAllowThreads();
27380 (arg1)->EnablePrinter(arg2);
27381 wxPyEndAllowThreads(__tstate);
27382 if (PyErr_Occurred()) SWIG_fail;
27383 }
27384 resultobj = SWIG_Py_Void();
27385 return resultobj;
27386 fail:
27387 return NULL;
27388 }
27389
27390
27391 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27392 PyObject *resultobj = 0;
27393 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27394 bool result;
27395 void *argp1 = 0 ;
27396 int res1 = 0 ;
27397 PyObject *swig_obj[1] ;
27398
27399 if (!args) SWIG_fail;
27400 swig_obj[0] = args;
27401 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27402 if (!SWIG_IsOK(res1)) {
27403 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27404 }
27405 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27406 {
27407 PyThreadState* __tstate = wxPyBeginAllowThreads();
27408 result = (bool)(arg1)->GetDefaultMinMargins();
27409 wxPyEndAllowThreads(__tstate);
27410 if (PyErr_Occurred()) SWIG_fail;
27411 }
27412 {
27413 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27414 }
27415 return resultobj;
27416 fail:
27417 return NULL;
27418 }
27419
27420
27421 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27422 PyObject *resultobj = 0;
27423 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27424 bool result;
27425 void *argp1 = 0 ;
27426 int res1 = 0 ;
27427 PyObject *swig_obj[1] ;
27428
27429 if (!args) SWIG_fail;
27430 swig_obj[0] = args;
27431 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27432 if (!SWIG_IsOK(res1)) {
27433 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27434 }
27435 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27436 {
27437 PyThreadState* __tstate = wxPyBeginAllowThreads();
27438 result = (bool)(arg1)->GetEnableMargins();
27439 wxPyEndAllowThreads(__tstate);
27440 if (PyErr_Occurred()) SWIG_fail;
27441 }
27442 {
27443 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27444 }
27445 return resultobj;
27446 fail:
27447 return NULL;
27448 }
27449
27450
27451 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27452 PyObject *resultobj = 0;
27453 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27454 bool result;
27455 void *argp1 = 0 ;
27456 int res1 = 0 ;
27457 PyObject *swig_obj[1] ;
27458
27459 if (!args) SWIG_fail;
27460 swig_obj[0] = args;
27461 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27462 if (!SWIG_IsOK(res1)) {
27463 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27464 }
27465 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27466 {
27467 PyThreadState* __tstate = wxPyBeginAllowThreads();
27468 result = (bool)(arg1)->GetEnableOrientation();
27469 wxPyEndAllowThreads(__tstate);
27470 if (PyErr_Occurred()) SWIG_fail;
27471 }
27472 {
27473 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27474 }
27475 return resultobj;
27476 fail:
27477 return NULL;
27478 }
27479
27480
27481 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27482 PyObject *resultobj = 0;
27483 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27484 bool result;
27485 void *argp1 = 0 ;
27486 int res1 = 0 ;
27487 PyObject *swig_obj[1] ;
27488
27489 if (!args) SWIG_fail;
27490 swig_obj[0] = args;
27491 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27492 if (!SWIG_IsOK(res1)) {
27493 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27494 }
27495 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27496 {
27497 PyThreadState* __tstate = wxPyBeginAllowThreads();
27498 result = (bool)(arg1)->GetEnablePaper();
27499 wxPyEndAllowThreads(__tstate);
27500 if (PyErr_Occurred()) SWIG_fail;
27501 }
27502 {
27503 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27504 }
27505 return resultobj;
27506 fail:
27507 return NULL;
27508 }
27509
27510
27511 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27512 PyObject *resultobj = 0;
27513 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27514 bool result;
27515 void *argp1 = 0 ;
27516 int res1 = 0 ;
27517 PyObject *swig_obj[1] ;
27518
27519 if (!args) SWIG_fail;
27520 swig_obj[0] = args;
27521 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27522 if (!SWIG_IsOK(res1)) {
27523 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27524 }
27525 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27526 {
27527 PyThreadState* __tstate = wxPyBeginAllowThreads();
27528 result = (bool)(arg1)->GetEnablePrinter();
27529 wxPyEndAllowThreads(__tstate);
27530 if (PyErr_Occurred()) SWIG_fail;
27531 }
27532 {
27533 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27534 }
27535 return resultobj;
27536 fail:
27537 return NULL;
27538 }
27539
27540
27541 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27542 PyObject *resultobj = 0;
27543 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27544 bool result;
27545 void *argp1 = 0 ;
27546 int res1 = 0 ;
27547 PyObject *swig_obj[1] ;
27548
27549 if (!args) SWIG_fail;
27550 swig_obj[0] = args;
27551 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27552 if (!SWIG_IsOK(res1)) {
27553 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27554 }
27555 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27556 {
27557 PyThreadState* __tstate = wxPyBeginAllowThreads();
27558 result = (bool)(arg1)->GetEnableHelp();
27559 wxPyEndAllowThreads(__tstate);
27560 if (PyErr_Occurred()) SWIG_fail;
27561 }
27562 {
27563 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27564 }
27565 return resultobj;
27566 fail:
27567 return NULL;
27568 }
27569
27570
27571 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27572 PyObject *resultobj = 0;
27573 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27574 bool result;
27575 void *argp1 = 0 ;
27576 int res1 = 0 ;
27577 PyObject *swig_obj[1] ;
27578
27579 if (!args) SWIG_fail;
27580 swig_obj[0] = args;
27581 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27582 if (!SWIG_IsOK(res1)) {
27583 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27584 }
27585 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27586 {
27587 PyThreadState* __tstate = wxPyBeginAllowThreads();
27588 result = (bool)(arg1)->GetDefaultInfo();
27589 wxPyEndAllowThreads(__tstate);
27590 if (PyErr_Occurred()) SWIG_fail;
27591 }
27592 {
27593 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27594 }
27595 return resultobj;
27596 fail:
27597 return NULL;
27598 }
27599
27600
27601 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27602 PyObject *resultobj = 0;
27603 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27604 wxPoint result;
27605 void *argp1 = 0 ;
27606 int res1 = 0 ;
27607 PyObject *swig_obj[1] ;
27608
27609 if (!args) SWIG_fail;
27610 swig_obj[0] = args;
27611 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27612 if (!SWIG_IsOK(res1)) {
27613 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27614 }
27615 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27616 {
27617 PyThreadState* __tstate = wxPyBeginAllowThreads();
27618 result = (arg1)->GetMarginTopLeft();
27619 wxPyEndAllowThreads(__tstate);
27620 if (PyErr_Occurred()) SWIG_fail;
27621 }
27622 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
27623 return resultobj;
27624 fail:
27625 return NULL;
27626 }
27627
27628
27629 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27630 PyObject *resultobj = 0;
27631 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27632 wxPoint result;
27633 void *argp1 = 0 ;
27634 int res1 = 0 ;
27635 PyObject *swig_obj[1] ;
27636
27637 if (!args) SWIG_fail;
27638 swig_obj[0] = args;
27639 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27640 if (!SWIG_IsOK(res1)) {
27641 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27642 }
27643 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27644 {
27645 PyThreadState* __tstate = wxPyBeginAllowThreads();
27646 result = (arg1)->GetMarginBottomRight();
27647 wxPyEndAllowThreads(__tstate);
27648 if (PyErr_Occurred()) SWIG_fail;
27649 }
27650 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
27651 return resultobj;
27652 fail:
27653 return NULL;
27654 }
27655
27656
27657 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27658 PyObject *resultobj = 0;
27659 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27660 wxPoint result;
27661 void *argp1 = 0 ;
27662 int res1 = 0 ;
27663 PyObject *swig_obj[1] ;
27664
27665 if (!args) SWIG_fail;
27666 swig_obj[0] = args;
27667 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27668 if (!SWIG_IsOK(res1)) {
27669 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27670 }
27671 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27672 {
27673 PyThreadState* __tstate = wxPyBeginAllowThreads();
27674 result = (arg1)->GetMinMarginTopLeft();
27675 wxPyEndAllowThreads(__tstate);
27676 if (PyErr_Occurred()) SWIG_fail;
27677 }
27678 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
27679 return resultobj;
27680 fail:
27681 return NULL;
27682 }
27683
27684
27685 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27686 PyObject *resultobj = 0;
27687 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27688 wxPoint result;
27689 void *argp1 = 0 ;
27690 int res1 = 0 ;
27691 PyObject *swig_obj[1] ;
27692
27693 if (!args) SWIG_fail;
27694 swig_obj[0] = args;
27695 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27696 if (!SWIG_IsOK(res1)) {
27697 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27698 }
27699 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27700 {
27701 PyThreadState* __tstate = wxPyBeginAllowThreads();
27702 result = (arg1)->GetMinMarginBottomRight();
27703 wxPyEndAllowThreads(__tstate);
27704 if (PyErr_Occurred()) SWIG_fail;
27705 }
27706 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
27707 return resultobj;
27708 fail:
27709 return NULL;
27710 }
27711
27712
27713 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27714 PyObject *resultobj = 0;
27715 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27716 wxPaperSize result;
27717 void *argp1 = 0 ;
27718 int res1 = 0 ;
27719 PyObject *swig_obj[1] ;
27720
27721 if (!args) SWIG_fail;
27722 swig_obj[0] = args;
27723 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27724 if (!SWIG_IsOK(res1)) {
27725 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27726 }
27727 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27728 {
27729 PyThreadState* __tstate = wxPyBeginAllowThreads();
27730 result = (wxPaperSize)(arg1)->GetPaperId();
27731 wxPyEndAllowThreads(__tstate);
27732 if (PyErr_Occurred()) SWIG_fail;
27733 }
27734 resultobj = SWIG_From_int(static_cast< int >(result));
27735 return resultobj;
27736 fail:
27737 return NULL;
27738 }
27739
27740
27741 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27742 PyObject *resultobj = 0;
27743 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27744 wxSize 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_wxPageSetupDialogData, 0 | 0 );
27752 if (!SWIG_IsOK(res1)) {
27753 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27754 }
27755 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27756 {
27757 PyThreadState* __tstate = wxPyBeginAllowThreads();
27758 result = (arg1)->GetPaperSize();
27759 wxPyEndAllowThreads(__tstate);
27760 if (PyErr_Occurred()) SWIG_fail;
27761 }
27762 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
27763 return resultobj;
27764 fail:
27765 return NULL;
27766 }
27767
27768
27769 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27770 PyObject *resultobj = 0;
27771 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27772 wxPrintData *result = 0 ;
27773 void *argp1 = 0 ;
27774 int res1 = 0 ;
27775 PyObject *swig_obj[1] ;
27776
27777 if (!args) SWIG_fail;
27778 swig_obj[0] = args;
27779 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27780 if (!SWIG_IsOK(res1)) {
27781 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27782 }
27783 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27784 {
27785 PyThreadState* __tstate = wxPyBeginAllowThreads();
27786 {
27787 wxPrintData &_result_ref = (arg1)->GetPrintData();
27788 result = (wxPrintData *) &_result_ref;
27789 }
27790 wxPyEndAllowThreads(__tstate);
27791 if (PyErr_Occurred()) SWIG_fail;
27792 }
27793 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
27794 return resultobj;
27795 fail:
27796 return NULL;
27797 }
27798
27799
27800 SWIGINTERN PyObject *_wrap_PageSetupDialogData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27801 PyObject *resultobj = 0;
27802 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27803 bool result;
27804 void *argp1 = 0 ;
27805 int res1 = 0 ;
27806 PyObject *swig_obj[1] ;
27807
27808 if (!args) SWIG_fail;
27809 swig_obj[0] = args;
27810 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27811 if (!SWIG_IsOK(res1)) {
27812 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_IsOk" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27813 }
27814 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27815 {
27816 PyThreadState* __tstate = wxPyBeginAllowThreads();
27817 result = (bool)(arg1)->IsOk();
27818 wxPyEndAllowThreads(__tstate);
27819 if (PyErr_Occurred()) SWIG_fail;
27820 }
27821 {
27822 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27823 }
27824 return resultobj;
27825 fail:
27826 return NULL;
27827 }
27828
27829
27830 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27831 PyObject *resultobj = 0;
27832 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27833 bool arg2 ;
27834 void *argp1 = 0 ;
27835 int res1 = 0 ;
27836 bool val2 ;
27837 int ecode2 = 0 ;
27838 PyObject * obj0 = 0 ;
27839 PyObject * obj1 = 0 ;
27840 char * kwnames[] = {
27841 (char *) "self",(char *) "flag", NULL
27842 };
27843
27844 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) SWIG_fail;
27845 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27846 if (!SWIG_IsOK(res1)) {
27847 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27848 }
27849 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27850 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27851 if (!SWIG_IsOK(ecode2)) {
27852 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
27853 }
27854 arg2 = static_cast< bool >(val2);
27855 {
27856 PyThreadState* __tstate = wxPyBeginAllowThreads();
27857 (arg1)->SetDefaultInfo(arg2);
27858 wxPyEndAllowThreads(__tstate);
27859 if (PyErr_Occurred()) SWIG_fail;
27860 }
27861 resultobj = SWIG_Py_Void();
27862 return resultobj;
27863 fail:
27864 return NULL;
27865 }
27866
27867
27868 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27869 PyObject *resultobj = 0;
27870 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27871 bool arg2 ;
27872 void *argp1 = 0 ;
27873 int res1 = 0 ;
27874 bool val2 ;
27875 int ecode2 = 0 ;
27876 PyObject * obj0 = 0 ;
27877 PyObject * obj1 = 0 ;
27878 char * kwnames[] = {
27879 (char *) "self",(char *) "flag", NULL
27880 };
27881
27882 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) SWIG_fail;
27883 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27884 if (!SWIG_IsOK(res1)) {
27885 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27886 }
27887 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27888 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27889 if (!SWIG_IsOK(ecode2)) {
27890 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
27891 }
27892 arg2 = static_cast< bool >(val2);
27893 {
27894 PyThreadState* __tstate = wxPyBeginAllowThreads();
27895 (arg1)->SetDefaultMinMargins(arg2);
27896 wxPyEndAllowThreads(__tstate);
27897 if (PyErr_Occurred()) SWIG_fail;
27898 }
27899 resultobj = SWIG_Py_Void();
27900 return resultobj;
27901 fail:
27902 return NULL;
27903 }
27904
27905
27906 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27907 PyObject *resultobj = 0;
27908 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27909 wxPoint *arg2 = 0 ;
27910 void *argp1 = 0 ;
27911 int res1 = 0 ;
27912 wxPoint temp2 ;
27913 PyObject * obj0 = 0 ;
27914 PyObject * obj1 = 0 ;
27915 char * kwnames[] = {
27916 (char *) "self",(char *) "pt", NULL
27917 };
27918
27919 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
27920 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27921 if (!SWIG_IsOK(res1)) {
27922 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27923 }
27924 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27925 {
27926 arg2 = &temp2;
27927 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
27928 }
27929 {
27930 PyThreadState* __tstate = wxPyBeginAllowThreads();
27931 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
27932 wxPyEndAllowThreads(__tstate);
27933 if (PyErr_Occurred()) SWIG_fail;
27934 }
27935 resultobj = SWIG_Py_Void();
27936 return resultobj;
27937 fail:
27938 return NULL;
27939 }
27940
27941
27942 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27943 PyObject *resultobj = 0;
27944 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27945 wxPoint *arg2 = 0 ;
27946 void *argp1 = 0 ;
27947 int res1 = 0 ;
27948 wxPoint temp2 ;
27949 PyObject * obj0 = 0 ;
27950 PyObject * obj1 = 0 ;
27951 char * kwnames[] = {
27952 (char *) "self",(char *) "pt", NULL
27953 };
27954
27955 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
27956 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27957 if (!SWIG_IsOK(res1)) {
27958 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27959 }
27960 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27961 {
27962 arg2 = &temp2;
27963 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
27964 }
27965 {
27966 PyThreadState* __tstate = wxPyBeginAllowThreads();
27967 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
27968 wxPyEndAllowThreads(__tstate);
27969 if (PyErr_Occurred()) SWIG_fail;
27970 }
27971 resultobj = SWIG_Py_Void();
27972 return resultobj;
27973 fail:
27974 return NULL;
27975 }
27976
27977
27978 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27979 PyObject *resultobj = 0;
27980 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27981 wxPoint *arg2 = 0 ;
27982 void *argp1 = 0 ;
27983 int res1 = 0 ;
27984 wxPoint temp2 ;
27985 PyObject * obj0 = 0 ;
27986 PyObject * obj1 = 0 ;
27987 char * kwnames[] = {
27988 (char *) "self",(char *) "pt", NULL
27989 };
27990
27991 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
27992 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27993 if (!SWIG_IsOK(res1)) {
27994 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27995 }
27996 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27997 {
27998 arg2 = &temp2;
27999 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
28000 }
28001 {
28002 PyThreadState* __tstate = wxPyBeginAllowThreads();
28003 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
28004 wxPyEndAllowThreads(__tstate);
28005 if (PyErr_Occurred()) SWIG_fail;
28006 }
28007 resultobj = SWIG_Py_Void();
28008 return resultobj;
28009 fail:
28010 return NULL;
28011 }
28012
28013
28014 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28015 PyObject *resultobj = 0;
28016 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
28017 wxPoint *arg2 = 0 ;
28018 void *argp1 = 0 ;
28019 int res1 = 0 ;
28020 wxPoint temp2 ;
28021 PyObject * obj0 = 0 ;
28022 PyObject * obj1 = 0 ;
28023 char * kwnames[] = {
28024 (char *) "self",(char *) "pt", NULL
28025 };
28026
28027 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
28028 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
28029 if (!SWIG_IsOK(res1)) {
28030 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
28031 }
28032 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
28033 {
28034 arg2 = &temp2;
28035 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
28036 }
28037 {
28038 PyThreadState* __tstate = wxPyBeginAllowThreads();
28039 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
28040 wxPyEndAllowThreads(__tstate);
28041 if (PyErr_Occurred()) SWIG_fail;
28042 }
28043 resultobj = SWIG_Py_Void();
28044 return resultobj;
28045 fail:
28046 return NULL;
28047 }
28048
28049
28050 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28051 PyObject *resultobj = 0;
28052 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
28053 wxPaperSize arg2 ;
28054 void *argp1 = 0 ;
28055 int res1 = 0 ;
28056 int val2 ;
28057 int ecode2 = 0 ;
28058 PyObject * obj0 = 0 ;
28059 PyObject * obj1 = 0 ;
28060 char * kwnames[] = {
28061 (char *) "self",(char *) "id", NULL
28062 };
28063
28064 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
28065 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
28066 if (!SWIG_IsOK(res1)) {
28067 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
28068 }
28069 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
28070 ecode2 = SWIG_AsVal_int(obj1, &val2);
28071 if (!SWIG_IsOK(ecode2)) {
28072 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
28073 }
28074 arg2 = static_cast< wxPaperSize >(val2);
28075 {
28076 PyThreadState* __tstate = wxPyBeginAllowThreads();
28077 (arg1)->SetPaperId(arg2);
28078 wxPyEndAllowThreads(__tstate);
28079 if (PyErr_Occurred()) SWIG_fail;
28080 }
28081 resultobj = SWIG_Py_Void();
28082 return resultobj;
28083 fail:
28084 return NULL;
28085 }
28086
28087
28088 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28089 PyObject *resultobj = 0;
28090 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
28091 wxSize *arg2 = 0 ;
28092 void *argp1 = 0 ;
28093 int res1 = 0 ;
28094 wxSize temp2 ;
28095 PyObject * obj0 = 0 ;
28096 PyObject * obj1 = 0 ;
28097 char * kwnames[] = {
28098 (char *) "self",(char *) "size", NULL
28099 };
28100
28101 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
28102 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
28103 if (!SWIG_IsOK(res1)) {
28104 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
28105 }
28106 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
28107 {
28108 arg2 = &temp2;
28109 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
28110 }
28111 {
28112 PyThreadState* __tstate = wxPyBeginAllowThreads();
28113 (arg1)->SetPaperSize((wxSize const &)*arg2);
28114 wxPyEndAllowThreads(__tstate);
28115 if (PyErr_Occurred()) SWIG_fail;
28116 }
28117 resultobj = SWIG_Py_Void();
28118 return resultobj;
28119 fail:
28120 return NULL;
28121 }
28122
28123
28124 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28125 PyObject *resultobj = 0;
28126 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
28127 wxPrintData *arg2 = 0 ;
28128 void *argp1 = 0 ;
28129 int res1 = 0 ;
28130 void *argp2 = 0 ;
28131 int res2 = 0 ;
28132 PyObject * obj0 = 0 ;
28133 PyObject * obj1 = 0 ;
28134 char * kwnames[] = {
28135 (char *) "self",(char *) "printData", NULL
28136 };
28137
28138 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
28139 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
28140 if (!SWIG_IsOK(res1)) {
28141 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
28142 }
28143 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
28144 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
28145 if (!SWIG_IsOK(res2)) {
28146 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
28147 }
28148 if (!argp2) {
28149 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
28150 }
28151 arg2 = reinterpret_cast< wxPrintData * >(argp2);
28152 {
28153 PyThreadState* __tstate = wxPyBeginAllowThreads();
28154 (arg1)->SetPrintData((wxPrintData const &)*arg2);
28155 wxPyEndAllowThreads(__tstate);
28156 if (PyErr_Occurred()) SWIG_fail;
28157 }
28158 resultobj = SWIG_Py_Void();
28159 return resultobj;
28160 fail:
28161 return NULL;
28162 }
28163
28164
28165 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28166 PyObject *resultobj = 0;
28167 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
28168 void *argp1 = 0 ;
28169 int res1 = 0 ;
28170 PyObject *swig_obj[1] ;
28171
28172 if (!args) SWIG_fail;
28173 swig_obj[0] = args;
28174 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
28175 if (!SWIG_IsOK(res1)) {
28176 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
28177 }
28178 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
28179 {
28180 PyThreadState* __tstate = wxPyBeginAllowThreads();
28181 (arg1)->CalculateIdFromPaperSize();
28182 wxPyEndAllowThreads(__tstate);
28183 if (PyErr_Occurred()) SWIG_fail;
28184 }
28185 resultobj = SWIG_Py_Void();
28186 return resultobj;
28187 fail:
28188 return NULL;
28189 }
28190
28191
28192 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28193 PyObject *resultobj = 0;
28194 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
28195 void *argp1 = 0 ;
28196 int res1 = 0 ;
28197 PyObject *swig_obj[1] ;
28198
28199 if (!args) SWIG_fail;
28200 swig_obj[0] = args;
28201 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
28202 if (!SWIG_IsOK(res1)) {
28203 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
28204 }
28205 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
28206 {
28207 PyThreadState* __tstate = wxPyBeginAllowThreads();
28208 (arg1)->CalculatePaperSizeFromId();
28209 wxPyEndAllowThreads(__tstate);
28210 if (PyErr_Occurred()) SWIG_fail;
28211 }
28212 resultobj = SWIG_Py_Void();
28213 return resultobj;
28214 fail:
28215 return NULL;
28216 }
28217
28218
28219 SWIGINTERN PyObject *PageSetupDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28220 PyObject *obj;
28221 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28222 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData, SWIG_NewClientData(obj));
28223 return SWIG_Py_Void();
28224 }
28225
28226 SWIGINTERN PyObject *PageSetupDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28227 return SWIG_Python_InitShadowInstance(args);
28228 }
28229
28230 SWIGINTERN PyObject *_wrap_new_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28231 PyObject *resultobj = 0;
28232 wxWindow *arg1 = (wxWindow *) 0 ;
28233 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
28234 wxPageSetupDialog *result = 0 ;
28235 void *argp1 = 0 ;
28236 int res1 = 0 ;
28237 void *argp2 = 0 ;
28238 int res2 = 0 ;
28239 PyObject * obj0 = 0 ;
28240 PyObject * obj1 = 0 ;
28241 char * kwnames[] = {
28242 (char *) "parent",(char *) "data", NULL
28243 };
28244
28245 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) SWIG_fail;
28246 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
28247 if (!SWIG_IsOK(res1)) {
28248 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
28249 }
28250 arg1 = reinterpret_cast< wxWindow * >(argp1);
28251 if (obj1) {
28252 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
28253 if (!SWIG_IsOK(res2)) {
28254 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
28255 }
28256 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
28257 }
28258 {
28259 if (!wxPyCheckForApp()) SWIG_fail;
28260 PyThreadState* __tstate = wxPyBeginAllowThreads();
28261 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
28262 wxPyEndAllowThreads(__tstate);
28263 if (PyErr_Occurred()) SWIG_fail;
28264 }
28265 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_NEW | 0 );
28266 return resultobj;
28267 fail:
28268 return NULL;
28269 }
28270
28271
28272 SWIGINTERN PyObject *_wrap_delete_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28273 PyObject *resultobj = 0;
28274 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
28275 void *argp1 = 0 ;
28276 int res1 = 0 ;
28277 PyObject *swig_obj[1] ;
28278
28279 if (!args) SWIG_fail;
28280 swig_obj[0] = args;
28281 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_DISOWN | 0 );
28282 if (!SWIG_IsOK(res1)) {
28283 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
28284 }
28285 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
28286 {
28287 PyThreadState* __tstate = wxPyBeginAllowThreads();
28288 delete arg1;
28289
28290 wxPyEndAllowThreads(__tstate);
28291 if (PyErr_Occurred()) SWIG_fail;
28292 }
28293 resultobj = SWIG_Py_Void();
28294 return resultobj;
28295 fail:
28296 return NULL;
28297 }
28298
28299
28300 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28301 PyObject *resultobj = 0;
28302 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
28303 wxPageSetupDialogData *result = 0 ;
28304 void *argp1 = 0 ;
28305 int res1 = 0 ;
28306 PyObject *swig_obj[1] ;
28307
28308 if (!args) SWIG_fail;
28309 swig_obj[0] = args;
28310 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
28311 if (!SWIG_IsOK(res1)) {
28312 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
28313 }
28314 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
28315 {
28316 PyThreadState* __tstate = wxPyBeginAllowThreads();
28317 {
28318 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
28319 result = (wxPageSetupDialogData *) &_result_ref;
28320 }
28321 wxPyEndAllowThreads(__tstate);
28322 if (PyErr_Occurred()) SWIG_fail;
28323 }
28324 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
28325 return resultobj;
28326 fail:
28327 return NULL;
28328 }
28329
28330
28331 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28332 PyObject *resultobj = 0;
28333 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
28334 wxPageSetupDialogData *result = 0 ;
28335 void *argp1 = 0 ;
28336 int res1 = 0 ;
28337 PyObject *swig_obj[1] ;
28338
28339 if (!args) SWIG_fail;
28340 swig_obj[0] = args;
28341 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
28342 if (!SWIG_IsOK(res1)) {
28343 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
28344 }
28345 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
28346 {
28347 PyThreadState* __tstate = wxPyBeginAllowThreads();
28348 {
28349 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
28350 result = (wxPageSetupDialogData *) &_result_ref;
28351 }
28352 wxPyEndAllowThreads(__tstate);
28353 if (PyErr_Occurred()) SWIG_fail;
28354 }
28355 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
28356 return resultobj;
28357 fail:
28358 return NULL;
28359 }
28360
28361
28362 SWIGINTERN PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28363 PyObject *resultobj = 0;
28364 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
28365 int result;
28366 void *argp1 = 0 ;
28367 int res1 = 0 ;
28368 PyObject *swig_obj[1] ;
28369
28370 if (!args) SWIG_fail;
28371 swig_obj[0] = args;
28372 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
28373 if (!SWIG_IsOK(res1)) {
28374 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
28375 }
28376 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
28377 {
28378 PyThreadState* __tstate = wxPyBeginAllowThreads();
28379 result = (int)(arg1)->ShowModal();
28380 wxPyEndAllowThreads(__tstate);
28381 if (PyErr_Occurred()) SWIG_fail;
28382 }
28383 resultobj = SWIG_From_int(static_cast< int >(result));
28384 return resultobj;
28385 fail:
28386 return NULL;
28387 }
28388
28389
28390 SWIGINTERN PyObject *PageSetupDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28391 PyObject *obj;
28392 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28393 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog, SWIG_NewClientData(obj));
28394 return SWIG_Py_Void();
28395 }
28396
28397 SWIGINTERN PyObject *PageSetupDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28398 return SWIG_Python_InitShadowInstance(args);
28399 }
28400
28401 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
28402 PyObject *resultobj = 0;
28403 wxPrintDialogData *result = 0 ;
28404
28405 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
28406 {
28407 PyThreadState* __tstate = wxPyBeginAllowThreads();
28408 result = (wxPrintDialogData *)new wxPrintDialogData();
28409 wxPyEndAllowThreads(__tstate);
28410 if (PyErr_Occurred()) SWIG_fail;
28411 }
28412 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
28413 return resultobj;
28414 fail:
28415 return NULL;
28416 }
28417
28418
28419 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
28420 PyObject *resultobj = 0;
28421 wxPrintData *arg1 = 0 ;
28422 wxPrintDialogData *result = 0 ;
28423 void *argp1 = 0 ;
28424 int res1 = 0 ;
28425
28426 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
28427 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
28428 if (!SWIG_IsOK(res1)) {
28429 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
28430 }
28431 if (!argp1) {
28432 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
28433 }
28434 arg1 = reinterpret_cast< wxPrintData * >(argp1);
28435 {
28436 PyThreadState* __tstate = wxPyBeginAllowThreads();
28437 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
28438 wxPyEndAllowThreads(__tstate);
28439 if (PyErr_Occurred()) SWIG_fail;
28440 }
28441 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
28442 return resultobj;
28443 fail:
28444 return NULL;
28445 }
28446
28447
28448 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
28449 PyObject *resultobj = 0;
28450 wxPrintDialogData *arg1 = 0 ;
28451 wxPrintDialogData *result = 0 ;
28452 void *argp1 = 0 ;
28453 int res1 = 0 ;
28454
28455 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
28456 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintDialogData, 0 | 0);
28457 if (!SWIG_IsOK(res1)) {
28458 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
28459 }
28460 if (!argp1) {
28461 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
28462 }
28463 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28464 {
28465 PyThreadState* __tstate = wxPyBeginAllowThreads();
28466 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
28467 wxPyEndAllowThreads(__tstate);
28468 if (PyErr_Occurred()) SWIG_fail;
28469 }
28470 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
28471 return resultobj;
28472 fail:
28473 return NULL;
28474 }
28475
28476
28477 SWIGINTERN PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
28478 int argc;
28479 PyObject *argv[2];
28480
28481 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintDialogData",0,1,argv))) SWIG_fail;
28482 --argc;
28483 if (argc == 0) {
28484 return _wrap_new_PrintDialogData__SWIG_0(self, argc, argv);
28485 }
28486 if (argc == 1) {
28487 int _v = 0;
28488 {
28489 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPrintData, 0);
28490 _v = SWIG_CheckState(res);
28491 }
28492 if (!_v) goto check_2;
28493 return _wrap_new_PrintDialogData__SWIG_1(self, argc, argv);
28494 }
28495 check_2:
28496
28497 if (argc == 1) {
28498 return _wrap_new_PrintDialogData__SWIG_2(self, argc, argv);
28499 }
28500
28501 fail:
28502 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
28503 return NULL;
28504 }
28505
28506
28507 SWIGINTERN PyObject *_wrap_delete_PrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28508 PyObject *resultobj = 0;
28509 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28510 void *argp1 = 0 ;
28511 int res1 = 0 ;
28512 PyObject *swig_obj[1] ;
28513
28514 if (!args) SWIG_fail;
28515 swig_obj[0] = args;
28516 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_DISOWN | 0 );
28517 if (!SWIG_IsOK(res1)) {
28518 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
28519 }
28520 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28521 {
28522 PyThreadState* __tstate = wxPyBeginAllowThreads();
28523 delete arg1;
28524
28525 wxPyEndAllowThreads(__tstate);
28526 if (PyErr_Occurred()) SWIG_fail;
28527 }
28528 resultobj = SWIG_Py_Void();
28529 return resultobj;
28530 fail:
28531 return NULL;
28532 }
28533
28534
28535 SWIGINTERN PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28536 PyObject *resultobj = 0;
28537 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28538 int result;
28539 void *argp1 = 0 ;
28540 int res1 = 0 ;
28541 PyObject *swig_obj[1] ;
28542
28543 if (!args) SWIG_fail;
28544 swig_obj[0] = args;
28545 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28546 if (!SWIG_IsOK(res1)) {
28547 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28548 }
28549 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28550 {
28551 PyThreadState* __tstate = wxPyBeginAllowThreads();
28552 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
28553 wxPyEndAllowThreads(__tstate);
28554 if (PyErr_Occurred()) SWIG_fail;
28555 }
28556 resultobj = SWIG_From_int(static_cast< int >(result));
28557 return resultobj;
28558 fail:
28559 return NULL;
28560 }
28561
28562
28563 SWIGINTERN PyObject *_wrap_PrintDialogData_GetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28564 PyObject *resultobj = 0;
28565 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28566 int result;
28567 void *argp1 = 0 ;
28568 int res1 = 0 ;
28569 PyObject *swig_obj[1] ;
28570
28571 if (!args) SWIG_fail;
28572 swig_obj[0] = args;
28573 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28574 if (!SWIG_IsOK(res1)) {
28575 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28576 }
28577 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28578 {
28579 PyThreadState* __tstate = wxPyBeginAllowThreads();
28580 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
28581 wxPyEndAllowThreads(__tstate);
28582 if (PyErr_Occurred()) SWIG_fail;
28583 }
28584 resultobj = SWIG_From_int(static_cast< int >(result));
28585 return resultobj;
28586 fail:
28587 return NULL;
28588 }
28589
28590
28591 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28592 PyObject *resultobj = 0;
28593 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28594 int result;
28595 void *argp1 = 0 ;
28596 int res1 = 0 ;
28597 PyObject *swig_obj[1] ;
28598
28599 if (!args) SWIG_fail;
28600 swig_obj[0] = args;
28601 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28602 if (!SWIG_IsOK(res1)) {
28603 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28604 }
28605 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28606 {
28607 PyThreadState* __tstate = wxPyBeginAllowThreads();
28608 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
28609 wxPyEndAllowThreads(__tstate);
28610 if (PyErr_Occurred()) SWIG_fail;
28611 }
28612 resultobj = SWIG_From_int(static_cast< int >(result));
28613 return resultobj;
28614 fail:
28615 return NULL;
28616 }
28617
28618
28619 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28620 PyObject *resultobj = 0;
28621 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28622 int result;
28623 void *argp1 = 0 ;
28624 int res1 = 0 ;
28625 PyObject *swig_obj[1] ;
28626
28627 if (!args) SWIG_fail;
28628 swig_obj[0] = args;
28629 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28630 if (!SWIG_IsOK(res1)) {
28631 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28632 }
28633 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28634 {
28635 PyThreadState* __tstate = wxPyBeginAllowThreads();
28636 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
28637 wxPyEndAllowThreads(__tstate);
28638 if (PyErr_Occurred()) SWIG_fail;
28639 }
28640 resultobj = SWIG_From_int(static_cast< int >(result));
28641 return resultobj;
28642 fail:
28643 return NULL;
28644 }
28645
28646
28647 SWIGINTERN PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28648 PyObject *resultobj = 0;
28649 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28650 int result;
28651 void *argp1 = 0 ;
28652 int res1 = 0 ;
28653 PyObject *swig_obj[1] ;
28654
28655 if (!args) SWIG_fail;
28656 swig_obj[0] = args;
28657 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28658 if (!SWIG_IsOK(res1)) {
28659 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28660 }
28661 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28662 {
28663 PyThreadState* __tstate = wxPyBeginAllowThreads();
28664 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
28665 wxPyEndAllowThreads(__tstate);
28666 if (PyErr_Occurred()) SWIG_fail;
28667 }
28668 resultobj = SWIG_From_int(static_cast< int >(result));
28669 return resultobj;
28670 fail:
28671 return NULL;
28672 }
28673
28674
28675 SWIGINTERN PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28676 PyObject *resultobj = 0;
28677 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28678 bool result;
28679 void *argp1 = 0 ;
28680 int res1 = 0 ;
28681 PyObject *swig_obj[1] ;
28682
28683 if (!args) SWIG_fail;
28684 swig_obj[0] = args;
28685 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28686 if (!SWIG_IsOK(res1)) {
28687 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28688 }
28689 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28690 {
28691 PyThreadState* __tstate = wxPyBeginAllowThreads();
28692 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
28693 wxPyEndAllowThreads(__tstate);
28694 if (PyErr_Occurred()) SWIG_fail;
28695 }
28696 {
28697 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28698 }
28699 return resultobj;
28700 fail:
28701 return NULL;
28702 }
28703
28704
28705 SWIGINTERN PyObject *_wrap_PrintDialogData_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28706 PyObject *resultobj = 0;
28707 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28708 bool result;
28709 void *argp1 = 0 ;
28710 int res1 = 0 ;
28711 PyObject *swig_obj[1] ;
28712
28713 if (!args) SWIG_fail;
28714 swig_obj[0] = args;
28715 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28716 if (!SWIG_IsOK(res1)) {
28717 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28718 }
28719 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28720 {
28721 PyThreadState* __tstate = wxPyBeginAllowThreads();
28722 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
28723 wxPyEndAllowThreads(__tstate);
28724 if (PyErr_Occurred()) SWIG_fail;
28725 }
28726 {
28727 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28728 }
28729 return resultobj;
28730 fail:
28731 return NULL;
28732 }
28733
28734
28735 SWIGINTERN PyObject *_wrap_PrintDialogData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28736 PyObject *resultobj = 0;
28737 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28738 bool result;
28739 void *argp1 = 0 ;
28740 int res1 = 0 ;
28741 PyObject *swig_obj[1] ;
28742
28743 if (!args) SWIG_fail;
28744 swig_obj[0] = args;
28745 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28746 if (!SWIG_IsOK(res1)) {
28747 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28748 }
28749 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28750 {
28751 PyThreadState* __tstate = wxPyBeginAllowThreads();
28752 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
28753 wxPyEndAllowThreads(__tstate);
28754 if (PyErr_Occurred()) SWIG_fail;
28755 }
28756 {
28757 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28758 }
28759 return resultobj;
28760 fail:
28761 return NULL;
28762 }
28763
28764
28765 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28766 PyObject *resultobj = 0;
28767 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28768 bool result;
28769 void *argp1 = 0 ;
28770 int res1 = 0 ;
28771 PyObject *swig_obj[1] ;
28772
28773 if (!args) SWIG_fail;
28774 swig_obj[0] = args;
28775 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28776 if (!SWIG_IsOK(res1)) {
28777 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28778 }
28779 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28780 {
28781 PyThreadState* __tstate = wxPyBeginAllowThreads();
28782 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
28783 wxPyEndAllowThreads(__tstate);
28784 if (PyErr_Occurred()) SWIG_fail;
28785 }
28786 {
28787 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28788 }
28789 return resultobj;
28790 fail:
28791 return NULL;
28792 }
28793
28794
28795 SWIGINTERN PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28796 PyObject *resultobj = 0;
28797 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28798 int arg2 ;
28799 void *argp1 = 0 ;
28800 int res1 = 0 ;
28801 int val2 ;
28802 int ecode2 = 0 ;
28803 PyObject * obj0 = 0 ;
28804 PyObject * obj1 = 0 ;
28805 char * kwnames[] = {
28806 (char *) "self",(char *) "v", NULL
28807 };
28808
28809 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) SWIG_fail;
28810 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28811 if (!SWIG_IsOK(res1)) {
28812 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
28813 }
28814 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28815 ecode2 = SWIG_AsVal_int(obj1, &val2);
28816 if (!SWIG_IsOK(ecode2)) {
28817 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
28818 }
28819 arg2 = static_cast< int >(val2);
28820 {
28821 PyThreadState* __tstate = wxPyBeginAllowThreads();
28822 (arg1)->SetFromPage(arg2);
28823 wxPyEndAllowThreads(__tstate);
28824 if (PyErr_Occurred()) SWIG_fail;
28825 }
28826 resultobj = SWIG_Py_Void();
28827 return resultobj;
28828 fail:
28829 return NULL;
28830 }
28831
28832
28833 SWIGINTERN PyObject *_wrap_PrintDialogData_SetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28834 PyObject *resultobj = 0;
28835 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28836 int arg2 ;
28837 void *argp1 = 0 ;
28838 int res1 = 0 ;
28839 int val2 ;
28840 int ecode2 = 0 ;
28841 PyObject * obj0 = 0 ;
28842 PyObject * obj1 = 0 ;
28843 char * kwnames[] = {
28844 (char *) "self",(char *) "v", NULL
28845 };
28846
28847 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) SWIG_fail;
28848 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28849 if (!SWIG_IsOK(res1)) {
28850 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
28851 }
28852 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28853 ecode2 = SWIG_AsVal_int(obj1, &val2);
28854 if (!SWIG_IsOK(ecode2)) {
28855 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
28856 }
28857 arg2 = static_cast< int >(val2);
28858 {
28859 PyThreadState* __tstate = wxPyBeginAllowThreads();
28860 (arg1)->SetToPage(arg2);
28861 wxPyEndAllowThreads(__tstate);
28862 if (PyErr_Occurred()) SWIG_fail;
28863 }
28864 resultobj = SWIG_Py_Void();
28865 return resultobj;
28866 fail:
28867 return NULL;
28868 }
28869
28870
28871 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28872 PyObject *resultobj = 0;
28873 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28874 int arg2 ;
28875 void *argp1 = 0 ;
28876 int res1 = 0 ;
28877 int val2 ;
28878 int ecode2 = 0 ;
28879 PyObject * obj0 = 0 ;
28880 PyObject * obj1 = 0 ;
28881 char * kwnames[] = {
28882 (char *) "self",(char *) "v", NULL
28883 };
28884
28885 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) SWIG_fail;
28886 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28887 if (!SWIG_IsOK(res1)) {
28888 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
28889 }
28890 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28891 ecode2 = SWIG_AsVal_int(obj1, &val2);
28892 if (!SWIG_IsOK(ecode2)) {
28893 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
28894 }
28895 arg2 = static_cast< int >(val2);
28896 {
28897 PyThreadState* __tstate = wxPyBeginAllowThreads();
28898 (arg1)->SetMinPage(arg2);
28899 wxPyEndAllowThreads(__tstate);
28900 if (PyErr_Occurred()) SWIG_fail;
28901 }
28902 resultobj = SWIG_Py_Void();
28903 return resultobj;
28904 fail:
28905 return NULL;
28906 }
28907
28908
28909 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28910 PyObject *resultobj = 0;
28911 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28912 int arg2 ;
28913 void *argp1 = 0 ;
28914 int res1 = 0 ;
28915 int val2 ;
28916 int ecode2 = 0 ;
28917 PyObject * obj0 = 0 ;
28918 PyObject * obj1 = 0 ;
28919 char * kwnames[] = {
28920 (char *) "self",(char *) "v", NULL
28921 };
28922
28923 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) SWIG_fail;
28924 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28925 if (!SWIG_IsOK(res1)) {
28926 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
28927 }
28928 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28929 ecode2 = SWIG_AsVal_int(obj1, &val2);
28930 if (!SWIG_IsOK(ecode2)) {
28931 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
28932 }
28933 arg2 = static_cast< int >(val2);
28934 {
28935 PyThreadState* __tstate = wxPyBeginAllowThreads();
28936 (arg1)->SetMaxPage(arg2);
28937 wxPyEndAllowThreads(__tstate);
28938 if (PyErr_Occurred()) SWIG_fail;
28939 }
28940 resultobj = SWIG_Py_Void();
28941 return resultobj;
28942 fail:
28943 return NULL;
28944 }
28945
28946
28947 SWIGINTERN PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28948 PyObject *resultobj = 0;
28949 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28950 int arg2 ;
28951 void *argp1 = 0 ;
28952 int res1 = 0 ;
28953 int val2 ;
28954 int ecode2 = 0 ;
28955 PyObject * obj0 = 0 ;
28956 PyObject * obj1 = 0 ;
28957 char * kwnames[] = {
28958 (char *) "self",(char *) "v", NULL
28959 };
28960
28961 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
28962 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28963 if (!SWIG_IsOK(res1)) {
28964 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
28965 }
28966 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28967 ecode2 = SWIG_AsVal_int(obj1, &val2);
28968 if (!SWIG_IsOK(ecode2)) {
28969 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
28970 }
28971 arg2 = static_cast< int >(val2);
28972 {
28973 PyThreadState* __tstate = wxPyBeginAllowThreads();
28974 (arg1)->SetNoCopies(arg2);
28975 wxPyEndAllowThreads(__tstate);
28976 if (PyErr_Occurred()) SWIG_fail;
28977 }
28978 resultobj = SWIG_Py_Void();
28979 return resultobj;
28980 fail:
28981 return NULL;
28982 }
28983
28984
28985 SWIGINTERN PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28986 PyObject *resultobj = 0;
28987 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28988 bool arg2 ;
28989 void *argp1 = 0 ;
28990 int res1 = 0 ;
28991 bool val2 ;
28992 int ecode2 = 0 ;
28993 PyObject * obj0 = 0 ;
28994 PyObject * obj1 = 0 ;
28995 char * kwnames[] = {
28996 (char *) "self",(char *) "flag", NULL
28997 };
28998
28999 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) SWIG_fail;
29000 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29001 if (!SWIG_IsOK(res1)) {
29002 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29003 }
29004 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29005 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29006 if (!SWIG_IsOK(ecode2)) {
29007 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
29008 }
29009 arg2 = static_cast< bool >(val2);
29010 {
29011 PyThreadState* __tstate = wxPyBeginAllowThreads();
29012 (arg1)->SetAllPages(arg2);
29013 wxPyEndAllowThreads(__tstate);
29014 if (PyErr_Occurred()) SWIG_fail;
29015 }
29016 resultobj = SWIG_Py_Void();
29017 return resultobj;
29018 fail:
29019 return NULL;
29020 }
29021
29022
29023 SWIGINTERN PyObject *_wrap_PrintDialogData_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29024 PyObject *resultobj = 0;
29025 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29026 bool arg2 ;
29027 void *argp1 = 0 ;
29028 int res1 = 0 ;
29029 bool val2 ;
29030 int ecode2 = 0 ;
29031 PyObject * obj0 = 0 ;
29032 PyObject * obj1 = 0 ;
29033 char * kwnames[] = {
29034 (char *) "self",(char *) "flag", NULL
29035 };
29036
29037 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
29038 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29039 if (!SWIG_IsOK(res1)) {
29040 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29041 }
29042 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29043 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29044 if (!SWIG_IsOK(ecode2)) {
29045 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
29046 }
29047 arg2 = static_cast< bool >(val2);
29048 {
29049 PyThreadState* __tstate = wxPyBeginAllowThreads();
29050 (arg1)->SetSelection(arg2);
29051 wxPyEndAllowThreads(__tstate);
29052 if (PyErr_Occurred()) SWIG_fail;
29053 }
29054 resultobj = SWIG_Py_Void();
29055 return resultobj;
29056 fail:
29057 return NULL;
29058 }
29059
29060
29061 SWIGINTERN PyObject *_wrap_PrintDialogData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29062 PyObject *resultobj = 0;
29063 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29064 bool arg2 ;
29065 void *argp1 = 0 ;
29066 int res1 = 0 ;
29067 bool val2 ;
29068 int ecode2 = 0 ;
29069 PyObject * obj0 = 0 ;
29070 PyObject * obj1 = 0 ;
29071 char * kwnames[] = {
29072 (char *) "self",(char *) "flag", NULL
29073 };
29074
29075 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
29076 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29077 if (!SWIG_IsOK(res1)) {
29078 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29079 }
29080 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29081 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29082 if (!SWIG_IsOK(ecode2)) {
29083 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
29084 }
29085 arg2 = static_cast< bool >(val2);
29086 {
29087 PyThreadState* __tstate = wxPyBeginAllowThreads();
29088 (arg1)->SetCollate(arg2);
29089 wxPyEndAllowThreads(__tstate);
29090 if (PyErr_Occurred()) SWIG_fail;
29091 }
29092 resultobj = SWIG_Py_Void();
29093 return resultobj;
29094 fail:
29095 return NULL;
29096 }
29097
29098
29099 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29100 PyObject *resultobj = 0;
29101 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29102 bool arg2 ;
29103 void *argp1 = 0 ;
29104 int res1 = 0 ;
29105 bool val2 ;
29106 int ecode2 = 0 ;
29107 PyObject * obj0 = 0 ;
29108 PyObject * obj1 = 0 ;
29109 char * kwnames[] = {
29110 (char *) "self",(char *) "flag", NULL
29111 };
29112
29113 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
29114 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29115 if (!SWIG_IsOK(res1)) {
29116 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29117 }
29118 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29119 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29120 if (!SWIG_IsOK(ecode2)) {
29121 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
29122 }
29123 arg2 = static_cast< bool >(val2);
29124 {
29125 PyThreadState* __tstate = wxPyBeginAllowThreads();
29126 (arg1)->SetPrintToFile(arg2);
29127 wxPyEndAllowThreads(__tstate);
29128 if (PyErr_Occurred()) SWIG_fail;
29129 }
29130 resultobj = SWIG_Py_Void();
29131 return resultobj;
29132 fail:
29133 return NULL;
29134 }
29135
29136
29137 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29138 PyObject *resultobj = 0;
29139 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29140 bool arg2 ;
29141 void *argp1 = 0 ;
29142 int res1 = 0 ;
29143 bool val2 ;
29144 int ecode2 = 0 ;
29145 PyObject * obj0 = 0 ;
29146 PyObject * obj1 = 0 ;
29147 char * kwnames[] = {
29148 (char *) "self",(char *) "flag", NULL
29149 };
29150
29151 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
29152 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29153 if (!SWIG_IsOK(res1)) {
29154 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29155 }
29156 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29157 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29158 if (!SWIG_IsOK(ecode2)) {
29159 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
29160 }
29161 arg2 = static_cast< bool >(val2);
29162 {
29163 PyThreadState* __tstate = wxPyBeginAllowThreads();
29164 (arg1)->EnablePrintToFile(arg2);
29165 wxPyEndAllowThreads(__tstate);
29166 if (PyErr_Occurred()) SWIG_fail;
29167 }
29168 resultobj = SWIG_Py_Void();
29169 return resultobj;
29170 fail:
29171 return NULL;
29172 }
29173
29174
29175 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29176 PyObject *resultobj = 0;
29177 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29178 bool arg2 ;
29179 void *argp1 = 0 ;
29180 int res1 = 0 ;
29181 bool val2 ;
29182 int ecode2 = 0 ;
29183 PyObject * obj0 = 0 ;
29184 PyObject * obj1 = 0 ;
29185 char * kwnames[] = {
29186 (char *) "self",(char *) "flag", NULL
29187 };
29188
29189 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) SWIG_fail;
29190 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29191 if (!SWIG_IsOK(res1)) {
29192 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29193 }
29194 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29195 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29196 if (!SWIG_IsOK(ecode2)) {
29197 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
29198 }
29199 arg2 = static_cast< bool >(val2);
29200 {
29201 PyThreadState* __tstate = wxPyBeginAllowThreads();
29202 (arg1)->EnableSelection(arg2);
29203 wxPyEndAllowThreads(__tstate);
29204 if (PyErr_Occurred()) SWIG_fail;
29205 }
29206 resultobj = SWIG_Py_Void();
29207 return resultobj;
29208 fail:
29209 return NULL;
29210 }
29211
29212
29213 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29214 PyObject *resultobj = 0;
29215 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29216 bool arg2 ;
29217 void *argp1 = 0 ;
29218 int res1 = 0 ;
29219 bool val2 ;
29220 int ecode2 = 0 ;
29221 PyObject * obj0 = 0 ;
29222 PyObject * obj1 = 0 ;
29223 char * kwnames[] = {
29224 (char *) "self",(char *) "flag", NULL
29225 };
29226
29227 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) SWIG_fail;
29228 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29229 if (!SWIG_IsOK(res1)) {
29230 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29231 }
29232 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29233 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29234 if (!SWIG_IsOK(ecode2)) {
29235 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
29236 }
29237 arg2 = static_cast< bool >(val2);
29238 {
29239 PyThreadState* __tstate = wxPyBeginAllowThreads();
29240 (arg1)->EnablePageNumbers(arg2);
29241 wxPyEndAllowThreads(__tstate);
29242 if (PyErr_Occurred()) SWIG_fail;
29243 }
29244 resultobj = SWIG_Py_Void();
29245 return resultobj;
29246 fail:
29247 return NULL;
29248 }
29249
29250
29251 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29252 PyObject *resultobj = 0;
29253 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29254 bool arg2 ;
29255 void *argp1 = 0 ;
29256 int res1 = 0 ;
29257 bool val2 ;
29258 int ecode2 = 0 ;
29259 PyObject * obj0 = 0 ;
29260 PyObject * obj1 = 0 ;
29261 char * kwnames[] = {
29262 (char *) "self",(char *) "flag", NULL
29263 };
29264
29265 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
29266 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29267 if (!SWIG_IsOK(res1)) {
29268 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29269 }
29270 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29271 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29272 if (!SWIG_IsOK(ecode2)) {
29273 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
29274 }
29275 arg2 = static_cast< bool >(val2);
29276 {
29277 PyThreadState* __tstate = wxPyBeginAllowThreads();
29278 (arg1)->EnableHelp(arg2);
29279 wxPyEndAllowThreads(__tstate);
29280 if (PyErr_Occurred()) SWIG_fail;
29281 }
29282 resultobj = SWIG_Py_Void();
29283 return resultobj;
29284 fail:
29285 return NULL;
29286 }
29287
29288
29289 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29290 PyObject *resultobj = 0;
29291 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29292 bool result;
29293 void *argp1 = 0 ;
29294 int res1 = 0 ;
29295 PyObject *swig_obj[1] ;
29296
29297 if (!args) SWIG_fail;
29298 swig_obj[0] = args;
29299 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29300 if (!SWIG_IsOK(res1)) {
29301 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
29302 }
29303 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29304 {
29305 PyThreadState* __tstate = wxPyBeginAllowThreads();
29306 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
29307 wxPyEndAllowThreads(__tstate);
29308 if (PyErr_Occurred()) SWIG_fail;
29309 }
29310 {
29311 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29312 }
29313 return resultobj;
29314 fail:
29315 return NULL;
29316 }
29317
29318
29319 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29320 PyObject *resultobj = 0;
29321 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29322 bool result;
29323 void *argp1 = 0 ;
29324 int res1 = 0 ;
29325 PyObject *swig_obj[1] ;
29326
29327 if (!args) SWIG_fail;
29328 swig_obj[0] = args;
29329 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29330 if (!SWIG_IsOK(res1)) {
29331 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
29332 }
29333 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29334 {
29335 PyThreadState* __tstate = wxPyBeginAllowThreads();
29336 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
29337 wxPyEndAllowThreads(__tstate);
29338 if (PyErr_Occurred()) SWIG_fail;
29339 }
29340 {
29341 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29342 }
29343 return resultobj;
29344 fail:
29345 return NULL;
29346 }
29347
29348
29349 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29350 PyObject *resultobj = 0;
29351 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29352 bool result;
29353 void *argp1 = 0 ;
29354 int res1 = 0 ;
29355 PyObject *swig_obj[1] ;
29356
29357 if (!args) SWIG_fail;
29358 swig_obj[0] = args;
29359 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29360 if (!SWIG_IsOK(res1)) {
29361 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
29362 }
29363 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29364 {
29365 PyThreadState* __tstate = wxPyBeginAllowThreads();
29366 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
29367 wxPyEndAllowThreads(__tstate);
29368 if (PyErr_Occurred()) SWIG_fail;
29369 }
29370 {
29371 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29372 }
29373 return resultobj;
29374 fail:
29375 return NULL;
29376 }
29377
29378
29379 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29380 PyObject *resultobj = 0;
29381 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29382 bool result;
29383 void *argp1 = 0 ;
29384 int res1 = 0 ;
29385 PyObject *swig_obj[1] ;
29386
29387 if (!args) SWIG_fail;
29388 swig_obj[0] = args;
29389 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29390 if (!SWIG_IsOK(res1)) {
29391 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
29392 }
29393 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29394 {
29395 PyThreadState* __tstate = wxPyBeginAllowThreads();
29396 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
29397 wxPyEndAllowThreads(__tstate);
29398 if (PyErr_Occurred()) SWIG_fail;
29399 }
29400 {
29401 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29402 }
29403 return resultobj;
29404 fail:
29405 return NULL;
29406 }
29407
29408
29409 SWIGINTERN PyObject *_wrap_PrintDialogData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29410 PyObject *resultobj = 0;
29411 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29412 bool result;
29413 void *argp1 = 0 ;
29414 int res1 = 0 ;
29415 PyObject *swig_obj[1] ;
29416
29417 if (!args) SWIG_fail;
29418 swig_obj[0] = args;
29419 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29420 if (!SWIG_IsOK(res1)) {
29421 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_IsOk" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
29422 }
29423 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29424 {
29425 PyThreadState* __tstate = wxPyBeginAllowThreads();
29426 result = (bool)((wxPrintDialogData const *)arg1)->IsOk();
29427 wxPyEndAllowThreads(__tstate);
29428 if (PyErr_Occurred()) SWIG_fail;
29429 }
29430 {
29431 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29432 }
29433 return resultobj;
29434 fail:
29435 return NULL;
29436 }
29437
29438
29439 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29440 PyObject *resultobj = 0;
29441 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29442 wxPrintData *result = 0 ;
29443 void *argp1 = 0 ;
29444 int res1 = 0 ;
29445 PyObject *swig_obj[1] ;
29446
29447 if (!args) SWIG_fail;
29448 swig_obj[0] = args;
29449 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29450 if (!SWIG_IsOK(res1)) {
29451 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29452 }
29453 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29454 {
29455 PyThreadState* __tstate = wxPyBeginAllowThreads();
29456 {
29457 wxPrintData &_result_ref = (arg1)->GetPrintData();
29458 result = (wxPrintData *) &_result_ref;
29459 }
29460 wxPyEndAllowThreads(__tstate);
29461 if (PyErr_Occurred()) SWIG_fail;
29462 }
29463 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
29464 return resultobj;
29465 fail:
29466 return NULL;
29467 }
29468
29469
29470 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29471 PyObject *resultobj = 0;
29472 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29473 wxPrintData *arg2 = 0 ;
29474 void *argp1 = 0 ;
29475 int res1 = 0 ;
29476 void *argp2 = 0 ;
29477 int res2 = 0 ;
29478 PyObject * obj0 = 0 ;
29479 PyObject * obj1 = 0 ;
29480 char * kwnames[] = {
29481 (char *) "self",(char *) "printData", NULL
29482 };
29483
29484 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
29485 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29486 if (!SWIG_IsOK(res1)) {
29487 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29488 }
29489 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29490 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
29491 if (!SWIG_IsOK(res2)) {
29492 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
29493 }
29494 if (!argp2) {
29495 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
29496 }
29497 arg2 = reinterpret_cast< wxPrintData * >(argp2);
29498 {
29499 PyThreadState* __tstate = wxPyBeginAllowThreads();
29500 (arg1)->SetPrintData((wxPrintData const &)*arg2);
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 *PrintDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29512 PyObject *obj;
29513 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29514 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData, SWIG_NewClientData(obj));
29515 return SWIG_Py_Void();
29516 }
29517
29518 SWIGINTERN PyObject *PrintDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29519 return SWIG_Python_InitShadowInstance(args);
29520 }
29521
29522 SWIGINTERN PyObject *_wrap_new_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29523 PyObject *resultobj = 0;
29524 wxWindow *arg1 = (wxWindow *) 0 ;
29525 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
29526 wxPrintDialog *result = 0 ;
29527 void *argp1 = 0 ;
29528 int res1 = 0 ;
29529 void *argp2 = 0 ;
29530 int res2 = 0 ;
29531 PyObject * obj0 = 0 ;
29532 PyObject * obj1 = 0 ;
29533 char * kwnames[] = {
29534 (char *) "parent",(char *) "data", NULL
29535 };
29536
29537 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
29538 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
29539 if (!SWIG_IsOK(res1)) {
29540 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
29541 }
29542 arg1 = reinterpret_cast< wxWindow * >(argp1);
29543 if (obj1) {
29544 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29545 if (!SWIG_IsOK(res2)) {
29546 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
29547 }
29548 arg2 = reinterpret_cast< wxPrintDialogData * >(argp2);
29549 }
29550 {
29551 if (!wxPyCheckForApp()) SWIG_fail;
29552 PyThreadState* __tstate = wxPyBeginAllowThreads();
29553 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
29554 wxPyEndAllowThreads(__tstate);
29555 if (PyErr_Occurred()) SWIG_fail;
29556 }
29557 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_NEW | 0 );
29558 return resultobj;
29559 fail:
29560 return NULL;
29561 }
29562
29563
29564 SWIGINTERN PyObject *_wrap_delete_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29565 PyObject *resultobj = 0;
29566 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
29567 void *argp1 = 0 ;
29568 int res1 = 0 ;
29569 PyObject *swig_obj[1] ;
29570
29571 if (!args) SWIG_fail;
29572 swig_obj[0] = args;
29573 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_DISOWN | 0 );
29574 if (!SWIG_IsOK(res1)) {
29575 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
29576 }
29577 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
29578 {
29579 PyThreadState* __tstate = wxPyBeginAllowThreads();
29580 delete arg1;
29581
29582 wxPyEndAllowThreads(__tstate);
29583 if (PyErr_Occurred()) SWIG_fail;
29584 }
29585 resultobj = SWIG_Py_Void();
29586 return resultobj;
29587 fail:
29588 return NULL;
29589 }
29590
29591
29592 SWIGINTERN PyObject *_wrap_PrintDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29593 PyObject *resultobj = 0;
29594 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
29595 int result;
29596 void *argp1 = 0 ;
29597 int res1 = 0 ;
29598 PyObject *swig_obj[1] ;
29599
29600 if (!args) SWIG_fail;
29601 swig_obj[0] = args;
29602 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
29603 if (!SWIG_IsOK(res1)) {
29604 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
29605 }
29606 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
29607 {
29608 PyThreadState* __tstate = wxPyBeginAllowThreads();
29609 result = (int)(arg1)->ShowModal();
29610 wxPyEndAllowThreads(__tstate);
29611 if (PyErr_Occurred()) SWIG_fail;
29612 }
29613 resultobj = SWIG_From_int(static_cast< int >(result));
29614 return resultobj;
29615 fail:
29616 return NULL;
29617 }
29618
29619
29620 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29621 PyObject *resultobj = 0;
29622 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
29623 wxPrintDialogData *result = 0 ;
29624 void *argp1 = 0 ;
29625 int res1 = 0 ;
29626 PyObject *swig_obj[1] ;
29627
29628 if (!args) SWIG_fail;
29629 swig_obj[0] = args;
29630 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
29631 if (!SWIG_IsOK(res1)) {
29632 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
29633 }
29634 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
29635 {
29636 PyThreadState* __tstate = wxPyBeginAllowThreads();
29637 {
29638 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
29639 result = (wxPrintDialogData *) &_result_ref;
29640 }
29641 wxPyEndAllowThreads(__tstate);
29642 if (PyErr_Occurred()) SWIG_fail;
29643 }
29644 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29645 return resultobj;
29646 fail:
29647 return NULL;
29648 }
29649
29650
29651 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29652 PyObject *resultobj = 0;
29653 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
29654 wxPrintData *result = 0 ;
29655 void *argp1 = 0 ;
29656 int res1 = 0 ;
29657 PyObject *swig_obj[1] ;
29658
29659 if (!args) SWIG_fail;
29660 swig_obj[0] = args;
29661 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
29662 if (!SWIG_IsOK(res1)) {
29663 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
29664 }
29665 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
29666 {
29667 PyThreadState* __tstate = wxPyBeginAllowThreads();
29668 {
29669 wxPrintData &_result_ref = (arg1)->GetPrintData();
29670 result = (wxPrintData *) &_result_ref;
29671 }
29672 wxPyEndAllowThreads(__tstate);
29673 if (PyErr_Occurred()) SWIG_fail;
29674 }
29675 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
29676 return resultobj;
29677 fail:
29678 return NULL;
29679 }
29680
29681
29682 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29683 PyObject *resultobj = 0;
29684 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
29685 wxDC *result = 0 ;
29686 void *argp1 = 0 ;
29687 int res1 = 0 ;
29688 PyObject *swig_obj[1] ;
29689
29690 if (!args) SWIG_fail;
29691 swig_obj[0] = args;
29692 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
29693 if (!SWIG_IsOK(res1)) {
29694 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
29695 }
29696 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
29697 {
29698 PyThreadState* __tstate = wxPyBeginAllowThreads();
29699 result = (wxDC *)(arg1)->GetPrintDC();
29700 wxPyEndAllowThreads(__tstate);
29701 if (PyErr_Occurred()) SWIG_fail;
29702 }
29703 {
29704 resultobj = wxPyMake_wxObject(result, (bool)SWIG_POINTER_OWN);
29705 }
29706 return resultobj;
29707 fail:
29708 return NULL;
29709 }
29710
29711
29712 SWIGINTERN PyObject *PrintDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29713 PyObject *obj;
29714 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29715 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog, SWIG_NewClientData(obj));
29716 return SWIG_Py_Void();
29717 }
29718
29719 SWIGINTERN PyObject *PrintDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29720 return SWIG_Python_InitShadowInstance(args);
29721 }
29722
29723 SWIGINTERN PyObject *_wrap_new_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29724 PyObject *resultobj = 0;
29725 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
29726 wxPrinter *result = 0 ;
29727 void *argp1 = 0 ;
29728 int res1 = 0 ;
29729 PyObject * obj0 = 0 ;
29730 char * kwnames[] = {
29731 (char *) "data", NULL
29732 };
29733
29734 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) SWIG_fail;
29735 if (obj0) {
29736 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29737 if (!SWIG_IsOK(res1)) {
29738 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29739 }
29740 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29741 }
29742 {
29743 if (!wxPyCheckForApp()) SWIG_fail;
29744 PyThreadState* __tstate = wxPyBeginAllowThreads();
29745 result = (wxPrinter *)new wxPrinter(arg1);
29746 wxPyEndAllowThreads(__tstate);
29747 if (PyErr_Occurred()) SWIG_fail;
29748 }
29749 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrinter, SWIG_POINTER_NEW | 0 );
29750 return resultobj;
29751 fail:
29752 return NULL;
29753 }
29754
29755
29756 SWIGINTERN PyObject *_wrap_delete_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29757 PyObject *resultobj = 0;
29758 wxPrinter *arg1 = (wxPrinter *) 0 ;
29759 void *argp1 = 0 ;
29760 int res1 = 0 ;
29761 PyObject *swig_obj[1] ;
29762
29763 if (!args) SWIG_fail;
29764 swig_obj[0] = args;
29765 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, SWIG_POINTER_DISOWN | 0 );
29766 if (!SWIG_IsOK(res1)) {
29767 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
29768 }
29769 arg1 = reinterpret_cast< wxPrinter * >(argp1);
29770 {
29771 PyThreadState* __tstate = wxPyBeginAllowThreads();
29772 delete arg1;
29773
29774 wxPyEndAllowThreads(__tstate);
29775 if (PyErr_Occurred()) SWIG_fail;
29776 }
29777 resultobj = SWIG_Py_Void();
29778 return resultobj;
29779 fail:
29780 return NULL;
29781 }
29782
29783
29784 SWIGINTERN PyObject *_wrap_Printer_CreateAbortWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29785 PyObject *resultobj = 0;
29786 wxPrinter *arg1 = (wxPrinter *) 0 ;
29787 wxWindow *arg2 = (wxWindow *) 0 ;
29788 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
29789 wxWindow *result = 0 ;
29790 void *argp1 = 0 ;
29791 int res1 = 0 ;
29792 void *argp2 = 0 ;
29793 int res2 = 0 ;
29794 void *argp3 = 0 ;
29795 int res3 = 0 ;
29796 PyObject * obj0 = 0 ;
29797 PyObject * obj1 = 0 ;
29798 PyObject * obj2 = 0 ;
29799 char * kwnames[] = {
29800 (char *) "self",(char *) "parent",(char *) "printout", NULL
29801 };
29802
29803 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29804 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
29805 if (!SWIG_IsOK(res1)) {
29806 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
29807 }
29808 arg1 = reinterpret_cast< wxPrinter * >(argp1);
29809 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
29810 if (!SWIG_IsOK(res2)) {
29811 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
29812 }
29813 arg2 = reinterpret_cast< wxWindow * >(argp2);
29814 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29815 if (!SWIG_IsOK(res3)) {
29816 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
29817 }
29818 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
29819 {
29820 PyThreadState* __tstate = wxPyBeginAllowThreads();
29821 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
29822 wxPyEndAllowThreads(__tstate);
29823 if (PyErr_Occurred()) SWIG_fail;
29824 }
29825 {
29826 resultobj = wxPyMake_wxObject(result, 0);
29827 }
29828 return resultobj;
29829 fail:
29830 return NULL;
29831 }
29832
29833
29834 SWIGINTERN PyObject *_wrap_Printer_ReportError(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29835 PyObject *resultobj = 0;
29836 wxPrinter *arg1 = (wxPrinter *) 0 ;
29837 wxWindow *arg2 = (wxWindow *) 0 ;
29838 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
29839 wxString *arg4 = 0 ;
29840 void *argp1 = 0 ;
29841 int res1 = 0 ;
29842 void *argp2 = 0 ;
29843 int res2 = 0 ;
29844 void *argp3 = 0 ;
29845 int res3 = 0 ;
29846 bool temp4 = false ;
29847 PyObject * obj0 = 0 ;
29848 PyObject * obj1 = 0 ;
29849 PyObject * obj2 = 0 ;
29850 PyObject * obj3 = 0 ;
29851 char * kwnames[] = {
29852 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
29853 };
29854
29855 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
29856 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
29857 if (!SWIG_IsOK(res1)) {
29858 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
29859 }
29860 arg1 = reinterpret_cast< wxPrinter * >(argp1);
29861 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
29862 if (!SWIG_IsOK(res2)) {
29863 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
29864 }
29865 arg2 = reinterpret_cast< wxWindow * >(argp2);
29866 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29867 if (!SWIG_IsOK(res3)) {
29868 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
29869 }
29870 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
29871 {
29872 arg4 = wxString_in_helper(obj3);
29873 if (arg4 == NULL) SWIG_fail;
29874 temp4 = true;
29875 }
29876 {
29877 PyThreadState* __tstate = wxPyBeginAllowThreads();
29878 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
29879 wxPyEndAllowThreads(__tstate);
29880 if (PyErr_Occurred()) SWIG_fail;
29881 }
29882 resultobj = SWIG_Py_Void();
29883 {
29884 if (temp4)
29885 delete arg4;
29886 }
29887 return resultobj;
29888 fail:
29889 {
29890 if (temp4)
29891 delete arg4;
29892 }
29893 return NULL;
29894 }
29895
29896
29897 SWIGINTERN PyObject *_wrap_Printer_Setup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29898 PyObject *resultobj = 0;
29899 wxPrinter *arg1 = (wxPrinter *) 0 ;
29900 wxWindow *arg2 = (wxWindow *) 0 ;
29901 bool result;
29902 void *argp1 = 0 ;
29903 int res1 = 0 ;
29904 void *argp2 = 0 ;
29905 int res2 = 0 ;
29906 PyObject * obj0 = 0 ;
29907 PyObject * obj1 = 0 ;
29908 char * kwnames[] = {
29909 (char *) "self",(char *) "parent", NULL
29910 };
29911
29912 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) SWIG_fail;
29913 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
29914 if (!SWIG_IsOK(res1)) {
29915 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
29916 }
29917 arg1 = reinterpret_cast< wxPrinter * >(argp1);
29918 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
29919 if (!SWIG_IsOK(res2)) {
29920 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
29921 }
29922 arg2 = reinterpret_cast< wxWindow * >(argp2);
29923 {
29924 PyThreadState* __tstate = wxPyBeginAllowThreads();
29925 result = (bool)(arg1)->Setup(arg2);
29926 wxPyEndAllowThreads(__tstate);
29927 if (PyErr_Occurred()) SWIG_fail;
29928 }
29929 {
29930 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29931 }
29932 return resultobj;
29933 fail:
29934 return NULL;
29935 }
29936
29937
29938 SWIGINTERN PyObject *_wrap_Printer_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29939 PyObject *resultobj = 0;
29940 wxPrinter *arg1 = (wxPrinter *) 0 ;
29941 wxWindow *arg2 = (wxWindow *) 0 ;
29942 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
29943 bool arg4 = (bool) true ;
29944 bool result;
29945 void *argp1 = 0 ;
29946 int res1 = 0 ;
29947 void *argp2 = 0 ;
29948 int res2 = 0 ;
29949 void *argp3 = 0 ;
29950 int res3 = 0 ;
29951 bool val4 ;
29952 int ecode4 = 0 ;
29953 PyObject * obj0 = 0 ;
29954 PyObject * obj1 = 0 ;
29955 PyObject * obj2 = 0 ;
29956 PyObject * obj3 = 0 ;
29957 char * kwnames[] = {
29958 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
29959 };
29960
29961 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
29962 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
29963 if (!SWIG_IsOK(res1)) {
29964 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
29965 }
29966 arg1 = reinterpret_cast< wxPrinter * >(argp1);
29967 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
29968 if (!SWIG_IsOK(res2)) {
29969 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
29970 }
29971 arg2 = reinterpret_cast< wxWindow * >(argp2);
29972 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29973 if (!SWIG_IsOK(res3)) {
29974 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
29975 }
29976 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
29977 if (obj3) {
29978 ecode4 = SWIG_AsVal_bool(obj3, &val4);
29979 if (!SWIG_IsOK(ecode4)) {
29980 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
29981 }
29982 arg4 = static_cast< bool >(val4);
29983 }
29984 {
29985 PyThreadState* __tstate = wxPyBeginAllowThreads();
29986 result = (bool)(arg1)->Print(arg2,arg3,arg4);
29987 wxPyEndAllowThreads(__tstate);
29988 if (PyErr_Occurred()) SWIG_fail;
29989 }
29990 {
29991 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29992 }
29993 return resultobj;
29994 fail:
29995 return NULL;
29996 }
29997
29998
29999 SWIGINTERN PyObject *_wrap_Printer_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30000 PyObject *resultobj = 0;
30001 wxPrinter *arg1 = (wxPrinter *) 0 ;
30002 wxWindow *arg2 = (wxWindow *) 0 ;
30003 wxDC *result = 0 ;
30004 void *argp1 = 0 ;
30005 int res1 = 0 ;
30006 void *argp2 = 0 ;
30007 int res2 = 0 ;
30008 PyObject * obj0 = 0 ;
30009 PyObject * obj1 = 0 ;
30010 char * kwnames[] = {
30011 (char *) "self",(char *) "parent", NULL
30012 };
30013
30014 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
30015 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
30016 if (!SWIG_IsOK(res1)) {
30017 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
30018 }
30019 arg1 = reinterpret_cast< wxPrinter * >(argp1);
30020 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
30021 if (!SWIG_IsOK(res2)) {
30022 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
30023 }
30024 arg2 = reinterpret_cast< wxWindow * >(argp2);
30025 {
30026 PyThreadState* __tstate = wxPyBeginAllowThreads();
30027 result = (wxDC *)(arg1)->PrintDialog(arg2);
30028 wxPyEndAllowThreads(__tstate);
30029 if (PyErr_Occurred()) SWIG_fail;
30030 }
30031 {
30032 resultobj = wxPyMake_wxObject(result, (bool)0);
30033 }
30034 return resultobj;
30035 fail:
30036 return NULL;
30037 }
30038
30039
30040 SWIGINTERN PyObject *_wrap_Printer_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30041 PyObject *resultobj = 0;
30042 wxPrinter *arg1 = (wxPrinter *) 0 ;
30043 wxPrintDialogData *result = 0 ;
30044 void *argp1 = 0 ;
30045 int res1 = 0 ;
30046 PyObject *swig_obj[1] ;
30047
30048 if (!args) SWIG_fail;
30049 swig_obj[0] = args;
30050 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
30051 if (!SWIG_IsOK(res1)) {
30052 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
30053 }
30054 arg1 = reinterpret_cast< wxPrinter * >(argp1);
30055 {
30056 PyThreadState* __tstate = wxPyBeginAllowThreads();
30057 {
30058 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
30059 result = (wxPrintDialogData *) &_result_ref;
30060 }
30061 wxPyEndAllowThreads(__tstate);
30062 if (PyErr_Occurred()) SWIG_fail;
30063 }
30064 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
30065 return resultobj;
30066 fail:
30067 return NULL;
30068 }
30069
30070
30071 SWIGINTERN PyObject *_wrap_Printer_GetAbort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30072 PyObject *resultobj = 0;
30073 wxPrinter *arg1 = (wxPrinter *) 0 ;
30074 bool result;
30075 void *argp1 = 0 ;
30076 int res1 = 0 ;
30077 PyObject *swig_obj[1] ;
30078
30079 if (!args) SWIG_fail;
30080 swig_obj[0] = args;
30081 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
30082 if (!SWIG_IsOK(res1)) {
30083 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
30084 }
30085 arg1 = reinterpret_cast< wxPrinter * >(argp1);
30086 {
30087 PyThreadState* __tstate = wxPyBeginAllowThreads();
30088 result = (bool)(arg1)->GetAbort();
30089 wxPyEndAllowThreads(__tstate);
30090 if (PyErr_Occurred()) SWIG_fail;
30091 }
30092 {
30093 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30094 }
30095 return resultobj;
30096 fail:
30097 return NULL;
30098 }
30099
30100
30101 SWIGINTERN PyObject *_wrap_Printer_GetLastError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30102 PyObject *resultobj = 0;
30103 wxPrinterError result;
30104
30105 if (!SWIG_Python_UnpackTuple(args,"Printer_GetLastError",0,0,0)) SWIG_fail;
30106 {
30107 PyThreadState* __tstate = wxPyBeginAllowThreads();
30108 result = (wxPrinterError)wxPrinter::GetLastError();
30109 wxPyEndAllowThreads(__tstate);
30110 if (PyErr_Occurred()) SWIG_fail;
30111 }
30112 resultobj = SWIG_From_int(static_cast< int >(result));
30113 return resultobj;
30114 fail:
30115 return NULL;
30116 }
30117
30118
30119 SWIGINTERN PyObject *Printer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30120 PyObject *obj;
30121 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30122 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter, SWIG_NewClientData(obj));
30123 return SWIG_Py_Void();
30124 }
30125
30126 SWIGINTERN PyObject *Printer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30127 return SWIG_Python_InitShadowInstance(args);
30128 }
30129
30130 SWIGINTERN PyObject *_wrap_new_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30131 PyObject *resultobj = 0;
30132 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
30133 wxString *arg1 = (wxString *) &arg1_defvalue ;
30134 wxPyPrintout *result = 0 ;
30135 bool temp1 = false ;
30136 PyObject * obj0 = 0 ;
30137 char * kwnames[] = {
30138 (char *) "title", NULL
30139 };
30140
30141 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) SWIG_fail;
30142 if (obj0) {
30143 {
30144 arg1 = wxString_in_helper(obj0);
30145 if (arg1 == NULL) SWIG_fail;
30146 temp1 = true;
30147 }
30148 }
30149 {
30150 if (!wxPyCheckForApp()) SWIG_fail;
30151 PyThreadState* __tstate = wxPyBeginAllowThreads();
30152 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
30153 wxPyEndAllowThreads(__tstate);
30154 if (PyErr_Occurred()) SWIG_fail;
30155 }
30156 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_NEW | 0 );
30157 {
30158 if (temp1)
30159 delete arg1;
30160 }
30161 return resultobj;
30162 fail:
30163 {
30164 if (temp1)
30165 delete arg1;
30166 }
30167 return NULL;
30168 }
30169
30170
30171 SWIGINTERN PyObject *_wrap_delete_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30172 PyObject *resultobj = 0;
30173 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30174 void *argp1 = 0 ;
30175 int res1 = 0 ;
30176 PyObject *swig_obj[1] ;
30177
30178 if (!args) SWIG_fail;
30179 swig_obj[0] = args;
30180 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30181 if (!SWIG_IsOK(res1)) {
30182 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30183 }
30184 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30185 {
30186 PyThreadState* __tstate = wxPyBeginAllowThreads();
30187 delete arg1;
30188
30189 wxPyEndAllowThreads(__tstate);
30190 if (PyErr_Occurred()) SWIG_fail;
30191 }
30192 resultobj = SWIG_Py_Void();
30193 return resultobj;
30194 fail:
30195 return NULL;
30196 }
30197
30198
30199 SWIGINTERN PyObject *_wrap_Printout__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30200 PyObject *resultobj = 0;
30201 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30202 PyObject *arg2 = (PyObject *) 0 ;
30203 PyObject *arg3 = (PyObject *) 0 ;
30204 void *argp1 = 0 ;
30205 int res1 = 0 ;
30206 PyObject * obj0 = 0 ;
30207 PyObject * obj1 = 0 ;
30208 PyObject * obj2 = 0 ;
30209 char * kwnames[] = {
30210 (char *) "self",(char *) "self",(char *) "_class", NULL
30211 };
30212
30213 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30214 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30215 if (!SWIG_IsOK(res1)) {
30216 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30217 }
30218 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30219 arg2 = obj1;
30220 arg3 = obj2;
30221 {
30222 PyThreadState* __tstate = wxPyBeginAllowThreads();
30223 (arg1)->_setCallbackInfo(arg2,arg3);
30224 wxPyEndAllowThreads(__tstate);
30225 if (PyErr_Occurred()) SWIG_fail;
30226 }
30227 resultobj = SWIG_Py_Void();
30228 return resultobj;
30229 fail:
30230 return NULL;
30231 }
30232
30233
30234 SWIGINTERN PyObject *_wrap_Printout_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30235 PyObject *resultobj = 0;
30236 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30237 wxString result;
30238 void *argp1 = 0 ;
30239 int res1 = 0 ;
30240 PyObject *swig_obj[1] ;
30241
30242 if (!args) SWIG_fail;
30243 swig_obj[0] = args;
30244 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30245 if (!SWIG_IsOK(res1)) {
30246 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
30247 }
30248 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30249 {
30250 PyThreadState* __tstate = wxPyBeginAllowThreads();
30251 result = ((wxPyPrintout const *)arg1)->GetTitle();
30252 wxPyEndAllowThreads(__tstate);
30253 if (PyErr_Occurred()) SWIG_fail;
30254 }
30255 {
30256 #if wxUSE_UNICODE
30257 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
30258 #else
30259 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
30260 #endif
30261 }
30262 return resultobj;
30263 fail:
30264 return NULL;
30265 }
30266
30267
30268 SWIGINTERN PyObject *_wrap_Printout_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30269 PyObject *resultobj = 0;
30270 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30271 wxDC *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_wxPyPrintout, 0 | 0 );
30279 if (!SWIG_IsOK(res1)) {
30280 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30281 }
30282 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30283 {
30284 PyThreadState* __tstate = wxPyBeginAllowThreads();
30285 result = (wxDC *)(arg1)->GetDC();
30286 wxPyEndAllowThreads(__tstate);
30287 if (PyErr_Occurred()) SWIG_fail;
30288 }
30289 {
30290 resultobj = wxPyMake_wxObject(result, (bool)0);
30291 }
30292 return resultobj;
30293 fail:
30294 return NULL;
30295 }
30296
30297
30298 SWIGINTERN PyObject *_wrap_Printout_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30299 PyObject *resultobj = 0;
30300 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30301 wxDC *arg2 = (wxDC *) 0 ;
30302 void *argp1 = 0 ;
30303 int res1 = 0 ;
30304 void *argp2 = 0 ;
30305 int res2 = 0 ;
30306 PyObject * obj0 = 0 ;
30307 PyObject * obj1 = 0 ;
30308 char * kwnames[] = {
30309 (char *) "self",(char *) "dc", NULL
30310 };
30311
30312 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) SWIG_fail;
30313 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30314 if (!SWIG_IsOK(res1)) {
30315 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30316 }
30317 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30318 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
30319 if (!SWIG_IsOK(res2)) {
30320 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
30321 }
30322 arg2 = reinterpret_cast< wxDC * >(argp2);
30323 {
30324 PyThreadState* __tstate = wxPyBeginAllowThreads();
30325 (arg1)->SetDC(arg2);
30326 wxPyEndAllowThreads(__tstate);
30327 if (PyErr_Occurred()) SWIG_fail;
30328 }
30329 resultobj = SWIG_Py_Void();
30330 return resultobj;
30331 fail:
30332 return NULL;
30333 }
30334
30335
30336 SWIGINTERN PyObject *_wrap_Printout_FitThisSizeToPaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30337 PyObject *resultobj = 0;
30338 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30339 wxSize *arg2 = 0 ;
30340 void *argp1 = 0 ;
30341 int res1 = 0 ;
30342 wxSize temp2 ;
30343 PyObject * obj0 = 0 ;
30344 PyObject * obj1 = 0 ;
30345 char * kwnames[] = {
30346 (char *) "self",(char *) "imageSize", NULL
30347 };
30348
30349 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_FitThisSizeToPaper",kwnames,&obj0,&obj1)) SWIG_fail;
30350 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30351 if (!SWIG_IsOK(res1)) {
30352 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_FitThisSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30353 }
30354 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30355 {
30356 arg2 = &temp2;
30357 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
30358 }
30359 {
30360 PyThreadState* __tstate = wxPyBeginAllowThreads();
30361 (arg1)->FitThisSizeToPaper((wxSize const &)*arg2);
30362 wxPyEndAllowThreads(__tstate);
30363 if (PyErr_Occurred()) SWIG_fail;
30364 }
30365 resultobj = SWIG_Py_Void();
30366 return resultobj;
30367 fail:
30368 return NULL;
30369 }
30370
30371
30372 SWIGINTERN PyObject *_wrap_Printout_FitThisSizeToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30373 PyObject *resultobj = 0;
30374 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30375 wxSize *arg2 = 0 ;
30376 void *argp1 = 0 ;
30377 int res1 = 0 ;
30378 wxSize temp2 ;
30379 PyObject * obj0 = 0 ;
30380 PyObject * obj1 = 0 ;
30381 char * kwnames[] = {
30382 (char *) "self",(char *) "imageSize", NULL
30383 };
30384
30385 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_FitThisSizeToPage",kwnames,&obj0,&obj1)) SWIG_fail;
30386 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30387 if (!SWIG_IsOK(res1)) {
30388 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_FitThisSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30389 }
30390 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30391 {
30392 arg2 = &temp2;
30393 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
30394 }
30395 {
30396 PyThreadState* __tstate = wxPyBeginAllowThreads();
30397 (arg1)->FitThisSizeToPage((wxSize const &)*arg2);
30398 wxPyEndAllowThreads(__tstate);
30399 if (PyErr_Occurred()) SWIG_fail;
30400 }
30401 resultobj = SWIG_Py_Void();
30402 return resultobj;
30403 fail:
30404 return NULL;
30405 }
30406
30407
30408 SWIGINTERN PyObject *_wrap_Printout_FitThisSizeToPageMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30409 PyObject *resultobj = 0;
30410 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30411 wxSize *arg2 = 0 ;
30412 wxPageSetupDialogData *arg3 = 0 ;
30413 void *argp1 = 0 ;
30414 int res1 = 0 ;
30415 wxSize temp2 ;
30416 void *argp3 = 0 ;
30417 int res3 = 0 ;
30418 PyObject * obj0 = 0 ;
30419 PyObject * obj1 = 0 ;
30420 PyObject * obj2 = 0 ;
30421 char * kwnames[] = {
30422 (char *) "self",(char *) "imageSize",(char *) "pageSetupData", NULL
30423 };
30424
30425 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_FitThisSizeToPageMargins",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30426 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30427 if (!SWIG_IsOK(res1)) {
30428 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30429 }
30430 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30431 {
30432 arg2 = &temp2;
30433 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
30434 }
30435 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
30436 if (!SWIG_IsOK(res3)) {
30437 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
30438 }
30439 if (!argp3) {
30440 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
30441 }
30442 arg3 = reinterpret_cast< wxPageSetupDialogData * >(argp3);
30443 {
30444 PyThreadState* __tstate = wxPyBeginAllowThreads();
30445 (arg1)->FitThisSizeToPageMargins((wxSize const &)*arg2,(wxPageSetupDialogData const &)*arg3);
30446 wxPyEndAllowThreads(__tstate);
30447 if (PyErr_Occurred()) SWIG_fail;
30448 }
30449 resultobj = SWIG_Py_Void();
30450 return resultobj;
30451 fail:
30452 return NULL;
30453 }
30454
30455
30456 SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToPaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30457 PyObject *resultobj = 0;
30458 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30459 void *argp1 = 0 ;
30460 int res1 = 0 ;
30461 PyObject *swig_obj[1] ;
30462
30463 if (!args) SWIG_fail;
30464 swig_obj[0] = args;
30465 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30466 if (!SWIG_IsOK(res1)) {
30467 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30468 }
30469 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30470 {
30471 PyThreadState* __tstate = wxPyBeginAllowThreads();
30472 (arg1)->MapScreenSizeToPaper();
30473 wxPyEndAllowThreads(__tstate);
30474 if (PyErr_Occurred()) SWIG_fail;
30475 }
30476 resultobj = SWIG_Py_Void();
30477 return resultobj;
30478 fail:
30479 return NULL;
30480 }
30481
30482
30483 SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30484 PyObject *resultobj = 0;
30485 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30486 void *argp1 = 0 ;
30487 int res1 = 0 ;
30488 PyObject *swig_obj[1] ;
30489
30490 if (!args) SWIG_fail;
30491 swig_obj[0] = args;
30492 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30493 if (!SWIG_IsOK(res1)) {
30494 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30495 }
30496 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30497 {
30498 PyThreadState* __tstate = wxPyBeginAllowThreads();
30499 (arg1)->MapScreenSizeToPage();
30500 wxPyEndAllowThreads(__tstate);
30501 if (PyErr_Occurred()) SWIG_fail;
30502 }
30503 resultobj = SWIG_Py_Void();
30504 return resultobj;
30505 fail:
30506 return NULL;
30507 }
30508
30509
30510 SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToPageMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30511 PyObject *resultobj = 0;
30512 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30513 wxPageSetupDialogData *arg2 = 0 ;
30514 void *argp1 = 0 ;
30515 int res1 = 0 ;
30516 void *argp2 = 0 ;
30517 int res2 = 0 ;
30518 PyObject * obj0 = 0 ;
30519 PyObject * obj1 = 0 ;
30520 char * kwnames[] = {
30521 (char *) "self",(char *) "pageSetupData", NULL
30522 };
30523
30524 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_MapScreenSizeToPageMargins",kwnames,&obj0,&obj1)) SWIG_fail;
30525 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30526 if (!SWIG_IsOK(res1)) {
30527 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30528 }
30529 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30530 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
30531 if (!SWIG_IsOK(res2)) {
30532 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
30533 }
30534 if (!argp2) {
30535 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
30536 }
30537 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
30538 {
30539 PyThreadState* __tstate = wxPyBeginAllowThreads();
30540 (arg1)->MapScreenSizeToPageMargins((wxPageSetupDialogData const &)*arg2);
30541 wxPyEndAllowThreads(__tstate);
30542 if (PyErr_Occurred()) SWIG_fail;
30543 }
30544 resultobj = SWIG_Py_Void();
30545 return resultobj;
30546 fail:
30547 return NULL;
30548 }
30549
30550
30551 SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToDevice(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30552 PyObject *resultobj = 0;
30553 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30554 void *argp1 = 0 ;
30555 int res1 = 0 ;
30556 PyObject *swig_obj[1] ;
30557
30558 if (!args) SWIG_fail;
30559 swig_obj[0] = args;
30560 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30561 if (!SWIG_IsOK(res1)) {
30562 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToDevice" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30563 }
30564 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30565 {
30566 PyThreadState* __tstate = wxPyBeginAllowThreads();
30567 (arg1)->MapScreenSizeToDevice();
30568 wxPyEndAllowThreads(__tstate);
30569 if (PyErr_Occurred()) SWIG_fail;
30570 }
30571 resultobj = SWIG_Py_Void();
30572 return resultobj;
30573 fail:
30574 return NULL;
30575 }
30576
30577
30578 SWIGINTERN PyObject *_wrap_Printout_GetLogicalPaperRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30579 PyObject *resultobj = 0;
30580 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30581 wxRect result;
30582 void *argp1 = 0 ;
30583 int res1 = 0 ;
30584 PyObject *swig_obj[1] ;
30585
30586 if (!args) SWIG_fail;
30587 swig_obj[0] = args;
30588 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30589 if (!SWIG_IsOK(res1)) {
30590 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetLogicalPaperRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
30591 }
30592 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30593 {
30594 PyThreadState* __tstate = wxPyBeginAllowThreads();
30595 result = ((wxPyPrintout const *)arg1)->GetLogicalPaperRect();
30596 wxPyEndAllowThreads(__tstate);
30597 if (PyErr_Occurred()) SWIG_fail;
30598 }
30599 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
30600 return resultobj;
30601 fail:
30602 return NULL;
30603 }
30604
30605
30606 SWIGINTERN PyObject *_wrap_Printout_GetLogicalPageRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30607 PyObject *resultobj = 0;
30608 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30609 wxRect result;
30610 void *argp1 = 0 ;
30611 int res1 = 0 ;
30612 PyObject *swig_obj[1] ;
30613
30614 if (!args) SWIG_fail;
30615 swig_obj[0] = args;
30616 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30617 if (!SWIG_IsOK(res1)) {
30618 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetLogicalPageRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
30619 }
30620 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30621 {
30622 PyThreadState* __tstate = wxPyBeginAllowThreads();
30623 result = ((wxPyPrintout const *)arg1)->GetLogicalPageRect();
30624 wxPyEndAllowThreads(__tstate);
30625 if (PyErr_Occurred()) SWIG_fail;
30626 }
30627 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
30628 return resultobj;
30629 fail:
30630 return NULL;
30631 }
30632
30633
30634 SWIGINTERN PyObject *_wrap_Printout_GetLogicalPageMarginsRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30635 PyObject *resultobj = 0;
30636 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30637 wxPageSetupDialogData *arg2 = 0 ;
30638 wxRect result;
30639 void *argp1 = 0 ;
30640 int res1 = 0 ;
30641 void *argp2 = 0 ;
30642 int res2 = 0 ;
30643 PyObject * obj0 = 0 ;
30644 PyObject * obj1 = 0 ;
30645 char * kwnames[] = {
30646 (char *) "self",(char *) "pageSetupData", NULL
30647 };
30648
30649 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_GetLogicalPageMarginsRect",kwnames,&obj0,&obj1)) SWIG_fail;
30650 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30651 if (!SWIG_IsOK(res1)) {
30652 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
30653 }
30654 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30655 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
30656 if (!SWIG_IsOK(res2)) {
30657 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
30658 }
30659 if (!argp2) {
30660 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
30661 }
30662 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
30663 {
30664 PyThreadState* __tstate = wxPyBeginAllowThreads();
30665 result = ((wxPyPrintout const *)arg1)->GetLogicalPageMarginsRect((wxPageSetupDialogData const &)*arg2);
30666 wxPyEndAllowThreads(__tstate);
30667 if (PyErr_Occurred()) SWIG_fail;
30668 }
30669 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
30670 return resultobj;
30671 fail:
30672 return NULL;
30673 }
30674
30675
30676 SWIGINTERN PyObject *_wrap_Printout_SetLogicalOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30677 PyObject *resultobj = 0;
30678 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30679 int arg2 ;
30680 int arg3 ;
30681 void *argp1 = 0 ;
30682 int res1 = 0 ;
30683 int val2 ;
30684 int ecode2 = 0 ;
30685 int val3 ;
30686 int ecode3 = 0 ;
30687 PyObject * obj0 = 0 ;
30688 PyObject * obj1 = 0 ;
30689 PyObject * obj2 = 0 ;
30690 char * kwnames[] = {
30691 (char *) "self",(char *) "x",(char *) "y", NULL
30692 };
30693
30694 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetLogicalOrigin",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30695 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30696 if (!SWIG_IsOK(res1)) {
30697 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30698 }
30699 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30700 ecode2 = SWIG_AsVal_int(obj1, &val2);
30701 if (!SWIG_IsOK(ecode2)) {
30702 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
30703 }
30704 arg2 = static_cast< int >(val2);
30705 ecode3 = SWIG_AsVal_int(obj2, &val3);
30706 if (!SWIG_IsOK(ecode3)) {
30707 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
30708 }
30709 arg3 = static_cast< int >(val3);
30710 {
30711 PyThreadState* __tstate = wxPyBeginAllowThreads();
30712 (arg1)->SetLogicalOrigin(arg2,arg3);
30713 wxPyEndAllowThreads(__tstate);
30714 if (PyErr_Occurred()) SWIG_fail;
30715 }
30716 resultobj = SWIG_Py_Void();
30717 return resultobj;
30718 fail:
30719 return NULL;
30720 }
30721
30722
30723 SWIGINTERN PyObject *_wrap_Printout_OffsetLogicalOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30724 PyObject *resultobj = 0;
30725 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30726 int arg2 ;
30727 int arg3 ;
30728 void *argp1 = 0 ;
30729 int res1 = 0 ;
30730 int val2 ;
30731 int ecode2 = 0 ;
30732 int val3 ;
30733 int ecode3 = 0 ;
30734 PyObject * obj0 = 0 ;
30735 PyObject * obj1 = 0 ;
30736 PyObject * obj2 = 0 ;
30737 char * kwnames[] = {
30738 (char *) "self",(char *) "xoff",(char *) "yoff", NULL
30739 };
30740
30741 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OffsetLogicalOrigin",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30742 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30743 if (!SWIG_IsOK(res1)) {
30744 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30745 }
30746 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30747 ecode2 = SWIG_AsVal_int(obj1, &val2);
30748 if (!SWIG_IsOK(ecode2)) {
30749 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
30750 }
30751 arg2 = static_cast< int >(val2);
30752 ecode3 = SWIG_AsVal_int(obj2, &val3);
30753 if (!SWIG_IsOK(ecode3)) {
30754 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
30755 }
30756 arg3 = static_cast< int >(val3);
30757 {
30758 PyThreadState* __tstate = wxPyBeginAllowThreads();
30759 (arg1)->OffsetLogicalOrigin(arg2,arg3);
30760 wxPyEndAllowThreads(__tstate);
30761 if (PyErr_Occurred()) SWIG_fail;
30762 }
30763 resultobj = SWIG_Py_Void();
30764 return resultobj;
30765 fail:
30766 return NULL;
30767 }
30768
30769
30770 SWIGINTERN PyObject *_wrap_Printout_SetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30771 PyObject *resultobj = 0;
30772 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30773 int arg2 ;
30774 int arg3 ;
30775 void *argp1 = 0 ;
30776 int res1 = 0 ;
30777 int val2 ;
30778 int ecode2 = 0 ;
30779 int val3 ;
30780 int ecode3 = 0 ;
30781 PyObject * obj0 = 0 ;
30782 PyObject * obj1 = 0 ;
30783 PyObject * obj2 = 0 ;
30784 char * kwnames[] = {
30785 (char *) "self",(char *) "w",(char *) "h", NULL
30786 };
30787
30788 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30789 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30790 if (!SWIG_IsOK(res1)) {
30791 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30792 }
30793 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30794 ecode2 = SWIG_AsVal_int(obj1, &val2);
30795 if (!SWIG_IsOK(ecode2)) {
30796 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
30797 }
30798 arg2 = static_cast< int >(val2);
30799 ecode3 = SWIG_AsVal_int(obj2, &val3);
30800 if (!SWIG_IsOK(ecode3)) {
30801 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
30802 }
30803 arg3 = static_cast< int >(val3);
30804 {
30805 PyThreadState* __tstate = wxPyBeginAllowThreads();
30806 (arg1)->SetPageSizePixels(arg2,arg3);
30807 wxPyEndAllowThreads(__tstate);
30808 if (PyErr_Occurred()) SWIG_fail;
30809 }
30810 resultobj = SWIG_Py_Void();
30811 return resultobj;
30812 fail:
30813 return NULL;
30814 }
30815
30816
30817 SWIGINTERN PyObject *_wrap_Printout_GetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30818 PyObject *resultobj = 0;
30819 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30820 int *arg2 = (int *) 0 ;
30821 int *arg3 = (int *) 0 ;
30822 void *argp1 = 0 ;
30823 int res1 = 0 ;
30824 int temp2 ;
30825 int res2 = SWIG_TMPOBJ ;
30826 int temp3 ;
30827 int res3 = SWIG_TMPOBJ ;
30828 PyObject *swig_obj[1] ;
30829
30830 arg2 = &temp2;
30831 arg3 = &temp3;
30832 if (!args) SWIG_fail;
30833 swig_obj[0] = args;
30834 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30835 if (!SWIG_IsOK(res1)) {
30836 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30837 }
30838 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30839 {
30840 PyThreadState* __tstate = wxPyBeginAllowThreads();
30841 (arg1)->GetPageSizePixels(arg2,arg3);
30842 wxPyEndAllowThreads(__tstate);
30843 if (PyErr_Occurred()) SWIG_fail;
30844 }
30845 resultobj = SWIG_Py_Void();
30846 if (SWIG_IsTmpObj(res2)) {
30847 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
30848 } else {
30849 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
30850 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
30851 }
30852 if (SWIG_IsTmpObj(res3)) {
30853 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
30854 } else {
30855 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
30856 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
30857 }
30858 return resultobj;
30859 fail:
30860 return NULL;
30861 }
30862
30863
30864 SWIGINTERN PyObject *_wrap_Printout_SetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30865 PyObject *resultobj = 0;
30866 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30867 int arg2 ;
30868 int arg3 ;
30869 void *argp1 = 0 ;
30870 int res1 = 0 ;
30871 int val2 ;
30872 int ecode2 = 0 ;
30873 int val3 ;
30874 int ecode3 = 0 ;
30875 PyObject * obj0 = 0 ;
30876 PyObject * obj1 = 0 ;
30877 PyObject * obj2 = 0 ;
30878 char * kwnames[] = {
30879 (char *) "self",(char *) "w",(char *) "h", NULL
30880 };
30881
30882 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30883 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30884 if (!SWIG_IsOK(res1)) {
30885 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30886 }
30887 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30888 ecode2 = SWIG_AsVal_int(obj1, &val2);
30889 if (!SWIG_IsOK(ecode2)) {
30890 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
30891 }
30892 arg2 = static_cast< int >(val2);
30893 ecode3 = SWIG_AsVal_int(obj2, &val3);
30894 if (!SWIG_IsOK(ecode3)) {
30895 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
30896 }
30897 arg3 = static_cast< int >(val3);
30898 {
30899 PyThreadState* __tstate = wxPyBeginAllowThreads();
30900 (arg1)->SetPageSizeMM(arg2,arg3);
30901 wxPyEndAllowThreads(__tstate);
30902 if (PyErr_Occurred()) SWIG_fail;
30903 }
30904 resultobj = SWIG_Py_Void();
30905 return resultobj;
30906 fail:
30907 return NULL;
30908 }
30909
30910
30911 SWIGINTERN PyObject *_wrap_Printout_GetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30912 PyObject *resultobj = 0;
30913 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30914 int *arg2 = (int *) 0 ;
30915 int *arg3 = (int *) 0 ;
30916 void *argp1 = 0 ;
30917 int res1 = 0 ;
30918 int temp2 ;
30919 int res2 = SWIG_TMPOBJ ;
30920 int temp3 ;
30921 int res3 = SWIG_TMPOBJ ;
30922 PyObject *swig_obj[1] ;
30923
30924 arg2 = &temp2;
30925 arg3 = &temp3;
30926 if (!args) SWIG_fail;
30927 swig_obj[0] = args;
30928 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30929 if (!SWIG_IsOK(res1)) {
30930 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30931 }
30932 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30933 {
30934 PyThreadState* __tstate = wxPyBeginAllowThreads();
30935 (arg1)->GetPageSizeMM(arg2,arg3);
30936 wxPyEndAllowThreads(__tstate);
30937 if (PyErr_Occurred()) SWIG_fail;
30938 }
30939 resultobj = SWIG_Py_Void();
30940 if (SWIG_IsTmpObj(res2)) {
30941 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
30942 } else {
30943 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
30944 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
30945 }
30946 if (SWIG_IsTmpObj(res3)) {
30947 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
30948 } else {
30949 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
30950 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
30951 }
30952 return resultobj;
30953 fail:
30954 return NULL;
30955 }
30956
30957
30958 SWIGINTERN PyObject *_wrap_Printout_SetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30959 PyObject *resultobj = 0;
30960 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30961 int arg2 ;
30962 int arg3 ;
30963 void *argp1 = 0 ;
30964 int res1 = 0 ;
30965 int val2 ;
30966 int ecode2 = 0 ;
30967 int val3 ;
30968 int ecode3 = 0 ;
30969 PyObject * obj0 = 0 ;
30970 PyObject * obj1 = 0 ;
30971 PyObject * obj2 = 0 ;
30972 char * kwnames[] = {
30973 (char *) "self",(char *) "x",(char *) "y", NULL
30974 };
30975
30976 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30977 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30978 if (!SWIG_IsOK(res1)) {
30979 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30980 }
30981 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30982 ecode2 = SWIG_AsVal_int(obj1, &val2);
30983 if (!SWIG_IsOK(ecode2)) {
30984 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
30985 }
30986 arg2 = static_cast< int >(val2);
30987 ecode3 = SWIG_AsVal_int(obj2, &val3);
30988 if (!SWIG_IsOK(ecode3)) {
30989 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
30990 }
30991 arg3 = static_cast< int >(val3);
30992 {
30993 PyThreadState* __tstate = wxPyBeginAllowThreads();
30994 (arg1)->SetPPIScreen(arg2,arg3);
30995 wxPyEndAllowThreads(__tstate);
30996 if (PyErr_Occurred()) SWIG_fail;
30997 }
30998 resultobj = SWIG_Py_Void();
30999 return resultobj;
31000 fail:
31001 return NULL;
31002 }
31003
31004
31005 SWIGINTERN PyObject *_wrap_Printout_GetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31006 PyObject *resultobj = 0;
31007 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31008 int *arg2 = (int *) 0 ;
31009 int *arg3 = (int *) 0 ;
31010 void *argp1 = 0 ;
31011 int res1 = 0 ;
31012 int temp2 ;
31013 int res2 = SWIG_TMPOBJ ;
31014 int temp3 ;
31015 int res3 = SWIG_TMPOBJ ;
31016 PyObject *swig_obj[1] ;
31017
31018 arg2 = &temp2;
31019 arg3 = &temp3;
31020 if (!args) SWIG_fail;
31021 swig_obj[0] = args;
31022 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31023 if (!SWIG_IsOK(res1)) {
31024 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31025 }
31026 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31027 {
31028 PyThreadState* __tstate = wxPyBeginAllowThreads();
31029 (arg1)->GetPPIScreen(arg2,arg3);
31030 wxPyEndAllowThreads(__tstate);
31031 if (PyErr_Occurred()) SWIG_fail;
31032 }
31033 resultobj = SWIG_Py_Void();
31034 if (SWIG_IsTmpObj(res2)) {
31035 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
31036 } else {
31037 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31038 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
31039 }
31040 if (SWIG_IsTmpObj(res3)) {
31041 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
31042 } else {
31043 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31044 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
31045 }
31046 return resultobj;
31047 fail:
31048 return NULL;
31049 }
31050
31051
31052 SWIGINTERN PyObject *_wrap_Printout_SetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31053 PyObject *resultobj = 0;
31054 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31055 int arg2 ;
31056 int arg3 ;
31057 void *argp1 = 0 ;
31058 int res1 = 0 ;
31059 int val2 ;
31060 int ecode2 = 0 ;
31061 int val3 ;
31062 int ecode3 = 0 ;
31063 PyObject * obj0 = 0 ;
31064 PyObject * obj1 = 0 ;
31065 PyObject * obj2 = 0 ;
31066 char * kwnames[] = {
31067 (char *) "self",(char *) "x",(char *) "y", NULL
31068 };
31069
31070 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31071 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31072 if (!SWIG_IsOK(res1)) {
31073 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31074 }
31075 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31076 ecode2 = SWIG_AsVal_int(obj1, &val2);
31077 if (!SWIG_IsOK(ecode2)) {
31078 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
31079 }
31080 arg2 = static_cast< int >(val2);
31081 ecode3 = SWIG_AsVal_int(obj2, &val3);
31082 if (!SWIG_IsOK(ecode3)) {
31083 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
31084 }
31085 arg3 = static_cast< int >(val3);
31086 {
31087 PyThreadState* __tstate = wxPyBeginAllowThreads();
31088 (arg1)->SetPPIPrinter(arg2,arg3);
31089 wxPyEndAllowThreads(__tstate);
31090 if (PyErr_Occurred()) SWIG_fail;
31091 }
31092 resultobj = SWIG_Py_Void();
31093 return resultobj;
31094 fail:
31095 return NULL;
31096 }
31097
31098
31099 SWIGINTERN PyObject *_wrap_Printout_GetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31100 PyObject *resultobj = 0;
31101 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31102 int *arg2 = (int *) 0 ;
31103 int *arg3 = (int *) 0 ;
31104 void *argp1 = 0 ;
31105 int res1 = 0 ;
31106 int temp2 ;
31107 int res2 = SWIG_TMPOBJ ;
31108 int temp3 ;
31109 int res3 = SWIG_TMPOBJ ;
31110 PyObject *swig_obj[1] ;
31111
31112 arg2 = &temp2;
31113 arg3 = &temp3;
31114 if (!args) SWIG_fail;
31115 swig_obj[0] = args;
31116 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31117 if (!SWIG_IsOK(res1)) {
31118 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31119 }
31120 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31121 {
31122 PyThreadState* __tstate = wxPyBeginAllowThreads();
31123 (arg1)->GetPPIPrinter(arg2,arg3);
31124 wxPyEndAllowThreads(__tstate);
31125 if (PyErr_Occurred()) SWIG_fail;
31126 }
31127 resultobj = SWIG_Py_Void();
31128 if (SWIG_IsTmpObj(res2)) {
31129 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
31130 } else {
31131 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31132 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
31133 }
31134 if (SWIG_IsTmpObj(res3)) {
31135 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
31136 } else {
31137 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31138 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
31139 }
31140 return resultobj;
31141 fail:
31142 return NULL;
31143 }
31144
31145
31146 SWIGINTERN PyObject *_wrap_Printout_SetPaperRectPixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31147 PyObject *resultobj = 0;
31148 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31149 wxRect *arg2 = 0 ;
31150 void *argp1 = 0 ;
31151 int res1 = 0 ;
31152 wxRect temp2 ;
31153 PyObject * obj0 = 0 ;
31154 PyObject * obj1 = 0 ;
31155 char * kwnames[] = {
31156 (char *) "self",(char *) "paperRectPixels", NULL
31157 };
31158
31159 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetPaperRectPixels",kwnames,&obj0,&obj1)) SWIG_fail;
31160 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31161 if (!SWIG_IsOK(res1)) {
31162 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31163 }
31164 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31165 {
31166 arg2 = &temp2;
31167 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
31168 }
31169 {
31170 PyThreadState* __tstate = wxPyBeginAllowThreads();
31171 (arg1)->SetPaperRectPixels((wxRect const &)*arg2);
31172 wxPyEndAllowThreads(__tstate);
31173 if (PyErr_Occurred()) SWIG_fail;
31174 }
31175 resultobj = SWIG_Py_Void();
31176 return resultobj;
31177 fail:
31178 return NULL;
31179 }
31180
31181
31182 SWIGINTERN PyObject *_wrap_Printout_GetPaperRectPixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31183 PyObject *resultobj = 0;
31184 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31185 wxRect result;
31186 void *argp1 = 0 ;
31187 int res1 = 0 ;
31188 PyObject *swig_obj[1] ;
31189
31190 if (!args) SWIG_fail;
31191 swig_obj[0] = args;
31192 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31193 if (!SWIG_IsOK(res1)) {
31194 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
31195 }
31196 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31197 {
31198 PyThreadState* __tstate = wxPyBeginAllowThreads();
31199 result = ((wxPyPrintout const *)arg1)->GetPaperRectPixels();
31200 wxPyEndAllowThreads(__tstate);
31201 if (PyErr_Occurred()) SWIG_fail;
31202 }
31203 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
31204 return resultobj;
31205 fail:
31206 return NULL;
31207 }
31208
31209
31210 SWIGINTERN PyObject *_wrap_Printout_IsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31211 PyObject *resultobj = 0;
31212 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31213 bool result;
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_wxPyPrintout, 0 | 0 );
31221 if (!SWIG_IsOK(res1)) {
31222 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31223 }
31224 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31225 {
31226 PyThreadState* __tstate = wxPyBeginAllowThreads();
31227 result = (bool)(arg1)->IsPreview();
31228 wxPyEndAllowThreads(__tstate);
31229 if (PyErr_Occurred()) SWIG_fail;
31230 }
31231 {
31232 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31233 }
31234 return resultobj;
31235 fail:
31236 return NULL;
31237 }
31238
31239
31240 SWIGINTERN PyObject *_wrap_Printout_SetIsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31241 PyObject *resultobj = 0;
31242 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31243 bool arg2 ;
31244 void *argp1 = 0 ;
31245 int res1 = 0 ;
31246 bool val2 ;
31247 int ecode2 = 0 ;
31248 PyObject * obj0 = 0 ;
31249 PyObject * obj1 = 0 ;
31250 char * kwnames[] = {
31251 (char *) "self",(char *) "p", NULL
31252 };
31253
31254 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) SWIG_fail;
31255 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31256 if (!SWIG_IsOK(res1)) {
31257 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31258 }
31259 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31260 ecode2 = SWIG_AsVal_bool(obj1, &val2);
31261 if (!SWIG_IsOK(ecode2)) {
31262 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
31263 }
31264 arg2 = static_cast< bool >(val2);
31265 {
31266 PyThreadState* __tstate = wxPyBeginAllowThreads();
31267 (arg1)->SetIsPreview(arg2);
31268 wxPyEndAllowThreads(__tstate);
31269 if (PyErr_Occurred()) SWIG_fail;
31270 }
31271 resultobj = SWIG_Py_Void();
31272 return resultobj;
31273 fail:
31274 return NULL;
31275 }
31276
31277
31278 SWIGINTERN PyObject *_wrap_Printout_OnBeginDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31279 PyObject *resultobj = 0;
31280 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31281 int arg2 ;
31282 int arg3 ;
31283 bool result;
31284 void *argp1 = 0 ;
31285 int res1 = 0 ;
31286 int val2 ;
31287 int ecode2 = 0 ;
31288 int val3 ;
31289 int ecode3 = 0 ;
31290 PyObject * obj0 = 0 ;
31291 PyObject * obj1 = 0 ;
31292 PyObject * obj2 = 0 ;
31293 char * kwnames[] = {
31294 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
31295 };
31296
31297 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31298 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31299 if (!SWIG_IsOK(res1)) {
31300 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31301 }
31302 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31303 ecode2 = SWIG_AsVal_int(obj1, &val2);
31304 if (!SWIG_IsOK(ecode2)) {
31305 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
31306 }
31307 arg2 = static_cast< int >(val2);
31308 ecode3 = SWIG_AsVal_int(obj2, &val3);
31309 if (!SWIG_IsOK(ecode3)) {
31310 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
31311 }
31312 arg3 = static_cast< int >(val3);
31313 {
31314 PyThreadState* __tstate = wxPyBeginAllowThreads();
31315 result = (bool)(arg1)->OnBeginDocument(arg2,arg3);
31316 wxPyEndAllowThreads(__tstate);
31317 if (PyErr_Occurred()) SWIG_fail;
31318 }
31319 {
31320 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31321 }
31322 return resultobj;
31323 fail:
31324 return NULL;
31325 }
31326
31327
31328 SWIGINTERN PyObject *_wrap_Printout_OnEndDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31329 PyObject *resultobj = 0;
31330 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31331 void *argp1 = 0 ;
31332 int res1 = 0 ;
31333 PyObject *swig_obj[1] ;
31334
31335 if (!args) SWIG_fail;
31336 swig_obj[0] = args;
31337 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31338 if (!SWIG_IsOK(res1)) {
31339 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31340 }
31341 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31342 {
31343 PyThreadState* __tstate = wxPyBeginAllowThreads();
31344 (arg1)->OnEndDocument();
31345 wxPyEndAllowThreads(__tstate);
31346 if (PyErr_Occurred()) SWIG_fail;
31347 }
31348 resultobj = SWIG_Py_Void();
31349 return resultobj;
31350 fail:
31351 return NULL;
31352 }
31353
31354
31355 SWIGINTERN PyObject *_wrap_Printout_OnBeginPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31356 PyObject *resultobj = 0;
31357 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31358 void *argp1 = 0 ;
31359 int res1 = 0 ;
31360 PyObject *swig_obj[1] ;
31361
31362 if (!args) SWIG_fail;
31363 swig_obj[0] = args;
31364 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31365 if (!SWIG_IsOK(res1)) {
31366 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31367 }
31368 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31369 {
31370 PyThreadState* __tstate = wxPyBeginAllowThreads();
31371 (arg1)->OnBeginPrinting();
31372 wxPyEndAllowThreads(__tstate);
31373 if (PyErr_Occurred()) SWIG_fail;
31374 }
31375 resultobj = SWIG_Py_Void();
31376 return resultobj;
31377 fail:
31378 return NULL;
31379 }
31380
31381
31382 SWIGINTERN PyObject *_wrap_Printout_OnEndPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31383 PyObject *resultobj = 0;
31384 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31385 void *argp1 = 0 ;
31386 int res1 = 0 ;
31387 PyObject *swig_obj[1] ;
31388
31389 if (!args) SWIG_fail;
31390 swig_obj[0] = args;
31391 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31392 if (!SWIG_IsOK(res1)) {
31393 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31394 }
31395 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31396 {
31397 PyThreadState* __tstate = wxPyBeginAllowThreads();
31398 (arg1)->OnEndPrinting();
31399 wxPyEndAllowThreads(__tstate);
31400 if (PyErr_Occurred()) SWIG_fail;
31401 }
31402 resultobj = SWIG_Py_Void();
31403 return resultobj;
31404 fail:
31405 return NULL;
31406 }
31407
31408
31409 SWIGINTERN PyObject *_wrap_Printout_OnPreparePrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31410 PyObject *resultobj = 0;
31411 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31412 void *argp1 = 0 ;
31413 int res1 = 0 ;
31414 PyObject *swig_obj[1] ;
31415
31416 if (!args) SWIG_fail;
31417 swig_obj[0] = args;
31418 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31419 if (!SWIG_IsOK(res1)) {
31420 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31421 }
31422 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31423 {
31424 PyThreadState* __tstate = wxPyBeginAllowThreads();
31425 (arg1)->OnPreparePrinting();
31426 wxPyEndAllowThreads(__tstate);
31427 if (PyErr_Occurred()) SWIG_fail;
31428 }
31429 resultobj = SWIG_Py_Void();
31430 return resultobj;
31431 fail:
31432 return NULL;
31433 }
31434
31435
31436 SWIGINTERN PyObject *_wrap_Printout_HasPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31437 PyObject *resultobj = 0;
31438 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31439 int arg2 ;
31440 bool result;
31441 void *argp1 = 0 ;
31442 int res1 = 0 ;
31443 int val2 ;
31444 int ecode2 = 0 ;
31445 PyObject * obj0 = 0 ;
31446 PyObject * obj1 = 0 ;
31447 char * kwnames[] = {
31448 (char *) "self",(char *) "page", NULL
31449 };
31450
31451 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_HasPage",kwnames,&obj0,&obj1)) SWIG_fail;
31452 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31453 if (!SWIG_IsOK(res1)) {
31454 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31455 }
31456 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31457 ecode2 = SWIG_AsVal_int(obj1, &val2);
31458 if (!SWIG_IsOK(ecode2)) {
31459 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
31460 }
31461 arg2 = static_cast< int >(val2);
31462 {
31463 PyThreadState* __tstate = wxPyBeginAllowThreads();
31464 result = (bool)(arg1)->HasPage(arg2);
31465 wxPyEndAllowThreads(__tstate);
31466 if (PyErr_Occurred()) SWIG_fail;
31467 }
31468 {
31469 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31470 }
31471 return resultobj;
31472 fail:
31473 return NULL;
31474 }
31475
31476
31477 SWIGINTERN PyObject *_wrap_Printout_GetPageInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31478 PyObject *resultobj = 0;
31479 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31480 int *arg2 = (int *) 0 ;
31481 int *arg3 = (int *) 0 ;
31482 int *arg4 = (int *) 0 ;
31483 int *arg5 = (int *) 0 ;
31484 void *argp1 = 0 ;
31485 int res1 = 0 ;
31486 int temp2 ;
31487 int res2 = SWIG_TMPOBJ ;
31488 int temp3 ;
31489 int res3 = SWIG_TMPOBJ ;
31490 int temp4 ;
31491 int res4 = SWIG_TMPOBJ ;
31492 int temp5 ;
31493 int res5 = SWIG_TMPOBJ ;
31494 PyObject *swig_obj[1] ;
31495
31496 arg2 = &temp2;
31497 arg3 = &temp3;
31498 arg4 = &temp4;
31499 arg5 = &temp5;
31500 if (!args) SWIG_fail;
31501 swig_obj[0] = args;
31502 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31503 if (!SWIG_IsOK(res1)) {
31504 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31505 }
31506 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31507 {
31508 PyThreadState* __tstate = wxPyBeginAllowThreads();
31509 (arg1)->GetPageInfo(arg2,arg3,arg4,arg5);
31510 wxPyEndAllowThreads(__tstate);
31511 if (PyErr_Occurred()) SWIG_fail;
31512 }
31513 resultobj = SWIG_Py_Void();
31514 if (SWIG_IsTmpObj(res2)) {
31515 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
31516 } else {
31517 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31518 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
31519 }
31520 if (SWIG_IsTmpObj(res3)) {
31521 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
31522 } else {
31523 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31524 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
31525 }
31526 if (SWIG_IsTmpObj(res4)) {
31527 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
31528 } else {
31529 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31530 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
31531 }
31532 if (SWIG_IsTmpObj(res5)) {
31533 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
31534 } else {
31535 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31536 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
31537 }
31538 return resultobj;
31539 fail:
31540 return NULL;
31541 }
31542
31543
31544 SWIGINTERN PyObject *Printout_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31545 PyObject *obj;
31546 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31547 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout, SWIG_NewClientData(obj));
31548 return SWIG_Py_Void();
31549 }
31550
31551 SWIGINTERN PyObject *Printout_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31552 return SWIG_Python_InitShadowInstance(args);
31553 }
31554
31555 SWIGINTERN PyObject *_wrap_new_PreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31556 PyObject *resultobj = 0;
31557 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
31558 wxWindow *arg2 = (wxWindow *) 0 ;
31559 wxPoint const &arg3_defvalue = wxDefaultPosition ;
31560 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
31561 wxSize const &arg4_defvalue = wxDefaultSize ;
31562 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
31563 long arg5 = (long) 0 ;
31564 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
31565 wxString *arg6 = (wxString *) &arg6_defvalue ;
31566 wxPreviewCanvas *result = 0 ;
31567 void *argp1 = 0 ;
31568 int res1 = 0 ;
31569 void *argp2 = 0 ;
31570 int res2 = 0 ;
31571 wxPoint temp3 ;
31572 wxSize temp4 ;
31573 long val5 ;
31574 int ecode5 = 0 ;
31575 bool temp6 = false ;
31576 PyObject * obj0 = 0 ;
31577 PyObject * obj1 = 0 ;
31578 PyObject * obj2 = 0 ;
31579 PyObject * obj3 = 0 ;
31580 PyObject * obj4 = 0 ;
31581 PyObject * obj5 = 0 ;
31582 char * kwnames[] = {
31583 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31584 };
31585
31586 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
31587 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
31588 if (!SWIG_IsOK(res1)) {
31589 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31590 }
31591 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
31592 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
31593 if (!SWIG_IsOK(res2)) {
31594 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
31595 }
31596 arg2 = reinterpret_cast< wxWindow * >(argp2);
31597 if (obj2) {
31598 {
31599 arg3 = &temp3;
31600 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
31601 }
31602 }
31603 if (obj3) {
31604 {
31605 arg4 = &temp4;
31606 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
31607 }
31608 }
31609 if (obj4) {
31610 ecode5 = SWIG_AsVal_long(obj4, &val5);
31611 if (!SWIG_IsOK(ecode5)) {
31612 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
31613 }
31614 arg5 = static_cast< long >(val5);
31615 }
31616 if (obj5) {
31617 {
31618 arg6 = wxString_in_helper(obj5);
31619 if (arg6 == NULL) SWIG_fail;
31620 temp6 = true;
31621 }
31622 }
31623 {
31624 if (!wxPyCheckForApp()) SWIG_fail;
31625 PyThreadState* __tstate = wxPyBeginAllowThreads();
31626 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
31627 wxPyEndAllowThreads(__tstate);
31628 if (PyErr_Occurred()) SWIG_fail;
31629 }
31630 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_NEW | 0 );
31631 {
31632 if (temp6)
31633 delete arg6;
31634 }
31635 return resultobj;
31636 fail:
31637 {
31638 if (temp6)
31639 delete arg6;
31640 }
31641 return NULL;
31642 }
31643
31644
31645 SWIGINTERN PyObject *PreviewCanvas_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31646 PyObject *obj;
31647 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31648 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas, SWIG_NewClientData(obj));
31649 return SWIG_Py_Void();
31650 }
31651
31652 SWIGINTERN PyObject *PreviewCanvas_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31653 return SWIG_Python_InitShadowInstance(args);
31654 }
31655
31656 SWIGINTERN PyObject *_wrap_new_PreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31657 PyObject *resultobj = 0;
31658 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
31659 wxFrame *arg2 = (wxFrame *) 0 ;
31660 wxString *arg3 = 0 ;
31661 wxPoint const &arg4_defvalue = wxDefaultPosition ;
31662 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
31663 wxSize const &arg5_defvalue = wxDefaultSize ;
31664 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
31665 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
31666 wxString const &arg7_defvalue = wxPyFrameNameStr ;
31667 wxString *arg7 = (wxString *) &arg7_defvalue ;
31668 wxPreviewFrame *result = 0 ;
31669 int res1 = 0 ;
31670 void *argp2 = 0 ;
31671 int res2 = 0 ;
31672 bool temp3 = false ;
31673 wxPoint temp4 ;
31674 wxSize temp5 ;
31675 long val6 ;
31676 int ecode6 = 0 ;
31677 bool temp7 = false ;
31678 PyObject * obj0 = 0 ;
31679 PyObject * obj1 = 0 ;
31680 PyObject * obj2 = 0 ;
31681 PyObject * obj3 = 0 ;
31682 PyObject * obj4 = 0 ;
31683 PyObject * obj5 = 0 ;
31684 PyObject * obj6 = 0 ;
31685 char * kwnames[] = {
31686 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31687 };
31688
31689 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
31690 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
31691 if (!SWIG_IsOK(res1)) {
31692 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31693 }
31694 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
31695 if (!SWIG_IsOK(res2)) {
31696 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
31697 }
31698 arg2 = reinterpret_cast< wxFrame * >(argp2);
31699 {
31700 arg3 = wxString_in_helper(obj2);
31701 if (arg3 == NULL) SWIG_fail;
31702 temp3 = true;
31703 }
31704 if (obj3) {
31705 {
31706 arg4 = &temp4;
31707 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
31708 }
31709 }
31710 if (obj4) {
31711 {
31712 arg5 = &temp5;
31713 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
31714 }
31715 }
31716 if (obj5) {
31717 ecode6 = SWIG_AsVal_long(obj5, &val6);
31718 if (!SWIG_IsOK(ecode6)) {
31719 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
31720 }
31721 arg6 = static_cast< long >(val6);
31722 }
31723 if (obj6) {
31724 {
31725 arg7 = wxString_in_helper(obj6);
31726 if (arg7 == NULL) SWIG_fail;
31727 temp7 = true;
31728 }
31729 }
31730 {
31731 if (!wxPyCheckForApp()) SWIG_fail;
31732 PyThreadState* __tstate = wxPyBeginAllowThreads();
31733 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
31734 wxPyEndAllowThreads(__tstate);
31735 if (PyErr_Occurred()) SWIG_fail;
31736 }
31737 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_NEW | 0 );
31738 {
31739 if (temp3)
31740 delete arg3;
31741 }
31742 {
31743 if (temp7)
31744 delete arg7;
31745 }
31746 return resultobj;
31747 fail:
31748 {
31749 if (temp3)
31750 delete arg3;
31751 }
31752 {
31753 if (temp7)
31754 delete arg7;
31755 }
31756 return NULL;
31757 }
31758
31759
31760 SWIGINTERN PyObject *_wrap_PreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31761 PyObject *resultobj = 0;
31762 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
31763 void *argp1 = 0 ;
31764 int res1 = 0 ;
31765 PyObject *swig_obj[1] ;
31766
31767 if (!args) SWIG_fail;
31768 swig_obj[0] = args;
31769 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
31770 if (!SWIG_IsOK(res1)) {
31771 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
31772 }
31773 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
31774 {
31775 PyThreadState* __tstate = wxPyBeginAllowThreads();
31776 (arg1)->Initialize();
31777 wxPyEndAllowThreads(__tstate);
31778 if (PyErr_Occurred()) SWIG_fail;
31779 }
31780 resultobj = SWIG_Py_Void();
31781 return resultobj;
31782 fail:
31783 return NULL;
31784 }
31785
31786
31787 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31788 PyObject *resultobj = 0;
31789 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
31790 void *argp1 = 0 ;
31791 int res1 = 0 ;
31792 PyObject *swig_obj[1] ;
31793
31794 if (!args) SWIG_fail;
31795 swig_obj[0] = args;
31796 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
31797 if (!SWIG_IsOK(res1)) {
31798 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
31799 }
31800 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
31801 {
31802 PyThreadState* __tstate = wxPyBeginAllowThreads();
31803 (arg1)->CreateControlBar();
31804 wxPyEndAllowThreads(__tstate);
31805 if (PyErr_Occurred()) SWIG_fail;
31806 }
31807 resultobj = SWIG_Py_Void();
31808 return resultobj;
31809 fail:
31810 return NULL;
31811 }
31812
31813
31814 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31815 PyObject *resultobj = 0;
31816 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
31817 void *argp1 = 0 ;
31818 int res1 = 0 ;
31819 PyObject *swig_obj[1] ;
31820
31821 if (!args) SWIG_fail;
31822 swig_obj[0] = args;
31823 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
31824 if (!SWIG_IsOK(res1)) {
31825 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
31826 }
31827 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
31828 {
31829 PyThreadState* __tstate = wxPyBeginAllowThreads();
31830 (arg1)->CreateCanvas();
31831 wxPyEndAllowThreads(__tstate);
31832 if (PyErr_Occurred()) SWIG_fail;
31833 }
31834 resultobj = SWIG_Py_Void();
31835 return resultobj;
31836 fail:
31837 return NULL;
31838 }
31839
31840
31841 SWIGINTERN PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31842 PyObject *resultobj = 0;
31843 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
31844 wxPreviewControlBar *result = 0 ;
31845 void *argp1 = 0 ;
31846 int res1 = 0 ;
31847 PyObject *swig_obj[1] ;
31848
31849 if (!args) SWIG_fail;
31850 swig_obj[0] = args;
31851 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
31852 if (!SWIG_IsOK(res1)) {
31853 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
31854 }
31855 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
31856 {
31857 PyThreadState* __tstate = wxPyBeginAllowThreads();
31858 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
31859 wxPyEndAllowThreads(__tstate);
31860 if (PyErr_Occurred()) SWIG_fail;
31861 }
31862 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
31863 return resultobj;
31864 fail:
31865 return NULL;
31866 }
31867
31868
31869 SWIGINTERN PyObject *PreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31870 PyObject *obj;
31871 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31872 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame, SWIG_NewClientData(obj));
31873 return SWIG_Py_Void();
31874 }
31875
31876 SWIGINTERN PyObject *PreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31877 return SWIG_Python_InitShadowInstance(args);
31878 }
31879
31880 SWIGINTERN PyObject *_wrap_new_PreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31881 PyObject *resultobj = 0;
31882 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
31883 long arg2 ;
31884 wxWindow *arg3 = (wxWindow *) 0 ;
31885 wxPoint const &arg4_defvalue = wxDefaultPosition ;
31886 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
31887 wxSize const &arg5_defvalue = wxDefaultSize ;
31888 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
31889 long arg6 = (long) wxTAB_TRAVERSAL ;
31890 wxString const &arg7_defvalue = wxPyPanelNameStr ;
31891 wxString *arg7 = (wxString *) &arg7_defvalue ;
31892 wxPreviewControlBar *result = 0 ;
31893 void *argp1 = 0 ;
31894 int res1 = 0 ;
31895 long val2 ;
31896 int ecode2 = 0 ;
31897 void *argp3 = 0 ;
31898 int res3 = 0 ;
31899 wxPoint temp4 ;
31900 wxSize temp5 ;
31901 long val6 ;
31902 int ecode6 = 0 ;
31903 bool temp7 = false ;
31904 PyObject * obj0 = 0 ;
31905 PyObject * obj1 = 0 ;
31906 PyObject * obj2 = 0 ;
31907 PyObject * obj3 = 0 ;
31908 PyObject * obj4 = 0 ;
31909 PyObject * obj5 = 0 ;
31910 PyObject * obj6 = 0 ;
31911 char * kwnames[] = {
31912 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31913 };
31914
31915 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
31916 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
31917 if (!SWIG_IsOK(res1)) {
31918 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31919 }
31920 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
31921 ecode2 = SWIG_AsVal_long(obj1, &val2);
31922 if (!SWIG_IsOK(ecode2)) {
31923 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
31924 }
31925 arg2 = static_cast< long >(val2);
31926 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
31927 if (!SWIG_IsOK(res3)) {
31928 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
31929 }
31930 arg3 = reinterpret_cast< wxWindow * >(argp3);
31931 if (obj3) {
31932 {
31933 arg4 = &temp4;
31934 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
31935 }
31936 }
31937 if (obj4) {
31938 {
31939 arg5 = &temp5;
31940 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
31941 }
31942 }
31943 if (obj5) {
31944 ecode6 = SWIG_AsVal_long(obj5, &val6);
31945 if (!SWIG_IsOK(ecode6)) {
31946 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
31947 }
31948 arg6 = static_cast< long >(val6);
31949 }
31950 if (obj6) {
31951 {
31952 arg7 = wxString_in_helper(obj6);
31953 if (arg7 == NULL) SWIG_fail;
31954 temp7 = true;
31955 }
31956 }
31957 {
31958 if (!wxPyCheckForApp()) SWIG_fail;
31959 PyThreadState* __tstate = wxPyBeginAllowThreads();
31960 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
31961 wxPyEndAllowThreads(__tstate);
31962 if (PyErr_Occurred()) SWIG_fail;
31963 }
31964 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_NEW | 0 );
31965 {
31966 if (temp7)
31967 delete arg7;
31968 }
31969 return resultobj;
31970 fail:
31971 {
31972 if (temp7)
31973 delete arg7;
31974 }
31975 return NULL;
31976 }
31977
31978
31979 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31980 PyObject *resultobj = 0;
31981 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
31982 int result;
31983 void *argp1 = 0 ;
31984 int res1 = 0 ;
31985 PyObject *swig_obj[1] ;
31986
31987 if (!args) SWIG_fail;
31988 swig_obj[0] = args;
31989 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
31990 if (!SWIG_IsOK(res1)) {
31991 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
31992 }
31993 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
31994 {
31995 PyThreadState* __tstate = wxPyBeginAllowThreads();
31996 result = (int)(arg1)->GetZoomControl();
31997 wxPyEndAllowThreads(__tstate);
31998 if (PyErr_Occurred()) SWIG_fail;
31999 }
32000 resultobj = SWIG_From_int(static_cast< int >(result));
32001 return resultobj;
32002 fail:
32003 return NULL;
32004 }
32005
32006
32007 SWIGINTERN PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32008 PyObject *resultobj = 0;
32009 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
32010 int arg2 ;
32011 void *argp1 = 0 ;
32012 int res1 = 0 ;
32013 int val2 ;
32014 int ecode2 = 0 ;
32015 PyObject * obj0 = 0 ;
32016 PyObject * obj1 = 0 ;
32017 char * kwnames[] = {
32018 (char *) "self",(char *) "zoom", NULL
32019 };
32020
32021 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
32022 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
32023 if (!SWIG_IsOK(res1)) {
32024 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
32025 }
32026 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
32027 ecode2 = SWIG_AsVal_int(obj1, &val2);
32028 if (!SWIG_IsOK(ecode2)) {
32029 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
32030 }
32031 arg2 = static_cast< int >(val2);
32032 {
32033 PyThreadState* __tstate = wxPyBeginAllowThreads();
32034 (arg1)->SetZoomControl(arg2);
32035 wxPyEndAllowThreads(__tstate);
32036 if (PyErr_Occurred()) SWIG_fail;
32037 }
32038 resultobj = SWIG_Py_Void();
32039 return resultobj;
32040 fail:
32041 return NULL;
32042 }
32043
32044
32045 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32046 PyObject *resultobj = 0;
32047 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
32048 wxPrintPreview *result = 0 ;
32049 void *argp1 = 0 ;
32050 int res1 = 0 ;
32051 PyObject *swig_obj[1] ;
32052
32053 if (!args) SWIG_fail;
32054 swig_obj[0] = args;
32055 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
32056 if (!SWIG_IsOK(res1)) {
32057 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
32058 }
32059 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
32060 {
32061 PyThreadState* __tstate = wxPyBeginAllowThreads();
32062 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
32063 wxPyEndAllowThreads(__tstate);
32064 if (PyErr_Occurred()) SWIG_fail;
32065 }
32066 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32067 return resultobj;
32068 fail:
32069 return NULL;
32070 }
32071
32072
32073 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32074 PyObject *resultobj = 0;
32075 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
32076 void *argp1 = 0 ;
32077 int res1 = 0 ;
32078 PyObject *swig_obj[1] ;
32079
32080 if (!args) SWIG_fail;
32081 swig_obj[0] = args;
32082 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
32083 if (!SWIG_IsOK(res1)) {
32084 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
32085 }
32086 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
32087 {
32088 PyThreadState* __tstate = wxPyBeginAllowThreads();
32089 (arg1)->OnNext();
32090 wxPyEndAllowThreads(__tstate);
32091 if (PyErr_Occurred()) SWIG_fail;
32092 }
32093 resultobj = SWIG_Py_Void();
32094 return resultobj;
32095 fail:
32096 return NULL;
32097 }
32098
32099
32100 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32101 PyObject *resultobj = 0;
32102 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
32103 void *argp1 = 0 ;
32104 int res1 = 0 ;
32105 PyObject *swig_obj[1] ;
32106
32107 if (!args) SWIG_fail;
32108 swig_obj[0] = args;
32109 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
32110 if (!SWIG_IsOK(res1)) {
32111 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
32112 }
32113 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
32114 {
32115 PyThreadState* __tstate = wxPyBeginAllowThreads();
32116 (arg1)->OnPrevious();
32117 wxPyEndAllowThreads(__tstate);
32118 if (PyErr_Occurred()) SWIG_fail;
32119 }
32120 resultobj = SWIG_Py_Void();
32121 return resultobj;
32122 fail:
32123 return NULL;
32124 }
32125
32126
32127 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32128 PyObject *resultobj = 0;
32129 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
32130 void *argp1 = 0 ;
32131 int res1 = 0 ;
32132 PyObject *swig_obj[1] ;
32133
32134 if (!args) SWIG_fail;
32135 swig_obj[0] = args;
32136 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
32137 if (!SWIG_IsOK(res1)) {
32138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
32139 }
32140 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
32141 {
32142 PyThreadState* __tstate = wxPyBeginAllowThreads();
32143 (arg1)->OnFirst();
32144 wxPyEndAllowThreads(__tstate);
32145 if (PyErr_Occurred()) SWIG_fail;
32146 }
32147 resultobj = SWIG_Py_Void();
32148 return resultobj;
32149 fail:
32150 return NULL;
32151 }
32152
32153
32154 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnLast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32155 PyObject *resultobj = 0;
32156 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
32157 void *argp1 = 0 ;
32158 int res1 = 0 ;
32159 PyObject *swig_obj[1] ;
32160
32161 if (!args) SWIG_fail;
32162 swig_obj[0] = args;
32163 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
32164 if (!SWIG_IsOK(res1)) {
32165 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
32166 }
32167 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
32168 {
32169 PyThreadState* __tstate = wxPyBeginAllowThreads();
32170 (arg1)->OnLast();
32171 wxPyEndAllowThreads(__tstate);
32172 if (PyErr_Occurred()) SWIG_fail;
32173 }
32174 resultobj = SWIG_Py_Void();
32175 return resultobj;
32176 fail:
32177 return NULL;
32178 }
32179
32180
32181 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32182 PyObject *resultobj = 0;
32183 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
32184 void *argp1 = 0 ;
32185 int res1 = 0 ;
32186 PyObject *swig_obj[1] ;
32187
32188 if (!args) SWIG_fail;
32189 swig_obj[0] = args;
32190 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
32191 if (!SWIG_IsOK(res1)) {
32192 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
32193 }
32194 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
32195 {
32196 PyThreadState* __tstate = wxPyBeginAllowThreads();
32197 (arg1)->OnGoto();
32198 wxPyEndAllowThreads(__tstate);
32199 if (PyErr_Occurred()) SWIG_fail;
32200 }
32201 resultobj = SWIG_Py_Void();
32202 return resultobj;
32203 fail:
32204 return NULL;
32205 }
32206
32207
32208 SWIGINTERN PyObject *PreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32209 PyObject *obj;
32210 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
32211 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar, SWIG_NewClientData(obj));
32212 return SWIG_Py_Void();
32213 }
32214
32215 SWIGINTERN PyObject *PreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32216 return SWIG_Python_InitShadowInstance(args);
32217 }
32218
32219 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
32220 PyObject *resultobj = 0;
32221 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
32222 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
32223 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
32224 wxPrintPreview *result = 0 ;
32225 int res1 = 0 ;
32226 int res2 = 0 ;
32227 void *argp3 = 0 ;
32228 int res3 = 0 ;
32229
32230 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
32231 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
32232 if (!SWIG_IsOK(res1)) {
32233 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
32234 }
32235 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
32236 if (!SWIG_IsOK(res2)) {
32237 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
32238 }
32239 if (swig_obj[2]) {
32240 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
32241 if (!SWIG_IsOK(res3)) {
32242 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
32243 }
32244 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
32245 }
32246 {
32247 if (!wxPyCheckForApp()) SWIG_fail;
32248 PyThreadState* __tstate = wxPyBeginAllowThreads();
32249 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
32250 wxPyEndAllowThreads(__tstate);
32251 if (PyErr_Occurred()) SWIG_fail;
32252 }
32253 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
32254 return resultobj;
32255 fail:
32256 return NULL;
32257 }
32258
32259
32260 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
32261 PyObject *resultobj = 0;
32262 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
32263 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
32264 wxPrintData *arg3 = (wxPrintData *) 0 ;
32265 wxPrintPreview *result = 0 ;
32266 int res1 = 0 ;
32267 int res2 = 0 ;
32268 void *argp3 = 0 ;
32269 int res3 = 0 ;
32270
32271 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
32272 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
32273 if (!SWIG_IsOK(res1)) {
32274 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
32275 }
32276 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
32277 if (!SWIG_IsOK(res2)) {
32278 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
32279 }
32280 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
32281 if (!SWIG_IsOK(res3)) {
32282 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
32283 }
32284 arg3 = reinterpret_cast< wxPrintData * >(argp3);
32285 {
32286 if (!wxPyCheckForApp()) SWIG_fail;
32287 PyThreadState* __tstate = wxPyBeginAllowThreads();
32288 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
32289 wxPyEndAllowThreads(__tstate);
32290 if (PyErr_Occurred()) SWIG_fail;
32291 }
32292 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
32293 return resultobj;
32294 fail:
32295 return NULL;
32296 }
32297
32298
32299 SWIGINTERN PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
32300 int argc;
32301 PyObject *argv[4];
32302
32303 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintPreview",0,3,argv))) SWIG_fail;
32304 --argc;
32305 if ((argc >= 2) && (argc <= 3)) {
32306 int _v = 0;
32307 if (argc > 2) {
32308 {
32309 void *vptr = 0;
32310 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
32311 _v = SWIG_CheckState(res);
32312 }
32313 if (!_v) goto check_1;
32314 }
32315 return _wrap_new_PrintPreview__SWIG_0(self, argc, argv);
32316 }
32317 check_1:
32318
32319 if (argc == 3) {
32320 return _wrap_new_PrintPreview__SWIG_1(self, argc, argv);
32321 }
32322
32323 fail:
32324 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
32325 return NULL;
32326 }
32327
32328
32329 SWIGINTERN PyObject *_wrap_delete_PrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32330 PyObject *resultobj = 0;
32331 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32332 void *argp1 = 0 ;
32333 int res1 = 0 ;
32334 PyObject *swig_obj[1] ;
32335
32336 if (!args) SWIG_fail;
32337 swig_obj[0] = args;
32338 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
32339 if (!SWIG_IsOK(res1)) {
32340 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32341 }
32342 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32343 {
32344 PyThreadState* __tstate = wxPyBeginAllowThreads();
32345 delete arg1;
32346
32347 wxPyEndAllowThreads(__tstate);
32348 if (PyErr_Occurred()) SWIG_fail;
32349 }
32350 resultobj = SWIG_Py_Void();
32351 return resultobj;
32352 fail:
32353 return NULL;
32354 }
32355
32356
32357 SWIGINTERN PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32358 PyObject *resultobj = 0;
32359 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32360 int arg2 ;
32361 bool result;
32362 void *argp1 = 0 ;
32363 int res1 = 0 ;
32364 int val2 ;
32365 int ecode2 = 0 ;
32366 PyObject * obj0 = 0 ;
32367 PyObject * obj1 = 0 ;
32368 char * kwnames[] = {
32369 (char *) "self",(char *) "pageNum", NULL
32370 };
32371
32372 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) SWIG_fail;
32373 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32374 if (!SWIG_IsOK(res1)) {
32375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32376 }
32377 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32378 ecode2 = SWIG_AsVal_int(obj1, &val2);
32379 if (!SWIG_IsOK(ecode2)) {
32380 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
32381 }
32382 arg2 = static_cast< int >(val2);
32383 {
32384 PyThreadState* __tstate = wxPyBeginAllowThreads();
32385 result = (bool)(arg1)->SetCurrentPage(arg2);
32386 wxPyEndAllowThreads(__tstate);
32387 if (PyErr_Occurred()) SWIG_fail;
32388 }
32389 {
32390 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32391 }
32392 return resultobj;
32393 fail:
32394 return NULL;
32395 }
32396
32397
32398 SWIGINTERN PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32399 PyObject *resultobj = 0;
32400 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32401 int result;
32402 void *argp1 = 0 ;
32403 int res1 = 0 ;
32404 PyObject *swig_obj[1] ;
32405
32406 if (!args) SWIG_fail;
32407 swig_obj[0] = args;
32408 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32409 if (!SWIG_IsOK(res1)) {
32410 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32411 }
32412 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32413 {
32414 PyThreadState* __tstate = wxPyBeginAllowThreads();
32415 result = (int)(arg1)->GetCurrentPage();
32416 wxPyEndAllowThreads(__tstate);
32417 if (PyErr_Occurred()) SWIG_fail;
32418 }
32419 resultobj = SWIG_From_int(static_cast< int >(result));
32420 return resultobj;
32421 fail:
32422 return NULL;
32423 }
32424
32425
32426 SWIGINTERN PyObject *_wrap_PrintPreview_SetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32427 PyObject *resultobj = 0;
32428 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32429 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
32430 void *argp1 = 0 ;
32431 int res1 = 0 ;
32432 int res2 = 0 ;
32433 PyObject * obj0 = 0 ;
32434 PyObject * obj1 = 0 ;
32435 char * kwnames[] = {
32436 (char *) "self",(char *) "printout", NULL
32437 };
32438
32439 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) SWIG_fail;
32440 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32441 if (!SWIG_IsOK(res1)) {
32442 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32443 }
32444 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32445 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
32446 if (!SWIG_IsOK(res2)) {
32447 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
32448 }
32449 {
32450 PyThreadState* __tstate = wxPyBeginAllowThreads();
32451 (arg1)->SetPrintout(arg2);
32452 wxPyEndAllowThreads(__tstate);
32453 if (PyErr_Occurred()) SWIG_fail;
32454 }
32455 resultobj = SWIG_Py_Void();
32456 return resultobj;
32457 fail:
32458 return NULL;
32459 }
32460
32461
32462 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32463 PyObject *resultobj = 0;
32464 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32465 wxPyPrintout *result = 0 ;
32466 void *argp1 = 0 ;
32467 int res1 = 0 ;
32468 PyObject *swig_obj[1] ;
32469
32470 if (!args) SWIG_fail;
32471 swig_obj[0] = args;
32472 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32473 if (!SWIG_IsOK(res1)) {
32474 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32475 }
32476 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32477 {
32478 PyThreadState* __tstate = wxPyBeginAllowThreads();
32479 result = (wxPyPrintout *)(arg1)->GetPrintout();
32480 wxPyEndAllowThreads(__tstate);
32481 if (PyErr_Occurred()) SWIG_fail;
32482 }
32483 {
32484 resultobj = wxPyMake_wxObject(result, 0);
32485 }
32486 return resultobj;
32487 fail:
32488 return NULL;
32489 }
32490
32491
32492 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32493 PyObject *resultobj = 0;
32494 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32495 wxPyPrintout *result = 0 ;
32496 void *argp1 = 0 ;
32497 int res1 = 0 ;
32498 PyObject *swig_obj[1] ;
32499
32500 if (!args) SWIG_fail;
32501 swig_obj[0] = args;
32502 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32503 if (!SWIG_IsOK(res1)) {
32504 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32505 }
32506 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32507 {
32508 PyThreadState* __tstate = wxPyBeginAllowThreads();
32509 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
32510 wxPyEndAllowThreads(__tstate);
32511 if (PyErr_Occurred()) SWIG_fail;
32512 }
32513 {
32514 resultobj = wxPyMake_wxObject(result, 0);
32515 }
32516 return resultobj;
32517 fail:
32518 return NULL;
32519 }
32520
32521
32522 SWIGINTERN PyObject *_wrap_PrintPreview_SetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32523 PyObject *resultobj = 0;
32524 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32525 wxFrame *arg2 = (wxFrame *) 0 ;
32526 void *argp1 = 0 ;
32527 int res1 = 0 ;
32528 void *argp2 = 0 ;
32529 int res2 = 0 ;
32530 PyObject * obj0 = 0 ;
32531 PyObject * obj1 = 0 ;
32532 char * kwnames[] = {
32533 (char *) "self",(char *) "frame", NULL
32534 };
32535
32536 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) SWIG_fail;
32537 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32538 if (!SWIG_IsOK(res1)) {
32539 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32540 }
32541 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32542 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
32543 if (!SWIG_IsOK(res2)) {
32544 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
32545 }
32546 arg2 = reinterpret_cast< wxFrame * >(argp2);
32547 {
32548 PyThreadState* __tstate = wxPyBeginAllowThreads();
32549 (arg1)->SetFrame(arg2);
32550 wxPyEndAllowThreads(__tstate);
32551 if (PyErr_Occurred()) SWIG_fail;
32552 }
32553 resultobj = SWIG_Py_Void();
32554 return resultobj;
32555 fail:
32556 return NULL;
32557 }
32558
32559
32560 SWIGINTERN PyObject *_wrap_PrintPreview_SetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32561 PyObject *resultobj = 0;
32562 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32563 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
32564 void *argp1 = 0 ;
32565 int res1 = 0 ;
32566 void *argp2 = 0 ;
32567 int res2 = 0 ;
32568 PyObject * obj0 = 0 ;
32569 PyObject * obj1 = 0 ;
32570 char * kwnames[] = {
32571 (char *) "self",(char *) "canvas", NULL
32572 };
32573
32574 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
32575 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32576 if (!SWIG_IsOK(res1)) {
32577 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32578 }
32579 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32580 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
32581 if (!SWIG_IsOK(res2)) {
32582 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
32583 }
32584 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
32585 {
32586 PyThreadState* __tstate = wxPyBeginAllowThreads();
32587 (arg1)->SetCanvas(arg2);
32588 wxPyEndAllowThreads(__tstate);
32589 if (PyErr_Occurred()) SWIG_fail;
32590 }
32591 resultobj = SWIG_Py_Void();
32592 return resultobj;
32593 fail:
32594 return NULL;
32595 }
32596
32597
32598 SWIGINTERN PyObject *_wrap_PrintPreview_GetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32599 PyObject *resultobj = 0;
32600 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32601 wxFrame *result = 0 ;
32602 void *argp1 = 0 ;
32603 int res1 = 0 ;
32604 PyObject *swig_obj[1] ;
32605
32606 if (!args) SWIG_fail;
32607 swig_obj[0] = args;
32608 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32609 if (!SWIG_IsOK(res1)) {
32610 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32611 }
32612 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32613 {
32614 PyThreadState* __tstate = wxPyBeginAllowThreads();
32615 result = (wxFrame *)(arg1)->GetFrame();
32616 wxPyEndAllowThreads(__tstate);
32617 if (PyErr_Occurred()) SWIG_fail;
32618 }
32619 {
32620 resultobj = wxPyMake_wxObject(result, 0);
32621 }
32622 return resultobj;
32623 fail:
32624 return NULL;
32625 }
32626
32627
32628 SWIGINTERN PyObject *_wrap_PrintPreview_GetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32629 PyObject *resultobj = 0;
32630 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32631 wxPreviewCanvas *result = 0 ;
32632 void *argp1 = 0 ;
32633 int res1 = 0 ;
32634 PyObject *swig_obj[1] ;
32635
32636 if (!args) SWIG_fail;
32637 swig_obj[0] = args;
32638 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32639 if (!SWIG_IsOK(res1)) {
32640 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32641 }
32642 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32643 {
32644 PyThreadState* __tstate = wxPyBeginAllowThreads();
32645 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
32646 wxPyEndAllowThreads(__tstate);
32647 if (PyErr_Occurred()) SWIG_fail;
32648 }
32649 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
32650 return resultobj;
32651 fail:
32652 return NULL;
32653 }
32654
32655
32656 SWIGINTERN PyObject *_wrap_PrintPreview_PaintPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32657 PyObject *resultobj = 0;
32658 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32659 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
32660 wxDC *arg3 = 0 ;
32661 bool result;
32662 void *argp1 = 0 ;
32663 int res1 = 0 ;
32664 void *argp2 = 0 ;
32665 int res2 = 0 ;
32666 void *argp3 = 0 ;
32667 int res3 = 0 ;
32668 PyObject * obj0 = 0 ;
32669 PyObject * obj1 = 0 ;
32670 PyObject * obj2 = 0 ;
32671 char * kwnames[] = {
32672 (char *) "self",(char *) "canvas",(char *) "dc", NULL
32673 };
32674
32675 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
32676 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32677 if (!SWIG_IsOK(res1)) {
32678 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32679 }
32680 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32681 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
32682 if (!SWIG_IsOK(res2)) {
32683 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
32684 }
32685 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
32686 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
32687 if (!SWIG_IsOK(res3)) {
32688 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
32689 }
32690 if (!argp3) {
32691 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
32692 }
32693 arg3 = reinterpret_cast< wxDC * >(argp3);
32694 {
32695 PyThreadState* __tstate = wxPyBeginAllowThreads();
32696 result = (bool)(arg1)->PaintPage(arg2,*arg3);
32697 wxPyEndAllowThreads(__tstate);
32698 if (PyErr_Occurred()) SWIG_fail;
32699 }
32700 {
32701 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32702 }
32703 return resultobj;
32704 fail:
32705 return NULL;
32706 }
32707
32708
32709 SWIGINTERN PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32710 PyObject *resultobj = 0;
32711 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32712 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
32713 wxDC *arg3 = 0 ;
32714 bool result;
32715 void *argp1 = 0 ;
32716 int res1 = 0 ;
32717 void *argp2 = 0 ;
32718 int res2 = 0 ;
32719 void *argp3 = 0 ;
32720 int res3 = 0 ;
32721 PyObject * obj0 = 0 ;
32722 PyObject * obj1 = 0 ;
32723 PyObject * obj2 = 0 ;
32724 char * kwnames[] = {
32725 (char *) "self",(char *) "canvas",(char *) "dc", NULL
32726 };
32727
32728 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
32729 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32730 if (!SWIG_IsOK(res1)) {
32731 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32732 }
32733 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32734 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
32735 if (!SWIG_IsOK(res2)) {
32736 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
32737 }
32738 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
32739 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
32740 if (!SWIG_IsOK(res3)) {
32741 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
32742 }
32743 if (!argp3) {
32744 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
32745 }
32746 arg3 = reinterpret_cast< wxDC * >(argp3);
32747 {
32748 PyThreadState* __tstate = wxPyBeginAllowThreads();
32749 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
32750 wxPyEndAllowThreads(__tstate);
32751 if (PyErr_Occurred()) SWIG_fail;
32752 }
32753 {
32754 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32755 }
32756 return resultobj;
32757 fail:
32758 return NULL;
32759 }
32760
32761
32762 SWIGINTERN PyObject *_wrap_PrintPreview_RenderPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32763 PyObject *resultobj = 0;
32764 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32765 int arg2 ;
32766 bool result;
32767 void *argp1 = 0 ;
32768 int res1 = 0 ;
32769 int val2 ;
32770 int ecode2 = 0 ;
32771 PyObject * obj0 = 0 ;
32772 PyObject * obj1 = 0 ;
32773 char * kwnames[] = {
32774 (char *) "self",(char *) "pageNum", NULL
32775 };
32776
32777 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) SWIG_fail;
32778 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32779 if (!SWIG_IsOK(res1)) {
32780 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32781 }
32782 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32783 ecode2 = SWIG_AsVal_int(obj1, &val2);
32784 if (!SWIG_IsOK(ecode2)) {
32785 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
32786 }
32787 arg2 = static_cast< int >(val2);
32788 {
32789 PyThreadState* __tstate = wxPyBeginAllowThreads();
32790 result = (bool)(arg1)->RenderPage(arg2);
32791 wxPyEndAllowThreads(__tstate);
32792 if (PyErr_Occurred()) SWIG_fail;
32793 }
32794 {
32795 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32796 }
32797 return resultobj;
32798 fail:
32799 return NULL;
32800 }
32801
32802
32803 SWIGINTERN PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32804 PyObject *resultobj = 0;
32805 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32806 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
32807 void *argp1 = 0 ;
32808 int res1 = 0 ;
32809 void *argp2 = 0 ;
32810 int res2 = 0 ;
32811 PyObject * obj0 = 0 ;
32812 PyObject * obj1 = 0 ;
32813 char * kwnames[] = {
32814 (char *) "self",(char *) "canvas", NULL
32815 };
32816
32817 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) SWIG_fail;
32818 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32819 if (!SWIG_IsOK(res1)) {
32820 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32821 }
32822 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32823 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
32824 if (!SWIG_IsOK(res2)) {
32825 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
32826 }
32827 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
32828 {
32829 PyThreadState* __tstate = wxPyBeginAllowThreads();
32830 (arg1)->AdjustScrollbars(arg2);
32831 wxPyEndAllowThreads(__tstate);
32832 if (PyErr_Occurred()) SWIG_fail;
32833 }
32834 resultobj = SWIG_Py_Void();
32835 return resultobj;
32836 fail:
32837 return NULL;
32838 }
32839
32840
32841 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32842 PyObject *resultobj = 0;
32843 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32844 wxPrintDialogData *result = 0 ;
32845 void *argp1 = 0 ;
32846 int res1 = 0 ;
32847 PyObject *swig_obj[1] ;
32848
32849 if (!args) SWIG_fail;
32850 swig_obj[0] = args;
32851 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32852 if (!SWIG_IsOK(res1)) {
32853 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32854 }
32855 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32856 {
32857 PyThreadState* __tstate = wxPyBeginAllowThreads();
32858 {
32859 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
32860 result = (wxPrintDialogData *) &_result_ref;
32861 }
32862 wxPyEndAllowThreads(__tstate);
32863 if (PyErr_Occurred()) SWIG_fail;
32864 }
32865 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
32866 return resultobj;
32867 fail:
32868 return NULL;
32869 }
32870
32871
32872 SWIGINTERN PyObject *_wrap_PrintPreview_SetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32873 PyObject *resultobj = 0;
32874 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32875 int arg2 ;
32876 void *argp1 = 0 ;
32877 int res1 = 0 ;
32878 int val2 ;
32879 int ecode2 = 0 ;
32880 PyObject * obj0 = 0 ;
32881 PyObject * obj1 = 0 ;
32882 char * kwnames[] = {
32883 (char *) "self",(char *) "percent", NULL
32884 };
32885
32886 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) SWIG_fail;
32887 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32888 if (!SWIG_IsOK(res1)) {
32889 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32890 }
32891 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32892 ecode2 = SWIG_AsVal_int(obj1, &val2);
32893 if (!SWIG_IsOK(ecode2)) {
32894 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
32895 }
32896 arg2 = static_cast< int >(val2);
32897 {
32898 PyThreadState* __tstate = wxPyBeginAllowThreads();
32899 (arg1)->SetZoom(arg2);
32900 wxPyEndAllowThreads(__tstate);
32901 if (PyErr_Occurred()) SWIG_fail;
32902 }
32903 resultobj = SWIG_Py_Void();
32904 return resultobj;
32905 fail:
32906 return NULL;
32907 }
32908
32909
32910 SWIGINTERN PyObject *_wrap_PrintPreview_GetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32911 PyObject *resultobj = 0;
32912 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32913 int result;
32914 void *argp1 = 0 ;
32915 int res1 = 0 ;
32916 PyObject *swig_obj[1] ;
32917
32918 if (!args) SWIG_fail;
32919 swig_obj[0] = args;
32920 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32921 if (!SWIG_IsOK(res1)) {
32922 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32923 }
32924 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32925 {
32926 PyThreadState* __tstate = wxPyBeginAllowThreads();
32927 result = (int)(arg1)->GetZoom();
32928 wxPyEndAllowThreads(__tstate);
32929 if (PyErr_Occurred()) SWIG_fail;
32930 }
32931 resultobj = SWIG_From_int(static_cast< int >(result));
32932 return resultobj;
32933 fail:
32934 return NULL;
32935 }
32936
32937
32938 SWIGINTERN PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32939 PyObject *resultobj = 0;
32940 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32941 int result;
32942 void *argp1 = 0 ;
32943 int res1 = 0 ;
32944 PyObject *swig_obj[1] ;
32945
32946 if (!args) SWIG_fail;
32947 swig_obj[0] = args;
32948 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32949 if (!SWIG_IsOK(res1)) {
32950 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32951 }
32952 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32953 {
32954 PyThreadState* __tstate = wxPyBeginAllowThreads();
32955 result = (int)(arg1)->GetMaxPage();
32956 wxPyEndAllowThreads(__tstate);
32957 if (PyErr_Occurred()) SWIG_fail;
32958 }
32959 resultobj = SWIG_From_int(static_cast< int >(result));
32960 return resultobj;
32961 fail:
32962 return NULL;
32963 }
32964
32965
32966 SWIGINTERN PyObject *_wrap_PrintPreview_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32967 PyObject *resultobj = 0;
32968 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32969 int result;
32970 void *argp1 = 0 ;
32971 int res1 = 0 ;
32972 PyObject *swig_obj[1] ;
32973
32974 if (!args) SWIG_fail;
32975 swig_obj[0] = args;
32976 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32977 if (!SWIG_IsOK(res1)) {
32978 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32979 }
32980 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32981 {
32982 PyThreadState* __tstate = wxPyBeginAllowThreads();
32983 result = (int)(arg1)->GetMinPage();
32984 wxPyEndAllowThreads(__tstate);
32985 if (PyErr_Occurred()) SWIG_fail;
32986 }
32987 resultobj = SWIG_From_int(static_cast< int >(result));
32988 return resultobj;
32989 fail:
32990 return NULL;
32991 }
32992
32993
32994 SWIGINTERN PyObject *_wrap_PrintPreview_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32995 PyObject *resultobj = 0;
32996 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32997 bool result;
32998 void *argp1 = 0 ;
32999 int res1 = 0 ;
33000 PyObject *swig_obj[1] ;
33001
33002 if (!args) SWIG_fail;
33003 swig_obj[0] = args;
33004 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
33005 if (!SWIG_IsOK(res1)) {
33006 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_IsOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
33007 }
33008 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
33009 {
33010 PyThreadState* __tstate = wxPyBeginAllowThreads();
33011 result = (bool)(arg1)->IsOk();
33012 wxPyEndAllowThreads(__tstate);
33013 if (PyErr_Occurred()) SWIG_fail;
33014 }
33015 {
33016 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33017 }
33018 return resultobj;
33019 fail:
33020 return NULL;
33021 }
33022
33023
33024 SWIGINTERN PyObject *_wrap_PrintPreview_SetOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33025 PyObject *resultobj = 0;
33026 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
33027 bool arg2 ;
33028 void *argp1 = 0 ;
33029 int res1 = 0 ;
33030 bool val2 ;
33031 int ecode2 = 0 ;
33032 PyObject * obj0 = 0 ;
33033 PyObject * obj1 = 0 ;
33034 char * kwnames[] = {
33035 (char *) "self",(char *) "ok", NULL
33036 };
33037
33038 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) SWIG_fail;
33039 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
33040 if (!SWIG_IsOK(res1)) {
33041 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
33042 }
33043 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
33044 ecode2 = SWIG_AsVal_bool(obj1, &val2);
33045 if (!SWIG_IsOK(ecode2)) {
33046 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
33047 }
33048 arg2 = static_cast< bool >(val2);
33049 {
33050 PyThreadState* __tstate = wxPyBeginAllowThreads();
33051 (arg1)->SetOk(arg2);
33052 wxPyEndAllowThreads(__tstate);
33053 if (PyErr_Occurred()) SWIG_fail;
33054 }
33055 resultobj = SWIG_Py_Void();
33056 return resultobj;
33057 fail:
33058 return NULL;
33059 }
33060
33061
33062 SWIGINTERN PyObject *_wrap_PrintPreview_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33063 PyObject *resultobj = 0;
33064 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
33065 bool arg2 ;
33066 bool result;
33067 void *argp1 = 0 ;
33068 int res1 = 0 ;
33069 bool val2 ;
33070 int ecode2 = 0 ;
33071 PyObject * obj0 = 0 ;
33072 PyObject * obj1 = 0 ;
33073 char * kwnames[] = {
33074 (char *) "self",(char *) "interactive", NULL
33075 };
33076
33077 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) SWIG_fail;
33078 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
33079 if (!SWIG_IsOK(res1)) {
33080 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
33081 }
33082 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
33083 ecode2 = SWIG_AsVal_bool(obj1, &val2);
33084 if (!SWIG_IsOK(ecode2)) {
33085 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
33086 }
33087 arg2 = static_cast< bool >(val2);
33088 {
33089 PyThreadState* __tstate = wxPyBeginAllowThreads();
33090 result = (bool)(arg1)->Print(arg2);
33091 wxPyEndAllowThreads(__tstate);
33092 if (PyErr_Occurred()) SWIG_fail;
33093 }
33094 {
33095 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33096 }
33097 return resultobj;
33098 fail:
33099 return NULL;
33100 }
33101
33102
33103 SWIGINTERN PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33104 PyObject *resultobj = 0;
33105 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
33106 void *argp1 = 0 ;
33107 int res1 = 0 ;
33108 PyObject *swig_obj[1] ;
33109
33110 if (!args) SWIG_fail;
33111 swig_obj[0] = args;
33112 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
33113 if (!SWIG_IsOK(res1)) {
33114 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
33115 }
33116 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
33117 {
33118 PyThreadState* __tstate = wxPyBeginAllowThreads();
33119 (arg1)->DetermineScaling();
33120 wxPyEndAllowThreads(__tstate);
33121 if (PyErr_Occurred()) SWIG_fail;
33122 }
33123 resultobj = SWIG_Py_Void();
33124 return resultobj;
33125 fail:
33126 return NULL;
33127 }
33128
33129
33130 SWIGINTERN PyObject *PrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33131 PyObject *obj;
33132 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
33133 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview, SWIG_NewClientData(obj));
33134 return SWIG_Py_Void();
33135 }
33136
33137 SWIGINTERN PyObject *PrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33138 return SWIG_Python_InitShadowInstance(args);
33139 }
33140
33141 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
33142 PyObject *resultobj = 0;
33143 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
33144 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
33145 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
33146 wxPyPrintPreview *result = 0 ;
33147 int res1 = 0 ;
33148 int res2 = 0 ;
33149 void *argp3 = 0 ;
33150 int res3 = 0 ;
33151
33152 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
33153 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
33154 if (!SWIG_IsOK(res1)) {
33155 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
33156 }
33157 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
33158 if (!SWIG_IsOK(res2)) {
33159 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
33160 }
33161 if (swig_obj[2]) {
33162 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
33163 if (!SWIG_IsOK(res3)) {
33164 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
33165 }
33166 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
33167 }
33168 {
33169 if (!wxPyCheckForApp()) SWIG_fail;
33170 PyThreadState* __tstate = wxPyBeginAllowThreads();
33171 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
33172 wxPyEndAllowThreads(__tstate);
33173 if (PyErr_Occurred()) SWIG_fail;
33174 }
33175 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
33176 return resultobj;
33177 fail:
33178 return NULL;
33179 }
33180
33181
33182 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
33183 PyObject *resultobj = 0;
33184 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
33185 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
33186 wxPrintData *arg3 = (wxPrintData *) 0 ;
33187 wxPyPrintPreview *result = 0 ;
33188 int res1 = 0 ;
33189 int res2 = 0 ;
33190 void *argp3 = 0 ;
33191 int res3 = 0 ;
33192
33193 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
33194 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
33195 if (!SWIG_IsOK(res1)) {
33196 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
33197 }
33198 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
33199 if (!SWIG_IsOK(res2)) {
33200 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
33201 }
33202 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
33203 if (!SWIG_IsOK(res3)) {
33204 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
33205 }
33206 arg3 = reinterpret_cast< wxPrintData * >(argp3);
33207 {
33208 if (!wxPyCheckForApp()) SWIG_fail;
33209 PyThreadState* __tstate = wxPyBeginAllowThreads();
33210 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
33211 wxPyEndAllowThreads(__tstate);
33212 if (PyErr_Occurred()) SWIG_fail;
33213 }
33214 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
33215 return resultobj;
33216 fail:
33217 return NULL;
33218 }
33219
33220
33221 SWIGINTERN PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
33222 int argc;
33223 PyObject *argv[4];
33224
33225 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PyPrintPreview",0,3,argv))) SWIG_fail;
33226 --argc;
33227 if ((argc >= 2) && (argc <= 3)) {
33228 int _v = 0;
33229 if (argc > 2) {
33230 {
33231 void *vptr = 0;
33232 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
33233 _v = SWIG_CheckState(res);
33234 }
33235 if (!_v) goto check_1;
33236 }
33237 return _wrap_new_PyPrintPreview__SWIG_0(self, argc, argv);
33238 }
33239 check_1:
33240
33241 if (argc == 3) {
33242 return _wrap_new_PyPrintPreview__SWIG_1(self, argc, argv);
33243 }
33244
33245 fail:
33246 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
33247 return NULL;
33248 }
33249
33250
33251 SWIGINTERN PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33252 PyObject *resultobj = 0;
33253 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
33254 PyObject *arg2 = (PyObject *) 0 ;
33255 PyObject *arg3 = (PyObject *) 0 ;
33256 void *argp1 = 0 ;
33257 int res1 = 0 ;
33258 PyObject * obj0 = 0 ;
33259 PyObject * obj1 = 0 ;
33260 PyObject * obj2 = 0 ;
33261 char * kwnames[] = {
33262 (char *) "self",(char *) "self",(char *) "_class", NULL
33263 };
33264
33265 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
33266 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintPreview, 0 | 0 );
33267 if (!SWIG_IsOK(res1)) {
33268 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
33269 }
33270 arg1 = reinterpret_cast< wxPyPrintPreview * >(argp1);
33271 arg2 = obj1;
33272 arg3 = obj2;
33273 {
33274 PyThreadState* __tstate = wxPyBeginAllowThreads();
33275 (arg1)->_setCallbackInfo(arg2,arg3);
33276 wxPyEndAllowThreads(__tstate);
33277 if (PyErr_Occurred()) SWIG_fail;
33278 }
33279 resultobj = SWIG_Py_Void();
33280 return resultobj;
33281 fail:
33282 return NULL;
33283 }
33284
33285
33286 SWIGINTERN PyObject *PyPrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33287 PyObject *obj;
33288 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
33289 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview, SWIG_NewClientData(obj));
33290 return SWIG_Py_Void();
33291 }
33292
33293 SWIGINTERN PyObject *PyPrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33294 return SWIG_Python_InitShadowInstance(args);
33295 }
33296
33297 SWIGINTERN PyObject *_wrap_new_PyPreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33298 PyObject *resultobj = 0;
33299 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
33300 wxFrame *arg2 = (wxFrame *) 0 ;
33301 wxString *arg3 = 0 ;
33302 wxPoint const &arg4_defvalue = wxDefaultPosition ;
33303 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
33304 wxSize const &arg5_defvalue = wxDefaultSize ;
33305 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
33306 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
33307 wxString const &arg7_defvalue = wxPyFrameNameStr ;
33308 wxString *arg7 = (wxString *) &arg7_defvalue ;
33309 wxPyPreviewFrame *result = 0 ;
33310 int res1 = 0 ;
33311 void *argp2 = 0 ;
33312 int res2 = 0 ;
33313 bool temp3 = false ;
33314 wxPoint temp4 ;
33315 wxSize temp5 ;
33316 long val6 ;
33317 int ecode6 = 0 ;
33318 bool temp7 = false ;
33319 PyObject * obj0 = 0 ;
33320 PyObject * obj1 = 0 ;
33321 PyObject * obj2 = 0 ;
33322 PyObject * obj3 = 0 ;
33323 PyObject * obj4 = 0 ;
33324 PyObject * obj5 = 0 ;
33325 PyObject * obj6 = 0 ;
33326 char * kwnames[] = {
33327 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
33328 };
33329
33330 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
33331 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
33332 if (!SWIG_IsOK(res1)) {
33333 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
33334 }
33335 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
33336 if (!SWIG_IsOK(res2)) {
33337 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
33338 }
33339 arg2 = reinterpret_cast< wxFrame * >(argp2);
33340 {
33341 arg3 = wxString_in_helper(obj2);
33342 if (arg3 == NULL) SWIG_fail;
33343 temp3 = true;
33344 }
33345 if (obj3) {
33346 {
33347 arg4 = &temp4;
33348 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
33349 }
33350 }
33351 if (obj4) {
33352 {
33353 arg5 = &temp5;
33354 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
33355 }
33356 }
33357 if (obj5) {
33358 ecode6 = SWIG_AsVal_long(obj5, &val6);
33359 if (!SWIG_IsOK(ecode6)) {
33360 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
33361 }
33362 arg6 = static_cast< long >(val6);
33363 }
33364 if (obj6) {
33365 {
33366 arg7 = wxString_in_helper(obj6);
33367 if (arg7 == NULL) SWIG_fail;
33368 temp7 = true;
33369 }
33370 }
33371 {
33372 if (!wxPyCheckForApp()) SWIG_fail;
33373 PyThreadState* __tstate = wxPyBeginAllowThreads();
33374 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
33375 wxPyEndAllowThreads(__tstate);
33376 if (PyErr_Occurred()) SWIG_fail;
33377 }
33378 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_NEW | 0 );
33379 {
33380 if (temp3)
33381 delete arg3;
33382 }
33383 {
33384 if (temp7)
33385 delete arg7;
33386 }
33387 return resultobj;
33388 fail:
33389 {
33390 if (temp3)
33391 delete arg3;
33392 }
33393 {
33394 if (temp7)
33395 delete arg7;
33396 }
33397 return NULL;
33398 }
33399
33400
33401 SWIGINTERN PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33402 PyObject *resultobj = 0;
33403 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
33404 PyObject *arg2 = (PyObject *) 0 ;
33405 PyObject *arg3 = (PyObject *) 0 ;
33406 void *argp1 = 0 ;
33407 int res1 = 0 ;
33408 PyObject * obj0 = 0 ;
33409 PyObject * obj1 = 0 ;
33410 PyObject * obj2 = 0 ;
33411 char * kwnames[] = {
33412 (char *) "self",(char *) "self",(char *) "_class", NULL
33413 };
33414
33415 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
33416 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
33417 if (!SWIG_IsOK(res1)) {
33418 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
33419 }
33420 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
33421 arg2 = obj1;
33422 arg3 = obj2;
33423 {
33424 PyThreadState* __tstate = wxPyBeginAllowThreads();
33425 (arg1)->_setCallbackInfo(arg2,arg3);
33426 wxPyEndAllowThreads(__tstate);
33427 if (PyErr_Occurred()) SWIG_fail;
33428 }
33429 resultobj = SWIG_Py_Void();
33430 return resultobj;
33431 fail:
33432 return NULL;
33433 }
33434
33435
33436 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33437 PyObject *resultobj = 0;
33438 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
33439 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
33440 void *argp1 = 0 ;
33441 int res1 = 0 ;
33442 void *argp2 = 0 ;
33443 int res2 = 0 ;
33444 PyObject * obj0 = 0 ;
33445 PyObject * obj1 = 0 ;
33446 char * kwnames[] = {
33447 (char *) "self",(char *) "canvas", NULL
33448 };
33449
33450 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
33451 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
33452 if (!SWIG_IsOK(res1)) {
33453 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
33454 }
33455 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
33456 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
33457 if (!SWIG_IsOK(res2)) {
33458 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
33459 }
33460 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
33461 {
33462 PyThreadState* __tstate = wxPyBeginAllowThreads();
33463 (arg1)->SetPreviewCanvas(arg2);
33464 wxPyEndAllowThreads(__tstate);
33465 if (PyErr_Occurred()) SWIG_fail;
33466 }
33467 resultobj = SWIG_Py_Void();
33468 return resultobj;
33469 fail:
33470 return NULL;
33471 }
33472
33473
33474 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33475 PyObject *resultobj = 0;
33476 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
33477 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
33478 void *argp1 = 0 ;
33479 int res1 = 0 ;
33480 void *argp2 = 0 ;
33481 int res2 = 0 ;
33482 PyObject * obj0 = 0 ;
33483 PyObject * obj1 = 0 ;
33484 char * kwnames[] = {
33485 (char *) "self",(char *) "bar", NULL
33486 };
33487
33488 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) SWIG_fail;
33489 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
33490 if (!SWIG_IsOK(res1)) {
33491 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
33492 }
33493 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
33494 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
33495 if (!SWIG_IsOK(res2)) {
33496 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
33497 }
33498 arg2 = reinterpret_cast< wxPreviewControlBar * >(argp2);
33499 {
33500 PyThreadState* __tstate = wxPyBeginAllowThreads();
33501 (arg1)->SetControlBar(arg2);
33502 wxPyEndAllowThreads(__tstate);
33503 if (PyErr_Occurred()) SWIG_fail;
33504 }
33505 resultobj = SWIG_Py_Void();
33506 return resultobj;
33507 fail:
33508 return NULL;
33509 }
33510
33511
33512 SWIGINTERN PyObject *_wrap_PyPreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33513 PyObject *resultobj = 0;
33514 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
33515 void *argp1 = 0 ;
33516 int res1 = 0 ;
33517 PyObject *swig_obj[1] ;
33518
33519 if (!args) SWIG_fail;
33520 swig_obj[0] = args;
33521 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
33522 if (!SWIG_IsOK(res1)) {
33523 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
33524 }
33525 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
33526 {
33527 PyThreadState* __tstate = wxPyBeginAllowThreads();
33528 (arg1)->Initialize();
33529 wxPyEndAllowThreads(__tstate);
33530 if (PyErr_Occurred()) SWIG_fail;
33531 }
33532 resultobj = SWIG_Py_Void();
33533 return resultobj;
33534 fail:
33535 return NULL;
33536 }
33537
33538
33539 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33540 PyObject *resultobj = 0;
33541 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
33542 void *argp1 = 0 ;
33543 int res1 = 0 ;
33544 PyObject *swig_obj[1] ;
33545
33546 if (!args) SWIG_fail;
33547 swig_obj[0] = args;
33548 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
33549 if (!SWIG_IsOK(res1)) {
33550 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
33551 }
33552 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
33553 {
33554 PyThreadState* __tstate = wxPyBeginAllowThreads();
33555 (arg1)->CreateCanvas();
33556 wxPyEndAllowThreads(__tstate);
33557 if (PyErr_Occurred()) SWIG_fail;
33558 }
33559 resultobj = SWIG_Py_Void();
33560 return resultobj;
33561 fail:
33562 return NULL;
33563 }
33564
33565
33566 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33567 PyObject *resultobj = 0;
33568 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
33569 void *argp1 = 0 ;
33570 int res1 = 0 ;
33571 PyObject *swig_obj[1] ;
33572
33573 if (!args) SWIG_fail;
33574 swig_obj[0] = args;
33575 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
33576 if (!SWIG_IsOK(res1)) {
33577 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
33578 }
33579 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
33580 {
33581 PyThreadState* __tstate = wxPyBeginAllowThreads();
33582 (arg1)->CreateControlBar();
33583 wxPyEndAllowThreads(__tstate);
33584 if (PyErr_Occurred()) SWIG_fail;
33585 }
33586 resultobj = SWIG_Py_Void();
33587 return resultobj;
33588 fail:
33589 return NULL;
33590 }
33591
33592
33593 SWIGINTERN PyObject *PyPreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33594 PyObject *obj;
33595 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
33596 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame, SWIG_NewClientData(obj));
33597 return SWIG_Py_Void();
33598 }
33599
33600 SWIGINTERN PyObject *PyPreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33601 return SWIG_Python_InitShadowInstance(args);
33602 }
33603
33604 SWIGINTERN PyObject *_wrap_new_PyPreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33605 PyObject *resultobj = 0;
33606 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
33607 long arg2 ;
33608 wxWindow *arg3 = (wxWindow *) 0 ;
33609 wxPoint const &arg4_defvalue = wxDefaultPosition ;
33610 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
33611 wxSize const &arg5_defvalue = wxDefaultSize ;
33612 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
33613 long arg6 = (long) 0 ;
33614 wxString const &arg7_defvalue = wxPyPanelNameStr ;
33615 wxString *arg7 = (wxString *) &arg7_defvalue ;
33616 wxPyPreviewControlBar *result = 0 ;
33617 int res1 = 0 ;
33618 long val2 ;
33619 int ecode2 = 0 ;
33620 void *argp3 = 0 ;
33621 int res3 = 0 ;
33622 wxPoint temp4 ;
33623 wxSize temp5 ;
33624 long val6 ;
33625 int ecode6 = 0 ;
33626 bool temp7 = false ;
33627 PyObject * obj0 = 0 ;
33628 PyObject * obj1 = 0 ;
33629 PyObject * obj2 = 0 ;
33630 PyObject * obj3 = 0 ;
33631 PyObject * obj4 = 0 ;
33632 PyObject * obj5 = 0 ;
33633 PyObject * obj6 = 0 ;
33634 char * kwnames[] = {
33635 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
33636 };
33637
33638 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
33639 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
33640 if (!SWIG_IsOK(res1)) {
33641 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
33642 }
33643 ecode2 = SWIG_AsVal_long(obj1, &val2);
33644 if (!SWIG_IsOK(ecode2)) {
33645 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
33646 }
33647 arg2 = static_cast< long >(val2);
33648 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
33649 if (!SWIG_IsOK(res3)) {
33650 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
33651 }
33652 arg3 = reinterpret_cast< wxWindow * >(argp3);
33653 if (obj3) {
33654 {
33655 arg4 = &temp4;
33656 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
33657 }
33658 }
33659 if (obj4) {
33660 {
33661 arg5 = &temp5;
33662 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
33663 }
33664 }
33665 if (obj5) {
33666 ecode6 = SWIG_AsVal_long(obj5, &val6);
33667 if (!SWIG_IsOK(ecode6)) {
33668 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
33669 }
33670 arg6 = static_cast< long >(val6);
33671 }
33672 if (obj6) {
33673 {
33674 arg7 = wxString_in_helper(obj6);
33675 if (arg7 == NULL) SWIG_fail;
33676 temp7 = true;
33677 }
33678 }
33679 {
33680 if (!wxPyCheckForApp()) SWIG_fail;
33681 PyThreadState* __tstate = wxPyBeginAllowThreads();
33682 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
33683 wxPyEndAllowThreads(__tstate);
33684 if (PyErr_Occurred()) SWIG_fail;
33685 }
33686 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_NEW | 0 );
33687 {
33688 if (temp7)
33689 delete arg7;
33690 }
33691 return resultobj;
33692 fail:
33693 {
33694 if (temp7)
33695 delete arg7;
33696 }
33697 return NULL;
33698 }
33699
33700
33701 SWIGINTERN PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33702 PyObject *resultobj = 0;
33703 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
33704 PyObject *arg2 = (PyObject *) 0 ;
33705 PyObject *arg3 = (PyObject *) 0 ;
33706 void *argp1 = 0 ;
33707 int res1 = 0 ;
33708 PyObject * obj0 = 0 ;
33709 PyObject * obj1 = 0 ;
33710 PyObject * obj2 = 0 ;
33711 char * kwnames[] = {
33712 (char *) "self",(char *) "self",(char *) "_class", NULL
33713 };
33714
33715 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
33716 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
33717 if (!SWIG_IsOK(res1)) {
33718 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
33719 }
33720 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
33721 arg2 = obj1;
33722 arg3 = obj2;
33723 {
33724 PyThreadState* __tstate = wxPyBeginAllowThreads();
33725 (arg1)->_setCallbackInfo(arg2,arg3);
33726 wxPyEndAllowThreads(__tstate);
33727 if (PyErr_Occurred()) SWIG_fail;
33728 }
33729 resultobj = SWIG_Py_Void();
33730 return resultobj;
33731 fail:
33732 return NULL;
33733 }
33734
33735
33736 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33737 PyObject *resultobj = 0;
33738 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
33739 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
33740 void *argp1 = 0 ;
33741 int res1 = 0 ;
33742 int res2 = 0 ;
33743 PyObject * obj0 = 0 ;
33744 PyObject * obj1 = 0 ;
33745 char * kwnames[] = {
33746 (char *) "self",(char *) "preview", NULL
33747 };
33748
33749 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) SWIG_fail;
33750 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
33751 if (!SWIG_IsOK(res1)) {
33752 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
33753 }
33754 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
33755 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
33756 if (!SWIG_IsOK(res2)) {
33757 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
33758 }
33759 {
33760 PyThreadState* __tstate = wxPyBeginAllowThreads();
33761 (arg1)->SetPrintPreview(arg2);
33762 wxPyEndAllowThreads(__tstate);
33763 if (PyErr_Occurred()) SWIG_fail;
33764 }
33765 resultobj = SWIG_Py_Void();
33766 return resultobj;
33767 fail:
33768 return NULL;
33769 }
33770
33771
33772 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_CreateButtons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33773 PyObject *resultobj = 0;
33774 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
33775 void *argp1 = 0 ;
33776 int res1 = 0 ;
33777 PyObject *swig_obj[1] ;
33778
33779 if (!args) SWIG_fail;
33780 swig_obj[0] = args;
33781 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
33782 if (!SWIG_IsOK(res1)) {
33783 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
33784 }
33785 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
33786 {
33787 PyThreadState* __tstate = wxPyBeginAllowThreads();
33788 (arg1)->CreateButtons();
33789 wxPyEndAllowThreads(__tstate);
33790 if (PyErr_Occurred()) SWIG_fail;
33791 }
33792 resultobj = SWIG_Py_Void();
33793 return resultobj;
33794 fail:
33795 return NULL;
33796 }
33797
33798
33799 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33800 PyObject *resultobj = 0;
33801 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
33802 int arg2 ;
33803 void *argp1 = 0 ;
33804 int res1 = 0 ;
33805 int val2 ;
33806 int ecode2 = 0 ;
33807 PyObject * obj0 = 0 ;
33808 PyObject * obj1 = 0 ;
33809 char * kwnames[] = {
33810 (char *) "self",(char *) "zoom", NULL
33811 };
33812
33813 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
33814 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
33815 if (!SWIG_IsOK(res1)) {
33816 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
33817 }
33818 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
33819 ecode2 = SWIG_AsVal_int(obj1, &val2);
33820 if (!SWIG_IsOK(ecode2)) {
33821 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
33822 }
33823 arg2 = static_cast< int >(val2);
33824 {
33825 PyThreadState* __tstate = wxPyBeginAllowThreads();
33826 (arg1)->SetZoomControl(arg2);
33827 wxPyEndAllowThreads(__tstate);
33828 if (PyErr_Occurred()) SWIG_fail;
33829 }
33830 resultobj = SWIG_Py_Void();
33831 return resultobj;
33832 fail:
33833 return NULL;
33834 }
33835
33836
33837 SWIGINTERN PyObject *PyPreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33838 PyObject *obj;
33839 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
33840 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar, SWIG_NewClientData(obj));
33841 return SWIG_Py_Void();
33842 }
33843
33844 SWIGINTERN PyObject *PyPreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33845 return SWIG_Python_InitShadowInstance(args);
33846 }
33847
33848 static PyMethodDef SwigMethods[] = {
33849 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
33850 { (char *)"new_PrePanel", (PyCFunction)_wrap_new_PrePanel, METH_NOARGS, NULL},
33851 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
33852 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction)_wrap_Panel_SetFocusIgnoringChildren, METH_O, NULL},
33853 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
33854 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
33855 { (char *)"Panel_swiginit", Panel_swiginit, METH_VARARGS, NULL},
33856 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
33857 { (char *)"new_PreScrolledWindow", (PyCFunction)_wrap_new_PreScrolledWindow, METH_NOARGS, NULL},
33858 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
33859 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
33860 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
33861 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
33862 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
33863 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
33864 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction)_wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_O, NULL},
33865 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
33866 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction)_wrap_ScrolledWindow_GetViewStart, METH_O, NULL},
33867 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
33868 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction)_wrap_ScrolledWindow_GetScaleX, METH_O, NULL},
33869 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction)_wrap_ScrolledWindow_GetScaleY, METH_O, NULL},
33870 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
33871 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
33872 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction)_wrap_ScrolledWindow_AdjustScrollbars, METH_O, NULL},
33873 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
33874 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
33875 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction)_wrap_ScrolledWindow_GetTargetWindow, METH_O, NULL},
33876 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
33877 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
33878 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
33879 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit, METH_VARARGS, NULL},
33880 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
33881 { (char *)"TopLevelWindow_Restore", (PyCFunction)_wrap_TopLevelWindow_Restore, METH_O, NULL},
33882 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
33883 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction)_wrap_TopLevelWindow_IsMaximized, METH_O, NULL},
33884 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction)_wrap_TopLevelWindow_IsAlwaysMaximized, METH_O, NULL},
33885 { (char *)"TopLevelWindow_IsIconized", (PyCFunction)_wrap_TopLevelWindow_IsIconized, METH_O, NULL},
33886 { (char *)"TopLevelWindow_GetIcon", (PyCFunction)_wrap_TopLevelWindow_GetIcon, METH_O, NULL},
33887 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
33888 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
33889 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
33890 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction)_wrap_TopLevelWindow_IsFullScreen, METH_O, NULL},
33891 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
33892 { (char *)"TopLevelWindow_GetTitle", (PyCFunction)_wrap_TopLevelWindow_GetTitle, METH_O, NULL},
33893 { (char *)"TopLevelWindow_EnableCloseButton", (PyCFunction) _wrap_TopLevelWindow_EnableCloseButton, METH_VARARGS | METH_KEYWORDS, NULL},
33894 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
33895 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
33896 { (char *)"TopLevelWindow_IsActive", (PyCFunction)_wrap_TopLevelWindow_IsActive, METH_O, NULL},
33897 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
33898 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction)_wrap_TopLevelWindow_MacGetMetalAppearance, METH_O, NULL},
33899 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction) _wrap_TopLevelWindow_CenterOnScreen, METH_VARARGS | METH_KEYWORDS, NULL},
33900 { (char *)"TopLevelWindow_GetDefaultItem", (PyCFunction)_wrap_TopLevelWindow_GetDefaultItem, METH_O, NULL},
33901 { (char *)"TopLevelWindow_SetDefaultItem", (PyCFunction) _wrap_TopLevelWindow_SetDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
33902 { (char *)"TopLevelWindow_SetTmpDefaultItem", (PyCFunction) _wrap_TopLevelWindow_SetTmpDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
33903 { (char *)"TopLevelWindow_GetTmpDefaultItem", (PyCFunction)_wrap_TopLevelWindow_GetTmpDefaultItem, METH_O, NULL},
33904 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
33905 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
33906 { (char *)"new_PreFrame", (PyCFunction)_wrap_new_PreFrame, METH_NOARGS, NULL},
33907 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
33908 { (char *)"Frame_SendSizeEvent", (PyCFunction)_wrap_Frame_SendSizeEvent, METH_O, NULL},
33909 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
33910 { (char *)"Frame_GetMenuBar", (PyCFunction)_wrap_Frame_GetMenuBar, METH_O, NULL},
33911 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
33912 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
33913 { (char *)"Frame_GetStatusBar", (PyCFunction)_wrap_Frame_GetStatusBar, METH_O, NULL},
33914 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
33915 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
33916 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
33917 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
33918 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
33919 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
33920 { (char *)"Frame_GetStatusBarPane", (PyCFunction)_wrap_Frame_GetStatusBarPane, METH_O, NULL},
33921 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
33922 { (char *)"Frame_GetToolBar", (PyCFunction)_wrap_Frame_GetToolBar, METH_O, NULL},
33923 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
33924 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
33925 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
33926 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
33927 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
33928 { (char *)"Frame_swiginit", Frame_swiginit, METH_VARARGS, NULL},
33929 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
33930 { (char *)"new_PreDialog", (PyCFunction)_wrap_new_PreDialog, METH_NOARGS, NULL},
33931 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
33932 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
33933 { (char *)"Dialog_GetReturnCode", (PyCFunction)_wrap_Dialog_GetReturnCode, METH_O, NULL},
33934 { (char *)"Dialog_SetAffirmativeId", (PyCFunction) _wrap_Dialog_SetAffirmativeId, METH_VARARGS | METH_KEYWORDS, NULL},
33935 { (char *)"Dialog_GetAffirmativeId", (PyCFunction)_wrap_Dialog_GetAffirmativeId, METH_O, NULL},
33936 { (char *)"Dialog_SetEscapeId", (PyCFunction) _wrap_Dialog_SetEscapeId, METH_VARARGS | METH_KEYWORDS, NULL},
33937 { (char *)"Dialog_GetEscapeId", (PyCFunction)_wrap_Dialog_GetEscapeId, METH_O, NULL},
33938 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
33939 { (char *)"Dialog__CreateButtonSizer", (PyCFunction) _wrap_Dialog__CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
33940 { (char *)"Dialog_CreateSeparatedButtonSizer", (PyCFunction) _wrap_Dialog_CreateSeparatedButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
33941 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
33942 { (char *)"Dialog_IsModal", (PyCFunction)_wrap_Dialog_IsModal, METH_O, NULL},
33943 { (char *)"Dialog_ShowModal", (PyCFunction)_wrap_Dialog_ShowModal, METH_O, NULL},
33944 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
33945 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
33946 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
33947 { (char *)"Dialog_swiginit", Dialog_swiginit, METH_VARARGS, NULL},
33948 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
33949 { (char *)"new_PreMiniFrame", (PyCFunction)_wrap_new_PreMiniFrame, METH_NOARGS, NULL},
33950 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
33951 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
33952 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit, METH_VARARGS, NULL},
33953 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
33954 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
33955 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction)_wrap_SplashScreenWindow_GetBitmap, METH_O, NULL},
33956 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
33957 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit, METH_VARARGS, NULL},
33958 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
33959 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction)_wrap_SplashScreen_GetSplashStyle, METH_O, NULL},
33960 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction)_wrap_SplashScreen_GetSplashWindow, METH_O, NULL},
33961 { (char *)"SplashScreen_GetTimeout", (PyCFunction)_wrap_SplashScreen_GetTimeout, METH_O, NULL},
33962 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
33963 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit, METH_VARARGS, NULL},
33964 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
33965 { (char *)"new_PreStatusBar", (PyCFunction)_wrap_new_PreStatusBar, METH_NOARGS, NULL},
33966 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
33967 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
33968 { (char *)"StatusBar_GetFieldsCount", (PyCFunction)_wrap_StatusBar_GetFieldsCount, METH_O, NULL},
33969 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
33970 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
33971 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
33972 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
33973 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
33974 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
33975 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
33976 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
33977 { (char *)"StatusBar_GetBorderX", (PyCFunction)_wrap_StatusBar_GetBorderX, METH_O, NULL},
33978 { (char *)"StatusBar_GetBorderY", (PyCFunction)_wrap_StatusBar_GetBorderY, METH_O, NULL},
33979 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
33980 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
33981 { (char *)"StatusBar_swiginit", StatusBar_swiginit, METH_VARARGS, NULL},
33982 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
33983 { (char *)"new_PreSplitterWindow", (PyCFunction)_wrap_new_PreSplitterWindow, METH_NOARGS, NULL},
33984 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
33985 { (char *)"SplitterWindow_GetWindow1", (PyCFunction)_wrap_SplitterWindow_GetWindow1, METH_O, NULL},
33986 { (char *)"SplitterWindow_GetWindow2", (PyCFunction)_wrap_SplitterWindow_GetWindow2, METH_O, NULL},
33987 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
33988 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction)_wrap_SplitterWindow_GetSplitMode, METH_O, NULL},
33989 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
33990 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
33991 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
33992 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
33993 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
33994 { (char *)"SplitterWindow_UpdateSize", (PyCFunction)_wrap_SplitterWindow_UpdateSize, METH_O, NULL},
33995 { (char *)"SplitterWindow_IsSplit", (PyCFunction)_wrap_SplitterWindow_IsSplit, METH_O, NULL},
33996 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
33997 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
33998 { (char *)"SplitterWindow_GetSashSize", (PyCFunction)_wrap_SplitterWindow_GetSashSize, METH_O, NULL},
33999 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction)_wrap_SplitterWindow_GetBorderSize, METH_O, NULL},
34000 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
34001 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction)_wrap_SplitterWindow_GetSashPosition, METH_O, NULL},
34002 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
34003 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction)_wrap_SplitterWindow_GetSashGravity, METH_O, NULL},
34004 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
34005 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction)_wrap_SplitterWindow_GetMinimumPaneSize, METH_O, NULL},
34006 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
34007 { (char *)"SplitterWindow_SizeWindows", (PyCFunction)_wrap_SplitterWindow_SizeWindows, METH_O, NULL},
34008 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
34009 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction)_wrap_SplitterWindow_GetNeedUpdating, METH_O, NULL},
34010 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34011 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
34012 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit, METH_VARARGS, NULL},
34013 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
34014 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
34015 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction)_wrap_SplitterEvent_GetSashPosition, METH_O, NULL},
34016 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction)_wrap_SplitterEvent_GetWindowBeingRemoved, METH_O, NULL},
34017 { (char *)"SplitterEvent_GetX", (PyCFunction)_wrap_SplitterEvent_GetX, METH_O, NULL},
34018 { (char *)"SplitterEvent_GetY", (PyCFunction)_wrap_SplitterEvent_GetY, METH_O, NULL},
34019 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
34020 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit, METH_VARARGS, NULL},
34021 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34022 { (char *)"new_PreSashWindow", (PyCFunction)_wrap_new_PreSashWindow, METH_NOARGS, NULL},
34023 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34024 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
34025 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
34026 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
34027 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
34028 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction)_wrap_SashWindow_GetDefaultBorderSize, METH_O, NULL},
34029 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
34030 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction)_wrap_SashWindow_GetExtraBorderSize, METH_O, NULL},
34031 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
34032 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
34033 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction)_wrap_SashWindow_GetMinimumSizeX, METH_O, NULL},
34034 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction)_wrap_SashWindow_GetMinimumSizeY, METH_O, NULL},
34035 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
34036 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
34037 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction)_wrap_SashWindow_GetMaximumSizeX, METH_O, NULL},
34038 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction)_wrap_SashWindow_GetMaximumSizeY, METH_O, NULL},
34039 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
34040 { (char *)"SashWindow_SizeWindows", (PyCFunction)_wrap_SashWindow_SizeWindows, METH_O, NULL},
34041 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
34042 { (char *)"SashWindow_swiginit", SashWindow_swiginit, METH_VARARGS, NULL},
34043 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
34044 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
34045 { (char *)"SashEvent_GetEdge", (PyCFunction)_wrap_SashEvent_GetEdge, METH_O, NULL},
34046 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
34047 { (char *)"SashEvent_GetDragRect", (PyCFunction)_wrap_SashEvent_GetDragRect, METH_O, NULL},
34048 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
34049 { (char *)"SashEvent_GetDragStatus", (PyCFunction)_wrap_SashEvent_GetDragStatus, METH_O, NULL},
34050 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
34051 { (char *)"SashEvent_swiginit", SashEvent_swiginit, METH_VARARGS, NULL},
34052 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
34053 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
34054 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_O, NULL},
34055 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
34056 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetFlags, METH_O, NULL},
34057 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
34058 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetSize, METH_O, NULL},
34059 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
34060 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetOrientation, METH_O, NULL},
34061 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
34062 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetAlignment, METH_O, NULL},
34063 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
34064 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit, METH_VARARGS, NULL},
34065 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
34066 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
34067 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction)_wrap_CalculateLayoutEvent_GetFlags, METH_O, NULL},
34068 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
34069 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction)_wrap_CalculateLayoutEvent_GetRect, METH_O, NULL},
34070 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
34071 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit, METH_VARARGS, NULL},
34072 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34073 { (char *)"new_PreSashLayoutWindow", (PyCFunction)_wrap_new_PreSashLayoutWindow, METH_NOARGS, NULL},
34074 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34075 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction)_wrap_SashLayoutWindow_GetAlignment, METH_O, NULL},
34076 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction)_wrap_SashLayoutWindow_GetOrientation, METH_O, NULL},
34077 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
34078 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
34079 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
34080 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
34081 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit, METH_VARARGS, NULL},
34082 { (char *)"new_LayoutAlgorithm", (PyCFunction)_wrap_new_LayoutAlgorithm, METH_NOARGS, NULL},
34083 { (char *)"delete_LayoutAlgorithm", (PyCFunction)_wrap_delete_LayoutAlgorithm, METH_O, NULL},
34084 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
34085 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
34086 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34087 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
34088 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit, METH_VARARGS, NULL},
34089 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34090 { (char *)"new_PrePopupWindow", (PyCFunction)_wrap_new_PrePopupWindow, METH_NOARGS, NULL},
34091 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34092 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS, NULL},
34093 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
34094 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit, METH_VARARGS, NULL},
34095 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34096 { (char *)"new_PrePopupTransientWindow", (PyCFunction)_wrap_new_PrePopupTransientWindow, METH_NOARGS, NULL},
34097 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
34098 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS, NULL},
34099 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction)_wrap_PopupTransientWindow_Dismiss, METH_O, NULL},
34100 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
34101 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit, METH_VARARGS, NULL},
34102 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34103 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
34104 { (char *)"TipWindow_Close", (PyCFunction)_wrap_TipWindow_Close, METH_O, NULL},
34105 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
34106 { (char *)"TipWindow_swiginit", TipWindow_swiginit, METH_VARARGS, NULL},
34107 { (char *)"VarScrollHelperBase_EnablePhysicalScrolling", (PyCFunction) _wrap_VarScrollHelperBase_EnablePhysicalScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
34108 { (char *)"VarScrollHelperBase_HitTest", (PyCFunction) _wrap_VarScrollHelperBase_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
34109 { (char *)"VarScrollHelperBase_RefreshAll", (PyCFunction)_wrap_VarScrollHelperBase_RefreshAll, METH_O, NULL},
34110 { (char *)"VarScrollHelperBase_GetVisibleBegin", (PyCFunction)_wrap_VarScrollHelperBase_GetVisibleBegin, METH_O, NULL},
34111 { (char *)"VarScrollHelperBase_GetVisibleEnd", (PyCFunction)_wrap_VarScrollHelperBase_GetVisibleEnd, METH_O, NULL},
34112 { (char *)"VarScrollHelperBase_IsVisible", (PyCFunction) _wrap_VarScrollHelperBase_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
34113 { (char *)"VarScrollHelperBase_CalcScrolledPosition", (PyCFunction) _wrap_VarScrollHelperBase_CalcScrolledPosition, METH_VARARGS | METH_KEYWORDS, NULL},
34114 { (char *)"VarScrollHelperBase_CalcUnscrolledPosition", (PyCFunction) _wrap_VarScrollHelperBase_CalcUnscrolledPosition, METH_VARARGS | METH_KEYWORDS, NULL},
34115 { (char *)"VarScrollHelperBase_UpdateScrollbar", (PyCFunction)_wrap_VarScrollHelperBase_UpdateScrollbar, METH_O, NULL},
34116 { (char *)"VarScrollHelperBase_RemoveScrollbar", (PyCFunction)_wrap_VarScrollHelperBase_RemoveScrollbar, METH_O, NULL},
34117 { (char *)"VarScrollHelperBase_SetTargetWindow", (PyCFunction) _wrap_VarScrollHelperBase_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34118 { (char *)"VarScrollHelperBase_GetTargetWindow", (PyCFunction)_wrap_VarScrollHelperBase_GetTargetWindow, METH_O, NULL},
34119 { (char *)"VarScrollHelperBase_GetOrientationTargetSize", (PyCFunction)_wrap_VarScrollHelperBase_GetOrientationTargetSize, METH_O, NULL},
34120 { (char *)"VarScrollHelperBase_GetNonOrientationTargetSize", (PyCFunction)_wrap_VarScrollHelperBase_GetNonOrientationTargetSize, METH_O, NULL},
34121 { (char *)"VarScrollHelperBase_GetOrientation", (PyCFunction)_wrap_VarScrollHelperBase_GetOrientation, METH_O, NULL},
34122 { (char *)"VarScrollHelperBase_swigregister", VarScrollHelperBase_swigregister, METH_VARARGS, NULL},
34123 { (char *)"VarVScrollHelper_SetRowCount", (PyCFunction) _wrap_VarVScrollHelper_SetRowCount, METH_VARARGS | METH_KEYWORDS, NULL},
34124 { (char *)"VarVScrollHelper_ScrollToRow", (PyCFunction) _wrap_VarVScrollHelper_ScrollToRow, METH_VARARGS | METH_KEYWORDS, NULL},
34125 { (char *)"VarVScrollHelper_ScrollRows", (PyCFunction) _wrap_VarVScrollHelper_ScrollRows, METH_VARARGS | METH_KEYWORDS, NULL},
34126 { (char *)"VarVScrollHelper_ScrollRowPages", (PyCFunction) _wrap_VarVScrollHelper_ScrollRowPages, METH_VARARGS | METH_KEYWORDS, NULL},
34127 { (char *)"VarVScrollHelper_RefreshRow", (PyCFunction) _wrap_VarVScrollHelper_RefreshRow, METH_VARARGS | METH_KEYWORDS, NULL},
34128 { (char *)"VarVScrollHelper_RefreshRows", (PyCFunction) _wrap_VarVScrollHelper_RefreshRows, METH_VARARGS | METH_KEYWORDS, NULL},
34129 { (char *)"VarVScrollHelper_GetRowCount", (PyCFunction)_wrap_VarVScrollHelper_GetRowCount, METH_O, NULL},
34130 { (char *)"VarVScrollHelper_GetVisibleRowsBegin", (PyCFunction)_wrap_VarVScrollHelper_GetVisibleRowsBegin, METH_O, NULL},
34131 { (char *)"VarVScrollHelper_GetVisibleRowsEnd", (PyCFunction)_wrap_VarVScrollHelper_GetVisibleRowsEnd, METH_O, NULL},
34132 { (char *)"VarVScrollHelper_IsRowVisible", (PyCFunction) _wrap_VarVScrollHelper_IsRowVisible, METH_VARARGS | METH_KEYWORDS, NULL},
34133 { (char *)"VarVScrollHelper_swigregister", VarVScrollHelper_swigregister, METH_VARARGS, NULL},
34134 { (char *)"VarHScrollHelper_SetColumnCount", (PyCFunction) _wrap_VarHScrollHelper_SetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL},
34135 { (char *)"VarHScrollHelper_ScrollToColumn", (PyCFunction) _wrap_VarHScrollHelper_ScrollToColumn, METH_VARARGS | METH_KEYWORDS, NULL},
34136 { (char *)"VarHScrollHelper_ScrollColumns", (PyCFunction) _wrap_VarHScrollHelper_ScrollColumns, METH_VARARGS | METH_KEYWORDS, NULL},
34137 { (char *)"VarHScrollHelper_ScrollColumnPages", (PyCFunction) _wrap_VarHScrollHelper_ScrollColumnPages, METH_VARARGS | METH_KEYWORDS, NULL},
34138 { (char *)"VarHScrollHelper_RefreshColumn", (PyCFunction) _wrap_VarHScrollHelper_RefreshColumn, METH_VARARGS | METH_KEYWORDS, NULL},
34139 { (char *)"VarHScrollHelper_RefreshColumns", (PyCFunction) _wrap_VarHScrollHelper_RefreshColumns, METH_VARARGS | METH_KEYWORDS, NULL},
34140 { (char *)"VarHScrollHelper_GetColumnCount", (PyCFunction)_wrap_VarHScrollHelper_GetColumnCount, METH_O, NULL},
34141 { (char *)"VarHScrollHelper_GetVisibleColumnsBegin", (PyCFunction)_wrap_VarHScrollHelper_GetVisibleColumnsBegin, METH_O, NULL},
34142 { (char *)"VarHScrollHelper_GetVisibleColumnsEnd", (PyCFunction)_wrap_VarHScrollHelper_GetVisibleColumnsEnd, METH_O, NULL},
34143 { (char *)"VarHScrollHelper_IsColumnVisible", (PyCFunction) _wrap_VarHScrollHelper_IsColumnVisible, METH_VARARGS | METH_KEYWORDS, NULL},
34144 { (char *)"VarHScrollHelper_swigregister", VarHScrollHelper_swigregister, METH_VARARGS, NULL},
34145 { (char *)"VarHVScrollHelper_SetRowColumnCount", (PyCFunction) _wrap_VarHVScrollHelper_SetRowColumnCount, METH_VARARGS | METH_KEYWORDS, NULL},
34146 { (char *)"VarHVScrollHelper_EnablePhysicalScrolling", (PyCFunction) _wrap_VarHVScrollHelper_EnablePhysicalScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
34147 { (char *)"VarHVScrollHelper_ScrollToRowColumn", (PyCFunction) _wrap_VarHVScrollHelper_ScrollToRowColumn, METH_VARARGS | METH_KEYWORDS, NULL},
34148 { (char *)"VarHVScrollHelper_RefreshRowColumn", (PyCFunction) _wrap_VarHVScrollHelper_RefreshRowColumn, METH_VARARGS | METH_KEYWORDS, NULL},
34149 { (char *)"VarHVScrollHelper_RefreshRowsColumns", (PyCFunction) _wrap_VarHVScrollHelper_RefreshRowsColumns, METH_VARARGS | METH_KEYWORDS, NULL},
34150 { (char *)"VarHVScrollHelper_HitTest", (PyCFunction) _wrap_VarHVScrollHelper_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
34151 { (char *)"VarHVScrollHelper_ScrollLayout", (PyCFunction)_wrap_VarHVScrollHelper_ScrollLayout, METH_O, NULL},
34152 { (char *)"VarHVScrollHelper_GetRowColumnCount", (PyCFunction)_wrap_VarHVScrollHelper_GetRowColumnCount, METH_O, NULL},
34153 { (char *)"VarHVScrollHelper_GetVisibleBegin", (PyCFunction)_wrap_VarHVScrollHelper_GetVisibleBegin, METH_O, NULL},
34154 { (char *)"VarHVScrollHelper_GetVisibleEnd", (PyCFunction)_wrap_VarHVScrollHelper_GetVisibleEnd, METH_O, NULL},
34155 { (char *)"VarHVScrollHelper_IsVisible", (PyCFunction) _wrap_VarHVScrollHelper_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
34156 { (char *)"VarHVScrollHelper_swigregister", VarHVScrollHelper_swigregister, METH_VARARGS, NULL},
34157 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34158 { (char *)"new_PreVScrolledWindow", (PyCFunction)_wrap_new_PreVScrolledWindow, METH_NOARGS, NULL},
34159 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
34160 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34161 { (char *)"VScrolledWindow_GetRowsHeight", (PyCFunction) _wrap_VScrolledWindow_GetRowsHeight, METH_VARARGS | METH_KEYWORDS, NULL},
34162 { (char *)"VScrolledWindow_EstimateTotalHeight", (PyCFunction)_wrap_VScrolledWindow_EstimateTotalHeight, METH_O, NULL},
34163 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
34164 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
34165 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit, METH_VARARGS, NULL},
34166 { (char *)"new_HScrolledWindow", (PyCFunction) _wrap_new_HScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34167 { (char *)"new_PreHScrolledWindow", (PyCFunction)_wrap_new_PreHScrolledWindow, METH_NOARGS, NULL},
34168 { (char *)"HScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_HScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
34169 { (char *)"HScrolledWindow_Create", (PyCFunction) _wrap_HScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34170 { (char *)"HScrolledWindow_HitTest", (PyCFunction) _wrap_HScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
34171 { (char *)"HScrolledWindow_GetColumnsWidth", (PyCFunction) _wrap_HScrolledWindow_GetColumnsWidth, METH_VARARGS | METH_KEYWORDS, NULL},
34172 { (char *)"HScrolledWindow_EstimateTotalWidth", (PyCFunction)_wrap_HScrolledWindow_EstimateTotalWidth, METH_O, NULL},
34173 { (char *)"HScrolledWindow_swigregister", HScrolledWindow_swigregister, METH_VARARGS, NULL},
34174 { (char *)"HScrolledWindow_swiginit", HScrolledWindow_swiginit, METH_VARARGS, NULL},
34175 { (char *)"new_HVScrolledWindow", (PyCFunction) _wrap_new_HVScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34176 { (char *)"new_PreHVScrolledWindow", (PyCFunction)_wrap_new_PreHVScrolledWindow, METH_NOARGS, NULL},
34177 { (char *)"HVScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_HVScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
34178 { (char *)"HVScrolledWindow_Create", (PyCFunction) _wrap_HVScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34179 { (char *)"HVScrolledWindow_GetRowsHeight", (PyCFunction) _wrap_HVScrolledWindow_GetRowsHeight, METH_VARARGS | METH_KEYWORDS, NULL},
34180 { (char *)"HVScrolledWindow_EstimateTotalHeight", (PyCFunction)_wrap_HVScrolledWindow_EstimateTotalHeight, METH_O, NULL},
34181 { (char *)"HVScrolledWindow_GetColumnsWidth", (PyCFunction) _wrap_HVScrolledWindow_GetColumnsWidth, METH_VARARGS | METH_KEYWORDS, NULL},
34182 { (char *)"HVScrolledWindow_EstimateTotalWidth", (PyCFunction)_wrap_HVScrolledWindow_EstimateTotalWidth, METH_O, NULL},
34183 { (char *)"HVScrolledWindow_swigregister", HVScrolledWindow_swigregister, METH_VARARGS, NULL},
34184 { (char *)"HVScrolledWindow_swiginit", HVScrolledWindow_swiginit, METH_VARARGS, NULL},
34185 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
34186 { (char *)"new_PreVListBox", (PyCFunction)_wrap_new_PreVListBox, METH_NOARGS, NULL},
34187 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
34188 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34189 { (char *)"VListBox_GetItemCount", (PyCFunction)_wrap_VListBox_GetItemCount, METH_O, NULL},
34190 { (char *)"VListBox_HasMultipleSelection", (PyCFunction)_wrap_VListBox_HasMultipleSelection, METH_O, NULL},
34191 { (char *)"VListBox_GetSelection", (PyCFunction)_wrap_VListBox_GetSelection, METH_O, NULL},
34192 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
34193 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
34194 { (char *)"VListBox_GetSelectedCount", (PyCFunction)_wrap_VListBox_GetSelectedCount, METH_O, NULL},
34195 { (char *)"VListBox_GetFirstSelected", (PyCFunction)_wrap_VListBox_GetFirstSelected, METH_O, NULL},
34196 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
34197 { (char *)"VListBox_GetMargins", (PyCFunction)_wrap_VListBox_GetMargins, METH_O, NULL},
34198 { (char *)"VListBox_GetSelectionBackground", (PyCFunction)_wrap_VListBox_GetSelectionBackground, METH_O, NULL},
34199 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
34200 { (char *)"VListBox_Clear", (PyCFunction)_wrap_VListBox_Clear, METH_O, NULL},
34201 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34202 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
34203 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
34204 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
34205 { (char *)"VListBox_SelectAll", (PyCFunction)_wrap_VListBox_SelectAll, METH_O, NULL},
34206 { (char *)"VListBox_DeselectAll", (PyCFunction)_wrap_VListBox_DeselectAll, METH_O, NULL},
34207 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
34208 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
34209 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
34210 { (char *)"VListBox_RefreshSelected", (PyCFunction)_wrap_VListBox_RefreshSelected, METH_O, NULL},
34211 { (char *)"VListBox_OnDrawSeparator", (PyCFunction) _wrap_VListBox_OnDrawSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
34212 { (char *)"VListBox_OnDrawBackground", (PyCFunction) _wrap_VListBox_OnDrawBackground, METH_VARARGS | METH_KEYWORDS, NULL},
34213 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
34214 { (char *)"VListBox_swiginit", VListBox_swiginit, METH_VARARGS, NULL},
34215 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
34216 { (char *)"new_PreHtmlListBox", (PyCFunction)_wrap_new_PreHtmlListBox, METH_NOARGS, NULL},
34217 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
34218 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34219 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
34220 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction)_wrap_HtmlListBox_GetFileSystem, METH_O, NULL},
34221 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction) _wrap_HtmlListBox_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL},
34222 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
34223 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit, METH_VARARGS, NULL},
34224 { (char *)"new_SimpleHtmlListBox", (PyCFunction) _wrap_new_SimpleHtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
34225 { (char *)"new_PreSimpleHtmlListBox", (PyCFunction)_wrap_new_PreSimpleHtmlListBox, METH_NOARGS, NULL},
34226 { (char *)"SimpleHtmlListBox_Create", (PyCFunction) _wrap_SimpleHtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34227 { (char *)"SimpleHtmlListBox_swigregister", SimpleHtmlListBox_swigregister, METH_VARARGS, NULL},
34228 { (char *)"SimpleHtmlListBox_swiginit", SimpleHtmlListBox_swiginit, METH_VARARGS, NULL},
34229 { (char *)"new_TaskBarIcon", (PyCFunction)_wrap_new_TaskBarIcon, METH_NOARGS, NULL},
34230 { (char *)"delete_TaskBarIcon", (PyCFunction)_wrap_delete_TaskBarIcon, METH_O, NULL},
34231 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
34232 { (char *)"TaskBarIcon_Destroy", (PyCFunction)_wrap_TaskBarIcon_Destroy, METH_O, NULL},
34233 { (char *)"TaskBarIcon_IsOk", (PyCFunction)_wrap_TaskBarIcon_IsOk, METH_O, NULL},
34234 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction)_wrap_TaskBarIcon_IsIconInstalled, METH_O, NULL},
34235 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
34236 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction)_wrap_TaskBarIcon_RemoveIcon, METH_O, NULL},
34237 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
34238 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
34239 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit, METH_VARARGS, NULL},
34240 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
34241 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
34242 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit, METH_VARARGS, NULL},
34243 { (char *)"new_ColourData", (PyCFunction)_wrap_new_ColourData, METH_NOARGS, NULL},
34244 { (char *)"delete_ColourData", (PyCFunction)_wrap_delete_ColourData, METH_O, NULL},
34245 { (char *)"ColourData_GetChooseFull", (PyCFunction)_wrap_ColourData_GetChooseFull, METH_O, NULL},
34246 { (char *)"ColourData_GetColour", (PyCFunction)_wrap_ColourData_GetColour, METH_O, NULL},
34247 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
34248 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
34249 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
34250 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
34251 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
34252 { (char *)"ColourData_swiginit", ColourData_swiginit, METH_VARARGS, NULL},
34253 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
34254 { (char *)"ColourDialog_GetColourData", (PyCFunction)_wrap_ColourDialog_GetColourData, METH_O, NULL},
34255 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
34256 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit, METH_VARARGS, NULL},
34257 { (char *)"GetColourFromUser", (PyCFunction) _wrap_GetColourFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
34258 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
34259 { (char *)"DirDialog_GetPath", (PyCFunction)_wrap_DirDialog_GetPath, METH_O, NULL},
34260 { (char *)"DirDialog_GetMessage", (PyCFunction)_wrap_DirDialog_GetMessage, METH_O, NULL},
34261 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
34262 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
34263 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
34264 { (char *)"DirDialog_swiginit", DirDialog_swiginit, METH_VARARGS, NULL},
34265 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
34266 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
34267 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
34268 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
34269 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
34270 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
34271 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
34272 { (char *)"FileDialog_GetMessage", (PyCFunction)_wrap_FileDialog_GetMessage, METH_O, NULL},
34273 { (char *)"FileDialog_GetPath", (PyCFunction)_wrap_FileDialog_GetPath, METH_O, NULL},
34274 { (char *)"FileDialog_GetDirectory", (PyCFunction)_wrap_FileDialog_GetDirectory, METH_O, NULL},
34275 { (char *)"FileDialog_GetFilename", (PyCFunction)_wrap_FileDialog_GetFilename, METH_O, NULL},
34276 { (char *)"FileDialog_GetWildcard", (PyCFunction)_wrap_FileDialog_GetWildcard, METH_O, NULL},
34277 { (char *)"FileDialog_GetFilterIndex", (PyCFunction)_wrap_FileDialog_GetFilterIndex, METH_O, NULL},
34278 { (char *)"FileDialog_GetFilenames", (PyCFunction)_wrap_FileDialog_GetFilenames, METH_O, NULL},
34279 { (char *)"FileDialog_GetPaths", (PyCFunction)_wrap_FileDialog_GetPaths, METH_O, NULL},
34280 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
34281 { (char *)"FileDialog_swiginit", FileDialog_swiginit, METH_VARARGS, NULL},
34282 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
34283 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
34284 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction)_wrap_MultiChoiceDialog_GetSelections, METH_O, NULL},
34285 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
34286 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit, METH_VARARGS, NULL},
34287 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
34288 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetSelection, METH_O, NULL},
34289 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetStringSelection, METH_O, NULL},
34290 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34291 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
34292 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit, METH_VARARGS, NULL},
34293 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
34294 { (char *)"TextEntryDialog_GetValue", (PyCFunction)_wrap_TextEntryDialog_GetValue, METH_O, NULL},
34295 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34296 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
34297 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit, METH_VARARGS, NULL},
34298 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
34299 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
34300 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit, METH_VARARGS, NULL},
34301 { (char *)"new_NumberEntryDialog", (PyCFunction) _wrap_new_NumberEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
34302 { (char *)"NumberEntryDialog_GetValue", (PyCFunction)_wrap_NumberEntryDialog_GetValue, METH_O, NULL},
34303 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister, METH_VARARGS, NULL},
34304 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit, METH_VARARGS, NULL},
34305 { (char *)"new_FontData", (PyCFunction)_wrap_new_FontData, METH_NOARGS, NULL},
34306 { (char *)"delete_FontData", (PyCFunction)_wrap_delete_FontData, METH_O, NULL},
34307 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
34308 { (char *)"FontData_GetAllowSymbols", (PyCFunction)_wrap_FontData_GetAllowSymbols, METH_O, NULL},
34309 { (char *)"FontData_GetColour", (PyCFunction)_wrap_FontData_GetColour, METH_O, NULL},
34310 { (char *)"FontData_GetChosenFont", (PyCFunction)_wrap_FontData_GetChosenFont, METH_O, NULL},
34311 { (char *)"FontData_GetEnableEffects", (PyCFunction)_wrap_FontData_GetEnableEffects, METH_O, NULL},
34312 { (char *)"FontData_GetInitialFont", (PyCFunction)_wrap_FontData_GetInitialFont, METH_O, NULL},
34313 { (char *)"FontData_GetShowHelp", (PyCFunction)_wrap_FontData_GetShowHelp, METH_O, NULL},
34314 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
34315 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
34316 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
34317 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
34318 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
34319 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
34320 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
34321 { (char *)"FontData_swiginit", FontData_swiginit, METH_VARARGS, NULL},
34322 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
34323 { (char *)"FontDialog_GetFontData", (PyCFunction)_wrap_FontDialog_GetFontData, METH_O, NULL},
34324 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
34325 { (char *)"FontDialog_swiginit", FontDialog_swiginit, METH_VARARGS, NULL},
34326 { (char *)"GetFontFromUser", (PyCFunction) _wrap_GetFontFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
34327 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
34328 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
34329 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit, METH_VARARGS, NULL},
34330 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
34331 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
34332 { (char *)"ProgressDialog_Pulse", (PyCFunction) _wrap_ProgressDialog_Pulse, METH_VARARGS | METH_KEYWORDS, NULL},
34333 { (char *)"ProgressDialog_Resume", (PyCFunction)_wrap_ProgressDialog_Resume, METH_O, NULL},
34334 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
34335 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit, METH_VARARGS, NULL},
34336 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
34337 { (char *)"FindDialogEvent_GetFlags", (PyCFunction)_wrap_FindDialogEvent_GetFlags, METH_O, NULL},
34338 { (char *)"FindDialogEvent_GetFindString", (PyCFunction)_wrap_FindDialogEvent_GetFindString, METH_O, NULL},
34339 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction)_wrap_FindDialogEvent_GetReplaceString, METH_O, NULL},
34340 { (char *)"FindDialogEvent_GetDialog", (PyCFunction)_wrap_FindDialogEvent_GetDialog, METH_O, NULL},
34341 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
34342 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
34343 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
34344 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
34345 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit, METH_VARARGS, NULL},
34346 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
34347 { (char *)"delete_FindReplaceData", (PyCFunction)_wrap_delete_FindReplaceData, METH_O, NULL},
34348 { (char *)"FindReplaceData_GetFindString", (PyCFunction)_wrap_FindReplaceData_GetFindString, METH_O, NULL},
34349 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction)_wrap_FindReplaceData_GetReplaceString, METH_O, NULL},
34350 { (char *)"FindReplaceData_GetFlags", (PyCFunction)_wrap_FindReplaceData_GetFlags, METH_O, NULL},
34351 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
34352 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
34353 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
34354 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
34355 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit, METH_VARARGS, NULL},
34356 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
34357 { (char *)"new_PreFindReplaceDialog", (PyCFunction)_wrap_new_PreFindReplaceDialog, METH_NOARGS, NULL},
34358 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34359 { (char *)"FindReplaceDialog_GetData", (PyCFunction)_wrap_FindReplaceDialog_GetData, METH_O, NULL},
34360 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
34361 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
34362 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit, METH_VARARGS, NULL},
34363 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
34364 { (char *)"new_PreMDIParentFrame", (PyCFunction)_wrap_new_PreMDIParentFrame, METH_NOARGS, NULL},
34365 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34366 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction)_wrap_MDIParentFrame_ActivateNext, METH_O, NULL},
34367 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction)_wrap_MDIParentFrame_ActivatePrevious, METH_O, NULL},
34368 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction)_wrap_MDIParentFrame_ArrangeIcons, METH_O, NULL},
34369 { (char *)"MDIParentFrame_Cascade", (PyCFunction)_wrap_MDIParentFrame_Cascade, METH_O, NULL},
34370 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction)_wrap_MDIParentFrame_GetActiveChild, METH_O, NULL},
34371 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction)_wrap_MDIParentFrame_GetClientWindow, METH_O, NULL},
34372 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
34373 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
34374 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit, METH_VARARGS, NULL},
34375 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
34376 { (char *)"new_PreMDIChildFrame", (PyCFunction)_wrap_new_PreMDIChildFrame, METH_NOARGS, NULL},
34377 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34378 { (char *)"MDIChildFrame_Activate", (PyCFunction)_wrap_MDIChildFrame_Activate, METH_O, NULL},
34379 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
34380 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit, METH_VARARGS, NULL},
34381 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34382 { (char *)"new_PreMDIClientWindow", (PyCFunction)_wrap_new_PreMDIClientWindow, METH_NOARGS, NULL},
34383 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34384 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
34385 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit, METH_VARARGS, NULL},
34386 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34387 { (char *)"new_PrePyWindow", (PyCFunction)_wrap_new_PrePyWindow, METH_NOARGS, NULL},
34388 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
34389 { (char *)"PyWindow_DoEraseBackground", (PyCFunction) _wrap_PyWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
34390 { (char *)"PyWindow_DoMoveWindow", (PyCFunction) _wrap_PyWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34391 { (char *)"PyWindow_DoSetSize", (PyCFunction) _wrap_PyWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
34392 { (char *)"PyWindow_DoSetClientSize", (PyCFunction) _wrap_PyWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
34393 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
34394 { (char *)"PyWindow_DoGetSize", (PyCFunction)_wrap_PyWindow_DoGetSize, METH_O, NULL},
34395 { (char *)"PyWindow_DoGetClientSize", (PyCFunction)_wrap_PyWindow_DoGetClientSize, METH_O, NULL},
34396 { (char *)"PyWindow_DoGetPosition", (PyCFunction)_wrap_PyWindow_DoGetPosition, METH_O, NULL},
34397 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyWindow_DoGetVirtualSize, METH_O, NULL},
34398 { (char *)"PyWindow_DoGetBestSize", (PyCFunction)_wrap_PyWindow_DoGetBestSize, METH_O, NULL},
34399 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyWindow_GetDefaultAttributes, METH_O, NULL},
34400 { (char *)"PyWindow_OnInternalIdle", (PyCFunction)_wrap_PyWindow_OnInternalIdle, METH_O, NULL},
34401 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
34402 { (char *)"PyWindow_swiginit", PyWindow_swiginit, METH_VARARGS, NULL},
34403 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
34404 { (char *)"new_PrePyPanel", (PyCFunction)_wrap_new_PrePyPanel, METH_NOARGS, NULL},
34405 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
34406 { (char *)"PyPanel_DoEraseBackground", (PyCFunction) _wrap_PyPanel_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
34407 { (char *)"PyPanel_DoMoveWindow", (PyCFunction) _wrap_PyPanel_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34408 { (char *)"PyPanel_DoSetSize", (PyCFunction) _wrap_PyPanel_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
34409 { (char *)"PyPanel_DoSetClientSize", (PyCFunction) _wrap_PyPanel_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
34410 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
34411 { (char *)"PyPanel_DoGetSize", (PyCFunction)_wrap_PyPanel_DoGetSize, METH_O, NULL},
34412 { (char *)"PyPanel_DoGetClientSize", (PyCFunction)_wrap_PyPanel_DoGetClientSize, METH_O, NULL},
34413 { (char *)"PyPanel_DoGetPosition", (PyCFunction)_wrap_PyPanel_DoGetPosition, METH_O, NULL},
34414 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction)_wrap_PyPanel_DoGetVirtualSize, METH_O, NULL},
34415 { (char *)"PyPanel_DoGetBestSize", (PyCFunction)_wrap_PyPanel_DoGetBestSize, METH_O, NULL},
34416 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction)_wrap_PyPanel_GetDefaultAttributes, METH_O, NULL},
34417 { (char *)"PyPanel_OnInternalIdle", (PyCFunction)_wrap_PyPanel_OnInternalIdle, METH_O, NULL},
34418 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
34419 { (char *)"PyPanel_swiginit", PyPanel_swiginit, METH_VARARGS, NULL},
34420 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34421 { (char *)"new_PrePyScrolledWindow", (PyCFunction)_wrap_new_PrePyScrolledWindow, METH_NOARGS, NULL},
34422 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
34423 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction) _wrap_PyScrolledWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
34424 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34425 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
34426 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
34427 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
34428 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetSize, METH_O, NULL},
34429 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetClientSize, METH_O, NULL},
34430 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction)_wrap_PyScrolledWindow_DoGetPosition, METH_O, NULL},
34431 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetVirtualSize, METH_O, NULL},
34432 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetBestSize, METH_O, NULL},
34433 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyScrolledWindow_GetDefaultAttributes, METH_O, NULL},
34434 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction)_wrap_PyScrolledWindow_OnInternalIdle, METH_O, NULL},
34435 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
34436 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit, METH_VARARGS, NULL},
34437 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
34438 { (char *)"delete_PrintData", (PyCFunction)_wrap_delete_PrintData, METH_O, NULL},
34439 { (char *)"PrintData_GetNoCopies", (PyCFunction)_wrap_PrintData_GetNoCopies, METH_O, NULL},
34440 { (char *)"PrintData_GetCollate", (PyCFunction)_wrap_PrintData_GetCollate, METH_O, NULL},
34441 { (char *)"PrintData_GetOrientation", (PyCFunction)_wrap_PrintData_GetOrientation, METH_O, NULL},
34442 { (char *)"PrintData_IsOrientationReversed", (PyCFunction)_wrap_PrintData_IsOrientationReversed, METH_O, NULL},
34443 { (char *)"PrintData_IsOk", (PyCFunction)_wrap_PrintData_IsOk, METH_O, NULL},
34444 { (char *)"PrintData_GetPrinterName", (PyCFunction)_wrap_PrintData_GetPrinterName, METH_O, NULL},
34445 { (char *)"PrintData_GetColour", (PyCFunction)_wrap_PrintData_GetColour, METH_O, NULL},
34446 { (char *)"PrintData_GetDuplex", (PyCFunction)_wrap_PrintData_GetDuplex, METH_O, NULL},
34447 { (char *)"PrintData_GetPaperId", (PyCFunction)_wrap_PrintData_GetPaperId, METH_O, NULL},
34448 { (char *)"PrintData_GetPaperSize", (PyCFunction)_wrap_PrintData_GetPaperSize, METH_O, NULL},
34449 { (char *)"PrintData_GetQuality", (PyCFunction)_wrap_PrintData_GetQuality, METH_O, NULL},
34450 { (char *)"PrintData_GetBin", (PyCFunction)_wrap_PrintData_GetBin, METH_O, NULL},
34451 { (char *)"PrintData_GetPrintMode", (PyCFunction)_wrap_PrintData_GetPrintMode, METH_O, NULL},
34452 { (char *)"PrintData_GetMedia", (PyCFunction)_wrap_PrintData_GetMedia, METH_O, NULL},
34453 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
34454 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
34455 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
34456 { (char *)"PrintData_SetOrientationReversed", (PyCFunction) _wrap_PrintData_SetOrientationReversed, METH_VARARGS | METH_KEYWORDS, NULL},
34457 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
34458 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
34459 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
34460 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
34461 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
34462 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
34463 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
34464 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
34465 { (char *)"PrintData_SetMedia", (PyCFunction) _wrap_PrintData_SetMedia, METH_VARARGS | METH_KEYWORDS, NULL},
34466 { (char *)"PrintData_GetFilename", (PyCFunction)_wrap_PrintData_GetFilename, METH_O, NULL},
34467 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
34468 { (char *)"PrintData_GetPrivData", (PyCFunction)_wrap_PrintData_GetPrivData, METH_O, NULL},
34469 { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
34470 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
34471 { (char *)"PrintData_swiginit", PrintData_swiginit, METH_VARARGS, NULL},
34472 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
34473 { (char *)"delete_PageSetupDialogData", (PyCFunction)_wrap_delete_PageSetupDialogData, METH_O, NULL},
34474 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
34475 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
34476 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
34477 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
34478 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
34479 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultMinMargins, METH_O, NULL},
34480 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction)_wrap_PageSetupDialogData_GetEnableMargins, METH_O, NULL},
34481 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction)_wrap_PageSetupDialogData_GetEnableOrientation, METH_O, NULL},
34482 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePaper, METH_O, NULL},
34483 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePrinter, METH_O, NULL},
34484 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction)_wrap_PageSetupDialogData_GetEnableHelp, METH_O, NULL},
34485 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultInfo, METH_O, NULL},
34486 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMarginTopLeft, METH_O, NULL},
34487 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMarginBottomRight, METH_O, NULL},
34488 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_O, NULL},
34489 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_O, NULL},
34490 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction)_wrap_PageSetupDialogData_GetPaperId, METH_O, NULL},
34491 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction)_wrap_PageSetupDialogData_GetPaperSize, METH_O, NULL},
34492 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction)_wrap_PageSetupDialogData_GetPrintData, METH_O, NULL},
34493 { (char *)"PageSetupDialogData_IsOk", (PyCFunction)_wrap_PageSetupDialogData_IsOk, METH_O, NULL},
34494 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
34495 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
34496 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
34497 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
34498 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
34499 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
34500 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
34501 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
34502 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
34503 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction)_wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_O, NULL},
34504 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction)_wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_O, NULL},
34505 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
34506 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit, METH_VARARGS, NULL},
34507 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
34508 { (char *)"delete_PageSetupDialog", (PyCFunction)_wrap_delete_PageSetupDialog, METH_O, NULL},
34509 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupData, METH_O, NULL},
34510 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupDialogData, METH_O, NULL},
34511 { (char *)"PageSetupDialog_ShowModal", (PyCFunction)_wrap_PageSetupDialog_ShowModal, METH_O, NULL},
34512 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
34513 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit, METH_VARARGS, NULL},
34514 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
34515 { (char *)"delete_PrintDialogData", (PyCFunction)_wrap_delete_PrintDialogData, METH_O, NULL},
34516 { (char *)"PrintDialogData_GetFromPage", (PyCFunction)_wrap_PrintDialogData_GetFromPage, METH_O, NULL},
34517 { (char *)"PrintDialogData_GetToPage", (PyCFunction)_wrap_PrintDialogData_GetToPage, METH_O, NULL},
34518 { (char *)"PrintDialogData_GetMinPage", (PyCFunction)_wrap_PrintDialogData_GetMinPage, METH_O, NULL},
34519 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction)_wrap_PrintDialogData_GetMaxPage, METH_O, NULL},
34520 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction)_wrap_PrintDialogData_GetNoCopies, METH_O, NULL},
34521 { (char *)"PrintDialogData_GetAllPages", (PyCFunction)_wrap_PrintDialogData_GetAllPages, METH_O, NULL},
34522 { (char *)"PrintDialogData_GetSelection", (PyCFunction)_wrap_PrintDialogData_GetSelection, METH_O, NULL},
34523 { (char *)"PrintDialogData_GetCollate", (PyCFunction)_wrap_PrintDialogData_GetCollate, METH_O, NULL},
34524 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction)_wrap_PrintDialogData_GetPrintToFile, METH_O, NULL},
34525 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
34526 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
34527 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
34528 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
34529 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
34530 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
34531 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34532 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
34533 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
34534 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
34535 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34536 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
34537 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
34538 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction)_wrap_PrintDialogData_GetEnablePrintToFile, METH_O, NULL},
34539 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction)_wrap_PrintDialogData_GetEnableSelection, METH_O, NULL},
34540 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction)_wrap_PrintDialogData_GetEnablePageNumbers, METH_O, NULL},
34541 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction)_wrap_PrintDialogData_GetEnableHelp, METH_O, NULL},
34542 { (char *)"PrintDialogData_IsOk", (PyCFunction)_wrap_PrintDialogData_IsOk, METH_O, NULL},
34543 { (char *)"PrintDialogData_GetPrintData", (PyCFunction)_wrap_PrintDialogData_GetPrintData, METH_O, NULL},
34544 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
34545 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
34546 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit, METH_VARARGS, NULL},
34547 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
34548 { (char *)"delete_PrintDialog", (PyCFunction)_wrap_delete_PrintDialog, METH_O, NULL},
34549 { (char *)"PrintDialog_ShowModal", (PyCFunction)_wrap_PrintDialog_ShowModal, METH_O, NULL},
34550 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction)_wrap_PrintDialog_GetPrintDialogData, METH_O, NULL},
34551 { (char *)"PrintDialog_GetPrintData", (PyCFunction)_wrap_PrintDialog_GetPrintData, METH_O, NULL},
34552 { (char *)"PrintDialog_GetPrintDC", (PyCFunction)_wrap_PrintDialog_GetPrintDC, METH_O, NULL},
34553 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
34554 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit, METH_VARARGS, NULL},
34555 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
34556 { (char *)"delete_Printer", (PyCFunction)_wrap_delete_Printer, METH_O, NULL},
34557 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34558 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
34559 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
34560 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
34561 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
34562 { (char *)"Printer_GetPrintDialogData", (PyCFunction)_wrap_Printer_GetPrintDialogData, METH_O, NULL},
34563 { (char *)"Printer_GetAbort", (PyCFunction)_wrap_Printer_GetAbort, METH_O, NULL},
34564 { (char *)"Printer_GetLastError", (PyCFunction)_wrap_Printer_GetLastError, METH_NOARGS, NULL},
34565 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
34566 { (char *)"Printer_swiginit", Printer_swiginit, METH_VARARGS, NULL},
34567 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
34568 { (char *)"delete_Printout", (PyCFunction)_wrap_delete_Printout, METH_O, NULL},
34569 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
34570 { (char *)"Printout_GetTitle", (PyCFunction)_wrap_Printout_GetTitle, METH_O, NULL},
34571 { (char *)"Printout_GetDC", (PyCFunction)_wrap_Printout_GetDC, METH_O, NULL},
34572 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
34573 { (char *)"Printout_FitThisSizeToPaper", (PyCFunction) _wrap_Printout_FitThisSizeToPaper, METH_VARARGS | METH_KEYWORDS, NULL},
34574 { (char *)"Printout_FitThisSizeToPage", (PyCFunction) _wrap_Printout_FitThisSizeToPage, METH_VARARGS | METH_KEYWORDS, NULL},
34575 { (char *)"Printout_FitThisSizeToPageMargins", (PyCFunction) _wrap_Printout_FitThisSizeToPageMargins, METH_VARARGS | METH_KEYWORDS, NULL},
34576 { (char *)"Printout_MapScreenSizeToPaper", (PyCFunction)_wrap_Printout_MapScreenSizeToPaper, METH_O, NULL},
34577 { (char *)"Printout_MapScreenSizeToPage", (PyCFunction)_wrap_Printout_MapScreenSizeToPage, METH_O, NULL},
34578 { (char *)"Printout_MapScreenSizeToPageMargins", (PyCFunction) _wrap_Printout_MapScreenSizeToPageMargins, METH_VARARGS | METH_KEYWORDS, NULL},
34579 { (char *)"Printout_MapScreenSizeToDevice", (PyCFunction)_wrap_Printout_MapScreenSizeToDevice, METH_O, NULL},
34580 { (char *)"Printout_GetLogicalPaperRect", (PyCFunction)_wrap_Printout_GetLogicalPaperRect, METH_O, NULL},
34581 { (char *)"Printout_GetLogicalPageRect", (PyCFunction)_wrap_Printout_GetLogicalPageRect, METH_O, NULL},
34582 { (char *)"Printout_GetLogicalPageMarginsRect", (PyCFunction) _wrap_Printout_GetLogicalPageMarginsRect, METH_VARARGS | METH_KEYWORDS, NULL},
34583 { (char *)"Printout_SetLogicalOrigin", (PyCFunction) _wrap_Printout_SetLogicalOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
34584 { (char *)"Printout_OffsetLogicalOrigin", (PyCFunction) _wrap_Printout_OffsetLogicalOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
34585 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
34586 { (char *)"Printout_GetPageSizePixels", (PyCFunction)_wrap_Printout_GetPageSizePixels, METH_O, NULL},
34587 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
34588 { (char *)"Printout_GetPageSizeMM", (PyCFunction)_wrap_Printout_GetPageSizeMM, METH_O, NULL},
34589 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
34590 { (char *)"Printout_GetPPIScreen", (PyCFunction)_wrap_Printout_GetPPIScreen, METH_O, NULL},
34591 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
34592 { (char *)"Printout_GetPPIPrinter", (PyCFunction)_wrap_Printout_GetPPIPrinter, METH_O, NULL},
34593 { (char *)"Printout_SetPaperRectPixels", (PyCFunction) _wrap_Printout_SetPaperRectPixels, METH_VARARGS | METH_KEYWORDS, NULL},
34594 { (char *)"Printout_GetPaperRectPixels", (PyCFunction)_wrap_Printout_GetPaperRectPixels, METH_O, NULL},
34595 { (char *)"Printout_IsPreview", (PyCFunction)_wrap_Printout_IsPreview, METH_O, NULL},
34596 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
34597 { (char *)"Printout_OnBeginDocument", (PyCFunction) _wrap_Printout_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
34598 { (char *)"Printout_OnEndDocument", (PyCFunction)_wrap_Printout_OnEndDocument, METH_O, NULL},
34599 { (char *)"Printout_OnBeginPrinting", (PyCFunction)_wrap_Printout_OnBeginPrinting, METH_O, NULL},
34600 { (char *)"Printout_OnEndPrinting", (PyCFunction)_wrap_Printout_OnEndPrinting, METH_O, NULL},
34601 { (char *)"Printout_OnPreparePrinting", (PyCFunction)_wrap_Printout_OnPreparePrinting, METH_O, NULL},
34602 { (char *)"Printout_HasPage", (PyCFunction) _wrap_Printout_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
34603 { (char *)"Printout_GetPageInfo", (PyCFunction)_wrap_Printout_GetPageInfo, METH_O, NULL},
34604 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
34605 { (char *)"Printout_swiginit", Printout_swiginit, METH_VARARGS, NULL},
34606 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
34607 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
34608 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit, METH_VARARGS, NULL},
34609 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
34610 { (char *)"PreviewFrame_Initialize", (PyCFunction)_wrap_PreviewFrame_Initialize, METH_O, NULL},
34611 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction)_wrap_PreviewFrame_CreateControlBar, METH_O, NULL},
34612 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction)_wrap_PreviewFrame_CreateCanvas, METH_O, NULL},
34613 { (char *)"PreviewFrame_GetControlBar", (PyCFunction)_wrap_PreviewFrame_GetControlBar, METH_O, NULL},
34614 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
34615 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit, METH_VARARGS, NULL},
34616 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
34617 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction)_wrap_PreviewControlBar_GetZoomControl, METH_O, NULL},
34618 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
34619 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction)_wrap_PreviewControlBar_GetPrintPreview, METH_O, NULL},
34620 { (char *)"PreviewControlBar_OnNext", (PyCFunction)_wrap_PreviewControlBar_OnNext, METH_O, NULL},
34621 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction)_wrap_PreviewControlBar_OnPrevious, METH_O, NULL},
34622 { (char *)"PreviewControlBar_OnFirst", (PyCFunction)_wrap_PreviewControlBar_OnFirst, METH_O, NULL},
34623 { (char *)"PreviewControlBar_OnLast", (PyCFunction)_wrap_PreviewControlBar_OnLast, METH_O, NULL},
34624 { (char *)"PreviewControlBar_OnGoto", (PyCFunction)_wrap_PreviewControlBar_OnGoto, METH_O, NULL},
34625 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
34626 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit, METH_VARARGS, NULL},
34627 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
34628 { (char *)"delete_PrintPreview", (PyCFunction)_wrap_delete_PrintPreview, METH_O, NULL},
34629 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
34630 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction)_wrap_PrintPreview_GetCurrentPage, METH_O, NULL},
34631 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
34632 { (char *)"PrintPreview_GetPrintout", (PyCFunction)_wrap_PrintPreview_GetPrintout, METH_O, NULL},
34633 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction)_wrap_PrintPreview_GetPrintoutForPrinting, METH_O, NULL},
34634 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
34635 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
34636 { (char *)"PrintPreview_GetFrame", (PyCFunction)_wrap_PrintPreview_GetFrame, METH_O, NULL},
34637 { (char *)"PrintPreview_GetCanvas", (PyCFunction)_wrap_PrintPreview_GetCanvas, METH_O, NULL},
34638 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
34639 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
34640 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
34641 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
34642 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction)_wrap_PrintPreview_GetPrintDialogData, METH_O, NULL},
34643 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
34644 { (char *)"PrintPreview_GetZoom", (PyCFunction)_wrap_PrintPreview_GetZoom, METH_O, NULL},
34645 { (char *)"PrintPreview_GetMaxPage", (PyCFunction)_wrap_PrintPreview_GetMaxPage, METH_O, NULL},
34646 { (char *)"PrintPreview_GetMinPage", (PyCFunction)_wrap_PrintPreview_GetMinPage, METH_O, NULL},
34647 { (char *)"PrintPreview_IsOk", (PyCFunction)_wrap_PrintPreview_IsOk, METH_O, NULL},
34648 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
34649 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
34650 { (char *)"PrintPreview_DetermineScaling", (PyCFunction)_wrap_PrintPreview_DetermineScaling, METH_O, NULL},
34651 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
34652 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit, METH_VARARGS, NULL},
34653 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
34654 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
34655 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
34656 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit, METH_VARARGS, NULL},
34657 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
34658 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
34659 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
34660 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
34661 { (char *)"PyPreviewFrame_Initialize", (PyCFunction)_wrap_PyPreviewFrame_Initialize, METH_O, NULL},
34662 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction)_wrap_PyPreviewFrame_CreateCanvas, METH_O, NULL},
34663 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction)_wrap_PyPreviewFrame_CreateControlBar, METH_O, NULL},
34664 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
34665 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit, METH_VARARGS, NULL},
34666 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
34667 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
34668 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
34669 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction)_wrap_PyPreviewControlBar_CreateButtons, METH_O, NULL},
34670 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
34671 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
34672 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit, METH_VARARGS, NULL},
34673 { NULL, NULL, 0, NULL }
34674 };
34675
34676
34677 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
34678
34679 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
34680 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
34681 }
34682 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
34683 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
34684 }
34685 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
34686 return (void *)((wxEvent *) ((wxMenuEvent *) x));
34687 }
34688 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
34689 return (void *)((wxEvent *) ((wxCloseEvent *) x));
34690 }
34691 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
34692 return (void *)((wxEvent *) ((wxMouseEvent *) x));
34693 }
34694 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
34695 return (void *)((wxEvent *) ((wxEraseEvent *) x));
34696 }
34697 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
34698 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
34699 }
34700 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
34701 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
34702 }
34703 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
34704 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
34705 }
34706 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
34707 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
34708 }
34709 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
34710 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
34711 }
34712 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
34713 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
34714 }
34715 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) {
34716 return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x));
34717 }
34718 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
34719 return (void *)((wxEvent *) ((wxPyEvent *) x));
34720 }
34721 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
34722 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
34723 }
34724 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
34725 return (void *)((wxEvent *) ((wxIdleEvent *) x));
34726 }
34727 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
34728 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
34729 }
34730 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
34731 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
34732 }
34733 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
34734 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
34735 }
34736 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
34737 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
34738 }
34739 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
34740 return (void *)((wxEvent *) ((wxActivateEvent *) x));
34741 }
34742 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
34743 return (void *)((wxEvent *) ((wxSizeEvent *) x));
34744 }
34745 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
34746 return (void *)((wxEvent *) ((wxMoveEvent *) x));
34747 }
34748 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
34749 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
34750 }
34751 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
34752 return (void *)((wxEvent *) ((wxPaintEvent *) x));
34753 }
34754 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
34755 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
34756 }
34757 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
34758 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
34759 }
34760 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
34761 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
34762 }
34763 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
34764 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
34765 }
34766 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
34767 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
34768 }
34769 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
34770 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
34771 }
34772 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
34773 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
34774 }
34775 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
34776 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
34777 }
34778 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
34779 return (void *)((wxEvent *) ((wxFocusEvent *) x));
34780 }
34781 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
34782 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
34783 }
34784 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
34785 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
34786 }
34787 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
34788 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
34789 }
34790 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
34791 return (void *)((wxEvent *) ((wxShowEvent *) x));
34792 }
34793 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
34794 return (void *)((wxEvent *) ((wxCommandEvent *) x));
34795 }
34796 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
34797 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
34798 }
34799 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
34800 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
34801 }
34802 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
34803 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
34804 }
34805 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
34806 return (void *)((wxEvent *) ((wxKeyEvent *) x));
34807 }
34808 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
34809 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
34810 }
34811 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
34812 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
34813 }
34814 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
34815 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
34816 }
34817 static void *_p_wxSimpleHtmlListBoxTo_p_wxItemContainer(void *x) {
34818 return (void *)((wxItemContainer *) ((wxSimpleHtmlListBox *) x));
34819 }
34820 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
34821 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
34822 }
34823 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
34824 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
34825 }
34826 static void *_p_wxPyVScrolledWindowTo_p_wxVarVScrollHelper(void *x) {
34827 return (void *)((wxVarVScrollHelper *) ((wxPyVScrolledWindow *) x));
34828 }
34829 static void *_p_wxPyHVScrolledWindowTo_p_wxVarVScrollHelper(void *x) {
34830 return (void *)((wxVarVScrollHelper *) (wxVarHVScrollHelper *) ((wxPyHVScrolledWindow *) x));
34831 }
34832 static void *_p_wxVarHVScrollHelperTo_p_wxVarVScrollHelper(void *x) {
34833 return (void *)((wxVarVScrollHelper *) ((wxVarHVScrollHelper *) x));
34834 }
34835 static void *_p_wxPyVListBoxTo_p_wxVarVScrollHelper(void *x) {
34836 return (void *)((wxVarVScrollHelper *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
34837 }
34838 static void *_p_wxPyHtmlListBoxTo_p_wxVarVScrollHelper(void *x) {
34839 return (void *)((wxVarVScrollHelper *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
34840 }
34841 static void *_p_wxSimpleHtmlListBoxTo_p_wxVarVScrollHelper(void *x) {
34842 return (void *)((wxVarVScrollHelper *) (wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
34843 }
34844 static void *_p_wxPyHScrolledWindowTo_p_wxVarHScrollHelper(void *x) {
34845 return (void *)((wxVarHScrollHelper *) ((wxPyHScrolledWindow *) x));
34846 }
34847 static void *_p_wxPyHVScrolledWindowTo_p_wxVarHScrollHelper(void *x) {
34848 return (void *)((wxVarHScrollHelper *) (wxVarHVScrollHelper *) ((wxPyHVScrolledWindow *) x));
34849 }
34850 static void *_p_wxVarHVScrollHelperTo_p_wxVarHScrollHelper(void *x) {
34851 return (void *)((wxVarHScrollHelper *) ((wxVarHVScrollHelper *) x));
34852 }
34853 static void *_p_wxPyHVScrolledWindowTo_p_wxVarHVScrollHelper(void *x) {
34854 return (void *)((wxVarHVScrollHelper *) ((wxPyHVScrolledWindow *) x));
34855 }
34856 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
34857 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
34858 }
34859 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
34860 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
34861 }
34862 static void *_p_wxEventBlockerTo_p_wxEvtHandler(void *x) {
34863 return (void *)((wxEvtHandler *) ((wxEventBlocker *) x));
34864 }
34865 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
34866 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
34867 }
34868 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
34869 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
34870 }
34871 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
34872 return (void *)((wxEvtHandler *) ((wxValidator *) x));
34873 }
34874 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
34875 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
34876 }
34877 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
34878 return (void *)((wxEvtHandler *) ((wxMenu *) x));
34879 }
34880 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
34881 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
34882 }
34883 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
34884 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
34885 }
34886 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
34887 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
34888 }
34889 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
34890 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
34891 }
34892 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
34893 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
34894 }
34895 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) {
34896 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
34897 }
34898 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
34899 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
34900 }
34901 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
34902 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
34903 }
34904 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
34905 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
34906 }
34907 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
34908 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
34909 }
34910 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
34911 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
34912 }
34913 static void *_p_wxPyHVScrolledWindowTo_p_wxEvtHandler(void *x) {
34914 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyHVScrolledWindow *) x));
34915 }
34916 static void *_p_wxPyHScrolledWindowTo_p_wxEvtHandler(void *x) {
34917 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyHScrolledWindow *) x));
34918 }
34919 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
34920 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
34921 }
34922 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
34923 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
34924 }
34925 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
34926 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
34927 }
34928 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
34929 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
34930 }
34931 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
34932 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
34933 }
34934 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
34935 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
34936 }
34937 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
34938 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
34939 }
34940 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
34941 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
34942 }
34943 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
34944 return (void *)((wxEvtHandler *) ((wxWindow *) x));
34945 }
34946 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
34947 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
34948 }
34949 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
34950 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
34951 }
34952 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
34953 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
34954 }
34955 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
34956 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
34957 }
34958 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
34959 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
34960 }
34961 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
34962 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
34963 }
34964 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
34965 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
34966 }
34967 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
34968 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
34969 }
34970 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
34971 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
34972 }
34973 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
34974 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
34975 }
34976 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
34977 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
34978 }
34979 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
34980 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
34981 }
34982 static void *_p_wxSimpleHtmlListBoxTo_p_wxEvtHandler(void *x) {
34983 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
34984 }
34985 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
34986 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
34987 }
34988 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
34989 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
34990 }
34991 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
34992 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
34993 }
34994 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
34995 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
34996 }
34997 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
34998 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
34999 }
35000 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
35001 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
35002 }
35003 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
35004 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
35005 }
35006 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
35007 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
35008 }
35009 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
35010 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
35011 }
35012 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
35013 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
35014 }
35015 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
35016 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
35017 }
35018 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
35019 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
35020 }
35021 static void *_p_wxSimpleHtmlListBoxTo_p_wxPyVListBox(void *x) {
35022 return (void *)((wxPyVListBox *) (wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
35023 }
35024 static void *_p_wxSimpleHtmlListBoxTo_p_wxPyHtmlListBox(void *x) {
35025 return (void *)((wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
35026 }
35027 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
35028 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
35029 }
35030 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
35031 return (void *)((wxFrame *) ((wxProgressDialog *) x));
35032 }
35033 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
35034 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
35035 }
35036 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
35037 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
35038 }
35039 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
35040 return (void *)((wxFrame *) ((wxMiniFrame *) x));
35041 }
35042 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
35043 return (void *)((wxFrame *) ((wxSplashScreen *) x));
35044 }
35045 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
35046 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
35047 }
35048 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
35049 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
35050 }
35051 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
35052 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
35053 }
35054 static void *_p_wxEventBlockerTo_p_wxObject(void *x) {
35055 return (void *)((wxObject *) (wxEvtHandler *) ((wxEventBlocker *) x));
35056 }
35057 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
35058 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
35059 }
35060 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
35061 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
35062 }
35063 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
35064 return (void *)((wxObject *) ((wxSizerItem *) x));
35065 }
35066 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
35067 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
35068 }
35069 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
35070 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
35071 }
35072 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
35073 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
35074 }
35075 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
35076 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
35077 }
35078 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
35079 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
35080 }
35081 static void *_p_wxSizerTo_p_wxObject(void *x) {
35082 return (void *)((wxObject *) ((wxSizer *) x));
35083 }
35084 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
35085 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
35086 }
35087 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
35088 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
35089 }
35090 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
35091 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
35092 }
35093 static void *_p_wxEventTo_p_wxObject(void *x) {
35094 return (void *)((wxObject *) ((wxEvent *) x));
35095 }
35096 static void *_p_wxFontDataTo_p_wxObject(void *x) {
35097 return (void *)((wxObject *) ((wxFontData *) x));
35098 }
35099 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
35100 return (void *)((wxObject *) ((wxPrintData *) x));
35101 }
35102 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
35103 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
35104 }
35105 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
35106 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
35107 }
35108 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
35109 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
35110 }
35111 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
35112 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
35113 }
35114 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
35115 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
35116 }
35117 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
35118 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
35119 }
35120 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
35121 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
35122 }
35123 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
35124 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
35125 }
35126 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
35127 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
35128 }
35129 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
35130 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
35131 }
35132 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
35133 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
35134 }
35135 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
35136 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
35137 }
35138 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
35139 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
35140 }
35141 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
35142 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
35143 }
35144 static void *_p_wxControlTo_p_wxObject(void *x) {
35145 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
35146 }
35147 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
35148 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
35149 }
35150 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
35151 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
35152 }
35153 static void *_p_wxFSFileTo_p_wxObject(void *x) {
35154 return (void *)((wxObject *) ((wxFSFile *) x));
35155 }
35156 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
35157 return (void *)((wxObject *) ((wxFindReplaceData *) x));
35158 }
35159 static void *_p_wxPySizerTo_p_wxObject(void *x) {
35160 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
35161 }
35162 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
35163 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
35164 }
35165 static void *_p_wxColourDataTo_p_wxObject(void *x) {
35166 return (void *)((wxObject *) ((wxColourData *) x));
35167 }
35168 static void *_p_wxPyEventTo_p_wxObject(void *x) {
35169 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
35170 }
35171 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
35172 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
35173 }
35174 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
35175 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
35176 }
35177 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
35178 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
35179 }
35180 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
35181 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
35182 }
35183 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
35184 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
35185 }
35186 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
35187 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
35188 }
35189 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
35190 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
35191 }
35192 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
35193 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
35194 }
35195 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) {
35196 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
35197 }
35198 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
35199 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
35200 }
35201 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
35202 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
35203 }
35204 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
35205 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
35206 }
35207 static void *_p_wxShowEventTo_p_wxObject(void *x) {
35208 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
35209 }
35210 static void *_p_wxPrinterTo_p_wxObject(void *x) {
35211 return (void *)((wxObject *) ((wxPrinter *) x));
35212 }
35213 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
35214 return (void *)((wxObject *) ((wxMenuItem *) x));
35215 }
35216 static void *_p_wxDateEventTo_p_wxObject(void *x) {
35217 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
35218 }
35219 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
35220 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
35221 }
35222 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
35223 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
35224 }
35225 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
35226 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
35227 }
35228 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
35229 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
35230 }
35231 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
35232 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
35233 }
35234 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
35235 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
35236 }
35237 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
35238 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
35239 }
35240 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
35241 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
35242 }
35243 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
35244 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
35245 }
35246 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
35247 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
35248 }
35249 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
35250 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
35251 }
35252 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
35253 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
35254 }
35255 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
35256 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
35257 }
35258 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
35259 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
35260 }
35261 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
35262 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
35263 }
35264 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
35265 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
35266 }
35267 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
35268 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
35269 }
35270 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
35271 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
35272 }
35273 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
35274 return (void *)((wxObject *) ((wxImageHandler *) x));
35275 }
35276 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
35277 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
35278 }
35279 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
35280 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
35281 }
35282 static void *_p_wxTGAHandlerTo_p_wxObject(void *x) {
35283 return (void *)((wxObject *) (wxImageHandler *) ((wxTGAHandler *) x));
35284 }
35285 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
35286 return (void *)((wxObject *) ((wxEvtHandler *) x));
35287 }
35288 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) {
35289 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x));
35290 }
35291 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
35292 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
35293 }
35294 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
35295 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
35296 }
35297 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
35298 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
35299 }
35300 static void *_p_wxSimpleHtmlListBoxTo_p_wxObject(void *x) {
35301 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
35302 }
35303 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
35304 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
35305 }
35306 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
35307 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
35308 }
35309 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
35310 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
35311 }
35312 static void *_p_wxImageTo_p_wxObject(void *x) {
35313 return (void *)((wxObject *) ((wxImage *) x));
35314 }
35315 static void *_p_wxFrameTo_p_wxObject(void *x) {
35316 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
35317 }
35318 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
35319 return (void *)((wxObject *) ((wxPyPrintout *) x));
35320 }
35321 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
35322 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
35323 }
35324 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
35325 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
35326 }
35327 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
35328 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
35329 }
35330 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
35331 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
35332 }
35333 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
35334 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
35335 }
35336 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
35337 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
35338 }
35339 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
35340 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
35341 }
35342 static void *_p_wxWindowTo_p_wxObject(void *x) {
35343 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
35344 }
35345 static void *_p_wxMenuTo_p_wxObject(void *x) {
35346 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
35347 }
35348 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
35349 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
35350 }
35351 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
35352 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
35353 }
35354 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
35355 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
35356 }
35357 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
35358 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
35359 }
35360 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
35361 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
35362 }
35363 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
35364 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
35365 }
35366 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
35367 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
35368 }
35369 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
35370 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
35371 }
35372 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
35373 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
35374 }
35375 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
35376 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
35377 }
35378 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
35379 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
35380 }
35381 static void *_p_wxPyHScrolledWindowTo_p_wxObject(void *x) {
35382 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyHScrolledWindow *) x));
35383 }
35384 static void *_p_wxPyHVScrolledWindowTo_p_wxObject(void *x) {
35385 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyHVScrolledWindow *) x));
35386 }
35387 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
35388 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
35389 }
35390 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
35391 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
35392 }
35393 static void *_p_wxSashEventTo_p_wxObject(void *x) {
35394 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
35395 }
35396 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
35397 return (void *)((wxObject *) ((wxPrintPreview *) x));
35398 }
35399 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
35400 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
35401 }
35402 static void *_p_wxPanelTo_p_wxObject(void *x) {
35403 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
35404 }
35405 static void *_p_wxDialogTo_p_wxObject(void *x) {
35406 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
35407 }
35408 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
35409 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
35410 }
35411 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
35412 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
35413 }
35414 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
35415 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
35416 }
35417 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
35418 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
35419 }
35420 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
35421 return (void *)((wxObject *) ((wxPrintDialog *) x));
35422 }
35423 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
35424 return (void *)((wxObject *) ((wxFileSystem *) x));
35425 }
35426 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
35427 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
35428 }
35429 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
35430 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
35431 }
35432 static void *_p_wxPyAppTo_p_wxObject(void *x) {
35433 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
35434 }
35435 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
35436 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
35437 }
35438 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
35439 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
35440 }
35441 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
35442 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
35443 }
35444 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
35445 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
35446 }
35447 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
35448 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
35449 }
35450 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
35451 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
35452 }
35453 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
35454 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
35455 }
35456 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
35457 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
35458 }
35459 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
35460 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
35461 }
35462 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
35463 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
35464 }
35465 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
35466 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
35467 }
35468 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
35469 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
35470 }
35471 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
35472 return (void *)((wxObject *) ((wxPrintDialogData *) x));
35473 }
35474 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
35475 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
35476 }
35477 static void *_p_wxValidatorTo_p_wxObject(void *x) {
35478 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
35479 }
35480 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
35481 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
35482 }
35483 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
35484 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
35485 }
35486 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
35487 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
35488 }
35489 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
35490 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
35491 }
35492 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
35493 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
35494 }
35495 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
35496 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
35497 }
35498 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
35499 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
35500 }
35501 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
35502 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
35503 }
35504 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
35505 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
35506 }
35507 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
35508 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
35509 }
35510 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
35511 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
35512 }
35513 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
35514 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
35515 }
35516 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
35517 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
35518 }
35519 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
35520 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
35521 }
35522 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x) {
35523 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxNumberEntryDialog *) x));
35524 }
35525 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
35526 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
35527 }
35528 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
35529 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
35530 }
35531 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
35532 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
35533 }
35534 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
35535 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
35536 }
35537 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
35538 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
35539 }
35540 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
35541 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
35542 }
35543 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
35544 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
35545 }
35546 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
35547 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
35548 }
35549 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
35550 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
35551 }
35552 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
35553 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
35554 }
35555 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
35556 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
35557 }
35558 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
35559 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
35560 }
35561 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
35562 return (void *)((wxWindow *) ((wxMenuBar *) x));
35563 }
35564 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
35565 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
35566 }
35567 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) {
35568 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
35569 }
35570 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
35571 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
35572 }
35573 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
35574 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
35575 }
35576 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
35577 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
35578 }
35579 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
35580 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
35581 }
35582 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
35583 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
35584 }
35585 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
35586 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
35587 }
35588 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
35589 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
35590 }
35591 static void *_p_wxPanelTo_p_wxWindow(void *x) {
35592 return (void *)((wxWindow *) ((wxPanel *) x));
35593 }
35594 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
35595 return (void *)((wxWindow *) ((wxStatusBar *) x));
35596 }
35597 static void *_p_wxPyHVScrolledWindowTo_p_wxWindow(void *x) {
35598 return (void *)((wxWindow *) (wxPanel *) ((wxPyHVScrolledWindow *) x));
35599 }
35600 static void *_p_wxPyHScrolledWindowTo_p_wxWindow(void *x) {
35601 return (void *)((wxWindow *) (wxPanel *) ((wxPyHScrolledWindow *) x));
35602 }
35603 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
35604 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
35605 }
35606 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
35607 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
35608 }
35609 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
35610 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
35611 }
35612 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
35613 return (void *)((wxWindow *) ((wxPopupWindow *) x));
35614 }
35615 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
35616 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
35617 }
35618 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
35619 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
35620 }
35621 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
35622 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
35623 }
35624 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
35625 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
35626 }
35627 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
35628 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
35629 }
35630 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
35631 return (void *)((wxWindow *) ((wxSashWindow *) x));
35632 }
35633 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
35634 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
35635 }
35636 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
35637 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
35638 }
35639 static void *_p_wxControlTo_p_wxWindow(void *x) {
35640 return (void *)((wxWindow *) ((wxControl *) x));
35641 }
35642 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
35643 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
35644 }
35645 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
35646 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
35647 }
35648 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
35649 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
35650 }
35651 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
35652 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
35653 }
35654 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
35655 return (void *)((wxWindow *) ((wxPyWindow *) x));
35656 }
35657 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
35658 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
35659 }
35660 static void *_p_wxSimpleHtmlListBoxTo_p_wxWindow(void *x) {
35661 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
35662 }
35663 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
35664 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
35665 }
35666 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
35667 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
35668 }
35669 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
35670 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
35671 }
35672 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
35673 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
35674 }
35675 static void *_p_wxFrameTo_p_wxWindow(void *x) {
35676 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
35677 }
35678 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
35679 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
35680 }
35681 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
35682 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
35683 }
35684 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
35685 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
35686 }
35687 static void *_p_wxDialogTo_p_wxWindow(void *x) {
35688 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
35689 }
35690 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
35691 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
35692 }
35693 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
35694 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
35695 }
35696 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
35697 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
35698 }
35699 static void *_p_wxSimpleHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
35700 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
35701 }
35702 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
35703 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
35704 }
35705 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
35706 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
35707 }
35708 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
35709 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
35710 }
35711 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
35712 return (void *)((wxDialog *) ((wxColourDialog *) x));
35713 }
35714 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
35715 return (void *)((wxDialog *) ((wxDirDialog *) x));
35716 }
35717 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
35718 return (void *)((wxDialog *) ((wxFontDialog *) x));
35719 }
35720 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
35721 return (void *)((wxDialog *) ((wxFileDialog *) x));
35722 }
35723 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
35724 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
35725 }
35726 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
35727 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
35728 }
35729 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
35730 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
35731 }
35732 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
35733 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
35734 }
35735 static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x) {
35736 return (void *)((wxDialog *) ((wxNumberEntryDialog *) x));
35737 }
35738 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
35739 return (void *)((wxDialog *) ((wxMessageDialog *) x));
35740 }
35741 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
35742 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
35743 }
35744 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
35745 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
35746 }
35747 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
35748 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
35749 }
35750 static void *_p_wxPyHScrolledWindowTo_p_wxPanel(void *x) {
35751 return (void *)((wxPanel *) ((wxPyHScrolledWindow *) x));
35752 }
35753 static void *_p_wxPyHVScrolledWindowTo_p_wxPanel(void *x) {
35754 return (void *)((wxPanel *) ((wxPyHVScrolledWindow *) x));
35755 }
35756 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
35757 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
35758 }
35759 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
35760 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
35761 }
35762 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
35763 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
35764 }
35765 static void *_p_wxSimpleHtmlListBoxTo_p_wxPanel(void *x) {
35766 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
35767 }
35768 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
35769 return (void *)((wxPanel *) ((wxPyPanel *) x));
35770 }
35771 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
35772 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
35773 }
35774 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
35775 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
35776 }
35777 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
35778 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
35779 }
35780 static void *_p_wxPyVScrolledWindowTo_p_wxVarScrollHelperBase(void *x) {
35781 return (void *)((wxVarScrollHelperBase *) (wxVarVScrollHelper *) ((wxPyVScrolledWindow *) x));
35782 }
35783 static void *_p_wxPyHScrolledWindowTo_p_wxVarScrollHelperBase(void *x) {
35784 return (void *)((wxVarScrollHelperBase *) (wxVarHScrollHelper *) ((wxPyHScrolledWindow *) x));
35785 }
35786 static void *_p_wxPyHVScrolledWindowTo_p_wxVarScrollHelperBase(void *x) {
35787 return (void *)((wxVarScrollHelperBase *) (wxVarVScrollHelper *)(wxVarHVScrollHelper *) ((wxPyHVScrolledWindow *) x));
35788 }
35789 static void *_p_wxVarVScrollHelperTo_p_wxVarScrollHelperBase(void *x) {
35790 return (void *)((wxVarScrollHelperBase *) ((wxVarVScrollHelper *) x));
35791 }
35792 static void *_p_wxVarHScrollHelperTo_p_wxVarScrollHelperBase(void *x) {
35793 return (void *)((wxVarScrollHelperBase *) ((wxVarHScrollHelper *) x));
35794 }
35795 static void *_p_wxVarHVScrollHelperTo_p_wxVarScrollHelperBase(void *x) {
35796 return (void *)((wxVarScrollHelperBase *) (wxVarVScrollHelper *) ((wxVarHVScrollHelper *) x));
35797 }
35798 static void *_p_wxPyVListBoxTo_p_wxVarScrollHelperBase(void *x) {
35799 return (void *)((wxVarScrollHelperBase *) (wxVarVScrollHelper *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
35800 }
35801 static void *_p_wxPyHtmlListBoxTo_p_wxVarScrollHelperBase(void *x) {
35802 return (void *)((wxVarScrollHelperBase *) (wxVarVScrollHelper *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
35803 }
35804 static void *_p_wxSimpleHtmlListBoxTo_p_wxVarScrollHelperBase(void *x) {
35805 return (void *)((wxVarScrollHelperBase *) (wxVarVScrollHelper *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
35806 }
35807 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
35808 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
35809 }
35810 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
35811 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
35812 }
35813 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
35814 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
35815 }
35816 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
35817 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
35818 }
35819 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
35820 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
35821 }
35822 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
35823 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
35824 }
35825 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
35826 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
35827 }
35828 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
35829 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
35830 }
35831 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
35832 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
35833 }
35834 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
35835 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
35836 }
35837 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
35838 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
35839 }
35840 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
35841 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
35842 }
35843 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
35844 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
35845 }
35846 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
35847 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
35848 }
35849 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
35850 return (void *)((wxValidator *) ((wxPyValidator *) x));
35851 }
35852 static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
35853 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
35854 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};
35855 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
35856 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
35857 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
35858 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
35859 static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
35860 static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
35861 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
35862 static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
35863 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
35864 static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
35865 static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
35866 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
35867 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
35868 static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
35869 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
35870 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
35871 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
35872 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
35873 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
35874 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
35875 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
35876 static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
35877 static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
35878 static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
35879 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
35880 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
35881 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
35882 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
35883 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
35884 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
35885 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
35886 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
35887 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
35888 static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
35889 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
35890 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
35891 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
35892 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
35893 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
35894 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
35895 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
35896 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
35897 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
35898 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
35899 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
35900 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
35901 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
35902 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
35903 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
35904 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
35905 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
35906 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
35907 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
35908 static swig_type_info _swigt__p_wxEventBlocker = {"_p_wxEventBlocker", 0, 0, 0, 0, 0};
35909 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
35910 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0};
35911 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
35912 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
35913 static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
35914 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
35915 static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
35916 static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
35917 static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
35918 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
35919 static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
35920 static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
35921 static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
35922 static swig_type_info _swigt__p_wxHtmlLinkInfo = {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
35923 static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
35924 static swig_type_info _swigt__p_wxIconBundle = {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
35925 static swig_type_info _swigt__p_wxItemContainer = {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
35926 static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
35927 static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
35928 static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
35929 static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
35930 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
35931 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
35932 static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
35933 static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
35934 static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
35935 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
35936 static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
35937 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
35938 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
35939 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
35940 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
35941 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
35942 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
35943 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
35944 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
35945 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
35946 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
35947 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
35948 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
35949 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
35950 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
35951 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
35952 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
35953 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
35954 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
35955 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
35956 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
35957 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
35958 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
35959 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
35960 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
35961 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
35962 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
35963 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
35964 static swig_type_info _swigt__p_wxTGAHandler = {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
35965 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
35966 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
35967 static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
35968 static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
35969 static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
35970 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
35971 static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
35972 static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
35973 static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
35974 static swig_type_info _swigt__p_wxPosition = {"_p_wxPosition", "wxPosition *", 0, 0, (void*)0, 0};
35975 static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
35976 static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
35977 static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
35978 static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
35979 static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
35980 static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
35981 static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
35982 static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
35983 static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
35984 static swig_type_info _swigt__p_wxPyHScrolledWindow = {"_p_wxPyHScrolledWindow", "wxPyHScrolledWindow *", 0, 0, (void*)0, 0};
35985 static swig_type_info _swigt__p_wxPyHVScrolledWindow = {"_p_wxPyHVScrolledWindow", "wxPyHVScrolledWindow *", 0, 0, (void*)0, 0};
35986 static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
35987 static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
35988 static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
35989 static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
35990 static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
35991 static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
35992 static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
35993 static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
35994 static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
35995 static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
35996 static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
35997 static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
35998 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
35999 static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
36000 static swig_type_info _swigt__p_wxRegion = {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
36001 static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
36002 static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
36003 static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
36004 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
36005 static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
36006 static swig_type_info _swigt__p_wxSimpleHtmlListBox = {"_p_wxSimpleHtmlListBox", "wxSimpleHtmlListBox *", 0, 0, (void*)0, 0};
36007 static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
36008 static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
36009 static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
36010 static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
36011 static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
36012 static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
36013 static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
36014 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
36015 static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
36016 static swig_type_info _swigt__p_wxTaskBarIcon = {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
36017 static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
36018 static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
36019 static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
36020 static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
36021 static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
36022 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
36023 static swig_type_info _swigt__p_wxVarHScrollHelper = {"_p_wxVarHScrollHelper", "wxVarHScrollHelper *", 0, 0, (void*)0, 0};
36024 static swig_type_info _swigt__p_wxVarHVScrollHelper = {"_p_wxVarHVScrollHelper", "wxVarHVScrollHelper *", 0, 0, (void*)0, 0};
36025 static swig_type_info _swigt__p_wxVarScrollHelperBase = {"_p_wxVarScrollHelperBase", "wxVarScrollHelperBase *", 0, 0, (void*)0, 0};
36026 static swig_type_info _swigt__p_wxVarVScrollHelper = {"_p_wxVarVScrollHelper", "wxVarVScrollHelper *", 0, 0, (void*)0, 0};
36027 static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
36028 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
36029
36030 static swig_type_info *swig_type_initial[] = {
36031 &_swigt__p_bool,
36032 &_swigt__p_char,
36033 &_swigt__p_form_ops_t,
36034 &_swigt__p_int,
36035 &_swigt__p_unsigned_char,
36036 &_swigt__p_unsigned_int,
36037 &_swigt__p_unsigned_long,
36038 &_swigt__p_wxANIHandler,
36039 &_swigt__p_wxAcceleratorTable,
36040 &_swigt__p_wxActivateEvent,
36041 &_swigt__p_wxArrayInt,
36042 &_swigt__p_wxArrayString,
36043 &_swigt__p_wxBMPHandler,
36044 &_swigt__p_wxBitmap,
36045 &_swigt__p_wxBoxSizer,
36046 &_swigt__p_wxCURHandler,
36047 &_swigt__p_wxCalculateLayoutEvent,
36048 &_swigt__p_wxChildFocusEvent,
36049 &_swigt__p_wxClipboardTextEvent,
36050 &_swigt__p_wxCloseEvent,
36051 &_swigt__p_wxColour,
36052 &_swigt__p_wxColourData,
36053 &_swigt__p_wxColourDialog,
36054 &_swigt__p_wxCommandEvent,
36055 &_swigt__p_wxContextMenuEvent,
36056 &_swigt__p_wxControl,
36057 &_swigt__p_wxControlWithItems,
36058 &_swigt__p_wxDC,
36059 &_swigt__p_wxDateEvent,
36060 &_swigt__p_wxDialog,
36061 &_swigt__p_wxDirDialog,
36062 &_swigt__p_wxDisplayChangedEvent,
36063 &_swigt__p_wxDropFilesEvent,
36064 &_swigt__p_wxDuplexMode,
36065 &_swigt__p_wxEraseEvent,
36066 &_swigt__p_wxEvent,
36067 &_swigt__p_wxEventBlocker,
36068 &_swigt__p_wxEvtHandler,
36069 &_swigt__p_wxFSFile,
36070 &_swigt__p_wxFileDialog,
36071 &_swigt__p_wxFileSystem,
36072 &_swigt__p_wxFindDialogEvent,
36073 &_swigt__p_wxFindReplaceData,
36074 &_swigt__p_wxFindReplaceDialog,
36075 &_swigt__p_wxFlexGridSizer,
36076 &_swigt__p_wxFocusEvent,
36077 &_swigt__p_wxFont,
36078 &_swigt__p_wxFontData,
36079 &_swigt__p_wxFontDialog,
36080 &_swigt__p_wxFrame,
36081 &_swigt__p_wxGBSizerItem,
36082 &_swigt__p_wxGIFHandler,
36083 &_swigt__p_wxGridBagSizer,
36084 &_swigt__p_wxGridSizer,
36085 &_swigt__p_wxHtmlLinkInfo,
36086 &_swigt__p_wxICOHandler,
36087 &_swigt__p_wxIcon,
36088 &_swigt__p_wxIconBundle,
36089 &_swigt__p_wxIconizeEvent,
36090 &_swigt__p_wxIdleEvent,
36091 &_swigt__p_wxImage,
36092 &_swigt__p_wxImageHandler,
36093 &_swigt__p_wxIndividualLayoutConstraint,
36094 &_swigt__p_wxInitDialogEvent,
36095 &_swigt__p_wxItemContainer,
36096 &_swigt__p_wxJPEGHandler,
36097 &_swigt__p_wxKeyEvent,
36098 &_swigt__p_wxLayoutAlgorithm,
36099 &_swigt__p_wxLayoutConstraints,
36100 &_swigt__p_wxMDIChildFrame,
36101 &_swigt__p_wxMDIClientWindow,
36102 &_swigt__p_wxMDIParentFrame,
36103 &_swigt__p_wxMaximizeEvent,
36104 &_swigt__p_wxMenu,
36105 &_swigt__p_wxMenuBar,
36106 &_swigt__p_wxMenuEvent,
36107 &_swigt__p_wxMenuItem,
36108 &_swigt__p_wxMessageDialog,
36109 &_swigt__p_wxMiniFrame,
36110 &_swigt__p_wxMouseCaptureChangedEvent,
36111 &_swigt__p_wxMouseCaptureLostEvent,
36112 &_swigt__p_wxMouseEvent,
36113 &_swigt__p_wxMoveEvent,
36114 &_swigt__p_wxMultiChoiceDialog,
36115 &_swigt__p_wxNavigationKeyEvent,
36116 &_swigt__p_wxNcPaintEvent,
36117 &_swigt__p_wxNotifyEvent,
36118 &_swigt__p_wxNumberEntryDialog,
36119 &_swigt__p_wxObject,
36120 &_swigt__p_wxPCXHandler,
36121 &_swigt__p_wxPNGHandler,
36122 &_swigt__p_wxPNMHandler,
36123 &_swigt__p_wxPageSetupDialog,
36124 &_swigt__p_wxPageSetupDialogData,
36125 &_swigt__p_wxPaintEvent,
36126 &_swigt__p_wxPaletteChangedEvent,
36127 &_swigt__p_wxPanel,
36128 &_swigt__p_wxPaperSize,
36129 &_swigt__p_wxPasswordEntryDialog,
36130 &_swigt__p_wxPoint,
36131 &_swigt__p_wxPopupWindow,
36132 &_swigt__p_wxPosition,
36133 &_swigt__p_wxPreviewCanvas,
36134 &_swigt__p_wxPreviewControlBar,
36135 &_swigt__p_wxPreviewFrame,
36136 &_swigt__p_wxPrintData,
36137 &_swigt__p_wxPrintDialog,
36138 &_swigt__p_wxPrintDialogData,
36139 &_swigt__p_wxPrintPreview,
36140 &_swigt__p_wxPrinter,
36141 &_swigt__p_wxProgressDialog,
36142 &_swigt__p_wxPyApp,
36143 &_swigt__p_wxPyCommandEvent,
36144 &_swigt__p_wxPyEvent,
36145 &_swigt__p_wxPyHScrolledWindow,
36146 &_swigt__p_wxPyHVScrolledWindow,
36147 &_swigt__p_wxPyHtmlListBox,
36148 &_swigt__p_wxPyImageHandler,
36149 &_swigt__p_wxPyPanel,
36150 &_swigt__p_wxPyPopupTransientWindow,
36151 &_swigt__p_wxPyPreviewControlBar,
36152 &_swigt__p_wxPyPreviewFrame,
36153 &_swigt__p_wxPyPrintPreview,
36154 &_swigt__p_wxPyPrintout,
36155 &_swigt__p_wxPyScrolledWindow,
36156 &_swigt__p_wxPySizer,
36157 &_swigt__p_wxPyTaskBarIcon,
36158 &_swigt__p_wxPyVListBox,
36159 &_swigt__p_wxPyVScrolledWindow,
36160 &_swigt__p_wxPyValidator,
36161 &_swigt__p_wxPyWindow,
36162 &_swigt__p_wxQueryLayoutInfoEvent,
36163 &_swigt__p_wxQueryNewPaletteEvent,
36164 &_swigt__p_wxRect,
36165 &_swigt__p_wxRegion,
36166 &_swigt__p_wxSashEvent,
36167 &_swigt__p_wxSashLayoutWindow,
36168 &_swigt__p_wxSashWindow,
36169 &_swigt__p_wxScrollEvent,
36170 &_swigt__p_wxScrollWinEvent,
36171 &_swigt__p_wxScrolledWindow,
36172 &_swigt__p_wxSetCursorEvent,
36173 &_swigt__p_wxShowEvent,
36174 &_swigt__p_wxSimpleHtmlListBox,
36175 &_swigt__p_wxSingleChoiceDialog,
36176 &_swigt__p_wxSize,
36177 &_swigt__p_wxSizeEvent,
36178 &_swigt__p_wxSizer,
36179 &_swigt__p_wxSizerItem,
36180 &_swigt__p_wxSplashScreen,
36181 &_swigt__p_wxSplashScreenWindow,
36182 &_swigt__p_wxSplitterEvent,
36183 &_swigt__p_wxSplitterWindow,
36184 &_swigt__p_wxStaticBoxSizer,
36185 &_swigt__p_wxStatusBar,
36186 &_swigt__p_wxStdDialogButtonSizer,
36187 &_swigt__p_wxString,
36188 &_swigt__p_wxSysColourChangedEvent,
36189 &_swigt__p_wxTGAHandler,
36190 &_swigt__p_wxTIFFHandler,
36191 &_swigt__p_wxTaskBarIcon,
36192 &_swigt__p_wxTaskBarIconEvent,
36193 &_swigt__p_wxTextEntryDialog,
36194 &_swigt__p_wxTipWindow,
36195 &_swigt__p_wxToolBar,
36196 &_swigt__p_wxTopLevelWindow,
36197 &_swigt__p_wxUpdateUIEvent,
36198 &_swigt__p_wxValidator,
36199 &_swigt__p_wxVarHScrollHelper,
36200 &_swigt__p_wxVarHVScrollHelper,
36201 &_swigt__p_wxVarScrollHelperBase,
36202 &_swigt__p_wxVarVScrollHelper,
36203 &_swigt__p_wxVisualAttributes,
36204 &_swigt__p_wxWindow,
36205 &_swigt__p_wxWindowCreateEvent,
36206 &_swigt__p_wxWindowDestroyEvent,
36207 &_swigt__p_wxXPMHandler,
36208 };
36209
36210 static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
36211 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
36212 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
36213 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
36214 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
36215 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
36216 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
36217 static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
36218 static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}};
36219 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
36220 static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = { {&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
36221 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
36222 static swig_cast_info _swigc__p_wxColourData[] = { {&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
36223 static swig_cast_info _swigc__p_wxColourDialog[] = { {&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
36224 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
36225 static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
36226 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
36227 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
36228 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
36229 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
36230 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
36231 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
36232 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
36233 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}};
36234 static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
36235 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}};
36236 static swig_cast_info _swigc__p_wxDirDialog[] = { {&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
36237 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
36238 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
36239 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
36240 static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
36241 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
36242 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
36243 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
36244 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
36245 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}};
36246 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
36247 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
36248 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
36249 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
36250 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
36251 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
36252 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
36253 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
36254 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
36255 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
36256 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
36257 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
36258 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
36259 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
36260 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
36261 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
36262 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
36263 static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
36264 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}};
36265 static swig_cast_info _swigc__p_wxEventBlocker[] = {{&_swigt__p_wxEventBlocker, 0, 0, 0},{0, 0, 0, 0}};
36266 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
36267 static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
36268 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
36269 static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
36270 static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEventBlocker, _p_wxEventBlockerTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHVScrolledWindow, _p_wxPyHVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHScrolledWindow, _p_wxPyHScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
36271 static swig_cast_info _swigc__p_wxFileDialog[] = { {&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
36272 static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
36273 static swig_cast_info _swigc__p_wxFindDialogEvent[] = { {&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
36274 static swig_cast_info _swigc__p_wxFindReplaceData[] = { {&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
36275 static swig_cast_info _swigc__p_wxFindReplaceDialog[] = { {&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
36276 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
36277 static swig_cast_info _swigc__p_wxFontData[] = { {&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
36278 static swig_cast_info _swigc__p_wxFontDialog[] = { {&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
36279 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}};
36280 static swig_cast_info _swigc__p_wxHtmlLinkInfo[] = { {&_swigt__p_wxHtmlLinkInfo, 0, 0, 0},{0, 0, 0, 0}};
36281 static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
36282 static swig_cast_info _swigc__p_wxIconBundle[] = { {&_swigt__p_wxIconBundle, 0, 0, 0},{0, 0, 0, 0}};
36283 static swig_cast_info _swigc__p_wxItemContainer[] = { {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxItemContainer, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxItemContainer, 0, 0}, {&_swigt__p_wxItemContainer, 0, 0, 0},{0, 0, 0, 0}};
36284 static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = { {&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
36285 static swig_cast_info _swigc__p_wxMDIChildFrame[] = { {&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
36286 static swig_cast_info _swigc__p_wxMDIClientWindow[] = { {&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
36287 static swig_cast_info _swigc__p_wxMDIParentFrame[] = { {&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
36288 static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
36289 static swig_cast_info _swigc__p_wxMenuBar[] = { {&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
36290 static swig_cast_info _swigc__p_wxMessageDialog[] = { {&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
36291 static swig_cast_info _swigc__p_wxMiniFrame[] = { {&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
36292 static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = { {&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
36293 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}};
36294 static swig_cast_info _swigc__p_wxNumberEntryDialog[] = { {&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
36295 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
36296 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
36297 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
36298 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
36299 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
36300 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
36301 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
36302 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
36303 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
36304 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
36305 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
36306 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
36307 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
36308 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
36309 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
36310 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
36311 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
36312 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
36313 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
36314 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
36315 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
36316 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
36317 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
36318 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
36319 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
36320 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
36321 static swig_cast_info _swigc__p_wxTGAHandler[] = {{&_swigt__p_wxTGAHandler, 0, 0, 0},{0, 0, 0, 0}};
36322 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
36323 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
36324 static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxEventBlocker, _p_wxEventBlockerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintData, _p_wxPrintDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTGAHandler, _p_wxTGAHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHScrolledWindow, _p_wxPyHScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHVScrolledWindow, _p_wxPyHVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialogData, _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialogData, _p_wxPrintDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
36325 static swig_cast_info _swigc__p_wxPageSetupDialog[] = { {&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
36326 static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
36327 static swig_cast_info _swigc__p_wxPanel[] = { {&_swigt__p_wxPanel, 0, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyHScrolledWindow, _p_wxPyHScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyHVScrolledWindow, _p_wxPyHVScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxPanel, 0, 0},{0, 0, 0, 0}};
36328 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
36329 static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = { {&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
36330 static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
36331 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}};
36332 static swig_cast_info _swigc__p_wxPosition[] = { {&_swigt__p_wxPosition, 0, 0, 0},{0, 0, 0, 0}};
36333 static swig_cast_info _swigc__p_wxPreviewCanvas[] = { {&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
36334 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}};
36335 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}};
36336 static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
36337 static swig_cast_info _swigc__p_wxPrintDialog[] = { {&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
36338 static swig_cast_info _swigc__p_wxPrintDialogData[] = { {&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
36339 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}};
36340 static swig_cast_info _swigc__p_wxPrinter[] = { {&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
36341 static swig_cast_info _swigc__p_wxProgressDialog[] = { {&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
36342 static swig_cast_info _swigc__p_wxPyHScrolledWindow[] = { {&_swigt__p_wxPyHScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
36343 static swig_cast_info _swigc__p_wxPyHVScrolledWindow[] = { {&_swigt__p_wxPyHVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
36344 static swig_cast_info _swigc__p_wxPyHtmlListBox[] = { {&_swigt__p_wxPyHtmlListBox, 0, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxPyHtmlListBox, 0, 0},{0, 0, 0, 0}};
36345 static swig_cast_info _swigc__p_wxPyPanel[] = { {&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
36346 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}};
36347 static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = { {&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
36348 static swig_cast_info _swigc__p_wxPyPreviewFrame[] = { {&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
36349 static swig_cast_info _swigc__p_wxPyPrintPreview[] = { {&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
36350 static swig_cast_info _swigc__p_wxPyPrintout[] = { {&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
36351 static swig_cast_info _swigc__p_wxPyScrolledWindow[] = { {&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
36352 static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = { {&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
36353 static swig_cast_info _swigc__p_wxPyVListBox[] = { {&_swigt__p_wxPyVListBox, 0, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPyVListBox, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxPyVListBox, 0, 0},{0, 0, 0, 0}};
36354 static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = { {&_swigt__p_wxPyVScrolledWindow, 0, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxPyVScrolledWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxPyVScrolledWindow, 0, 0},{0, 0, 0, 0}};
36355 static swig_cast_info _swigc__p_wxPyWindow[] = { {&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
36356 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = { {&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
36357 static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
36358 static swig_cast_info _swigc__p_wxRegion[] = { {&_swigt__p_wxRegion, 0, 0, 0},{0, 0, 0, 0}};
36359 static swig_cast_info _swigc__p_wxSashEvent[] = { {&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
36360 static swig_cast_info _swigc__p_wxSashLayoutWindow[] = { {&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
36361 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}};
36362 static swig_cast_info _swigc__p_wxScrollWinEvent[] = { {&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
36363 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}};
36364 static swig_cast_info _swigc__p_wxSimpleHtmlListBox[] = { {&_swigt__p_wxSimpleHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
36365 static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = { {&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
36366 static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
36367 static swig_cast_info _swigc__p_wxSplashScreen[] = { {&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
36368 static swig_cast_info _swigc__p_wxSplashScreenWindow[] = { {&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
36369 static swig_cast_info _swigc__p_wxSplitterEvent[] = { {&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
36370 static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
36371 static swig_cast_info _swigc__p_wxStatusBar[] = { {&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
36372 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = { {&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
36373 static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
36374 static swig_cast_info _swigc__p_wxTaskBarIcon[] = { {&_swigt__p_wxTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
36375 static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = { {&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
36376 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}};
36377 static swig_cast_info _swigc__p_wxTipWindow[] = { {&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
36378 static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
36379 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}};
36380 static swig_cast_info _swigc__p_wxValidator[] = { {&_swigt__p_wxValidator, 0, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxValidator, 0, 0},{0, 0, 0, 0}};
36381 static swig_cast_info _swigc__p_wxVarHScrollHelper[] = { {&_swigt__p_wxPyHScrolledWindow, _p_wxPyHScrolledWindowTo_p_wxVarHScrollHelper, 0, 0}, {&_swigt__p_wxPyHVScrolledWindow, _p_wxPyHVScrolledWindowTo_p_wxVarHScrollHelper, 0, 0}, {&_swigt__p_wxVarHScrollHelper, 0, 0, 0}, {&_swigt__p_wxVarHVScrollHelper, _p_wxVarHVScrollHelperTo_p_wxVarHScrollHelper, 0, 0},{0, 0, 0, 0}};
36382 static swig_cast_info _swigc__p_wxVarHVScrollHelper[] = { {&_swigt__p_wxPyHVScrolledWindow, _p_wxPyHVScrolledWindowTo_p_wxVarHVScrollHelper, 0, 0}, {&_swigt__p_wxVarHVScrollHelper, 0, 0, 0},{0, 0, 0, 0}};
36383 static swig_cast_info _swigc__p_wxVarScrollHelperBase[] = { {&_swigt__p_wxVarScrollHelperBase, 0, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxVarScrollHelperBase, 0, 0}, {&_swigt__p_wxPyHScrolledWindow, _p_wxPyHScrolledWindowTo_p_wxVarScrollHelperBase, 0, 0}, {&_swigt__p_wxPyHVScrolledWindow, _p_wxPyHVScrolledWindowTo_p_wxVarScrollHelperBase, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxVarScrollHelperBase, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxVarScrollHelperBase, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxVarScrollHelperBase, 0, 0}, {&_swigt__p_wxVarVScrollHelper, _p_wxVarVScrollHelperTo_p_wxVarScrollHelperBase, 0, 0}, {&_swigt__p_wxVarHVScrollHelper, _p_wxVarHVScrollHelperTo_p_wxVarScrollHelperBase, 0, 0}, {&_swigt__p_wxVarHScrollHelper, _p_wxVarHScrollHelperTo_p_wxVarScrollHelperBase, 0, 0},{0, 0, 0, 0}};
36384 static swig_cast_info _swigc__p_wxVarVScrollHelper[] = { {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxVarVScrollHelper, 0, 0}, {&_swigt__p_wxPyHVScrolledWindow, _p_wxPyHVScrolledWindowTo_p_wxVarVScrollHelper, 0, 0}, {&_swigt__p_wxVarVScrollHelper, 0, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxVarVScrollHelper, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxVarVScrollHelper, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxVarVScrollHelper, 0, 0}, {&_swigt__p_wxVarHVScrollHelper, _p_wxVarHVScrollHelperTo_p_wxVarVScrollHelper, 0, 0},{0, 0, 0, 0}};
36385 static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
36386 static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHVScrolledWindow, _p_wxPyHVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHScrolledWindow, _p_wxPyHScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
36387
36388 static swig_cast_info *swig_cast_initial[] = {
36389 _swigc__p_bool,
36390 _swigc__p_char,
36391 _swigc__p_form_ops_t,
36392 _swigc__p_int,
36393 _swigc__p_unsigned_char,
36394 _swigc__p_unsigned_int,
36395 _swigc__p_unsigned_long,
36396 _swigc__p_wxANIHandler,
36397 _swigc__p_wxAcceleratorTable,
36398 _swigc__p_wxActivateEvent,
36399 _swigc__p_wxArrayInt,
36400 _swigc__p_wxArrayString,
36401 _swigc__p_wxBMPHandler,
36402 _swigc__p_wxBitmap,
36403 _swigc__p_wxBoxSizer,
36404 _swigc__p_wxCURHandler,
36405 _swigc__p_wxCalculateLayoutEvent,
36406 _swigc__p_wxChildFocusEvent,
36407 _swigc__p_wxClipboardTextEvent,
36408 _swigc__p_wxCloseEvent,
36409 _swigc__p_wxColour,
36410 _swigc__p_wxColourData,
36411 _swigc__p_wxColourDialog,
36412 _swigc__p_wxCommandEvent,
36413 _swigc__p_wxContextMenuEvent,
36414 _swigc__p_wxControl,
36415 _swigc__p_wxControlWithItems,
36416 _swigc__p_wxDC,
36417 _swigc__p_wxDateEvent,
36418 _swigc__p_wxDialog,
36419 _swigc__p_wxDirDialog,
36420 _swigc__p_wxDisplayChangedEvent,
36421 _swigc__p_wxDropFilesEvent,
36422 _swigc__p_wxDuplexMode,
36423 _swigc__p_wxEraseEvent,
36424 _swigc__p_wxEvent,
36425 _swigc__p_wxEventBlocker,
36426 _swigc__p_wxEvtHandler,
36427 _swigc__p_wxFSFile,
36428 _swigc__p_wxFileDialog,
36429 _swigc__p_wxFileSystem,
36430 _swigc__p_wxFindDialogEvent,
36431 _swigc__p_wxFindReplaceData,
36432 _swigc__p_wxFindReplaceDialog,
36433 _swigc__p_wxFlexGridSizer,
36434 _swigc__p_wxFocusEvent,
36435 _swigc__p_wxFont,
36436 _swigc__p_wxFontData,
36437 _swigc__p_wxFontDialog,
36438 _swigc__p_wxFrame,
36439 _swigc__p_wxGBSizerItem,
36440 _swigc__p_wxGIFHandler,
36441 _swigc__p_wxGridBagSizer,
36442 _swigc__p_wxGridSizer,
36443 _swigc__p_wxHtmlLinkInfo,
36444 _swigc__p_wxICOHandler,
36445 _swigc__p_wxIcon,
36446 _swigc__p_wxIconBundle,
36447 _swigc__p_wxIconizeEvent,
36448 _swigc__p_wxIdleEvent,
36449 _swigc__p_wxImage,
36450 _swigc__p_wxImageHandler,
36451 _swigc__p_wxIndividualLayoutConstraint,
36452 _swigc__p_wxInitDialogEvent,
36453 _swigc__p_wxItemContainer,
36454 _swigc__p_wxJPEGHandler,
36455 _swigc__p_wxKeyEvent,
36456 _swigc__p_wxLayoutAlgorithm,
36457 _swigc__p_wxLayoutConstraints,
36458 _swigc__p_wxMDIChildFrame,
36459 _swigc__p_wxMDIClientWindow,
36460 _swigc__p_wxMDIParentFrame,
36461 _swigc__p_wxMaximizeEvent,
36462 _swigc__p_wxMenu,
36463 _swigc__p_wxMenuBar,
36464 _swigc__p_wxMenuEvent,
36465 _swigc__p_wxMenuItem,
36466 _swigc__p_wxMessageDialog,
36467 _swigc__p_wxMiniFrame,
36468 _swigc__p_wxMouseCaptureChangedEvent,
36469 _swigc__p_wxMouseCaptureLostEvent,
36470 _swigc__p_wxMouseEvent,
36471 _swigc__p_wxMoveEvent,
36472 _swigc__p_wxMultiChoiceDialog,
36473 _swigc__p_wxNavigationKeyEvent,
36474 _swigc__p_wxNcPaintEvent,
36475 _swigc__p_wxNotifyEvent,
36476 _swigc__p_wxNumberEntryDialog,
36477 _swigc__p_wxObject,
36478 _swigc__p_wxPCXHandler,
36479 _swigc__p_wxPNGHandler,
36480 _swigc__p_wxPNMHandler,
36481 _swigc__p_wxPageSetupDialog,
36482 _swigc__p_wxPageSetupDialogData,
36483 _swigc__p_wxPaintEvent,
36484 _swigc__p_wxPaletteChangedEvent,
36485 _swigc__p_wxPanel,
36486 _swigc__p_wxPaperSize,
36487 _swigc__p_wxPasswordEntryDialog,
36488 _swigc__p_wxPoint,
36489 _swigc__p_wxPopupWindow,
36490 _swigc__p_wxPosition,
36491 _swigc__p_wxPreviewCanvas,
36492 _swigc__p_wxPreviewControlBar,
36493 _swigc__p_wxPreviewFrame,
36494 _swigc__p_wxPrintData,
36495 _swigc__p_wxPrintDialog,
36496 _swigc__p_wxPrintDialogData,
36497 _swigc__p_wxPrintPreview,
36498 _swigc__p_wxPrinter,
36499 _swigc__p_wxProgressDialog,
36500 _swigc__p_wxPyApp,
36501 _swigc__p_wxPyCommandEvent,
36502 _swigc__p_wxPyEvent,
36503 _swigc__p_wxPyHScrolledWindow,
36504 _swigc__p_wxPyHVScrolledWindow,
36505 _swigc__p_wxPyHtmlListBox,
36506 _swigc__p_wxPyImageHandler,
36507 _swigc__p_wxPyPanel,
36508 _swigc__p_wxPyPopupTransientWindow,
36509 _swigc__p_wxPyPreviewControlBar,
36510 _swigc__p_wxPyPreviewFrame,
36511 _swigc__p_wxPyPrintPreview,
36512 _swigc__p_wxPyPrintout,
36513 _swigc__p_wxPyScrolledWindow,
36514 _swigc__p_wxPySizer,
36515 _swigc__p_wxPyTaskBarIcon,
36516 _swigc__p_wxPyVListBox,
36517 _swigc__p_wxPyVScrolledWindow,
36518 _swigc__p_wxPyValidator,
36519 _swigc__p_wxPyWindow,
36520 _swigc__p_wxQueryLayoutInfoEvent,
36521 _swigc__p_wxQueryNewPaletteEvent,
36522 _swigc__p_wxRect,
36523 _swigc__p_wxRegion,
36524 _swigc__p_wxSashEvent,
36525 _swigc__p_wxSashLayoutWindow,
36526 _swigc__p_wxSashWindow,
36527 _swigc__p_wxScrollEvent,
36528 _swigc__p_wxScrollWinEvent,
36529 _swigc__p_wxScrolledWindow,
36530 _swigc__p_wxSetCursorEvent,
36531 _swigc__p_wxShowEvent,
36532 _swigc__p_wxSimpleHtmlListBox,
36533 _swigc__p_wxSingleChoiceDialog,
36534 _swigc__p_wxSize,
36535 _swigc__p_wxSizeEvent,
36536 _swigc__p_wxSizer,
36537 _swigc__p_wxSizerItem,
36538 _swigc__p_wxSplashScreen,
36539 _swigc__p_wxSplashScreenWindow,
36540 _swigc__p_wxSplitterEvent,
36541 _swigc__p_wxSplitterWindow,
36542 _swigc__p_wxStaticBoxSizer,
36543 _swigc__p_wxStatusBar,
36544 _swigc__p_wxStdDialogButtonSizer,
36545 _swigc__p_wxString,
36546 _swigc__p_wxSysColourChangedEvent,
36547 _swigc__p_wxTGAHandler,
36548 _swigc__p_wxTIFFHandler,
36549 _swigc__p_wxTaskBarIcon,
36550 _swigc__p_wxTaskBarIconEvent,
36551 _swigc__p_wxTextEntryDialog,
36552 _swigc__p_wxTipWindow,
36553 _swigc__p_wxToolBar,
36554 _swigc__p_wxTopLevelWindow,
36555 _swigc__p_wxUpdateUIEvent,
36556 _swigc__p_wxValidator,
36557 _swigc__p_wxVarHScrollHelper,
36558 _swigc__p_wxVarHVScrollHelper,
36559 _swigc__p_wxVarScrollHelperBase,
36560 _swigc__p_wxVarVScrollHelper,
36561 _swigc__p_wxVisualAttributes,
36562 _swigc__p_wxWindow,
36563 _swigc__p_wxWindowCreateEvent,
36564 _swigc__p_wxWindowDestroyEvent,
36565 _swigc__p_wxXPMHandler,
36566 };
36567
36568
36569 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
36570
36571 static swig_const_info swig_const_table[] = {
36572 {0, 0, 0, 0.0, 0, 0}};
36573
36574 #ifdef __cplusplus
36575 }
36576 #endif
36577 /* -----------------------------------------------------------------------------
36578 * Type initialization:
36579 * This problem is tough by the requirement that no dynamic
36580 * memory is used. Also, since swig_type_info structures store pointers to
36581 * swig_cast_info structures and swig_cast_info structures store pointers back
36582 * to swig_type_info structures, we need some lookup code at initialization.
36583 * The idea is that swig generates all the structures that are needed.
36584 * The runtime then collects these partially filled structures.
36585 * The SWIG_InitializeModule function takes these initial arrays out of
36586 * swig_module, and does all the lookup, filling in the swig_module.types
36587 * array with the correct data and linking the correct swig_cast_info
36588 * structures together.
36589 *
36590 * The generated swig_type_info structures are assigned staticly to an initial
36591 * array. We just loop though that array, and handle each type individually.
36592 * First we lookup if this type has been already loaded, and if so, use the
36593 * loaded structure instead of the generated one. Then we have to fill in the
36594 * cast linked list. The cast data is initially stored in something like a
36595 * two-dimensional array. Each row corresponds to a type (there are the same
36596 * number of rows as there are in the swig_type_initial array). Each entry in
36597 * a column is one of the swig_cast_info structures for that type.
36598 * The cast_initial array is actually an array of arrays, because each row has
36599 * a variable number of columns. So to actually build the cast linked list,
36600 * we find the array of casts associated with the type, and loop through it
36601 * adding the casts to the list. The one last trick we need to do is making
36602 * sure the type pointer in the swig_cast_info struct is correct.
36603 *
36604 * First off, we lookup the cast->type name to see if it is already loaded.
36605 * There are three cases to handle:
36606 * 1) If the cast->type has already been loaded AND the type we are adding
36607 * casting info to has not been loaded (it is in this module), THEN we
36608 * replace the cast->type pointer with the type pointer that has already
36609 * been loaded.
36610 * 2) If BOTH types (the one we are adding casting info to, and the
36611 * cast->type) are loaded, THEN the cast info has already been loaded by
36612 * the previous module so we just ignore it.
36613 * 3) Finally, if cast->type has not already been loaded, then we add that
36614 * swig_cast_info to the linked list (because the cast->type) pointer will
36615 * be correct.
36616 * ----------------------------------------------------------------------------- */
36617
36618 #ifdef __cplusplus
36619 extern "C" {
36620 #if 0
36621 } /* c-mode */
36622 #endif
36623 #endif
36624
36625 #if 0
36626 #define SWIGRUNTIME_DEBUG
36627 #endif
36628
36629 SWIGRUNTIME void
36630 SWIG_InitializeModule(void *clientdata) {
36631 size_t i;
36632 swig_module_info *module_head;
36633 static int init_run = 0;
36634
36635 clientdata = clientdata;
36636
36637 if (init_run) return;
36638 init_run = 1;
36639
36640 /* Initialize the swig_module */
36641 swig_module.type_initial = swig_type_initial;
36642 swig_module.cast_initial = swig_cast_initial;
36643
36644 /* Try and load any already created modules */
36645 module_head = SWIG_GetModule(clientdata);
36646 if (module_head) {
36647 swig_module.next = module_head->next;
36648 module_head->next = &swig_module;
36649 } else {
36650 /* This is the first module loaded */
36651 swig_module.next = &swig_module;
36652 SWIG_SetModule(clientdata, &swig_module);
36653 }
36654
36655 /* Now work on filling in swig_module.types */
36656 #ifdef SWIGRUNTIME_DEBUG
36657 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
36658 #endif
36659 for (i = 0; i < swig_module.size; ++i) {
36660 swig_type_info *type = 0;
36661 swig_type_info *ret;
36662 swig_cast_info *cast;
36663
36664 #ifdef SWIGRUNTIME_DEBUG
36665 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
36666 #endif
36667
36668 /* if there is another module already loaded */
36669 if (swig_module.next != &swig_module) {
36670 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
36671 }
36672 if (type) {
36673 /* Overwrite clientdata field */
36674 #ifdef SWIGRUNTIME_DEBUG
36675 printf("SWIG_InitializeModule: found type %s\n", type->name);
36676 #endif
36677 if (swig_module.type_initial[i]->clientdata) {
36678 type->clientdata = swig_module.type_initial[i]->clientdata;
36679 #ifdef SWIGRUNTIME_DEBUG
36680 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
36681 #endif
36682 }
36683 } else {
36684 type = swig_module.type_initial[i];
36685 }
36686
36687 /* Insert casting types */
36688 cast = swig_module.cast_initial[i];
36689 while (cast->type) {
36690 /* Don't need to add information already in the list */
36691 ret = 0;
36692 #ifdef SWIGRUNTIME_DEBUG
36693 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
36694 #endif
36695 if (swig_module.next != &swig_module) {
36696 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
36697 #ifdef SWIGRUNTIME_DEBUG
36698 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
36699 #endif
36700 }
36701 if (ret) {
36702 if (type == swig_module.type_initial[i]) {
36703 #ifdef SWIGRUNTIME_DEBUG
36704 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
36705 #endif
36706 cast->type = ret;
36707 ret = 0;
36708 } else {
36709 /* Check for casting already in the list */
36710 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
36711 #ifdef SWIGRUNTIME_DEBUG
36712 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
36713 #endif
36714 if (!ocast) ret = 0;
36715 }
36716 }
36717
36718 if (!ret) {
36719 #ifdef SWIGRUNTIME_DEBUG
36720 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
36721 #endif
36722 if (type->cast) {
36723 type->cast->prev = cast;
36724 cast->next = type->cast;
36725 }
36726 type->cast = cast;
36727 }
36728 cast++;
36729 }
36730 /* Set entry in modules->types array equal to the type */
36731 swig_module.types[i] = type;
36732 }
36733 swig_module.types[i] = 0;
36734
36735 #ifdef SWIGRUNTIME_DEBUG
36736 printf("**** SWIG_InitializeModule: Cast List ******\n");
36737 for (i = 0; i < swig_module.size; ++i) {
36738 int j = 0;
36739 swig_cast_info *cast = swig_module.cast_initial[i];
36740 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
36741 while (cast->type) {
36742 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
36743 cast++;
36744 ++j;
36745 }
36746 printf("---- Total casts: %d\n",j);
36747 }
36748 printf("**** SWIG_InitializeModule: Cast List ******\n");
36749 #endif
36750 }
36751
36752 /* This function will propagate the clientdata field of type to
36753 * any new swig_type_info structures that have been added into the list
36754 * of equivalent types. It is like calling
36755 * SWIG_TypeClientData(type, clientdata) a second time.
36756 */
36757 SWIGRUNTIME void
36758 SWIG_PropagateClientData(void) {
36759 size_t i;
36760 swig_cast_info *equiv;
36761 static int init_run = 0;
36762
36763 if (init_run) return;
36764 init_run = 1;
36765
36766 for (i = 0; i < swig_module.size; i++) {
36767 if (swig_module.types[i]->clientdata) {
36768 equiv = swig_module.types[i]->cast;
36769 while (equiv) {
36770 if (!equiv->converter) {
36771 if (equiv->type && !equiv->type->clientdata)
36772 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
36773 }
36774 equiv = equiv->next;
36775 }
36776 }
36777 }
36778 }
36779
36780 #ifdef __cplusplus
36781 #if 0
36782 {
36783 /* c-mode */
36784 #endif
36785 }
36786 #endif
36787
36788
36789
36790 #ifdef __cplusplus
36791 extern "C" {
36792 #endif
36793
36794 /* Python-specific SWIG API */
36795 #define SWIG_newvarlink() SWIG_Python_newvarlink()
36796 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
36797 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
36798
36799 /* -----------------------------------------------------------------------------
36800 * global variable support code.
36801 * ----------------------------------------------------------------------------- */
36802
36803 typedef struct swig_globalvar {
36804 char *name; /* Name of global variable */
36805 PyObject *(*get_attr)(void); /* Return the current value */
36806 int (*set_attr)(PyObject *); /* Set the value */
36807 struct swig_globalvar *next;
36808 } swig_globalvar;
36809
36810 typedef struct swig_varlinkobject {
36811 PyObject_HEAD
36812 swig_globalvar *vars;
36813 } swig_varlinkobject;
36814
36815 SWIGINTERN PyObject *
36816 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
36817 return PyString_FromString("<Swig global variables>");
36818 }
36819
36820 SWIGINTERN PyObject *
36821 swig_varlink_str(swig_varlinkobject *v) {
36822 PyObject *str = PyString_FromString("(");
36823 swig_globalvar *var;
36824 for (var = v->vars; var; var=var->next) {
36825 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
36826 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
36827 }
36828 PyString_ConcatAndDel(&str,PyString_FromString(")"));
36829 return str;
36830 }
36831
36832 SWIGINTERN int
36833 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
36834 PyObject *str = swig_varlink_str(v);
36835 fprintf(fp,"Swig global variables ");
36836 fprintf(fp,"%s\n", PyString_AsString(str));
36837 Py_DECREF(str);
36838 return 0;
36839 }
36840
36841 SWIGINTERN void
36842 swig_varlink_dealloc(swig_varlinkobject *v) {
36843 swig_globalvar *var = v->vars;
36844 while (var) {
36845 swig_globalvar *n = var->next;
36846 free(var->name);
36847 free(var);
36848 var = n;
36849 }
36850 }
36851
36852 SWIGINTERN PyObject *
36853 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
36854 PyObject *res = NULL;
36855 swig_globalvar *var = v->vars;
36856 while (var) {
36857 if (strcmp(var->name,n) == 0) {
36858 res = (*var->get_attr)();
36859 break;
36860 }
36861 var = var->next;
36862 }
36863 if (res == NULL && !PyErr_Occurred()) {
36864 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
36865 }
36866 return res;
36867 }
36868
36869 SWIGINTERN int
36870 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
36871 int res = 1;
36872 swig_globalvar *var = v->vars;
36873 while (var) {
36874 if (strcmp(var->name,n) == 0) {
36875 res = (*var->set_attr)(p);
36876 break;
36877 }
36878 var = var->next;
36879 }
36880 if (res == 1 && !PyErr_Occurred()) {
36881 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
36882 }
36883 return res;
36884 }
36885
36886 SWIGINTERN PyTypeObject*
36887 swig_varlink_type(void) {
36888 static char varlink__doc__[] = "Swig var link object";
36889 static PyTypeObject varlink_type;
36890 static int type_init = 0;
36891 if (!type_init) {
36892 const PyTypeObject tmp
36893 = {
36894 PyObject_HEAD_INIT(NULL)
36895 0, /* Number of items in variable part (ob_size) */
36896 (char *)"swigvarlink", /* Type name (tp_name) */
36897 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
36898 0, /* Itemsize (tp_itemsize) */
36899 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
36900 (printfunc) swig_varlink_print, /* Print (tp_print) */
36901 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
36902 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
36903 0, /* tp_compare */
36904 (reprfunc) swig_varlink_repr, /* tp_repr */
36905 0, /* tp_as_number */
36906 0, /* tp_as_sequence */
36907 0, /* tp_as_mapping */
36908 0, /* tp_hash */
36909 0, /* tp_call */
36910 (reprfunc)swig_varlink_str, /* tp_str */
36911 0, /* tp_getattro */
36912 0, /* tp_setattro */
36913 0, /* tp_as_buffer */
36914 0, /* tp_flags */
36915 varlink__doc__, /* tp_doc */
36916 0, /* tp_traverse */
36917 0, /* tp_clear */
36918 0, /* tp_richcompare */
36919 0, /* tp_weaklistoffset */
36920 #if PY_VERSION_HEX >= 0x02020000
36921 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
36922 #endif
36923 #if PY_VERSION_HEX >= 0x02030000
36924 0, /* tp_del */
36925 #endif
36926 #ifdef COUNT_ALLOCS
36927 0,0,0,0 /* tp_alloc -> tp_next */
36928 #endif
36929 };
36930 varlink_type = tmp;
36931 varlink_type.ob_type = &PyType_Type;
36932 type_init = 1;
36933 }
36934 return &varlink_type;
36935 }
36936
36937 /* Create a variable linking object for use later */
36938 SWIGINTERN PyObject *
36939 SWIG_Python_newvarlink(void) {
36940 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
36941 if (result) {
36942 result->vars = 0;
36943 }
36944 return ((PyObject*) result);
36945 }
36946
36947 SWIGINTERN void
36948 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
36949 swig_varlinkobject *v = (swig_varlinkobject *) p;
36950 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
36951 if (gv) {
36952 size_t size = strlen(name)+1;
36953 gv->name = (char *)malloc(size);
36954 if (gv->name) {
36955 strncpy(gv->name,name,size);
36956 gv->get_attr = get_attr;
36957 gv->set_attr = set_attr;
36958 gv->next = v->vars;
36959 }
36960 }
36961 v->vars = gv;
36962 }
36963
36964 SWIGINTERN PyObject *
36965 SWIG_globals() {
36966 static PyObject *_SWIG_globals = 0;
36967 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
36968 return _SWIG_globals;
36969 }
36970
36971 /* -----------------------------------------------------------------------------
36972 * constants/methods manipulation
36973 * ----------------------------------------------------------------------------- */
36974
36975 /* Install Constants */
36976 SWIGINTERN void
36977 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
36978 PyObject *obj = 0;
36979 size_t i;
36980 for (i = 0; constants[i].type; ++i) {
36981 switch(constants[i].type) {
36982 case SWIG_PY_POINTER:
36983 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
36984 break;
36985 case SWIG_PY_BINARY:
36986 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
36987 break;
36988 default:
36989 obj = 0;
36990 break;
36991 }
36992 if (obj) {
36993 PyDict_SetItemString(d, constants[i].name, obj);
36994 Py_DECREF(obj);
36995 }
36996 }
36997 }
36998
36999 /* -----------------------------------------------------------------------------*/
37000 /* Fix SwigMethods to carry the callback ptrs when needed */
37001 /* -----------------------------------------------------------------------------*/
37002
37003 SWIGINTERN void
37004 SWIG_Python_FixMethods(PyMethodDef *methods,
37005 swig_const_info *const_table,
37006 swig_type_info **types,
37007 swig_type_info **types_initial) {
37008 size_t i;
37009 for (i = 0; methods[i].ml_name; ++i) {
37010 const char *c = methods[i].ml_doc;
37011 if (c && (c = strstr(c, "swig_ptr: "))) {
37012 int j;
37013 swig_const_info *ci = 0;
37014 const char *name = c + 10;
37015 for (j = 0; const_table[j].type; ++j) {
37016 if (strncmp(const_table[j].name, name,
37017 strlen(const_table[j].name)) == 0) {
37018 ci = &(const_table[j]);
37019 break;
37020 }
37021 }
37022 if (ci) {
37023 size_t shift = (ci->ptype) - types;
37024 swig_type_info *ty = types_initial[shift];
37025 size_t ldoc = (c - methods[i].ml_doc);
37026 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
37027 char *ndoc = (char*)malloc(ldoc + lptr + 10);
37028 if (ndoc) {
37029 char *buff = ndoc;
37030 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
37031 if (ptr) {
37032 strncpy(buff, methods[i].ml_doc, ldoc);
37033 buff += ldoc;
37034 strncpy(buff, "swig_ptr: ", 10);
37035 buff += 10;
37036 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
37037 methods[i].ml_doc = ndoc;
37038 }
37039 }
37040 }
37041 }
37042 }
37043 }
37044
37045 #ifdef __cplusplus
37046 }
37047 #endif
37048
37049 /* -----------------------------------------------------------------------------*
37050 * Partial Init method
37051 * -----------------------------------------------------------------------------*/
37052
37053 #ifdef __cplusplus
37054 extern "C"
37055 #endif
37056 SWIGEXPORT void SWIG_init(void) {
37057 PyObject *m, *d;
37058
37059 /* Fix SwigMethods to carry the callback ptrs when needed */
37060 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
37061
37062 m = Py_InitModule((char *) SWIG_name, SwigMethods);
37063 d = PyModule_GetDict(m);
37064
37065 SWIG_InitializeModule(0);
37066 SWIG_InstallConstants(d,swig_const_table);
37067
37068
37069 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
37070 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get, FrameNameStr_set);
37071 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get, DialogNameStr_set);
37072 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get, StatusLineNameStr_set);
37073 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get, ToolBarNameStr_set);
37074 SWIG_Python_SetConstant(d, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP)));
37075 SWIG_Python_SetConstant(d, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE)));
37076 SWIG_Python_SetConstant(d, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE)));
37077 SWIG_Python_SetConstant(d, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE)));
37078 SWIG_Python_SetConstant(d, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX)));
37079 SWIG_Python_SetConstant(d, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU)));
37080 SWIG_Python_SetConstant(d, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX)));
37081 SWIG_Python_SetConstant(d, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX)));
37082 SWIG_Python_SetConstant(d, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ)));
37083 SWIG_Python_SetConstant(d, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT)));
37084 SWIG_Python_SetConstant(d, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER)));
37085 SWIG_Python_SetConstant(d, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT)));
37086 SWIG_Python_SetConstant(d, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE)));
37087 SWIG_Python_SetConstant(d, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE)));
37088 SWIG_Python_SetConstant(d, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW)));
37089 SWIG_Python_SetConstant(d, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT)));
37090 SWIG_Python_SetConstant(d, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU)));
37091 SWIG_Python_SetConstant(d, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR)));
37092 SWIG_Python_SetConstant(d, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED)));
37093 SWIG_Python_SetConstant(d, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER)));
37094 SWIG_Python_SetConstant(d, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL)));
37095 SWIG_Python_SetConstant(d, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL)));
37096 SWIG_Python_SetConstant(d, "WS_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxWS_EX_CONTEXTHELP)));
37097 SWIG_Python_SetConstant(d, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP)));
37098 SWIG_Python_SetConstant(d, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP)));
37099 SWIG_Python_SetConstant(d, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR)));
37100 SWIG_Python_SetConstant(d, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR)));
37101 SWIG_Python_SetConstant(d, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR)));
37102 SWIG_Python_SetConstant(d, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER)));
37103 SWIG_Python_SetConstant(d, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION)));
37104 SWIG_Python_SetConstant(d, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL)));
37105 SWIG_Python_SetConstant(d, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG)));
37106 SWIG_Python_SetConstant(d, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO)));
37107 SWIG_Python_SetConstant(d, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR)));
37108 SWIG_Python_SetConstant(d, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags)));
37109 SWIG_Python_SetConstant(d, "DEFAULT_MINIFRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_MINIFRAME_STYLE)));
37110 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT)));
37111 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN)));
37112 SWIG_Python_SetConstant(d, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE)));
37113 SWIG_Python_SetConstant(d, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT)));
37114 SWIG_Python_SetConstant(d, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT)));
37115 SWIG_Python_SetConstant(d, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL)));
37116 SWIG_Python_SetConstant(d, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT)));
37117 SWIG_Python_SetConstant(d, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED)));
37118 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get, SplitterNameStr_set);
37119 SWIG_Python_SetConstant(d, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER)));
37120 SWIG_Python_SetConstant(d, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH)));
37121 SWIG_Python_SetConstant(d, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT)));
37122 SWIG_Python_SetConstant(d, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE)));
37123 SWIG_Python_SetConstant(d, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH)));
37124 SWIG_Python_SetConstant(d, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER)));
37125 SWIG_Python_SetConstant(d, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME)));
37126 SWIG_Python_SetConstant(d, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER)));
37127 SWIG_Python_SetConstant(d, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D)));
37128 SWIG_Python_SetConstant(d, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL)));
37129 SWIG_Python_SetConstant(d, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL)));
37130 SWIG_Python_SetConstant(d, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE)));
37131 SWIG_Python_SetConstant(d, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING)));
37132 SWIG_Python_SetConstant(d, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN)));
37133 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
37134 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
37135 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
37136 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
37137 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get, SashNameStr_set);
37138 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get, SashLayoutNameStr_set);
37139 SWIG_Python_SetConstant(d, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE)));
37140 SWIG_Python_SetConstant(d, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING)));
37141 SWIG_Python_SetConstant(d, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN)));
37142 SWIG_Python_SetConstant(d, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER)));
37143 SWIG_Python_SetConstant(d, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER)));
37144 SWIG_Python_SetConstant(d, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH)));
37145 SWIG_Python_SetConstant(d, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER)));
37146 SWIG_Python_SetConstant(d, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D)));
37147 SWIG_Python_SetConstant(d, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP)));
37148 SWIG_Python_SetConstant(d, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT)));
37149 SWIG_Python_SetConstant(d, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM)));
37150 SWIG_Python_SetConstant(d, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT)));
37151 SWIG_Python_SetConstant(d, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE)));
37152 SWIG_Python_SetConstant(d, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK)));
37153 SWIG_Python_SetConstant(d, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE)));
37154 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
37155 SWIG_Python_SetConstant(d, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL)));
37156 SWIG_Python_SetConstant(d, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL)));
37157 SWIG_Python_SetConstant(d, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE)));
37158 SWIG_Python_SetConstant(d, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP)));
37159 SWIG_Python_SetConstant(d, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT)));
37160 SWIG_Python_SetConstant(d, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT)));
37161 SWIG_Python_SetConstant(d, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM)));
37162 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y)));
37163 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X)));
37164 SWIG_Python_SetConstant(d, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH)));
37165 SWIG_Python_SetConstant(d, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY)));
37166 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
37167 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
37168 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get, VListBoxNameStr_set);
37169 SWIG_addvarlink(SWIG_globals(),(char*)"SimpleHtmlListBoxNameStr",SimpleHtmlListBoxNameStr_get, SimpleHtmlListBoxNameStr_set);
37170 SWIG_Python_SetConstant(d, "HLB_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHLB_DEFAULT_STYLE)));
37171 SWIG_Python_SetConstant(d, "HLB_MULTIPLE",SWIG_From_int(static_cast< int >(wxHLB_MULTIPLE)));
37172
37173 // Map renamed classes back to their common name for OOR
37174 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
37175 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
37176 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
37177
37178 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
37179 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
37180 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
37181 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
37182 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
37183 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
37184 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
37185 PyDict_SetItemString(d, "wxEVT_TASKBAR_CLICK", PyInt_FromLong(wxEVT_TASKBAR_CLICK));
37186 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get, FileSelectorPromptStr_set);
37187 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get, DirSelectorPromptStr_set);
37188 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get, DirDialogNameStr_set);
37189 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get, FileSelectorDefaultWildcardStr_set);
37190 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get, GetTextFromUserPromptStr_set);
37191 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get, MessageBoxCaptionStr_set);
37192 SWIG_Python_SetConstant(d, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR)));
37193 SWIG_Python_SetConstant(d, "DD_DIR_MUST_EXIST",SWIG_From_int(static_cast< int >(wxDD_DIR_MUST_EXIST)));
37194 SWIG_Python_SetConstant(d, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON)));
37195 SWIG_Python_SetConstant(d, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE)));
37196 SWIG_Python_SetConstant(d, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN)));
37197 SWIG_Python_SetConstant(d, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE)));
37198 SWIG_Python_SetConstant(d, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT)));
37199 SWIG_Python_SetConstant(d, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST)));
37200 SWIG_Python_SetConstant(d, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE)));
37201 SWIG_Python_SetConstant(d, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR)));
37202 SWIG_Python_SetConstant(d, "FD_PREVIEW",SWIG_From_int(static_cast< int >(wxFD_PREVIEW)));
37203 SWIG_Python_SetConstant(d, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE)));
37204 SWIG_Python_SetConstant(d, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE)));
37205 SWIG_Python_SetConstant(d, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle)));
37206 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get, GetPasswordFromUserPromptStr_set);
37207 SWIG_Python_SetConstant(d, "PD_AUTO_HIDE",SWIG_From_int(static_cast< int >(wxPD_AUTO_HIDE)));
37208 SWIG_Python_SetConstant(d, "PD_APP_MODAL",SWIG_From_int(static_cast< int >(wxPD_APP_MODAL)));
37209 SWIG_Python_SetConstant(d, "PD_CAN_ABORT",SWIG_From_int(static_cast< int >(wxPD_CAN_ABORT)));
37210 SWIG_Python_SetConstant(d, "PD_ELAPSED_TIME",SWIG_From_int(static_cast< int >(wxPD_ELAPSED_TIME)));
37211 SWIG_Python_SetConstant(d, "PD_ESTIMATED_TIME",SWIG_From_int(static_cast< int >(wxPD_ESTIMATED_TIME)));
37212 SWIG_Python_SetConstant(d, "PD_REMAINING_TIME",SWIG_From_int(static_cast< int >(wxPD_REMAINING_TIME)));
37213 SWIG_Python_SetConstant(d, "PD_SMOOTH",SWIG_From_int(static_cast< int >(wxPD_SMOOTH)));
37214 SWIG_Python_SetConstant(d, "PD_CAN_SKIP",SWIG_From_int(static_cast< int >(wxPD_CAN_SKIP)));
37215 SWIG_Python_SetConstant(d, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN)));
37216 SWIG_Python_SetConstant(d, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD)));
37217 SWIG_Python_SetConstant(d, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE)));
37218 SWIG_Python_SetConstant(d, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG)));
37219 SWIG_Python_SetConstant(d, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN)));
37220 SWIG_Python_SetConstant(d, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE)));
37221 SWIG_Python_SetConstant(d, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD)));
37222 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
37223 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
37224 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
37225 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
37226 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
37227 SWIG_Python_SetConstant(d, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
37228 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
37229 SWIG_Python_SetConstant(d, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
37230 SWIG_Python_SetConstant(d, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
37231 SWIG_Python_SetConstant(d, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
37232 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
37233 SWIG_Python_SetConstant(d, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
37234 SWIG_Python_SetConstant(d, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
37235 SWIG_Python_SetConstant(d, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
37236 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get, PrintoutTitleStr_set);
37237 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get, PreviewCanvasNameStr_set);
37238 SWIG_Python_SetConstant(d, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE)));
37239 SWIG_Python_SetConstant(d, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW)));
37240 SWIG_Python_SetConstant(d, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE)));
37241 SWIG_Python_SetConstant(d, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER)));
37242 SWIG_Python_SetConstant(d, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM)));
37243 SWIG_Python_SetConstant(d, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT)));
37244 SWIG_Python_SetConstant(d, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE)));
37245 SWIG_Python_SetConstant(d, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER)));
37246 SWIG_Python_SetConstant(d, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE)));
37247 SWIG_Python_SetConstant(d, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL)));
37248 SWIG_Python_SetConstant(d, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE)));
37249 SWIG_Python_SetConstant(d, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL)));
37250 SWIG_Python_SetConstant(d, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO)));
37251 SWIG_Python_SetConstant(d, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR)));
37252 SWIG_Python_SetConstant(d, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT)));
37253 SWIG_Python_SetConstant(d, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT)));
37254 SWIG_Python_SetConstant(d, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY)));
37255 SWIG_Python_SetConstant(d, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE)));
37256 SWIG_Python_SetConstant(d, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE)));
37257 SWIG_Python_SetConstant(d, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER)));
37258 SWIG_Python_SetConstant(d, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR)));
37259 SWIG_Python_SetConstant(d, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED)));
37260 SWIG_Python_SetConstant(d, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR)));
37261 SWIG_Python_SetConstant(d, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT)));
37262 SWIG_Python_SetConstant(d, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS)));
37263 SWIG_Python_SetConstant(d, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT)));
37264 SWIG_Python_SetConstant(d, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM)));
37265 SWIG_Python_SetConstant(d, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST)));
37266 SWIG_Python_SetConstant(d, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST)));
37267 SWIG_Python_SetConstant(d, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO)));
37268 SWIG_Python_SetConstant(d, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT)));
37269 SWIG_Python_SetConstant(d, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE)));
37270 SWIG_Python_SetConstant(d, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT)));
37271 SWIG_Python_SetConstant(d, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS)));
37272 SWIG_Python_SetConstant(d, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT)));
37273 SWIG_Python_SetConstant(d, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM)));
37274 SWIG_Python_SetConstant(d, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST)));
37275 SWIG_Python_SetConstant(d, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST)));
37276 SWIG_Python_SetConstant(d, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO)));
37277
37278 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
37279
37280 }
37281