]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/_windows_wrap.cpp
856caa742f6c9d2bd193d43dcdd49e95a86435fc
[wxWidgets.git] / wxPython / src / msw / _windows_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.27
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_VERSION 0x010327
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 *
32 * This section contains generic SWIG labels for method/variable
33 * declarations/attributes, and other compiler dependent labels.
34 *
35 ************************************************************************/
36
37 /* template workaround for compilers that cannot correctly implement the C++ standard */
38 #ifndef SWIGTEMPLATEDISAMBIGUATOR
39 # if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
40 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # else
42 # define SWIGTEMPLATEDISAMBIGUATOR
43 # endif
44 #endif
45
46 /* inline attribute */
47 #ifndef SWIGINLINE
48 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
49 # define SWIGINLINE inline
50 # else
51 # define SWIGINLINE
52 # endif
53 #endif
54
55 /* attribute recognised by some compilers to avoid 'unused' warnings */
56 #ifndef SWIGUNUSED
57 # if defined(__GNUC__) || defined(__ICC)
58 # define SWIGUNUSED __attribute__ ((unused))
59 # else
60 # define SWIGUNUSED
61 # endif
62 #endif
63
64 /* internal SWIG method */
65 #ifndef SWIGINTERN
66 # define SWIGINTERN static SWIGUNUSED
67 #endif
68
69 /* internal inline SWIG method */
70 #ifndef SWIGINTERNINLINE
71 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
72 #endif
73
74 /* exporting methods for Windows DLLs */
75 #ifndef SWIGEXPORT
76 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
77 # if defined(STATIC_LINKED)
78 # define SWIGEXPORT
79 # else
80 # define SWIGEXPORT __declspec(dllexport)
81 # endif
82 # else
83 # define SWIGEXPORT
84 # endif
85 #endif
86
87 /* calling conventions for Windows */
88 #ifndef SWIGSTDCALL
89 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
90 # define SWIGSTDCALL __stdcall
91 # else
92 # define SWIGSTDCALL
93 # endif
94 #endif
95
96
97
98 #include <Python.h>
99
100 /***********************************************************************
101 * swigrun.swg
102 *
103 * This file contains generic CAPI SWIG runtime support for pointer
104 * type checking.
105 *
106 ************************************************************************/
107
108 /* This should only be incremented when either the layout of swig_type_info changes,
109 or for whatever reason, the runtime changes incompatibly */
110 #define SWIG_RUNTIME_VERSION "2"
111
112 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
113 #ifdef SWIG_TYPE_TABLE
114 # define SWIG_QUOTE_STRING(x) #x
115 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
116 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
117 #else
118 # define SWIG_TYPE_TABLE_NAME
119 #endif
120
121 /*
122 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
123 creating a static or dynamic library from the swig runtime code.
124 In 99.9% of the cases, swig just needs to declare them as 'static'.
125
126 But only do this if is strictly necessary, ie, if you have problems
127 with your compiler or so.
128 */
129
130 #ifndef SWIGRUNTIME
131 # define SWIGRUNTIME SWIGINTERN
132 #endif
133
134 #ifndef SWIGRUNTIMEINLINE
135 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
136 #endif
137
138 #include <string.h>
139
140 #ifdef __cplusplus
141 extern "C" {
142 #endif
143
144 typedef void *(*swig_converter_func)(void *);
145 typedef struct swig_type_info *(*swig_dycast_func)(void **);
146
147 /* Structure to store inforomation on one type */
148 typedef struct swig_type_info {
149 const char *name; /* mangled name of this type */
150 const char *str; /* human readable name of this type */
151 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
152 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
153 void *clientdata; /* language specific type data */
154 } swig_type_info;
155
156 /* Structure to store a type and conversion function used for casting */
157 typedef struct swig_cast_info {
158 swig_type_info *type; /* pointer to type that is equivalent to this type */
159 swig_converter_func converter; /* function to cast the void pointers */
160 struct swig_cast_info *next; /* pointer to next cast in linked list */
161 struct swig_cast_info *prev; /* pointer to the previous cast */
162 } swig_cast_info;
163
164 /* Structure used to store module information
165 * Each module generates one structure like this, and the runtime collects
166 * all of these structures and stores them in a circularly linked list.*/
167 typedef struct swig_module_info {
168 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
169 size_t size; /* Number of types in this module */
170 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
171 swig_type_info **type_initial; /* Array of initially generated type structures */
172 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
173 void *clientdata; /* Language specific module data */
174 } swig_module_info;
175
176
177 /*
178 Compare two type names skipping the space characters, therefore
179 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
180
181 Return 0 when the two name types are equivalent, as in
182 strncmp, but skipping ' '.
183 */
184 SWIGRUNTIME int
185 SWIG_TypeNameComp(const char *f1, const char *l1,
186 const char *f2, const char *l2) {
187 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
188 while ((*f1 == ' ') && (f1 != l1)) ++f1;
189 while ((*f2 == ' ') && (f2 != l2)) ++f2;
190 if (*f1 != *f2) return (int)(*f1 - *f2);
191 }
192 return (l1 - f1) - (l2 - f2);
193 }
194
195 /*
196 Check type equivalence in a name list like <name1>|<name2>|...
197 Return 0 if not equal, 1 if equal
198 */
199 SWIGRUNTIME int
200 SWIG_TypeEquiv(const char *nb, const char *tb) {
201 int equiv = 0;
202 const char* te = tb + strlen(tb);
203 const char* ne = nb;
204 while (!equiv && *ne) {
205 for (nb = ne; *ne; ++ne) {
206 if (*ne == '|') break;
207 }
208 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
209 if (*ne) ++ne;
210 }
211 return equiv;
212 }
213
214 /*
215 Check type equivalence in a name list like <name1>|<name2>|...
216 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
217 */
218 SWIGRUNTIME int
219 SWIG_TypeCompare(const char *nb, const char *tb) {
220 int equiv = 0;
221 const char* te = tb + strlen(tb);
222 const char* ne = nb;
223 while (!equiv && *ne) {
224 for (nb = ne; *ne; ++ne) {
225 if (*ne == '|') break;
226 }
227 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
228 if (*ne) ++ne;
229 }
230 return equiv;
231 }
232
233
234 /* think of this as a c++ template<> or a scheme macro */
235 #define SWIG_TypeCheck_Template(comparison, ty) \
236 if (ty) { \
237 swig_cast_info *iter = ty->cast; \
238 while (iter) { \
239 if (comparison) { \
240 if (iter == ty->cast) return iter; \
241 /* Move iter to the top of the linked list */ \
242 iter->prev->next = iter->next; \
243 if (iter->next) \
244 iter->next->prev = iter->prev; \
245 iter->next = ty->cast; \
246 iter->prev = 0; \
247 if (ty->cast) ty->cast->prev = iter; \
248 ty->cast = iter; \
249 return iter; \
250 } \
251 iter = iter->next; \
252 } \
253 } \
254 return 0
255
256 /*
257 Check the typename
258 */
259 SWIGRUNTIME swig_cast_info *
260 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
261 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
262 }
263
264 /* Same as previous function, except strcmp is replaced with a pointer comparison */
265 SWIGRUNTIME swig_cast_info *
266 SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
267 SWIG_TypeCheck_Template(iter->type == from, into);
268 }
269
270 /*
271 Cast a pointer up an inheritance hierarchy
272 */
273 SWIGRUNTIMEINLINE void *
274 SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
275 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
276 }
277
278 /*
279 Dynamic pointer casting. Down an inheritance hierarchy
280 */
281 SWIGRUNTIME swig_type_info *
282 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
283 swig_type_info *lastty = ty;
284 if (!ty || !ty->dcast) return ty;
285 while (ty && (ty->dcast)) {
286 ty = (*ty->dcast)(ptr);
287 if (ty) lastty = ty;
288 }
289 return lastty;
290 }
291
292 /*
293 Return the name associated with this type
294 */
295 SWIGRUNTIMEINLINE const char *
296 SWIG_TypeName(const swig_type_info *ty) {
297 return ty->name;
298 }
299
300 /*
301 Return the pretty name associated with this type,
302 that is an unmangled type name in a form presentable to the user.
303 */
304 SWIGRUNTIME const char *
305 SWIG_TypePrettyName(const swig_type_info *type) {
306 /* The "str" field contains the equivalent pretty names of the
307 type, separated by vertical-bar characters. We choose
308 to print the last name, as it is often (?) the most
309 specific. */
310 if (type->str != NULL) {
311 const char *last_name = type->str;
312 const char *s;
313 for (s = type->str; *s; s++)
314 if (*s == '|') last_name = s+1;
315 return last_name;
316 }
317 else
318 return type->name;
319 }
320
321 /*
322 Set the clientdata field for a type
323 */
324 SWIGRUNTIME void
325 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
326 swig_cast_info *cast = ti->cast;
327 /* if (ti->clientdata == clientdata) return; */
328 ti->clientdata = clientdata;
329
330 while (cast) {
331 if (!cast->converter) {
332 swig_type_info *tc = cast->type;
333 if (!tc->clientdata) {
334 SWIG_TypeClientData(tc, clientdata);
335 }
336 }
337 cast = cast->next;
338 }
339 }
340
341 /*
342 Search for a swig_type_info structure only by mangled name
343 Search is a O(log #types)
344
345 We start searching at module start, and finish searching when start == end.
346 Note: if start == end at the beginning of the function, we go all the way around
347 the circular list.
348 */
349 SWIGRUNTIME swig_type_info *
350 SWIG_MangledTypeQueryModule(swig_module_info *start,
351 swig_module_info *end,
352 const char *name) {
353 swig_module_info *iter = start;
354 do {
355 if (iter->size) {
356 register size_t l = 0;
357 register size_t r = iter->size - 1;
358 do {
359 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
360 register size_t i = (l + r) >> 1;
361 const char *iname = iter->types[i]->name;
362 if (iname) {
363 register int compare = strcmp(name, iname);
364 if (compare == 0) {
365 return iter->types[i];
366 } else if (compare < 0) {
367 if (i) {
368 r = i - 1;
369 } else {
370 break;
371 }
372 } else if (compare > 0) {
373 l = i + 1;
374 }
375 } else {
376 break; /* should never happen */
377 }
378 } while (l <= r);
379 }
380 iter = iter->next;
381 } while (iter != end);
382 return 0;
383 }
384
385 /*
386 Search for a swig_type_info structure for either a mangled name or a human readable name.
387 It first searches the mangled names of the types, which is a O(log #types)
388 If a type is not found it then searches the human readable names, which is O(#types).
389
390 We start searching at module start, and finish searching when start == end.
391 Note: if start == end at the beginning of the function, we go all the way around
392 the circular list.
393 */
394 SWIGRUNTIME swig_type_info *
395 SWIG_TypeQueryModule(swig_module_info *start,
396 swig_module_info *end,
397 const char *name) {
398 /* STEP 1: Search the name field using binary search */
399 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
400 if (ret) {
401 return ret;
402 } else {
403 /* STEP 2: If the type hasn't been found, do a complete search
404 of the str field (the human readable name) */
405 swig_module_info *iter = start;
406 do {
407 register size_t i = 0;
408 for (; i < iter->size; ++i) {
409 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
410 return iter->types[i];
411 }
412 iter = iter->next;
413 } while (iter != end);
414 }
415
416 /* neither found a match */
417 return 0;
418 }
419
420
421 /*
422 Pack binary data into a string
423 */
424 SWIGRUNTIME char *
425 SWIG_PackData(char *c, void *ptr, size_t sz) {
426 static const char hex[17] = "0123456789abcdef";
427 register const unsigned char *u = (unsigned char *) ptr;
428 register const unsigned char *eu = u + sz;
429 for (; u != eu; ++u) {
430 register unsigned char uu = *u;
431 *(c++) = hex[(uu & 0xf0) >> 4];
432 *(c++) = hex[uu & 0xf];
433 }
434 return c;
435 }
436
437 /*
438 Unpack binary data from a string
439 */
440 SWIGRUNTIME const char *
441 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
442 register unsigned char *u = (unsigned char *) ptr;
443 register const unsigned char *eu = u + sz;
444 for (; u != eu; ++u) {
445 register char d = *(c++);
446 register unsigned char uu = 0;
447 if ((d >= '0') && (d <= '9'))
448 uu = ((d - '0') << 4);
449 else if ((d >= 'a') && (d <= 'f'))
450 uu = ((d - ('a'-10)) << 4);
451 else
452 return (char *) 0;
453 d = *(c++);
454 if ((d >= '0') && (d <= '9'))
455 uu |= (d - '0');
456 else if ((d >= 'a') && (d <= 'f'))
457 uu |= (d - ('a'-10));
458 else
459 return (char *) 0;
460 *u = uu;
461 }
462 return c;
463 }
464
465 /*
466 Pack 'void *' into a string buffer.
467 */
468 SWIGRUNTIME char *
469 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
470 char *r = buff;
471 if ((2*sizeof(void *) + 2) > bsz) return 0;
472 *(r++) = '_';
473 r = SWIG_PackData(r,&ptr,sizeof(void *));
474 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
475 strcpy(r,name);
476 return buff;
477 }
478
479 SWIGRUNTIME const char *
480 SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
481 if (*c != '_') {
482 if (strcmp(c,"NULL") == 0) {
483 *ptr = (void *) 0;
484 return name;
485 } else {
486 return 0;
487 }
488 }
489 return SWIG_UnpackData(++c,ptr,sizeof(void *));
490 }
491
492 SWIGRUNTIME char *
493 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
494 char *r = buff;
495 size_t lname = (name ? strlen(name) : 0);
496 if ((2*sz + 2 + lname) > bsz) return 0;
497 *(r++) = '_';
498 r = SWIG_PackData(r,ptr,sz);
499 if (lname) {
500 strncpy(r,name,lname+1);
501 } else {
502 *r = 0;
503 }
504 return buff;
505 }
506
507 SWIGRUNTIME const char *
508 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
509 if (*c != '_') {
510 if (strcmp(c,"NULL") == 0) {
511 memset(ptr,0,sz);
512 return name;
513 } else {
514 return 0;
515 }
516 }
517 return SWIG_UnpackData(++c,ptr,sz);
518 }
519
520 #ifdef __cplusplus
521 }
522 #endif
523
524 /* -----------------------------------------------------------------------------
525 * SWIG API. Portion that goes into the runtime
526 * ----------------------------------------------------------------------------- */
527
528 #ifdef __cplusplus
529 extern "C" {
530 #endif
531
532 /* -----------------------------------------------------------------------------
533 * for internal method declarations
534 * ----------------------------------------------------------------------------- */
535
536 #ifndef SWIGINTERN
537 # define SWIGINTERN static SWIGUNUSED
538 #endif
539
540 #ifndef SWIGINTERNINLINE
541 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
542 #endif
543
544 /*
545 Exception handling in wrappers
546 */
547 #define SWIG_fail goto fail
548 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
549 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
550 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
551 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
552 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
553
554 /*
555 Contract support
556 */
557 #define SWIG_contract_assert(expr, msg) \
558 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
559
560 /* -----------------------------------------------------------------------------
561 * Constant declarations
562 * ----------------------------------------------------------------------------- */
563
564 /* Constant Types */
565 #define SWIG_PY_INT 1
566 #define SWIG_PY_FLOAT 2
567 #define SWIG_PY_STRING 3
568 #define SWIG_PY_POINTER 4
569 #define SWIG_PY_BINARY 5
570
571 /* Constant information structure */
572 typedef struct swig_const_info {
573 int type;
574 char *name;
575 long lvalue;
576 double dvalue;
577 void *pvalue;
578 swig_type_info **ptype;
579 } swig_const_info;
580
581
582 /* -----------------------------------------------------------------------------
583 * Alloc. memory flags
584 * ----------------------------------------------------------------------------- */
585 #define SWIG_OLDOBJ 1
586 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
587 #define SWIG_PYSTR SWIG_NEWOBJ + 1
588
589 #ifdef __cplusplus
590 }
591 #endif
592
593
594 /***********************************************************************
595 * pyrun.swg
596 *
597 * This file contains the runtime support for Python modules
598 * and includes code for managing global variables and pointer
599 * type checking.
600 *
601 * Author : David Beazley (beazley@cs.uchicago.edu)
602 ************************************************************************/
603
604 /* Common SWIG API */
605 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
606 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
607 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
608
609
610 /* Python-specific SWIG API */
611 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
612 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
613
614 /* Runtime API */
615 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
616 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
617
618 /* -----------------------------------------------------------------------------
619 * Pointer declarations
620 * ----------------------------------------------------------------------------- */
621 /*
622 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
623 C/C++ pointers in the python side. Very useful for debugging, but
624 not always safe.
625 */
626 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
627 # define SWIG_COBJECT_TYPES
628 #endif
629
630 /* Flags for pointer conversion */
631 #define SWIG_POINTER_EXCEPTION 0x1
632 #define SWIG_POINTER_DISOWN 0x2
633
634
635 /* Add PyOS_snprintf for old Pythons */
636 #if PY_VERSION_HEX < 0x02020000
637 #define PyOS_snprintf snprintf
638 #endif
639
640 #ifdef __cplusplus
641 extern "C" {
642 #endif
643
644 /* -----------------------------------------------------------------------------
645 * Create a new pointer string
646 * ----------------------------------------------------------------------------- */
647 #ifndef SWIG_BUFFER_SIZE
648 #define SWIG_BUFFER_SIZE 1024
649 #endif
650
651 /* A crude PyString_FromFormat implementation for old Pythons */
652 #if PY_VERSION_HEX < 0x02020000
653 static PyObject *
654 PyString_FromFormat(const char *fmt, ...) {
655 va_list ap;
656 char buf[SWIG_BUFFER_SIZE * 2];
657 int res;
658 va_start(ap, fmt);
659 res = vsnprintf(buf, sizeof(buf), fmt, ap);
660 va_end(ap);
661 return (res < 0 || res >= sizeof(buf)) ? 0 : PyString_FromString(buf);
662 }
663 #endif
664
665 #if PY_VERSION_HEX < 0x01060000
666 #define PyObject_Del(op) PyMem_DEL((op))
667 #endif
668
669 #if defined(SWIG_COBJECT_TYPES)
670 #if !defined(SWIG_COBJECT_PYTHON)
671 /* -----------------------------------------------------------------------------
672 * Implements a simple Swig Object type, and use it instead of PyCObject
673 * ----------------------------------------------------------------------------- */
674
675 typedef struct {
676 PyObject_HEAD
677 void *ptr;
678 const char *desc;
679 } PySwigObject;
680
681 /* Declarations for objects of type PySwigObject */
682
683 SWIGRUNTIME int
684 PySwigObject_print(PySwigObject *v, FILE *fp, int flags)
685 {
686 char result[SWIG_BUFFER_SIZE];
687 flags = flags;
688 if (SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result))) {
689 fputs("<Swig Object at ", fp); fputs(result, fp); fputs(">", fp);
690 return 0;
691 } else {
692 return 1;
693 }
694 }
695
696 SWIGRUNTIME PyObject *
697 PySwigObject_repr(PySwigObject *v)
698 {
699 char result[SWIG_BUFFER_SIZE];
700 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
701 PyString_FromFormat("<Swig Object at %s>", result) : 0;
702 }
703
704 SWIGRUNTIME PyObject *
705 PySwigObject_str(PySwigObject *v)
706 {
707 char result[SWIG_BUFFER_SIZE];
708 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
709 PyString_FromString(result) : 0;
710 }
711
712 SWIGRUNTIME PyObject *
713 PySwigObject_long(PySwigObject *v)
714 {
715 return PyLong_FromVoidPtr(v->ptr);
716 }
717
718 SWIGRUNTIME PyObject *
719 PySwigObject_format(const char* fmt, PySwigObject *v)
720 {
721 PyObject *res = NULL;
722 PyObject *args = PyTuple_New(1);
723 if (args && (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0)) {
724 PyObject *ofmt = PyString_FromString(fmt);
725 if (ofmt) {
726 res = PyString_Format(ofmt,args);
727 Py_DECREF(ofmt);
728 }
729 Py_DECREF(args);
730 }
731 return res;
732 }
733
734 SWIGRUNTIME PyObject *
735 PySwigObject_oct(PySwigObject *v)
736 {
737 return PySwigObject_format("%o",v);
738 }
739
740 SWIGRUNTIME PyObject *
741 PySwigObject_hex(PySwigObject *v)
742 {
743 return PySwigObject_format("%x",v);
744 }
745
746 SWIGRUNTIME int
747 PySwigObject_compare(PySwigObject *v, PySwigObject *w)
748 {
749 int c = strcmp(v->desc, w->desc);
750 if (c) {
751 return (c > 0) ? 1 : -1;
752 } else {
753 void *i = v->ptr;
754 void *j = w->ptr;
755 return (i < j) ? -1 : ((i > j) ? 1 : 0);
756 }
757 }
758
759 SWIGRUNTIME void
760 PySwigObject_dealloc(PySwigObject *self)
761 {
762 PyObject_Del(self);
763 }
764
765 SWIGRUNTIME PyTypeObject*
766 PySwigObject_type(void) {
767 static char pyswigobject_type__doc__[] =
768 "Swig object carries a C/C++ instance pointer";
769
770 static PyNumberMethods PySwigObject_as_number = {
771 (binaryfunc)0, /*nb_add*/
772 (binaryfunc)0, /*nb_subtract*/
773 (binaryfunc)0, /*nb_multiply*/
774 (binaryfunc)0, /*nb_divide*/
775 (binaryfunc)0, /*nb_remainder*/
776 (binaryfunc)0, /*nb_divmod*/
777 (ternaryfunc)0,/*nb_power*/
778 (unaryfunc)0, /*nb_negative*/
779 (unaryfunc)0, /*nb_positive*/
780 (unaryfunc)0, /*nb_absolute*/
781 (inquiry)0, /*nb_nonzero*/
782 0, /*nb_invert*/
783 0, /*nb_lshift*/
784 0, /*nb_rshift*/
785 0, /*nb_and*/
786 0, /*nb_xor*/
787 0, /*nb_or*/
788 (coercion)0, /*nb_coerce*/
789 (unaryfunc)PySwigObject_long, /*nb_int*/
790 (unaryfunc)PySwigObject_long, /*nb_long*/
791 (unaryfunc)0, /*nb_float*/
792 (unaryfunc)PySwigObject_oct, /*nb_oct*/
793 (unaryfunc)PySwigObject_hex, /*nb_hex*/
794 #if PY_VERSION_HEX >= 0x02020000
795 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
796 #elif PY_VERSION_HEX >= 0x02000000
797 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
798 #endif
799 };
800
801 static PyTypeObject pyswigobject_type
802 #if !defined(__cplusplus)
803 ;
804 static int type_init = 0;
805 if (!type_init) {
806 PyTypeObject tmp
807 #endif
808 = {
809 PyObject_HEAD_INIT(&PyType_Type)
810 0, /*ob_size*/
811 (char *)"PySwigObject", /*tp_name*/
812 sizeof(PySwigObject), /*tp_basicsize*/
813 0, /*tp_itemsize*/
814 /* methods */
815 (destructor)PySwigObject_dealloc, /*tp_dealloc*/
816 (printfunc)PySwigObject_print, /*tp_print*/
817 (getattrfunc)0, /*tp_getattr*/
818 (setattrfunc)0, /*tp_setattr*/
819 (cmpfunc)PySwigObject_compare, /*tp_compare*/
820 (reprfunc)PySwigObject_repr, /*tp_repr*/
821 &PySwigObject_as_number, /*tp_as_number*/
822 0, /*tp_as_sequence*/
823 0, /*tp_as_mapping*/
824 (hashfunc)0, /*tp_hash*/
825 (ternaryfunc)0, /*tp_call*/
826 (reprfunc)PySwigObject_str, /*tp_str*/
827 /* Space for future expansion */
828 0,0,0,0,
829 pyswigobject_type__doc__, /* Documentation string */
830 #if PY_VERSION_HEX >= 0x02000000
831 0, /* tp_traverse */
832 0, /* tp_clear */
833 #endif
834 #if PY_VERSION_HEX >= 0x02010000
835 0, /* tp_richcompare */
836 0, /* tp_weaklistoffset */
837 #endif
838 #if PY_VERSION_HEX >= 0x02020000
839 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
840 #endif
841 #if PY_VERSION_HEX >= 0x02030000
842 0, /* tp_del */
843 #endif
844 #ifdef COUNT_ALLOCS
845 0,0,0,0 /* tp_alloc -> tp_next */
846 #endif
847 };
848 #if !defined(__cplusplus)
849 pyswigobject_type = tmp;
850 type_init = 1;
851 }
852 #endif
853 return &pyswigobject_type;
854 }
855
856 SWIGRUNTIME PyObject *
857 PySwigObject_FromVoidPtrAndDesc(void *ptr, const char *desc)
858 {
859 PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_type());
860 if (self) {
861 self->ptr = ptr;
862 self->desc = desc;
863 }
864 return (PyObject *)self;
865 }
866
867 SWIGRUNTIMEINLINE void *
868 PySwigObject_AsVoidPtr(PyObject *self)
869 {
870 return ((PySwigObject *)self)->ptr;
871 }
872
873 SWIGRUNTIMEINLINE const char *
874 PySwigObject_GetDesc(PyObject *self)
875 {
876 return ((PySwigObject *)self)->desc;
877 }
878
879 SWIGRUNTIMEINLINE int
880 PySwigObject_Check(PyObject *op) {
881 return ((op)->ob_type == PySwigObject_type())
882 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
883 }
884
885 /* -----------------------------------------------------------------------------
886 * Implements a simple Swig Packed type, and use it instead of string
887 * ----------------------------------------------------------------------------- */
888
889 typedef struct {
890 PyObject_HEAD
891 void *pack;
892 const char *desc;
893 size_t size;
894 } PySwigPacked;
895
896 SWIGRUNTIME int
897 PySwigPacked_print(PySwigPacked *v, FILE *fp, int flags)
898 {
899 char result[SWIG_BUFFER_SIZE];
900 flags = flags;
901 fputs("<Swig Packed ", fp);
902 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
903 fputs("at ", fp);
904 fputs(result, fp);
905 }
906 fputs(v->desc,fp);
907 fputs(">", fp);
908 return 0;
909 }
910
911 SWIGRUNTIME PyObject *
912 PySwigPacked_repr(PySwigPacked *v)
913 {
914 char result[SWIG_BUFFER_SIZE];
915 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
916 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->desc);
917 } else {
918 return PyString_FromFormat("<Swig Packed %s>", v->desc);
919 }
920 }
921
922 SWIGRUNTIME PyObject *
923 PySwigPacked_str(PySwigPacked *v)
924 {
925 char result[SWIG_BUFFER_SIZE];
926 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
927 return PyString_FromFormat("%s%s", result, v->desc);
928 } else {
929 return PyString_FromString(v->desc);
930 }
931 }
932
933 SWIGRUNTIME int
934 PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
935 {
936 int c = strcmp(v->desc, w->desc);
937 if (c) {
938 return (c > 0) ? 1 : -1;
939 } else {
940 size_t i = v->size;
941 size_t j = w->size;
942 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
943 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
944 }
945 }
946
947 SWIGRUNTIME void
948 PySwigPacked_dealloc(PySwigPacked *self)
949 {
950 free(self->pack);
951 PyObject_Del(self);
952 }
953
954 SWIGRUNTIME PyTypeObject*
955 PySwigPacked_type(void) {
956 static char pyswigpacked_type__doc__[] =
957 "Swig object carries a C/C++ instance pointer";
958 static PyTypeObject pyswigpacked_type
959 #if !defined(__cplusplus)
960 ;
961 static int type_init = 0;
962 if (!type_init) {
963 PyTypeObject tmp
964 #endif
965 = {
966 PyObject_HEAD_INIT(&PyType_Type)
967 0, /*ob_size*/
968 (char *)"PySwigPacked", /*tp_name*/
969 sizeof(PySwigPacked), /*tp_basicsize*/
970 0, /*tp_itemsize*/
971 /* methods */
972 (destructor)PySwigPacked_dealloc, /*tp_dealloc*/
973 (printfunc)PySwigPacked_print, /*tp_print*/
974 (getattrfunc)0, /*tp_getattr*/
975 (setattrfunc)0, /*tp_setattr*/
976 (cmpfunc)PySwigPacked_compare, /*tp_compare*/
977 (reprfunc)PySwigPacked_repr, /*tp_repr*/
978 0, /*tp_as_number*/
979 0, /*tp_as_sequence*/
980 0, /*tp_as_mapping*/
981 (hashfunc)0, /*tp_hash*/
982 (ternaryfunc)0, /*tp_call*/
983 (reprfunc)PySwigPacked_str, /*tp_str*/
984 /* Space for future expansion */
985 0,0,0,0,
986 pyswigpacked_type__doc__, /* Documentation string */
987 #if PY_VERSION_HEX >= 0x02000000
988 0, /* tp_traverse */
989 0, /* tp_clear */
990 #endif
991 #if PY_VERSION_HEX >= 0x02010000
992 0, /* tp_richcompare */
993 0, /* tp_weaklistoffset */
994 #endif
995 #if PY_VERSION_HEX >= 0x02020000
996 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
997 #endif
998 #if PY_VERSION_HEX >= 0x02030000
999 0, /* tp_del */
1000 #endif
1001 #ifdef COUNT_ALLOCS
1002 0,0,0,0 /* tp_alloc -> tp_next */
1003 #endif
1004 };
1005 #if !defined(__cplusplus)
1006 pyswigpacked_type = tmp;
1007 type_init = 1;
1008 }
1009 #endif
1010 return &pyswigpacked_type;
1011 }
1012
1013 SWIGRUNTIME PyObject *
1014 PySwigPacked_FromDataAndDesc(void *ptr, size_t size, const char *desc)
1015 {
1016 PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1017 if (self == NULL) {
1018 return NULL;
1019 } else {
1020 void *pack = malloc(size);
1021 if (pack) {
1022 memcpy(pack, ptr, size);
1023 self->pack = pack;
1024 self->desc = desc;
1025 self->size = size;
1026 return (PyObject *) self;
1027 }
1028 return NULL;
1029 }
1030 }
1031
1032 SWIGRUNTIMEINLINE const char *
1033 PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1034 {
1035 PySwigPacked *self = (PySwigPacked *)obj;
1036 if (self->size != size) return 0;
1037 memcpy(ptr, self->pack, size);
1038 return self->desc;
1039 }
1040
1041 SWIGRUNTIMEINLINE const char *
1042 PySwigPacked_GetDesc(PyObject *self)
1043 {
1044 return ((PySwigPacked *)self)->desc;
1045 }
1046
1047 SWIGRUNTIMEINLINE int
1048 PySwigPacked_Check(PyObject *op) {
1049 return ((op)->ob_type == PySwigPacked_type())
1050 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1051 }
1052
1053 #else
1054 /* -----------------------------------------------------------------------------
1055 * Use the old Python PyCObject instead of PySwigObject
1056 * ----------------------------------------------------------------------------- */
1057
1058 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1059 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1060 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1061 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1062
1063 #endif
1064
1065 #endif
1066
1067 /* -----------------------------------------------------------------------------
1068 * errors manipulation
1069 * ----------------------------------------------------------------------------- */
1070
1071 SWIGRUNTIME void
1072 SWIG_Python_TypeError(const char *type, PyObject *obj)
1073 {
1074 if (type) {
1075 #if defined(SWIG_COBJECT_TYPES)
1076 if (obj && PySwigObject_Check(obj)) {
1077 const char *otype = (const char *) PySwigObject_GetDesc(obj);
1078 if (otype) {
1079 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
1080 type, otype);
1081 return;
1082 }
1083 } else
1084 #endif
1085 {
1086 const char *otype = (obj ? obj->ob_type->tp_name : 0);
1087 if (otype) {
1088 PyObject *str = PyObject_Str(obj);
1089 const char *cstr = str ? PyString_AsString(str) : 0;
1090 if (cstr) {
1091 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
1092 type, otype, cstr);
1093 } else {
1094 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
1095 type, otype);
1096 }
1097 Py_XDECREF(str);
1098 return;
1099 }
1100 }
1101 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
1102 } else {
1103 PyErr_Format(PyExc_TypeError, "unexpected type is received");
1104 }
1105 }
1106
1107 SWIGRUNTIMEINLINE void
1108 SWIG_Python_NullRef(const char *type)
1109 {
1110 if (type) {
1111 PyErr_Format(PyExc_TypeError, "null reference of type '%s' was received",type);
1112 } else {
1113 PyErr_Format(PyExc_TypeError, "null reference was received");
1114 }
1115 }
1116
1117 SWIGRUNTIME int
1118 SWIG_Python_AddErrMesg(const char* mesg, int infront)
1119 {
1120 if (PyErr_Occurred()) {
1121 PyObject *type = 0;
1122 PyObject *value = 0;
1123 PyObject *traceback = 0;
1124 PyErr_Fetch(&type, &value, &traceback);
1125 if (value) {
1126 PyObject *old_str = PyObject_Str(value);
1127 Py_XINCREF(type);
1128 PyErr_Clear();
1129 if (infront) {
1130 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
1131 } else {
1132 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
1133 }
1134 Py_DECREF(old_str);
1135 }
1136 return 1;
1137 } else {
1138 return 0;
1139 }
1140 }
1141
1142 SWIGRUNTIME int
1143 SWIG_Python_ArgFail(int argnum)
1144 {
1145 if (PyErr_Occurred()) {
1146 /* add information about failing argument */
1147 char mesg[256];
1148 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
1149 return SWIG_Python_AddErrMesg(mesg, 1);
1150 } else {
1151 return 0;
1152 }
1153 }
1154
1155
1156 /* -----------------------------------------------------------------------------
1157 * pointers/data manipulation
1158 * ----------------------------------------------------------------------------- */
1159
1160 /* Convert a pointer value */
1161 SWIGRUNTIME int
1162 SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) {
1163 swig_cast_info *tc;
1164 const char *c = 0;
1165 static PyObject *SWIG_this = 0;
1166 int newref = 0;
1167 PyObject *pyobj = 0;
1168 void *vptr;
1169
1170 if (!obj) return 0;
1171 if (obj == Py_None) {
1172 *ptr = 0;
1173 return 0;
1174 }
1175
1176 #ifdef SWIG_COBJECT_TYPES
1177 if (!(PySwigObject_Check(obj))) {
1178 if (!SWIG_this)
1179 SWIG_this = PyString_FromString("this");
1180 pyobj = obj;
1181 obj = PyObject_GetAttr(obj,SWIG_this);
1182 newref = 1;
1183 if (!obj) goto type_error;
1184 if (!PySwigObject_Check(obj)) {
1185 Py_DECREF(obj);
1186 goto type_error;
1187 }
1188 }
1189 vptr = PySwigObject_AsVoidPtr(obj);
1190 c = (const char *) PySwigObject_GetDesc(obj);
1191 if (newref) { Py_DECREF(obj); }
1192 goto type_check;
1193 #else
1194 if (!(PyString_Check(obj))) {
1195 if (!SWIG_this)
1196 SWIG_this = PyString_FromString("this");
1197 pyobj = obj;
1198 obj = PyObject_GetAttr(obj,SWIG_this);
1199 newref = 1;
1200 if (!obj) goto type_error;
1201 if (!PyString_Check(obj)) {
1202 Py_DECREF(obj);
1203 goto type_error;
1204 }
1205 }
1206 c = PyString_AsString(obj);
1207 /* Pointer values must start with leading underscore */
1208 c = SWIG_UnpackVoidPtr(c, &vptr, ty->name);
1209 if (newref) { Py_DECREF(obj); }
1210 if (!c) goto type_error;
1211 #endif
1212
1213 type_check:
1214 if (ty) {
1215 tc = SWIG_TypeCheck(c,ty);
1216 if (!tc) goto type_error;
1217 *ptr = SWIG_TypeCast(tc,vptr);
1218 } else {
1219 *ptr = vptr;
1220 }
1221 if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) {
1222 PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False);
1223 }
1224 return 0;
1225
1226 type_error:
1227 PyErr_Clear();
1228 if (pyobj && !obj) {
1229 obj = pyobj;
1230 if (PyCFunction_Check(obj)) {
1231 /* here we get the method pointer for callbacks */
1232 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
1233 c = doc ? strstr(doc, "swig_ptr: ") : 0;
1234 if (c) {
1235 c = ty ? SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name) : 0;
1236 if (!c) goto type_error;
1237 goto type_check;
1238 }
1239 }
1240 }
1241 if (flags & SWIG_POINTER_EXCEPTION) {
1242 if (ty) {
1243 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1244 } else {
1245 SWIG_Python_TypeError("C/C++ pointer", obj);
1246 }
1247 }
1248 return -1;
1249 }
1250
1251 /* Convert a pointer value, signal an exception on a type mismatch */
1252 SWIGRUNTIME void *
1253 SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
1254 void *result;
1255 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
1256 PyErr_Clear();
1257 if (flags & SWIG_POINTER_EXCEPTION) {
1258 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1259 SWIG_Python_ArgFail(argnum);
1260 }
1261 }
1262 return result;
1263 }
1264
1265 /* Convert a packed value value */
1266 SWIGRUNTIME int
1267 SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) {
1268 swig_cast_info *tc;
1269 const char *c = 0;
1270
1271 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1272 c = PySwigPacked_UnpackData(obj, ptr, sz);
1273 #else
1274 if ((!obj) || (!PyString_Check(obj))) goto type_error;
1275 c = PyString_AsString(obj);
1276 /* Pointer values must start with leading underscore */
1277 c = SWIG_UnpackDataName(c, ptr, sz, ty->name);
1278 #endif
1279 if (!c) goto type_error;
1280 if (ty) {
1281 tc = SWIG_TypeCheck(c,ty);
1282 if (!tc) goto type_error;
1283 }
1284 return 0;
1285
1286 type_error:
1287 PyErr_Clear();
1288 if (flags & SWIG_POINTER_EXCEPTION) {
1289 if (ty) {
1290 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1291 } else {
1292 SWIG_Python_TypeError("C/C++ packed data", obj);
1293 }
1294 }
1295 return -1;
1296 }
1297
1298 /* Create a new array object */
1299 SWIGRUNTIME PyObject *
1300 SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) {
1301 PyObject *robj = 0;
1302 if (!type) {
1303 if (!PyErr_Occurred()) {
1304 PyErr_Format(PyExc_TypeError, "Swig: null type passed to NewPointerObj");
1305 }
1306 return robj;
1307 }
1308 if (!ptr) {
1309 Py_INCREF(Py_None);
1310 return Py_None;
1311 }
1312 #ifdef SWIG_COBJECT_TYPES
1313 robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)type->name);
1314 #else
1315 {
1316 char result[SWIG_BUFFER_SIZE];
1317 robj = SWIG_PackVoidPtr(result, ptr, type->name, sizeof(result)) ?
1318 PyString_FromString(result) : 0;
1319 }
1320 #endif
1321 if (!robj || (robj == Py_None)) return robj;
1322 if (type->clientdata) {
1323 PyObject *inst;
1324 PyObject *args = Py_BuildValue((char*)"(O)", robj);
1325 Py_DECREF(robj);
1326 inst = PyObject_CallObject((PyObject *) type->clientdata, args);
1327 Py_DECREF(args);
1328 if (inst) {
1329 if (own) {
1330 PyObject_SetAttrString(inst,(char*)"thisown",Py_True);
1331 }
1332 robj = inst;
1333 }
1334 }
1335 return robj;
1336 }
1337
1338 SWIGRUNTIME PyObject *
1339 SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
1340 PyObject *robj = 0;
1341 if (!ptr) {
1342 Py_INCREF(Py_None);
1343 return Py_None;
1344 }
1345 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1346 robj = PySwigPacked_FromDataAndDesc((void *) ptr, sz, (char *)type->name);
1347 #else
1348 {
1349 char result[SWIG_BUFFER_SIZE];
1350 robj = SWIG_PackDataName(result, ptr, sz, type->name, sizeof(result)) ?
1351 PyString_FromString(result) : 0;
1352 }
1353 #endif
1354 return robj;
1355 }
1356
1357 /* -----------------------------------------------------------------------------*
1358 * Get type list
1359 * -----------------------------------------------------------------------------*/
1360
1361 #ifdef SWIG_LINK_RUNTIME
1362 void *SWIG_ReturnGlobalTypeList(void *);
1363 #endif
1364
1365 SWIGRUNTIME swig_module_info *
1366 SWIG_Python_GetModule(void) {
1367 static void *type_pointer = (void *)0;
1368 /* first check if module already created */
1369 if (!type_pointer) {
1370 #ifdef SWIG_LINK_RUNTIME
1371 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
1372 #else
1373 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1374 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
1375 if (PyErr_Occurred()) {
1376 PyErr_Clear();
1377 type_pointer = (void *)0;
1378 }
1379 #endif
1380 }
1381 return (swig_module_info *) type_pointer;
1382 }
1383
1384 #if PY_MAJOR_VERSION < 2
1385 /* PyModule_AddObject function was introduced in Python 2.0. The following function
1386 is copied out of Python/modsupport.c in python version 2.3.4 */
1387 SWIGINTERN int
1388 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
1389 {
1390 PyObject *dict;
1391 if (!PyModule_Check(m)) {
1392 PyErr_SetString(PyExc_TypeError,
1393 "PyModule_AddObject() needs module as first arg");
1394 return -1;
1395 }
1396 if (!o) {
1397 PyErr_SetString(PyExc_TypeError,
1398 "PyModule_AddObject() needs non-NULL value");
1399 return -1;
1400 }
1401
1402 dict = PyModule_GetDict(m);
1403 if (dict == NULL) {
1404 /* Internal error -- modules must have a dict! */
1405 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
1406 PyModule_GetName(m));
1407 return -1;
1408 }
1409 if (PyDict_SetItemString(dict, name, o))
1410 return -1;
1411 Py_DECREF(o);
1412 return 0;
1413 }
1414 #endif
1415
1416 SWIGRUNTIME void
1417 SWIG_Python_SetModule(swig_module_info *swig_module) {
1418 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
1419
1420 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1421 swig_empty_runtime_method_table);
1422 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, NULL);
1423 if (pointer && module) {
1424 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
1425 }
1426 }
1427
1428 #ifdef __cplusplus
1429 }
1430 #endif
1431
1432
1433 /* -------- TYPES TABLE (BEGIN) -------- */
1434
1435 #define SWIGTYPE_p_char swig_types[0]
1436 #define SWIGTYPE_p_form_ops_t swig_types[1]
1437 #define SWIGTYPE_p_int swig_types[2]
1438 #define SWIGTYPE_p_unsigned_char swig_types[3]
1439 #define SWIGTYPE_p_unsigned_int swig_types[4]
1440 #define SWIGTYPE_p_unsigned_long swig_types[5]
1441 #define SWIGTYPE_p_wxANIHandler swig_types[6]
1442 #define SWIGTYPE_p_wxAcceleratorTable swig_types[7]
1443 #define SWIGTYPE_p_wxActivateEvent swig_types[8]
1444 #define SWIGTYPE_p_wxArrayInt swig_types[9]
1445 #define SWIGTYPE_p_wxBMPHandler swig_types[10]
1446 #define SWIGTYPE_p_wxBitmap swig_types[11]
1447 #define SWIGTYPE_p_wxBoxSizer swig_types[12]
1448 #define SWIGTYPE_p_wxCURHandler swig_types[13]
1449 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[14]
1450 #define SWIGTYPE_p_wxChildFocusEvent swig_types[15]
1451 #define SWIGTYPE_p_wxCloseEvent swig_types[16]
1452 #define SWIGTYPE_p_wxColour swig_types[17]
1453 #define SWIGTYPE_p_wxColourData swig_types[18]
1454 #define SWIGTYPE_p_wxColourDialog swig_types[19]
1455 #define SWIGTYPE_p_wxCommandEvent swig_types[20]
1456 #define SWIGTYPE_p_wxContextMenuEvent swig_types[21]
1457 #define SWIGTYPE_p_wxControl swig_types[22]
1458 #define SWIGTYPE_p_wxControlWithItems swig_types[23]
1459 #define SWIGTYPE_p_wxDC swig_types[24]
1460 #define SWIGTYPE_p_wxDateEvent swig_types[25]
1461 #define SWIGTYPE_p_wxDialog swig_types[26]
1462 #define SWIGTYPE_p_wxDirDialog swig_types[27]
1463 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[28]
1464 #define SWIGTYPE_p_wxDropFilesEvent swig_types[29]
1465 #define SWIGTYPE_p_wxDuplexMode swig_types[30]
1466 #define SWIGTYPE_p_wxEraseEvent swig_types[31]
1467 #define SWIGTYPE_p_wxEvent swig_types[32]
1468 #define SWIGTYPE_p_wxEvtHandler swig_types[33]
1469 #define SWIGTYPE_p_wxFSFile swig_types[34]
1470 #define SWIGTYPE_p_wxFileDialog swig_types[35]
1471 #define SWIGTYPE_p_wxFileSystem swig_types[36]
1472 #define SWIGTYPE_p_wxFindDialogEvent swig_types[37]
1473 #define SWIGTYPE_p_wxFindReplaceData swig_types[38]
1474 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[39]
1475 #define SWIGTYPE_p_wxFlexGridSizer swig_types[40]
1476 #define SWIGTYPE_p_wxFocusEvent swig_types[41]
1477 #define SWIGTYPE_p_wxFont swig_types[42]
1478 #define SWIGTYPE_p_wxFontData swig_types[43]
1479 #define SWIGTYPE_p_wxFontDialog swig_types[44]
1480 #define SWIGTYPE_p_wxFrame swig_types[45]
1481 #define SWIGTYPE_p_wxGBSizerItem swig_types[46]
1482 #define SWIGTYPE_p_wxGIFHandler swig_types[47]
1483 #define SWIGTYPE_p_wxGridBagSizer swig_types[48]
1484 #define SWIGTYPE_p_wxGridSizer swig_types[49]
1485 #define SWIGTYPE_p_wxICOHandler swig_types[50]
1486 #define SWIGTYPE_p_wxIcon swig_types[51]
1487 #define SWIGTYPE_p_wxIconBundle swig_types[52]
1488 #define SWIGTYPE_p_wxIconizeEvent swig_types[53]
1489 #define SWIGTYPE_p_wxIdleEvent swig_types[54]
1490 #define SWIGTYPE_p_wxImage swig_types[55]
1491 #define SWIGTYPE_p_wxImageHandler swig_types[56]
1492 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[57]
1493 #define SWIGTYPE_p_wxInitDialogEvent swig_types[58]
1494 #define SWIGTYPE_p_wxJPEGHandler swig_types[59]
1495 #define SWIGTYPE_p_wxKeyEvent swig_types[60]
1496 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[61]
1497 #define SWIGTYPE_p_wxLayoutConstraints swig_types[62]
1498 #define SWIGTYPE_p_wxMDIChildFrame swig_types[63]
1499 #define SWIGTYPE_p_wxMDIClientWindow swig_types[64]
1500 #define SWIGTYPE_p_wxMDIParentFrame swig_types[65]
1501 #define SWIGTYPE_p_wxMaximizeEvent swig_types[66]
1502 #define SWIGTYPE_p_wxMenu swig_types[67]
1503 #define SWIGTYPE_p_wxMenuBar swig_types[68]
1504 #define SWIGTYPE_p_wxMenuEvent swig_types[69]
1505 #define SWIGTYPE_p_wxMenuItem swig_types[70]
1506 #define SWIGTYPE_p_wxMessageDialog swig_types[71]
1507 #define SWIGTYPE_p_wxMiniFrame swig_types[72]
1508 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[73]
1509 #define SWIGTYPE_p_wxMouseEvent swig_types[74]
1510 #define SWIGTYPE_p_wxMoveEvent swig_types[75]
1511 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[76]
1512 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[77]
1513 #define SWIGTYPE_p_wxNcPaintEvent swig_types[78]
1514 #define SWIGTYPE_p_wxNotifyEvent swig_types[79]
1515 #define SWIGTYPE_p_wxObject swig_types[80]
1516 #define SWIGTYPE_p_wxPCXHandler swig_types[81]
1517 #define SWIGTYPE_p_wxPNGHandler swig_types[82]
1518 #define SWIGTYPE_p_wxPNMHandler swig_types[83]
1519 #define SWIGTYPE_p_wxPageSetupDialog swig_types[84]
1520 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[85]
1521 #define SWIGTYPE_p_wxPaintEvent swig_types[86]
1522 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[87]
1523 #define SWIGTYPE_p_wxPanel swig_types[88]
1524 #define SWIGTYPE_p_wxPaperSize swig_types[89]
1525 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[90]
1526 #define SWIGTYPE_p_wxPoint swig_types[91]
1527 #define SWIGTYPE_p_wxPopupWindow swig_types[92]
1528 #define SWIGTYPE_p_wxPreviewCanvas swig_types[93]
1529 #define SWIGTYPE_p_wxPreviewControlBar swig_types[94]
1530 #define SWIGTYPE_p_wxPreviewFrame swig_types[95]
1531 #define SWIGTYPE_p_wxPrintData swig_types[96]
1532 #define SWIGTYPE_p_wxPrintDialog swig_types[97]
1533 #define SWIGTYPE_p_wxPrintDialogData swig_types[98]
1534 #define SWIGTYPE_p_wxPrintPreview swig_types[99]
1535 #define SWIGTYPE_p_wxPrinter swig_types[100]
1536 #define SWIGTYPE_p_wxProgressDialog swig_types[101]
1537 #define SWIGTYPE_p_wxPyApp swig_types[102]
1538 #define SWIGTYPE_p_wxPyCommandEvent swig_types[103]
1539 #define SWIGTYPE_p_wxPyEvent swig_types[104]
1540 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[105]
1541 #define SWIGTYPE_p_wxPyImageHandler swig_types[106]
1542 #define SWIGTYPE_p_wxPyPanel swig_types[107]
1543 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[108]
1544 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[109]
1545 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[110]
1546 #define SWIGTYPE_p_wxPyPrintPreview swig_types[111]
1547 #define SWIGTYPE_p_wxPyPrintout swig_types[112]
1548 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[113]
1549 #define SWIGTYPE_p_wxPySizer swig_types[114]
1550 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[115]
1551 #define SWIGTYPE_p_wxPyVListBox swig_types[116]
1552 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[117]
1553 #define SWIGTYPE_p_wxPyValidator swig_types[118]
1554 #define SWIGTYPE_p_wxPyWindow swig_types[119]
1555 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[120]
1556 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[121]
1557 #define SWIGTYPE_p_wxRect swig_types[122]
1558 #define SWIGTYPE_p_wxRegion swig_types[123]
1559 #define SWIGTYPE_p_wxSashEvent swig_types[124]
1560 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[125]
1561 #define SWIGTYPE_p_wxSashWindow swig_types[126]
1562 #define SWIGTYPE_p_wxScrollEvent swig_types[127]
1563 #define SWIGTYPE_p_wxScrollWinEvent swig_types[128]
1564 #define SWIGTYPE_p_wxScrolledWindow swig_types[129]
1565 #define SWIGTYPE_p_wxSetCursorEvent swig_types[130]
1566 #define SWIGTYPE_p_wxShowEvent swig_types[131]
1567 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[132]
1568 #define SWIGTYPE_p_wxSize swig_types[133]
1569 #define SWIGTYPE_p_wxSizeEvent swig_types[134]
1570 #define SWIGTYPE_p_wxSizer swig_types[135]
1571 #define SWIGTYPE_p_wxSizerItem swig_types[136]
1572 #define SWIGTYPE_p_wxSplashScreen swig_types[137]
1573 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[138]
1574 #define SWIGTYPE_p_wxSplitterEvent swig_types[139]
1575 #define SWIGTYPE_p_wxSplitterWindow swig_types[140]
1576 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[141]
1577 #define SWIGTYPE_p_wxStatusBar swig_types[142]
1578 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[143]
1579 #define SWIGTYPE_p_wxString swig_types[144]
1580 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[145]
1581 #define SWIGTYPE_p_wxTIFFHandler swig_types[146]
1582 #define SWIGTYPE_p_wxTaskBarIcon swig_types[147]
1583 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[148]
1584 #define SWIGTYPE_p_wxTextEntryDialog swig_types[149]
1585 #define SWIGTYPE_p_wxTipWindow swig_types[150]
1586 #define SWIGTYPE_p_wxToolBar swig_types[151]
1587 #define SWIGTYPE_p_wxTopLevelWindow swig_types[152]
1588 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[153]
1589 #define SWIGTYPE_p_wxValidator swig_types[154]
1590 #define SWIGTYPE_p_wxVisualAttributes swig_types[155]
1591 #define SWIGTYPE_p_wxWindow swig_types[156]
1592 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[157]
1593 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[158]
1594 #define SWIGTYPE_p_wxXPMHandler swig_types[159]
1595 #define SWIGTYPE_ptrdiff_t swig_types[160]
1596 #define SWIGTYPE_std__ptrdiff_t swig_types[161]
1597 #define SWIGTYPE_unsigned_int swig_types[162]
1598 static swig_type_info *swig_types[164];
1599 static swig_module_info swig_module = {swig_types, 163, 0, 0, 0, 0};
1600 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
1601 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
1602
1603 /* -------- TYPES TABLE (END) -------- */
1604
1605
1606 /*-----------------------------------------------
1607 @(target):= _windows_.so
1608 ------------------------------------------------*/
1609 #define SWIG_init init_windows_
1610
1611 #define SWIG_name "_windows_"
1612
1613 #include "wx/wxPython/wxPython.h"
1614 #include "wx/wxPython/pyclasses.h"
1615
1616
1617 static const wxString wxPyEmptyString(wxEmptyString);
1618 static const wxString wxPyPanelNameStr(wxPanelNameStr);
1619
1620
1621
1622 #include <limits.h>
1623
1624
1625 SWIGINTERN int
1626 SWIG_CheckLongInRange(long value, long min_value, long max_value,
1627 const char *errmsg)
1628 {
1629 if (value < min_value) {
1630 if (errmsg) {
1631 PyErr_Format(PyExc_OverflowError,
1632 "value %ld is less than '%s' minimum %ld",
1633 value, errmsg, min_value);
1634 }
1635 return 0;
1636 } else if (value > max_value) {
1637 if (errmsg) {
1638 PyErr_Format(PyExc_OverflowError,
1639 "value %ld is greater than '%s' maximum %ld",
1640 value, errmsg, max_value);
1641 }
1642 return 0;
1643 }
1644 return 1;
1645 }
1646
1647
1648 SWIGINTERN int
1649 SWIG_AsVal_long(PyObject* obj, long* val)
1650 {
1651 if (PyNumber_Check(obj)) {
1652 if (val) *val = PyInt_AsLong(obj);
1653 return 1;
1654 }
1655 else {
1656 SWIG_Python_TypeError("number", obj);
1657 }
1658 return 0;
1659 }
1660
1661
1662 #if INT_MAX != LONG_MAX
1663 SWIGINTERN int
1664 SWIG_AsVal_int(PyObject *obj, int *val)
1665 {
1666 const char* errmsg = val ? "int" : (char*)0;
1667 long v;
1668 if (SWIG_AsVal_long(obj, &v)) {
1669 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
1670 if (val) *val = static_cast<int >(v);
1671 return 1;
1672 } else {
1673 return 0;
1674 }
1675 } else {
1676 PyErr_Clear();
1677 }
1678 if (val) {
1679 SWIG_type_error(errmsg, obj);
1680 }
1681 return 0;
1682 }
1683 #else
1684 SWIGINTERNINLINE int
1685 SWIG_AsVal_int(PyObject *obj, int *val)
1686 {
1687 return SWIG_AsVal_long(obj,(long*)val);
1688 }
1689 #endif
1690
1691
1692 SWIGINTERNINLINE int
1693 SWIG_As_int(PyObject* obj)
1694 {
1695 int v;
1696 if (!SWIG_AsVal_int(obj, &v)) {
1697 /*
1698 this is needed to make valgrind/purify happier.
1699 */
1700 memset((void*)&v, 0, sizeof(int));
1701 }
1702 return v;
1703 }
1704
1705
1706 SWIGINTERNINLINE long
1707 SWIG_As_long(PyObject* obj)
1708 {
1709 long v;
1710 if (!SWIG_AsVal_long(obj, &v)) {
1711 /*
1712 this is needed to make valgrind/purify happier.
1713 */
1714 memset((void*)&v, 0, sizeof(long));
1715 }
1716 return v;
1717 }
1718
1719
1720 SWIGINTERNINLINE int
1721 SWIG_Check_int(PyObject* obj)
1722 {
1723 return SWIG_AsVal_int(obj, (int*)0);
1724 }
1725
1726
1727 SWIGINTERNINLINE int
1728 SWIG_Check_long(PyObject* obj)
1729 {
1730 return SWIG_AsVal_long(obj, (long*)0);
1731 }
1732
1733
1734 SWIGINTERN int
1735 SWIG_AsVal_bool(PyObject *obj, bool *val)
1736 {
1737 if (obj == Py_True) {
1738 if (val) *val = true;
1739 return 1;
1740 }
1741 if (obj == Py_False) {
1742 if (val) *val = false;
1743 return 1;
1744 }
1745 int res = 0;
1746 if (SWIG_AsVal_int(obj, &res)) {
1747 if (val) *val = res ? true : false;
1748 return 1;
1749 } else {
1750 PyErr_Clear();
1751 }
1752 if (val) {
1753 SWIG_type_error("bool", obj);
1754 }
1755 return 0;
1756 }
1757
1758
1759 SWIGINTERNINLINE bool
1760 SWIG_As_bool(PyObject* obj)
1761 {
1762 bool v;
1763 if (!SWIG_AsVal_bool(obj, &v)) {
1764 /*
1765 this is needed to make valgrind/purify happier.
1766 */
1767 memset((void*)&v, 0, sizeof(bool));
1768 }
1769 return v;
1770 }
1771
1772
1773 SWIGINTERNINLINE int
1774 SWIG_Check_bool(PyObject* obj)
1775 {
1776 return SWIG_AsVal_bool(obj, (bool*)0);
1777 }
1778
1779
1780 /*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
1781 #define SWIG_From_int PyInt_FromLong
1782 /*@@*/
1783
1784
1785 static PyObject* t_output_helper(PyObject* result, PyObject* obj)
1786 {
1787 PyObject* o2;
1788 PyObject* o3;
1789 if (!result) {
1790 result = obj;
1791 } else if (result == Py_None) {
1792 Py_DECREF(result);
1793 result = obj;
1794 } else {
1795 if (!PyTuple_Check(result)) {
1796 o2 = result;
1797 result = PyTuple_New(1);
1798 PyTuple_SET_ITEM(result, 0, o2);
1799 }
1800 o3 = PyTuple_New(1);
1801 PyTuple_SetItem(o3, 0, obj);
1802 o2 = result;
1803 result = PySequence_Concat(o2, o3);
1804 Py_DECREF(o2);
1805 Py_DECREF(o3);
1806 }
1807 return result;
1808 }
1809
1810
1811
1812 SWIGINTERN int
1813 SWIG_AsVal_double(PyObject *obj, double* val)
1814 {
1815 if (PyNumber_Check(obj)) {
1816 if (val) *val = PyFloat_AsDouble(obj);
1817 return 1;
1818 }
1819 else {
1820 SWIG_Python_TypeError("number", obj);
1821 }
1822 return 0;
1823 }
1824
1825
1826 SWIGINTERNINLINE double
1827 SWIG_As_double(PyObject* obj)
1828 {
1829 double v;
1830 if (!SWIG_AsVal_double(obj, &v)) {
1831 /*
1832 this is needed to make valgrind/purify happier.
1833 */
1834 memset((void*)&v, 0, sizeof(double));
1835 }
1836 return v;
1837 }
1838
1839
1840 SWIGINTERNINLINE int
1841 SWIG_Check_double(PyObject* obj)
1842 {
1843 return SWIG_AsVal_double(obj, (double*)0);
1844 }
1845
1846
1847 /*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
1848 #define SWIG_From_double PyFloat_FromDouble
1849 /*@@*/
1850
1851 static const wxString wxPyFrameNameStr(wxFrameNameStr);
1852 static const wxString wxPyDialogNameStr(wxDialogNameStr);
1853 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
1854 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
1855 static void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){ /*wxPyRaiseNotImplemented();*/ }
1856 static bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow const *self){ /*wxPyRaiseNotImplemented();*/ return false; }
1857
1858 /*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
1859 #define SWIG_From_long PyInt_FromLong
1860 /*@@*/
1861
1862
1863
1864 static wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
1865 wxRect r;
1866 self->GetFieldRect(i, r);
1867 return r;
1868 }
1869 static const wxString wxPySplitterNameStr(wxT("splitter"));
1870 static const wxString wxPySashNameStr(wxT("sashWindow"));
1871 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
1872
1873 #include <wx/popupwin.h>
1874
1875
1876 class wxPyPopupTransientWindow : public wxPopupTransientWindow
1877 {
1878 public:
1879 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
1880 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
1881 : wxPopupTransientWindow(parent, style) {}
1882
1883 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
1884 DEC_PYCALLBACK__(OnDismiss);
1885 DEC_PYCALLBACK_BOOL_(CanDismiss);
1886 PYPRIVATE;
1887 };
1888
1889
1890 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
1891 IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
1892 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
1893
1894
1895 #include <wx/tipwin.h>
1896
1897 static wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){
1898 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
1899 }
1900
1901 #include <wx/tipwin.h>
1902
1903
1904 #include <wx/vscroll.h>
1905
1906
1907 class wxPyVScrolledWindow : public wxVScrolledWindow
1908 {
1909 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow)
1910 public:
1911 wxPyVScrolledWindow() : wxVScrolledWindow() {}
1912
1913 wxPyVScrolledWindow(wxWindow *parent,
1914 wxWindowID id = wxID_ANY,
1915 const wxPoint& pos = wxDefaultPosition,
1916 const wxSize& size = wxDefaultSize,
1917 long style = 0,
1918 const wxString& name = wxPyPanelNameStr)
1919 : wxVScrolledWindow(parent, id, pos, size, style, name)
1920 {}
1921
1922 // Overridable virtuals
1923
1924 // this function must be overridden in the derived class and it should
1925 // return the height of the given line in pixels
1926 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
1927
1928
1929 // this function doesn't have to be overridden but it may be useful to do
1930 // it if calculating the lines heights is a relatively expensive operation
1931 // as it gives the user code a possibility to calculate several of them at
1932 // once
1933 //
1934 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
1935 // shouldn't rely on the latter being called for all lines in the interval
1936 // specified here. It is also possible that OnGetLineHeight() will be
1937 // called for the lines outside of this interval, so this is really just a
1938 // hint, not a promise.
1939 //
1940 // finally note that lineMin is inclusive, while lineMax is exclusive, as
1941 // usual
1942 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
1943
1944
1945 // when the number of lines changes, we try to estimate the total height
1946 // of all lines which is a rather expensive operation in terms of lines
1947 // access, so if the user code may estimate the average height
1948 // better/faster than we do, it should override this function to implement
1949 // its own logic
1950 //
1951 // this function should return the best guess for the total height it may
1952 // make
1953 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
1954
1955
1956 // Also expose some other interesting protected methods
1957
1958
1959 // find the index of the line we need to show at the top of the window such
1960 // that the last (fully or partially) visible line is the given one
1961 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
1962 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
1963
1964 // get the total height of the lines between lineMin (inclusive) and
1965 // lineMax (exclusive)
1966 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
1967 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
1968
1969
1970 PYPRIVATE;
1971 };
1972
1973 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
1974
1975 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
1976 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
1977 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
1978
1979
1980 SWIGINTERN int
1981 SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
1982 {
1983 long v = 0;
1984 if (SWIG_AsVal_long(obj, &v) && v < 0) {
1985 SWIG_Python_TypeError("unsigned number", obj);
1986 }
1987 else if (val)
1988 *val = (unsigned long)v;
1989 return 1;
1990 }
1991
1992
1993 SWIGINTERNINLINE unsigned long
1994 SWIG_As_unsigned_SS_long(PyObject* obj)
1995 {
1996 unsigned long v;
1997 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1998 /*
1999 this is needed to make valgrind/purify happier.
2000 */
2001 memset((void*)&v, 0, sizeof(unsigned long));
2002 }
2003 return v;
2004 }
2005
2006
2007 SWIGINTERNINLINE int
2008 SWIG_Check_unsigned_SS_long(PyObject* obj)
2009 {
2010 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
2011 }
2012
2013
2014 SWIGINTERNINLINE PyObject*
2015 SWIG_From_unsigned_SS_long(unsigned long value)
2016 {
2017 return (value > LONG_MAX) ?
2018 PyLong_FromUnsignedLong(value)
2019 : PyInt_FromLong(static_cast<long >(value));
2020 }
2021
2022
2023 #include <wx/vlbox.h>
2024
2025 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
2026
2027 class wxPyVListBox : public wxVListBox
2028 {
2029 DECLARE_ABSTRACT_CLASS(wxPyVListBox)
2030 public:
2031 wxPyVListBox() : wxVListBox() {}
2032
2033 wxPyVListBox(wxWindow *parent,
2034 wxWindowID id = wxID_ANY,
2035 const wxPoint& pos = wxDefaultPosition,
2036 const wxSize& size = wxDefaultSize,
2037 long style = 0,
2038 const wxString& name = wxPyVListBoxNameStr)
2039 : wxVListBox(parent, id, pos, size, style, name)
2040 {}
2041
2042 // Overridable virtuals
2043
2044 // the derived class must implement this function to actually draw the item
2045 // with the given index on the provided DC
2046 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
2047 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
2048
2049
2050 // the derived class must implement this method to return the height of the
2051 // specified item
2052 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
2053 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
2054
2055
2056 // this method may be used to draw separators between the lines; note that
2057 // the rectangle may be modified, typically to deflate it a bit before
2058 // passing to OnDrawItem()
2059 //
2060 // the base class version doesn't do anything
2061 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
2062 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
2063
2064
2065 // this method is used to draw the items background and, maybe, a border
2066 // around it
2067 //
2068 // the base class version implements a reasonable default behaviour which
2069 // consists in drawing the selected item with the standard background
2070 // colour and drawing a border around the item if it is either selected or
2071 // current
2072 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
2073 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
2074
2075
2076 PYPRIVATE;
2077 };
2078
2079 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
2080
2081 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
2082 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
2083 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
2084 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
2085
2086
2087 static PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
2088 unsigned long cookie = 0;
2089 int selected = self->GetFirstSelected(cookie);
2090 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2091 PyObject* tup = PyTuple_New(2);
2092 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
2093 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
2094 wxPyEndBlockThreads(blocked);
2095 return tup;
2096 }
2097 static PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
2098 int selected = self->GetNextSelected(cookie);
2099 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2100 PyObject* tup = PyTuple_New(2);
2101 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
2102 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
2103 wxPyEndBlockThreads(blocked);
2104 return tup;
2105 }
2106
2107 #include <wx/htmllbox.h>
2108
2109
2110 class wxPyHtmlListBox : public wxHtmlListBox
2111 {
2112 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox)
2113 public:
2114 wxPyHtmlListBox() : wxHtmlListBox() {}
2115
2116 wxPyHtmlListBox(wxWindow *parent,
2117 wxWindowID id = wxID_ANY,
2118 const wxPoint& pos = wxDefaultPosition,
2119 const wxSize& size = wxDefaultSize,
2120 long style = 0,
2121 const wxString& name = wxPyVListBoxNameStr)
2122 : wxHtmlListBox(parent, id, pos, size, style, name)
2123 {}
2124
2125 // Overridable virtuals
2126
2127 // this method must be implemented in the derived class and should return
2128 // the body (i.e. without <html>) of the HTML for the given item
2129 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
2130
2131 // this function may be overridden to decorate HTML returned by OnGetItem()
2132 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
2133
2134 // TODO:
2135 // // this method allows to customize the selection appearance: it may be used
2136 // // to specify the colour of the text which normally has the given colour
2137 // // colFg when it is inside the selection
2138 // //
2139 // // by default, the original colour is not used at all and all text has the
2140 // // same (default for this system) colour inside selection
2141 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
2142
2143 // // this is the same as GetSelectedTextColour() but allows to customize the
2144 // // background colour -- this is even more rarely used as you can change it
2145 // // globally using SetSelectionBackground()
2146 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
2147
2148
2149 PYPRIVATE;
2150 };
2151
2152
2153 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
2154
2155 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
2156 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
2157
2158
2159
2160
2161
2162 #ifndef wxHAS_TASK_BAR_ICON
2163 // implement dummy classes for platforms that don't have it
2164
2165 class wxTaskBarIcon : public wxEvtHandler
2166 {
2167 public:
2168 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
2169 };
2170
2171
2172 class wxTaskBarIconEvent : public wxEvent
2173 {
2174 public:
2175 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
2176 { wxPyRaiseNotImplemented(); }
2177 virtual wxEvent* Clone() const { return NULL; }
2178 bool IsOk() const { return false; }
2179 bool IsIconInstalled() const { return false; }
2180 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
2181 bool RemoveIcon() { return false; }
2182 bool PopupMenu(wxMenu *menu) { return false; }
2183 };
2184
2185 enum {
2186 wxEVT_TASKBAR_MOVE = 0,
2187 wxEVT_TASKBAR_LEFT_DOWN = 0,
2188 wxEVT_TASKBAR_LEFT_UP = 0,
2189 wxEVT_TASKBAR_RIGHT_DOWN = 0,
2190 wxEVT_TASKBAR_RIGHT_UP = 0,
2191 wxEVT_TASKBAR_LEFT_DCLICK = 0,
2192 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
2193 };
2194
2195
2196 #else
2197 // Otherwise make a class that can virtualize CreatePopupMenu
2198 class wxPyTaskBarIcon : public wxTaskBarIcon
2199 {
2200 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon)
2201 public:
2202 wxPyTaskBarIcon() : wxTaskBarIcon()
2203 {}
2204
2205 wxMenu* CreatePopupMenu() {
2206 wxMenu *rval = NULL;
2207 bool found;
2208 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2209 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
2210 PyObject* ro;
2211 wxMenu* ptr;
2212 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
2213 if (ro) {
2214 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
2215 rval = ptr;
2216 Py_DECREF(ro);
2217 }
2218 }
2219 wxPyEndBlockThreads(blocked);
2220 if (! found)
2221 rval = wxTaskBarIcon::CreatePopupMenu();
2222 return rval;
2223 }
2224
2225 PYPRIVATE;
2226 };
2227
2228 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
2229
2230 #endif
2231
2232 static void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
2233 self->RemoveIcon();
2234 delete self;
2235 }
2236 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
2237 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
2238 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
2239 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
2240 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
2241 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
2242 static PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
2243 wxArrayString arr;
2244 self->GetFilenames(arr);
2245 return wxArrayString2PyList_helper(arr);
2246 }
2247 static PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
2248 wxArrayString arr;
2249 self->GetPaths(arr);
2250 return wxArrayString2PyList_helper(arr);
2251 }
2252 static PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
2253 return wxArrayInt2PyList_helper(self->GetSelections());
2254 }
2255 static wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style=wxCHOICEDLG_STYLE,wxPoint const &pos=wxDefaultPosition){
2256 return new wxSingleChoiceDialog(parent, message, caption,
2257 choices, choices_array, NULL, style, pos);
2258 }
2259 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
2260
2261 #include <wx/mdi.h>
2262
2263 // C++ version of Python aware wxWindow
2264 class wxPyWindow : public wxWindow
2265 {
2266 DECLARE_DYNAMIC_CLASS(wxPyWindow)
2267 public:
2268 wxPyWindow() : wxWindow() {}
2269 wxPyWindow(wxWindow* parent, const wxWindowID id,
2270 const wxPoint& pos = wxDefaultPosition,
2271 const wxSize& size = wxDefaultSize,
2272 long style = 0,
2273 const wxString& name = wxPyPanelNameStr)
2274 : wxWindow(parent, id, pos, size, style, name) {}
2275
2276 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
2277
2278 bool DoEraseBackground(wxDC* dc) {
2279 #ifdef __WXMSW__
2280 return wxWindow::DoEraseBackground(dc->GetHDC());
2281 #else
2282 dc->SetBackground(wxBrush(GetBackgroundColour()));
2283 dc->Clear();
2284 return true;
2285 #endif
2286 }
2287
2288 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2289 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2290 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2291 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2292
2293 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2294 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2295 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2296
2297 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2298 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2299
2300 DEC_PYCALLBACK__(InitDialog);
2301 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2302 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2303 DEC_PYCALLBACK_BOOL_(Validate);
2304
2305 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2306 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2307 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2308
2309 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2310 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2311
2312 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
2313 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
2314
2315 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2316
2317 DEC_PYCALLBACK_VOID_(OnInternalIdle);
2318
2319 PYPRIVATE;
2320 };
2321
2322 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
2323
2324 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
2325 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
2326 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
2327 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
2328
2329 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
2330 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
2331 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
2332
2333 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
2334 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
2335
2336 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
2337 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
2338 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
2339 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
2340
2341 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
2342 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
2343 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
2344
2345 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
2346 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
2347
2348 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
2349 IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
2350
2351 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
2352
2353 IMP_PYCALLBACK_VOID_(wxPyWindow, wxWindow, OnInternalIdle);
2354
2355 // C++ version of Python aware wxPanel
2356 class wxPyPanel : public wxPanel
2357 {
2358 DECLARE_DYNAMIC_CLASS(wxPyPanel)
2359 public:
2360 wxPyPanel() : wxPanel() {}
2361 wxPyPanel(wxWindow* parent, const wxWindowID id,
2362 const wxPoint& pos = wxDefaultPosition,
2363 const wxSize& size = wxDefaultSize,
2364 long style = 0,
2365 const wxString& name = wxPyPanelNameStr)
2366 : wxPanel(parent, id, pos, size, style, name) {}
2367
2368 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
2369 bool DoEraseBackground(wxDC* dc) {
2370 #ifdef __WXMSW__
2371 return wxWindow::DoEraseBackground(dc->GetHDC());
2372 #else
2373 dc->SetBackground(wxBrush(GetBackgroundColour()));
2374 dc->Clear();
2375 return true;
2376 #endif
2377 }
2378
2379
2380 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2381 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2382 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2383 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2384
2385 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2386 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2387 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2388
2389 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2390 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2391
2392 DEC_PYCALLBACK__(InitDialog);
2393 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2394 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2395 DEC_PYCALLBACK_BOOL_(Validate);
2396
2397 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2398 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2399 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2400
2401 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2402 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2403
2404 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
2405 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
2406
2407 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2408
2409 DEC_PYCALLBACK_VOID_(OnInternalIdle);
2410
2411 PYPRIVATE;
2412 };
2413
2414 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
2415
2416 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
2417 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
2418 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
2419 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
2420
2421 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
2422 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
2423 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
2424
2425 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
2426 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
2427
2428 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
2429 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
2430 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
2431 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
2432
2433 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
2434 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
2435 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
2436
2437 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
2438 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
2439
2440 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
2441 IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
2442
2443 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
2444
2445 IMP_PYCALLBACK_VOID_(wxPyPanel, wxPanel, OnInternalIdle);
2446
2447 // C++ version of Python aware wxScrolledWindow
2448 class wxPyScrolledWindow : public wxScrolledWindow
2449 {
2450 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
2451 public:
2452 wxPyScrolledWindow() : wxScrolledWindow() {}
2453 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
2454 const wxPoint& pos = wxDefaultPosition,
2455 const wxSize& size = wxDefaultSize,
2456 long style = 0,
2457 const wxString& name = wxPyPanelNameStr)
2458 : wxScrolledWindow(parent, id, pos, size, style, name) {}
2459
2460 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
2461 bool DoEraseBackground(wxDC* dc) {
2462 #ifdef __WXMSW__
2463 return wxWindow::DoEraseBackground(dc->GetHDC());
2464 #else
2465 dc->SetBackground(wxBrush(GetBackgroundColour()));
2466 dc->Clear();
2467 return true;
2468 #endif
2469 }
2470
2471 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2472 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2473 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2474 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2475
2476 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2477 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2478 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2479
2480 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2481 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2482
2483 DEC_PYCALLBACK__(InitDialog);
2484 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2485 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2486 DEC_PYCALLBACK_BOOL_(Validate);
2487
2488 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2489 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2490 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2491
2492 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2493 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2494
2495 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
2496 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
2497
2498 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2499
2500 DEC_PYCALLBACK_VOID_(OnInternalIdle);
2501
2502 PYPRIVATE;
2503 };
2504
2505 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
2506
2507 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
2508 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
2509 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
2510 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
2511
2512 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
2513 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
2514 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
2515
2516 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
2517 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
2518
2519 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
2520 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
2521 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
2522 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
2523
2524 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
2525 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
2526 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
2527
2528 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
2529 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
2530
2531 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
2532 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
2533
2534 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
2535
2536 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow, wxScrolledWindow, OnInternalIdle);
2537
2538
2539 #include "wx/wxPython/printfw.h"
2540
2541
2542 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
2543 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
2544 static PyObject *wxPrintData_GetPrivData(wxPrintData *self){
2545 PyObject* data;
2546 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2547 data = PyString_FromStringAndSize(self->GetPrivData(),
2548 self->GetPrivDataLen());
2549 wxPyEndBlockThreads(blocked);
2550 return data;
2551 }
2552 static void wxPrintData_SetPrivData(wxPrintData *self,PyObject *data){
2553 if (! PyString_Check(data)) {
2554 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
2555 "Expected string object"));
2556 return /* NULL */ ;
2557 }
2558
2559 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2560 self->SetPrivData(PyString_AS_STRING(data), PyString_GET_SIZE(data));
2561 wxPyEndBlockThreads(blocked);
2562 }
2563
2564
2565 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
2566
2567 // Since this one would be tough and ugly to do with the Macros...
2568 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
2569 bool hadErr = false;
2570 bool found;
2571
2572 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2573 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
2574 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
2575 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
2576 PyObject* val;
2577
2578 val = PyTuple_GetItem(result, 0);
2579 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
2580 else hadErr = true;
2581
2582 val = PyTuple_GetItem(result, 1);
2583 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
2584 else hadErr = true;
2585
2586 val = PyTuple_GetItem(result, 2);
2587 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
2588 else hadErr = true;
2589
2590 val = PyTuple_GetItem(result, 3);
2591 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
2592 else hadErr = true;
2593 }
2594 else
2595 hadErr = true;
2596
2597 if (hadErr) {
2598 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
2599 PyErr_Print();
2600 }
2601 Py_DECREF(result);
2602 }
2603 wxPyEndBlockThreads(blocked);
2604 if (! found)
2605 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
2606 }
2607
2608 void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
2609 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
2610 }
2611
2612
2613 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
2614 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
2615 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
2616 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
2617 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
2618 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
2619 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
2620
2621
2622
2623
2624
2625 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
2626 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
2627 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
2628
2629
2630 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
2631 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2632 bool rval=false; \
2633 bool found; \
2634 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2635 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
2636 PyObject* win = wxPyMake_wxObject(a,false); \
2637 PyObject* dc = wxPyMake_wxObject(&b,false); \
2638 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
2639 Py_DECREF(win); \
2640 Py_DECREF(dc); \
2641 } \
2642 wxPyEndBlockThreads(blocked); \
2643 if (! found) \
2644 rval = PCLASS::CBNAME(a, b); \
2645 return rval; \
2646 } \
2647 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2648 return PCLASS::CBNAME(a, b); \
2649 }
2650
2651
2652
2653
2654 class wxPyPrintPreview : public wxPrintPreview
2655 {
2656 DECLARE_CLASS(wxPyPrintPreview)
2657 public:
2658 wxPyPrintPreview(wxPyPrintout* printout,
2659 wxPyPrintout* printoutForPrinting,
2660 wxPrintDialogData* data=NULL)
2661 : wxPrintPreview(printout, printoutForPrinting, data)
2662 {}
2663 wxPyPrintPreview(wxPyPrintout* printout,
2664 wxPyPrintout* printoutForPrinting,
2665 wxPrintData* data)
2666 : wxPrintPreview(printout, printoutForPrinting, data)
2667 {}
2668
2669 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
2670 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
2671 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
2672 DEC_PYCALLBACK_BOOL_INT(RenderPage);
2673 DEC_PYCALLBACK_VOID_INT(SetZoom);
2674 DEC_PYCALLBACK_BOOL_BOOL(Print);
2675 DEC_PYCALLBACK_VOID_(DetermineScaling);
2676
2677 PYPRIVATE;
2678 };
2679
2680 // Stupid renamed classes... Fix this in 2.5...
2681 #if defined(__WXMSW__)
2682 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
2683 #elif defined(__WXMAC__)
2684 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
2685 #else
2686 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
2687 #endif
2688
2689 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
2690 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
2691 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
2692 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
2693 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
2694 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
2695 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
2696
2697
2698 class wxPyPreviewFrame : public wxPreviewFrame
2699 {
2700 DECLARE_CLASS(wxPyPreviewFrame)
2701 public:
2702 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
2703 const wxString& title,
2704 const wxPoint& pos = wxDefaultPosition,
2705 const wxSize& size = wxDefaultSize,
2706 long style = wxDEFAULT_FRAME_STYLE,
2707 const wxString& name = wxPyFrameNameStr)
2708 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
2709 {}
2710
2711 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
2712 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
2713
2714 DEC_PYCALLBACK_VOID_(Initialize);
2715 DEC_PYCALLBACK_VOID_(CreateCanvas);
2716 DEC_PYCALLBACK_VOID_(CreateControlBar);
2717
2718 PYPRIVATE;
2719 };
2720
2721 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
2722
2723 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
2724 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
2725 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
2726
2727
2728 class wxPyPreviewControlBar : public wxPreviewControlBar
2729 {
2730 DECLARE_CLASS(wxPyPreviewControlBar)
2731 public:
2732 wxPyPreviewControlBar(wxPrintPreview *preview,
2733 long buttons,
2734 wxWindow *parent,
2735 const wxPoint& pos = wxDefaultPosition,
2736 const wxSize& size = wxDefaultSize,
2737 long style = 0,
2738 const wxString& name = wxPyPanelNameStr)
2739 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
2740 {}
2741
2742 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
2743
2744 DEC_PYCALLBACK_VOID_(CreateButtons);
2745 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
2746
2747 PYPRIVATE;
2748 };
2749
2750 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
2751 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
2752 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
2753
2754 #ifdef __cplusplus
2755 extern "C" {
2756 #endif
2757 static PyObject *_wrap_new_Panel(PyObject *, PyObject *args, PyObject *kwargs) {
2758 PyObject *resultobj = NULL;
2759 wxWindow *arg1 = (wxWindow *) 0 ;
2760 int arg2 = (int) (int)-1 ;
2761 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2762 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2763 wxSize const &arg4_defvalue = wxDefaultSize ;
2764 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2765 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
2766 wxString const &arg6_defvalue = wxPyPanelNameStr ;
2767 wxString *arg6 = (wxString *) &arg6_defvalue ;
2768 wxPanel *result;
2769 wxPoint temp3 ;
2770 wxSize temp4 ;
2771 bool temp6 = false ;
2772 PyObject * obj0 = 0 ;
2773 PyObject * obj1 = 0 ;
2774 PyObject * obj2 = 0 ;
2775 PyObject * obj3 = 0 ;
2776 PyObject * obj4 = 0 ;
2777 PyObject * obj5 = 0 ;
2778 char *kwnames[] = {
2779 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2780 };
2781
2782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2783 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2784 if (SWIG_arg_fail(1)) SWIG_fail;
2785 if (obj1) {
2786 {
2787 arg2 = static_cast<int const >(SWIG_As_int(obj1));
2788 if (SWIG_arg_fail(2)) SWIG_fail;
2789 }
2790 }
2791 if (obj2) {
2792 {
2793 arg3 = &temp3;
2794 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2795 }
2796 }
2797 if (obj3) {
2798 {
2799 arg4 = &temp4;
2800 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2801 }
2802 }
2803 if (obj4) {
2804 {
2805 arg5 = static_cast<long >(SWIG_As_long(obj4));
2806 if (SWIG_arg_fail(5)) SWIG_fail;
2807 }
2808 }
2809 if (obj5) {
2810 {
2811 arg6 = wxString_in_helper(obj5);
2812 if (arg6 == NULL) SWIG_fail;
2813 temp6 = true;
2814 }
2815 }
2816 {
2817 if (!wxPyCheckForApp()) SWIG_fail;
2818 PyThreadState* __tstate = wxPyBeginAllowThreads();
2819 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
2820
2821 wxPyEndAllowThreads(__tstate);
2822 if (PyErr_Occurred()) SWIG_fail;
2823 }
2824 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
2825 {
2826 if (temp6)
2827 delete arg6;
2828 }
2829 return resultobj;
2830 fail:
2831 {
2832 if (temp6)
2833 delete arg6;
2834 }
2835 return NULL;
2836 }
2837
2838
2839 static PyObject *_wrap_new_PrePanel(PyObject *, PyObject *args, PyObject *kwargs) {
2840 PyObject *resultobj = NULL;
2841 wxPanel *result;
2842 char *kwnames[] = {
2843 NULL
2844 };
2845
2846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
2847 {
2848 if (!wxPyCheckForApp()) SWIG_fail;
2849 PyThreadState* __tstate = wxPyBeginAllowThreads();
2850 result = (wxPanel *)new wxPanel();
2851
2852 wxPyEndAllowThreads(__tstate);
2853 if (PyErr_Occurred()) SWIG_fail;
2854 }
2855 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
2856 return resultobj;
2857 fail:
2858 return NULL;
2859 }
2860
2861
2862 static PyObject *_wrap_Panel_Create(PyObject *, PyObject *args, PyObject *kwargs) {
2863 PyObject *resultobj = NULL;
2864 wxPanel *arg1 = (wxPanel *) 0 ;
2865 wxWindow *arg2 = (wxWindow *) 0 ;
2866 int arg3 = (int) (int)-1 ;
2867 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2868 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2869 wxSize const &arg5_defvalue = wxDefaultSize ;
2870 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2871 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
2872 wxString const &arg7_defvalue = wxPyPanelNameStr ;
2873 wxString *arg7 = (wxString *) &arg7_defvalue ;
2874 bool result;
2875 wxPoint temp4 ;
2876 wxSize temp5 ;
2877 bool temp7 = false ;
2878 PyObject * obj0 = 0 ;
2879 PyObject * obj1 = 0 ;
2880 PyObject * obj2 = 0 ;
2881 PyObject * obj3 = 0 ;
2882 PyObject * obj4 = 0 ;
2883 PyObject * obj5 = 0 ;
2884 PyObject * obj6 = 0 ;
2885 char *kwnames[] = {
2886 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2887 };
2888
2889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2890 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2891 if (SWIG_arg_fail(1)) SWIG_fail;
2892 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2893 if (SWIG_arg_fail(2)) SWIG_fail;
2894 if (obj2) {
2895 {
2896 arg3 = static_cast<int const >(SWIG_As_int(obj2));
2897 if (SWIG_arg_fail(3)) SWIG_fail;
2898 }
2899 }
2900 if (obj3) {
2901 {
2902 arg4 = &temp4;
2903 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2904 }
2905 }
2906 if (obj4) {
2907 {
2908 arg5 = &temp5;
2909 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2910 }
2911 }
2912 if (obj5) {
2913 {
2914 arg6 = static_cast<long >(SWIG_As_long(obj5));
2915 if (SWIG_arg_fail(6)) SWIG_fail;
2916 }
2917 }
2918 if (obj6) {
2919 {
2920 arg7 = wxString_in_helper(obj6);
2921 if (arg7 == NULL) SWIG_fail;
2922 temp7 = true;
2923 }
2924 }
2925 {
2926 PyThreadState* __tstate = wxPyBeginAllowThreads();
2927 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
2928
2929 wxPyEndAllowThreads(__tstate);
2930 if (PyErr_Occurred()) SWIG_fail;
2931 }
2932 {
2933 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2934 }
2935 {
2936 if (temp7)
2937 delete arg7;
2938 }
2939 return resultobj;
2940 fail:
2941 {
2942 if (temp7)
2943 delete arg7;
2944 }
2945 return NULL;
2946 }
2947
2948
2949 static PyObject *_wrap_Panel_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
2950 PyObject *resultobj = NULL;
2951 wxPanel *arg1 = (wxPanel *) 0 ;
2952 PyObject * obj0 = 0 ;
2953 char *kwnames[] = {
2954 (char *) "self", NULL
2955 };
2956
2957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
2958 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2959 if (SWIG_arg_fail(1)) SWIG_fail;
2960 {
2961 PyThreadState* __tstate = wxPyBeginAllowThreads();
2962 (arg1)->InitDialog();
2963
2964 wxPyEndAllowThreads(__tstate);
2965 if (PyErr_Occurred()) SWIG_fail;
2966 }
2967 Py_INCREF(Py_None); resultobj = Py_None;
2968 return resultobj;
2969 fail:
2970 return NULL;
2971 }
2972
2973
2974 static PyObject *_wrap_Panel_SetFocus(PyObject *, PyObject *args, PyObject *kwargs) {
2975 PyObject *resultobj = NULL;
2976 wxPanel *arg1 = (wxPanel *) 0 ;
2977 PyObject * obj0 = 0 ;
2978 char *kwnames[] = {
2979 (char *) "self", NULL
2980 };
2981
2982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_SetFocus",kwnames,&obj0)) goto fail;
2983 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2984 if (SWIG_arg_fail(1)) SWIG_fail;
2985 {
2986 PyThreadState* __tstate = wxPyBeginAllowThreads();
2987 (arg1)->SetFocus();
2988
2989 wxPyEndAllowThreads(__tstate);
2990 if (PyErr_Occurred()) SWIG_fail;
2991 }
2992 Py_INCREF(Py_None); resultobj = Py_None;
2993 return resultobj;
2994 fail:
2995 return NULL;
2996 }
2997
2998
2999 static PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *, PyObject *args, PyObject *kwargs) {
3000 PyObject *resultobj = NULL;
3001 wxPanel *arg1 = (wxPanel *) 0 ;
3002 PyObject * obj0 = 0 ;
3003 char *kwnames[] = {
3004 (char *) "self", NULL
3005 };
3006
3007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_SetFocusIgnoringChildren",kwnames,&obj0)) goto fail;
3008 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
3009 if (SWIG_arg_fail(1)) SWIG_fail;
3010 {
3011 PyThreadState* __tstate = wxPyBeginAllowThreads();
3012 (arg1)->SetFocusIgnoringChildren();
3013
3014 wxPyEndAllowThreads(__tstate);
3015 if (PyErr_Occurred()) SWIG_fail;
3016 }
3017 Py_INCREF(Py_None); resultobj = Py_None;
3018 return resultobj;
3019 fail:
3020 return NULL;
3021 }
3022
3023
3024 static PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
3025 PyObject *resultobj = NULL;
3026 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
3027 wxVisualAttributes result;
3028 PyObject * obj0 = 0 ;
3029 char *kwnames[] = {
3030 (char *) "variant", NULL
3031 };
3032
3033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
3034 if (obj0) {
3035 {
3036 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
3037 if (SWIG_arg_fail(1)) SWIG_fail;
3038 }
3039 }
3040 {
3041 if (!wxPyCheckForApp()) SWIG_fail;
3042 PyThreadState* __tstate = wxPyBeginAllowThreads();
3043 result = wxPanel::GetClassDefaultAttributes(arg1);
3044
3045 wxPyEndAllowThreads(__tstate);
3046 if (PyErr_Occurred()) SWIG_fail;
3047 }
3048 {
3049 wxVisualAttributes * resultptr;
3050 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
3051 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
3052 }
3053 return resultobj;
3054 fail:
3055 return NULL;
3056 }
3057
3058
3059 static PyObject * Panel_swigregister(PyObject *, PyObject *args) {
3060 PyObject *obj;
3061 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3062 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
3063 Py_INCREF(obj);
3064 return Py_BuildValue((char *)"");
3065 }
3066 static PyObject *_wrap_new_ScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
3067 PyObject *resultobj = NULL;
3068 wxWindow *arg1 = (wxWindow *) 0 ;
3069 int arg2 = (int) (int)-1 ;
3070 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3071 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3072 wxSize const &arg4_defvalue = wxDefaultSize ;
3073 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3074 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
3075 wxString const &arg6_defvalue = wxPyPanelNameStr ;
3076 wxString *arg6 = (wxString *) &arg6_defvalue ;
3077 wxScrolledWindow *result;
3078 wxPoint temp3 ;
3079 wxSize temp4 ;
3080 bool temp6 = false ;
3081 PyObject * obj0 = 0 ;
3082 PyObject * obj1 = 0 ;
3083 PyObject * obj2 = 0 ;
3084 PyObject * obj3 = 0 ;
3085 PyObject * obj4 = 0 ;
3086 PyObject * obj5 = 0 ;
3087 char *kwnames[] = {
3088 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3089 };
3090
3091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
3092 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3093 if (SWIG_arg_fail(1)) SWIG_fail;
3094 if (obj1) {
3095 {
3096 arg2 = static_cast<int const >(SWIG_As_int(obj1));
3097 if (SWIG_arg_fail(2)) SWIG_fail;
3098 }
3099 }
3100 if (obj2) {
3101 {
3102 arg3 = &temp3;
3103 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3104 }
3105 }
3106 if (obj3) {
3107 {
3108 arg4 = &temp4;
3109 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3110 }
3111 }
3112 if (obj4) {
3113 {
3114 arg5 = static_cast<long >(SWIG_As_long(obj4));
3115 if (SWIG_arg_fail(5)) SWIG_fail;
3116 }
3117 }
3118 if (obj5) {
3119 {
3120 arg6 = wxString_in_helper(obj5);
3121 if (arg6 == NULL) SWIG_fail;
3122 temp6 = true;
3123 }
3124 }
3125 {
3126 if (!wxPyCheckForApp()) SWIG_fail;
3127 PyThreadState* __tstate = wxPyBeginAllowThreads();
3128 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3129
3130 wxPyEndAllowThreads(__tstate);
3131 if (PyErr_Occurred()) SWIG_fail;
3132 }
3133 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
3134 {
3135 if (temp6)
3136 delete arg6;
3137 }
3138 return resultobj;
3139 fail:
3140 {
3141 if (temp6)
3142 delete arg6;
3143 }
3144 return NULL;
3145 }
3146
3147
3148 static PyObject *_wrap_new_PreScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
3149 PyObject *resultobj = NULL;
3150 wxScrolledWindow *result;
3151 char *kwnames[] = {
3152 NULL
3153 };
3154
3155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
3156 {
3157 if (!wxPyCheckForApp()) SWIG_fail;
3158 PyThreadState* __tstate = wxPyBeginAllowThreads();
3159 result = (wxScrolledWindow *)new wxScrolledWindow();
3160
3161 wxPyEndAllowThreads(__tstate);
3162 if (PyErr_Occurred()) SWIG_fail;
3163 }
3164 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
3165 return resultobj;
3166 fail:
3167 return NULL;
3168 }
3169
3170
3171 static PyObject *_wrap_ScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
3172 PyObject *resultobj = NULL;
3173 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3174 wxWindow *arg2 = (wxWindow *) 0 ;
3175 int arg3 = (int) (int)-1 ;
3176 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3177 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3178 wxSize const &arg5_defvalue = wxDefaultSize ;
3179 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3180 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
3181 wxString const &arg7_defvalue = wxPyPanelNameStr ;
3182 wxString *arg7 = (wxString *) &arg7_defvalue ;
3183 bool result;
3184 wxPoint temp4 ;
3185 wxSize temp5 ;
3186 bool temp7 = false ;
3187 PyObject * obj0 = 0 ;
3188 PyObject * obj1 = 0 ;
3189 PyObject * obj2 = 0 ;
3190 PyObject * obj3 = 0 ;
3191 PyObject * obj4 = 0 ;
3192 PyObject * obj5 = 0 ;
3193 PyObject * obj6 = 0 ;
3194 char *kwnames[] = {
3195 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3196 };
3197
3198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3199 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3200 if (SWIG_arg_fail(1)) SWIG_fail;
3201 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3202 if (SWIG_arg_fail(2)) SWIG_fail;
3203 if (obj2) {
3204 {
3205 arg3 = static_cast<int const >(SWIG_As_int(obj2));
3206 if (SWIG_arg_fail(3)) SWIG_fail;
3207 }
3208 }
3209 if (obj3) {
3210 {
3211 arg4 = &temp4;
3212 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3213 }
3214 }
3215 if (obj4) {
3216 {
3217 arg5 = &temp5;
3218 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3219 }
3220 }
3221 if (obj5) {
3222 {
3223 arg6 = static_cast<long >(SWIG_As_long(obj5));
3224 if (SWIG_arg_fail(6)) SWIG_fail;
3225 }
3226 }
3227 if (obj6) {
3228 {
3229 arg7 = wxString_in_helper(obj6);
3230 if (arg7 == NULL) SWIG_fail;
3231 temp7 = true;
3232 }
3233 }
3234 {
3235 PyThreadState* __tstate = wxPyBeginAllowThreads();
3236 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3237
3238 wxPyEndAllowThreads(__tstate);
3239 if (PyErr_Occurred()) SWIG_fail;
3240 }
3241 {
3242 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3243 }
3244 {
3245 if (temp7)
3246 delete arg7;
3247 }
3248 return resultobj;
3249 fail:
3250 {
3251 if (temp7)
3252 delete arg7;
3253 }
3254 return NULL;
3255 }
3256
3257
3258 static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
3259 PyObject *resultobj = NULL;
3260 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3261 int arg2 ;
3262 int arg3 ;
3263 int arg4 ;
3264 int arg5 ;
3265 int arg6 = (int) 0 ;
3266 int arg7 = (int) 0 ;
3267 bool arg8 = (bool) false ;
3268 PyObject * obj0 = 0 ;
3269 PyObject * obj1 = 0 ;
3270 PyObject * obj2 = 0 ;
3271 PyObject * obj3 = 0 ;
3272 PyObject * obj4 = 0 ;
3273 PyObject * obj5 = 0 ;
3274 PyObject * obj6 = 0 ;
3275 PyObject * obj7 = 0 ;
3276 char *kwnames[] = {
3277 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
3278 };
3279
3280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3281 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3282 if (SWIG_arg_fail(1)) SWIG_fail;
3283 {
3284 arg2 = static_cast<int >(SWIG_As_int(obj1));
3285 if (SWIG_arg_fail(2)) SWIG_fail;
3286 }
3287 {
3288 arg3 = static_cast<int >(SWIG_As_int(obj2));
3289 if (SWIG_arg_fail(3)) SWIG_fail;
3290 }
3291 {
3292 arg4 = static_cast<int >(SWIG_As_int(obj3));
3293 if (SWIG_arg_fail(4)) SWIG_fail;
3294 }
3295 {
3296 arg5 = static_cast<int >(SWIG_As_int(obj4));
3297 if (SWIG_arg_fail(5)) SWIG_fail;
3298 }
3299 if (obj5) {
3300 {
3301 arg6 = static_cast<int >(SWIG_As_int(obj5));
3302 if (SWIG_arg_fail(6)) SWIG_fail;
3303 }
3304 }
3305 if (obj6) {
3306 {
3307 arg7 = static_cast<int >(SWIG_As_int(obj6));
3308 if (SWIG_arg_fail(7)) SWIG_fail;
3309 }
3310 }
3311 if (obj7) {
3312 {
3313 arg8 = static_cast<bool >(SWIG_As_bool(obj7));
3314 if (SWIG_arg_fail(8)) SWIG_fail;
3315 }
3316 }
3317 {
3318 PyThreadState* __tstate = wxPyBeginAllowThreads();
3319 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
3320
3321 wxPyEndAllowThreads(__tstate);
3322 if (PyErr_Occurred()) SWIG_fail;
3323 }
3324 Py_INCREF(Py_None); resultobj = Py_None;
3325 return resultobj;
3326 fail:
3327 return NULL;
3328 }
3329
3330
3331 static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *, PyObject *args, PyObject *kwargs) {
3332 PyObject *resultobj = NULL;
3333 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3334 int arg2 ;
3335 int arg3 ;
3336 PyObject * obj0 = 0 ;
3337 PyObject * obj1 = 0 ;
3338 PyObject * obj2 = 0 ;
3339 char *kwnames[] = {
3340 (char *) "self",(char *) "x",(char *) "y", NULL
3341 };
3342
3343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
3344 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3345 if (SWIG_arg_fail(1)) SWIG_fail;
3346 {
3347 arg2 = static_cast<int >(SWIG_As_int(obj1));
3348 if (SWIG_arg_fail(2)) SWIG_fail;
3349 }
3350 {
3351 arg3 = static_cast<int >(SWIG_As_int(obj2));
3352 if (SWIG_arg_fail(3)) SWIG_fail;
3353 }
3354 {
3355 PyThreadState* __tstate = wxPyBeginAllowThreads();
3356 (arg1)->Scroll(arg2,arg3);
3357
3358 wxPyEndAllowThreads(__tstate);
3359 if (PyErr_Occurred()) SWIG_fail;
3360 }
3361 Py_INCREF(Py_None); resultobj = Py_None;
3362 return resultobj;
3363 fail:
3364 return NULL;
3365 }
3366
3367
3368 static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
3369 PyObject *resultobj = NULL;
3370 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3371 int arg2 ;
3372 int result;
3373 PyObject * obj0 = 0 ;
3374 PyObject * obj1 = 0 ;
3375 char *kwnames[] = {
3376 (char *) "self",(char *) "orient", NULL
3377 };
3378
3379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail;
3380 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3381 if (SWIG_arg_fail(1)) SWIG_fail;
3382 {
3383 arg2 = static_cast<int >(SWIG_As_int(obj1));
3384 if (SWIG_arg_fail(2)) SWIG_fail;
3385 }
3386 {
3387 PyThreadState* __tstate = wxPyBeginAllowThreads();
3388 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
3389
3390 wxPyEndAllowThreads(__tstate);
3391 if (PyErr_Occurred()) SWIG_fail;
3392 }
3393 {
3394 resultobj = SWIG_From_int(static_cast<int >(result));
3395 }
3396 return resultobj;
3397 fail:
3398 return NULL;
3399 }
3400
3401
3402 static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
3403 PyObject *resultobj = NULL;
3404 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3405 int arg2 ;
3406 int arg3 ;
3407 PyObject * obj0 = 0 ;
3408 PyObject * obj1 = 0 ;
3409 PyObject * obj2 = 0 ;
3410 char *kwnames[] = {
3411 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
3412 };
3413
3414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
3415 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3416 if (SWIG_arg_fail(1)) SWIG_fail;
3417 {
3418 arg2 = static_cast<int >(SWIG_As_int(obj1));
3419 if (SWIG_arg_fail(2)) SWIG_fail;
3420 }
3421 {
3422 arg3 = static_cast<int >(SWIG_As_int(obj2));
3423 if (SWIG_arg_fail(3)) SWIG_fail;
3424 }
3425 {
3426 PyThreadState* __tstate = wxPyBeginAllowThreads();
3427 (arg1)->SetScrollPageSize(arg2,arg3);
3428
3429 wxPyEndAllowThreads(__tstate);
3430 if (PyErr_Occurred()) SWIG_fail;
3431 }
3432 Py_INCREF(Py_None); resultobj = Py_None;
3433 return resultobj;
3434 fail:
3435 return NULL;
3436 }
3437
3438
3439 static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *, PyObject *args, PyObject *kwargs) {
3440 PyObject *resultobj = NULL;
3441 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3442 int arg2 ;
3443 int arg3 ;
3444 PyObject * obj0 = 0 ;
3445 PyObject * obj1 = 0 ;
3446 PyObject * obj2 = 0 ;
3447 char *kwnames[] = {
3448 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
3449 };
3450
3451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail;
3452 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3453 if (SWIG_arg_fail(1)) SWIG_fail;
3454 {
3455 arg2 = static_cast<int >(SWIG_As_int(obj1));
3456 if (SWIG_arg_fail(2)) SWIG_fail;
3457 }
3458 {
3459 arg3 = static_cast<int >(SWIG_As_int(obj2));
3460 if (SWIG_arg_fail(3)) SWIG_fail;
3461 }
3462 {
3463 PyThreadState* __tstate = wxPyBeginAllowThreads();
3464 (arg1)->SetScrollRate(arg2,arg3);
3465
3466 wxPyEndAllowThreads(__tstate);
3467 if (PyErr_Occurred()) SWIG_fail;
3468 }
3469 Py_INCREF(Py_None); resultobj = Py_None;
3470 return resultobj;
3471 fail:
3472 return NULL;
3473 }
3474
3475
3476 static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *, PyObject *args, PyObject *kwargs) {
3477 PyObject *resultobj = NULL;
3478 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3479 int *arg2 = (int *) 0 ;
3480 int *arg3 = (int *) 0 ;
3481 int temp2 ;
3482 int res2 = 0 ;
3483 int temp3 ;
3484 int res3 = 0 ;
3485 PyObject * obj0 = 0 ;
3486 char *kwnames[] = {
3487 (char *) "self", NULL
3488 };
3489
3490 arg2 = &temp2; res2 = SWIG_NEWOBJ;
3491 arg3 = &temp3; res3 = SWIG_NEWOBJ;
3492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
3493 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3494 if (SWIG_arg_fail(1)) SWIG_fail;
3495 {
3496 PyThreadState* __tstate = wxPyBeginAllowThreads();
3497 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
3498
3499 wxPyEndAllowThreads(__tstate);
3500 if (PyErr_Occurred()) SWIG_fail;
3501 }
3502 Py_INCREF(Py_None); resultobj = Py_None;
3503 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
3504 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
3505 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
3506 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
3507 return resultobj;
3508 fail:
3509 return NULL;
3510 }
3511
3512
3513 static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *, PyObject *args, PyObject *kwargs) {
3514 PyObject *resultobj = NULL;
3515 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3516 bool arg2 ;
3517 bool arg3 ;
3518 PyObject * obj0 = 0 ;
3519 PyObject * obj1 = 0 ;
3520 PyObject * obj2 = 0 ;
3521 char *kwnames[] = {
3522 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
3523 };
3524
3525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
3526 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3527 if (SWIG_arg_fail(1)) SWIG_fail;
3528 {
3529 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
3530 if (SWIG_arg_fail(2)) SWIG_fail;
3531 }
3532 {
3533 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
3534 if (SWIG_arg_fail(3)) SWIG_fail;
3535 }
3536 {
3537 PyThreadState* __tstate = wxPyBeginAllowThreads();
3538 (arg1)->EnableScrolling(arg2,arg3);
3539
3540 wxPyEndAllowThreads(__tstate);
3541 if (PyErr_Occurred()) SWIG_fail;
3542 }
3543 Py_INCREF(Py_None); resultobj = Py_None;
3544 return resultobj;
3545 fail:
3546 return NULL;
3547 }
3548
3549
3550 static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *, PyObject *args, PyObject *kwargs) {
3551 PyObject *resultobj = NULL;
3552 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3553 int *arg2 = (int *) 0 ;
3554 int *arg3 = (int *) 0 ;
3555 int temp2 ;
3556 int res2 = 0 ;
3557 int temp3 ;
3558 int res3 = 0 ;
3559 PyObject * obj0 = 0 ;
3560 char *kwnames[] = {
3561 (char *) "self", NULL
3562 };
3563
3564 arg2 = &temp2; res2 = SWIG_NEWOBJ;
3565 arg3 = &temp3; res3 = SWIG_NEWOBJ;
3566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
3567 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3568 if (SWIG_arg_fail(1)) SWIG_fail;
3569 {
3570 PyThreadState* __tstate = wxPyBeginAllowThreads();
3571 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
3572
3573 wxPyEndAllowThreads(__tstate);
3574 if (PyErr_Occurred()) SWIG_fail;
3575 }
3576 Py_INCREF(Py_None); resultobj = Py_None;
3577 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
3578 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
3579 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
3580 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
3581 return resultobj;
3582 fail:
3583 return NULL;
3584 }
3585
3586
3587 static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *, PyObject *args, PyObject *kwargs) {
3588 PyObject *resultobj = NULL;
3589 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3590 double arg2 ;
3591 double arg3 ;
3592 PyObject * obj0 = 0 ;
3593 PyObject * obj1 = 0 ;
3594 PyObject * obj2 = 0 ;
3595 char *kwnames[] = {
3596 (char *) "self",(char *) "xs",(char *) "ys", NULL
3597 };
3598
3599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
3600 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3601 if (SWIG_arg_fail(1)) SWIG_fail;
3602 {
3603 arg2 = static_cast<double >(SWIG_As_double(obj1));
3604 if (SWIG_arg_fail(2)) SWIG_fail;
3605 }
3606 {
3607 arg3 = static_cast<double >(SWIG_As_double(obj2));
3608 if (SWIG_arg_fail(3)) SWIG_fail;
3609 }
3610 {
3611 PyThreadState* __tstate = wxPyBeginAllowThreads();
3612 (arg1)->SetScale(arg2,arg3);
3613
3614 wxPyEndAllowThreads(__tstate);
3615 if (PyErr_Occurred()) SWIG_fail;
3616 }
3617 Py_INCREF(Py_None); resultobj = Py_None;
3618 return resultobj;
3619 fail:
3620 return NULL;
3621 }
3622
3623
3624 static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
3625 PyObject *resultobj = NULL;
3626 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3627 double result;
3628 PyObject * obj0 = 0 ;
3629 char *kwnames[] = {
3630 (char *) "self", NULL
3631 };
3632
3633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
3634 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3635 if (SWIG_arg_fail(1)) SWIG_fail;
3636 {
3637 PyThreadState* __tstate = wxPyBeginAllowThreads();
3638 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
3639
3640 wxPyEndAllowThreads(__tstate);
3641 if (PyErr_Occurred()) SWIG_fail;
3642 }
3643 {
3644 resultobj = SWIG_From_double(static_cast<double >(result));
3645 }
3646 return resultobj;
3647 fail:
3648 return NULL;
3649 }
3650
3651
3652 static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
3653 PyObject *resultobj = NULL;
3654 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3655 double result;
3656 PyObject * obj0 = 0 ;
3657 char *kwnames[] = {
3658 (char *) "self", NULL
3659 };
3660
3661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
3662 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3663 if (SWIG_arg_fail(1)) SWIG_fail;
3664 {
3665 PyThreadState* __tstate = wxPyBeginAllowThreads();
3666 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
3667
3668 wxPyEndAllowThreads(__tstate);
3669 if (PyErr_Occurred()) SWIG_fail;
3670 }
3671 {
3672 resultobj = SWIG_From_double(static_cast<double >(result));
3673 }
3674 return resultobj;
3675 fail:
3676 return NULL;
3677 }
3678
3679
3680 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *, PyObject *args) {
3681 PyObject *resultobj = NULL;
3682 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3683 wxPoint *arg2 = 0 ;
3684 wxPoint result;
3685 wxPoint temp2 ;
3686 PyObject * obj0 = 0 ;
3687 PyObject * obj1 = 0 ;
3688
3689 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
3690 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3691 if (SWIG_arg_fail(1)) SWIG_fail;
3692 {
3693 arg2 = &temp2;
3694 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3695 }
3696 {
3697 PyThreadState* __tstate = wxPyBeginAllowThreads();
3698 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
3699
3700 wxPyEndAllowThreads(__tstate);
3701 if (PyErr_Occurred()) SWIG_fail;
3702 }
3703 {
3704 wxPoint * resultptr;
3705 resultptr = new wxPoint(static_cast<wxPoint & >(result));
3706 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3707 }
3708 return resultobj;
3709 fail:
3710 return NULL;
3711 }
3712
3713
3714 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *, PyObject *args) {
3715 PyObject *resultobj = NULL;
3716 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3717 int arg2 ;
3718 int arg3 ;
3719 int *arg4 = (int *) 0 ;
3720 int *arg5 = (int *) 0 ;
3721 int temp4 ;
3722 int res4 = 0 ;
3723 int temp5 ;
3724 int res5 = 0 ;
3725 PyObject * obj0 = 0 ;
3726 PyObject * obj1 = 0 ;
3727 PyObject * obj2 = 0 ;
3728
3729 arg4 = &temp4; res4 = SWIG_NEWOBJ;
3730 arg5 = &temp5; res5 = SWIG_NEWOBJ;
3731 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail;
3732 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3733 if (SWIG_arg_fail(1)) SWIG_fail;
3734 {
3735 arg2 = static_cast<int >(SWIG_As_int(obj1));
3736 if (SWIG_arg_fail(2)) SWIG_fail;
3737 }
3738 {
3739 arg3 = static_cast<int >(SWIG_As_int(obj2));
3740 if (SWIG_arg_fail(3)) SWIG_fail;
3741 }
3742 {
3743 PyThreadState* __tstate = wxPyBeginAllowThreads();
3744 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
3745
3746 wxPyEndAllowThreads(__tstate);
3747 if (PyErr_Occurred()) SWIG_fail;
3748 }
3749 Py_INCREF(Py_None); resultobj = Py_None;
3750 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
3751 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
3752 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
3753 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
3754 return resultobj;
3755 fail:
3756 return NULL;
3757 }
3758
3759
3760 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
3761 int argc;
3762 PyObject *argv[4];
3763 int ii;
3764
3765 argc = PyObject_Length(args);
3766 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
3767 argv[ii] = PyTuple_GetItem(args,ii);
3768 }
3769 if (argc == 2) {
3770 int _v;
3771 {
3772 void *ptr;
3773 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
3774 _v = 0;
3775 PyErr_Clear();
3776 } else {
3777 _v = 1;
3778 }
3779 }
3780 if (_v) {
3781 {
3782 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
3783 }
3784 if (_v) {
3785 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
3786 }
3787 }
3788 }
3789 if (argc == 3) {
3790 int _v;
3791 {
3792 void *ptr;
3793 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
3794 _v = 0;
3795 PyErr_Clear();
3796 } else {
3797 _v = 1;
3798 }
3799 }
3800 if (_v) {
3801 _v = SWIG_Check_int(argv[1]);
3802 if (_v) {
3803 _v = SWIG_Check_int(argv[2]);
3804 if (_v) {
3805 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
3806 }
3807 }
3808 }
3809 }
3810
3811 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
3812 return NULL;
3813 }
3814
3815
3816 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *, PyObject *args) {
3817 PyObject *resultobj = NULL;
3818 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3819 wxPoint *arg2 = 0 ;
3820 wxPoint result;
3821 wxPoint temp2 ;
3822 PyObject * obj0 = 0 ;
3823 PyObject * obj1 = 0 ;
3824
3825 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
3826 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3827 if (SWIG_arg_fail(1)) SWIG_fail;
3828 {
3829 arg2 = &temp2;
3830 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3831 }
3832 {
3833 PyThreadState* __tstate = wxPyBeginAllowThreads();
3834 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
3835
3836 wxPyEndAllowThreads(__tstate);
3837 if (PyErr_Occurred()) SWIG_fail;
3838 }
3839 {
3840 wxPoint * resultptr;
3841 resultptr = new wxPoint(static_cast<wxPoint & >(result));
3842 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3843 }
3844 return resultobj;
3845 fail:
3846 return NULL;
3847 }
3848
3849
3850 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *, PyObject *args) {
3851 PyObject *resultobj = NULL;
3852 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3853 int arg2 ;
3854 int arg3 ;
3855 int *arg4 = (int *) 0 ;
3856 int *arg5 = (int *) 0 ;
3857 int temp4 ;
3858 int res4 = 0 ;
3859 int temp5 ;
3860 int res5 = 0 ;
3861 PyObject * obj0 = 0 ;
3862 PyObject * obj1 = 0 ;
3863 PyObject * obj2 = 0 ;
3864
3865 arg4 = &temp4; res4 = SWIG_NEWOBJ;
3866 arg5 = &temp5; res5 = SWIG_NEWOBJ;
3867 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail;
3868 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3869 if (SWIG_arg_fail(1)) SWIG_fail;
3870 {
3871 arg2 = static_cast<int >(SWIG_As_int(obj1));
3872 if (SWIG_arg_fail(2)) SWIG_fail;
3873 }
3874 {
3875 arg3 = static_cast<int >(SWIG_As_int(obj2));
3876 if (SWIG_arg_fail(3)) SWIG_fail;
3877 }
3878 {
3879 PyThreadState* __tstate = wxPyBeginAllowThreads();
3880 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
3881
3882 wxPyEndAllowThreads(__tstate);
3883 if (PyErr_Occurred()) SWIG_fail;
3884 }
3885 Py_INCREF(Py_None); resultobj = Py_None;
3886 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
3887 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
3888 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
3889 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
3890 return resultobj;
3891 fail:
3892 return NULL;
3893 }
3894
3895
3896 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
3897 int argc;
3898 PyObject *argv[4];
3899 int ii;
3900
3901 argc = PyObject_Length(args);
3902 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
3903 argv[ii] = PyTuple_GetItem(args,ii);
3904 }
3905 if (argc == 2) {
3906 int _v;
3907 {
3908 void *ptr;
3909 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
3910 _v = 0;
3911 PyErr_Clear();
3912 } else {
3913 _v = 1;
3914 }
3915 }
3916 if (_v) {
3917 {
3918 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
3919 }
3920 if (_v) {
3921 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
3922 }
3923 }
3924 }
3925 if (argc == 3) {
3926 int _v;
3927 {
3928 void *ptr;
3929 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
3930 _v = 0;
3931 PyErr_Clear();
3932 } else {
3933 _v = 1;
3934 }
3935 }
3936 if (_v) {
3937 _v = SWIG_Check_int(argv[1]);
3938 if (_v) {
3939 _v = SWIG_Check_int(argv[2]);
3940 if (_v) {
3941 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
3942 }
3943 }
3944 }
3945 }
3946
3947 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
3948 return NULL;
3949 }
3950
3951
3952 static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
3953 PyObject *resultobj = NULL;
3954 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3955 PyObject * obj0 = 0 ;
3956 char *kwnames[] = {
3957 (char *) "self", NULL
3958 };
3959
3960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
3961 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3962 if (SWIG_arg_fail(1)) SWIG_fail;
3963 {
3964 PyThreadState* __tstate = wxPyBeginAllowThreads();
3965 (arg1)->AdjustScrollbars();
3966
3967 wxPyEndAllowThreads(__tstate);
3968 if (PyErr_Occurred()) SWIG_fail;
3969 }
3970 Py_INCREF(Py_None); resultobj = Py_None;
3971 return resultobj;
3972 fail:
3973 return NULL;
3974 }
3975
3976
3977 static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *, PyObject *args, PyObject *kwargs) {
3978 PyObject *resultobj = NULL;
3979 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3980 wxScrollWinEvent *arg2 = 0 ;
3981 int result;
3982 PyObject * obj0 = 0 ;
3983 PyObject * obj1 = 0 ;
3984 char *kwnames[] = {
3985 (char *) "self",(char *) "event", NULL
3986 };
3987
3988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
3989 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3990 if (SWIG_arg_fail(1)) SWIG_fail;
3991 {
3992 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxScrollWinEvent, SWIG_POINTER_EXCEPTION | 0);
3993 if (SWIG_arg_fail(2)) SWIG_fail;
3994 if (arg2 == NULL) {
3995 SWIG_null_ref("wxScrollWinEvent");
3996 }
3997 if (SWIG_arg_fail(2)) SWIG_fail;
3998 }
3999 {
4000 PyThreadState* __tstate = wxPyBeginAllowThreads();
4001 result = (int)(arg1)->CalcScrollInc(*arg2);
4002
4003 wxPyEndAllowThreads(__tstate);
4004 if (PyErr_Occurred()) SWIG_fail;
4005 }
4006 {
4007 resultobj = SWIG_From_int(static_cast<int >(result));
4008 }
4009 return resultobj;
4010 fail:
4011 return NULL;
4012 }
4013
4014
4015 static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
4016 PyObject *resultobj = NULL;
4017 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4018 wxWindow *arg2 = (wxWindow *) 0 ;
4019 PyObject * obj0 = 0 ;
4020 PyObject * obj1 = 0 ;
4021 char *kwnames[] = {
4022 (char *) "self",(char *) "target", NULL
4023 };
4024
4025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
4026 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
4027 if (SWIG_arg_fail(1)) SWIG_fail;
4028 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4029 if (SWIG_arg_fail(2)) SWIG_fail;
4030 {
4031 PyThreadState* __tstate = wxPyBeginAllowThreads();
4032 (arg1)->SetTargetWindow(arg2);
4033
4034 wxPyEndAllowThreads(__tstate);
4035 if (PyErr_Occurred()) SWIG_fail;
4036 }
4037 Py_INCREF(Py_None); resultobj = Py_None;
4038 return resultobj;
4039 fail:
4040 return NULL;
4041 }
4042
4043
4044 static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
4045 PyObject *resultobj = NULL;
4046 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4047 wxWindow *result;
4048 PyObject * obj0 = 0 ;
4049 char *kwnames[] = {
4050 (char *) "self", NULL
4051 };
4052
4053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
4054 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
4055 if (SWIG_arg_fail(1)) SWIG_fail;
4056 {
4057 PyThreadState* __tstate = wxPyBeginAllowThreads();
4058 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
4059
4060 wxPyEndAllowThreads(__tstate);
4061 if (PyErr_Occurred()) SWIG_fail;
4062 }
4063 {
4064 resultobj = wxPyMake_wxObject(result, 0);
4065 }
4066 return resultobj;
4067 fail:
4068 return NULL;
4069 }
4070
4071
4072 static PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *, PyObject *args, PyObject *kwargs) {
4073 PyObject *resultobj = NULL;
4074 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4075 wxRect *arg2 = 0 ;
4076 wxRect temp2 ;
4077 PyObject * obj0 = 0 ;
4078 PyObject * obj1 = 0 ;
4079 char *kwnames[] = {
4080 (char *) "self",(char *) "rect", NULL
4081 };
4082
4083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) goto fail;
4084 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
4085 if (SWIG_arg_fail(1)) SWIG_fail;
4086 {
4087 arg2 = &temp2;
4088 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4089 }
4090 {
4091 PyThreadState* __tstate = wxPyBeginAllowThreads();
4092 (arg1)->SetTargetRect((wxRect const &)*arg2);
4093
4094 wxPyEndAllowThreads(__tstate);
4095 if (PyErr_Occurred()) SWIG_fail;
4096 }
4097 Py_INCREF(Py_None); resultobj = Py_None;
4098 return resultobj;
4099 fail:
4100 return NULL;
4101 }
4102
4103
4104 static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *, PyObject *args, PyObject *kwargs) {
4105 PyObject *resultobj = NULL;
4106 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4107 wxRect result;
4108 PyObject * obj0 = 0 ;
4109 char *kwnames[] = {
4110 (char *) "self", NULL
4111 };
4112
4113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetRect",kwnames,&obj0)) goto fail;
4114 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
4115 if (SWIG_arg_fail(1)) SWIG_fail;
4116 {
4117 PyThreadState* __tstate = wxPyBeginAllowThreads();
4118 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
4119
4120 wxPyEndAllowThreads(__tstate);
4121 if (PyErr_Occurred()) SWIG_fail;
4122 }
4123 {
4124 wxRect * resultptr;
4125 resultptr = new wxRect(static_cast<wxRect & >(result));
4126 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
4127 }
4128 return resultobj;
4129 fail:
4130 return NULL;
4131 }
4132
4133
4134 static PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *, PyObject *args, PyObject *kwargs) {
4135 PyObject *resultobj = NULL;
4136 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4137 wxDC *arg2 = 0 ;
4138 PyObject * obj0 = 0 ;
4139 PyObject * obj1 = 0 ;
4140 char *kwnames[] = {
4141 (char *) "self",(char *) "dc", NULL
4142 };
4143
4144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) goto fail;
4145 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
4146 if (SWIG_arg_fail(1)) SWIG_fail;
4147 {
4148 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
4149 if (SWIG_arg_fail(2)) SWIG_fail;
4150 if (arg2 == NULL) {
4151 SWIG_null_ref("wxDC");
4152 }
4153 if (SWIG_arg_fail(2)) SWIG_fail;
4154 }
4155 {
4156 PyThreadState* __tstate = wxPyBeginAllowThreads();
4157 (arg1)->DoPrepareDC(*arg2);
4158
4159 wxPyEndAllowThreads(__tstate);
4160 if (PyErr_Occurred()) SWIG_fail;
4161 }
4162 Py_INCREF(Py_None); resultobj = Py_None;
4163 return resultobj;
4164 fail:
4165 return NULL;
4166 }
4167
4168
4169 static PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
4170 PyObject *resultobj = NULL;
4171 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
4172 wxVisualAttributes result;
4173 PyObject * obj0 = 0 ;
4174 char *kwnames[] = {
4175 (char *) "variant", NULL
4176 };
4177
4178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4179 if (obj0) {
4180 {
4181 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
4182 if (SWIG_arg_fail(1)) SWIG_fail;
4183 }
4184 }
4185 {
4186 if (!wxPyCheckForApp()) SWIG_fail;
4187 PyThreadState* __tstate = wxPyBeginAllowThreads();
4188 result = wxScrolledWindow::GetClassDefaultAttributes(arg1);
4189
4190 wxPyEndAllowThreads(__tstate);
4191 if (PyErr_Occurred()) SWIG_fail;
4192 }
4193 {
4194 wxVisualAttributes * resultptr;
4195 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
4196 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4197 }
4198 return resultobj;
4199 fail:
4200 return NULL;
4201 }
4202
4203
4204 static PyObject * ScrolledWindow_swigregister(PyObject *, PyObject *args) {
4205 PyObject *obj;
4206 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4207 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
4208 Py_INCREF(obj);
4209 return Py_BuildValue((char *)"");
4210 }
4211 static int _wrap_FrameNameStr_set(PyObject *) {
4212 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
4213 return 1;
4214 }
4215
4216
4217 static PyObject *_wrap_FrameNameStr_get(void) {
4218 PyObject *pyobj = NULL;
4219
4220 {
4221 #if wxUSE_UNICODE
4222 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
4223 #else
4224 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
4225 #endif
4226 }
4227 return pyobj;
4228 }
4229
4230
4231 static int _wrap_DialogNameStr_set(PyObject *) {
4232 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
4233 return 1;
4234 }
4235
4236
4237 static PyObject *_wrap_DialogNameStr_get(void) {
4238 PyObject *pyobj = NULL;
4239
4240 {
4241 #if wxUSE_UNICODE
4242 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
4243 #else
4244 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
4245 #endif
4246 }
4247 return pyobj;
4248 }
4249
4250
4251 static int _wrap_StatusLineNameStr_set(PyObject *) {
4252 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
4253 return 1;
4254 }
4255
4256
4257 static PyObject *_wrap_StatusLineNameStr_get(void) {
4258 PyObject *pyobj = NULL;
4259
4260 {
4261 #if wxUSE_UNICODE
4262 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
4263 #else
4264 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
4265 #endif
4266 }
4267 return pyobj;
4268 }
4269
4270
4271 static int _wrap_ToolBarNameStr_set(PyObject *) {
4272 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
4273 return 1;
4274 }
4275
4276
4277 static PyObject *_wrap_ToolBarNameStr_get(void) {
4278 PyObject *pyobj = NULL;
4279
4280 {
4281 #if wxUSE_UNICODE
4282 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
4283 #else
4284 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
4285 #endif
4286 }
4287 return pyobj;
4288 }
4289
4290
4291 static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
4292 PyObject *resultobj = NULL;
4293 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4294 bool arg2 = (bool) true ;
4295 PyObject * obj0 = 0 ;
4296 PyObject * obj1 = 0 ;
4297 char *kwnames[] = {
4298 (char *) "self",(char *) "maximize", NULL
4299 };
4300
4301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
4302 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4303 if (SWIG_arg_fail(1)) SWIG_fail;
4304 if (obj1) {
4305 {
4306 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
4307 if (SWIG_arg_fail(2)) SWIG_fail;
4308 }
4309 }
4310 {
4311 PyThreadState* __tstate = wxPyBeginAllowThreads();
4312 (arg1)->Maximize(arg2);
4313
4314 wxPyEndAllowThreads(__tstate);
4315 if (PyErr_Occurred()) SWIG_fail;
4316 }
4317 Py_INCREF(Py_None); resultobj = Py_None;
4318 return resultobj;
4319 fail:
4320 return NULL;
4321 }
4322
4323
4324 static PyObject *_wrap_TopLevelWindow_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
4325 PyObject *resultobj = NULL;
4326 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4327 PyObject * obj0 = 0 ;
4328 char *kwnames[] = {
4329 (char *) "self", NULL
4330 };
4331
4332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
4333 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4334 if (SWIG_arg_fail(1)) SWIG_fail;
4335 {
4336 PyThreadState* __tstate = wxPyBeginAllowThreads();
4337 (arg1)->Restore();
4338
4339 wxPyEndAllowThreads(__tstate);
4340 if (PyErr_Occurred()) SWIG_fail;
4341 }
4342 Py_INCREF(Py_None); resultobj = Py_None;
4343 return resultobj;
4344 fail:
4345 return NULL;
4346 }
4347
4348
4349 static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *, PyObject *args, PyObject *kwargs) {
4350 PyObject *resultobj = NULL;
4351 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4352 bool arg2 = (bool) true ;
4353 PyObject * obj0 = 0 ;
4354 PyObject * obj1 = 0 ;
4355 char *kwnames[] = {
4356 (char *) "self",(char *) "iconize", NULL
4357 };
4358
4359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
4360 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4361 if (SWIG_arg_fail(1)) SWIG_fail;
4362 if (obj1) {
4363 {
4364 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
4365 if (SWIG_arg_fail(2)) SWIG_fail;
4366 }
4367 }
4368 {
4369 PyThreadState* __tstate = wxPyBeginAllowThreads();
4370 (arg1)->Iconize(arg2);
4371
4372 wxPyEndAllowThreads(__tstate);
4373 if (PyErr_Occurred()) SWIG_fail;
4374 }
4375 Py_INCREF(Py_None); resultobj = Py_None;
4376 return resultobj;
4377 fail:
4378 return NULL;
4379 }
4380
4381
4382 static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *, PyObject *args, PyObject *kwargs) {
4383 PyObject *resultobj = NULL;
4384 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4385 bool result;
4386 PyObject * obj0 = 0 ;
4387 char *kwnames[] = {
4388 (char *) "self", NULL
4389 };
4390
4391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
4392 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4393 if (SWIG_arg_fail(1)) SWIG_fail;
4394 {
4395 PyThreadState* __tstate = wxPyBeginAllowThreads();
4396 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
4397
4398 wxPyEndAllowThreads(__tstate);
4399 if (PyErr_Occurred()) SWIG_fail;
4400 }
4401 {
4402 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4403 }
4404 return resultobj;
4405 fail:
4406 return NULL;
4407 }
4408
4409
4410 static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *, PyObject *args, PyObject *kwargs) {
4411 PyObject *resultobj = NULL;
4412 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4413 bool result;
4414 PyObject * obj0 = 0 ;
4415 char *kwnames[] = {
4416 (char *) "self", NULL
4417 };
4418
4419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
4420 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4421 if (SWIG_arg_fail(1)) SWIG_fail;
4422 {
4423 PyThreadState* __tstate = wxPyBeginAllowThreads();
4424 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
4425
4426 wxPyEndAllowThreads(__tstate);
4427 if (PyErr_Occurred()) SWIG_fail;
4428 }
4429 {
4430 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4431 }
4432 return resultobj;
4433 fail:
4434 return NULL;
4435 }
4436
4437
4438 static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
4439 PyObject *resultobj = NULL;
4440 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4441 wxIcon result;
4442 PyObject * obj0 = 0 ;
4443 char *kwnames[] = {
4444 (char *) "self", NULL
4445 };
4446
4447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
4448 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4449 if (SWIG_arg_fail(1)) SWIG_fail;
4450 {
4451 PyThreadState* __tstate = wxPyBeginAllowThreads();
4452 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
4453
4454 wxPyEndAllowThreads(__tstate);
4455 if (PyErr_Occurred()) SWIG_fail;
4456 }
4457 {
4458 wxIcon * resultptr;
4459 resultptr = new wxIcon(static_cast<wxIcon & >(result));
4460 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
4461 }
4462 return resultobj;
4463 fail:
4464 return NULL;
4465 }
4466
4467
4468 static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
4469 PyObject *resultobj = NULL;
4470 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4471 wxIcon *arg2 = 0 ;
4472 PyObject * obj0 = 0 ;
4473 PyObject * obj1 = 0 ;
4474 char *kwnames[] = {
4475 (char *) "self",(char *) "icon", NULL
4476 };
4477
4478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
4479 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4480 if (SWIG_arg_fail(1)) SWIG_fail;
4481 {
4482 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
4483 if (SWIG_arg_fail(2)) SWIG_fail;
4484 if (arg2 == NULL) {
4485 SWIG_null_ref("wxIcon");
4486 }
4487 if (SWIG_arg_fail(2)) SWIG_fail;
4488 }
4489 {
4490 PyThreadState* __tstate = wxPyBeginAllowThreads();
4491 (arg1)->SetIcon((wxIcon const &)*arg2);
4492
4493 wxPyEndAllowThreads(__tstate);
4494 if (PyErr_Occurred()) SWIG_fail;
4495 }
4496 Py_INCREF(Py_None); resultobj = Py_None;
4497 return resultobj;
4498 fail:
4499 return NULL;
4500 }
4501
4502
4503 static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *, PyObject *args, PyObject *kwargs) {
4504 PyObject *resultobj = NULL;
4505 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4506 wxIconBundle *arg2 = 0 ;
4507 PyObject * obj0 = 0 ;
4508 PyObject * obj1 = 0 ;
4509 char *kwnames[] = {
4510 (char *) "self",(char *) "icons", NULL
4511 };
4512
4513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
4514 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4515 if (SWIG_arg_fail(1)) SWIG_fail;
4516 {
4517 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIconBundle, SWIG_POINTER_EXCEPTION | 0);
4518 if (SWIG_arg_fail(2)) SWIG_fail;
4519 if (arg2 == NULL) {
4520 SWIG_null_ref("wxIconBundle");
4521 }
4522 if (SWIG_arg_fail(2)) SWIG_fail;
4523 }
4524 {
4525 PyThreadState* __tstate = wxPyBeginAllowThreads();
4526 (arg1)->SetIcons((wxIconBundle const &)*arg2);
4527
4528 wxPyEndAllowThreads(__tstate);
4529 if (PyErr_Occurred()) SWIG_fail;
4530 }
4531 Py_INCREF(Py_None); resultobj = Py_None;
4532 return resultobj;
4533 fail:
4534 return NULL;
4535 }
4536
4537
4538 static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
4539 PyObject *resultobj = NULL;
4540 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4541 bool arg2 ;
4542 long arg3 = (long) wxFULLSCREEN_ALL ;
4543 bool result;
4544 PyObject * obj0 = 0 ;
4545 PyObject * obj1 = 0 ;
4546 PyObject * obj2 = 0 ;
4547 char *kwnames[] = {
4548 (char *) "self",(char *) "show",(char *) "style", NULL
4549 };
4550
4551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
4552 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4553 if (SWIG_arg_fail(1)) SWIG_fail;
4554 {
4555 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
4556 if (SWIG_arg_fail(2)) SWIG_fail;
4557 }
4558 if (obj2) {
4559 {
4560 arg3 = static_cast<long >(SWIG_As_long(obj2));
4561 if (SWIG_arg_fail(3)) SWIG_fail;
4562 }
4563 }
4564 {
4565 PyThreadState* __tstate = wxPyBeginAllowThreads();
4566 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
4567
4568 wxPyEndAllowThreads(__tstate);
4569 if (PyErr_Occurred()) SWIG_fail;
4570 }
4571 {
4572 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4573 }
4574 return resultobj;
4575 fail:
4576 return NULL;
4577 }
4578
4579
4580 static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
4581 PyObject *resultobj = NULL;
4582 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4583 bool result;
4584 PyObject * obj0 = 0 ;
4585 char *kwnames[] = {
4586 (char *) "self", NULL
4587 };
4588
4589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
4590 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4591 if (SWIG_arg_fail(1)) SWIG_fail;
4592 {
4593 PyThreadState* __tstate = wxPyBeginAllowThreads();
4594 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
4595
4596 wxPyEndAllowThreads(__tstate);
4597 if (PyErr_Occurred()) SWIG_fail;
4598 }
4599 {
4600 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4601 }
4602 return resultobj;
4603 fail:
4604 return NULL;
4605 }
4606
4607
4608 static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
4609 PyObject *resultobj = NULL;
4610 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4611 wxString *arg2 = 0 ;
4612 bool temp2 = false ;
4613 PyObject * obj0 = 0 ;
4614 PyObject * obj1 = 0 ;
4615 char *kwnames[] = {
4616 (char *) "self",(char *) "title", NULL
4617 };
4618
4619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
4620 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4621 if (SWIG_arg_fail(1)) SWIG_fail;
4622 {
4623 arg2 = wxString_in_helper(obj1);
4624 if (arg2 == NULL) SWIG_fail;
4625 temp2 = true;
4626 }
4627 {
4628 PyThreadState* __tstate = wxPyBeginAllowThreads();
4629 (arg1)->SetTitle((wxString const &)*arg2);
4630
4631 wxPyEndAllowThreads(__tstate);
4632 if (PyErr_Occurred()) SWIG_fail;
4633 }
4634 Py_INCREF(Py_None); resultobj = Py_None;
4635 {
4636 if (temp2)
4637 delete arg2;
4638 }
4639 return resultobj;
4640 fail:
4641 {
4642 if (temp2)
4643 delete arg2;
4644 }
4645 return NULL;
4646 }
4647
4648
4649 static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
4650 PyObject *resultobj = NULL;
4651 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4652 wxString result;
4653 PyObject * obj0 = 0 ;
4654 char *kwnames[] = {
4655 (char *) "self", NULL
4656 };
4657
4658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
4659 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4660 if (SWIG_arg_fail(1)) SWIG_fail;
4661 {
4662 PyThreadState* __tstate = wxPyBeginAllowThreads();
4663 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
4664
4665 wxPyEndAllowThreads(__tstate);
4666 if (PyErr_Occurred()) SWIG_fail;
4667 }
4668 {
4669 #if wxUSE_UNICODE
4670 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4671 #else
4672 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4673 #endif
4674 }
4675 return resultobj;
4676 fail:
4677 return NULL;
4678 }
4679
4680
4681 static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *, PyObject *args, PyObject *kwargs) {
4682 PyObject *resultobj = NULL;
4683 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4684 wxRegion *arg2 = 0 ;
4685 bool result;
4686 PyObject * obj0 = 0 ;
4687 PyObject * obj1 = 0 ;
4688 char *kwnames[] = {
4689 (char *) "self",(char *) "region", NULL
4690 };
4691
4692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
4693 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4694 if (SWIG_arg_fail(1)) SWIG_fail;
4695 {
4696 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
4697 if (SWIG_arg_fail(2)) SWIG_fail;
4698 if (arg2 == NULL) {
4699 SWIG_null_ref("wxRegion");
4700 }
4701 if (SWIG_arg_fail(2)) SWIG_fail;
4702 }
4703 {
4704 PyThreadState* __tstate = wxPyBeginAllowThreads();
4705 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
4706
4707 wxPyEndAllowThreads(__tstate);
4708 if (PyErr_Occurred()) SWIG_fail;
4709 }
4710 {
4711 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4712 }
4713 return resultobj;
4714 fail:
4715 return NULL;
4716 }
4717
4718
4719 static PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *, PyObject *args, PyObject *kwargs) {
4720 PyObject *resultobj = NULL;
4721 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4722 int arg2 = (int) wxUSER_ATTENTION_INFO ;
4723 PyObject * obj0 = 0 ;
4724 PyObject * obj1 = 0 ;
4725 char *kwnames[] = {
4726 (char *) "self",(char *) "flags", NULL
4727 };
4728
4729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) goto fail;
4730 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4731 if (SWIG_arg_fail(1)) SWIG_fail;
4732 if (obj1) {
4733 {
4734 arg2 = static_cast<int >(SWIG_As_int(obj1));
4735 if (SWIG_arg_fail(2)) SWIG_fail;
4736 }
4737 }
4738 {
4739 PyThreadState* __tstate = wxPyBeginAllowThreads();
4740 (arg1)->RequestUserAttention(arg2);
4741
4742 wxPyEndAllowThreads(__tstate);
4743 if (PyErr_Occurred()) SWIG_fail;
4744 }
4745 Py_INCREF(Py_None); resultobj = Py_None;
4746 return resultobj;
4747 fail:
4748 return NULL;
4749 }
4750
4751
4752 static PyObject *_wrap_TopLevelWindow_IsActive(PyObject *, PyObject *args, PyObject *kwargs) {
4753 PyObject *resultobj = NULL;
4754 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4755 bool result;
4756 PyObject * obj0 = 0 ;
4757 char *kwnames[] = {
4758 (char *) "self", NULL
4759 };
4760
4761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsActive",kwnames,&obj0)) goto fail;
4762 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4763 if (SWIG_arg_fail(1)) SWIG_fail;
4764 {
4765 PyThreadState* __tstate = wxPyBeginAllowThreads();
4766 result = (bool)(arg1)->IsActive();
4767
4768 wxPyEndAllowThreads(__tstate);
4769 if (PyErr_Occurred()) SWIG_fail;
4770 }
4771 {
4772 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4773 }
4774 return resultobj;
4775 fail:
4776 return NULL;
4777 }
4778
4779
4780 static PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) {
4781 PyObject *resultobj = NULL;
4782 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4783 bool arg2 ;
4784 PyObject * obj0 = 0 ;
4785 PyObject * obj1 = 0 ;
4786 char *kwnames[] = {
4787 (char *) "self",(char *) "on", NULL
4788 };
4789
4790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) goto fail;
4791 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4792 if (SWIG_arg_fail(1)) SWIG_fail;
4793 {
4794 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
4795 if (SWIG_arg_fail(2)) SWIG_fail;
4796 }
4797 {
4798 PyThreadState* __tstate = wxPyBeginAllowThreads();
4799 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
4800
4801 wxPyEndAllowThreads(__tstate);
4802 if (PyErr_Occurred()) SWIG_fail;
4803 }
4804 Py_INCREF(Py_None); resultobj = Py_None;
4805 return resultobj;
4806 fail:
4807 return NULL;
4808 }
4809
4810
4811 static PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) {
4812 PyObject *resultobj = NULL;
4813 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4814 bool result;
4815 PyObject * obj0 = 0 ;
4816 char *kwnames[] = {
4817 (char *) "self", NULL
4818 };
4819
4820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames,&obj0)) goto fail;
4821 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4822 if (SWIG_arg_fail(1)) SWIG_fail;
4823 {
4824 PyThreadState* __tstate = wxPyBeginAllowThreads();
4825 result = (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow const *)arg1);
4826
4827 wxPyEndAllowThreads(__tstate);
4828 if (PyErr_Occurred()) SWIG_fail;
4829 }
4830 {
4831 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4832 }
4833 return resultobj;
4834 fail:
4835 return NULL;
4836 }
4837
4838
4839 static PyObject * TopLevelWindow_swigregister(PyObject *, PyObject *args) {
4840 PyObject *obj;
4841 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4842 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
4843 Py_INCREF(obj);
4844 return Py_BuildValue((char *)"");
4845 }
4846 static PyObject *_wrap_new_Frame(PyObject *, PyObject *args, PyObject *kwargs) {
4847 PyObject *resultobj = NULL;
4848 wxWindow *arg1 = (wxWindow *) 0 ;
4849 int arg2 = (int) (int)-1 ;
4850 wxString const &arg3_defvalue = wxPyEmptyString ;
4851 wxString *arg3 = (wxString *) &arg3_defvalue ;
4852 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4853 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4854 wxSize const &arg5_defvalue = wxDefaultSize ;
4855 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4856 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4857 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4858 wxString *arg7 = (wxString *) &arg7_defvalue ;
4859 wxFrame *result;
4860 bool temp3 = false ;
4861 wxPoint temp4 ;
4862 wxSize temp5 ;
4863 bool temp7 = false ;
4864 PyObject * obj0 = 0 ;
4865 PyObject * obj1 = 0 ;
4866 PyObject * obj2 = 0 ;
4867 PyObject * obj3 = 0 ;
4868 PyObject * obj4 = 0 ;
4869 PyObject * obj5 = 0 ;
4870 PyObject * obj6 = 0 ;
4871 char *kwnames[] = {
4872 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4873 };
4874
4875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4876 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4877 if (SWIG_arg_fail(1)) SWIG_fail;
4878 if (obj1) {
4879 {
4880 arg2 = static_cast<int const >(SWIG_As_int(obj1));
4881 if (SWIG_arg_fail(2)) SWIG_fail;
4882 }
4883 }
4884 if (obj2) {
4885 {
4886 arg3 = wxString_in_helper(obj2);
4887 if (arg3 == NULL) SWIG_fail;
4888 temp3 = true;
4889 }
4890 }
4891 if (obj3) {
4892 {
4893 arg4 = &temp4;
4894 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4895 }
4896 }
4897 if (obj4) {
4898 {
4899 arg5 = &temp5;
4900 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4901 }
4902 }
4903 if (obj5) {
4904 {
4905 arg6 = static_cast<long >(SWIG_As_long(obj5));
4906 if (SWIG_arg_fail(6)) SWIG_fail;
4907 }
4908 }
4909 if (obj6) {
4910 {
4911 arg7 = wxString_in_helper(obj6);
4912 if (arg7 == NULL) SWIG_fail;
4913 temp7 = true;
4914 }
4915 }
4916 {
4917 if (!wxPyCheckForApp()) SWIG_fail;
4918 PyThreadState* __tstate = wxPyBeginAllowThreads();
4919 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4920
4921 wxPyEndAllowThreads(__tstate);
4922 if (PyErr_Occurred()) SWIG_fail;
4923 }
4924 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
4925 {
4926 if (temp3)
4927 delete arg3;
4928 }
4929 {
4930 if (temp7)
4931 delete arg7;
4932 }
4933 return resultobj;
4934 fail:
4935 {
4936 if (temp3)
4937 delete arg3;
4938 }
4939 {
4940 if (temp7)
4941 delete arg7;
4942 }
4943 return NULL;
4944 }
4945
4946
4947 static PyObject *_wrap_new_PreFrame(PyObject *, PyObject *args, PyObject *kwargs) {
4948 PyObject *resultobj = NULL;
4949 wxFrame *result;
4950 char *kwnames[] = {
4951 NULL
4952 };
4953
4954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
4955 {
4956 if (!wxPyCheckForApp()) SWIG_fail;
4957 PyThreadState* __tstate = wxPyBeginAllowThreads();
4958 result = (wxFrame *)new wxFrame();
4959
4960 wxPyEndAllowThreads(__tstate);
4961 if (PyErr_Occurred()) SWIG_fail;
4962 }
4963 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
4964 return resultobj;
4965 fail:
4966 return NULL;
4967 }
4968
4969
4970 static PyObject *_wrap_Frame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4971 PyObject *resultobj = NULL;
4972 wxFrame *arg1 = (wxFrame *) 0 ;
4973 wxWindow *arg2 = (wxWindow *) 0 ;
4974 int arg3 = (int) (int)-1 ;
4975 wxString const &arg4_defvalue = wxPyEmptyString ;
4976 wxString *arg4 = (wxString *) &arg4_defvalue ;
4977 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4978 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4979 wxSize const &arg6_defvalue = wxDefaultSize ;
4980 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4981 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4982 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4983 wxString *arg8 = (wxString *) &arg8_defvalue ;
4984 bool result;
4985 bool temp4 = false ;
4986 wxPoint temp5 ;
4987 wxSize temp6 ;
4988 bool temp8 = false ;
4989 PyObject * obj0 = 0 ;
4990 PyObject * obj1 = 0 ;
4991 PyObject * obj2 = 0 ;
4992 PyObject * obj3 = 0 ;
4993 PyObject * obj4 = 0 ;
4994 PyObject * obj5 = 0 ;
4995 PyObject * obj6 = 0 ;
4996 PyObject * obj7 = 0 ;
4997 char *kwnames[] = {
4998 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4999 };
5000
5001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5002 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5003 if (SWIG_arg_fail(1)) SWIG_fail;
5004 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5005 if (SWIG_arg_fail(2)) SWIG_fail;
5006 if (obj2) {
5007 {
5008 arg3 = static_cast<int const >(SWIG_As_int(obj2));
5009 if (SWIG_arg_fail(3)) SWIG_fail;
5010 }
5011 }
5012 if (obj3) {
5013 {
5014 arg4 = wxString_in_helper(obj3);
5015 if (arg4 == NULL) SWIG_fail;
5016 temp4 = true;
5017 }
5018 }
5019 if (obj4) {
5020 {
5021 arg5 = &temp5;
5022 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5023 }
5024 }
5025 if (obj5) {
5026 {
5027 arg6 = &temp6;
5028 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5029 }
5030 }
5031 if (obj6) {
5032 {
5033 arg7 = static_cast<long >(SWIG_As_long(obj6));
5034 if (SWIG_arg_fail(7)) SWIG_fail;
5035 }
5036 }
5037 if (obj7) {
5038 {
5039 arg8 = wxString_in_helper(obj7);
5040 if (arg8 == NULL) SWIG_fail;
5041 temp8 = true;
5042 }
5043 }
5044 {
5045 PyThreadState* __tstate = wxPyBeginAllowThreads();
5046 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
5047
5048 wxPyEndAllowThreads(__tstate);
5049 if (PyErr_Occurred()) SWIG_fail;
5050 }
5051 {
5052 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5053 }
5054 {
5055 if (temp4)
5056 delete arg4;
5057 }
5058 {
5059 if (temp8)
5060 delete arg8;
5061 }
5062 return resultobj;
5063 fail:
5064 {
5065 if (temp4)
5066 delete arg4;
5067 }
5068 {
5069 if (temp8)
5070 delete arg8;
5071 }
5072 return NULL;
5073 }
5074
5075
5076 static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *, PyObject *args, PyObject *kwargs) {
5077 PyObject *resultobj = NULL;
5078 wxFrame *arg1 = (wxFrame *) 0 ;
5079 wxPoint result;
5080 PyObject * obj0 = 0 ;
5081 char *kwnames[] = {
5082 (char *) "self", NULL
5083 };
5084
5085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
5086 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5087 if (SWIG_arg_fail(1)) SWIG_fail;
5088 {
5089 PyThreadState* __tstate = wxPyBeginAllowThreads();
5090 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
5091
5092 wxPyEndAllowThreads(__tstate);
5093 if (PyErr_Occurred()) SWIG_fail;
5094 }
5095 {
5096 wxPoint * resultptr;
5097 resultptr = new wxPoint(static_cast<wxPoint & >(result));
5098 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
5099 }
5100 return resultobj;
5101 fail:
5102 return NULL;
5103 }
5104
5105
5106 static PyObject *_wrap_Frame_SendSizeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
5107 PyObject *resultobj = NULL;
5108 wxFrame *arg1 = (wxFrame *) 0 ;
5109 PyObject * obj0 = 0 ;
5110 char *kwnames[] = {
5111 (char *) "self", NULL
5112 };
5113
5114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
5115 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5116 if (SWIG_arg_fail(1)) SWIG_fail;
5117 {
5118 PyThreadState* __tstate = wxPyBeginAllowThreads();
5119 (arg1)->SendSizeEvent();
5120
5121 wxPyEndAllowThreads(__tstate);
5122 if (PyErr_Occurred()) SWIG_fail;
5123 }
5124 Py_INCREF(Py_None); resultobj = Py_None;
5125 return resultobj;
5126 fail:
5127 return NULL;
5128 }
5129
5130
5131 static PyObject *_wrap_Frame_SetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
5132 PyObject *resultobj = NULL;
5133 wxFrame *arg1 = (wxFrame *) 0 ;
5134 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
5135 PyObject * obj0 = 0 ;
5136 PyObject * obj1 = 0 ;
5137 char *kwnames[] = {
5138 (char *) "self",(char *) "menubar", NULL
5139 };
5140
5141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
5142 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5143 if (SWIG_arg_fail(1)) SWIG_fail;
5144 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
5145 if (SWIG_arg_fail(2)) SWIG_fail;
5146 {
5147 PyThreadState* __tstate = wxPyBeginAllowThreads();
5148 (arg1)->SetMenuBar(arg2);
5149
5150 wxPyEndAllowThreads(__tstate);
5151 if (PyErr_Occurred()) SWIG_fail;
5152 }
5153 Py_INCREF(Py_None); resultobj = Py_None;
5154 return resultobj;
5155 fail:
5156 return NULL;
5157 }
5158
5159
5160 static PyObject *_wrap_Frame_GetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
5161 PyObject *resultobj = NULL;
5162 wxFrame *arg1 = (wxFrame *) 0 ;
5163 wxMenuBar *result;
5164 PyObject * obj0 = 0 ;
5165 char *kwnames[] = {
5166 (char *) "self", NULL
5167 };
5168
5169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
5170 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5171 if (SWIG_arg_fail(1)) SWIG_fail;
5172 {
5173 PyThreadState* __tstate = wxPyBeginAllowThreads();
5174 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
5175
5176 wxPyEndAllowThreads(__tstate);
5177 if (PyErr_Occurred()) SWIG_fail;
5178 }
5179 {
5180 resultobj = wxPyMake_wxObject(result, 0);
5181 }
5182 return resultobj;
5183 fail:
5184 return NULL;
5185 }
5186
5187
5188 static PyObject *_wrap_Frame_ProcessCommand(PyObject *, PyObject *args, PyObject *kwargs) {
5189 PyObject *resultobj = NULL;
5190 wxFrame *arg1 = (wxFrame *) 0 ;
5191 int arg2 ;
5192 bool result;
5193 PyObject * obj0 = 0 ;
5194 PyObject * obj1 = 0 ;
5195 char *kwnames[] = {
5196 (char *) "self",(char *) "winid", NULL
5197 };
5198
5199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail;
5200 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5201 if (SWIG_arg_fail(1)) SWIG_fail;
5202 {
5203 arg2 = static_cast<int >(SWIG_As_int(obj1));
5204 if (SWIG_arg_fail(2)) SWIG_fail;
5205 }
5206 {
5207 PyThreadState* __tstate = wxPyBeginAllowThreads();
5208 result = (bool)(arg1)->ProcessCommand(arg2);
5209
5210 wxPyEndAllowThreads(__tstate);
5211 if (PyErr_Occurred()) SWIG_fail;
5212 }
5213 {
5214 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5215 }
5216 return resultobj;
5217 fail:
5218 return NULL;
5219 }
5220
5221
5222 static PyObject *_wrap_Frame_CreateStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
5223 PyObject *resultobj = NULL;
5224 wxFrame *arg1 = (wxFrame *) 0 ;
5225 int arg2 = (int) 1 ;
5226 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
5227 int arg4 = (int) 0 ;
5228 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
5229 wxString *arg5 = (wxString *) &arg5_defvalue ;
5230 wxStatusBar *result;
5231 bool temp5 = false ;
5232 PyObject * obj0 = 0 ;
5233 PyObject * obj1 = 0 ;
5234 PyObject * obj2 = 0 ;
5235 PyObject * obj3 = 0 ;
5236 PyObject * obj4 = 0 ;
5237 char *kwnames[] = {
5238 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
5239 };
5240
5241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
5242 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5243 if (SWIG_arg_fail(1)) SWIG_fail;
5244 if (obj1) {
5245 {
5246 arg2 = static_cast<int >(SWIG_As_int(obj1));
5247 if (SWIG_arg_fail(2)) SWIG_fail;
5248 }
5249 }
5250 if (obj2) {
5251 {
5252 arg3 = static_cast<long >(SWIG_As_long(obj2));
5253 if (SWIG_arg_fail(3)) SWIG_fail;
5254 }
5255 }
5256 if (obj3) {
5257 {
5258 arg4 = static_cast<int >(SWIG_As_int(obj3));
5259 if (SWIG_arg_fail(4)) SWIG_fail;
5260 }
5261 }
5262 if (obj4) {
5263 {
5264 arg5 = wxString_in_helper(obj4);
5265 if (arg5 == NULL) SWIG_fail;
5266 temp5 = true;
5267 }
5268 }
5269 {
5270 PyThreadState* __tstate = wxPyBeginAllowThreads();
5271 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
5272
5273 wxPyEndAllowThreads(__tstate);
5274 if (PyErr_Occurred()) SWIG_fail;
5275 }
5276 {
5277 resultobj = wxPyMake_wxObject(result, (bool)0);
5278 }
5279 {
5280 if (temp5)
5281 delete arg5;
5282 }
5283 return resultobj;
5284 fail:
5285 {
5286 if (temp5)
5287 delete arg5;
5288 }
5289 return NULL;
5290 }
5291
5292
5293 static PyObject *_wrap_Frame_GetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
5294 PyObject *resultobj = NULL;
5295 wxFrame *arg1 = (wxFrame *) 0 ;
5296 wxStatusBar *result;
5297 PyObject * obj0 = 0 ;
5298 char *kwnames[] = {
5299 (char *) "self", NULL
5300 };
5301
5302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
5303 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5304 if (SWIG_arg_fail(1)) SWIG_fail;
5305 {
5306 PyThreadState* __tstate = wxPyBeginAllowThreads();
5307 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
5308
5309 wxPyEndAllowThreads(__tstate);
5310 if (PyErr_Occurred()) SWIG_fail;
5311 }
5312 {
5313 resultobj = wxPyMake_wxObject(result, (bool)0);
5314 }
5315 return resultobj;
5316 fail:
5317 return NULL;
5318 }
5319
5320
5321 static PyObject *_wrap_Frame_SetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
5322 PyObject *resultobj = NULL;
5323 wxFrame *arg1 = (wxFrame *) 0 ;
5324 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
5325 PyObject * obj0 = 0 ;
5326 PyObject * obj1 = 0 ;
5327 char *kwnames[] = {
5328 (char *) "self",(char *) "statBar", NULL
5329 };
5330
5331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
5332 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5333 if (SWIG_arg_fail(1)) SWIG_fail;
5334 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
5335 if (SWIG_arg_fail(2)) SWIG_fail;
5336 {
5337 PyThreadState* __tstate = wxPyBeginAllowThreads();
5338 (arg1)->SetStatusBar(arg2);
5339
5340 wxPyEndAllowThreads(__tstate);
5341 if (PyErr_Occurred()) SWIG_fail;
5342 }
5343 Py_INCREF(Py_None); resultobj = Py_None;
5344 return resultobj;
5345 fail:
5346 return NULL;
5347 }
5348
5349
5350 static PyObject *_wrap_Frame_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5351 PyObject *resultobj = NULL;
5352 wxFrame *arg1 = (wxFrame *) 0 ;
5353 wxString *arg2 = 0 ;
5354 int arg3 = (int) 0 ;
5355 bool temp2 = false ;
5356 PyObject * obj0 = 0 ;
5357 PyObject * obj1 = 0 ;
5358 PyObject * obj2 = 0 ;
5359 char *kwnames[] = {
5360 (char *) "self",(char *) "text",(char *) "number", NULL
5361 };
5362
5363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5364 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5365 if (SWIG_arg_fail(1)) SWIG_fail;
5366 {
5367 arg2 = wxString_in_helper(obj1);
5368 if (arg2 == NULL) SWIG_fail;
5369 temp2 = true;
5370 }
5371 if (obj2) {
5372 {
5373 arg3 = static_cast<int >(SWIG_As_int(obj2));
5374 if (SWIG_arg_fail(3)) SWIG_fail;
5375 }
5376 }
5377 {
5378 PyThreadState* __tstate = wxPyBeginAllowThreads();
5379 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
5380
5381 wxPyEndAllowThreads(__tstate);
5382 if (PyErr_Occurred()) SWIG_fail;
5383 }
5384 Py_INCREF(Py_None); resultobj = Py_None;
5385 {
5386 if (temp2)
5387 delete arg2;
5388 }
5389 return resultobj;
5390 fail:
5391 {
5392 if (temp2)
5393 delete arg2;
5394 }
5395 return NULL;
5396 }
5397
5398
5399 static PyObject *_wrap_Frame_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
5400 PyObject *resultobj = NULL;
5401 wxFrame *arg1 = (wxFrame *) 0 ;
5402 int arg2 ;
5403 int *arg3 = (int *) 0 ;
5404 PyObject * obj0 = 0 ;
5405 PyObject * obj1 = 0 ;
5406 char *kwnames[] = {
5407 (char *) "self",(char *) "widths", NULL
5408 };
5409
5410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
5411 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5412 if (SWIG_arg_fail(1)) SWIG_fail;
5413 {
5414 arg2 = PyList_Size(obj1);
5415 arg3 = int_LIST_helper(obj1);
5416 if (arg3 == NULL) SWIG_fail;
5417 }
5418 {
5419 PyThreadState* __tstate = wxPyBeginAllowThreads();
5420 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5421
5422 wxPyEndAllowThreads(__tstate);
5423 if (PyErr_Occurred()) SWIG_fail;
5424 }
5425 Py_INCREF(Py_None); resultobj = Py_None;
5426 {
5427 if (arg3) delete [] arg3;
5428 }
5429 return resultobj;
5430 fail:
5431 {
5432 if (arg3) delete [] arg3;
5433 }
5434 return NULL;
5435 }
5436
5437
5438 static PyObject *_wrap_Frame_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5439 PyObject *resultobj = NULL;
5440 wxFrame *arg1 = (wxFrame *) 0 ;
5441 wxString *arg2 = 0 ;
5442 int arg3 = (int) 0 ;
5443 bool temp2 = false ;
5444 PyObject * obj0 = 0 ;
5445 PyObject * obj1 = 0 ;
5446 PyObject * obj2 = 0 ;
5447 char *kwnames[] = {
5448 (char *) "self",(char *) "text",(char *) "number", NULL
5449 };
5450
5451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5452 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5453 if (SWIG_arg_fail(1)) SWIG_fail;
5454 {
5455 arg2 = wxString_in_helper(obj1);
5456 if (arg2 == NULL) SWIG_fail;
5457 temp2 = true;
5458 }
5459 if (obj2) {
5460 {
5461 arg3 = static_cast<int >(SWIG_As_int(obj2));
5462 if (SWIG_arg_fail(3)) SWIG_fail;
5463 }
5464 }
5465 {
5466 PyThreadState* __tstate = wxPyBeginAllowThreads();
5467 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
5468
5469 wxPyEndAllowThreads(__tstate);
5470 if (PyErr_Occurred()) SWIG_fail;
5471 }
5472 Py_INCREF(Py_None); resultobj = Py_None;
5473 {
5474 if (temp2)
5475 delete arg2;
5476 }
5477 return resultobj;
5478 fail:
5479 {
5480 if (temp2)
5481 delete arg2;
5482 }
5483 return NULL;
5484 }
5485
5486
5487 static PyObject *_wrap_Frame_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5488 PyObject *resultobj = NULL;
5489 wxFrame *arg1 = (wxFrame *) 0 ;
5490 int arg2 = (int) 0 ;
5491 PyObject * obj0 = 0 ;
5492 PyObject * obj1 = 0 ;
5493 char *kwnames[] = {
5494 (char *) "self",(char *) "number", NULL
5495 };
5496
5497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
5498 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5499 if (SWIG_arg_fail(1)) SWIG_fail;
5500 if (obj1) {
5501 {
5502 arg2 = static_cast<int >(SWIG_As_int(obj1));
5503 if (SWIG_arg_fail(2)) SWIG_fail;
5504 }
5505 }
5506 {
5507 PyThreadState* __tstate = wxPyBeginAllowThreads();
5508 (arg1)->PopStatusText(arg2);
5509
5510 wxPyEndAllowThreads(__tstate);
5511 if (PyErr_Occurred()) SWIG_fail;
5512 }
5513 Py_INCREF(Py_None); resultobj = Py_None;
5514 return resultobj;
5515 fail:
5516 return NULL;
5517 }
5518
5519
5520 static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
5521 PyObject *resultobj = NULL;
5522 wxFrame *arg1 = (wxFrame *) 0 ;
5523 int arg2 ;
5524 PyObject * obj0 = 0 ;
5525 PyObject * obj1 = 0 ;
5526 char *kwnames[] = {
5527 (char *) "self",(char *) "n", NULL
5528 };
5529
5530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
5531 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5532 if (SWIG_arg_fail(1)) SWIG_fail;
5533 {
5534 arg2 = static_cast<int >(SWIG_As_int(obj1));
5535 if (SWIG_arg_fail(2)) SWIG_fail;
5536 }
5537 {
5538 PyThreadState* __tstate = wxPyBeginAllowThreads();
5539 (arg1)->SetStatusBarPane(arg2);
5540
5541 wxPyEndAllowThreads(__tstate);
5542 if (PyErr_Occurred()) SWIG_fail;
5543 }
5544 Py_INCREF(Py_None); resultobj = Py_None;
5545 return resultobj;
5546 fail:
5547 return NULL;
5548 }
5549
5550
5551 static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
5552 PyObject *resultobj = NULL;
5553 wxFrame *arg1 = (wxFrame *) 0 ;
5554 int result;
5555 PyObject * obj0 = 0 ;
5556 char *kwnames[] = {
5557 (char *) "self", NULL
5558 };
5559
5560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
5561 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5562 if (SWIG_arg_fail(1)) SWIG_fail;
5563 {
5564 PyThreadState* __tstate = wxPyBeginAllowThreads();
5565 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
5566
5567 wxPyEndAllowThreads(__tstate);
5568 if (PyErr_Occurred()) SWIG_fail;
5569 }
5570 {
5571 resultobj = SWIG_From_int(static_cast<int >(result));
5572 }
5573 return resultobj;
5574 fail:
5575 return NULL;
5576 }
5577
5578
5579 static PyObject *_wrap_Frame_CreateToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
5580 PyObject *resultobj = NULL;
5581 wxFrame *arg1 = (wxFrame *) 0 ;
5582 long arg2 = (long) -1 ;
5583 int arg3 = (int) -1 ;
5584 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
5585 wxString *arg4 = (wxString *) &arg4_defvalue ;
5586 wxToolBar *result;
5587 bool temp4 = false ;
5588 PyObject * obj0 = 0 ;
5589 PyObject * obj1 = 0 ;
5590 PyObject * obj2 = 0 ;
5591 PyObject * obj3 = 0 ;
5592 char *kwnames[] = {
5593 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
5594 };
5595
5596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5597 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5598 if (SWIG_arg_fail(1)) SWIG_fail;
5599 if (obj1) {
5600 {
5601 arg2 = static_cast<long >(SWIG_As_long(obj1));
5602 if (SWIG_arg_fail(2)) SWIG_fail;
5603 }
5604 }
5605 if (obj2) {
5606 {
5607 arg3 = static_cast<int >(SWIG_As_int(obj2));
5608 if (SWIG_arg_fail(3)) SWIG_fail;
5609 }
5610 }
5611 if (obj3) {
5612 {
5613 arg4 = wxString_in_helper(obj3);
5614 if (arg4 == NULL) SWIG_fail;
5615 temp4 = true;
5616 }
5617 }
5618 {
5619 PyThreadState* __tstate = wxPyBeginAllowThreads();
5620 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
5621
5622 wxPyEndAllowThreads(__tstate);
5623 if (PyErr_Occurred()) SWIG_fail;
5624 }
5625 {
5626 resultobj = wxPyMake_wxObject(result, (bool)0);
5627 }
5628 {
5629 if (temp4)
5630 delete arg4;
5631 }
5632 return resultobj;
5633 fail:
5634 {
5635 if (temp4)
5636 delete arg4;
5637 }
5638 return NULL;
5639 }
5640
5641
5642 static PyObject *_wrap_Frame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
5643 PyObject *resultobj = NULL;
5644 wxFrame *arg1 = (wxFrame *) 0 ;
5645 wxToolBar *result;
5646 PyObject * obj0 = 0 ;
5647 char *kwnames[] = {
5648 (char *) "self", NULL
5649 };
5650
5651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
5652 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5653 if (SWIG_arg_fail(1)) SWIG_fail;
5654 {
5655 PyThreadState* __tstate = wxPyBeginAllowThreads();
5656 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
5657
5658 wxPyEndAllowThreads(__tstate);
5659 if (PyErr_Occurred()) SWIG_fail;
5660 }
5661 {
5662 resultobj = wxPyMake_wxObject(result, (bool)0);
5663 }
5664 return resultobj;
5665 fail:
5666 return NULL;
5667 }
5668
5669
5670 static PyObject *_wrap_Frame_SetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
5671 PyObject *resultobj = NULL;
5672 wxFrame *arg1 = (wxFrame *) 0 ;
5673 wxToolBar *arg2 = (wxToolBar *) 0 ;
5674 PyObject * obj0 = 0 ;
5675 PyObject * obj1 = 0 ;
5676 char *kwnames[] = {
5677 (char *) "self",(char *) "toolbar", NULL
5678 };
5679
5680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
5681 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5682 if (SWIG_arg_fail(1)) SWIG_fail;
5683 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
5684 if (SWIG_arg_fail(2)) SWIG_fail;
5685 {
5686 PyThreadState* __tstate = wxPyBeginAllowThreads();
5687 (arg1)->SetToolBar(arg2);
5688
5689 wxPyEndAllowThreads(__tstate);
5690 if (PyErr_Occurred()) SWIG_fail;
5691 }
5692 Py_INCREF(Py_None); resultobj = Py_None;
5693 return resultobj;
5694 fail:
5695 return NULL;
5696 }
5697
5698
5699 static PyObject *_wrap_Frame_DoGiveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
5700 PyObject *resultobj = NULL;
5701 wxFrame *arg1 = (wxFrame *) 0 ;
5702 wxString *arg2 = 0 ;
5703 bool arg3 ;
5704 bool temp2 = false ;
5705 PyObject * obj0 = 0 ;
5706 PyObject * obj1 = 0 ;
5707 PyObject * obj2 = 0 ;
5708 char *kwnames[] = {
5709 (char *) "self",(char *) "text",(char *) "show", NULL
5710 };
5711
5712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
5713 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5714 if (SWIG_arg_fail(1)) SWIG_fail;
5715 {
5716 arg2 = wxString_in_helper(obj1);
5717 if (arg2 == NULL) SWIG_fail;
5718 temp2 = true;
5719 }
5720 {
5721 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
5722 if (SWIG_arg_fail(3)) SWIG_fail;
5723 }
5724 {
5725 PyThreadState* __tstate = wxPyBeginAllowThreads();
5726 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
5727
5728 wxPyEndAllowThreads(__tstate);
5729 if (PyErr_Occurred()) SWIG_fail;
5730 }
5731 Py_INCREF(Py_None); resultobj = Py_None;
5732 {
5733 if (temp2)
5734 delete arg2;
5735 }
5736 return resultobj;
5737 fail:
5738 {
5739 if (temp2)
5740 delete arg2;
5741 }
5742 return NULL;
5743 }
5744
5745
5746 static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *, PyObject *args, PyObject *kwargs) {
5747 PyObject *resultobj = NULL;
5748 wxFrame *arg1 = (wxFrame *) 0 ;
5749 wxMenu *arg2 = (wxMenu *) NULL ;
5750 PyObject * obj0 = 0 ;
5751 PyObject * obj1 = 0 ;
5752 char *kwnames[] = {
5753 (char *) "self",(char *) "menu", NULL
5754 };
5755
5756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
5757 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5758 if (SWIG_arg_fail(1)) SWIG_fail;
5759 if (obj1) {
5760 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
5761 if (SWIG_arg_fail(2)) SWIG_fail;
5762 }
5763 {
5764 PyThreadState* __tstate = wxPyBeginAllowThreads();
5765 (arg1)->DoMenuUpdates(arg2);
5766
5767 wxPyEndAllowThreads(__tstate);
5768 if (PyErr_Occurred()) SWIG_fail;
5769 }
5770 Py_INCREF(Py_None); resultobj = Py_None;
5771 return resultobj;
5772 fail:
5773 return NULL;
5774 }
5775
5776
5777 static PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
5778 PyObject *resultobj = NULL;
5779 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5780 wxVisualAttributes result;
5781 PyObject * obj0 = 0 ;
5782 char *kwnames[] = {
5783 (char *) "variant", NULL
5784 };
5785
5786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5787 if (obj0) {
5788 {
5789 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
5790 if (SWIG_arg_fail(1)) SWIG_fail;
5791 }
5792 }
5793 {
5794 if (!wxPyCheckForApp()) SWIG_fail;
5795 PyThreadState* __tstate = wxPyBeginAllowThreads();
5796 result = wxFrame::GetClassDefaultAttributes(arg1);
5797
5798 wxPyEndAllowThreads(__tstate);
5799 if (PyErr_Occurred()) SWIG_fail;
5800 }
5801 {
5802 wxVisualAttributes * resultptr;
5803 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
5804 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5805 }
5806 return resultobj;
5807 fail:
5808 return NULL;
5809 }
5810
5811
5812 static PyObject * Frame_swigregister(PyObject *, PyObject *args) {
5813 PyObject *obj;
5814 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5815 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
5816 Py_INCREF(obj);
5817 return Py_BuildValue((char *)"");
5818 }
5819 static PyObject *_wrap_new_Dialog(PyObject *, PyObject *args, PyObject *kwargs) {
5820 PyObject *resultobj = NULL;
5821 wxWindow *arg1 = (wxWindow *) 0 ;
5822 int arg2 = (int) (int)-1 ;
5823 wxString const &arg3_defvalue = wxPyEmptyString ;
5824 wxString *arg3 = (wxString *) &arg3_defvalue ;
5825 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5826 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5827 wxSize const &arg5_defvalue = wxDefaultSize ;
5828 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5829 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
5830 wxString const &arg7_defvalue = wxPyDialogNameStr ;
5831 wxString *arg7 = (wxString *) &arg7_defvalue ;
5832 wxDialog *result;
5833 bool temp3 = false ;
5834 wxPoint temp4 ;
5835 wxSize temp5 ;
5836 bool temp7 = false ;
5837 PyObject * obj0 = 0 ;
5838 PyObject * obj1 = 0 ;
5839 PyObject * obj2 = 0 ;
5840 PyObject * obj3 = 0 ;
5841 PyObject * obj4 = 0 ;
5842 PyObject * obj5 = 0 ;
5843 PyObject * obj6 = 0 ;
5844 char *kwnames[] = {
5845 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5846 };
5847
5848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5849 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5850 if (SWIG_arg_fail(1)) SWIG_fail;
5851 if (obj1) {
5852 {
5853 arg2 = static_cast<int const >(SWIG_As_int(obj1));
5854 if (SWIG_arg_fail(2)) SWIG_fail;
5855 }
5856 }
5857 if (obj2) {
5858 {
5859 arg3 = wxString_in_helper(obj2);
5860 if (arg3 == NULL) SWIG_fail;
5861 temp3 = true;
5862 }
5863 }
5864 if (obj3) {
5865 {
5866 arg4 = &temp4;
5867 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5868 }
5869 }
5870 if (obj4) {
5871 {
5872 arg5 = &temp5;
5873 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5874 }
5875 }
5876 if (obj5) {
5877 {
5878 arg6 = static_cast<long >(SWIG_As_long(obj5));
5879 if (SWIG_arg_fail(6)) SWIG_fail;
5880 }
5881 }
5882 if (obj6) {
5883 {
5884 arg7 = wxString_in_helper(obj6);
5885 if (arg7 == NULL) SWIG_fail;
5886 temp7 = true;
5887 }
5888 }
5889 {
5890 if (!wxPyCheckForApp()) SWIG_fail;
5891 PyThreadState* __tstate = wxPyBeginAllowThreads();
5892 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5893
5894 wxPyEndAllowThreads(__tstate);
5895 if (PyErr_Occurred()) SWIG_fail;
5896 }
5897 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
5898 {
5899 if (temp3)
5900 delete arg3;
5901 }
5902 {
5903 if (temp7)
5904 delete arg7;
5905 }
5906 return resultobj;
5907 fail:
5908 {
5909 if (temp3)
5910 delete arg3;
5911 }
5912 {
5913 if (temp7)
5914 delete arg7;
5915 }
5916 return NULL;
5917 }
5918
5919
5920 static PyObject *_wrap_new_PreDialog(PyObject *, PyObject *args, PyObject *kwargs) {
5921 PyObject *resultobj = NULL;
5922 wxDialog *result;
5923 char *kwnames[] = {
5924 NULL
5925 };
5926
5927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
5928 {
5929 if (!wxPyCheckForApp()) SWIG_fail;
5930 PyThreadState* __tstate = wxPyBeginAllowThreads();
5931 result = (wxDialog *)new wxDialog();
5932
5933 wxPyEndAllowThreads(__tstate);
5934 if (PyErr_Occurred()) SWIG_fail;
5935 }
5936 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
5937 return resultobj;
5938 fail:
5939 return NULL;
5940 }
5941
5942
5943 static PyObject *_wrap_Dialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
5944 PyObject *resultobj = NULL;
5945 wxDialog *arg1 = (wxDialog *) 0 ;
5946 wxWindow *arg2 = (wxWindow *) 0 ;
5947 int arg3 = (int) (int)-1 ;
5948 wxString const &arg4_defvalue = wxPyEmptyString ;
5949 wxString *arg4 = (wxString *) &arg4_defvalue ;
5950 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5951 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5952 wxSize const &arg6_defvalue = wxDefaultSize ;
5953 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5954 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
5955 wxString const &arg8_defvalue = wxPyDialogNameStr ;
5956 wxString *arg8 = (wxString *) &arg8_defvalue ;
5957 bool result;
5958 bool temp4 = false ;
5959 wxPoint temp5 ;
5960 wxSize temp6 ;
5961 bool temp8 = false ;
5962 PyObject * obj0 = 0 ;
5963 PyObject * obj1 = 0 ;
5964 PyObject * obj2 = 0 ;
5965 PyObject * obj3 = 0 ;
5966 PyObject * obj4 = 0 ;
5967 PyObject * obj5 = 0 ;
5968 PyObject * obj6 = 0 ;
5969 PyObject * obj7 = 0 ;
5970 char *kwnames[] = {
5971 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5972 };
5973
5974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5975 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5976 if (SWIG_arg_fail(1)) SWIG_fail;
5977 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5978 if (SWIG_arg_fail(2)) SWIG_fail;
5979 if (obj2) {
5980 {
5981 arg3 = static_cast<int const >(SWIG_As_int(obj2));
5982 if (SWIG_arg_fail(3)) SWIG_fail;
5983 }
5984 }
5985 if (obj3) {
5986 {
5987 arg4 = wxString_in_helper(obj3);
5988 if (arg4 == NULL) SWIG_fail;
5989 temp4 = true;
5990 }
5991 }
5992 if (obj4) {
5993 {
5994 arg5 = &temp5;
5995 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5996 }
5997 }
5998 if (obj5) {
5999 {
6000 arg6 = &temp6;
6001 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6002 }
6003 }
6004 if (obj6) {
6005 {
6006 arg7 = static_cast<long >(SWIG_As_long(obj6));
6007 if (SWIG_arg_fail(7)) SWIG_fail;
6008 }
6009 }
6010 if (obj7) {
6011 {
6012 arg8 = wxString_in_helper(obj7);
6013 if (arg8 == NULL) SWIG_fail;
6014 temp8 = true;
6015 }
6016 }
6017 {
6018 PyThreadState* __tstate = wxPyBeginAllowThreads();
6019 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6020
6021 wxPyEndAllowThreads(__tstate);
6022 if (PyErr_Occurred()) SWIG_fail;
6023 }
6024 {
6025 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6026 }
6027 {
6028 if (temp4)
6029 delete arg4;
6030 }
6031 {
6032 if (temp8)
6033 delete arg8;
6034 }
6035 return resultobj;
6036 fail:
6037 {
6038 if (temp4)
6039 delete arg4;
6040 }
6041 {
6042 if (temp8)
6043 delete arg8;
6044 }
6045 return NULL;
6046 }
6047
6048
6049 static PyObject *_wrap_Dialog_SetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
6050 PyObject *resultobj = NULL;
6051 wxDialog *arg1 = (wxDialog *) 0 ;
6052 int arg2 ;
6053 PyObject * obj0 = 0 ;
6054 PyObject * obj1 = 0 ;
6055 char *kwnames[] = {
6056 (char *) "self",(char *) "returnCode", NULL
6057 };
6058
6059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
6060 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6061 if (SWIG_arg_fail(1)) SWIG_fail;
6062 {
6063 arg2 = static_cast<int >(SWIG_As_int(obj1));
6064 if (SWIG_arg_fail(2)) SWIG_fail;
6065 }
6066 {
6067 PyThreadState* __tstate = wxPyBeginAllowThreads();
6068 (arg1)->SetReturnCode(arg2);
6069
6070 wxPyEndAllowThreads(__tstate);
6071 if (PyErr_Occurred()) SWIG_fail;
6072 }
6073 Py_INCREF(Py_None); resultobj = Py_None;
6074 return resultobj;
6075 fail:
6076 return NULL;
6077 }
6078
6079
6080 static PyObject *_wrap_Dialog_GetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
6081 PyObject *resultobj = NULL;
6082 wxDialog *arg1 = (wxDialog *) 0 ;
6083 int result;
6084 PyObject * obj0 = 0 ;
6085 char *kwnames[] = {
6086 (char *) "self", NULL
6087 };
6088
6089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
6090 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6091 if (SWIG_arg_fail(1)) SWIG_fail;
6092 {
6093 PyThreadState* __tstate = wxPyBeginAllowThreads();
6094 result = (int)((wxDialog const *)arg1)->GetReturnCode();
6095
6096 wxPyEndAllowThreads(__tstate);
6097 if (PyErr_Occurred()) SWIG_fail;
6098 }
6099 {
6100 resultobj = SWIG_From_int(static_cast<int >(result));
6101 }
6102 return resultobj;
6103 fail:
6104 return NULL;
6105 }
6106
6107
6108 static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *, PyObject *args, PyObject *kwargs) {
6109 PyObject *resultobj = NULL;
6110 wxDialog *arg1 = (wxDialog *) 0 ;
6111 wxString *arg2 = 0 ;
6112 wxSizer *result;
6113 bool temp2 = false ;
6114 PyObject * obj0 = 0 ;
6115 PyObject * obj1 = 0 ;
6116 char *kwnames[] = {
6117 (char *) "self",(char *) "message", NULL
6118 };
6119
6120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
6121 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6122 if (SWIG_arg_fail(1)) SWIG_fail;
6123 {
6124 arg2 = wxString_in_helper(obj1);
6125 if (arg2 == NULL) SWIG_fail;
6126 temp2 = true;
6127 }
6128 {
6129 PyThreadState* __tstate = wxPyBeginAllowThreads();
6130 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
6131
6132 wxPyEndAllowThreads(__tstate);
6133 if (PyErr_Occurred()) SWIG_fail;
6134 }
6135 {
6136 resultobj = wxPyMake_wxObject(result, (bool)0);
6137 }
6138 {
6139 if (temp2)
6140 delete arg2;
6141 }
6142 return resultobj;
6143 fail:
6144 {
6145 if (temp2)
6146 delete arg2;
6147 }
6148 return NULL;
6149 }
6150
6151
6152 static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) {
6153 PyObject *resultobj = NULL;
6154 wxDialog *arg1 = (wxDialog *) 0 ;
6155 long arg2 ;
6156 bool arg3 = (bool) false ;
6157 int arg4 = (int) 0 ;
6158 wxSizer *result;
6159 PyObject * obj0 = 0 ;
6160 PyObject * obj1 = 0 ;
6161 PyObject * obj2 = 0 ;
6162 PyObject * obj3 = 0 ;
6163 char *kwnames[] = {
6164 (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL
6165 };
6166
6167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6168 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6169 if (SWIG_arg_fail(1)) SWIG_fail;
6170 {
6171 arg2 = static_cast<long >(SWIG_As_long(obj1));
6172 if (SWIG_arg_fail(2)) SWIG_fail;
6173 }
6174 if (obj2) {
6175 {
6176 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
6177 if (SWIG_arg_fail(3)) SWIG_fail;
6178 }
6179 }
6180 if (obj3) {
6181 {
6182 arg4 = static_cast<int >(SWIG_As_int(obj3));
6183 if (SWIG_arg_fail(4)) SWIG_fail;
6184 }
6185 }
6186 {
6187 PyThreadState* __tstate = wxPyBeginAllowThreads();
6188 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2,arg3,arg4);
6189
6190 wxPyEndAllowThreads(__tstate);
6191 if (PyErr_Occurred()) SWIG_fail;
6192 }
6193 {
6194 resultobj = wxPyMake_wxObject(result, (bool)0);
6195 }
6196 return resultobj;
6197 fail:
6198 return NULL;
6199 }
6200
6201
6202 static PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) {
6203 PyObject *resultobj = NULL;
6204 wxDialog *arg1 = (wxDialog *) 0 ;
6205 long arg2 ;
6206 wxStdDialogButtonSizer *result;
6207 PyObject * obj0 = 0 ;
6208 PyObject * obj1 = 0 ;
6209 char *kwnames[] = {
6210 (char *) "self",(char *) "flags", NULL
6211 };
6212
6213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) goto fail;
6214 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6215 if (SWIG_arg_fail(1)) SWIG_fail;
6216 {
6217 arg2 = static_cast<long >(SWIG_As_long(obj1));
6218 if (SWIG_arg_fail(2)) SWIG_fail;
6219 }
6220 {
6221 PyThreadState* __tstate = wxPyBeginAllowThreads();
6222 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
6223
6224 wxPyEndAllowThreads(__tstate);
6225 if (PyErr_Occurred()) SWIG_fail;
6226 }
6227 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0);
6228 return resultobj;
6229 fail:
6230 return NULL;
6231 }
6232
6233
6234 static PyObject *_wrap_Dialog_IsModal(PyObject *, PyObject *args, PyObject *kwargs) {
6235 PyObject *resultobj = NULL;
6236 wxDialog *arg1 = (wxDialog *) 0 ;
6237 bool result;
6238 PyObject * obj0 = 0 ;
6239 char *kwnames[] = {
6240 (char *) "self", NULL
6241 };
6242
6243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
6244 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6245 if (SWIG_arg_fail(1)) SWIG_fail;
6246 {
6247 PyThreadState* __tstate = wxPyBeginAllowThreads();
6248 result = (bool)((wxDialog const *)arg1)->IsModal();
6249
6250 wxPyEndAllowThreads(__tstate);
6251 if (PyErr_Occurred()) SWIG_fail;
6252 }
6253 {
6254 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6255 }
6256 return resultobj;
6257 fail:
6258 return NULL;
6259 }
6260
6261
6262 static PyObject *_wrap_Dialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
6263 PyObject *resultobj = NULL;
6264 wxDialog *arg1 = (wxDialog *) 0 ;
6265 int result;
6266 PyObject * obj0 = 0 ;
6267 char *kwnames[] = {
6268 (char *) "self", NULL
6269 };
6270
6271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
6272 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6273 if (SWIG_arg_fail(1)) SWIG_fail;
6274 {
6275 PyThreadState* __tstate = wxPyBeginAllowThreads();
6276 result = (int)(arg1)->ShowModal();
6277
6278 wxPyEndAllowThreads(__tstate);
6279 if (PyErr_Occurred()) SWIG_fail;
6280 }
6281 {
6282 resultobj = SWIG_From_int(static_cast<int >(result));
6283 }
6284 return resultobj;
6285 fail:
6286 return NULL;
6287 }
6288
6289
6290 static PyObject *_wrap_Dialog_EndModal(PyObject *, PyObject *args, PyObject *kwargs) {
6291 PyObject *resultobj = NULL;
6292 wxDialog *arg1 = (wxDialog *) 0 ;
6293 int arg2 ;
6294 PyObject * obj0 = 0 ;
6295 PyObject * obj1 = 0 ;
6296 char *kwnames[] = {
6297 (char *) "self",(char *) "retCode", NULL
6298 };
6299
6300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
6301 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6302 if (SWIG_arg_fail(1)) SWIG_fail;
6303 {
6304 arg2 = static_cast<int >(SWIG_As_int(obj1));
6305 if (SWIG_arg_fail(2)) SWIG_fail;
6306 }
6307 {
6308 PyThreadState* __tstate = wxPyBeginAllowThreads();
6309 (arg1)->EndModal(arg2);
6310
6311 wxPyEndAllowThreads(__tstate);
6312 if (PyErr_Occurred()) SWIG_fail;
6313 }
6314 Py_INCREF(Py_None); resultobj = Py_None;
6315 return resultobj;
6316 fail:
6317 return NULL;
6318 }
6319
6320
6321 static PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
6322 PyObject *resultobj = NULL;
6323 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
6324 wxVisualAttributes result;
6325 PyObject * obj0 = 0 ;
6326 char *kwnames[] = {
6327 (char *) "variant", NULL
6328 };
6329
6330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6331 if (obj0) {
6332 {
6333 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
6334 if (SWIG_arg_fail(1)) SWIG_fail;
6335 }
6336 }
6337 {
6338 if (!wxPyCheckForApp()) SWIG_fail;
6339 PyThreadState* __tstate = wxPyBeginAllowThreads();
6340 result = wxDialog::GetClassDefaultAttributes(arg1);
6341
6342 wxPyEndAllowThreads(__tstate);
6343 if (PyErr_Occurred()) SWIG_fail;
6344 }
6345 {
6346 wxVisualAttributes * resultptr;
6347 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
6348 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6349 }
6350 return resultobj;
6351 fail:
6352 return NULL;
6353 }
6354
6355
6356 static PyObject * Dialog_swigregister(PyObject *, PyObject *args) {
6357 PyObject *obj;
6358 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6359 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
6360 Py_INCREF(obj);
6361 return Py_BuildValue((char *)"");
6362 }
6363 static PyObject *_wrap_new_MiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
6364 PyObject *resultobj = NULL;
6365 wxWindow *arg1 = (wxWindow *) 0 ;
6366 int arg2 = (int) (int)-1 ;
6367 wxString const &arg3_defvalue = wxPyEmptyString ;
6368 wxString *arg3 = (wxString *) &arg3_defvalue ;
6369 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6370 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6371 wxSize const &arg5_defvalue = wxDefaultSize ;
6372 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6373 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
6374 wxString const &arg7_defvalue = wxPyFrameNameStr ;
6375 wxString *arg7 = (wxString *) &arg7_defvalue ;
6376 wxMiniFrame *result;
6377 bool temp3 = false ;
6378 wxPoint temp4 ;
6379 wxSize temp5 ;
6380 bool temp7 = false ;
6381 PyObject * obj0 = 0 ;
6382 PyObject * obj1 = 0 ;
6383 PyObject * obj2 = 0 ;
6384 PyObject * obj3 = 0 ;
6385 PyObject * obj4 = 0 ;
6386 PyObject * obj5 = 0 ;
6387 PyObject * obj6 = 0 ;
6388 char *kwnames[] = {
6389 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6390 };
6391
6392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6393 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6394 if (SWIG_arg_fail(1)) SWIG_fail;
6395 if (obj1) {
6396 {
6397 arg2 = static_cast<int const >(SWIG_As_int(obj1));
6398 if (SWIG_arg_fail(2)) SWIG_fail;
6399 }
6400 }
6401 if (obj2) {
6402 {
6403 arg3 = wxString_in_helper(obj2);
6404 if (arg3 == NULL) SWIG_fail;
6405 temp3 = true;
6406 }
6407 }
6408 if (obj3) {
6409 {
6410 arg4 = &temp4;
6411 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6412 }
6413 }
6414 if (obj4) {
6415 {
6416 arg5 = &temp5;
6417 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6418 }
6419 }
6420 if (obj5) {
6421 {
6422 arg6 = static_cast<long >(SWIG_As_long(obj5));
6423 if (SWIG_arg_fail(6)) SWIG_fail;
6424 }
6425 }
6426 if (obj6) {
6427 {
6428 arg7 = wxString_in_helper(obj6);
6429 if (arg7 == NULL) SWIG_fail;
6430 temp7 = true;
6431 }
6432 }
6433 {
6434 if (!wxPyCheckForApp()) SWIG_fail;
6435 PyThreadState* __tstate = wxPyBeginAllowThreads();
6436 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6437
6438 wxPyEndAllowThreads(__tstate);
6439 if (PyErr_Occurred()) SWIG_fail;
6440 }
6441 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
6442 {
6443 if (temp3)
6444 delete arg3;
6445 }
6446 {
6447 if (temp7)
6448 delete arg7;
6449 }
6450 return resultobj;
6451 fail:
6452 {
6453 if (temp3)
6454 delete arg3;
6455 }
6456 {
6457 if (temp7)
6458 delete arg7;
6459 }
6460 return NULL;
6461 }
6462
6463
6464 static PyObject *_wrap_new_PreMiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
6465 PyObject *resultobj = NULL;
6466 wxMiniFrame *result;
6467 char *kwnames[] = {
6468 NULL
6469 };
6470
6471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
6472 {
6473 if (!wxPyCheckForApp()) SWIG_fail;
6474 PyThreadState* __tstate = wxPyBeginAllowThreads();
6475 result = (wxMiniFrame *)new wxMiniFrame();
6476
6477 wxPyEndAllowThreads(__tstate);
6478 if (PyErr_Occurred()) SWIG_fail;
6479 }
6480 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
6481 return resultobj;
6482 fail:
6483 return NULL;
6484 }
6485
6486
6487 static PyObject *_wrap_MiniFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6488 PyObject *resultobj = NULL;
6489 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
6490 wxWindow *arg2 = (wxWindow *) 0 ;
6491 int arg3 = (int) (int)-1 ;
6492 wxString const &arg4_defvalue = wxPyEmptyString ;
6493 wxString *arg4 = (wxString *) &arg4_defvalue ;
6494 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6495 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6496 wxSize const &arg6_defvalue = wxDefaultSize ;
6497 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6498 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6499 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6500 wxString *arg8 = (wxString *) &arg8_defvalue ;
6501 bool result;
6502 bool temp4 = false ;
6503 wxPoint temp5 ;
6504 wxSize temp6 ;
6505 bool temp8 = false ;
6506 PyObject * obj0 = 0 ;
6507 PyObject * obj1 = 0 ;
6508 PyObject * obj2 = 0 ;
6509 PyObject * obj3 = 0 ;
6510 PyObject * obj4 = 0 ;
6511 PyObject * obj5 = 0 ;
6512 PyObject * obj6 = 0 ;
6513 PyObject * obj7 = 0 ;
6514 char *kwnames[] = {
6515 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6516 };
6517
6518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6519 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_EXCEPTION | 0);
6520 if (SWIG_arg_fail(1)) SWIG_fail;
6521 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6522 if (SWIG_arg_fail(2)) SWIG_fail;
6523 if (obj2) {
6524 {
6525 arg3 = static_cast<int const >(SWIG_As_int(obj2));
6526 if (SWIG_arg_fail(3)) SWIG_fail;
6527 }
6528 }
6529 if (obj3) {
6530 {
6531 arg4 = wxString_in_helper(obj3);
6532 if (arg4 == NULL) SWIG_fail;
6533 temp4 = true;
6534 }
6535 }
6536 if (obj4) {
6537 {
6538 arg5 = &temp5;
6539 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6540 }
6541 }
6542 if (obj5) {
6543 {
6544 arg6 = &temp6;
6545 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6546 }
6547 }
6548 if (obj6) {
6549 {
6550 arg7 = static_cast<long >(SWIG_As_long(obj6));
6551 if (SWIG_arg_fail(7)) SWIG_fail;
6552 }
6553 }
6554 if (obj7) {
6555 {
6556 arg8 = wxString_in_helper(obj7);
6557 if (arg8 == NULL) SWIG_fail;
6558 temp8 = true;
6559 }
6560 }
6561 {
6562 PyThreadState* __tstate = wxPyBeginAllowThreads();
6563 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6564
6565 wxPyEndAllowThreads(__tstate);
6566 if (PyErr_Occurred()) SWIG_fail;
6567 }
6568 {
6569 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6570 }
6571 {
6572 if (temp4)
6573 delete arg4;
6574 }
6575 {
6576 if (temp8)
6577 delete arg8;
6578 }
6579 return resultobj;
6580 fail:
6581 {
6582 if (temp4)
6583 delete arg4;
6584 }
6585 {
6586 if (temp8)
6587 delete arg8;
6588 }
6589 return NULL;
6590 }
6591
6592
6593 static PyObject * MiniFrame_swigregister(PyObject *, PyObject *args) {
6594 PyObject *obj;
6595 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6596 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
6597 Py_INCREF(obj);
6598 return Py_BuildValue((char *)"");
6599 }
6600 static PyObject *_wrap_new_SplashScreenWindow(PyObject *, PyObject *args, PyObject *kwargs) {
6601 PyObject *resultobj = NULL;
6602 wxBitmap *arg1 = 0 ;
6603 wxWindow *arg2 = (wxWindow *) 0 ;
6604 int arg3 ;
6605 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6606 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6607 wxSize const &arg5_defvalue = wxDefaultSize ;
6608 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6609 long arg6 = (long) wxNO_BORDER ;
6610 wxSplashScreenWindow *result;
6611 wxPoint temp4 ;
6612 wxSize temp5 ;
6613 PyObject * obj0 = 0 ;
6614 PyObject * obj1 = 0 ;
6615 PyObject * obj2 = 0 ;
6616 PyObject * obj3 = 0 ;
6617 PyObject * obj4 = 0 ;
6618 PyObject * obj5 = 0 ;
6619 char *kwnames[] = {
6620 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6621 };
6622
6623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
6624 {
6625 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6626 if (SWIG_arg_fail(1)) SWIG_fail;
6627 if (arg1 == NULL) {
6628 SWIG_null_ref("wxBitmap");
6629 }
6630 if (SWIG_arg_fail(1)) SWIG_fail;
6631 }
6632 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6633 if (SWIG_arg_fail(2)) SWIG_fail;
6634 {
6635 arg3 = static_cast<int >(SWIG_As_int(obj2));
6636 if (SWIG_arg_fail(3)) SWIG_fail;
6637 }
6638 if (obj3) {
6639 {
6640 arg4 = &temp4;
6641 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6642 }
6643 }
6644 if (obj4) {
6645 {
6646 arg5 = &temp5;
6647 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6648 }
6649 }
6650 if (obj5) {
6651 {
6652 arg6 = static_cast<long >(SWIG_As_long(obj5));
6653 if (SWIG_arg_fail(6)) SWIG_fail;
6654 }
6655 }
6656 {
6657 if (!wxPyCheckForApp()) SWIG_fail;
6658 PyThreadState* __tstate = wxPyBeginAllowThreads();
6659 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
6660
6661 wxPyEndAllowThreads(__tstate);
6662 if (PyErr_Occurred()) SWIG_fail;
6663 }
6664 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1);
6665 return resultobj;
6666 fail:
6667 return NULL;
6668 }
6669
6670
6671 static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
6672 PyObject *resultobj = NULL;
6673 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
6674 wxBitmap *arg2 = 0 ;
6675 PyObject * obj0 = 0 ;
6676 PyObject * obj1 = 0 ;
6677 char *kwnames[] = {
6678 (char *) "self",(char *) "bitmap", NULL
6679 };
6680
6681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
6682 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_EXCEPTION | 0);
6683 if (SWIG_arg_fail(1)) SWIG_fail;
6684 {
6685 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6686 if (SWIG_arg_fail(2)) SWIG_fail;
6687 if (arg2 == NULL) {
6688 SWIG_null_ref("wxBitmap");
6689 }
6690 if (SWIG_arg_fail(2)) SWIG_fail;
6691 }
6692 {
6693 PyThreadState* __tstate = wxPyBeginAllowThreads();
6694 (arg1)->SetBitmap((wxBitmap const &)*arg2);
6695
6696 wxPyEndAllowThreads(__tstate);
6697 if (PyErr_Occurred()) SWIG_fail;
6698 }
6699 Py_INCREF(Py_None); resultobj = Py_None;
6700 return resultobj;
6701 fail:
6702 return NULL;
6703 }
6704
6705
6706 static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
6707 PyObject *resultobj = NULL;
6708 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
6709 wxBitmap *result;
6710 PyObject * obj0 = 0 ;
6711 char *kwnames[] = {
6712 (char *) "self", NULL
6713 };
6714
6715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
6716 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_EXCEPTION | 0);
6717 if (SWIG_arg_fail(1)) SWIG_fail;
6718 {
6719 PyThreadState* __tstate = wxPyBeginAllowThreads();
6720 {
6721 wxBitmap &_result_ref = (arg1)->GetBitmap();
6722 result = (wxBitmap *) &_result_ref;
6723 }
6724
6725 wxPyEndAllowThreads(__tstate);
6726 if (PyErr_Occurred()) SWIG_fail;
6727 }
6728 {
6729 wxBitmap* resultptr = new wxBitmap(*result);
6730 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
6731 }
6732 return resultobj;
6733 fail:
6734 return NULL;
6735 }
6736
6737
6738 static PyObject * SplashScreenWindow_swigregister(PyObject *, PyObject *args) {
6739 PyObject *obj;
6740 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6741 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
6742 Py_INCREF(obj);
6743 return Py_BuildValue((char *)"");
6744 }
6745 static PyObject *_wrap_new_SplashScreen(PyObject *, PyObject *args, PyObject *kwargs) {
6746 PyObject *resultobj = NULL;
6747 wxBitmap *arg1 = 0 ;
6748 long arg2 ;
6749 int arg3 ;
6750 wxWindow *arg4 = (wxWindow *) 0 ;
6751 int arg5 = (int) -1 ;
6752 wxPoint const &arg6_defvalue = wxDefaultPosition ;
6753 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
6754 wxSize const &arg7_defvalue = wxDefaultSize ;
6755 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
6756 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
6757 wxSplashScreen *result;
6758 wxPoint temp6 ;
6759 wxSize temp7 ;
6760 PyObject * obj0 = 0 ;
6761 PyObject * obj1 = 0 ;
6762 PyObject * obj2 = 0 ;
6763 PyObject * obj3 = 0 ;
6764 PyObject * obj4 = 0 ;
6765 PyObject * obj5 = 0 ;
6766 PyObject * obj6 = 0 ;
6767 PyObject * obj7 = 0 ;
6768 char *kwnames[] = {
6769 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6770 };
6771
6772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6773 {
6774 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6775 if (SWIG_arg_fail(1)) SWIG_fail;
6776 if (arg1 == NULL) {
6777 SWIG_null_ref("wxBitmap");
6778 }
6779 if (SWIG_arg_fail(1)) SWIG_fail;
6780 }
6781 {
6782 arg2 = static_cast<long >(SWIG_As_long(obj1));
6783 if (SWIG_arg_fail(2)) SWIG_fail;
6784 }
6785 {
6786 arg3 = static_cast<int >(SWIG_As_int(obj2));
6787 if (SWIG_arg_fail(3)) SWIG_fail;
6788 }
6789 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6790 if (SWIG_arg_fail(4)) SWIG_fail;
6791 if (obj4) {
6792 {
6793 arg5 = static_cast<int >(SWIG_As_int(obj4));
6794 if (SWIG_arg_fail(5)) SWIG_fail;
6795 }
6796 }
6797 if (obj5) {
6798 {
6799 arg6 = &temp6;
6800 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
6801 }
6802 }
6803 if (obj6) {
6804 {
6805 arg7 = &temp7;
6806 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
6807 }
6808 }
6809 if (obj7) {
6810 {
6811 arg8 = static_cast<long >(SWIG_As_long(obj7));
6812 if (SWIG_arg_fail(8)) SWIG_fail;
6813 }
6814 }
6815 {
6816 if (!wxPyCheckForApp()) SWIG_fail;
6817 PyThreadState* __tstate = wxPyBeginAllowThreads();
6818 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
6819
6820 wxPyEndAllowThreads(__tstate);
6821 if (PyErr_Occurred()) SWIG_fail;
6822 }
6823 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1);
6824 return resultobj;
6825 fail:
6826 return NULL;
6827 }
6828
6829
6830 static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *, PyObject *args, PyObject *kwargs) {
6831 PyObject *resultobj = NULL;
6832 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
6833 long result;
6834 PyObject * obj0 = 0 ;
6835 char *kwnames[] = {
6836 (char *) "self", NULL
6837 };
6838
6839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
6840 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0);
6841 if (SWIG_arg_fail(1)) SWIG_fail;
6842 {
6843 PyThreadState* __tstate = wxPyBeginAllowThreads();
6844 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
6845
6846 wxPyEndAllowThreads(__tstate);
6847 if (PyErr_Occurred()) SWIG_fail;
6848 }
6849 {
6850 resultobj = SWIG_From_long(static_cast<long >(result));
6851 }
6852 return resultobj;
6853 fail:
6854 return NULL;
6855 }
6856
6857
6858 static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
6859 PyObject *resultobj = NULL;
6860 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
6861 wxSplashScreenWindow *result;
6862 PyObject * obj0 = 0 ;
6863 char *kwnames[] = {
6864 (char *) "self", NULL
6865 };
6866
6867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
6868 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0);
6869 if (SWIG_arg_fail(1)) SWIG_fail;
6870 {
6871 PyThreadState* __tstate = wxPyBeginAllowThreads();
6872 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
6873
6874 wxPyEndAllowThreads(__tstate);
6875 if (PyErr_Occurred()) SWIG_fail;
6876 }
6877 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0);
6878 return resultobj;
6879 fail:
6880 return NULL;
6881 }
6882
6883
6884 static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *, PyObject *args, PyObject *kwargs) {
6885 PyObject *resultobj = NULL;
6886 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
6887 int result;
6888 PyObject * obj0 = 0 ;
6889 char *kwnames[] = {
6890 (char *) "self", NULL
6891 };
6892
6893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
6894 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0);
6895 if (SWIG_arg_fail(1)) SWIG_fail;
6896 {
6897 PyThreadState* __tstate = wxPyBeginAllowThreads();
6898 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
6899
6900 wxPyEndAllowThreads(__tstate);
6901 if (PyErr_Occurred()) SWIG_fail;
6902 }
6903 {
6904 resultobj = SWIG_From_int(static_cast<int >(result));
6905 }
6906 return resultobj;
6907 fail:
6908 return NULL;
6909 }
6910
6911
6912 static PyObject * SplashScreen_swigregister(PyObject *, PyObject *args) {
6913 PyObject *obj;
6914 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6915 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
6916 Py_INCREF(obj);
6917 return Py_BuildValue((char *)"");
6918 }
6919 static PyObject *_wrap_new_StatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
6920 PyObject *resultobj = NULL;
6921 wxWindow *arg1 = (wxWindow *) 0 ;
6922 int arg2 = (int) -1 ;
6923 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
6924 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
6925 wxString *arg4 = (wxString *) &arg4_defvalue ;
6926 wxStatusBar *result;
6927 bool temp4 = false ;
6928 PyObject * obj0 = 0 ;
6929 PyObject * obj1 = 0 ;
6930 PyObject * obj2 = 0 ;
6931 PyObject * obj3 = 0 ;
6932 char *kwnames[] = {
6933 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6934 };
6935
6936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6937 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6938 if (SWIG_arg_fail(1)) SWIG_fail;
6939 if (obj1) {
6940 {
6941 arg2 = static_cast<int >(SWIG_As_int(obj1));
6942 if (SWIG_arg_fail(2)) SWIG_fail;
6943 }
6944 }
6945 if (obj2) {
6946 {
6947 arg3 = static_cast<long >(SWIG_As_long(obj2));
6948 if (SWIG_arg_fail(3)) SWIG_fail;
6949 }
6950 }
6951 if (obj3) {
6952 {
6953 arg4 = wxString_in_helper(obj3);
6954 if (arg4 == NULL) SWIG_fail;
6955 temp4 = true;
6956 }
6957 }
6958 {
6959 if (!wxPyCheckForApp()) SWIG_fail;
6960 PyThreadState* __tstate = wxPyBeginAllowThreads();
6961 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
6962
6963 wxPyEndAllowThreads(__tstate);
6964 if (PyErr_Occurred()) SWIG_fail;
6965 }
6966 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
6967 {
6968 if (temp4)
6969 delete arg4;
6970 }
6971 return resultobj;
6972 fail:
6973 {
6974 if (temp4)
6975 delete arg4;
6976 }
6977 return NULL;
6978 }
6979
6980
6981 static PyObject *_wrap_new_PreStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
6982 PyObject *resultobj = NULL;
6983 wxStatusBar *result;
6984 char *kwnames[] = {
6985 NULL
6986 };
6987
6988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
6989 {
6990 if (!wxPyCheckForApp()) SWIG_fail;
6991 PyThreadState* __tstate = wxPyBeginAllowThreads();
6992 result = (wxStatusBar *)new wxStatusBar();
6993
6994 wxPyEndAllowThreads(__tstate);
6995 if (PyErr_Occurred()) SWIG_fail;
6996 }
6997 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
6998 return resultobj;
6999 fail:
7000 return NULL;
7001 }
7002
7003
7004 static PyObject *_wrap_StatusBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7005 PyObject *resultobj = NULL;
7006 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7007 wxWindow *arg2 = (wxWindow *) 0 ;
7008 int arg3 = (int) -1 ;
7009 long arg4 = (long) wxST_SIZEGRIP ;
7010 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
7011 wxString *arg5 = (wxString *) &arg5_defvalue ;
7012 bool result;
7013 bool temp5 = false ;
7014 PyObject * obj0 = 0 ;
7015 PyObject * obj1 = 0 ;
7016 PyObject * obj2 = 0 ;
7017 PyObject * obj3 = 0 ;
7018 PyObject * obj4 = 0 ;
7019 char *kwnames[] = {
7020 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
7021 };
7022
7023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
7024 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7025 if (SWIG_arg_fail(1)) SWIG_fail;
7026 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7027 if (SWIG_arg_fail(2)) SWIG_fail;
7028 if (obj2) {
7029 {
7030 arg3 = static_cast<int >(SWIG_As_int(obj2));
7031 if (SWIG_arg_fail(3)) SWIG_fail;
7032 }
7033 }
7034 if (obj3) {
7035 {
7036 arg4 = static_cast<long >(SWIG_As_long(obj3));
7037 if (SWIG_arg_fail(4)) SWIG_fail;
7038 }
7039 }
7040 if (obj4) {
7041 {
7042 arg5 = wxString_in_helper(obj4);
7043 if (arg5 == NULL) SWIG_fail;
7044 temp5 = true;
7045 }
7046 }
7047 {
7048 PyThreadState* __tstate = wxPyBeginAllowThreads();
7049 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
7050
7051 wxPyEndAllowThreads(__tstate);
7052 if (PyErr_Occurred()) SWIG_fail;
7053 }
7054 {
7055 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7056 }
7057 {
7058 if (temp5)
7059 delete arg5;
7060 }
7061 return resultobj;
7062 fail:
7063 {
7064 if (temp5)
7065 delete arg5;
7066 }
7067 return NULL;
7068 }
7069
7070
7071 static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
7072 PyObject *resultobj = NULL;
7073 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7074 int arg2 = (int) 1 ;
7075 PyObject * obj0 = 0 ;
7076 PyObject * obj1 = 0 ;
7077 char *kwnames[] = {
7078 (char *) "self",(char *) "number", NULL
7079 };
7080
7081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
7082 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7083 if (SWIG_arg_fail(1)) SWIG_fail;
7084 if (obj1) {
7085 {
7086 arg2 = static_cast<int >(SWIG_As_int(obj1));
7087 if (SWIG_arg_fail(2)) SWIG_fail;
7088 }
7089 }
7090 {
7091 PyThreadState* __tstate = wxPyBeginAllowThreads();
7092 (arg1)->SetFieldsCount(arg2);
7093
7094 wxPyEndAllowThreads(__tstate);
7095 if (PyErr_Occurred()) SWIG_fail;
7096 }
7097 Py_INCREF(Py_None); resultobj = Py_None;
7098 return resultobj;
7099 fail:
7100 return NULL;
7101 }
7102
7103
7104 static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
7105 PyObject *resultobj = NULL;
7106 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7107 int result;
7108 PyObject * obj0 = 0 ;
7109 char *kwnames[] = {
7110 (char *) "self", NULL
7111 };
7112
7113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
7114 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7115 if (SWIG_arg_fail(1)) SWIG_fail;
7116 {
7117 PyThreadState* __tstate = wxPyBeginAllowThreads();
7118 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
7119
7120 wxPyEndAllowThreads(__tstate);
7121 if (PyErr_Occurred()) SWIG_fail;
7122 }
7123 {
7124 resultobj = SWIG_From_int(static_cast<int >(result));
7125 }
7126 return resultobj;
7127 fail:
7128 return NULL;
7129 }
7130
7131
7132 static PyObject *_wrap_StatusBar_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
7133 PyObject *resultobj = NULL;
7134 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7135 wxString *arg2 = 0 ;
7136 int arg3 = (int) 0 ;
7137 bool temp2 = false ;
7138 PyObject * obj0 = 0 ;
7139 PyObject * obj1 = 0 ;
7140 PyObject * obj2 = 0 ;
7141 char *kwnames[] = {
7142 (char *) "self",(char *) "text",(char *) "number", NULL
7143 };
7144
7145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
7146 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7147 if (SWIG_arg_fail(1)) SWIG_fail;
7148 {
7149 arg2 = wxString_in_helper(obj1);
7150 if (arg2 == NULL) SWIG_fail;
7151 temp2 = true;
7152 }
7153 if (obj2) {
7154 {
7155 arg3 = static_cast<int >(SWIG_As_int(obj2));
7156 if (SWIG_arg_fail(3)) SWIG_fail;
7157 }
7158 }
7159 {
7160 PyThreadState* __tstate = wxPyBeginAllowThreads();
7161 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
7162
7163 wxPyEndAllowThreads(__tstate);
7164 if (PyErr_Occurred()) SWIG_fail;
7165 }
7166 Py_INCREF(Py_None); resultobj = Py_None;
7167 {
7168 if (temp2)
7169 delete arg2;
7170 }
7171 return resultobj;
7172 fail:
7173 {
7174 if (temp2)
7175 delete arg2;
7176 }
7177 return NULL;
7178 }
7179
7180
7181 static PyObject *_wrap_StatusBar_GetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
7182 PyObject *resultobj = NULL;
7183 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7184 int arg2 = (int) 0 ;
7185 wxString result;
7186 PyObject * obj0 = 0 ;
7187 PyObject * obj1 = 0 ;
7188 char *kwnames[] = {
7189 (char *) "self",(char *) "number", NULL
7190 };
7191
7192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail;
7193 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7194 if (SWIG_arg_fail(1)) SWIG_fail;
7195 if (obj1) {
7196 {
7197 arg2 = static_cast<int >(SWIG_As_int(obj1));
7198 if (SWIG_arg_fail(2)) SWIG_fail;
7199 }
7200 }
7201 {
7202 PyThreadState* __tstate = wxPyBeginAllowThreads();
7203 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
7204
7205 wxPyEndAllowThreads(__tstate);
7206 if (PyErr_Occurred()) SWIG_fail;
7207 }
7208 {
7209 #if wxUSE_UNICODE
7210 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7211 #else
7212 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7213 #endif
7214 }
7215 return resultobj;
7216 fail:
7217 return NULL;
7218 }
7219
7220
7221 static PyObject *_wrap_StatusBar_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
7222 PyObject *resultobj = NULL;
7223 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7224 wxString *arg2 = 0 ;
7225 int arg3 = (int) 0 ;
7226 bool temp2 = false ;
7227 PyObject * obj0 = 0 ;
7228 PyObject * obj1 = 0 ;
7229 PyObject * obj2 = 0 ;
7230 char *kwnames[] = {
7231 (char *) "self",(char *) "text",(char *) "number", NULL
7232 };
7233
7234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
7235 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7236 if (SWIG_arg_fail(1)) SWIG_fail;
7237 {
7238 arg2 = wxString_in_helper(obj1);
7239 if (arg2 == NULL) SWIG_fail;
7240 temp2 = true;
7241 }
7242 if (obj2) {
7243 {
7244 arg3 = static_cast<int >(SWIG_As_int(obj2));
7245 if (SWIG_arg_fail(3)) SWIG_fail;
7246 }
7247 }
7248 {
7249 PyThreadState* __tstate = wxPyBeginAllowThreads();
7250 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
7251
7252 wxPyEndAllowThreads(__tstate);
7253 if (PyErr_Occurred()) SWIG_fail;
7254 }
7255 Py_INCREF(Py_None); resultobj = Py_None;
7256 {
7257 if (temp2)
7258 delete arg2;
7259 }
7260 return resultobj;
7261 fail:
7262 {
7263 if (temp2)
7264 delete arg2;
7265 }
7266 return NULL;
7267 }
7268
7269
7270 static PyObject *_wrap_StatusBar_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
7271 PyObject *resultobj = NULL;
7272 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7273 int arg2 = (int) 0 ;
7274 PyObject * obj0 = 0 ;
7275 PyObject * obj1 = 0 ;
7276 char *kwnames[] = {
7277 (char *) "self",(char *) "number", NULL
7278 };
7279
7280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
7281 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7282 if (SWIG_arg_fail(1)) SWIG_fail;
7283 if (obj1) {
7284 {
7285 arg2 = static_cast<int >(SWIG_As_int(obj1));
7286 if (SWIG_arg_fail(2)) SWIG_fail;
7287 }
7288 }
7289 {
7290 PyThreadState* __tstate = wxPyBeginAllowThreads();
7291 (arg1)->PopStatusText(arg2);
7292
7293 wxPyEndAllowThreads(__tstate);
7294 if (PyErr_Occurred()) SWIG_fail;
7295 }
7296 Py_INCREF(Py_None); resultobj = Py_None;
7297 return resultobj;
7298 fail:
7299 return NULL;
7300 }
7301
7302
7303 static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
7304 PyObject *resultobj = NULL;
7305 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7306 int arg2 ;
7307 int *arg3 = (int *) 0 ;
7308 PyObject * obj0 = 0 ;
7309 PyObject * obj1 = 0 ;
7310 char *kwnames[] = {
7311 (char *) "self",(char *) "widths", NULL
7312 };
7313
7314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
7315 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7316 if (SWIG_arg_fail(1)) SWIG_fail;
7317 {
7318 arg2 = PyList_Size(obj1);
7319 arg3 = int_LIST_helper(obj1);
7320 if (arg3 == NULL) SWIG_fail;
7321 }
7322 {
7323 PyThreadState* __tstate = wxPyBeginAllowThreads();
7324 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
7325
7326 wxPyEndAllowThreads(__tstate);
7327 if (PyErr_Occurred()) SWIG_fail;
7328 }
7329 Py_INCREF(Py_None); resultobj = Py_None;
7330 {
7331 if (arg3) delete [] arg3;
7332 }
7333 return resultobj;
7334 fail:
7335 {
7336 if (arg3) delete [] arg3;
7337 }
7338 return NULL;
7339 }
7340
7341
7342 static PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *, PyObject *args, PyObject *kwargs) {
7343 PyObject *resultobj = NULL;
7344 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7345 int arg2 ;
7346 int *arg3 = (int *) 0 ;
7347 PyObject * obj0 = 0 ;
7348 PyObject * obj1 = 0 ;
7349 char *kwnames[] = {
7350 (char *) "self",(char *) "styles", NULL
7351 };
7352
7353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) goto fail;
7354 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7355 if (SWIG_arg_fail(1)) SWIG_fail;
7356 {
7357 arg2 = PyList_Size(obj1);
7358 arg3 = int_LIST_helper(obj1);
7359 if (arg3 == NULL) SWIG_fail;
7360 }
7361 {
7362 PyThreadState* __tstate = wxPyBeginAllowThreads();
7363 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
7364
7365 wxPyEndAllowThreads(__tstate);
7366 if (PyErr_Occurred()) SWIG_fail;
7367 }
7368 Py_INCREF(Py_None); resultobj = Py_None;
7369 {
7370 if (arg3) delete [] arg3;
7371 }
7372 return resultobj;
7373 fail:
7374 {
7375 if (arg3) delete [] arg3;
7376 }
7377 return NULL;
7378 }
7379
7380
7381 static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *, PyObject *args, PyObject *kwargs) {
7382 PyObject *resultobj = NULL;
7383 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7384 int arg2 ;
7385 wxRect result;
7386 PyObject * obj0 = 0 ;
7387 PyObject * obj1 = 0 ;
7388 char *kwnames[] = {
7389 (char *) "self",(char *) "i", NULL
7390 };
7391
7392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
7393 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7394 if (SWIG_arg_fail(1)) SWIG_fail;
7395 {
7396 arg2 = static_cast<int >(SWIG_As_int(obj1));
7397 if (SWIG_arg_fail(2)) SWIG_fail;
7398 }
7399 {
7400 PyThreadState* __tstate = wxPyBeginAllowThreads();
7401 result = wxStatusBar_GetFieldRect(arg1,arg2);
7402
7403 wxPyEndAllowThreads(__tstate);
7404 if (PyErr_Occurred()) SWIG_fail;
7405 }
7406 {
7407 wxRect * resultptr;
7408 resultptr = new wxRect(static_cast<wxRect & >(result));
7409 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7410 }
7411 return resultobj;
7412 fail:
7413 return NULL;
7414 }
7415
7416
7417 static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) {
7418 PyObject *resultobj = NULL;
7419 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7420 int arg2 ;
7421 PyObject * obj0 = 0 ;
7422 PyObject * obj1 = 0 ;
7423 char *kwnames[] = {
7424 (char *) "self",(char *) "height", NULL
7425 };
7426
7427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
7428 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7429 if (SWIG_arg_fail(1)) SWIG_fail;
7430 {
7431 arg2 = static_cast<int >(SWIG_As_int(obj1));
7432 if (SWIG_arg_fail(2)) SWIG_fail;
7433 }
7434 {
7435 PyThreadState* __tstate = wxPyBeginAllowThreads();
7436 (arg1)->SetMinHeight(arg2);
7437
7438 wxPyEndAllowThreads(__tstate);
7439 if (PyErr_Occurred()) SWIG_fail;
7440 }
7441 Py_INCREF(Py_None); resultobj = Py_None;
7442 return resultobj;
7443 fail:
7444 return NULL;
7445 }
7446
7447
7448 static PyObject *_wrap_StatusBar_GetBorderX(PyObject *, PyObject *args, PyObject *kwargs) {
7449 PyObject *resultobj = NULL;
7450 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7451 int result;
7452 PyObject * obj0 = 0 ;
7453 char *kwnames[] = {
7454 (char *) "self", NULL
7455 };
7456
7457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
7458 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7459 if (SWIG_arg_fail(1)) SWIG_fail;
7460 {
7461 PyThreadState* __tstate = wxPyBeginAllowThreads();
7462 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
7463
7464 wxPyEndAllowThreads(__tstate);
7465 if (PyErr_Occurred()) SWIG_fail;
7466 }
7467 {
7468 resultobj = SWIG_From_int(static_cast<int >(result));
7469 }
7470 return resultobj;
7471 fail:
7472 return NULL;
7473 }
7474
7475
7476 static PyObject *_wrap_StatusBar_GetBorderY(PyObject *, PyObject *args, PyObject *kwargs) {
7477 PyObject *resultobj = NULL;
7478 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7479 int result;
7480 PyObject * obj0 = 0 ;
7481 char *kwnames[] = {
7482 (char *) "self", NULL
7483 };
7484
7485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
7486 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7487 if (SWIG_arg_fail(1)) SWIG_fail;
7488 {
7489 PyThreadState* __tstate = wxPyBeginAllowThreads();
7490 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
7491
7492 wxPyEndAllowThreads(__tstate);
7493 if (PyErr_Occurred()) SWIG_fail;
7494 }
7495 {
7496 resultobj = SWIG_From_int(static_cast<int >(result));
7497 }
7498 return resultobj;
7499 fail:
7500 return NULL;
7501 }
7502
7503
7504 static PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7505 PyObject *resultobj = NULL;
7506 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7507 wxVisualAttributes result;
7508 PyObject * obj0 = 0 ;
7509 char *kwnames[] = {
7510 (char *) "variant", NULL
7511 };
7512
7513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
7514 if (obj0) {
7515 {
7516 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
7517 if (SWIG_arg_fail(1)) SWIG_fail;
7518 }
7519 }
7520 {
7521 if (!wxPyCheckForApp()) SWIG_fail;
7522 PyThreadState* __tstate = wxPyBeginAllowThreads();
7523 result = wxStatusBar::GetClassDefaultAttributes(arg1);
7524
7525 wxPyEndAllowThreads(__tstate);
7526 if (PyErr_Occurred()) SWIG_fail;
7527 }
7528 {
7529 wxVisualAttributes * resultptr;
7530 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
7531 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
7532 }
7533 return resultobj;
7534 fail:
7535 return NULL;
7536 }
7537
7538
7539 static PyObject * StatusBar_swigregister(PyObject *, PyObject *args) {
7540 PyObject *obj;
7541 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7542 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
7543 Py_INCREF(obj);
7544 return Py_BuildValue((char *)"");
7545 }
7546 static int _wrap_SplitterNameStr_set(PyObject *) {
7547 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
7548 return 1;
7549 }
7550
7551
7552 static PyObject *_wrap_SplitterNameStr_get(void) {
7553 PyObject *pyobj = NULL;
7554
7555 {
7556 #if wxUSE_UNICODE
7557 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
7558 #else
7559 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
7560 #endif
7561 }
7562 return pyobj;
7563 }
7564
7565
7566 static PyObject *_wrap_new_SplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7567 PyObject *resultobj = NULL;
7568 wxWindow *arg1 = (wxWindow *) 0 ;
7569 int arg2 = (int) -1 ;
7570 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7571 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7572 wxSize const &arg4_defvalue = wxDefaultSize ;
7573 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7574 long arg5 = (long) wxSP_3D ;
7575 wxString const &arg6_defvalue = wxPySplitterNameStr ;
7576 wxString *arg6 = (wxString *) &arg6_defvalue ;
7577 wxSplitterWindow *result;
7578 wxPoint temp3 ;
7579 wxSize temp4 ;
7580 bool temp6 = false ;
7581 PyObject * obj0 = 0 ;
7582 PyObject * obj1 = 0 ;
7583 PyObject * obj2 = 0 ;
7584 PyObject * obj3 = 0 ;
7585 PyObject * obj4 = 0 ;
7586 PyObject * obj5 = 0 ;
7587 char *kwnames[] = {
7588 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7589 };
7590
7591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
7592 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7593 if (SWIG_arg_fail(1)) SWIG_fail;
7594 if (obj1) {
7595 {
7596 arg2 = static_cast<int >(SWIG_As_int(obj1));
7597 if (SWIG_arg_fail(2)) SWIG_fail;
7598 }
7599 }
7600 if (obj2) {
7601 {
7602 arg3 = &temp3;
7603 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7604 }
7605 }
7606 if (obj3) {
7607 {
7608 arg4 = &temp4;
7609 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7610 }
7611 }
7612 if (obj4) {
7613 {
7614 arg5 = static_cast<long >(SWIG_As_long(obj4));
7615 if (SWIG_arg_fail(5)) SWIG_fail;
7616 }
7617 }
7618 if (obj5) {
7619 {
7620 arg6 = wxString_in_helper(obj5);
7621 if (arg6 == NULL) SWIG_fail;
7622 temp6 = true;
7623 }
7624 }
7625 {
7626 if (!wxPyCheckForApp()) SWIG_fail;
7627 PyThreadState* __tstate = wxPyBeginAllowThreads();
7628 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7629
7630 wxPyEndAllowThreads(__tstate);
7631 if (PyErr_Occurred()) SWIG_fail;
7632 }
7633 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
7634 {
7635 if (temp6)
7636 delete arg6;
7637 }
7638 return resultobj;
7639 fail:
7640 {
7641 if (temp6)
7642 delete arg6;
7643 }
7644 return NULL;
7645 }
7646
7647
7648 static PyObject *_wrap_new_PreSplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7649 PyObject *resultobj = NULL;
7650 wxSplitterWindow *result;
7651 char *kwnames[] = {
7652 NULL
7653 };
7654
7655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
7656 {
7657 if (!wxPyCheckForApp()) SWIG_fail;
7658 PyThreadState* __tstate = wxPyBeginAllowThreads();
7659 result = (wxSplitterWindow *)new wxSplitterWindow();
7660
7661 wxPyEndAllowThreads(__tstate);
7662 if (PyErr_Occurred()) SWIG_fail;
7663 }
7664 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
7665 return resultobj;
7666 fail:
7667 return NULL;
7668 }
7669
7670
7671 static PyObject *_wrap_SplitterWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7672 PyObject *resultobj = NULL;
7673 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7674 wxWindow *arg2 = (wxWindow *) 0 ;
7675 int arg3 = (int) -1 ;
7676 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7677 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7678 wxSize const &arg5_defvalue = wxDefaultSize ;
7679 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7680 long arg6 = (long) wxSP_3D ;
7681 wxString const &arg7_defvalue = wxPySplitterNameStr ;
7682 wxString *arg7 = (wxString *) &arg7_defvalue ;
7683 bool result;
7684 wxPoint temp4 ;
7685 wxSize temp5 ;
7686 bool temp7 = false ;
7687 PyObject * obj0 = 0 ;
7688 PyObject * obj1 = 0 ;
7689 PyObject * obj2 = 0 ;
7690 PyObject * obj3 = 0 ;
7691 PyObject * obj4 = 0 ;
7692 PyObject * obj5 = 0 ;
7693 PyObject * obj6 = 0 ;
7694 char *kwnames[] = {
7695 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7696 };
7697
7698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
7699 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7700 if (SWIG_arg_fail(1)) SWIG_fail;
7701 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7702 if (SWIG_arg_fail(2)) SWIG_fail;
7703 if (obj2) {
7704 {
7705 arg3 = static_cast<int >(SWIG_As_int(obj2));
7706 if (SWIG_arg_fail(3)) SWIG_fail;
7707 }
7708 }
7709 if (obj3) {
7710 {
7711 arg4 = &temp4;
7712 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7713 }
7714 }
7715 if (obj4) {
7716 {
7717 arg5 = &temp5;
7718 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7719 }
7720 }
7721 if (obj5) {
7722 {
7723 arg6 = static_cast<long >(SWIG_As_long(obj5));
7724 if (SWIG_arg_fail(6)) SWIG_fail;
7725 }
7726 }
7727 if (obj6) {
7728 {
7729 arg7 = wxString_in_helper(obj6);
7730 if (arg7 == NULL) SWIG_fail;
7731 temp7 = true;
7732 }
7733 }
7734 {
7735 PyThreadState* __tstate = wxPyBeginAllowThreads();
7736 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7737
7738 wxPyEndAllowThreads(__tstate);
7739 if (PyErr_Occurred()) SWIG_fail;
7740 }
7741 {
7742 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7743 }
7744 {
7745 if (temp7)
7746 delete arg7;
7747 }
7748 return resultobj;
7749 fail:
7750 {
7751 if (temp7)
7752 delete arg7;
7753 }
7754 return NULL;
7755 }
7756
7757
7758 static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *, PyObject *args, PyObject *kwargs) {
7759 PyObject *resultobj = NULL;
7760 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7761 wxWindow *result;
7762 PyObject * obj0 = 0 ;
7763 char *kwnames[] = {
7764 (char *) "self", NULL
7765 };
7766
7767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
7768 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7769 if (SWIG_arg_fail(1)) SWIG_fail;
7770 {
7771 PyThreadState* __tstate = wxPyBeginAllowThreads();
7772 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
7773
7774 wxPyEndAllowThreads(__tstate);
7775 if (PyErr_Occurred()) SWIG_fail;
7776 }
7777 {
7778 resultobj = wxPyMake_wxObject(result, 0);
7779 }
7780 return resultobj;
7781 fail:
7782 return NULL;
7783 }
7784
7785
7786 static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *, PyObject *args, PyObject *kwargs) {
7787 PyObject *resultobj = NULL;
7788 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7789 wxWindow *result;
7790 PyObject * obj0 = 0 ;
7791 char *kwnames[] = {
7792 (char *) "self", NULL
7793 };
7794
7795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
7796 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7797 if (SWIG_arg_fail(1)) SWIG_fail;
7798 {
7799 PyThreadState* __tstate = wxPyBeginAllowThreads();
7800 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
7801
7802 wxPyEndAllowThreads(__tstate);
7803 if (PyErr_Occurred()) SWIG_fail;
7804 }
7805 {
7806 resultobj = wxPyMake_wxObject(result, 0);
7807 }
7808 return resultobj;
7809 fail:
7810 return NULL;
7811 }
7812
7813
7814 static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
7815 PyObject *resultobj = NULL;
7816 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7817 int arg2 ;
7818 PyObject * obj0 = 0 ;
7819 PyObject * obj1 = 0 ;
7820 char *kwnames[] = {
7821 (char *) "self",(char *) "mode", NULL
7822 };
7823
7824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
7825 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7826 if (SWIG_arg_fail(1)) SWIG_fail;
7827 {
7828 arg2 = static_cast<int >(SWIG_As_int(obj1));
7829 if (SWIG_arg_fail(2)) SWIG_fail;
7830 }
7831 {
7832 PyThreadState* __tstate = wxPyBeginAllowThreads();
7833 (arg1)->SetSplitMode(arg2);
7834
7835 wxPyEndAllowThreads(__tstate);
7836 if (PyErr_Occurred()) SWIG_fail;
7837 }
7838 Py_INCREF(Py_None); resultobj = Py_None;
7839 return resultobj;
7840 fail:
7841 return NULL;
7842 }
7843
7844
7845 static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
7846 PyObject *resultobj = NULL;
7847 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7848 wxSplitMode result;
7849 PyObject * obj0 = 0 ;
7850 char *kwnames[] = {
7851 (char *) "self", NULL
7852 };
7853
7854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
7855 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7856 if (SWIG_arg_fail(1)) SWIG_fail;
7857 {
7858 PyThreadState* __tstate = wxPyBeginAllowThreads();
7859 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
7860
7861 wxPyEndAllowThreads(__tstate);
7862 if (PyErr_Occurred()) SWIG_fail;
7863 }
7864 resultobj = SWIG_From_int((result));
7865 return resultobj;
7866 fail:
7867 return NULL;
7868 }
7869
7870
7871 static PyObject *_wrap_SplitterWindow_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
7872 PyObject *resultobj = NULL;
7873 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7874 wxWindow *arg2 = (wxWindow *) 0 ;
7875 PyObject * obj0 = 0 ;
7876 PyObject * obj1 = 0 ;
7877 char *kwnames[] = {
7878 (char *) "self",(char *) "window", NULL
7879 };
7880
7881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
7882 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7883 if (SWIG_arg_fail(1)) SWIG_fail;
7884 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7885 if (SWIG_arg_fail(2)) SWIG_fail;
7886 {
7887 PyThreadState* __tstate = wxPyBeginAllowThreads();
7888 (arg1)->Initialize(arg2);
7889
7890 wxPyEndAllowThreads(__tstate);
7891 if (PyErr_Occurred()) SWIG_fail;
7892 }
7893 Py_INCREF(Py_None); resultobj = Py_None;
7894 return resultobj;
7895 fail:
7896 return NULL;
7897 }
7898
7899
7900 static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *, PyObject *args, PyObject *kwargs) {
7901 PyObject *resultobj = NULL;
7902 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7903 wxWindow *arg2 = (wxWindow *) 0 ;
7904 wxWindow *arg3 = (wxWindow *) 0 ;
7905 int arg4 = (int) 0 ;
7906 bool result;
7907 PyObject * obj0 = 0 ;
7908 PyObject * obj1 = 0 ;
7909 PyObject * obj2 = 0 ;
7910 PyObject * obj3 = 0 ;
7911 char *kwnames[] = {
7912 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7913 };
7914
7915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7916 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7917 if (SWIG_arg_fail(1)) SWIG_fail;
7918 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7919 if (SWIG_arg_fail(2)) SWIG_fail;
7920 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7921 if (SWIG_arg_fail(3)) SWIG_fail;
7922 if (obj3) {
7923 {
7924 arg4 = static_cast<int >(SWIG_As_int(obj3));
7925 if (SWIG_arg_fail(4)) SWIG_fail;
7926 }
7927 }
7928 {
7929 PyThreadState* __tstate = wxPyBeginAllowThreads();
7930 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
7931
7932 wxPyEndAllowThreads(__tstate);
7933 if (PyErr_Occurred()) SWIG_fail;
7934 }
7935 {
7936 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7937 }
7938 return resultobj;
7939 fail:
7940 return NULL;
7941 }
7942
7943
7944 static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *, PyObject *args, PyObject *kwargs) {
7945 PyObject *resultobj = NULL;
7946 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7947 wxWindow *arg2 = (wxWindow *) 0 ;
7948 wxWindow *arg3 = (wxWindow *) 0 ;
7949 int arg4 = (int) 0 ;
7950 bool result;
7951 PyObject * obj0 = 0 ;
7952 PyObject * obj1 = 0 ;
7953 PyObject * obj2 = 0 ;
7954 PyObject * obj3 = 0 ;
7955 char *kwnames[] = {
7956 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7957 };
7958
7959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7960 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7961 if (SWIG_arg_fail(1)) SWIG_fail;
7962 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7963 if (SWIG_arg_fail(2)) SWIG_fail;
7964 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7965 if (SWIG_arg_fail(3)) SWIG_fail;
7966 if (obj3) {
7967 {
7968 arg4 = static_cast<int >(SWIG_As_int(obj3));
7969 if (SWIG_arg_fail(4)) SWIG_fail;
7970 }
7971 }
7972 {
7973 PyThreadState* __tstate = wxPyBeginAllowThreads();
7974 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
7975
7976 wxPyEndAllowThreads(__tstate);
7977 if (PyErr_Occurred()) SWIG_fail;
7978 }
7979 {
7980 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7981 }
7982 return resultobj;
7983 fail:
7984 return NULL;
7985 }
7986
7987
7988 static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *, PyObject *args, PyObject *kwargs) {
7989 PyObject *resultobj = NULL;
7990 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7991 wxWindow *arg2 = (wxWindow *) NULL ;
7992 bool result;
7993 PyObject * obj0 = 0 ;
7994 PyObject * obj1 = 0 ;
7995 char *kwnames[] = {
7996 (char *) "self",(char *) "toRemove", NULL
7997 };
7998
7999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
8000 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8001 if (SWIG_arg_fail(1)) SWIG_fail;
8002 if (obj1) {
8003 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8004 if (SWIG_arg_fail(2)) SWIG_fail;
8005 }
8006 {
8007 PyThreadState* __tstate = wxPyBeginAllowThreads();
8008 result = (bool)(arg1)->Unsplit(arg2);
8009
8010 wxPyEndAllowThreads(__tstate);
8011 if (PyErr_Occurred()) SWIG_fail;
8012 }
8013 {
8014 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8015 }
8016 return resultobj;
8017 fail:
8018 return NULL;
8019 }
8020
8021
8022 static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8023 PyObject *resultobj = NULL;
8024 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8025 wxWindow *arg2 = (wxWindow *) 0 ;
8026 wxWindow *arg3 = (wxWindow *) 0 ;
8027 bool result;
8028 PyObject * obj0 = 0 ;
8029 PyObject * obj1 = 0 ;
8030 PyObject * obj2 = 0 ;
8031 char *kwnames[] = {
8032 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
8033 };
8034
8035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
8036 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8037 if (SWIG_arg_fail(1)) SWIG_fail;
8038 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8039 if (SWIG_arg_fail(2)) SWIG_fail;
8040 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8041 if (SWIG_arg_fail(3)) SWIG_fail;
8042 {
8043 PyThreadState* __tstate = wxPyBeginAllowThreads();
8044 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
8045
8046 wxPyEndAllowThreads(__tstate);
8047 if (PyErr_Occurred()) SWIG_fail;
8048 }
8049 {
8050 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8051 }
8052 return resultobj;
8053 fail:
8054 return NULL;
8055 }
8056
8057
8058 static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *, PyObject *args, PyObject *kwargs) {
8059 PyObject *resultobj = NULL;
8060 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8061 PyObject * obj0 = 0 ;
8062 char *kwnames[] = {
8063 (char *) "self", NULL
8064 };
8065
8066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail;
8067 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8068 if (SWIG_arg_fail(1)) SWIG_fail;
8069 {
8070 PyThreadState* __tstate = wxPyBeginAllowThreads();
8071 (arg1)->UpdateSize();
8072
8073 wxPyEndAllowThreads(__tstate);
8074 if (PyErr_Occurred()) SWIG_fail;
8075 }
8076 Py_INCREF(Py_None); resultobj = Py_None;
8077 return resultobj;
8078 fail:
8079 return NULL;
8080 }
8081
8082
8083 static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *, PyObject *args, PyObject *kwargs) {
8084 PyObject *resultobj = NULL;
8085 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8086 bool result;
8087 PyObject * obj0 = 0 ;
8088 char *kwnames[] = {
8089 (char *) "self", NULL
8090 };
8091
8092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
8093 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8094 if (SWIG_arg_fail(1)) SWIG_fail;
8095 {
8096 PyThreadState* __tstate = wxPyBeginAllowThreads();
8097 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
8098
8099 wxPyEndAllowThreads(__tstate);
8100 if (PyErr_Occurred()) SWIG_fail;
8101 }
8102 {
8103 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8104 }
8105 return resultobj;
8106 fail:
8107 return NULL;
8108 }
8109
8110
8111 static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
8112 PyObject *resultobj = NULL;
8113 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8114 int arg2 ;
8115 PyObject * obj0 = 0 ;
8116 PyObject * obj1 = 0 ;
8117 char *kwnames[] = {
8118 (char *) "self",(char *) "width", NULL
8119 };
8120
8121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
8122 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8123 if (SWIG_arg_fail(1)) SWIG_fail;
8124 {
8125 arg2 = static_cast<int >(SWIG_As_int(obj1));
8126 if (SWIG_arg_fail(2)) SWIG_fail;
8127 }
8128 {
8129 PyThreadState* __tstate = wxPyBeginAllowThreads();
8130 (arg1)->SetSashSize(arg2);
8131
8132 wxPyEndAllowThreads(__tstate);
8133 if (PyErr_Occurred()) SWIG_fail;
8134 }
8135 Py_INCREF(Py_None); resultobj = Py_None;
8136 return resultobj;
8137 fail:
8138 return NULL;
8139 }
8140
8141
8142 static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
8143 PyObject *resultobj = NULL;
8144 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8145 int arg2 ;
8146 PyObject * obj0 = 0 ;
8147 PyObject * obj1 = 0 ;
8148 char *kwnames[] = {
8149 (char *) "self",(char *) "width", NULL
8150 };
8151
8152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
8153 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8154 if (SWIG_arg_fail(1)) SWIG_fail;
8155 {
8156 arg2 = static_cast<int >(SWIG_As_int(obj1));
8157 if (SWIG_arg_fail(2)) SWIG_fail;
8158 }
8159 {
8160 PyThreadState* __tstate = wxPyBeginAllowThreads();
8161 (arg1)->SetBorderSize(arg2);
8162
8163 wxPyEndAllowThreads(__tstate);
8164 if (PyErr_Occurred()) SWIG_fail;
8165 }
8166 Py_INCREF(Py_None); resultobj = Py_None;
8167 return resultobj;
8168 fail:
8169 return NULL;
8170 }
8171
8172
8173 static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
8174 PyObject *resultobj = NULL;
8175 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8176 int result;
8177 PyObject * obj0 = 0 ;
8178 char *kwnames[] = {
8179 (char *) "self", NULL
8180 };
8181
8182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
8183 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8184 if (SWIG_arg_fail(1)) SWIG_fail;
8185 {
8186 PyThreadState* __tstate = wxPyBeginAllowThreads();
8187 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
8188
8189 wxPyEndAllowThreads(__tstate);
8190 if (PyErr_Occurred()) SWIG_fail;
8191 }
8192 {
8193 resultobj = SWIG_From_int(static_cast<int >(result));
8194 }
8195 return resultobj;
8196 fail:
8197 return NULL;
8198 }
8199
8200
8201 static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
8202 PyObject *resultobj = NULL;
8203 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8204 int result;
8205 PyObject * obj0 = 0 ;
8206 char *kwnames[] = {
8207 (char *) "self", NULL
8208 };
8209
8210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
8211 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8212 if (SWIG_arg_fail(1)) SWIG_fail;
8213 {
8214 PyThreadState* __tstate = wxPyBeginAllowThreads();
8215 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
8216
8217 wxPyEndAllowThreads(__tstate);
8218 if (PyErr_Occurred()) SWIG_fail;
8219 }
8220 {
8221 resultobj = SWIG_From_int(static_cast<int >(result));
8222 }
8223 return resultobj;
8224 fail:
8225 return NULL;
8226 }
8227
8228
8229 static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
8230 PyObject *resultobj = NULL;
8231 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8232 int arg2 ;
8233 bool arg3 = (bool) true ;
8234 PyObject * obj0 = 0 ;
8235 PyObject * obj1 = 0 ;
8236 PyObject * obj2 = 0 ;
8237 char *kwnames[] = {
8238 (char *) "self",(char *) "position",(char *) "redraw", NULL
8239 };
8240
8241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
8242 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8243 if (SWIG_arg_fail(1)) SWIG_fail;
8244 {
8245 arg2 = static_cast<int >(SWIG_As_int(obj1));
8246 if (SWIG_arg_fail(2)) SWIG_fail;
8247 }
8248 if (obj2) {
8249 {
8250 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
8251 if (SWIG_arg_fail(3)) SWIG_fail;
8252 }
8253 }
8254 {
8255 PyThreadState* __tstate = wxPyBeginAllowThreads();
8256 (arg1)->SetSashPosition(arg2,arg3);
8257
8258 wxPyEndAllowThreads(__tstate);
8259 if (PyErr_Occurred()) SWIG_fail;
8260 }
8261 Py_INCREF(Py_None); resultobj = Py_None;
8262 return resultobj;
8263 fail:
8264 return NULL;
8265 }
8266
8267
8268 static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
8269 PyObject *resultobj = NULL;
8270 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8271 int result;
8272 PyObject * obj0 = 0 ;
8273 char *kwnames[] = {
8274 (char *) "self", NULL
8275 };
8276
8277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
8278 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8279 if (SWIG_arg_fail(1)) SWIG_fail;
8280 {
8281 PyThreadState* __tstate = wxPyBeginAllowThreads();
8282 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
8283
8284 wxPyEndAllowThreads(__tstate);
8285 if (PyErr_Occurred()) SWIG_fail;
8286 }
8287 {
8288 resultobj = SWIG_From_int(static_cast<int >(result));
8289 }
8290 return resultobj;
8291 fail:
8292 return NULL;
8293 }
8294
8295
8296 static PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *, PyObject *args, PyObject *kwargs) {
8297 PyObject *resultobj = NULL;
8298 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8299 double arg2 ;
8300 PyObject * obj0 = 0 ;
8301 PyObject * obj1 = 0 ;
8302 char *kwnames[] = {
8303 (char *) "self",(char *) "gravity", NULL
8304 };
8305
8306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) goto fail;
8307 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8308 if (SWIG_arg_fail(1)) SWIG_fail;
8309 {
8310 arg2 = static_cast<double >(SWIG_As_double(obj1));
8311 if (SWIG_arg_fail(2)) SWIG_fail;
8312 }
8313 {
8314 PyThreadState* __tstate = wxPyBeginAllowThreads();
8315 (arg1)->SetSashGravity(arg2);
8316
8317 wxPyEndAllowThreads(__tstate);
8318 if (PyErr_Occurred()) SWIG_fail;
8319 }
8320 Py_INCREF(Py_None); resultobj = Py_None;
8321 return resultobj;
8322 fail:
8323 return NULL;
8324 }
8325
8326
8327 static PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *, PyObject *args, PyObject *kwargs) {
8328 PyObject *resultobj = NULL;
8329 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8330 double result;
8331 PyObject * obj0 = 0 ;
8332 char *kwnames[] = {
8333 (char *) "self", NULL
8334 };
8335
8336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashGravity",kwnames,&obj0)) goto fail;
8337 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8338 if (SWIG_arg_fail(1)) SWIG_fail;
8339 {
8340 PyThreadState* __tstate = wxPyBeginAllowThreads();
8341 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
8342
8343 wxPyEndAllowThreads(__tstate);
8344 if (PyErr_Occurred()) SWIG_fail;
8345 }
8346 {
8347 resultobj = SWIG_From_double(static_cast<double >(result));
8348 }
8349 return resultobj;
8350 fail:
8351 return NULL;
8352 }
8353
8354
8355 static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
8356 PyObject *resultobj = NULL;
8357 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8358 int arg2 ;
8359 PyObject * obj0 = 0 ;
8360 PyObject * obj1 = 0 ;
8361 char *kwnames[] = {
8362 (char *) "self",(char *) "min", NULL
8363 };
8364
8365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
8366 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8367 if (SWIG_arg_fail(1)) SWIG_fail;
8368 {
8369 arg2 = static_cast<int >(SWIG_As_int(obj1));
8370 if (SWIG_arg_fail(2)) SWIG_fail;
8371 }
8372 {
8373 PyThreadState* __tstate = wxPyBeginAllowThreads();
8374 (arg1)->SetMinimumPaneSize(arg2);
8375
8376 wxPyEndAllowThreads(__tstate);
8377 if (PyErr_Occurred()) SWIG_fail;
8378 }
8379 Py_INCREF(Py_None); resultobj = Py_None;
8380 return resultobj;
8381 fail:
8382 return NULL;
8383 }
8384
8385
8386 static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
8387 PyObject *resultobj = NULL;
8388 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8389 int result;
8390 PyObject * obj0 = 0 ;
8391 char *kwnames[] = {
8392 (char *) "self", NULL
8393 };
8394
8395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
8396 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8397 if (SWIG_arg_fail(1)) SWIG_fail;
8398 {
8399 PyThreadState* __tstate = wxPyBeginAllowThreads();
8400 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
8401
8402 wxPyEndAllowThreads(__tstate);
8403 if (PyErr_Occurred()) SWIG_fail;
8404 }
8405 {
8406 resultobj = SWIG_From_int(static_cast<int >(result));
8407 }
8408 return resultobj;
8409 fail:
8410 return NULL;
8411 }
8412
8413
8414 static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
8415 PyObject *resultobj = NULL;
8416 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8417 int arg2 ;
8418 int arg3 ;
8419 int arg4 = (int) 5 ;
8420 bool result;
8421 PyObject * obj0 = 0 ;
8422 PyObject * obj1 = 0 ;
8423 PyObject * obj2 = 0 ;
8424 PyObject * obj3 = 0 ;
8425 char *kwnames[] = {
8426 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
8427 };
8428
8429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8430 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8431 if (SWIG_arg_fail(1)) SWIG_fail;
8432 {
8433 arg2 = static_cast<int >(SWIG_As_int(obj1));
8434 if (SWIG_arg_fail(2)) SWIG_fail;
8435 }
8436 {
8437 arg3 = static_cast<int >(SWIG_As_int(obj2));
8438 if (SWIG_arg_fail(3)) SWIG_fail;
8439 }
8440 if (obj3) {
8441 {
8442 arg4 = static_cast<int >(SWIG_As_int(obj3));
8443 if (SWIG_arg_fail(4)) SWIG_fail;
8444 }
8445 }
8446 {
8447 PyThreadState* __tstate = wxPyBeginAllowThreads();
8448 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
8449
8450 wxPyEndAllowThreads(__tstate);
8451 if (PyErr_Occurred()) SWIG_fail;
8452 }
8453 {
8454 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8455 }
8456 return resultobj;
8457 fail:
8458 return NULL;
8459 }
8460
8461
8462 static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
8463 PyObject *resultobj = NULL;
8464 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8465 PyObject * obj0 = 0 ;
8466 char *kwnames[] = {
8467 (char *) "self", NULL
8468 };
8469
8470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
8471 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8472 if (SWIG_arg_fail(1)) SWIG_fail;
8473 {
8474 PyThreadState* __tstate = wxPyBeginAllowThreads();
8475 (arg1)->SizeWindows();
8476
8477 wxPyEndAllowThreads(__tstate);
8478 if (PyErr_Occurred()) SWIG_fail;
8479 }
8480 Py_INCREF(Py_None); resultobj = Py_None;
8481 return resultobj;
8482 fail:
8483 return NULL;
8484 }
8485
8486
8487 static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
8488 PyObject *resultobj = NULL;
8489 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8490 bool arg2 ;
8491 PyObject * obj0 = 0 ;
8492 PyObject * obj1 = 0 ;
8493 char *kwnames[] = {
8494 (char *) "self",(char *) "needUpdating", NULL
8495 };
8496
8497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
8498 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8499 if (SWIG_arg_fail(1)) SWIG_fail;
8500 {
8501 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
8502 if (SWIG_arg_fail(2)) SWIG_fail;
8503 }
8504 {
8505 PyThreadState* __tstate = wxPyBeginAllowThreads();
8506 (arg1)->SetNeedUpdating(arg2);
8507
8508 wxPyEndAllowThreads(__tstate);
8509 if (PyErr_Occurred()) SWIG_fail;
8510 }
8511 Py_INCREF(Py_None); resultobj = Py_None;
8512 return resultobj;
8513 fail:
8514 return NULL;
8515 }
8516
8517
8518 static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
8519 PyObject *resultobj = NULL;
8520 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8521 bool result;
8522 PyObject * obj0 = 0 ;
8523 char *kwnames[] = {
8524 (char *) "self", NULL
8525 };
8526
8527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
8528 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8529 if (SWIG_arg_fail(1)) SWIG_fail;
8530 {
8531 PyThreadState* __tstate = wxPyBeginAllowThreads();
8532 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
8533
8534 wxPyEndAllowThreads(__tstate);
8535 if (PyErr_Occurred()) SWIG_fail;
8536 }
8537 {
8538 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8539 }
8540 return resultobj;
8541 fail:
8542 return NULL;
8543 }
8544
8545
8546 static PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
8547 PyObject *resultobj = NULL;
8548 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8549 wxVisualAttributes result;
8550 PyObject * obj0 = 0 ;
8551 char *kwnames[] = {
8552 (char *) "variant", NULL
8553 };
8554
8555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
8556 if (obj0) {
8557 {
8558 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
8559 if (SWIG_arg_fail(1)) SWIG_fail;
8560 }
8561 }
8562 {
8563 if (!wxPyCheckForApp()) SWIG_fail;
8564 PyThreadState* __tstate = wxPyBeginAllowThreads();
8565 result = wxSplitterWindow::GetClassDefaultAttributes(arg1);
8566
8567 wxPyEndAllowThreads(__tstate);
8568 if (PyErr_Occurred()) SWIG_fail;
8569 }
8570 {
8571 wxVisualAttributes * resultptr;
8572 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
8573 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
8574 }
8575 return resultobj;
8576 fail:
8577 return NULL;
8578 }
8579
8580
8581 static PyObject * SplitterWindow_swigregister(PyObject *, PyObject *args) {
8582 PyObject *obj;
8583 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8584 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
8585 Py_INCREF(obj);
8586 return Py_BuildValue((char *)"");
8587 }
8588 static PyObject *_wrap_new_SplitterEvent(PyObject *, PyObject *args, PyObject *kwargs) {
8589 PyObject *resultobj = NULL;
8590 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
8591 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
8592 wxSplitterEvent *result;
8593 PyObject * obj0 = 0 ;
8594 PyObject * obj1 = 0 ;
8595 char *kwnames[] = {
8596 (char *) "type",(char *) "splitter", NULL
8597 };
8598
8599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
8600 if (obj0) {
8601 {
8602 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
8603 if (SWIG_arg_fail(1)) SWIG_fail;
8604 }
8605 }
8606 if (obj1) {
8607 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8608 if (SWIG_arg_fail(2)) SWIG_fail;
8609 }
8610 {
8611 PyThreadState* __tstate = wxPyBeginAllowThreads();
8612 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
8613
8614 wxPyEndAllowThreads(__tstate);
8615 if (PyErr_Occurred()) SWIG_fail;
8616 }
8617 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1);
8618 return resultobj;
8619 fail:
8620 return NULL;
8621 }
8622
8623
8624 static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
8625 PyObject *resultobj = NULL;
8626 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8627 int arg2 ;
8628 PyObject * obj0 = 0 ;
8629 PyObject * obj1 = 0 ;
8630 char *kwnames[] = {
8631 (char *) "self",(char *) "pos", NULL
8632 };
8633
8634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
8635 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8636 if (SWIG_arg_fail(1)) SWIG_fail;
8637 {
8638 arg2 = static_cast<int >(SWIG_As_int(obj1));
8639 if (SWIG_arg_fail(2)) SWIG_fail;
8640 }
8641 {
8642 PyThreadState* __tstate = wxPyBeginAllowThreads();
8643 (arg1)->SetSashPosition(arg2);
8644
8645 wxPyEndAllowThreads(__tstate);
8646 if (PyErr_Occurred()) SWIG_fail;
8647 }
8648 Py_INCREF(Py_None); resultobj = Py_None;
8649 return resultobj;
8650 fail:
8651 return NULL;
8652 }
8653
8654
8655 static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
8656 PyObject *resultobj = NULL;
8657 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8658 int result;
8659 PyObject * obj0 = 0 ;
8660 char *kwnames[] = {
8661 (char *) "self", NULL
8662 };
8663
8664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
8665 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8666 if (SWIG_arg_fail(1)) SWIG_fail;
8667 {
8668 PyThreadState* __tstate = wxPyBeginAllowThreads();
8669 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
8670
8671 wxPyEndAllowThreads(__tstate);
8672 if (PyErr_Occurred()) SWIG_fail;
8673 }
8674 {
8675 resultobj = SWIG_From_int(static_cast<int >(result));
8676 }
8677 return resultobj;
8678 fail:
8679 return NULL;
8680 }
8681
8682
8683 static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *, PyObject *args, PyObject *kwargs) {
8684 PyObject *resultobj = NULL;
8685 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8686 wxWindow *result;
8687 PyObject * obj0 = 0 ;
8688 char *kwnames[] = {
8689 (char *) "self", NULL
8690 };
8691
8692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
8693 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8694 if (SWIG_arg_fail(1)) SWIG_fail;
8695 {
8696 PyThreadState* __tstate = wxPyBeginAllowThreads();
8697 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
8698
8699 wxPyEndAllowThreads(__tstate);
8700 if (PyErr_Occurred()) SWIG_fail;
8701 }
8702 {
8703 resultobj = wxPyMake_wxObject(result, 0);
8704 }
8705 return resultobj;
8706 fail:
8707 return NULL;
8708 }
8709
8710
8711 static PyObject *_wrap_SplitterEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
8712 PyObject *resultobj = NULL;
8713 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8714 int result;
8715 PyObject * obj0 = 0 ;
8716 char *kwnames[] = {
8717 (char *) "self", NULL
8718 };
8719
8720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
8721 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8722 if (SWIG_arg_fail(1)) SWIG_fail;
8723 {
8724 PyThreadState* __tstate = wxPyBeginAllowThreads();
8725 result = (int)((wxSplitterEvent const *)arg1)->GetX();
8726
8727 wxPyEndAllowThreads(__tstate);
8728 if (PyErr_Occurred()) SWIG_fail;
8729 }
8730 {
8731 resultobj = SWIG_From_int(static_cast<int >(result));
8732 }
8733 return resultobj;
8734 fail:
8735 return NULL;
8736 }
8737
8738
8739 static PyObject *_wrap_SplitterEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
8740 PyObject *resultobj = NULL;
8741 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8742 int result;
8743 PyObject * obj0 = 0 ;
8744 char *kwnames[] = {
8745 (char *) "self", NULL
8746 };
8747
8748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
8749 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8750 if (SWIG_arg_fail(1)) SWIG_fail;
8751 {
8752 PyThreadState* __tstate = wxPyBeginAllowThreads();
8753 result = (int)((wxSplitterEvent const *)arg1)->GetY();
8754
8755 wxPyEndAllowThreads(__tstate);
8756 if (PyErr_Occurred()) SWIG_fail;
8757 }
8758 {
8759 resultobj = SWIG_From_int(static_cast<int >(result));
8760 }
8761 return resultobj;
8762 fail:
8763 return NULL;
8764 }
8765
8766
8767 static PyObject * SplitterEvent_swigregister(PyObject *, PyObject *args) {
8768 PyObject *obj;
8769 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8770 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
8771 Py_INCREF(obj);
8772 return Py_BuildValue((char *)"");
8773 }
8774 static int _wrap_SashNameStr_set(PyObject *) {
8775 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
8776 return 1;
8777 }
8778
8779
8780 static PyObject *_wrap_SashNameStr_get(void) {
8781 PyObject *pyobj = NULL;
8782
8783 {
8784 #if wxUSE_UNICODE
8785 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
8786 #else
8787 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
8788 #endif
8789 }
8790 return pyobj;
8791 }
8792
8793
8794 static int _wrap_SashLayoutNameStr_set(PyObject *) {
8795 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
8796 return 1;
8797 }
8798
8799
8800 static PyObject *_wrap_SashLayoutNameStr_get(void) {
8801 PyObject *pyobj = NULL;
8802
8803 {
8804 #if wxUSE_UNICODE
8805 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
8806 #else
8807 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
8808 #endif
8809 }
8810 return pyobj;
8811 }
8812
8813
8814 static PyObject *_wrap_new_SashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8815 PyObject *resultobj = NULL;
8816 wxWindow *arg1 = (wxWindow *) 0 ;
8817 int arg2 = (int) -1 ;
8818 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8819 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8820 wxSize const &arg4_defvalue = wxDefaultSize ;
8821 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8822 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8823 wxString const &arg6_defvalue = wxPySashNameStr ;
8824 wxString *arg6 = (wxString *) &arg6_defvalue ;
8825 wxSashWindow *result;
8826 wxPoint temp3 ;
8827 wxSize temp4 ;
8828 bool temp6 = false ;
8829 PyObject * obj0 = 0 ;
8830 PyObject * obj1 = 0 ;
8831 PyObject * obj2 = 0 ;
8832 PyObject * obj3 = 0 ;
8833 PyObject * obj4 = 0 ;
8834 PyObject * obj5 = 0 ;
8835 char *kwnames[] = {
8836 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8837 };
8838
8839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8840 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8841 if (SWIG_arg_fail(1)) SWIG_fail;
8842 if (obj1) {
8843 {
8844 arg2 = static_cast<int >(SWIG_As_int(obj1));
8845 if (SWIG_arg_fail(2)) SWIG_fail;
8846 }
8847 }
8848 if (obj2) {
8849 {
8850 arg3 = &temp3;
8851 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8852 }
8853 }
8854 if (obj3) {
8855 {
8856 arg4 = &temp4;
8857 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8858 }
8859 }
8860 if (obj4) {
8861 {
8862 arg5 = static_cast<long >(SWIG_As_long(obj4));
8863 if (SWIG_arg_fail(5)) SWIG_fail;
8864 }
8865 }
8866 if (obj5) {
8867 {
8868 arg6 = wxString_in_helper(obj5);
8869 if (arg6 == NULL) SWIG_fail;
8870 temp6 = true;
8871 }
8872 }
8873 {
8874 if (!wxPyCheckForApp()) SWIG_fail;
8875 PyThreadState* __tstate = wxPyBeginAllowThreads();
8876 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8877
8878 wxPyEndAllowThreads(__tstate);
8879 if (PyErr_Occurred()) SWIG_fail;
8880 }
8881 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
8882 {
8883 if (temp6)
8884 delete arg6;
8885 }
8886 return resultobj;
8887 fail:
8888 {
8889 if (temp6)
8890 delete arg6;
8891 }
8892 return NULL;
8893 }
8894
8895
8896 static PyObject *_wrap_new_PreSashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8897 PyObject *resultobj = NULL;
8898 wxSashWindow *result;
8899 char *kwnames[] = {
8900 NULL
8901 };
8902
8903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
8904 {
8905 if (!wxPyCheckForApp()) SWIG_fail;
8906 PyThreadState* __tstate = wxPyBeginAllowThreads();
8907 result = (wxSashWindow *)new wxSashWindow();
8908
8909 wxPyEndAllowThreads(__tstate);
8910 if (PyErr_Occurred()) SWIG_fail;
8911 }
8912 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
8913 return resultobj;
8914 fail:
8915 return NULL;
8916 }
8917
8918
8919 static PyObject *_wrap_SashWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
8920 PyObject *resultobj = NULL;
8921 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8922 wxWindow *arg2 = (wxWindow *) 0 ;
8923 int arg3 = (int) -1 ;
8924 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8925 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8926 wxSize const &arg5_defvalue = wxDefaultSize ;
8927 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8928 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8929 wxString const &arg7_defvalue = wxPySashNameStr ;
8930 wxString *arg7 = (wxString *) &arg7_defvalue ;
8931 bool result;
8932 wxPoint temp4 ;
8933 wxSize temp5 ;
8934 bool temp7 = false ;
8935 PyObject * obj0 = 0 ;
8936 PyObject * obj1 = 0 ;
8937 PyObject * obj2 = 0 ;
8938 PyObject * obj3 = 0 ;
8939 PyObject * obj4 = 0 ;
8940 PyObject * obj5 = 0 ;
8941 PyObject * obj6 = 0 ;
8942 char *kwnames[] = {
8943 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8944 };
8945
8946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8947 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8948 if (SWIG_arg_fail(1)) SWIG_fail;
8949 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8950 if (SWIG_arg_fail(2)) SWIG_fail;
8951 if (obj2) {
8952 {
8953 arg3 = static_cast<int >(SWIG_As_int(obj2));
8954 if (SWIG_arg_fail(3)) SWIG_fail;
8955 }
8956 }
8957 if (obj3) {
8958 {
8959 arg4 = &temp4;
8960 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8961 }
8962 }
8963 if (obj4) {
8964 {
8965 arg5 = &temp5;
8966 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8967 }
8968 }
8969 if (obj5) {
8970 {
8971 arg6 = static_cast<long >(SWIG_As_long(obj5));
8972 if (SWIG_arg_fail(6)) SWIG_fail;
8973 }
8974 }
8975 if (obj6) {
8976 {
8977 arg7 = wxString_in_helper(obj6);
8978 if (arg7 == NULL) SWIG_fail;
8979 temp7 = true;
8980 }
8981 }
8982 {
8983 PyThreadState* __tstate = wxPyBeginAllowThreads();
8984 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8985
8986 wxPyEndAllowThreads(__tstate);
8987 if (PyErr_Occurred()) SWIG_fail;
8988 }
8989 {
8990 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8991 }
8992 {
8993 if (temp7)
8994 delete arg7;
8995 }
8996 return resultobj;
8997 fail:
8998 {
8999 if (temp7)
9000 delete arg7;
9001 }
9002 return NULL;
9003 }
9004
9005
9006 static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
9007 PyObject *resultobj = NULL;
9008 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9009 wxSashEdgePosition arg2 ;
9010 bool arg3 ;
9011 PyObject * obj0 = 0 ;
9012 PyObject * obj1 = 0 ;
9013 PyObject * obj2 = 0 ;
9014 char *kwnames[] = {
9015 (char *) "self",(char *) "edge",(char *) "sash", NULL
9016 };
9017
9018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
9019 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9020 if (SWIG_arg_fail(1)) SWIG_fail;
9021 {
9022 arg2 = static_cast<wxSashEdgePosition >(SWIG_As_int(obj1));
9023 if (SWIG_arg_fail(2)) SWIG_fail;
9024 }
9025 {
9026 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
9027 if (SWIG_arg_fail(3)) SWIG_fail;
9028 }
9029 {
9030 PyThreadState* __tstate = wxPyBeginAllowThreads();
9031 (arg1)->SetSashVisible(arg2,arg3);
9032
9033 wxPyEndAllowThreads(__tstate);
9034 if (PyErr_Occurred()) SWIG_fail;
9035 }
9036 Py_INCREF(Py_None); resultobj = Py_None;
9037 return resultobj;
9038 fail:
9039 return NULL;
9040 }
9041
9042
9043 static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
9044 PyObject *resultobj = NULL;
9045 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9046 wxSashEdgePosition arg2 ;
9047 bool result;
9048 PyObject * obj0 = 0 ;
9049 PyObject * obj1 = 0 ;
9050 char *kwnames[] = {
9051 (char *) "self",(char *) "edge", NULL
9052 };
9053
9054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
9055 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9056 if (SWIG_arg_fail(1)) SWIG_fail;
9057 {
9058 arg2 = static_cast<wxSashEdgePosition >(SWIG_As_int(obj1));
9059 if (SWIG_arg_fail(2)) SWIG_fail;
9060 }
9061 {
9062 PyThreadState* __tstate = wxPyBeginAllowThreads();
9063 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible(arg2);
9064
9065 wxPyEndAllowThreads(__tstate);
9066 if (PyErr_Occurred()) SWIG_fail;
9067 }
9068 {
9069 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9070 }
9071 return resultobj;
9072 fail:
9073 return NULL;
9074 }
9075
9076
9077 static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *, PyObject *args, PyObject *kwargs) {
9078 PyObject *resultobj = NULL;
9079 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9080 wxSashEdgePosition arg2 ;
9081 bool arg3 ;
9082 PyObject * obj0 = 0 ;
9083 PyObject * obj1 = 0 ;
9084 PyObject * obj2 = 0 ;
9085 char *kwnames[] = {
9086 (char *) "self",(char *) "edge",(char *) "border", NULL
9087 };
9088
9089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
9090 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9091 if (SWIG_arg_fail(1)) SWIG_fail;
9092 {
9093 arg2 = static_cast<wxSashEdgePosition >(SWIG_As_int(obj1));
9094 if (SWIG_arg_fail(2)) SWIG_fail;
9095 }
9096 {
9097 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
9098 if (SWIG_arg_fail(3)) SWIG_fail;
9099 }
9100 {
9101 PyThreadState* __tstate = wxPyBeginAllowThreads();
9102 (arg1)->SetSashBorder(arg2,arg3);
9103
9104 wxPyEndAllowThreads(__tstate);
9105 if (PyErr_Occurred()) SWIG_fail;
9106 }
9107 Py_INCREF(Py_None); resultobj = Py_None;
9108 return resultobj;
9109 fail:
9110 return NULL;
9111 }
9112
9113
9114 static PyObject *_wrap_SashWindow_HasBorder(PyObject *, PyObject *args, PyObject *kwargs) {
9115 PyObject *resultobj = NULL;
9116 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9117 wxSashEdgePosition arg2 ;
9118 bool result;
9119 PyObject * obj0 = 0 ;
9120 PyObject * obj1 = 0 ;
9121 char *kwnames[] = {
9122 (char *) "self",(char *) "edge", NULL
9123 };
9124
9125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail;
9126 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9127 if (SWIG_arg_fail(1)) SWIG_fail;
9128 {
9129 arg2 = static_cast<wxSashEdgePosition >(SWIG_As_int(obj1));
9130 if (SWIG_arg_fail(2)) SWIG_fail;
9131 }
9132 {
9133 PyThreadState* __tstate = wxPyBeginAllowThreads();
9134 result = (bool)((wxSashWindow const *)arg1)->HasBorder(arg2);
9135
9136 wxPyEndAllowThreads(__tstate);
9137 if (PyErr_Occurred()) SWIG_fail;
9138 }
9139 {
9140 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9141 }
9142 return resultobj;
9143 fail:
9144 return NULL;
9145 }
9146
9147
9148 static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *, PyObject *args, PyObject *kwargs) {
9149 PyObject *resultobj = NULL;
9150 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9151 wxSashEdgePosition arg2 ;
9152 int result;
9153 PyObject * obj0 = 0 ;
9154 PyObject * obj1 = 0 ;
9155 char *kwnames[] = {
9156 (char *) "self",(char *) "edge", NULL
9157 };
9158
9159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
9160 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9161 if (SWIG_arg_fail(1)) SWIG_fail;
9162 {
9163 arg2 = static_cast<wxSashEdgePosition >(SWIG_As_int(obj1));
9164 if (SWIG_arg_fail(2)) SWIG_fail;
9165 }
9166 {
9167 PyThreadState* __tstate = wxPyBeginAllowThreads();
9168 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin(arg2);
9169
9170 wxPyEndAllowThreads(__tstate);
9171 if (PyErr_Occurred()) SWIG_fail;
9172 }
9173 {
9174 resultobj = SWIG_From_int(static_cast<int >(result));
9175 }
9176 return resultobj;
9177 fail:
9178 return NULL;
9179 }
9180
9181
9182 static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
9183 PyObject *resultobj = NULL;
9184 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9185 int arg2 ;
9186 PyObject * obj0 = 0 ;
9187 PyObject * obj1 = 0 ;
9188 char *kwnames[] = {
9189 (char *) "self",(char *) "width", NULL
9190 };
9191
9192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
9193 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9194 if (SWIG_arg_fail(1)) SWIG_fail;
9195 {
9196 arg2 = static_cast<int >(SWIG_As_int(obj1));
9197 if (SWIG_arg_fail(2)) SWIG_fail;
9198 }
9199 {
9200 PyThreadState* __tstate = wxPyBeginAllowThreads();
9201 (arg1)->SetDefaultBorderSize(arg2);
9202
9203 wxPyEndAllowThreads(__tstate);
9204 if (PyErr_Occurred()) SWIG_fail;
9205 }
9206 Py_INCREF(Py_None); resultobj = Py_None;
9207 return resultobj;
9208 fail:
9209 return NULL;
9210 }
9211
9212
9213 static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
9214 PyObject *resultobj = NULL;
9215 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9216 int result;
9217 PyObject * obj0 = 0 ;
9218 char *kwnames[] = {
9219 (char *) "self", NULL
9220 };
9221
9222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
9223 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9224 if (SWIG_arg_fail(1)) SWIG_fail;
9225 {
9226 PyThreadState* __tstate = wxPyBeginAllowThreads();
9227 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
9228
9229 wxPyEndAllowThreads(__tstate);
9230 if (PyErr_Occurred()) SWIG_fail;
9231 }
9232 {
9233 resultobj = SWIG_From_int(static_cast<int >(result));
9234 }
9235 return resultobj;
9236 fail:
9237 return NULL;
9238 }
9239
9240
9241 static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
9242 PyObject *resultobj = NULL;
9243 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9244 int arg2 ;
9245 PyObject * obj0 = 0 ;
9246 PyObject * obj1 = 0 ;
9247 char *kwnames[] = {
9248 (char *) "self",(char *) "width", NULL
9249 };
9250
9251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
9252 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9253 if (SWIG_arg_fail(1)) SWIG_fail;
9254 {
9255 arg2 = static_cast<int >(SWIG_As_int(obj1));
9256 if (SWIG_arg_fail(2)) SWIG_fail;
9257 }
9258 {
9259 PyThreadState* __tstate = wxPyBeginAllowThreads();
9260 (arg1)->SetExtraBorderSize(arg2);
9261
9262 wxPyEndAllowThreads(__tstate);
9263 if (PyErr_Occurred()) SWIG_fail;
9264 }
9265 Py_INCREF(Py_None); resultobj = Py_None;
9266 return resultobj;
9267 fail:
9268 return NULL;
9269 }
9270
9271
9272 static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
9273 PyObject *resultobj = NULL;
9274 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9275 int result;
9276 PyObject * obj0 = 0 ;
9277 char *kwnames[] = {
9278 (char *) "self", NULL
9279 };
9280
9281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
9282 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9283 if (SWIG_arg_fail(1)) SWIG_fail;
9284 {
9285 PyThreadState* __tstate = wxPyBeginAllowThreads();
9286 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
9287
9288 wxPyEndAllowThreads(__tstate);
9289 if (PyErr_Occurred()) SWIG_fail;
9290 }
9291 {
9292 resultobj = SWIG_From_int(static_cast<int >(result));
9293 }
9294 return resultobj;
9295 fail:
9296 return NULL;
9297 }
9298
9299
9300 static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
9301 PyObject *resultobj = NULL;
9302 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9303 int arg2 ;
9304 PyObject * obj0 = 0 ;
9305 PyObject * obj1 = 0 ;
9306 char *kwnames[] = {
9307 (char *) "self",(char *) "min", NULL
9308 };
9309
9310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
9311 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9312 if (SWIG_arg_fail(1)) SWIG_fail;
9313 {
9314 arg2 = static_cast<int >(SWIG_As_int(obj1));
9315 if (SWIG_arg_fail(2)) SWIG_fail;
9316 }
9317 {
9318 PyThreadState* __tstate = wxPyBeginAllowThreads();
9319 (arg1)->SetMinimumSizeX(arg2);
9320
9321 wxPyEndAllowThreads(__tstate);
9322 if (PyErr_Occurred()) SWIG_fail;
9323 }
9324 Py_INCREF(Py_None); resultobj = Py_None;
9325 return resultobj;
9326 fail:
9327 return NULL;
9328 }
9329
9330
9331 static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
9332 PyObject *resultobj = NULL;
9333 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9334 int arg2 ;
9335 PyObject * obj0 = 0 ;
9336 PyObject * obj1 = 0 ;
9337 char *kwnames[] = {
9338 (char *) "self",(char *) "min", NULL
9339 };
9340
9341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
9342 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9343 if (SWIG_arg_fail(1)) SWIG_fail;
9344 {
9345 arg2 = static_cast<int >(SWIG_As_int(obj1));
9346 if (SWIG_arg_fail(2)) SWIG_fail;
9347 }
9348 {
9349 PyThreadState* __tstate = wxPyBeginAllowThreads();
9350 (arg1)->SetMinimumSizeY(arg2);
9351
9352 wxPyEndAllowThreads(__tstate);
9353 if (PyErr_Occurred()) SWIG_fail;
9354 }
9355 Py_INCREF(Py_None); resultobj = Py_None;
9356 return resultobj;
9357 fail:
9358 return NULL;
9359 }
9360
9361
9362 static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
9363 PyObject *resultobj = NULL;
9364 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9365 int result;
9366 PyObject * obj0 = 0 ;
9367 char *kwnames[] = {
9368 (char *) "self", NULL
9369 };
9370
9371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
9372 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9373 if (SWIG_arg_fail(1)) SWIG_fail;
9374 {
9375 PyThreadState* __tstate = wxPyBeginAllowThreads();
9376 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
9377
9378 wxPyEndAllowThreads(__tstate);
9379 if (PyErr_Occurred()) SWIG_fail;
9380 }
9381 {
9382 resultobj = SWIG_From_int(static_cast<int >(result));
9383 }
9384 return resultobj;
9385 fail:
9386 return NULL;
9387 }
9388
9389
9390 static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
9391 PyObject *resultobj = NULL;
9392 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9393 int result;
9394 PyObject * obj0 = 0 ;
9395 char *kwnames[] = {
9396 (char *) "self", NULL
9397 };
9398
9399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
9400 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9401 if (SWIG_arg_fail(1)) SWIG_fail;
9402 {
9403 PyThreadState* __tstate = wxPyBeginAllowThreads();
9404 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
9405
9406 wxPyEndAllowThreads(__tstate);
9407 if (PyErr_Occurred()) SWIG_fail;
9408 }
9409 {
9410 resultobj = SWIG_From_int(static_cast<int >(result));
9411 }
9412 return resultobj;
9413 fail:
9414 return NULL;
9415 }
9416
9417
9418 static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
9419 PyObject *resultobj = NULL;
9420 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9421 int arg2 ;
9422 PyObject * obj0 = 0 ;
9423 PyObject * obj1 = 0 ;
9424 char *kwnames[] = {
9425 (char *) "self",(char *) "max", NULL
9426 };
9427
9428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
9429 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9430 if (SWIG_arg_fail(1)) SWIG_fail;
9431 {
9432 arg2 = static_cast<int >(SWIG_As_int(obj1));
9433 if (SWIG_arg_fail(2)) SWIG_fail;
9434 }
9435 {
9436 PyThreadState* __tstate = wxPyBeginAllowThreads();
9437 (arg1)->SetMaximumSizeX(arg2);
9438
9439 wxPyEndAllowThreads(__tstate);
9440 if (PyErr_Occurred()) SWIG_fail;
9441 }
9442 Py_INCREF(Py_None); resultobj = Py_None;
9443 return resultobj;
9444 fail:
9445 return NULL;
9446 }
9447
9448
9449 static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
9450 PyObject *resultobj = NULL;
9451 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9452 int arg2 ;
9453 PyObject * obj0 = 0 ;
9454 PyObject * obj1 = 0 ;
9455 char *kwnames[] = {
9456 (char *) "self",(char *) "max", NULL
9457 };
9458
9459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
9460 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9461 if (SWIG_arg_fail(1)) SWIG_fail;
9462 {
9463 arg2 = static_cast<int >(SWIG_As_int(obj1));
9464 if (SWIG_arg_fail(2)) SWIG_fail;
9465 }
9466 {
9467 PyThreadState* __tstate = wxPyBeginAllowThreads();
9468 (arg1)->SetMaximumSizeY(arg2);
9469
9470 wxPyEndAllowThreads(__tstate);
9471 if (PyErr_Occurred()) SWIG_fail;
9472 }
9473 Py_INCREF(Py_None); resultobj = Py_None;
9474 return resultobj;
9475 fail:
9476 return NULL;
9477 }
9478
9479
9480 static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
9481 PyObject *resultobj = NULL;
9482 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9483 int result;
9484 PyObject * obj0 = 0 ;
9485 char *kwnames[] = {
9486 (char *) "self", NULL
9487 };
9488
9489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
9490 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9491 if (SWIG_arg_fail(1)) SWIG_fail;
9492 {
9493 PyThreadState* __tstate = wxPyBeginAllowThreads();
9494 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
9495
9496 wxPyEndAllowThreads(__tstate);
9497 if (PyErr_Occurred()) SWIG_fail;
9498 }
9499 {
9500 resultobj = SWIG_From_int(static_cast<int >(result));
9501 }
9502 return resultobj;
9503 fail:
9504 return NULL;
9505 }
9506
9507
9508 static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
9509 PyObject *resultobj = NULL;
9510 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9511 int result;
9512 PyObject * obj0 = 0 ;
9513 char *kwnames[] = {
9514 (char *) "self", NULL
9515 };
9516
9517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
9518 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9519 if (SWIG_arg_fail(1)) SWIG_fail;
9520 {
9521 PyThreadState* __tstate = wxPyBeginAllowThreads();
9522 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
9523
9524 wxPyEndAllowThreads(__tstate);
9525 if (PyErr_Occurred()) SWIG_fail;
9526 }
9527 {
9528 resultobj = SWIG_From_int(static_cast<int >(result));
9529 }
9530 return resultobj;
9531 fail:
9532 return NULL;
9533 }
9534
9535
9536 static PyObject *_wrap_SashWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
9537 PyObject *resultobj = NULL;
9538 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9539 int arg2 ;
9540 int arg3 ;
9541 int arg4 = (int) 2 ;
9542 wxSashEdgePosition result;
9543 PyObject * obj0 = 0 ;
9544 PyObject * obj1 = 0 ;
9545 PyObject * obj2 = 0 ;
9546 PyObject * obj3 = 0 ;
9547 char *kwnames[] = {
9548 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
9549 };
9550
9551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9552 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9553 if (SWIG_arg_fail(1)) SWIG_fail;
9554 {
9555 arg2 = static_cast<int >(SWIG_As_int(obj1));
9556 if (SWIG_arg_fail(2)) SWIG_fail;
9557 }
9558 {
9559 arg3 = static_cast<int >(SWIG_As_int(obj2));
9560 if (SWIG_arg_fail(3)) SWIG_fail;
9561 }
9562 if (obj3) {
9563 {
9564 arg4 = static_cast<int >(SWIG_As_int(obj3));
9565 if (SWIG_arg_fail(4)) SWIG_fail;
9566 }
9567 }
9568 {
9569 PyThreadState* __tstate = wxPyBeginAllowThreads();
9570 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
9571
9572 wxPyEndAllowThreads(__tstate);
9573 if (PyErr_Occurred()) SWIG_fail;
9574 }
9575 resultobj = SWIG_From_int((result));
9576 return resultobj;
9577 fail:
9578 return NULL;
9579 }
9580
9581
9582 static PyObject *_wrap_SashWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
9583 PyObject *resultobj = NULL;
9584 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9585 PyObject * obj0 = 0 ;
9586 char *kwnames[] = {
9587 (char *) "self", NULL
9588 };
9589
9590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
9591 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9592 if (SWIG_arg_fail(1)) SWIG_fail;
9593 {
9594 PyThreadState* __tstate = wxPyBeginAllowThreads();
9595 (arg1)->SizeWindows();
9596
9597 wxPyEndAllowThreads(__tstate);
9598 if (PyErr_Occurred()) SWIG_fail;
9599 }
9600 Py_INCREF(Py_None); resultobj = Py_None;
9601 return resultobj;
9602 fail:
9603 return NULL;
9604 }
9605
9606
9607 static PyObject * SashWindow_swigregister(PyObject *, PyObject *args) {
9608 PyObject *obj;
9609 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9610 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
9611 Py_INCREF(obj);
9612 return Py_BuildValue((char *)"");
9613 }
9614 static PyObject *_wrap_new_SashEvent(PyObject *, PyObject *args, PyObject *kwargs) {
9615 PyObject *resultobj = NULL;
9616 int arg1 = (int) 0 ;
9617 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
9618 wxSashEvent *result;
9619 PyObject * obj0 = 0 ;
9620 PyObject * obj1 = 0 ;
9621 char *kwnames[] = {
9622 (char *) "id",(char *) "edge", NULL
9623 };
9624
9625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
9626 if (obj0) {
9627 {
9628 arg1 = static_cast<int >(SWIG_As_int(obj0));
9629 if (SWIG_arg_fail(1)) SWIG_fail;
9630 }
9631 }
9632 if (obj1) {
9633 {
9634 arg2 = static_cast<wxSashEdgePosition >(SWIG_As_int(obj1));
9635 if (SWIG_arg_fail(2)) SWIG_fail;
9636 }
9637 }
9638 {
9639 PyThreadState* __tstate = wxPyBeginAllowThreads();
9640 result = (wxSashEvent *)new wxSashEvent(arg1,arg2);
9641
9642 wxPyEndAllowThreads(__tstate);
9643 if (PyErr_Occurred()) SWIG_fail;
9644 }
9645 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1);
9646 return resultobj;
9647 fail:
9648 return NULL;
9649 }
9650
9651
9652 static PyObject *_wrap_SashEvent_SetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
9653 PyObject *resultobj = NULL;
9654 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9655 wxSashEdgePosition arg2 ;
9656 PyObject * obj0 = 0 ;
9657 PyObject * obj1 = 0 ;
9658 char *kwnames[] = {
9659 (char *) "self",(char *) "edge", NULL
9660 };
9661
9662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
9663 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9664 if (SWIG_arg_fail(1)) SWIG_fail;
9665 {
9666 arg2 = static_cast<wxSashEdgePosition >(SWIG_As_int(obj1));
9667 if (SWIG_arg_fail(2)) SWIG_fail;
9668 }
9669 {
9670 PyThreadState* __tstate = wxPyBeginAllowThreads();
9671 (arg1)->SetEdge(arg2);
9672
9673 wxPyEndAllowThreads(__tstate);
9674 if (PyErr_Occurred()) SWIG_fail;
9675 }
9676 Py_INCREF(Py_None); resultobj = Py_None;
9677 return resultobj;
9678 fail:
9679 return NULL;
9680 }
9681
9682
9683 static PyObject *_wrap_SashEvent_GetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
9684 PyObject *resultobj = NULL;
9685 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9686 wxSashEdgePosition result;
9687 PyObject * obj0 = 0 ;
9688 char *kwnames[] = {
9689 (char *) "self", NULL
9690 };
9691
9692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
9693 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9694 if (SWIG_arg_fail(1)) SWIG_fail;
9695 {
9696 PyThreadState* __tstate = wxPyBeginAllowThreads();
9697 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
9698
9699 wxPyEndAllowThreads(__tstate);
9700 if (PyErr_Occurred()) SWIG_fail;
9701 }
9702 resultobj = SWIG_From_int((result));
9703 return resultobj;
9704 fail:
9705 return NULL;
9706 }
9707
9708
9709 static PyObject *_wrap_SashEvent_SetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
9710 PyObject *resultobj = NULL;
9711 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9712 wxRect *arg2 = 0 ;
9713 wxRect temp2 ;
9714 PyObject * obj0 = 0 ;
9715 PyObject * obj1 = 0 ;
9716 char *kwnames[] = {
9717 (char *) "self",(char *) "rect", NULL
9718 };
9719
9720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
9721 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9722 if (SWIG_arg_fail(1)) SWIG_fail;
9723 {
9724 arg2 = &temp2;
9725 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
9726 }
9727 {
9728 PyThreadState* __tstate = wxPyBeginAllowThreads();
9729 (arg1)->SetDragRect((wxRect const &)*arg2);
9730
9731 wxPyEndAllowThreads(__tstate);
9732 if (PyErr_Occurred()) SWIG_fail;
9733 }
9734 Py_INCREF(Py_None); resultobj = Py_None;
9735 return resultobj;
9736 fail:
9737 return NULL;
9738 }
9739
9740
9741 static PyObject *_wrap_SashEvent_GetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
9742 PyObject *resultobj = NULL;
9743 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9744 wxRect result;
9745 PyObject * obj0 = 0 ;
9746 char *kwnames[] = {
9747 (char *) "self", NULL
9748 };
9749
9750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
9751 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9752 if (SWIG_arg_fail(1)) SWIG_fail;
9753 {
9754 PyThreadState* __tstate = wxPyBeginAllowThreads();
9755 result = ((wxSashEvent const *)arg1)->GetDragRect();
9756
9757 wxPyEndAllowThreads(__tstate);
9758 if (PyErr_Occurred()) SWIG_fail;
9759 }
9760 {
9761 wxRect * resultptr;
9762 resultptr = new wxRect(static_cast<wxRect & >(result));
9763 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
9764 }
9765 return resultobj;
9766 fail:
9767 return NULL;
9768 }
9769
9770
9771 static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
9772 PyObject *resultobj = NULL;
9773 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9774 wxSashDragStatus arg2 ;
9775 PyObject * obj0 = 0 ;
9776 PyObject * obj1 = 0 ;
9777 char *kwnames[] = {
9778 (char *) "self",(char *) "status", NULL
9779 };
9780
9781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
9782 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9783 if (SWIG_arg_fail(1)) SWIG_fail;
9784 {
9785 arg2 = static_cast<wxSashDragStatus >(SWIG_As_int(obj1));
9786 if (SWIG_arg_fail(2)) SWIG_fail;
9787 }
9788 {
9789 PyThreadState* __tstate = wxPyBeginAllowThreads();
9790 (arg1)->SetDragStatus(arg2);
9791
9792 wxPyEndAllowThreads(__tstate);
9793 if (PyErr_Occurred()) SWIG_fail;
9794 }
9795 Py_INCREF(Py_None); resultobj = Py_None;
9796 return resultobj;
9797 fail:
9798 return NULL;
9799 }
9800
9801
9802 static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
9803 PyObject *resultobj = NULL;
9804 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9805 wxSashDragStatus result;
9806 PyObject * obj0 = 0 ;
9807 char *kwnames[] = {
9808 (char *) "self", NULL
9809 };
9810
9811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
9812 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9813 if (SWIG_arg_fail(1)) SWIG_fail;
9814 {
9815 PyThreadState* __tstate = wxPyBeginAllowThreads();
9816 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
9817
9818 wxPyEndAllowThreads(__tstate);
9819 if (PyErr_Occurred()) SWIG_fail;
9820 }
9821 resultobj = SWIG_From_int((result));
9822 return resultobj;
9823 fail:
9824 return NULL;
9825 }
9826
9827
9828 static PyObject * SashEvent_swigregister(PyObject *, PyObject *args) {
9829 PyObject *obj;
9830 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9831 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
9832 Py_INCREF(obj);
9833 return Py_BuildValue((char *)"");
9834 }
9835 static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *, PyObject *args, PyObject *kwargs) {
9836 PyObject *resultobj = NULL;
9837 int arg1 = (int) 0 ;
9838 wxQueryLayoutInfoEvent *result;
9839 PyObject * obj0 = 0 ;
9840 char *kwnames[] = {
9841 (char *) "id", NULL
9842 };
9843
9844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
9845 if (obj0) {
9846 {
9847 arg1 = static_cast<int >(SWIG_As_int(obj0));
9848 if (SWIG_arg_fail(1)) SWIG_fail;
9849 }
9850 }
9851 {
9852 PyThreadState* __tstate = wxPyBeginAllowThreads();
9853 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
9854
9855 wxPyEndAllowThreads(__tstate);
9856 if (PyErr_Occurred()) SWIG_fail;
9857 }
9858 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
9859 return resultobj;
9860 fail:
9861 return NULL;
9862 }
9863
9864
9865 static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
9866 PyObject *resultobj = NULL;
9867 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9868 int arg2 ;
9869 PyObject * obj0 = 0 ;
9870 PyObject * obj1 = 0 ;
9871 char *kwnames[] = {
9872 (char *) "self",(char *) "length", NULL
9873 };
9874
9875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
9876 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9877 if (SWIG_arg_fail(1)) SWIG_fail;
9878 {
9879 arg2 = static_cast<int >(SWIG_As_int(obj1));
9880 if (SWIG_arg_fail(2)) SWIG_fail;
9881 }
9882 {
9883 PyThreadState* __tstate = wxPyBeginAllowThreads();
9884 (arg1)->SetRequestedLength(arg2);
9885
9886 wxPyEndAllowThreads(__tstate);
9887 if (PyErr_Occurred()) SWIG_fail;
9888 }
9889 Py_INCREF(Py_None); resultobj = Py_None;
9890 return resultobj;
9891 fail:
9892 return NULL;
9893 }
9894
9895
9896 static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
9897 PyObject *resultobj = NULL;
9898 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9899 int result;
9900 PyObject * obj0 = 0 ;
9901 char *kwnames[] = {
9902 (char *) "self", NULL
9903 };
9904
9905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
9906 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9907 if (SWIG_arg_fail(1)) SWIG_fail;
9908 {
9909 PyThreadState* __tstate = wxPyBeginAllowThreads();
9910 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
9911
9912 wxPyEndAllowThreads(__tstate);
9913 if (PyErr_Occurred()) SWIG_fail;
9914 }
9915 {
9916 resultobj = SWIG_From_int(static_cast<int >(result));
9917 }
9918 return resultobj;
9919 fail:
9920 return NULL;
9921 }
9922
9923
9924 static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
9925 PyObject *resultobj = NULL;
9926 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9927 int arg2 ;
9928 PyObject * obj0 = 0 ;
9929 PyObject * obj1 = 0 ;
9930 char *kwnames[] = {
9931 (char *) "self",(char *) "flags", NULL
9932 };
9933
9934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
9935 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9936 if (SWIG_arg_fail(1)) SWIG_fail;
9937 {
9938 arg2 = static_cast<int >(SWIG_As_int(obj1));
9939 if (SWIG_arg_fail(2)) SWIG_fail;
9940 }
9941 {
9942 PyThreadState* __tstate = wxPyBeginAllowThreads();
9943 (arg1)->SetFlags(arg2);
9944
9945 wxPyEndAllowThreads(__tstate);
9946 if (PyErr_Occurred()) SWIG_fail;
9947 }
9948 Py_INCREF(Py_None); resultobj = Py_None;
9949 return resultobj;
9950 fail:
9951 return NULL;
9952 }
9953
9954
9955 static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
9956 PyObject *resultobj = NULL;
9957 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9958 int result;
9959 PyObject * obj0 = 0 ;
9960 char *kwnames[] = {
9961 (char *) "self", NULL
9962 };
9963
9964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
9965 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9966 if (SWIG_arg_fail(1)) SWIG_fail;
9967 {
9968 PyThreadState* __tstate = wxPyBeginAllowThreads();
9969 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
9970
9971 wxPyEndAllowThreads(__tstate);
9972 if (PyErr_Occurred()) SWIG_fail;
9973 }
9974 {
9975 resultobj = SWIG_From_int(static_cast<int >(result));
9976 }
9977 return resultobj;
9978 fail:
9979 return NULL;
9980 }
9981
9982
9983 static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
9984 PyObject *resultobj = NULL;
9985 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9986 wxSize *arg2 = 0 ;
9987 wxSize temp2 ;
9988 PyObject * obj0 = 0 ;
9989 PyObject * obj1 = 0 ;
9990 char *kwnames[] = {
9991 (char *) "self",(char *) "size", NULL
9992 };
9993
9994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
9995 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9996 if (SWIG_arg_fail(1)) SWIG_fail;
9997 {
9998 arg2 = &temp2;
9999 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
10000 }
10001 {
10002 PyThreadState* __tstate = wxPyBeginAllowThreads();
10003 (arg1)->SetSize((wxSize const &)*arg2);
10004
10005 wxPyEndAllowThreads(__tstate);
10006 if (PyErr_Occurred()) SWIG_fail;
10007 }
10008 Py_INCREF(Py_None); resultobj = Py_None;
10009 return resultobj;
10010 fail:
10011 return NULL;
10012 }
10013
10014
10015 static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
10016 PyObject *resultobj = NULL;
10017 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
10018 wxSize result;
10019 PyObject * obj0 = 0 ;
10020 char *kwnames[] = {
10021 (char *) "self", NULL
10022 };
10023
10024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
10025 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
10026 if (SWIG_arg_fail(1)) SWIG_fail;
10027 {
10028 PyThreadState* __tstate = wxPyBeginAllowThreads();
10029 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
10030
10031 wxPyEndAllowThreads(__tstate);
10032 if (PyErr_Occurred()) SWIG_fail;
10033 }
10034 {
10035 wxSize * resultptr;
10036 resultptr = new wxSize(static_cast<wxSize & >(result));
10037 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
10038 }
10039 return resultobj;
10040 fail:
10041 return NULL;
10042 }
10043
10044
10045 static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
10046 PyObject *resultobj = NULL;
10047 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
10048 wxLayoutOrientation arg2 ;
10049 PyObject * obj0 = 0 ;
10050 PyObject * obj1 = 0 ;
10051 char *kwnames[] = {
10052 (char *) "self",(char *) "orient", NULL
10053 };
10054
10055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
10056 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
10057 if (SWIG_arg_fail(1)) SWIG_fail;
10058 {
10059 arg2 = static_cast<wxLayoutOrientation >(SWIG_As_int(obj1));
10060 if (SWIG_arg_fail(2)) SWIG_fail;
10061 }
10062 {
10063 PyThreadState* __tstate = wxPyBeginAllowThreads();
10064 (arg1)->SetOrientation(arg2);
10065
10066 wxPyEndAllowThreads(__tstate);
10067 if (PyErr_Occurred()) SWIG_fail;
10068 }
10069 Py_INCREF(Py_None); resultobj = Py_None;
10070 return resultobj;
10071 fail:
10072 return NULL;
10073 }
10074
10075
10076 static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
10077 PyObject *resultobj = NULL;
10078 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
10079 wxLayoutOrientation result;
10080 PyObject * obj0 = 0 ;
10081 char *kwnames[] = {
10082 (char *) "self", NULL
10083 };
10084
10085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
10086 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
10087 if (SWIG_arg_fail(1)) SWIG_fail;
10088 {
10089 PyThreadState* __tstate = wxPyBeginAllowThreads();
10090 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
10091
10092 wxPyEndAllowThreads(__tstate);
10093 if (PyErr_Occurred()) SWIG_fail;
10094 }
10095 resultobj = SWIG_From_int((result));
10096 return resultobj;
10097 fail:
10098 return NULL;
10099 }
10100
10101
10102 static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
10103 PyObject *resultobj = NULL;
10104 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
10105 wxLayoutAlignment arg2 ;
10106 PyObject * obj0 = 0 ;
10107 PyObject * obj1 = 0 ;
10108 char *kwnames[] = {
10109 (char *) "self",(char *) "align", NULL
10110 };
10111
10112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
10113 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
10114 if (SWIG_arg_fail(1)) SWIG_fail;
10115 {
10116 arg2 = static_cast<wxLayoutAlignment >(SWIG_As_int(obj1));
10117 if (SWIG_arg_fail(2)) SWIG_fail;
10118 }
10119 {
10120 PyThreadState* __tstate = wxPyBeginAllowThreads();
10121 (arg1)->SetAlignment(arg2);
10122
10123 wxPyEndAllowThreads(__tstate);
10124 if (PyErr_Occurred()) SWIG_fail;
10125 }
10126 Py_INCREF(Py_None); resultobj = Py_None;
10127 return resultobj;
10128 fail:
10129 return NULL;
10130 }
10131
10132
10133 static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
10134 PyObject *resultobj = NULL;
10135 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
10136 wxLayoutAlignment result;
10137 PyObject * obj0 = 0 ;
10138 char *kwnames[] = {
10139 (char *) "self", NULL
10140 };
10141
10142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
10143 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
10144 if (SWIG_arg_fail(1)) SWIG_fail;
10145 {
10146 PyThreadState* __tstate = wxPyBeginAllowThreads();
10147 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
10148
10149 wxPyEndAllowThreads(__tstate);
10150 if (PyErr_Occurred()) SWIG_fail;
10151 }
10152 resultobj = SWIG_From_int((result));
10153 return resultobj;
10154 fail:
10155 return NULL;
10156 }
10157
10158
10159 static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *, PyObject *args) {
10160 PyObject *obj;
10161 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10162 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
10163 Py_INCREF(obj);
10164 return Py_BuildValue((char *)"");
10165 }
10166 static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *, PyObject *args, PyObject *kwargs) {
10167 PyObject *resultobj = NULL;
10168 int arg1 = (int) 0 ;
10169 wxCalculateLayoutEvent *result;
10170 PyObject * obj0 = 0 ;
10171 char *kwnames[] = {
10172 (char *) "id", NULL
10173 };
10174
10175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
10176 if (obj0) {
10177 {
10178 arg1 = static_cast<int >(SWIG_As_int(obj0));
10179 if (SWIG_arg_fail(1)) SWIG_fail;
10180 }
10181 }
10182 {
10183 PyThreadState* __tstate = wxPyBeginAllowThreads();
10184 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
10185
10186 wxPyEndAllowThreads(__tstate);
10187 if (PyErr_Occurred()) SWIG_fail;
10188 }
10189 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1);
10190 return resultobj;
10191 fail:
10192 return NULL;
10193 }
10194
10195
10196 static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
10197 PyObject *resultobj = NULL;
10198 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
10199 int arg2 ;
10200 PyObject * obj0 = 0 ;
10201 PyObject * obj1 = 0 ;
10202 char *kwnames[] = {
10203 (char *) "self",(char *) "flags", NULL
10204 };
10205
10206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
10207 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
10208 if (SWIG_arg_fail(1)) SWIG_fail;
10209 {
10210 arg2 = static_cast<int >(SWIG_As_int(obj1));
10211 if (SWIG_arg_fail(2)) SWIG_fail;
10212 }
10213 {
10214 PyThreadState* __tstate = wxPyBeginAllowThreads();
10215 (arg1)->SetFlags(arg2);
10216
10217 wxPyEndAllowThreads(__tstate);
10218 if (PyErr_Occurred()) SWIG_fail;
10219 }
10220 Py_INCREF(Py_None); resultobj = Py_None;
10221 return resultobj;
10222 fail:
10223 return NULL;
10224 }
10225
10226
10227 static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
10228 PyObject *resultobj = NULL;
10229 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
10230 int result;
10231 PyObject * obj0 = 0 ;
10232 char *kwnames[] = {
10233 (char *) "self", NULL
10234 };
10235
10236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
10237 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
10238 if (SWIG_arg_fail(1)) SWIG_fail;
10239 {
10240 PyThreadState* __tstate = wxPyBeginAllowThreads();
10241 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
10242
10243 wxPyEndAllowThreads(__tstate);
10244 if (PyErr_Occurred()) SWIG_fail;
10245 }
10246 {
10247 resultobj = SWIG_From_int(static_cast<int >(result));
10248 }
10249 return resultobj;
10250 fail:
10251 return NULL;
10252 }
10253
10254
10255 static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) {
10256 PyObject *resultobj = NULL;
10257 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
10258 wxRect *arg2 = 0 ;
10259 wxRect temp2 ;
10260 PyObject * obj0 = 0 ;
10261 PyObject * obj1 = 0 ;
10262 char *kwnames[] = {
10263 (char *) "self",(char *) "rect", NULL
10264 };
10265
10266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
10267 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
10268 if (SWIG_arg_fail(1)) SWIG_fail;
10269 {
10270 arg2 = &temp2;
10271 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10272 }
10273 {
10274 PyThreadState* __tstate = wxPyBeginAllowThreads();
10275 (arg1)->SetRect((wxRect const &)*arg2);
10276
10277 wxPyEndAllowThreads(__tstate);
10278 if (PyErr_Occurred()) SWIG_fail;
10279 }
10280 Py_INCREF(Py_None); resultobj = Py_None;
10281 return resultobj;
10282 fail:
10283 return NULL;
10284 }
10285
10286
10287 static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
10288 PyObject *resultobj = NULL;
10289 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
10290 wxRect result;
10291 PyObject * obj0 = 0 ;
10292 char *kwnames[] = {
10293 (char *) "self", NULL
10294 };
10295
10296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
10297 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
10298 if (SWIG_arg_fail(1)) SWIG_fail;
10299 {
10300 PyThreadState* __tstate = wxPyBeginAllowThreads();
10301 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
10302
10303 wxPyEndAllowThreads(__tstate);
10304 if (PyErr_Occurred()) SWIG_fail;
10305 }
10306 {
10307 wxRect * resultptr;
10308 resultptr = new wxRect(static_cast<wxRect & >(result));
10309 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
10310 }
10311 return resultobj;
10312 fail:
10313 return NULL;
10314 }
10315
10316
10317 static PyObject * CalculateLayoutEvent_swigregister(PyObject *, PyObject *args) {
10318 PyObject *obj;
10319 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10320 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
10321 Py_INCREF(obj);
10322 return Py_BuildValue((char *)"");
10323 }
10324 static PyObject *_wrap_new_SashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10325 PyObject *resultobj = NULL;
10326 wxWindow *arg1 = (wxWindow *) 0 ;
10327 int arg2 = (int) -1 ;
10328 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10329 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10330 wxSize const &arg4_defvalue = wxDefaultSize ;
10331 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10332 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10333 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
10334 wxString *arg6 = (wxString *) &arg6_defvalue ;
10335 wxSashLayoutWindow *result;
10336 wxPoint temp3 ;
10337 wxSize temp4 ;
10338 bool temp6 = false ;
10339 PyObject * obj0 = 0 ;
10340 PyObject * obj1 = 0 ;
10341 PyObject * obj2 = 0 ;
10342 PyObject * obj3 = 0 ;
10343 PyObject * obj4 = 0 ;
10344 PyObject * obj5 = 0 ;
10345 char *kwnames[] = {
10346 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10347 };
10348
10349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10350 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10351 if (SWIG_arg_fail(1)) SWIG_fail;
10352 if (obj1) {
10353 {
10354 arg2 = static_cast<int >(SWIG_As_int(obj1));
10355 if (SWIG_arg_fail(2)) SWIG_fail;
10356 }
10357 }
10358 if (obj2) {
10359 {
10360 arg3 = &temp3;
10361 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10362 }
10363 }
10364 if (obj3) {
10365 {
10366 arg4 = &temp4;
10367 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10368 }
10369 }
10370 if (obj4) {
10371 {
10372 arg5 = static_cast<long >(SWIG_As_long(obj4));
10373 if (SWIG_arg_fail(5)) SWIG_fail;
10374 }
10375 }
10376 if (obj5) {
10377 {
10378 arg6 = wxString_in_helper(obj5);
10379 if (arg6 == NULL) SWIG_fail;
10380 temp6 = true;
10381 }
10382 }
10383 {
10384 if (!wxPyCheckForApp()) SWIG_fail;
10385 PyThreadState* __tstate = wxPyBeginAllowThreads();
10386 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10387
10388 wxPyEndAllowThreads(__tstate);
10389 if (PyErr_Occurred()) SWIG_fail;
10390 }
10391 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
10392 {
10393 if (temp6)
10394 delete arg6;
10395 }
10396 return resultobj;
10397 fail:
10398 {
10399 if (temp6)
10400 delete arg6;
10401 }
10402 return NULL;
10403 }
10404
10405
10406 static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10407 PyObject *resultobj = NULL;
10408 wxSashLayoutWindow *result;
10409 char *kwnames[] = {
10410 NULL
10411 };
10412
10413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
10414 {
10415 if (!wxPyCheckForApp()) SWIG_fail;
10416 PyThreadState* __tstate = wxPyBeginAllowThreads();
10417 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
10418
10419 wxPyEndAllowThreads(__tstate);
10420 if (PyErr_Occurred()) SWIG_fail;
10421 }
10422 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
10423 return resultobj;
10424 fail:
10425 return NULL;
10426 }
10427
10428
10429 static PyObject *_wrap_SashLayoutWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
10430 PyObject *resultobj = NULL;
10431 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10432 wxWindow *arg2 = (wxWindow *) 0 ;
10433 int arg3 = (int) -1 ;
10434 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10435 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10436 wxSize const &arg5_defvalue = wxDefaultSize ;
10437 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10438 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10439 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
10440 wxString *arg7 = (wxString *) &arg7_defvalue ;
10441 bool result;
10442 wxPoint temp4 ;
10443 wxSize temp5 ;
10444 bool temp7 = false ;
10445 PyObject * obj0 = 0 ;
10446 PyObject * obj1 = 0 ;
10447 PyObject * obj2 = 0 ;
10448 PyObject * obj3 = 0 ;
10449 PyObject * obj4 = 0 ;
10450 PyObject * obj5 = 0 ;
10451 PyObject * obj6 = 0 ;
10452 char *kwnames[] = {
10453 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10454 };
10455
10456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10457 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10458 if (SWIG_arg_fail(1)) SWIG_fail;
10459 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10460 if (SWIG_arg_fail(2)) SWIG_fail;
10461 if (obj2) {
10462 {
10463 arg3 = static_cast<int >(SWIG_As_int(obj2));
10464 if (SWIG_arg_fail(3)) SWIG_fail;
10465 }
10466 }
10467 if (obj3) {
10468 {
10469 arg4 = &temp4;
10470 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10471 }
10472 }
10473 if (obj4) {
10474 {
10475 arg5 = &temp5;
10476 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10477 }
10478 }
10479 if (obj5) {
10480 {
10481 arg6 = static_cast<long >(SWIG_As_long(obj5));
10482 if (SWIG_arg_fail(6)) SWIG_fail;
10483 }
10484 }
10485 if (obj6) {
10486 {
10487 arg7 = wxString_in_helper(obj6);
10488 if (arg7 == NULL) SWIG_fail;
10489 temp7 = true;
10490 }
10491 }
10492 {
10493 PyThreadState* __tstate = wxPyBeginAllowThreads();
10494 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10495
10496 wxPyEndAllowThreads(__tstate);
10497 if (PyErr_Occurred()) SWIG_fail;
10498 }
10499 {
10500 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10501 }
10502 {
10503 if (temp7)
10504 delete arg7;
10505 }
10506 return resultobj;
10507 fail:
10508 {
10509 if (temp7)
10510 delete arg7;
10511 }
10512 return NULL;
10513 }
10514
10515
10516 static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
10517 PyObject *resultobj = NULL;
10518 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10519 wxLayoutAlignment result;
10520 PyObject * obj0 = 0 ;
10521 char *kwnames[] = {
10522 (char *) "self", NULL
10523 };
10524
10525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
10526 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10527 if (SWIG_arg_fail(1)) SWIG_fail;
10528 {
10529 PyThreadState* __tstate = wxPyBeginAllowThreads();
10530 result = (wxLayoutAlignment)(arg1)->GetAlignment();
10531
10532 wxPyEndAllowThreads(__tstate);
10533 if (PyErr_Occurred()) SWIG_fail;
10534 }
10535 resultobj = SWIG_From_int((result));
10536 return resultobj;
10537 fail:
10538 return NULL;
10539 }
10540
10541
10542 static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
10543 PyObject *resultobj = NULL;
10544 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10545 wxLayoutOrientation result;
10546 PyObject * obj0 = 0 ;
10547 char *kwnames[] = {
10548 (char *) "self", NULL
10549 };
10550
10551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
10552 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10553 if (SWIG_arg_fail(1)) SWIG_fail;
10554 {
10555 PyThreadState* __tstate = wxPyBeginAllowThreads();
10556 result = (wxLayoutOrientation)(arg1)->GetOrientation();
10557
10558 wxPyEndAllowThreads(__tstate);
10559 if (PyErr_Occurred()) SWIG_fail;
10560 }
10561 resultobj = SWIG_From_int((result));
10562 return resultobj;
10563 fail:
10564 return NULL;
10565 }
10566
10567
10568 static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
10569 PyObject *resultobj = NULL;
10570 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10571 wxLayoutAlignment arg2 ;
10572 PyObject * obj0 = 0 ;
10573 PyObject * obj1 = 0 ;
10574 char *kwnames[] = {
10575 (char *) "self",(char *) "alignment", NULL
10576 };
10577
10578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
10579 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10580 if (SWIG_arg_fail(1)) SWIG_fail;
10581 {
10582 arg2 = static_cast<wxLayoutAlignment >(SWIG_As_int(obj1));
10583 if (SWIG_arg_fail(2)) SWIG_fail;
10584 }
10585 {
10586 PyThreadState* __tstate = wxPyBeginAllowThreads();
10587 (arg1)->SetAlignment(arg2);
10588
10589 wxPyEndAllowThreads(__tstate);
10590 if (PyErr_Occurred()) SWIG_fail;
10591 }
10592 Py_INCREF(Py_None); resultobj = Py_None;
10593 return resultobj;
10594 fail:
10595 return NULL;
10596 }
10597
10598
10599 static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
10600 PyObject *resultobj = NULL;
10601 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10602 wxSize *arg2 = 0 ;
10603 wxSize temp2 ;
10604 PyObject * obj0 = 0 ;
10605 PyObject * obj1 = 0 ;
10606 char *kwnames[] = {
10607 (char *) "self",(char *) "size", NULL
10608 };
10609
10610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
10611 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10612 if (SWIG_arg_fail(1)) SWIG_fail;
10613 {
10614 arg2 = &temp2;
10615 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
10616 }
10617 {
10618 PyThreadState* __tstate = wxPyBeginAllowThreads();
10619 (arg1)->SetDefaultSize((wxSize const &)*arg2);
10620
10621 wxPyEndAllowThreads(__tstate);
10622 if (PyErr_Occurred()) SWIG_fail;
10623 }
10624 Py_INCREF(Py_None); resultobj = Py_None;
10625 return resultobj;
10626 fail:
10627 return NULL;
10628 }
10629
10630
10631 static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
10632 PyObject *resultobj = NULL;
10633 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10634 wxLayoutOrientation arg2 ;
10635 PyObject * obj0 = 0 ;
10636 PyObject * obj1 = 0 ;
10637 char *kwnames[] = {
10638 (char *) "self",(char *) "orientation", NULL
10639 };
10640
10641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
10642 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10643 if (SWIG_arg_fail(1)) SWIG_fail;
10644 {
10645 arg2 = static_cast<wxLayoutOrientation >(SWIG_As_int(obj1));
10646 if (SWIG_arg_fail(2)) SWIG_fail;
10647 }
10648 {
10649 PyThreadState* __tstate = wxPyBeginAllowThreads();
10650 (arg1)->SetOrientation(arg2);
10651
10652 wxPyEndAllowThreads(__tstate);
10653 if (PyErr_Occurred()) SWIG_fail;
10654 }
10655 Py_INCREF(Py_None); resultobj = Py_None;
10656 return resultobj;
10657 fail:
10658 return NULL;
10659 }
10660
10661
10662 static PyObject * SashLayoutWindow_swigregister(PyObject *, PyObject *args) {
10663 PyObject *obj;
10664 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10665 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
10666 Py_INCREF(obj);
10667 return Py_BuildValue((char *)"");
10668 }
10669 static PyObject *_wrap_new_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
10670 PyObject *resultobj = NULL;
10671 wxLayoutAlgorithm *result;
10672 char *kwnames[] = {
10673 NULL
10674 };
10675
10676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
10677 {
10678 PyThreadState* __tstate = wxPyBeginAllowThreads();
10679 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
10680
10681 wxPyEndAllowThreads(__tstate);
10682 if (PyErr_Occurred()) SWIG_fail;
10683 }
10684 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1);
10685 return resultobj;
10686 fail:
10687 return NULL;
10688 }
10689
10690
10691 static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
10692 PyObject *resultobj = NULL;
10693 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10694 PyObject * obj0 = 0 ;
10695 char *kwnames[] = {
10696 (char *) "self", NULL
10697 };
10698
10699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
10700 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10701 if (SWIG_arg_fail(1)) SWIG_fail;
10702 {
10703 PyThreadState* __tstate = wxPyBeginAllowThreads();
10704 delete arg1;
10705
10706 wxPyEndAllowThreads(__tstate);
10707 if (PyErr_Occurred()) SWIG_fail;
10708 }
10709 Py_INCREF(Py_None); resultobj = Py_None;
10710 return resultobj;
10711 fail:
10712 return NULL;
10713 }
10714
10715
10716 static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *, PyObject *args, PyObject *kwargs) {
10717 PyObject *resultobj = NULL;
10718 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10719 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
10720 wxRect *arg3 = (wxRect *) NULL ;
10721 bool result;
10722 PyObject * obj0 = 0 ;
10723 PyObject * obj1 = 0 ;
10724 PyObject * obj2 = 0 ;
10725 char *kwnames[] = {
10726 (char *) "self",(char *) "frame",(char *) "rect", NULL
10727 };
10728
10729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
10730 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10731 if (SWIG_arg_fail(1)) SWIG_fail;
10732 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
10733 if (SWIG_arg_fail(2)) SWIG_fail;
10734 if (obj2) {
10735 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
10736 if (SWIG_arg_fail(3)) SWIG_fail;
10737 }
10738 {
10739 PyThreadState* __tstate = wxPyBeginAllowThreads();
10740 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
10741
10742 wxPyEndAllowThreads(__tstate);
10743 if (PyErr_Occurred()) SWIG_fail;
10744 }
10745 {
10746 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10747 }
10748 return resultobj;
10749 fail:
10750 return NULL;
10751 }
10752
10753
10754 static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *, PyObject *args, PyObject *kwargs) {
10755 PyObject *resultobj = NULL;
10756 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10757 wxFrame *arg2 = (wxFrame *) 0 ;
10758 wxWindow *arg3 = (wxWindow *) NULL ;
10759 bool result;
10760 PyObject * obj0 = 0 ;
10761 PyObject * obj1 = 0 ;
10762 PyObject * obj2 = 0 ;
10763 char *kwnames[] = {
10764 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
10765 };
10766
10767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
10768 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10769 if (SWIG_arg_fail(1)) SWIG_fail;
10770 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
10771 if (SWIG_arg_fail(2)) SWIG_fail;
10772 if (obj2) {
10773 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10774 if (SWIG_arg_fail(3)) SWIG_fail;
10775 }
10776 {
10777 PyThreadState* __tstate = wxPyBeginAllowThreads();
10778 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
10779
10780 wxPyEndAllowThreads(__tstate);
10781 if (PyErr_Occurred()) SWIG_fail;
10782 }
10783 {
10784 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10785 }
10786 return resultobj;
10787 fail:
10788 return NULL;
10789 }
10790
10791
10792 static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10793 PyObject *resultobj = NULL;
10794 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10795 wxWindow *arg2 = (wxWindow *) 0 ;
10796 wxWindow *arg3 = (wxWindow *) NULL ;
10797 bool result;
10798 PyObject * obj0 = 0 ;
10799 PyObject * obj1 = 0 ;
10800 PyObject * obj2 = 0 ;
10801 char *kwnames[] = {
10802 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
10803 };
10804
10805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
10806 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10807 if (SWIG_arg_fail(1)) SWIG_fail;
10808 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10809 if (SWIG_arg_fail(2)) SWIG_fail;
10810 if (obj2) {
10811 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10812 if (SWIG_arg_fail(3)) SWIG_fail;
10813 }
10814 {
10815 PyThreadState* __tstate = wxPyBeginAllowThreads();
10816 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
10817
10818 wxPyEndAllowThreads(__tstate);
10819 if (PyErr_Occurred()) SWIG_fail;
10820 }
10821 {
10822 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10823 }
10824 return resultobj;
10825 fail:
10826 return NULL;
10827 }
10828
10829
10830 static PyObject * LayoutAlgorithm_swigregister(PyObject *, PyObject *args) {
10831 PyObject *obj;
10832 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10833 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
10834 Py_INCREF(obj);
10835 return Py_BuildValue((char *)"");
10836 }
10837 static PyObject *_wrap_new_PopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10838 PyObject *resultobj = NULL;
10839 wxWindow *arg1 = (wxWindow *) 0 ;
10840 int arg2 = (int) wxBORDER_NONE ;
10841 wxPopupWindow *result;
10842 PyObject * obj0 = 0 ;
10843 PyObject * obj1 = 0 ;
10844 char *kwnames[] = {
10845 (char *) "parent",(char *) "flags", NULL
10846 };
10847
10848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
10849 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10850 if (SWIG_arg_fail(1)) SWIG_fail;
10851 if (obj1) {
10852 {
10853 arg2 = static_cast<int >(SWIG_As_int(obj1));
10854 if (SWIG_arg_fail(2)) SWIG_fail;
10855 }
10856 }
10857 {
10858 if (!wxPyCheckForApp()) SWIG_fail;
10859 PyThreadState* __tstate = wxPyBeginAllowThreads();
10860 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
10861
10862 wxPyEndAllowThreads(__tstate);
10863 if (PyErr_Occurred()) SWIG_fail;
10864 }
10865 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
10866 return resultobj;
10867 fail:
10868 return NULL;
10869 }
10870
10871
10872 static PyObject *_wrap_new_PrePopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10873 PyObject *resultobj = NULL;
10874 wxPopupWindow *result;
10875 char *kwnames[] = {
10876 NULL
10877 };
10878
10879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
10880 {
10881 if (!wxPyCheckForApp()) SWIG_fail;
10882 PyThreadState* __tstate = wxPyBeginAllowThreads();
10883 result = (wxPopupWindow *)new wxPopupWindow();
10884
10885 wxPyEndAllowThreads(__tstate);
10886 if (PyErr_Occurred()) SWIG_fail;
10887 }
10888 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
10889 return resultobj;
10890 fail:
10891 return NULL;
10892 }
10893
10894
10895 static PyObject *_wrap_PopupWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
10896 PyObject *resultobj = NULL;
10897 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
10898 wxWindow *arg2 = (wxWindow *) 0 ;
10899 int arg3 = (int) wxBORDER_NONE ;
10900 bool result;
10901 PyObject * obj0 = 0 ;
10902 PyObject * obj1 = 0 ;
10903 PyObject * obj2 = 0 ;
10904 char *kwnames[] = {
10905 (char *) "self",(char *) "parent",(char *) "flags", NULL
10906 };
10907
10908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
10909 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_EXCEPTION | 0);
10910 if (SWIG_arg_fail(1)) SWIG_fail;
10911 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10912 if (SWIG_arg_fail(2)) SWIG_fail;
10913 if (obj2) {
10914 {
10915 arg3 = static_cast<int >(SWIG_As_int(obj2));
10916 if (SWIG_arg_fail(3)) SWIG_fail;
10917 }
10918 }
10919 {
10920 PyThreadState* __tstate = wxPyBeginAllowThreads();
10921 result = (bool)(arg1)->Create(arg2,arg3);
10922
10923 wxPyEndAllowThreads(__tstate);
10924 if (PyErr_Occurred()) SWIG_fail;
10925 }
10926 {
10927 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10928 }
10929 return resultobj;
10930 fail:
10931 return NULL;
10932 }
10933
10934
10935 static PyObject *_wrap_PopupWindow_Position(PyObject *, PyObject *args, PyObject *kwargs) {
10936 PyObject *resultobj = NULL;
10937 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
10938 wxPoint *arg2 = 0 ;
10939 wxSize *arg3 = 0 ;
10940 wxPoint temp2 ;
10941 wxSize temp3 ;
10942 PyObject * obj0 = 0 ;
10943 PyObject * obj1 = 0 ;
10944 PyObject * obj2 = 0 ;
10945 char *kwnames[] = {
10946 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
10947 };
10948
10949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail;
10950 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_EXCEPTION | 0);
10951 if (SWIG_arg_fail(1)) SWIG_fail;
10952 {
10953 arg2 = &temp2;
10954 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10955 }
10956 {
10957 arg3 = &temp3;
10958 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
10959 }
10960 {
10961 PyThreadState* __tstate = wxPyBeginAllowThreads();
10962 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
10963
10964 wxPyEndAllowThreads(__tstate);
10965 if (PyErr_Occurred()) SWIG_fail;
10966 }
10967 Py_INCREF(Py_None); resultobj = Py_None;
10968 return resultobj;
10969 fail:
10970 return NULL;
10971 }
10972
10973
10974 static PyObject * PopupWindow_swigregister(PyObject *, PyObject *args) {
10975 PyObject *obj;
10976 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10977 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
10978 Py_INCREF(obj);
10979 return Py_BuildValue((char *)"");
10980 }
10981 static PyObject *_wrap_new_PopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10982 PyObject *resultobj = NULL;
10983 wxWindow *arg1 = (wxWindow *) 0 ;
10984 int arg2 = (int) wxBORDER_NONE ;
10985 wxPyPopupTransientWindow *result;
10986 PyObject * obj0 = 0 ;
10987 PyObject * obj1 = 0 ;
10988 char *kwnames[] = {
10989 (char *) "parent",(char *) "style", NULL
10990 };
10991
10992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
10993 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10994 if (SWIG_arg_fail(1)) SWIG_fail;
10995 if (obj1) {
10996 {
10997 arg2 = static_cast<int >(SWIG_As_int(obj1));
10998 if (SWIG_arg_fail(2)) SWIG_fail;
10999 }
11000 }
11001 {
11002 if (!wxPyCheckForApp()) SWIG_fail;
11003 PyThreadState* __tstate = wxPyBeginAllowThreads();
11004 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
11005
11006 wxPyEndAllowThreads(__tstate);
11007 if (PyErr_Occurred()) SWIG_fail;
11008 }
11009 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
11010 return resultobj;
11011 fail:
11012 return NULL;
11013 }
11014
11015
11016 static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
11017 PyObject *resultobj = NULL;
11018 wxPyPopupTransientWindow *result;
11019 char *kwnames[] = {
11020 NULL
11021 };
11022
11023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
11024 {
11025 if (!wxPyCheckForApp()) SWIG_fail;
11026 PyThreadState* __tstate = wxPyBeginAllowThreads();
11027 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
11028
11029 wxPyEndAllowThreads(__tstate);
11030 if (PyErr_Occurred()) SWIG_fail;
11031 }
11032 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
11033 return resultobj;
11034 fail:
11035 return NULL;
11036 }
11037
11038
11039 static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
11040 PyObject *resultobj = NULL;
11041 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
11042 PyObject *arg2 = (PyObject *) 0 ;
11043 PyObject *arg3 = (PyObject *) 0 ;
11044 PyObject * obj0 = 0 ;
11045 PyObject * obj1 = 0 ;
11046 PyObject * obj2 = 0 ;
11047 char *kwnames[] = {
11048 (char *) "self",(char *) "self",(char *) "_class", NULL
11049 };
11050
11051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
11052 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_EXCEPTION | 0);
11053 if (SWIG_arg_fail(1)) SWIG_fail;
11054 arg2 = obj1;
11055 arg3 = obj2;
11056 {
11057 PyThreadState* __tstate = wxPyBeginAllowThreads();
11058 (arg1)->_setCallbackInfo(arg2,arg3);
11059
11060 wxPyEndAllowThreads(__tstate);
11061 if (PyErr_Occurred()) SWIG_fail;
11062 }
11063 Py_INCREF(Py_None); resultobj = Py_None;
11064 return resultobj;
11065 fail:
11066 return NULL;
11067 }
11068
11069
11070 static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *, PyObject *args, PyObject *kwargs) {
11071 PyObject *resultobj = NULL;
11072 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
11073 wxWindow *arg2 = (wxWindow *) NULL ;
11074 PyObject * obj0 = 0 ;
11075 PyObject * obj1 = 0 ;
11076 char *kwnames[] = {
11077 (char *) "self",(char *) "focus", NULL
11078 };
11079
11080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail;
11081 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_EXCEPTION | 0);
11082 if (SWIG_arg_fail(1)) SWIG_fail;
11083 if (obj1) {
11084 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11085 if (SWIG_arg_fail(2)) SWIG_fail;
11086 }
11087 {
11088 PyThreadState* __tstate = wxPyBeginAllowThreads();
11089 (arg1)->Popup(arg2);
11090
11091 wxPyEndAllowThreads(__tstate);
11092 if (PyErr_Occurred()) SWIG_fail;
11093 }
11094 Py_INCREF(Py_None); resultobj = Py_None;
11095 return resultobj;
11096 fail:
11097 return NULL;
11098 }
11099
11100
11101 static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *, PyObject *args, PyObject *kwargs) {
11102 PyObject *resultobj = NULL;
11103 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
11104 PyObject * obj0 = 0 ;
11105 char *kwnames[] = {
11106 (char *) "self", NULL
11107 };
11108
11109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail;
11110 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_EXCEPTION | 0);
11111 if (SWIG_arg_fail(1)) SWIG_fail;
11112 {
11113 PyThreadState* __tstate = wxPyBeginAllowThreads();
11114 (arg1)->Dismiss();
11115
11116 wxPyEndAllowThreads(__tstate);
11117 if (PyErr_Occurred()) SWIG_fail;
11118 }
11119 Py_INCREF(Py_None); resultobj = Py_None;
11120 return resultobj;
11121 fail:
11122 return NULL;
11123 }
11124
11125
11126 static PyObject * PopupTransientWindow_swigregister(PyObject *, PyObject *args) {
11127 PyObject *obj;
11128 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11129 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
11130 Py_INCREF(obj);
11131 return Py_BuildValue((char *)"");
11132 }
11133 static PyObject *_wrap_new_TipWindow(PyObject *, PyObject *args, PyObject *kwargs) {
11134 PyObject *resultobj = NULL;
11135 wxWindow *arg1 = (wxWindow *) 0 ;
11136 wxString *arg2 = 0 ;
11137 int arg3 = (int) 100 ;
11138 wxRect *arg4 = (wxRect *) NULL ;
11139 wxTipWindow *result;
11140 bool temp2 = false ;
11141 PyObject * obj0 = 0 ;
11142 PyObject * obj1 = 0 ;
11143 PyObject * obj2 = 0 ;
11144 PyObject * obj3 = 0 ;
11145 char *kwnames[] = {
11146 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
11147 };
11148
11149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11150 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11151 if (SWIG_arg_fail(1)) SWIG_fail;
11152 {
11153 arg2 = wxString_in_helper(obj1);
11154 if (arg2 == NULL) SWIG_fail;
11155 temp2 = true;
11156 }
11157 if (obj2) {
11158 {
11159 arg3 = static_cast<int >(SWIG_As_int(obj2));
11160 if (SWIG_arg_fail(3)) SWIG_fail;
11161 }
11162 }
11163 if (obj3) {
11164 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
11165 if (SWIG_arg_fail(4)) SWIG_fail;
11166 }
11167 {
11168 if (!wxPyCheckForApp()) SWIG_fail;
11169 PyThreadState* __tstate = wxPyBeginAllowThreads();
11170 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
11171
11172 wxPyEndAllowThreads(__tstate);
11173 if (PyErr_Occurred()) SWIG_fail;
11174 }
11175 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1);
11176 {
11177 if (temp2)
11178 delete arg2;
11179 }
11180 return resultobj;
11181 fail:
11182 {
11183 if (temp2)
11184 delete arg2;
11185 }
11186 return NULL;
11187 }
11188
11189
11190 static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
11191 PyObject *resultobj = NULL;
11192 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
11193 wxRect *arg2 = 0 ;
11194 wxRect temp2 ;
11195 PyObject * obj0 = 0 ;
11196 PyObject * obj1 = 0 ;
11197 char *kwnames[] = {
11198 (char *) "self",(char *) "rectBound", NULL
11199 };
11200
11201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
11202 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipWindow, SWIG_POINTER_EXCEPTION | 0);
11203 if (SWIG_arg_fail(1)) SWIG_fail;
11204 {
11205 arg2 = &temp2;
11206 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11207 }
11208 {
11209 PyThreadState* __tstate = wxPyBeginAllowThreads();
11210 (arg1)->SetBoundingRect((wxRect const &)*arg2);
11211
11212 wxPyEndAllowThreads(__tstate);
11213 if (PyErr_Occurred()) SWIG_fail;
11214 }
11215 Py_INCREF(Py_None); resultobj = Py_None;
11216 return resultobj;
11217 fail:
11218 return NULL;
11219 }
11220
11221
11222 static PyObject *_wrap_TipWindow_Close(PyObject *, PyObject *args, PyObject *kwargs) {
11223 PyObject *resultobj = NULL;
11224 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
11225 PyObject * obj0 = 0 ;
11226 char *kwnames[] = {
11227 (char *) "self", NULL
11228 };
11229
11230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
11231 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipWindow, SWIG_POINTER_EXCEPTION | 0);
11232 if (SWIG_arg_fail(1)) SWIG_fail;
11233 {
11234 PyThreadState* __tstate = wxPyBeginAllowThreads();
11235 (arg1)->Close();
11236
11237 wxPyEndAllowThreads(__tstate);
11238 if (PyErr_Occurred()) SWIG_fail;
11239 }
11240 Py_INCREF(Py_None); resultobj = Py_None;
11241 return resultobj;
11242 fail:
11243 return NULL;
11244 }
11245
11246
11247 static PyObject * TipWindow_swigregister(PyObject *, PyObject *args) {
11248 PyObject *obj;
11249 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11250 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
11251 Py_INCREF(obj);
11252 return Py_BuildValue((char *)"");
11253 }
11254 static PyObject *_wrap_new_VScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
11255 PyObject *resultobj = NULL;
11256 wxWindow *arg1 = (wxWindow *) 0 ;
11257 int arg2 = (int) wxID_ANY ;
11258 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11259 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11260 wxSize const &arg4_defvalue = wxDefaultSize ;
11261 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11262 long arg5 = (long) 0 ;
11263 wxString const &arg6_defvalue = wxPyPanelNameStr ;
11264 wxString *arg6 = (wxString *) &arg6_defvalue ;
11265 wxPyVScrolledWindow *result;
11266 wxPoint temp3 ;
11267 wxSize temp4 ;
11268 bool temp6 = false ;
11269 PyObject * obj0 = 0 ;
11270 PyObject * obj1 = 0 ;
11271 PyObject * obj2 = 0 ;
11272 PyObject * obj3 = 0 ;
11273 PyObject * obj4 = 0 ;
11274 PyObject * obj5 = 0 ;
11275 char *kwnames[] = {
11276 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11277 };
11278
11279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
11280 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11281 if (SWIG_arg_fail(1)) SWIG_fail;
11282 if (obj1) {
11283 {
11284 arg2 = static_cast<int >(SWIG_As_int(obj1));
11285 if (SWIG_arg_fail(2)) SWIG_fail;
11286 }
11287 }
11288 if (obj2) {
11289 {
11290 arg3 = &temp3;
11291 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11292 }
11293 }
11294 if (obj3) {
11295 {
11296 arg4 = &temp4;
11297 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11298 }
11299 }
11300 if (obj4) {
11301 {
11302 arg5 = static_cast<long >(SWIG_As_long(obj4));
11303 if (SWIG_arg_fail(5)) SWIG_fail;
11304 }
11305 }
11306 if (obj5) {
11307 {
11308 arg6 = wxString_in_helper(obj5);
11309 if (arg6 == NULL) SWIG_fail;
11310 temp6 = true;
11311 }
11312 }
11313 {
11314 if (!wxPyCheckForApp()) SWIG_fail;
11315 PyThreadState* __tstate = wxPyBeginAllowThreads();
11316 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
11317
11318 wxPyEndAllowThreads(__tstate);
11319 if (PyErr_Occurred()) SWIG_fail;
11320 }
11321 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
11322 {
11323 if (temp6)
11324 delete arg6;
11325 }
11326 return resultobj;
11327 fail:
11328 {
11329 if (temp6)
11330 delete arg6;
11331 }
11332 return NULL;
11333 }
11334
11335
11336 static PyObject *_wrap_new_PreVScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
11337 PyObject *resultobj = NULL;
11338 wxPyVScrolledWindow *result;
11339 char *kwnames[] = {
11340 NULL
11341 };
11342
11343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
11344 {
11345 if (!wxPyCheckForApp()) SWIG_fail;
11346 PyThreadState* __tstate = wxPyBeginAllowThreads();
11347 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
11348
11349 wxPyEndAllowThreads(__tstate);
11350 if (PyErr_Occurred()) SWIG_fail;
11351 }
11352 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
11353 return resultobj;
11354 fail:
11355 return NULL;
11356 }
11357
11358
11359 static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
11360 PyObject *resultobj = NULL;
11361 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11362 PyObject *arg2 = (PyObject *) 0 ;
11363 PyObject *arg3 = (PyObject *) 0 ;
11364 PyObject * obj0 = 0 ;
11365 PyObject * obj1 = 0 ;
11366 PyObject * obj2 = 0 ;
11367 char *kwnames[] = {
11368 (char *) "self",(char *) "self",(char *) "_class", NULL
11369 };
11370
11371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
11372 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11373 if (SWIG_arg_fail(1)) SWIG_fail;
11374 arg2 = obj1;
11375 arg3 = obj2;
11376 {
11377 PyThreadState* __tstate = wxPyBeginAllowThreads();
11378 (arg1)->_setCallbackInfo(arg2,arg3);
11379
11380 wxPyEndAllowThreads(__tstate);
11381 if (PyErr_Occurred()) SWIG_fail;
11382 }
11383 Py_INCREF(Py_None); resultobj = Py_None;
11384 return resultobj;
11385 fail:
11386 return NULL;
11387 }
11388
11389
11390 static PyObject *_wrap_VScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
11391 PyObject *resultobj = NULL;
11392 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11393 wxWindow *arg2 = (wxWindow *) 0 ;
11394 int arg3 = (int) wxID_ANY ;
11395 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11396 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11397 wxSize const &arg5_defvalue = wxDefaultSize ;
11398 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11399 long arg6 = (long) 0 ;
11400 wxString const &arg7_defvalue = wxPyPanelNameStr ;
11401 wxString *arg7 = (wxString *) &arg7_defvalue ;
11402 bool result;
11403 wxPoint temp4 ;
11404 wxSize temp5 ;
11405 bool temp7 = false ;
11406 PyObject * obj0 = 0 ;
11407 PyObject * obj1 = 0 ;
11408 PyObject * obj2 = 0 ;
11409 PyObject * obj3 = 0 ;
11410 PyObject * obj4 = 0 ;
11411 PyObject * obj5 = 0 ;
11412 PyObject * obj6 = 0 ;
11413 char *kwnames[] = {
11414 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11415 };
11416
11417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11418 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11419 if (SWIG_arg_fail(1)) SWIG_fail;
11420 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11421 if (SWIG_arg_fail(2)) SWIG_fail;
11422 if (obj2) {
11423 {
11424 arg3 = static_cast<int >(SWIG_As_int(obj2));
11425 if (SWIG_arg_fail(3)) SWIG_fail;
11426 }
11427 }
11428 if (obj3) {
11429 {
11430 arg4 = &temp4;
11431 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11432 }
11433 }
11434 if (obj4) {
11435 {
11436 arg5 = &temp5;
11437 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11438 }
11439 }
11440 if (obj5) {
11441 {
11442 arg6 = static_cast<long >(SWIG_As_long(obj5));
11443 if (SWIG_arg_fail(6)) SWIG_fail;
11444 }
11445 }
11446 if (obj6) {
11447 {
11448 arg7 = wxString_in_helper(obj6);
11449 if (arg7 == NULL) SWIG_fail;
11450 temp7 = true;
11451 }
11452 }
11453 {
11454 PyThreadState* __tstate = wxPyBeginAllowThreads();
11455 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11456
11457 wxPyEndAllowThreads(__tstate);
11458 if (PyErr_Occurred()) SWIG_fail;
11459 }
11460 {
11461 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11462 }
11463 {
11464 if (temp7)
11465 delete arg7;
11466 }
11467 return resultobj;
11468 fail:
11469 {
11470 if (temp7)
11471 delete arg7;
11472 }
11473 return NULL;
11474 }
11475
11476
11477 static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
11478 PyObject *resultobj = NULL;
11479 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11480 size_t arg2 ;
11481 PyObject * obj0 = 0 ;
11482 PyObject * obj1 = 0 ;
11483 char *kwnames[] = {
11484 (char *) "self",(char *) "count", NULL
11485 };
11486
11487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
11488 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11489 if (SWIG_arg_fail(1)) SWIG_fail;
11490 {
11491 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
11492 if (SWIG_arg_fail(2)) SWIG_fail;
11493 }
11494 {
11495 PyThreadState* __tstate = wxPyBeginAllowThreads();
11496 (arg1)->SetLineCount(arg2);
11497
11498 wxPyEndAllowThreads(__tstate);
11499 if (PyErr_Occurred()) SWIG_fail;
11500 }
11501 Py_INCREF(Py_None); resultobj = Py_None;
11502 return resultobj;
11503 fail:
11504 return NULL;
11505 }
11506
11507
11508 static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) {
11509 PyObject *resultobj = NULL;
11510 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11511 size_t arg2 ;
11512 bool result;
11513 PyObject * obj0 = 0 ;
11514 PyObject * obj1 = 0 ;
11515 char *kwnames[] = {
11516 (char *) "self",(char *) "line", NULL
11517 };
11518
11519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
11520 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11521 if (SWIG_arg_fail(1)) SWIG_fail;
11522 {
11523 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
11524 if (SWIG_arg_fail(2)) SWIG_fail;
11525 }
11526 {
11527 PyThreadState* __tstate = wxPyBeginAllowThreads();
11528 result = (bool)(arg1)->ScrollToLine(arg2);
11529
11530 wxPyEndAllowThreads(__tstate);
11531 if (PyErr_Occurred()) SWIG_fail;
11532 }
11533 {
11534 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11535 }
11536 return resultobj;
11537 fail:
11538 return NULL;
11539 }
11540
11541
11542 static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *, PyObject *args, PyObject *kwargs) {
11543 PyObject *resultobj = NULL;
11544 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11545 int arg2 ;
11546 bool result;
11547 PyObject * obj0 = 0 ;
11548 PyObject * obj1 = 0 ;
11549 char *kwnames[] = {
11550 (char *) "self",(char *) "lines", NULL
11551 };
11552
11553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
11554 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11555 if (SWIG_arg_fail(1)) SWIG_fail;
11556 {
11557 arg2 = static_cast<int >(SWIG_As_int(obj1));
11558 if (SWIG_arg_fail(2)) SWIG_fail;
11559 }
11560 {
11561 PyThreadState* __tstate = wxPyBeginAllowThreads();
11562 result = (bool)(arg1)->ScrollLines(arg2);
11563
11564 wxPyEndAllowThreads(__tstate);
11565 if (PyErr_Occurred()) SWIG_fail;
11566 }
11567 {
11568 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11569 }
11570 return resultobj;
11571 fail:
11572 return NULL;
11573 }
11574
11575
11576 static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *, PyObject *args, PyObject *kwargs) {
11577 PyObject *resultobj = NULL;
11578 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11579 int arg2 ;
11580 bool result;
11581 PyObject * obj0 = 0 ;
11582 PyObject * obj1 = 0 ;
11583 char *kwnames[] = {
11584 (char *) "self",(char *) "pages", NULL
11585 };
11586
11587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
11588 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11589 if (SWIG_arg_fail(1)) SWIG_fail;
11590 {
11591 arg2 = static_cast<int >(SWIG_As_int(obj1));
11592 if (SWIG_arg_fail(2)) SWIG_fail;
11593 }
11594 {
11595 PyThreadState* __tstate = wxPyBeginAllowThreads();
11596 result = (bool)(arg1)->ScrollPages(arg2);
11597
11598 wxPyEndAllowThreads(__tstate);
11599 if (PyErr_Occurred()) SWIG_fail;
11600 }
11601 {
11602 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11603 }
11604 return resultobj;
11605 fail:
11606 return NULL;
11607 }
11608
11609
11610 static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *, PyObject *args, PyObject *kwargs) {
11611 PyObject *resultobj = NULL;
11612 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11613 size_t arg2 ;
11614 PyObject * obj0 = 0 ;
11615 PyObject * obj1 = 0 ;
11616 char *kwnames[] = {
11617 (char *) "self",(char *) "line", NULL
11618 };
11619
11620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
11621 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11622 if (SWIG_arg_fail(1)) SWIG_fail;
11623 {
11624 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
11625 if (SWIG_arg_fail(2)) SWIG_fail;
11626 }
11627 {
11628 PyThreadState* __tstate = wxPyBeginAllowThreads();
11629 (arg1)->RefreshLine(arg2);
11630
11631 wxPyEndAllowThreads(__tstate);
11632 if (PyErr_Occurred()) SWIG_fail;
11633 }
11634 Py_INCREF(Py_None); resultobj = Py_None;
11635 return resultobj;
11636 fail:
11637 return NULL;
11638 }
11639
11640
11641 static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *, PyObject *args, PyObject *kwargs) {
11642 PyObject *resultobj = NULL;
11643 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11644 size_t arg2 ;
11645 size_t arg3 ;
11646 PyObject * obj0 = 0 ;
11647 PyObject * obj1 = 0 ;
11648 PyObject * obj2 = 0 ;
11649 char *kwnames[] = {
11650 (char *) "self",(char *) "from",(char *) "to", NULL
11651 };
11652
11653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
11654 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11655 if (SWIG_arg_fail(1)) SWIG_fail;
11656 {
11657 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
11658 if (SWIG_arg_fail(2)) SWIG_fail;
11659 }
11660 {
11661 arg3 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2));
11662 if (SWIG_arg_fail(3)) SWIG_fail;
11663 }
11664 {
11665 PyThreadState* __tstate = wxPyBeginAllowThreads();
11666 (arg1)->RefreshLines(arg2,arg3);
11667
11668 wxPyEndAllowThreads(__tstate);
11669 if (PyErr_Occurred()) SWIG_fail;
11670 }
11671 Py_INCREF(Py_None); resultobj = Py_None;
11672 return resultobj;
11673 fail:
11674 return NULL;
11675 }
11676
11677
11678 static PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
11679 PyObject *resultobj = NULL;
11680 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11681 int arg2 ;
11682 int arg3 ;
11683 int result;
11684 PyObject * obj0 = 0 ;
11685 PyObject * obj1 = 0 ;
11686 PyObject * obj2 = 0 ;
11687 char *kwnames[] = {
11688 (char *) "self",(char *) "x",(char *) "y", NULL
11689 };
11690
11691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
11692 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11693 if (SWIG_arg_fail(1)) SWIG_fail;
11694 {
11695 arg2 = static_cast<int >(SWIG_As_int(obj1));
11696 if (SWIG_arg_fail(2)) SWIG_fail;
11697 }
11698 {
11699 arg3 = static_cast<int >(SWIG_As_int(obj2));
11700 if (SWIG_arg_fail(3)) SWIG_fail;
11701 }
11702 {
11703 PyThreadState* __tstate = wxPyBeginAllowThreads();
11704 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
11705
11706 wxPyEndAllowThreads(__tstate);
11707 if (PyErr_Occurred()) SWIG_fail;
11708 }
11709 {
11710 resultobj = SWIG_From_int(static_cast<int >(result));
11711 }
11712 return resultobj;
11713 fail:
11714 return NULL;
11715 }
11716
11717
11718 static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
11719 PyObject *resultobj = NULL;
11720 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11721 wxPoint *arg2 = 0 ;
11722 int result;
11723 wxPoint temp2 ;
11724 PyObject * obj0 = 0 ;
11725 PyObject * obj1 = 0 ;
11726 char *kwnames[] = {
11727 (char *) "self",(char *) "pt", NULL
11728 };
11729
11730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
11731 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11732 if (SWIG_arg_fail(1)) SWIG_fail;
11733 {
11734 arg2 = &temp2;
11735 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11736 }
11737 {
11738 PyThreadState* __tstate = wxPyBeginAllowThreads();
11739 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
11740
11741 wxPyEndAllowThreads(__tstate);
11742 if (PyErr_Occurred()) SWIG_fail;
11743 }
11744 {
11745 resultobj = SWIG_From_int(static_cast<int >(result));
11746 }
11747 return resultobj;
11748 fail:
11749 return NULL;
11750 }
11751
11752
11753 static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
11754 PyObject *resultobj = NULL;
11755 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11756 PyObject * obj0 = 0 ;
11757 char *kwnames[] = {
11758 (char *) "self", NULL
11759 };
11760
11761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
11762 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11763 if (SWIG_arg_fail(1)) SWIG_fail;
11764 {
11765 PyThreadState* __tstate = wxPyBeginAllowThreads();
11766 (arg1)->RefreshAll();
11767
11768 wxPyEndAllowThreads(__tstate);
11769 if (PyErr_Occurred()) SWIG_fail;
11770 }
11771 Py_INCREF(Py_None); resultobj = Py_None;
11772 return resultobj;
11773 fail:
11774 return NULL;
11775 }
11776
11777
11778 static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
11779 PyObject *resultobj = NULL;
11780 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11781 size_t result;
11782 PyObject * obj0 = 0 ;
11783 char *kwnames[] = {
11784 (char *) "self", NULL
11785 };
11786
11787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
11788 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11789 if (SWIG_arg_fail(1)) SWIG_fail;
11790 {
11791 PyThreadState* __tstate = wxPyBeginAllowThreads();
11792 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
11793
11794 wxPyEndAllowThreads(__tstate);
11795 if (PyErr_Occurred()) SWIG_fail;
11796 }
11797 {
11798 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
11799 }
11800 return resultobj;
11801 fail:
11802 return NULL;
11803 }
11804
11805
11806 static PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *, PyObject *args, PyObject *kwargs) {
11807 PyObject *resultobj = NULL;
11808 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11809 size_t result;
11810 PyObject * obj0 = 0 ;
11811 char *kwnames[] = {
11812 (char *) "self", NULL
11813 };
11814
11815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetVisibleBegin",kwnames,&obj0)) goto fail;
11816 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11817 if (SWIG_arg_fail(1)) SWIG_fail;
11818 {
11819 PyThreadState* __tstate = wxPyBeginAllowThreads();
11820 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleBegin();
11821
11822 wxPyEndAllowThreads(__tstate);
11823 if (PyErr_Occurred()) SWIG_fail;
11824 }
11825 {
11826 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
11827 }
11828 return resultobj;
11829 fail:
11830 return NULL;
11831 }
11832
11833
11834 static PyObject *_wrap_VScrolledWindow_GetVisibleEnd(PyObject *, PyObject *args, PyObject *kwargs) {
11835 PyObject *resultobj = NULL;
11836 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11837 size_t result;
11838 PyObject * obj0 = 0 ;
11839 char *kwnames[] = {
11840 (char *) "self", NULL
11841 };
11842
11843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetVisibleEnd",kwnames,&obj0)) goto fail;
11844 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11845 if (SWIG_arg_fail(1)) SWIG_fail;
11846 {
11847 PyThreadState* __tstate = wxPyBeginAllowThreads();
11848 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleEnd();
11849
11850 wxPyEndAllowThreads(__tstate);
11851 if (PyErr_Occurred()) SWIG_fail;
11852 }
11853 {
11854 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
11855 }
11856 return resultobj;
11857 fail:
11858 return NULL;
11859 }
11860
11861
11862 static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
11863 PyObject *resultobj = NULL;
11864 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11865 size_t arg2 ;
11866 bool result;
11867 PyObject * obj0 = 0 ;
11868 PyObject * obj1 = 0 ;
11869 char *kwnames[] = {
11870 (char *) "self",(char *) "line", NULL
11871 };
11872
11873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
11874 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11875 if (SWIG_arg_fail(1)) SWIG_fail;
11876 {
11877 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
11878 if (SWIG_arg_fail(2)) SWIG_fail;
11879 }
11880 {
11881 PyThreadState* __tstate = wxPyBeginAllowThreads();
11882 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
11883
11884 wxPyEndAllowThreads(__tstate);
11885 if (PyErr_Occurred()) SWIG_fail;
11886 }
11887 {
11888 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11889 }
11890 return resultobj;
11891 fail:
11892 return NULL;
11893 }
11894
11895
11896 static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
11897 PyObject *resultobj = NULL;
11898 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11899 size_t result;
11900 PyObject * obj0 = 0 ;
11901 char *kwnames[] = {
11902 (char *) "self", NULL
11903 };
11904
11905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
11906 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11907 if (SWIG_arg_fail(1)) SWIG_fail;
11908 {
11909 PyThreadState* __tstate = wxPyBeginAllowThreads();
11910 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
11911
11912 wxPyEndAllowThreads(__tstate);
11913 if (PyErr_Occurred()) SWIG_fail;
11914 }
11915 {
11916 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
11917 }
11918 return resultobj;
11919 fail:
11920 return NULL;
11921 }
11922
11923
11924 static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
11925 PyObject *resultobj = NULL;
11926 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11927 size_t result;
11928 PyObject * obj0 = 0 ;
11929 char *kwnames[] = {
11930 (char *) "self", NULL
11931 };
11932
11933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
11934 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11935 if (SWIG_arg_fail(1)) SWIG_fail;
11936 {
11937 PyThreadState* __tstate = wxPyBeginAllowThreads();
11938 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
11939
11940 wxPyEndAllowThreads(__tstate);
11941 if (PyErr_Occurred()) SWIG_fail;
11942 }
11943 {
11944 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
11945 }
11946 return resultobj;
11947 fail:
11948 return NULL;
11949 }
11950
11951
11952 static PyObject * VScrolledWindow_swigregister(PyObject *, PyObject *args) {
11953 PyObject *obj;
11954 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11955 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
11956 Py_INCREF(obj);
11957 return Py_BuildValue((char *)"");
11958 }
11959 static int _wrap_VListBoxNameStr_set(PyObject *) {
11960 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
11961 return 1;
11962 }
11963
11964
11965 static PyObject *_wrap_VListBoxNameStr_get(void) {
11966 PyObject *pyobj = NULL;
11967
11968 {
11969 #if wxUSE_UNICODE
11970 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
11971 #else
11972 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
11973 #endif
11974 }
11975 return pyobj;
11976 }
11977
11978
11979 static PyObject *_wrap_new_VListBox(PyObject *, PyObject *args, PyObject *kwargs) {
11980 PyObject *resultobj = NULL;
11981 wxWindow *arg1 = (wxWindow *) 0 ;
11982 int arg2 = (int) wxID_ANY ;
11983 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11984 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11985 wxSize const &arg4_defvalue = wxDefaultSize ;
11986 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11987 long arg5 = (long) 0 ;
11988 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
11989 wxString *arg6 = (wxString *) &arg6_defvalue ;
11990 wxPyVListBox *result;
11991 wxPoint temp3 ;
11992 wxSize temp4 ;
11993 bool temp6 = false ;
11994 PyObject * obj0 = 0 ;
11995 PyObject * obj1 = 0 ;
11996 PyObject * obj2 = 0 ;
11997 PyObject * obj3 = 0 ;
11998 PyObject * obj4 = 0 ;
11999 PyObject * obj5 = 0 ;
12000 char *kwnames[] = {
12001 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12002 };
12003
12004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12005 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12006 if (SWIG_arg_fail(1)) SWIG_fail;
12007 if (obj1) {
12008 {
12009 arg2 = static_cast<int >(SWIG_As_int(obj1));
12010 if (SWIG_arg_fail(2)) SWIG_fail;
12011 }
12012 }
12013 if (obj2) {
12014 {
12015 arg3 = &temp3;
12016 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12017 }
12018 }
12019 if (obj3) {
12020 {
12021 arg4 = &temp4;
12022 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12023 }
12024 }
12025 if (obj4) {
12026 {
12027 arg5 = static_cast<long >(SWIG_As_long(obj4));
12028 if (SWIG_arg_fail(5)) SWIG_fail;
12029 }
12030 }
12031 if (obj5) {
12032 {
12033 arg6 = wxString_in_helper(obj5);
12034 if (arg6 == NULL) SWIG_fail;
12035 temp6 = true;
12036 }
12037 }
12038 {
12039 if (!wxPyCheckForApp()) SWIG_fail;
12040 PyThreadState* __tstate = wxPyBeginAllowThreads();
12041 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12042
12043 wxPyEndAllowThreads(__tstate);
12044 if (PyErr_Occurred()) SWIG_fail;
12045 }
12046 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
12047 {
12048 if (temp6)
12049 delete arg6;
12050 }
12051 return resultobj;
12052 fail:
12053 {
12054 if (temp6)
12055 delete arg6;
12056 }
12057 return NULL;
12058 }
12059
12060
12061 static PyObject *_wrap_new_PreVListBox(PyObject *, PyObject *args, PyObject *kwargs) {
12062 PyObject *resultobj = NULL;
12063 wxPyVListBox *result;
12064 char *kwnames[] = {
12065 NULL
12066 };
12067
12068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
12069 {
12070 if (!wxPyCheckForApp()) SWIG_fail;
12071 PyThreadState* __tstate = wxPyBeginAllowThreads();
12072 result = (wxPyVListBox *)new wxPyVListBox();
12073
12074 wxPyEndAllowThreads(__tstate);
12075 if (PyErr_Occurred()) SWIG_fail;
12076 }
12077 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
12078 return resultobj;
12079 fail:
12080 return NULL;
12081 }
12082
12083
12084 static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
12085 PyObject *resultobj = NULL;
12086 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12087 PyObject *arg2 = (PyObject *) 0 ;
12088 PyObject *arg3 = (PyObject *) 0 ;
12089 PyObject * obj0 = 0 ;
12090 PyObject * obj1 = 0 ;
12091 PyObject * obj2 = 0 ;
12092 char *kwnames[] = {
12093 (char *) "self",(char *) "self",(char *) "_class", NULL
12094 };
12095
12096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
12097 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12098 if (SWIG_arg_fail(1)) SWIG_fail;
12099 arg2 = obj1;
12100 arg3 = obj2;
12101 {
12102 PyThreadState* __tstate = wxPyBeginAllowThreads();
12103 (arg1)->_setCallbackInfo(arg2,arg3);
12104
12105 wxPyEndAllowThreads(__tstate);
12106 if (PyErr_Occurred()) SWIG_fail;
12107 }
12108 Py_INCREF(Py_None); resultobj = Py_None;
12109 return resultobj;
12110 fail:
12111 return NULL;
12112 }
12113
12114
12115 static PyObject *_wrap_VListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
12116 PyObject *resultobj = NULL;
12117 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12118 wxWindow *arg2 = (wxWindow *) 0 ;
12119 int arg3 = (int) wxID_ANY ;
12120 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12121 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12122 wxSize const &arg5_defvalue = wxDefaultSize ;
12123 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12124 long arg6 = (long) 0 ;
12125 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
12126 wxString *arg7 = (wxString *) &arg7_defvalue ;
12127 bool result;
12128 wxPoint temp4 ;
12129 wxSize temp5 ;
12130 bool temp7 = false ;
12131 PyObject * obj0 = 0 ;
12132 PyObject * obj1 = 0 ;
12133 PyObject * obj2 = 0 ;
12134 PyObject * obj3 = 0 ;
12135 PyObject * obj4 = 0 ;
12136 PyObject * obj5 = 0 ;
12137 PyObject * obj6 = 0 ;
12138 char *kwnames[] = {
12139 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12140 };
12141
12142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
12143 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12144 if (SWIG_arg_fail(1)) SWIG_fail;
12145 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12146 if (SWIG_arg_fail(2)) SWIG_fail;
12147 if (obj2) {
12148 {
12149 arg3 = static_cast<int >(SWIG_As_int(obj2));
12150 if (SWIG_arg_fail(3)) SWIG_fail;
12151 }
12152 }
12153 if (obj3) {
12154 {
12155 arg4 = &temp4;
12156 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12157 }
12158 }
12159 if (obj4) {
12160 {
12161 arg5 = &temp5;
12162 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12163 }
12164 }
12165 if (obj5) {
12166 {
12167 arg6 = static_cast<long >(SWIG_As_long(obj5));
12168 if (SWIG_arg_fail(6)) SWIG_fail;
12169 }
12170 }
12171 if (obj6) {
12172 {
12173 arg7 = wxString_in_helper(obj6);
12174 if (arg7 == NULL) SWIG_fail;
12175 temp7 = true;
12176 }
12177 }
12178 {
12179 PyThreadState* __tstate = wxPyBeginAllowThreads();
12180 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12181
12182 wxPyEndAllowThreads(__tstate);
12183 if (PyErr_Occurred()) SWIG_fail;
12184 }
12185 {
12186 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12187 }
12188 {
12189 if (temp7)
12190 delete arg7;
12191 }
12192 return resultobj;
12193 fail:
12194 {
12195 if (temp7)
12196 delete arg7;
12197 }
12198 return NULL;
12199 }
12200
12201
12202 static PyObject *_wrap_VListBox_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
12203 PyObject *resultobj = NULL;
12204 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12205 size_t result;
12206 PyObject * obj0 = 0 ;
12207 char *kwnames[] = {
12208 (char *) "self", NULL
12209 };
12210
12211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
12212 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12213 if (SWIG_arg_fail(1)) SWIG_fail;
12214 {
12215 PyThreadState* __tstate = wxPyBeginAllowThreads();
12216 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
12217
12218 wxPyEndAllowThreads(__tstate);
12219 if (PyErr_Occurred()) SWIG_fail;
12220 }
12221 {
12222 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
12223 }
12224 return resultobj;
12225 fail:
12226 return NULL;
12227 }
12228
12229
12230 static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *, PyObject *args, PyObject *kwargs) {
12231 PyObject *resultobj = NULL;
12232 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12233 bool result;
12234 PyObject * obj0 = 0 ;
12235 char *kwnames[] = {
12236 (char *) "self", NULL
12237 };
12238
12239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
12240 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12241 if (SWIG_arg_fail(1)) SWIG_fail;
12242 {
12243 PyThreadState* __tstate = wxPyBeginAllowThreads();
12244 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
12245
12246 wxPyEndAllowThreads(__tstate);
12247 if (PyErr_Occurred()) SWIG_fail;
12248 }
12249 {
12250 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12251 }
12252 return resultobj;
12253 fail:
12254 return NULL;
12255 }
12256
12257
12258 static PyObject *_wrap_VListBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
12259 PyObject *resultobj = NULL;
12260 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12261 int result;
12262 PyObject * obj0 = 0 ;
12263 char *kwnames[] = {
12264 (char *) "self", NULL
12265 };
12266
12267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
12268 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12269 if (SWIG_arg_fail(1)) SWIG_fail;
12270 {
12271 PyThreadState* __tstate = wxPyBeginAllowThreads();
12272 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
12273
12274 wxPyEndAllowThreads(__tstate);
12275 if (PyErr_Occurred()) SWIG_fail;
12276 }
12277 {
12278 resultobj = SWIG_From_int(static_cast<int >(result));
12279 }
12280 return resultobj;
12281 fail:
12282 return NULL;
12283 }
12284
12285
12286 static PyObject *_wrap_VListBox_IsCurrent(PyObject *, PyObject *args, PyObject *kwargs) {
12287 PyObject *resultobj = NULL;
12288 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12289 size_t arg2 ;
12290 bool result;
12291 PyObject * obj0 = 0 ;
12292 PyObject * obj1 = 0 ;
12293 char *kwnames[] = {
12294 (char *) "self",(char *) "item", NULL
12295 };
12296
12297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
12298 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12299 if (SWIG_arg_fail(1)) SWIG_fail;
12300 {
12301 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
12302 if (SWIG_arg_fail(2)) SWIG_fail;
12303 }
12304 {
12305 PyThreadState* __tstate = wxPyBeginAllowThreads();
12306 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
12307
12308 wxPyEndAllowThreads(__tstate);
12309 if (PyErr_Occurred()) SWIG_fail;
12310 }
12311 {
12312 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12313 }
12314 return resultobj;
12315 fail:
12316 return NULL;
12317 }
12318
12319
12320 static PyObject *_wrap_VListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
12321 PyObject *resultobj = NULL;
12322 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12323 size_t arg2 ;
12324 bool result;
12325 PyObject * obj0 = 0 ;
12326 PyObject * obj1 = 0 ;
12327 char *kwnames[] = {
12328 (char *) "self",(char *) "item", NULL
12329 };
12330
12331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
12332 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12333 if (SWIG_arg_fail(1)) SWIG_fail;
12334 {
12335 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
12336 if (SWIG_arg_fail(2)) SWIG_fail;
12337 }
12338 {
12339 PyThreadState* __tstate = wxPyBeginAllowThreads();
12340 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
12341
12342 wxPyEndAllowThreads(__tstate);
12343 if (PyErr_Occurred()) SWIG_fail;
12344 }
12345 {
12346 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12347 }
12348 return resultobj;
12349 fail:
12350 return NULL;
12351 }
12352
12353
12354 static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *, PyObject *args, PyObject *kwargs) {
12355 PyObject *resultobj = NULL;
12356 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12357 size_t result;
12358 PyObject * obj0 = 0 ;
12359 char *kwnames[] = {
12360 (char *) "self", NULL
12361 };
12362
12363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
12364 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12365 if (SWIG_arg_fail(1)) SWIG_fail;
12366 {
12367 PyThreadState* __tstate = wxPyBeginAllowThreads();
12368 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
12369
12370 wxPyEndAllowThreads(__tstate);
12371 if (PyErr_Occurred()) SWIG_fail;
12372 }
12373 {
12374 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
12375 }
12376 return resultobj;
12377 fail:
12378 return NULL;
12379 }
12380
12381
12382 static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
12383 PyObject *resultobj = NULL;
12384 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12385 PyObject *result;
12386 PyObject * obj0 = 0 ;
12387 char *kwnames[] = {
12388 (char *) "self", NULL
12389 };
12390
12391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetFirstSelected",kwnames,&obj0)) goto fail;
12392 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12393 if (SWIG_arg_fail(1)) SWIG_fail;
12394 {
12395 PyThreadState* __tstate = wxPyBeginAllowThreads();
12396 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
12397
12398 wxPyEndAllowThreads(__tstate);
12399 if (PyErr_Occurred()) SWIG_fail;
12400 }
12401 resultobj = result;
12402 return resultobj;
12403 fail:
12404 return NULL;
12405 }
12406
12407
12408 static PyObject *_wrap_VListBox_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
12409 PyObject *resultobj = NULL;
12410 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12411 unsigned long arg2 ;
12412 PyObject *result;
12413 PyObject * obj0 = 0 ;
12414 PyObject * obj1 = 0 ;
12415 char *kwnames[] = {
12416 (char *) "self",(char *) "cookie", NULL
12417 };
12418
12419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
12420 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12421 if (SWIG_arg_fail(1)) SWIG_fail;
12422 {
12423 arg2 = static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj1));
12424 if (SWIG_arg_fail(2)) SWIG_fail;
12425 }
12426 {
12427 PyThreadState* __tstate = wxPyBeginAllowThreads();
12428 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
12429
12430 wxPyEndAllowThreads(__tstate);
12431 if (PyErr_Occurred()) SWIG_fail;
12432 }
12433 resultobj = result;
12434 return resultobj;
12435 fail:
12436 return NULL;
12437 }
12438
12439
12440 static PyObject *_wrap_VListBox_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
12441 PyObject *resultobj = NULL;
12442 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12443 wxPoint result;
12444 PyObject * obj0 = 0 ;
12445 char *kwnames[] = {
12446 (char *) "self", NULL
12447 };
12448
12449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
12450 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12451 if (SWIG_arg_fail(1)) SWIG_fail;
12452 {
12453 PyThreadState* __tstate = wxPyBeginAllowThreads();
12454 result = ((wxPyVListBox const *)arg1)->GetMargins();
12455
12456 wxPyEndAllowThreads(__tstate);
12457 if (PyErr_Occurred()) SWIG_fail;
12458 }
12459 {
12460 wxPoint * resultptr;
12461 resultptr = new wxPoint(static_cast<wxPoint & >(result));
12462 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
12463 }
12464 return resultobj;
12465 fail:
12466 return NULL;
12467 }
12468
12469
12470 static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
12471 PyObject *resultobj = NULL;
12472 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12473 wxColour *result;
12474 PyObject * obj0 = 0 ;
12475 char *kwnames[] = {
12476 (char *) "self", NULL
12477 };
12478
12479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
12480 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12481 if (SWIG_arg_fail(1)) SWIG_fail;
12482 {
12483 PyThreadState* __tstate = wxPyBeginAllowThreads();
12484 {
12485 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
12486 result = (wxColour *) &_result_ref;
12487 }
12488
12489 wxPyEndAllowThreads(__tstate);
12490 if (PyErr_Occurred()) SWIG_fail;
12491 }
12492 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
12493 return resultobj;
12494 fail:
12495 return NULL;
12496 }
12497
12498
12499 static PyObject *_wrap_VListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
12500 PyObject *resultobj = NULL;
12501 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12502 size_t arg2 ;
12503 PyObject * obj0 = 0 ;
12504 PyObject * obj1 = 0 ;
12505 char *kwnames[] = {
12506 (char *) "self",(char *) "count", NULL
12507 };
12508
12509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
12510 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12511 if (SWIG_arg_fail(1)) SWIG_fail;
12512 {
12513 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
12514 if (SWIG_arg_fail(2)) SWIG_fail;
12515 }
12516 {
12517 PyThreadState* __tstate = wxPyBeginAllowThreads();
12518 (arg1)->SetItemCount(arg2);
12519
12520 wxPyEndAllowThreads(__tstate);
12521 if (PyErr_Occurred()) SWIG_fail;
12522 }
12523 Py_INCREF(Py_None); resultobj = Py_None;
12524 return resultobj;
12525 fail:
12526 return NULL;
12527 }
12528
12529
12530 static PyObject *_wrap_VListBox_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
12531 PyObject *resultobj = NULL;
12532 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12533 PyObject * obj0 = 0 ;
12534 char *kwnames[] = {
12535 (char *) "self", NULL
12536 };
12537
12538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
12539 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12540 if (SWIG_arg_fail(1)) SWIG_fail;
12541 {
12542 PyThreadState* __tstate = wxPyBeginAllowThreads();
12543 (arg1)->Clear();
12544
12545 wxPyEndAllowThreads(__tstate);
12546 if (PyErr_Occurred()) SWIG_fail;
12547 }
12548 Py_INCREF(Py_None); resultobj = Py_None;
12549 return resultobj;
12550 fail:
12551 return NULL;
12552 }
12553
12554
12555 static PyObject *_wrap_VListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
12556 PyObject *resultobj = NULL;
12557 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12558 int arg2 ;
12559 PyObject * obj0 = 0 ;
12560 PyObject * obj1 = 0 ;
12561 char *kwnames[] = {
12562 (char *) "self",(char *) "selection", NULL
12563 };
12564
12565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
12566 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12567 if (SWIG_arg_fail(1)) SWIG_fail;
12568 {
12569 arg2 = static_cast<int >(SWIG_As_int(obj1));
12570 if (SWIG_arg_fail(2)) SWIG_fail;
12571 }
12572 {
12573 PyThreadState* __tstate = wxPyBeginAllowThreads();
12574 (arg1)->SetSelection(arg2);
12575
12576 wxPyEndAllowThreads(__tstate);
12577 if (PyErr_Occurred()) SWIG_fail;
12578 }
12579 Py_INCREF(Py_None); resultobj = Py_None;
12580 return resultobj;
12581 fail:
12582 return NULL;
12583 }
12584
12585
12586 static PyObject *_wrap_VListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
12587 PyObject *resultobj = NULL;
12588 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12589 size_t arg2 ;
12590 bool arg3 = (bool) true ;
12591 bool result;
12592 PyObject * obj0 = 0 ;
12593 PyObject * obj1 = 0 ;
12594 PyObject * obj2 = 0 ;
12595 char *kwnames[] = {
12596 (char *) "self",(char *) "item",(char *) "select", NULL
12597 };
12598
12599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
12600 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12601 if (SWIG_arg_fail(1)) SWIG_fail;
12602 {
12603 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
12604 if (SWIG_arg_fail(2)) SWIG_fail;
12605 }
12606 if (obj2) {
12607 {
12608 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
12609 if (SWIG_arg_fail(3)) SWIG_fail;
12610 }
12611 }
12612 {
12613 PyThreadState* __tstate = wxPyBeginAllowThreads();
12614 result = (bool)(arg1)->Select(arg2,arg3);
12615
12616 wxPyEndAllowThreads(__tstate);
12617 if (PyErr_Occurred()) SWIG_fail;
12618 }
12619 {
12620 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12621 }
12622 return resultobj;
12623 fail:
12624 return NULL;
12625 }
12626
12627
12628 static PyObject *_wrap_VListBox_SelectRange(PyObject *, PyObject *args, PyObject *kwargs) {
12629 PyObject *resultobj = NULL;
12630 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12631 size_t arg2 ;
12632 size_t arg3 ;
12633 bool result;
12634 PyObject * obj0 = 0 ;
12635 PyObject * obj1 = 0 ;
12636 PyObject * obj2 = 0 ;
12637 char *kwnames[] = {
12638 (char *) "self",(char *) "from",(char *) "to", NULL
12639 };
12640
12641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
12642 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12643 if (SWIG_arg_fail(1)) SWIG_fail;
12644 {
12645 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
12646 if (SWIG_arg_fail(2)) SWIG_fail;
12647 }
12648 {
12649 arg3 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2));
12650 if (SWIG_arg_fail(3)) SWIG_fail;
12651 }
12652 {
12653 PyThreadState* __tstate = wxPyBeginAllowThreads();
12654 result = (bool)(arg1)->SelectRange(arg2,arg3);
12655
12656 wxPyEndAllowThreads(__tstate);
12657 if (PyErr_Occurred()) SWIG_fail;
12658 }
12659 {
12660 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12661 }
12662 return resultobj;
12663 fail:
12664 return NULL;
12665 }
12666
12667
12668 static PyObject *_wrap_VListBox_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
12669 PyObject *resultobj = NULL;
12670 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12671 size_t arg2 ;
12672 PyObject * obj0 = 0 ;
12673 PyObject * obj1 = 0 ;
12674 char *kwnames[] = {
12675 (char *) "self",(char *) "item", NULL
12676 };
12677
12678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
12679 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12680 if (SWIG_arg_fail(1)) SWIG_fail;
12681 {
12682 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
12683 if (SWIG_arg_fail(2)) SWIG_fail;
12684 }
12685 {
12686 PyThreadState* __tstate = wxPyBeginAllowThreads();
12687 (arg1)->Toggle(arg2);
12688
12689 wxPyEndAllowThreads(__tstate);
12690 if (PyErr_Occurred()) SWIG_fail;
12691 }
12692 Py_INCREF(Py_None); resultobj = Py_None;
12693 return resultobj;
12694 fail:
12695 return NULL;
12696 }
12697
12698
12699 static PyObject *_wrap_VListBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
12700 PyObject *resultobj = NULL;
12701 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12702 bool result;
12703 PyObject * obj0 = 0 ;
12704 char *kwnames[] = {
12705 (char *) "self", NULL
12706 };
12707
12708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
12709 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12710 if (SWIG_arg_fail(1)) SWIG_fail;
12711 {
12712 PyThreadState* __tstate = wxPyBeginAllowThreads();
12713 result = (bool)(arg1)->SelectAll();
12714
12715 wxPyEndAllowThreads(__tstate);
12716 if (PyErr_Occurred()) SWIG_fail;
12717 }
12718 {
12719 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12720 }
12721 return resultobj;
12722 fail:
12723 return NULL;
12724 }
12725
12726
12727 static PyObject *_wrap_VListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
12728 PyObject *resultobj = NULL;
12729 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12730 bool result;
12731 PyObject * obj0 = 0 ;
12732 char *kwnames[] = {
12733 (char *) "self", NULL
12734 };
12735
12736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
12737 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12738 if (SWIG_arg_fail(1)) SWIG_fail;
12739 {
12740 PyThreadState* __tstate = wxPyBeginAllowThreads();
12741 result = (bool)(arg1)->DeselectAll();
12742
12743 wxPyEndAllowThreads(__tstate);
12744 if (PyErr_Occurred()) SWIG_fail;
12745 }
12746 {
12747 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12748 }
12749 return resultobj;
12750 fail:
12751 return NULL;
12752 }
12753
12754
12755 static PyObject *_wrap_VListBox_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
12756 PyObject *resultobj = NULL;
12757 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12758 wxPoint *arg2 = 0 ;
12759 wxPoint temp2 ;
12760 PyObject * obj0 = 0 ;
12761 PyObject * obj1 = 0 ;
12762 char *kwnames[] = {
12763 (char *) "self",(char *) "pt", NULL
12764 };
12765
12766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
12767 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12768 if (SWIG_arg_fail(1)) SWIG_fail;
12769 {
12770 arg2 = &temp2;
12771 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
12772 }
12773 {
12774 PyThreadState* __tstate = wxPyBeginAllowThreads();
12775 (arg1)->SetMargins((wxPoint const &)*arg2);
12776
12777 wxPyEndAllowThreads(__tstate);
12778 if (PyErr_Occurred()) SWIG_fail;
12779 }
12780 Py_INCREF(Py_None); resultobj = Py_None;
12781 return resultobj;
12782 fail:
12783 return NULL;
12784 }
12785
12786
12787 static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
12788 PyObject *resultobj = NULL;
12789 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12790 int arg2 ;
12791 int arg3 ;
12792 PyObject * obj0 = 0 ;
12793 PyObject * obj1 = 0 ;
12794 PyObject * obj2 = 0 ;
12795 char *kwnames[] = {
12796 (char *) "self",(char *) "x",(char *) "y", NULL
12797 };
12798
12799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
12800 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12801 if (SWIG_arg_fail(1)) SWIG_fail;
12802 {
12803 arg2 = static_cast<int >(SWIG_As_int(obj1));
12804 if (SWIG_arg_fail(2)) SWIG_fail;
12805 }
12806 {
12807 arg3 = static_cast<int >(SWIG_As_int(obj2));
12808 if (SWIG_arg_fail(3)) SWIG_fail;
12809 }
12810 {
12811 PyThreadState* __tstate = wxPyBeginAllowThreads();
12812 (arg1)->SetMargins(arg2,arg3);
12813
12814 wxPyEndAllowThreads(__tstate);
12815 if (PyErr_Occurred()) SWIG_fail;
12816 }
12817 Py_INCREF(Py_None); resultobj = Py_None;
12818 return resultobj;
12819 fail:
12820 return NULL;
12821 }
12822
12823
12824 static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
12825 PyObject *resultobj = NULL;
12826 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12827 wxColour *arg2 = 0 ;
12828 wxColour temp2 ;
12829 PyObject * obj0 = 0 ;
12830 PyObject * obj1 = 0 ;
12831 char *kwnames[] = {
12832 (char *) "self",(char *) "col", NULL
12833 };
12834
12835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
12836 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12837 if (SWIG_arg_fail(1)) SWIG_fail;
12838 {
12839 arg2 = &temp2;
12840 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12841 }
12842 {
12843 PyThreadState* __tstate = wxPyBeginAllowThreads();
12844 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
12845
12846 wxPyEndAllowThreads(__tstate);
12847 if (PyErr_Occurred()) SWIG_fail;
12848 }
12849 Py_INCREF(Py_None); resultobj = Py_None;
12850 return resultobj;
12851 fail:
12852 return NULL;
12853 }
12854
12855
12856 static PyObject * VListBox_swigregister(PyObject *, PyObject *args) {
12857 PyObject *obj;
12858 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12859 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
12860 Py_INCREF(obj);
12861 return Py_BuildValue((char *)"");
12862 }
12863 static PyObject *_wrap_new_HtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
12864 PyObject *resultobj = NULL;
12865 wxWindow *arg1 = (wxWindow *) 0 ;
12866 int arg2 = (int) wxID_ANY ;
12867 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12868 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12869 wxSize const &arg4_defvalue = wxDefaultSize ;
12870 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12871 long arg5 = (long) 0 ;
12872 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
12873 wxString *arg6 = (wxString *) &arg6_defvalue ;
12874 wxPyHtmlListBox *result;
12875 wxPoint temp3 ;
12876 wxSize temp4 ;
12877 bool temp6 = false ;
12878 PyObject * obj0 = 0 ;
12879 PyObject * obj1 = 0 ;
12880 PyObject * obj2 = 0 ;
12881 PyObject * obj3 = 0 ;
12882 PyObject * obj4 = 0 ;
12883 PyObject * obj5 = 0 ;
12884 char *kwnames[] = {
12885 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12886 };
12887
12888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12889 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12890 if (SWIG_arg_fail(1)) SWIG_fail;
12891 if (obj1) {
12892 {
12893 arg2 = static_cast<int >(SWIG_As_int(obj1));
12894 if (SWIG_arg_fail(2)) SWIG_fail;
12895 }
12896 }
12897 if (obj2) {
12898 {
12899 arg3 = &temp3;
12900 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12901 }
12902 }
12903 if (obj3) {
12904 {
12905 arg4 = &temp4;
12906 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12907 }
12908 }
12909 if (obj4) {
12910 {
12911 arg5 = static_cast<long >(SWIG_As_long(obj4));
12912 if (SWIG_arg_fail(5)) SWIG_fail;
12913 }
12914 }
12915 if (obj5) {
12916 {
12917 arg6 = wxString_in_helper(obj5);
12918 if (arg6 == NULL) SWIG_fail;
12919 temp6 = true;
12920 }
12921 }
12922 {
12923 if (!wxPyCheckForApp()) SWIG_fail;
12924 PyThreadState* __tstate = wxPyBeginAllowThreads();
12925 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12926
12927 wxPyEndAllowThreads(__tstate);
12928 if (PyErr_Occurred()) SWIG_fail;
12929 }
12930 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
12931 {
12932 if (temp6)
12933 delete arg6;
12934 }
12935 return resultobj;
12936 fail:
12937 {
12938 if (temp6)
12939 delete arg6;
12940 }
12941 return NULL;
12942 }
12943
12944
12945 static PyObject *_wrap_new_PreHtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
12946 PyObject *resultobj = NULL;
12947 wxPyHtmlListBox *result;
12948 char *kwnames[] = {
12949 NULL
12950 };
12951
12952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
12953 {
12954 if (!wxPyCheckForApp()) SWIG_fail;
12955 PyThreadState* __tstate = wxPyBeginAllowThreads();
12956 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
12957
12958 wxPyEndAllowThreads(__tstate);
12959 if (PyErr_Occurred()) SWIG_fail;
12960 }
12961 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
12962 return resultobj;
12963 fail:
12964 return NULL;
12965 }
12966
12967
12968 static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
12969 PyObject *resultobj = NULL;
12970 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12971 PyObject *arg2 = (PyObject *) 0 ;
12972 PyObject *arg3 = (PyObject *) 0 ;
12973 PyObject * obj0 = 0 ;
12974 PyObject * obj1 = 0 ;
12975 PyObject * obj2 = 0 ;
12976 char *kwnames[] = {
12977 (char *) "self",(char *) "self",(char *) "_class", NULL
12978 };
12979
12980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
12981 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12982 if (SWIG_arg_fail(1)) SWIG_fail;
12983 arg2 = obj1;
12984 arg3 = obj2;
12985 {
12986 PyThreadState* __tstate = wxPyBeginAllowThreads();
12987 (arg1)->_setCallbackInfo(arg2,arg3);
12988
12989 wxPyEndAllowThreads(__tstate);
12990 if (PyErr_Occurred()) SWIG_fail;
12991 }
12992 Py_INCREF(Py_None); resultobj = Py_None;
12993 return resultobj;
12994 fail:
12995 return NULL;
12996 }
12997
12998
12999 static PyObject *_wrap_HtmlListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
13000 PyObject *resultobj = NULL;
13001 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
13002 wxWindow *arg2 = (wxWindow *) 0 ;
13003 int arg3 = (int) wxID_ANY ;
13004 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13005 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13006 wxSize const &arg5_defvalue = wxDefaultSize ;
13007 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13008 long arg6 = (long) 0 ;
13009 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
13010 wxString *arg7 = (wxString *) &arg7_defvalue ;
13011 bool result;
13012 wxPoint temp4 ;
13013 wxSize temp5 ;
13014 bool temp7 = false ;
13015 PyObject * obj0 = 0 ;
13016 PyObject * obj1 = 0 ;
13017 PyObject * obj2 = 0 ;
13018 PyObject * obj3 = 0 ;
13019 PyObject * obj4 = 0 ;
13020 PyObject * obj5 = 0 ;
13021 PyObject * obj6 = 0 ;
13022 char *kwnames[] = {
13023 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13024 };
13025
13026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
13027 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
13028 if (SWIG_arg_fail(1)) SWIG_fail;
13029 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13030 if (SWIG_arg_fail(2)) SWIG_fail;
13031 if (obj2) {
13032 {
13033 arg3 = static_cast<int >(SWIG_As_int(obj2));
13034 if (SWIG_arg_fail(3)) SWIG_fail;
13035 }
13036 }
13037 if (obj3) {
13038 {
13039 arg4 = &temp4;
13040 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13041 }
13042 }
13043 if (obj4) {
13044 {
13045 arg5 = &temp5;
13046 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13047 }
13048 }
13049 if (obj5) {
13050 {
13051 arg6 = static_cast<long >(SWIG_As_long(obj5));
13052 if (SWIG_arg_fail(6)) SWIG_fail;
13053 }
13054 }
13055 if (obj6) {
13056 {
13057 arg7 = wxString_in_helper(obj6);
13058 if (arg7 == NULL) SWIG_fail;
13059 temp7 = true;
13060 }
13061 }
13062 {
13063 PyThreadState* __tstate = wxPyBeginAllowThreads();
13064 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13065
13066 wxPyEndAllowThreads(__tstate);
13067 if (PyErr_Occurred()) SWIG_fail;
13068 }
13069 {
13070 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13071 }
13072 {
13073 if (temp7)
13074 delete arg7;
13075 }
13076 return resultobj;
13077 fail:
13078 {
13079 if (temp7)
13080 delete arg7;
13081 }
13082 return NULL;
13083 }
13084
13085
13086 static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
13087 PyObject *resultobj = NULL;
13088 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
13089 PyObject * obj0 = 0 ;
13090 char *kwnames[] = {
13091 (char *) "self", NULL
13092 };
13093
13094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
13095 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
13096 if (SWIG_arg_fail(1)) SWIG_fail;
13097 {
13098 PyThreadState* __tstate = wxPyBeginAllowThreads();
13099 (arg1)->RefreshAll();
13100
13101 wxPyEndAllowThreads(__tstate);
13102 if (PyErr_Occurred()) SWIG_fail;
13103 }
13104 Py_INCREF(Py_None); resultobj = Py_None;
13105 return resultobj;
13106 fail:
13107 return NULL;
13108 }
13109
13110
13111 static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
13112 PyObject *resultobj = NULL;
13113 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
13114 size_t arg2 ;
13115 PyObject * obj0 = 0 ;
13116 PyObject * obj1 = 0 ;
13117 char *kwnames[] = {
13118 (char *) "self",(char *) "count", NULL
13119 };
13120
13121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
13122 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
13123 if (SWIG_arg_fail(1)) SWIG_fail;
13124 {
13125 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
13126 if (SWIG_arg_fail(2)) SWIG_fail;
13127 }
13128 {
13129 PyThreadState* __tstate = wxPyBeginAllowThreads();
13130 (arg1)->SetItemCount(arg2);
13131
13132 wxPyEndAllowThreads(__tstate);
13133 if (PyErr_Occurred()) SWIG_fail;
13134 }
13135 Py_INCREF(Py_None); resultobj = Py_None;
13136 return resultobj;
13137 fail:
13138 return NULL;
13139 }
13140
13141
13142 static PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *, PyObject *args, PyObject *kwargs) {
13143 PyObject *resultobj = NULL;
13144 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
13145 wxFileSystem *result;
13146 PyObject * obj0 = 0 ;
13147 char *kwnames[] = {
13148 (char *) "self", NULL
13149 };
13150
13151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_GetFileSystem",kwnames,&obj0)) goto fail;
13152 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
13153 if (SWIG_arg_fail(1)) SWIG_fail;
13154 {
13155 PyThreadState* __tstate = wxPyBeginAllowThreads();
13156 {
13157 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
13158 result = (wxFileSystem *) &_result_ref;
13159 }
13160
13161 wxPyEndAllowThreads(__tstate);
13162 if (PyErr_Occurred()) SWIG_fail;
13163 }
13164 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileSystem, 0);
13165 return resultobj;
13166 fail:
13167 return NULL;
13168 }
13169
13170
13171 static PyObject * HtmlListBox_swigregister(PyObject *, PyObject *args) {
13172 PyObject *obj;
13173 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13174 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
13175 Py_INCREF(obj);
13176 return Py_BuildValue((char *)"");
13177 }
13178 static PyObject *_wrap_new_TaskBarIcon(PyObject *, PyObject *args, PyObject *kwargs) {
13179 PyObject *resultobj = NULL;
13180 wxPyTaskBarIcon *result;
13181 char *kwnames[] = {
13182 NULL
13183 };
13184
13185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
13186 {
13187 if (!wxPyCheckForApp()) SWIG_fail;
13188 PyThreadState* __tstate = wxPyBeginAllowThreads();
13189 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
13190
13191 wxPyEndAllowThreads(__tstate);
13192 if (PyErr_Occurred()) SWIG_fail;
13193 }
13194 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTaskBarIcon, 1);
13195 return resultobj;
13196 fail:
13197 return NULL;
13198 }
13199
13200
13201 static PyObject *_wrap_delete_TaskBarIcon(PyObject *, PyObject *args, PyObject *kwargs) {
13202 PyObject *resultobj = NULL;
13203 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
13204 PyObject * obj0 = 0 ;
13205 char *kwnames[] = {
13206 (char *) "self", NULL
13207 };
13208
13209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail;
13210 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13211 if (SWIG_arg_fail(1)) SWIG_fail;
13212 {
13213 PyThreadState* __tstate = wxPyBeginAllowThreads();
13214 delete arg1;
13215
13216 wxPyEndAllowThreads(__tstate);
13217 if (PyErr_Occurred()) SWIG_fail;
13218 }
13219 Py_INCREF(Py_None); resultobj = Py_None;
13220 return resultobj;
13221 fail:
13222 return NULL;
13223 }
13224
13225
13226 static PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
13227 PyObject *resultobj = NULL;
13228 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
13229 PyObject *arg2 = (PyObject *) 0 ;
13230 PyObject *arg3 = (PyObject *) 0 ;
13231 int arg4 ;
13232 PyObject * obj0 = 0 ;
13233 PyObject * obj1 = 0 ;
13234 PyObject * obj2 = 0 ;
13235 PyObject * obj3 = 0 ;
13236 char *kwnames[] = {
13237 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
13238 };
13239
13240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13241 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13242 if (SWIG_arg_fail(1)) SWIG_fail;
13243 arg2 = obj1;
13244 arg3 = obj2;
13245 {
13246 arg4 = static_cast<int >(SWIG_As_int(obj3));
13247 if (SWIG_arg_fail(4)) SWIG_fail;
13248 }
13249 {
13250 PyThreadState* __tstate = wxPyBeginAllowThreads();
13251 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
13252
13253 wxPyEndAllowThreads(__tstate);
13254 if (PyErr_Occurred()) SWIG_fail;
13255 }
13256 Py_INCREF(Py_None); resultobj = Py_None;
13257 return resultobj;
13258 fail:
13259 return NULL;
13260 }
13261
13262
13263 static PyObject *_wrap_TaskBarIcon_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
13264 PyObject *resultobj = NULL;
13265 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
13266 PyObject * obj0 = 0 ;
13267 char *kwnames[] = {
13268 (char *) "self", NULL
13269 };
13270
13271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_Destroy",kwnames,&obj0)) goto fail;
13272 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13273 if (SWIG_arg_fail(1)) SWIG_fail;
13274 {
13275 PyThreadState* __tstate = wxPyBeginAllowThreads();
13276 wxPyTaskBarIcon_Destroy(arg1);
13277
13278 wxPyEndAllowThreads(__tstate);
13279 if (PyErr_Occurred()) SWIG_fail;
13280 }
13281 Py_INCREF(Py_None); resultobj = Py_None;
13282 return resultobj;
13283 fail:
13284 return NULL;
13285 }
13286
13287
13288 static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
13289 PyObject *resultobj = NULL;
13290 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
13291 bool result;
13292 PyObject * obj0 = 0 ;
13293 char *kwnames[] = {
13294 (char *) "self", NULL
13295 };
13296
13297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
13298 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13299 if (SWIG_arg_fail(1)) SWIG_fail;
13300 {
13301 PyThreadState* __tstate = wxPyBeginAllowThreads();
13302 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
13303
13304 wxPyEndAllowThreads(__tstate);
13305 if (PyErr_Occurred()) SWIG_fail;
13306 }
13307 {
13308 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13309 }
13310 return resultobj;
13311 fail:
13312 return NULL;
13313 }
13314
13315
13316 static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *, PyObject *args, PyObject *kwargs) {
13317 PyObject *resultobj = NULL;
13318 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
13319 bool result;
13320 PyObject * obj0 = 0 ;
13321 char *kwnames[] = {
13322 (char *) "self", NULL
13323 };
13324
13325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail;
13326 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13327 if (SWIG_arg_fail(1)) SWIG_fail;
13328 {
13329 PyThreadState* __tstate = wxPyBeginAllowThreads();
13330 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
13331
13332 wxPyEndAllowThreads(__tstate);
13333 if (PyErr_Occurred()) SWIG_fail;
13334 }
13335 {
13336 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13337 }
13338 return resultobj;
13339 fail:
13340 return NULL;
13341 }
13342
13343
13344 static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
13345 PyObject *resultobj = NULL;
13346 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
13347 wxIcon *arg2 = 0 ;
13348 wxString const &arg3_defvalue = wxPyEmptyString ;
13349 wxString *arg3 = (wxString *) &arg3_defvalue ;
13350 bool result;
13351 bool temp3 = false ;
13352 PyObject * obj0 = 0 ;
13353 PyObject * obj1 = 0 ;
13354 PyObject * obj2 = 0 ;
13355 char *kwnames[] = {
13356 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
13357 };
13358
13359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
13360 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13361 if (SWIG_arg_fail(1)) SWIG_fail;
13362 {
13363 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
13364 if (SWIG_arg_fail(2)) SWIG_fail;
13365 if (arg2 == NULL) {
13366 SWIG_null_ref("wxIcon");
13367 }
13368 if (SWIG_arg_fail(2)) SWIG_fail;
13369 }
13370 if (obj2) {
13371 {
13372 arg3 = wxString_in_helper(obj2);
13373 if (arg3 == NULL) SWIG_fail;
13374 temp3 = true;
13375 }
13376 }
13377 {
13378 PyThreadState* __tstate = wxPyBeginAllowThreads();
13379 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
13380
13381 wxPyEndAllowThreads(__tstate);
13382 if (PyErr_Occurred()) SWIG_fail;
13383 }
13384 {
13385 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13386 }
13387 {
13388 if (temp3)
13389 delete arg3;
13390 }
13391 return resultobj;
13392 fail:
13393 {
13394 if (temp3)
13395 delete arg3;
13396 }
13397 return NULL;
13398 }
13399
13400
13401 static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *, PyObject *args, PyObject *kwargs) {
13402 PyObject *resultobj = NULL;
13403 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
13404 bool result;
13405 PyObject * obj0 = 0 ;
13406 char *kwnames[] = {
13407 (char *) "self", NULL
13408 };
13409
13410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
13411 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13412 if (SWIG_arg_fail(1)) SWIG_fail;
13413 {
13414 PyThreadState* __tstate = wxPyBeginAllowThreads();
13415 result = (bool)(arg1)->RemoveIcon();
13416
13417 wxPyEndAllowThreads(__tstate);
13418 if (PyErr_Occurred()) SWIG_fail;
13419 }
13420 {
13421 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13422 }
13423 return resultobj;
13424 fail:
13425 return NULL;
13426 }
13427
13428
13429 static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *, PyObject *args, PyObject *kwargs) {
13430 PyObject *resultobj = NULL;
13431 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
13432 wxMenu *arg2 = (wxMenu *) 0 ;
13433 bool result;
13434 PyObject * obj0 = 0 ;
13435 PyObject * obj1 = 0 ;
13436 char *kwnames[] = {
13437 (char *) "self",(char *) "menu", NULL
13438 };
13439
13440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
13441 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13442 if (SWIG_arg_fail(1)) SWIG_fail;
13443 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
13444 if (SWIG_arg_fail(2)) SWIG_fail;
13445 {
13446 PyThreadState* __tstate = wxPyBeginAllowThreads();
13447 result = (bool)(arg1)->PopupMenu(arg2);
13448
13449 wxPyEndAllowThreads(__tstate);
13450 if (PyErr_Occurred()) SWIG_fail;
13451 }
13452 {
13453 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13454 }
13455 return resultobj;
13456 fail:
13457 return NULL;
13458 }
13459
13460
13461 static PyObject * TaskBarIcon_swigregister(PyObject *, PyObject *args) {
13462 PyObject *obj;
13463 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13464 SWIG_TypeClientData(SWIGTYPE_p_wxPyTaskBarIcon, obj);
13465 Py_INCREF(obj);
13466 return Py_BuildValue((char *)"");
13467 }
13468 static PyObject *_wrap_new_TaskBarIconEvent(PyObject *, PyObject *args, PyObject *kwargs) {
13469 PyObject *resultobj = NULL;
13470 wxEventType arg1 ;
13471 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
13472 wxTaskBarIconEvent *result;
13473 PyObject * obj0 = 0 ;
13474 PyObject * obj1 = 0 ;
13475 char *kwnames[] = {
13476 (char *) "evtType",(char *) "tbIcon", NULL
13477 };
13478
13479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
13480 {
13481 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
13482 if (SWIG_arg_fail(1)) SWIG_fail;
13483 }
13484 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13485 if (SWIG_arg_fail(2)) SWIG_fail;
13486 {
13487 PyThreadState* __tstate = wxPyBeginAllowThreads();
13488 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
13489
13490 wxPyEndAllowThreads(__tstate);
13491 if (PyErr_Occurred()) SWIG_fail;
13492 }
13493 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1);
13494 return resultobj;
13495 fail:
13496 return NULL;
13497 }
13498
13499
13500 static PyObject * TaskBarIconEvent_swigregister(PyObject *, PyObject *args) {
13501 PyObject *obj;
13502 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13503 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
13504 Py_INCREF(obj);
13505 return Py_BuildValue((char *)"");
13506 }
13507 static int _wrap_FileSelectorPromptStr_set(PyObject *) {
13508 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
13509 return 1;
13510 }
13511
13512
13513 static PyObject *_wrap_FileSelectorPromptStr_get(void) {
13514 PyObject *pyobj = NULL;
13515
13516 {
13517 #if wxUSE_UNICODE
13518 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
13519 #else
13520 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
13521 #endif
13522 }
13523 return pyobj;
13524 }
13525
13526
13527 static int _wrap_DirSelectorPromptStr_set(PyObject *) {
13528 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
13529 return 1;
13530 }
13531
13532
13533 static PyObject *_wrap_DirSelectorPromptStr_get(void) {
13534 PyObject *pyobj = NULL;
13535
13536 {
13537 #if wxUSE_UNICODE
13538 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
13539 #else
13540 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
13541 #endif
13542 }
13543 return pyobj;
13544 }
13545
13546
13547 static int _wrap_DirDialogNameStr_set(PyObject *) {
13548 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
13549 return 1;
13550 }
13551
13552
13553 static PyObject *_wrap_DirDialogNameStr_get(void) {
13554 PyObject *pyobj = NULL;
13555
13556 {
13557 #if wxUSE_UNICODE
13558 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
13559 #else
13560 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
13561 #endif
13562 }
13563 return pyobj;
13564 }
13565
13566
13567 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) {
13568 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
13569 return 1;
13570 }
13571
13572
13573 static PyObject *_wrap_FileSelectorDefaultWildcardStr_get(void) {
13574 PyObject *pyobj = NULL;
13575
13576 {
13577 #if wxUSE_UNICODE
13578 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
13579 #else
13580 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
13581 #endif
13582 }
13583 return pyobj;
13584 }
13585
13586
13587 static int _wrap_GetTextFromUserPromptStr_set(PyObject *) {
13588 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
13589 return 1;
13590 }
13591
13592
13593 static PyObject *_wrap_GetTextFromUserPromptStr_get(void) {
13594 PyObject *pyobj = NULL;
13595
13596 {
13597 #if wxUSE_UNICODE
13598 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
13599 #else
13600 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
13601 #endif
13602 }
13603 return pyobj;
13604 }
13605
13606
13607 static int _wrap_MessageBoxCaptionStr_set(PyObject *) {
13608 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
13609 return 1;
13610 }
13611
13612
13613 static PyObject *_wrap_MessageBoxCaptionStr_get(void) {
13614 PyObject *pyobj = NULL;
13615
13616 {
13617 #if wxUSE_UNICODE
13618 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
13619 #else
13620 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
13621 #endif
13622 }
13623 return pyobj;
13624 }
13625
13626
13627 static PyObject *_wrap_new_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
13628 PyObject *resultobj = NULL;
13629 wxColourData *result;
13630 char *kwnames[] = {
13631 NULL
13632 };
13633
13634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
13635 {
13636 PyThreadState* __tstate = wxPyBeginAllowThreads();
13637 result = (wxColourData *)new wxColourData();
13638
13639 wxPyEndAllowThreads(__tstate);
13640 if (PyErr_Occurred()) SWIG_fail;
13641 }
13642 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1);
13643 return resultobj;
13644 fail:
13645 return NULL;
13646 }
13647
13648
13649 static PyObject *_wrap_delete_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
13650 PyObject *resultobj = NULL;
13651 wxColourData *arg1 = (wxColourData *) 0 ;
13652 PyObject * obj0 = 0 ;
13653 char *kwnames[] = {
13654 (char *) "self", NULL
13655 };
13656
13657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
13658 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13659 if (SWIG_arg_fail(1)) SWIG_fail;
13660 {
13661 PyThreadState* __tstate = wxPyBeginAllowThreads();
13662 delete arg1;
13663
13664 wxPyEndAllowThreads(__tstate);
13665 if (PyErr_Occurred()) SWIG_fail;
13666 }
13667 Py_INCREF(Py_None); resultobj = Py_None;
13668 return resultobj;
13669 fail:
13670 return NULL;
13671 }
13672
13673
13674 static PyObject *_wrap_ColourData_GetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
13675 PyObject *resultobj = NULL;
13676 wxColourData *arg1 = (wxColourData *) 0 ;
13677 bool result;
13678 PyObject * obj0 = 0 ;
13679 char *kwnames[] = {
13680 (char *) "self", NULL
13681 };
13682
13683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
13684 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13685 if (SWIG_arg_fail(1)) SWIG_fail;
13686 {
13687 PyThreadState* __tstate = wxPyBeginAllowThreads();
13688 result = (bool)(arg1)->GetChooseFull();
13689
13690 wxPyEndAllowThreads(__tstate);
13691 if (PyErr_Occurred()) SWIG_fail;
13692 }
13693 {
13694 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13695 }
13696 return resultobj;
13697 fail:
13698 return NULL;
13699 }
13700
13701
13702 static PyObject *_wrap_ColourData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
13703 PyObject *resultobj = NULL;
13704 wxColourData *arg1 = (wxColourData *) 0 ;
13705 wxColour result;
13706 PyObject * obj0 = 0 ;
13707 char *kwnames[] = {
13708 (char *) "self", NULL
13709 };
13710
13711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
13712 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13713 if (SWIG_arg_fail(1)) SWIG_fail;
13714 {
13715 PyThreadState* __tstate = wxPyBeginAllowThreads();
13716 result = (arg1)->GetColour();
13717
13718 wxPyEndAllowThreads(__tstate);
13719 if (PyErr_Occurred()) SWIG_fail;
13720 }
13721 {
13722 wxColour * resultptr;
13723 resultptr = new wxColour(static_cast<wxColour & >(result));
13724 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
13725 }
13726 return resultobj;
13727 fail:
13728 return NULL;
13729 }
13730
13731
13732 static PyObject *_wrap_ColourData_GetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
13733 PyObject *resultobj = NULL;
13734 wxColourData *arg1 = (wxColourData *) 0 ;
13735 int arg2 ;
13736 wxColour result;
13737 PyObject * obj0 = 0 ;
13738 PyObject * obj1 = 0 ;
13739 char *kwnames[] = {
13740 (char *) "self",(char *) "i", NULL
13741 };
13742
13743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
13744 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13745 if (SWIG_arg_fail(1)) SWIG_fail;
13746 {
13747 arg2 = static_cast<int >(SWIG_As_int(obj1));
13748 if (SWIG_arg_fail(2)) SWIG_fail;
13749 }
13750 {
13751 PyThreadState* __tstate = wxPyBeginAllowThreads();
13752 result = (arg1)->GetCustomColour(arg2);
13753
13754 wxPyEndAllowThreads(__tstate);
13755 if (PyErr_Occurred()) SWIG_fail;
13756 }
13757 {
13758 wxColour * resultptr;
13759 resultptr = new wxColour(static_cast<wxColour & >(result));
13760 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
13761 }
13762 return resultobj;
13763 fail:
13764 return NULL;
13765 }
13766
13767
13768 static PyObject *_wrap_ColourData_SetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
13769 PyObject *resultobj = NULL;
13770 wxColourData *arg1 = (wxColourData *) 0 ;
13771 int arg2 ;
13772 PyObject * obj0 = 0 ;
13773 PyObject * obj1 = 0 ;
13774 char *kwnames[] = {
13775 (char *) "self",(char *) "flag", NULL
13776 };
13777
13778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
13779 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13780 if (SWIG_arg_fail(1)) SWIG_fail;
13781 {
13782 arg2 = static_cast<int >(SWIG_As_int(obj1));
13783 if (SWIG_arg_fail(2)) SWIG_fail;
13784 }
13785 {
13786 PyThreadState* __tstate = wxPyBeginAllowThreads();
13787 (arg1)->SetChooseFull(arg2);
13788
13789 wxPyEndAllowThreads(__tstate);
13790 if (PyErr_Occurred()) SWIG_fail;
13791 }
13792 Py_INCREF(Py_None); resultobj = Py_None;
13793 return resultobj;
13794 fail:
13795 return NULL;
13796 }
13797
13798
13799 static PyObject *_wrap_ColourData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
13800 PyObject *resultobj = NULL;
13801 wxColourData *arg1 = (wxColourData *) 0 ;
13802 wxColour *arg2 = 0 ;
13803 wxColour temp2 ;
13804 PyObject * obj0 = 0 ;
13805 PyObject * obj1 = 0 ;
13806 char *kwnames[] = {
13807 (char *) "self",(char *) "colour", NULL
13808 };
13809
13810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
13811 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13812 if (SWIG_arg_fail(1)) SWIG_fail;
13813 {
13814 arg2 = &temp2;
13815 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13816 }
13817 {
13818 PyThreadState* __tstate = wxPyBeginAllowThreads();
13819 (arg1)->SetColour((wxColour const &)*arg2);
13820
13821 wxPyEndAllowThreads(__tstate);
13822 if (PyErr_Occurred()) SWIG_fail;
13823 }
13824 Py_INCREF(Py_None); resultobj = Py_None;
13825 return resultobj;
13826 fail:
13827 return NULL;
13828 }
13829
13830
13831 static PyObject *_wrap_ColourData_SetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
13832 PyObject *resultobj = NULL;
13833 wxColourData *arg1 = (wxColourData *) 0 ;
13834 int arg2 ;
13835 wxColour *arg3 = 0 ;
13836 wxColour temp3 ;
13837 PyObject * obj0 = 0 ;
13838 PyObject * obj1 = 0 ;
13839 PyObject * obj2 = 0 ;
13840 char *kwnames[] = {
13841 (char *) "self",(char *) "i",(char *) "colour", NULL
13842 };
13843
13844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
13845 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13846 if (SWIG_arg_fail(1)) SWIG_fail;
13847 {
13848 arg2 = static_cast<int >(SWIG_As_int(obj1));
13849 if (SWIG_arg_fail(2)) SWIG_fail;
13850 }
13851 {
13852 arg3 = &temp3;
13853 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
13854 }
13855 {
13856 PyThreadState* __tstate = wxPyBeginAllowThreads();
13857 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
13858
13859 wxPyEndAllowThreads(__tstate);
13860 if (PyErr_Occurred()) SWIG_fail;
13861 }
13862 Py_INCREF(Py_None); resultobj = Py_None;
13863 return resultobj;
13864 fail:
13865 return NULL;
13866 }
13867
13868
13869 static PyObject * ColourData_swigregister(PyObject *, PyObject *args) {
13870 PyObject *obj;
13871 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13872 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
13873 Py_INCREF(obj);
13874 return Py_BuildValue((char *)"");
13875 }
13876 static PyObject *_wrap_new_ColourDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13877 PyObject *resultobj = NULL;
13878 wxWindow *arg1 = (wxWindow *) 0 ;
13879 wxColourData *arg2 = (wxColourData *) NULL ;
13880 wxColourDialog *result;
13881 PyObject * obj0 = 0 ;
13882 PyObject * obj1 = 0 ;
13883 char *kwnames[] = {
13884 (char *) "parent",(char *) "data", NULL
13885 };
13886
13887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
13888 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13889 if (SWIG_arg_fail(1)) SWIG_fail;
13890 if (obj1) {
13891 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13892 if (SWIG_arg_fail(2)) SWIG_fail;
13893 }
13894 {
13895 if (!wxPyCheckForApp()) SWIG_fail;
13896 PyThreadState* __tstate = wxPyBeginAllowThreads();
13897 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
13898
13899 wxPyEndAllowThreads(__tstate);
13900 if (PyErr_Occurred()) SWIG_fail;
13901 }
13902 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1);
13903 return resultobj;
13904 fail:
13905 return NULL;
13906 }
13907
13908
13909 static PyObject *_wrap_ColourDialog_GetColourData(PyObject *, PyObject *args, PyObject *kwargs) {
13910 PyObject *resultobj = NULL;
13911 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
13912 wxColourData *result;
13913 PyObject * obj0 = 0 ;
13914 char *kwnames[] = {
13915 (char *) "self", NULL
13916 };
13917
13918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
13919 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourDialog, SWIG_POINTER_EXCEPTION | 0);
13920 if (SWIG_arg_fail(1)) SWIG_fail;
13921 {
13922 PyThreadState* __tstate = wxPyBeginAllowThreads();
13923 {
13924 wxColourData &_result_ref = (arg1)->GetColourData();
13925 result = (wxColourData *) &_result_ref;
13926 }
13927
13928 wxPyEndAllowThreads(__tstate);
13929 if (PyErr_Occurred()) SWIG_fail;
13930 }
13931 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0);
13932 return resultobj;
13933 fail:
13934 return NULL;
13935 }
13936
13937
13938 static PyObject * ColourDialog_swigregister(PyObject *, PyObject *args) {
13939 PyObject *obj;
13940 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13941 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
13942 Py_INCREF(obj);
13943 return Py_BuildValue((char *)"");
13944 }
13945 static PyObject *_wrap_GetColourFromUser(PyObject *, PyObject *args, PyObject *kwargs) {
13946 PyObject *resultobj = NULL;
13947 wxWindow *arg1 = (wxWindow *) (wxWindow *) NULL ;
13948 wxColour const &arg2_defvalue = wxNullColour ;
13949 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
13950 wxString const &arg3_defvalue = wxPyEmptyString ;
13951 wxString *arg3 = (wxString *) &arg3_defvalue ;
13952 wxColour result;
13953 wxColour temp2 ;
13954 bool temp3 = false ;
13955 PyObject * obj0 = 0 ;
13956 PyObject * obj1 = 0 ;
13957 PyObject * obj2 = 0 ;
13958 char *kwnames[] = {
13959 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
13960 };
13961
13962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetColourFromUser",kwnames,&obj0,&obj1,&obj2)) goto fail;
13963 if (obj0) {
13964 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13965 if (SWIG_arg_fail(1)) SWIG_fail;
13966 }
13967 if (obj1) {
13968 {
13969 arg2 = &temp2;
13970 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13971 }
13972 }
13973 if (obj2) {
13974 {
13975 arg3 = wxString_in_helper(obj2);
13976 if (arg3 == NULL) SWIG_fail;
13977 temp3 = true;
13978 }
13979 }
13980 {
13981 PyThreadState* __tstate = wxPyBeginAllowThreads();
13982 result = wxGetColourFromUser(arg1,(wxColour const &)*arg2,(wxString const &)*arg3);
13983
13984 wxPyEndAllowThreads(__tstate);
13985 if (PyErr_Occurred()) SWIG_fail;
13986 }
13987 {
13988 wxColour * resultptr;
13989 resultptr = new wxColour(static_cast<wxColour & >(result));
13990 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
13991 }
13992 {
13993 if (temp3)
13994 delete arg3;
13995 }
13996 return resultobj;
13997 fail:
13998 {
13999 if (temp3)
14000 delete arg3;
14001 }
14002 return NULL;
14003 }
14004
14005
14006 static PyObject *_wrap_new_DirDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14007 PyObject *resultobj = NULL;
14008 wxWindow *arg1 = (wxWindow *) 0 ;
14009 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
14010 wxString *arg2 = (wxString *) &arg2_defvalue ;
14011 wxString const &arg3_defvalue = wxPyEmptyString ;
14012 wxString *arg3 = (wxString *) &arg3_defvalue ;
14013 long arg4 = (long) 0 ;
14014 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14015 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14016 wxSize const &arg6_defvalue = wxDefaultSize ;
14017 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14018 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
14019 wxString *arg7 = (wxString *) &arg7_defvalue ;
14020 wxDirDialog *result;
14021 bool temp2 = false ;
14022 bool temp3 = false ;
14023 wxPoint temp5 ;
14024 wxSize temp6 ;
14025 bool temp7 = false ;
14026 PyObject * obj0 = 0 ;
14027 PyObject * obj1 = 0 ;
14028 PyObject * obj2 = 0 ;
14029 PyObject * obj3 = 0 ;
14030 PyObject * obj4 = 0 ;
14031 PyObject * obj5 = 0 ;
14032 PyObject * obj6 = 0 ;
14033 char *kwnames[] = {
14034 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
14035 };
14036
14037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14038 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14039 if (SWIG_arg_fail(1)) SWIG_fail;
14040 if (obj1) {
14041 {
14042 arg2 = wxString_in_helper(obj1);
14043 if (arg2 == NULL) SWIG_fail;
14044 temp2 = true;
14045 }
14046 }
14047 if (obj2) {
14048 {
14049 arg3 = wxString_in_helper(obj2);
14050 if (arg3 == NULL) SWIG_fail;
14051 temp3 = true;
14052 }
14053 }
14054 if (obj3) {
14055 {
14056 arg4 = static_cast<long >(SWIG_As_long(obj3));
14057 if (SWIG_arg_fail(4)) SWIG_fail;
14058 }
14059 }
14060 if (obj4) {
14061 {
14062 arg5 = &temp5;
14063 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14064 }
14065 }
14066 if (obj5) {
14067 {
14068 arg6 = &temp6;
14069 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14070 }
14071 }
14072 if (obj6) {
14073 {
14074 arg7 = wxString_in_helper(obj6);
14075 if (arg7 == NULL) SWIG_fail;
14076 temp7 = true;
14077 }
14078 }
14079 {
14080 if (!wxPyCheckForApp()) SWIG_fail;
14081 PyThreadState* __tstate = wxPyBeginAllowThreads();
14082 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
14083
14084 wxPyEndAllowThreads(__tstate);
14085 if (PyErr_Occurred()) SWIG_fail;
14086 }
14087 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1);
14088 {
14089 if (temp2)
14090 delete arg2;
14091 }
14092 {
14093 if (temp3)
14094 delete arg3;
14095 }
14096 {
14097 if (temp7)
14098 delete arg7;
14099 }
14100 return resultobj;
14101 fail:
14102 {
14103 if (temp2)
14104 delete arg2;
14105 }
14106 {
14107 if (temp3)
14108 delete arg3;
14109 }
14110 {
14111 if (temp7)
14112 delete arg7;
14113 }
14114 return NULL;
14115 }
14116
14117
14118 static PyObject *_wrap_DirDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
14119 PyObject *resultobj = NULL;
14120 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
14121 wxString result;
14122 PyObject * obj0 = 0 ;
14123 char *kwnames[] = {
14124 (char *) "self", NULL
14125 };
14126
14127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
14128 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
14129 if (SWIG_arg_fail(1)) SWIG_fail;
14130 {
14131 PyThreadState* __tstate = wxPyBeginAllowThreads();
14132 result = (arg1)->GetPath();
14133
14134 wxPyEndAllowThreads(__tstate);
14135 if (PyErr_Occurred()) SWIG_fail;
14136 }
14137 {
14138 #if wxUSE_UNICODE
14139 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14140 #else
14141 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14142 #endif
14143 }
14144 return resultobj;
14145 fail:
14146 return NULL;
14147 }
14148
14149
14150 static PyObject *_wrap_DirDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
14151 PyObject *resultobj = NULL;
14152 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
14153 wxString result;
14154 PyObject * obj0 = 0 ;
14155 char *kwnames[] = {
14156 (char *) "self", NULL
14157 };
14158
14159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
14160 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
14161 if (SWIG_arg_fail(1)) SWIG_fail;
14162 {
14163 PyThreadState* __tstate = wxPyBeginAllowThreads();
14164 result = (arg1)->GetMessage();
14165
14166 wxPyEndAllowThreads(__tstate);
14167 if (PyErr_Occurred()) SWIG_fail;
14168 }
14169 {
14170 #if wxUSE_UNICODE
14171 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14172 #else
14173 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14174 #endif
14175 }
14176 return resultobj;
14177 fail:
14178 return NULL;
14179 }
14180
14181
14182 static PyObject *_wrap_DirDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
14183 PyObject *resultobj = NULL;
14184 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
14185 long result;
14186 PyObject * obj0 = 0 ;
14187 char *kwnames[] = {
14188 (char *) "self", NULL
14189 };
14190
14191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
14192 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
14193 if (SWIG_arg_fail(1)) SWIG_fail;
14194 {
14195 PyThreadState* __tstate = wxPyBeginAllowThreads();
14196 result = (long)(arg1)->GetStyle();
14197
14198 wxPyEndAllowThreads(__tstate);
14199 if (PyErr_Occurred()) SWIG_fail;
14200 }
14201 {
14202 resultobj = SWIG_From_long(static_cast<long >(result));
14203 }
14204 return resultobj;
14205 fail:
14206 return NULL;
14207 }
14208
14209
14210 static PyObject *_wrap_DirDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
14211 PyObject *resultobj = NULL;
14212 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
14213 wxString *arg2 = 0 ;
14214 bool temp2 = false ;
14215 PyObject * obj0 = 0 ;
14216 PyObject * obj1 = 0 ;
14217 char *kwnames[] = {
14218 (char *) "self",(char *) "message", NULL
14219 };
14220
14221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
14222 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
14223 if (SWIG_arg_fail(1)) SWIG_fail;
14224 {
14225 arg2 = wxString_in_helper(obj1);
14226 if (arg2 == NULL) SWIG_fail;
14227 temp2 = true;
14228 }
14229 {
14230 PyThreadState* __tstate = wxPyBeginAllowThreads();
14231 (arg1)->SetMessage((wxString const &)*arg2);
14232
14233 wxPyEndAllowThreads(__tstate);
14234 if (PyErr_Occurred()) SWIG_fail;
14235 }
14236 Py_INCREF(Py_None); resultobj = Py_None;
14237 {
14238 if (temp2)
14239 delete arg2;
14240 }
14241 return resultobj;
14242 fail:
14243 {
14244 if (temp2)
14245 delete arg2;
14246 }
14247 return NULL;
14248 }
14249
14250
14251 static PyObject *_wrap_DirDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
14252 PyObject *resultobj = NULL;
14253 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
14254 wxString *arg2 = 0 ;
14255 bool temp2 = false ;
14256 PyObject * obj0 = 0 ;
14257 PyObject * obj1 = 0 ;
14258 char *kwnames[] = {
14259 (char *) "self",(char *) "path", NULL
14260 };
14261
14262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
14263 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
14264 if (SWIG_arg_fail(1)) SWIG_fail;
14265 {
14266 arg2 = wxString_in_helper(obj1);
14267 if (arg2 == NULL) SWIG_fail;
14268 temp2 = true;
14269 }
14270 {
14271 PyThreadState* __tstate = wxPyBeginAllowThreads();
14272 (arg1)->SetPath((wxString const &)*arg2);
14273
14274 wxPyEndAllowThreads(__tstate);
14275 if (PyErr_Occurred()) SWIG_fail;
14276 }
14277 Py_INCREF(Py_None); resultobj = Py_None;
14278 {
14279 if (temp2)
14280 delete arg2;
14281 }
14282 return resultobj;
14283 fail:
14284 {
14285 if (temp2)
14286 delete arg2;
14287 }
14288 return NULL;
14289 }
14290
14291
14292 static PyObject * DirDialog_swigregister(PyObject *, PyObject *args) {
14293 PyObject *obj;
14294 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14295 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
14296 Py_INCREF(obj);
14297 return Py_BuildValue((char *)"");
14298 }
14299 static PyObject *_wrap_new_FileDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14300 PyObject *resultobj = NULL;
14301 wxWindow *arg1 = (wxWindow *) 0 ;
14302 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
14303 wxString *arg2 = (wxString *) &arg2_defvalue ;
14304 wxString const &arg3_defvalue = wxPyEmptyString ;
14305 wxString *arg3 = (wxString *) &arg3_defvalue ;
14306 wxString const &arg4_defvalue = wxPyEmptyString ;
14307 wxString *arg4 = (wxString *) &arg4_defvalue ;
14308 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
14309 wxString *arg5 = (wxString *) &arg5_defvalue ;
14310 long arg6 = (long) 0 ;
14311 wxPoint const &arg7_defvalue = wxDefaultPosition ;
14312 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
14313 wxFileDialog *result;
14314 bool temp2 = false ;
14315 bool temp3 = false ;
14316 bool temp4 = false ;
14317 bool temp5 = false ;
14318 wxPoint temp7 ;
14319 PyObject * obj0 = 0 ;
14320 PyObject * obj1 = 0 ;
14321 PyObject * obj2 = 0 ;
14322 PyObject * obj3 = 0 ;
14323 PyObject * obj4 = 0 ;
14324 PyObject * obj5 = 0 ;
14325 PyObject * obj6 = 0 ;
14326 char *kwnames[] = {
14327 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
14328 };
14329
14330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14331 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14332 if (SWIG_arg_fail(1)) SWIG_fail;
14333 if (obj1) {
14334 {
14335 arg2 = wxString_in_helper(obj1);
14336 if (arg2 == NULL) SWIG_fail;
14337 temp2 = true;
14338 }
14339 }
14340 if (obj2) {
14341 {
14342 arg3 = wxString_in_helper(obj2);
14343 if (arg3 == NULL) SWIG_fail;
14344 temp3 = true;
14345 }
14346 }
14347 if (obj3) {
14348 {
14349 arg4 = wxString_in_helper(obj3);
14350 if (arg4 == NULL) SWIG_fail;
14351 temp4 = true;
14352 }
14353 }
14354 if (obj4) {
14355 {
14356 arg5 = wxString_in_helper(obj4);
14357 if (arg5 == NULL) SWIG_fail;
14358 temp5 = true;
14359 }
14360 }
14361 if (obj5) {
14362 {
14363 arg6 = static_cast<long >(SWIG_As_long(obj5));
14364 if (SWIG_arg_fail(6)) SWIG_fail;
14365 }
14366 }
14367 if (obj6) {
14368 {
14369 arg7 = &temp7;
14370 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
14371 }
14372 }
14373 {
14374 if (!wxPyCheckForApp()) SWIG_fail;
14375 PyThreadState* __tstate = wxPyBeginAllowThreads();
14376 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
14377
14378 wxPyEndAllowThreads(__tstate);
14379 if (PyErr_Occurred()) SWIG_fail;
14380 }
14381 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1);
14382 {
14383 if (temp2)
14384 delete arg2;
14385 }
14386 {
14387 if (temp3)
14388 delete arg3;
14389 }
14390 {
14391 if (temp4)
14392 delete arg4;
14393 }
14394 {
14395 if (temp5)
14396 delete arg5;
14397 }
14398 return resultobj;
14399 fail:
14400 {
14401 if (temp2)
14402 delete arg2;
14403 }
14404 {
14405 if (temp3)
14406 delete arg3;
14407 }
14408 {
14409 if (temp4)
14410 delete arg4;
14411 }
14412 {
14413 if (temp5)
14414 delete arg5;
14415 }
14416 return NULL;
14417 }
14418
14419
14420 static PyObject *_wrap_FileDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
14421 PyObject *resultobj = NULL;
14422 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14423 wxString *arg2 = 0 ;
14424 bool temp2 = false ;
14425 PyObject * obj0 = 0 ;
14426 PyObject * obj1 = 0 ;
14427 char *kwnames[] = {
14428 (char *) "self",(char *) "message", NULL
14429 };
14430
14431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
14432 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14433 if (SWIG_arg_fail(1)) SWIG_fail;
14434 {
14435 arg2 = wxString_in_helper(obj1);
14436 if (arg2 == NULL) SWIG_fail;
14437 temp2 = true;
14438 }
14439 {
14440 PyThreadState* __tstate = wxPyBeginAllowThreads();
14441 (arg1)->SetMessage((wxString const &)*arg2);
14442
14443 wxPyEndAllowThreads(__tstate);
14444 if (PyErr_Occurred()) SWIG_fail;
14445 }
14446 Py_INCREF(Py_None); resultobj = Py_None;
14447 {
14448 if (temp2)
14449 delete arg2;
14450 }
14451 return resultobj;
14452 fail:
14453 {
14454 if (temp2)
14455 delete arg2;
14456 }
14457 return NULL;
14458 }
14459
14460
14461 static PyObject *_wrap_FileDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
14462 PyObject *resultobj = NULL;
14463 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14464 wxString *arg2 = 0 ;
14465 bool temp2 = false ;
14466 PyObject * obj0 = 0 ;
14467 PyObject * obj1 = 0 ;
14468 char *kwnames[] = {
14469 (char *) "self",(char *) "path", NULL
14470 };
14471
14472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
14473 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14474 if (SWIG_arg_fail(1)) SWIG_fail;
14475 {
14476 arg2 = wxString_in_helper(obj1);
14477 if (arg2 == NULL) SWIG_fail;
14478 temp2 = true;
14479 }
14480 {
14481 PyThreadState* __tstate = wxPyBeginAllowThreads();
14482 (arg1)->SetPath((wxString const &)*arg2);
14483
14484 wxPyEndAllowThreads(__tstate);
14485 if (PyErr_Occurred()) SWIG_fail;
14486 }
14487 Py_INCREF(Py_None); resultobj = Py_None;
14488 {
14489 if (temp2)
14490 delete arg2;
14491 }
14492 return resultobj;
14493 fail:
14494 {
14495 if (temp2)
14496 delete arg2;
14497 }
14498 return NULL;
14499 }
14500
14501
14502 static PyObject *_wrap_FileDialog_SetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
14503 PyObject *resultobj = NULL;
14504 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14505 wxString *arg2 = 0 ;
14506 bool temp2 = false ;
14507 PyObject * obj0 = 0 ;
14508 PyObject * obj1 = 0 ;
14509 char *kwnames[] = {
14510 (char *) "self",(char *) "dir", NULL
14511 };
14512
14513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
14514 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14515 if (SWIG_arg_fail(1)) SWIG_fail;
14516 {
14517 arg2 = wxString_in_helper(obj1);
14518 if (arg2 == NULL) SWIG_fail;
14519 temp2 = true;
14520 }
14521 {
14522 PyThreadState* __tstate = wxPyBeginAllowThreads();
14523 (arg1)->SetDirectory((wxString const &)*arg2);
14524
14525 wxPyEndAllowThreads(__tstate);
14526 if (PyErr_Occurred()) SWIG_fail;
14527 }
14528 Py_INCREF(Py_None); resultobj = Py_None;
14529 {
14530 if (temp2)
14531 delete arg2;
14532 }
14533 return resultobj;
14534 fail:
14535 {
14536 if (temp2)
14537 delete arg2;
14538 }
14539 return NULL;
14540 }
14541
14542
14543 static PyObject *_wrap_FileDialog_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
14544 PyObject *resultobj = NULL;
14545 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14546 wxString *arg2 = 0 ;
14547 bool temp2 = false ;
14548 PyObject * obj0 = 0 ;
14549 PyObject * obj1 = 0 ;
14550 char *kwnames[] = {
14551 (char *) "self",(char *) "name", NULL
14552 };
14553
14554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
14555 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14556 if (SWIG_arg_fail(1)) SWIG_fail;
14557 {
14558 arg2 = wxString_in_helper(obj1);
14559 if (arg2 == NULL) SWIG_fail;
14560 temp2 = true;
14561 }
14562 {
14563 PyThreadState* __tstate = wxPyBeginAllowThreads();
14564 (arg1)->SetFilename((wxString const &)*arg2);
14565
14566 wxPyEndAllowThreads(__tstate);
14567 if (PyErr_Occurred()) SWIG_fail;
14568 }
14569 Py_INCREF(Py_None); resultobj = Py_None;
14570 {
14571 if (temp2)
14572 delete arg2;
14573 }
14574 return resultobj;
14575 fail:
14576 {
14577 if (temp2)
14578 delete arg2;
14579 }
14580 return NULL;
14581 }
14582
14583
14584 static PyObject *_wrap_FileDialog_SetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
14585 PyObject *resultobj = NULL;
14586 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14587 wxString *arg2 = 0 ;
14588 bool temp2 = false ;
14589 PyObject * obj0 = 0 ;
14590 PyObject * obj1 = 0 ;
14591 char *kwnames[] = {
14592 (char *) "self",(char *) "wildCard", NULL
14593 };
14594
14595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
14596 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14597 if (SWIG_arg_fail(1)) SWIG_fail;
14598 {
14599 arg2 = wxString_in_helper(obj1);
14600 if (arg2 == NULL) SWIG_fail;
14601 temp2 = true;
14602 }
14603 {
14604 PyThreadState* __tstate = wxPyBeginAllowThreads();
14605 (arg1)->SetWildcard((wxString const &)*arg2);
14606
14607 wxPyEndAllowThreads(__tstate);
14608 if (PyErr_Occurred()) SWIG_fail;
14609 }
14610 Py_INCREF(Py_None); resultobj = Py_None;
14611 {
14612 if (temp2)
14613 delete arg2;
14614 }
14615 return resultobj;
14616 fail:
14617 {
14618 if (temp2)
14619 delete arg2;
14620 }
14621 return NULL;
14622 }
14623
14624
14625 static PyObject *_wrap_FileDialog_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
14626 PyObject *resultobj = NULL;
14627 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14628 long arg2 ;
14629 PyObject * obj0 = 0 ;
14630 PyObject * obj1 = 0 ;
14631 char *kwnames[] = {
14632 (char *) "self",(char *) "style", NULL
14633 };
14634
14635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
14636 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14637 if (SWIG_arg_fail(1)) SWIG_fail;
14638 {
14639 arg2 = static_cast<long >(SWIG_As_long(obj1));
14640 if (SWIG_arg_fail(2)) SWIG_fail;
14641 }
14642 {
14643 PyThreadState* __tstate = wxPyBeginAllowThreads();
14644 (arg1)->SetStyle(arg2);
14645
14646 wxPyEndAllowThreads(__tstate);
14647 if (PyErr_Occurred()) SWIG_fail;
14648 }
14649 Py_INCREF(Py_None); resultobj = Py_None;
14650 return resultobj;
14651 fail:
14652 return NULL;
14653 }
14654
14655
14656 static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
14657 PyObject *resultobj = NULL;
14658 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14659 int arg2 ;
14660 PyObject * obj0 = 0 ;
14661 PyObject * obj1 = 0 ;
14662 char *kwnames[] = {
14663 (char *) "self",(char *) "filterIndex", NULL
14664 };
14665
14666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
14667 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14668 if (SWIG_arg_fail(1)) SWIG_fail;
14669 {
14670 arg2 = static_cast<int >(SWIG_As_int(obj1));
14671 if (SWIG_arg_fail(2)) SWIG_fail;
14672 }
14673 {
14674 PyThreadState* __tstate = wxPyBeginAllowThreads();
14675 (arg1)->SetFilterIndex(arg2);
14676
14677 wxPyEndAllowThreads(__tstate);
14678 if (PyErr_Occurred()) SWIG_fail;
14679 }
14680 Py_INCREF(Py_None); resultobj = Py_None;
14681 return resultobj;
14682 fail:
14683 return NULL;
14684 }
14685
14686
14687 static PyObject *_wrap_FileDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
14688 PyObject *resultobj = NULL;
14689 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14690 wxString result;
14691 PyObject * obj0 = 0 ;
14692 char *kwnames[] = {
14693 (char *) "self", NULL
14694 };
14695
14696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
14697 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14698 if (SWIG_arg_fail(1)) SWIG_fail;
14699 {
14700 PyThreadState* __tstate = wxPyBeginAllowThreads();
14701 result = ((wxFileDialog const *)arg1)->GetMessage();
14702
14703 wxPyEndAllowThreads(__tstate);
14704 if (PyErr_Occurred()) SWIG_fail;
14705 }
14706 {
14707 #if wxUSE_UNICODE
14708 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14709 #else
14710 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14711 #endif
14712 }
14713 return resultobj;
14714 fail:
14715 return NULL;
14716 }
14717
14718
14719 static PyObject *_wrap_FileDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
14720 PyObject *resultobj = NULL;
14721 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14722 wxString result;
14723 PyObject * obj0 = 0 ;
14724 char *kwnames[] = {
14725 (char *) "self", NULL
14726 };
14727
14728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
14729 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14730 if (SWIG_arg_fail(1)) SWIG_fail;
14731 {
14732 PyThreadState* __tstate = wxPyBeginAllowThreads();
14733 result = ((wxFileDialog const *)arg1)->GetPath();
14734
14735 wxPyEndAllowThreads(__tstate);
14736 if (PyErr_Occurred()) SWIG_fail;
14737 }
14738 {
14739 #if wxUSE_UNICODE
14740 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14741 #else
14742 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14743 #endif
14744 }
14745 return resultobj;
14746 fail:
14747 return NULL;
14748 }
14749
14750
14751 static PyObject *_wrap_FileDialog_GetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
14752 PyObject *resultobj = NULL;
14753 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14754 wxString result;
14755 PyObject * obj0 = 0 ;
14756 char *kwnames[] = {
14757 (char *) "self", NULL
14758 };
14759
14760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
14761 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14762 if (SWIG_arg_fail(1)) SWIG_fail;
14763 {
14764 PyThreadState* __tstate = wxPyBeginAllowThreads();
14765 result = ((wxFileDialog const *)arg1)->GetDirectory();
14766
14767 wxPyEndAllowThreads(__tstate);
14768 if (PyErr_Occurred()) SWIG_fail;
14769 }
14770 {
14771 #if wxUSE_UNICODE
14772 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14773 #else
14774 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14775 #endif
14776 }
14777 return resultobj;
14778 fail:
14779 return NULL;
14780 }
14781
14782
14783 static PyObject *_wrap_FileDialog_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
14784 PyObject *resultobj = NULL;
14785 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14786 wxString result;
14787 PyObject * obj0 = 0 ;
14788 char *kwnames[] = {
14789 (char *) "self", NULL
14790 };
14791
14792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
14793 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14794 if (SWIG_arg_fail(1)) SWIG_fail;
14795 {
14796 PyThreadState* __tstate = wxPyBeginAllowThreads();
14797 result = ((wxFileDialog const *)arg1)->GetFilename();
14798
14799 wxPyEndAllowThreads(__tstate);
14800 if (PyErr_Occurred()) SWIG_fail;
14801 }
14802 {
14803 #if wxUSE_UNICODE
14804 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14805 #else
14806 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14807 #endif
14808 }
14809 return resultobj;
14810 fail:
14811 return NULL;
14812 }
14813
14814
14815 static PyObject *_wrap_FileDialog_GetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
14816 PyObject *resultobj = NULL;
14817 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14818 wxString result;
14819 PyObject * obj0 = 0 ;
14820 char *kwnames[] = {
14821 (char *) "self", NULL
14822 };
14823
14824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
14825 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14826 if (SWIG_arg_fail(1)) SWIG_fail;
14827 {
14828 PyThreadState* __tstate = wxPyBeginAllowThreads();
14829 result = ((wxFileDialog const *)arg1)->GetWildcard();
14830
14831 wxPyEndAllowThreads(__tstate);
14832 if (PyErr_Occurred()) SWIG_fail;
14833 }
14834 {
14835 #if wxUSE_UNICODE
14836 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14837 #else
14838 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14839 #endif
14840 }
14841 return resultobj;
14842 fail:
14843 return NULL;
14844 }
14845
14846
14847 static PyObject *_wrap_FileDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
14848 PyObject *resultobj = NULL;
14849 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14850 long result;
14851 PyObject * obj0 = 0 ;
14852 char *kwnames[] = {
14853 (char *) "self", NULL
14854 };
14855
14856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
14857 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14858 if (SWIG_arg_fail(1)) SWIG_fail;
14859 {
14860 PyThreadState* __tstate = wxPyBeginAllowThreads();
14861 result = (long)((wxFileDialog const *)arg1)->GetStyle();
14862
14863 wxPyEndAllowThreads(__tstate);
14864 if (PyErr_Occurred()) SWIG_fail;
14865 }
14866 {
14867 resultobj = SWIG_From_long(static_cast<long >(result));
14868 }
14869 return resultobj;
14870 fail:
14871 return NULL;
14872 }
14873
14874
14875 static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
14876 PyObject *resultobj = NULL;
14877 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14878 int result;
14879 PyObject * obj0 = 0 ;
14880 char *kwnames[] = {
14881 (char *) "self", NULL
14882 };
14883
14884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
14885 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14886 if (SWIG_arg_fail(1)) SWIG_fail;
14887 {
14888 PyThreadState* __tstate = wxPyBeginAllowThreads();
14889 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
14890
14891 wxPyEndAllowThreads(__tstate);
14892 if (PyErr_Occurred()) SWIG_fail;
14893 }
14894 {
14895 resultobj = SWIG_From_int(static_cast<int >(result));
14896 }
14897 return resultobj;
14898 fail:
14899 return NULL;
14900 }
14901
14902
14903 static PyObject *_wrap_FileDialog_GetFilenames(PyObject *, PyObject *args, PyObject *kwargs) {
14904 PyObject *resultobj = NULL;
14905 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14906 PyObject *result;
14907 PyObject * obj0 = 0 ;
14908 char *kwnames[] = {
14909 (char *) "self", NULL
14910 };
14911
14912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
14913 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14914 if (SWIG_arg_fail(1)) SWIG_fail;
14915 {
14916 PyThreadState* __tstate = wxPyBeginAllowThreads();
14917 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
14918
14919 wxPyEndAllowThreads(__tstate);
14920 if (PyErr_Occurred()) SWIG_fail;
14921 }
14922 resultobj = result;
14923 return resultobj;
14924 fail:
14925 return NULL;
14926 }
14927
14928
14929 static PyObject *_wrap_FileDialog_GetPaths(PyObject *, PyObject *args, PyObject *kwargs) {
14930 PyObject *resultobj = NULL;
14931 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14932 PyObject *result;
14933 PyObject * obj0 = 0 ;
14934 char *kwnames[] = {
14935 (char *) "self", NULL
14936 };
14937
14938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
14939 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14940 if (SWIG_arg_fail(1)) SWIG_fail;
14941 {
14942 PyThreadState* __tstate = wxPyBeginAllowThreads();
14943 result = (PyObject *)wxFileDialog_GetPaths(arg1);
14944
14945 wxPyEndAllowThreads(__tstate);
14946 if (PyErr_Occurred()) SWIG_fail;
14947 }
14948 resultobj = result;
14949 return resultobj;
14950 fail:
14951 return NULL;
14952 }
14953
14954
14955 static PyObject * FileDialog_swigregister(PyObject *, PyObject *args) {
14956 PyObject *obj;
14957 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14958 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
14959 Py_INCREF(obj);
14960 return Py_BuildValue((char *)"");
14961 }
14962 static PyObject *_wrap_new_MultiChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14963 PyObject *resultobj = NULL;
14964 wxWindow *arg1 = (wxWindow *) 0 ;
14965 wxString *arg2 = 0 ;
14966 wxString *arg3 = 0 ;
14967 int arg4 = (int) 0 ;
14968 wxString *arg5 = (wxString *) NULL ;
14969 long arg6 = (long) wxCHOICEDLG_STYLE ;
14970 wxPoint const &arg7_defvalue = wxDefaultPosition ;
14971 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
14972 wxMultiChoiceDialog *result;
14973 bool temp2 = false ;
14974 bool temp3 = false ;
14975 wxPoint temp7 ;
14976 PyObject * obj0 = 0 ;
14977 PyObject * obj1 = 0 ;
14978 PyObject * obj2 = 0 ;
14979 PyObject * obj3 = 0 ;
14980 PyObject * obj4 = 0 ;
14981 PyObject * obj5 = 0 ;
14982 char *kwnames[] = {
14983 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14984 };
14985
14986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14987 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14988 if (SWIG_arg_fail(1)) SWIG_fail;
14989 {
14990 arg2 = wxString_in_helper(obj1);
14991 if (arg2 == NULL) SWIG_fail;
14992 temp2 = true;
14993 }
14994 {
14995 arg3 = wxString_in_helper(obj2);
14996 if (arg3 == NULL) SWIG_fail;
14997 temp3 = true;
14998 }
14999 if (obj3) {
15000 {
15001 arg4 = PyList_Size(obj3);
15002 arg5 = wxString_LIST_helper(obj3);
15003 if (arg5 == NULL) SWIG_fail;
15004 }
15005 }
15006 if (obj4) {
15007 {
15008 arg6 = static_cast<long >(SWIG_As_long(obj4));
15009 if (SWIG_arg_fail(6)) SWIG_fail;
15010 }
15011 }
15012 if (obj5) {
15013 {
15014 arg7 = &temp7;
15015 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
15016 }
15017 }
15018 {
15019 if (!wxPyCheckForApp()) SWIG_fail;
15020 PyThreadState* __tstate = wxPyBeginAllowThreads();
15021 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
15022
15023 wxPyEndAllowThreads(__tstate);
15024 if (PyErr_Occurred()) SWIG_fail;
15025 }
15026 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1);
15027 {
15028 if (temp2)
15029 delete arg2;
15030 }
15031 {
15032 if (temp3)
15033 delete arg3;
15034 }
15035 {
15036 if (arg5) delete [] arg5;
15037 }
15038 return resultobj;
15039 fail:
15040 {
15041 if (temp2)
15042 delete arg2;
15043 }
15044 {
15045 if (temp3)
15046 delete arg3;
15047 }
15048 {
15049 if (arg5) delete [] arg5;
15050 }
15051 return NULL;
15052 }
15053
15054
15055 static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
15056 PyObject *resultobj = NULL;
15057 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
15058 wxArrayInt *arg2 = 0 ;
15059 bool temp2 = false ;
15060 PyObject * obj0 = 0 ;
15061 PyObject * obj1 = 0 ;
15062 char *kwnames[] = {
15063 (char *) "self",(char *) "selections", NULL
15064 };
15065
15066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
15067 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
15068 if (SWIG_arg_fail(1)) SWIG_fail;
15069 {
15070 if (! PySequence_Check(obj1)) {
15071 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
15072 SWIG_fail;
15073 }
15074 arg2 = new wxArrayInt;
15075 temp2 = true;
15076 int i, len=PySequence_Length(obj1);
15077 for (i=0; i<len; i++) {
15078 PyObject* item = PySequence_GetItem(obj1, i);
15079 PyObject* number = PyNumber_Int(item);
15080 arg2->Add(PyInt_AS_LONG(number));
15081 Py_DECREF(item);
15082 Py_DECREF(number);
15083 }
15084 }
15085 {
15086 PyThreadState* __tstate = wxPyBeginAllowThreads();
15087 (arg1)->SetSelections((wxArrayInt const &)*arg2);
15088
15089 wxPyEndAllowThreads(__tstate);
15090 if (PyErr_Occurred()) SWIG_fail;
15091 }
15092 Py_INCREF(Py_None); resultobj = Py_None;
15093 {
15094 if (temp2) delete arg2;
15095 }
15096 return resultobj;
15097 fail:
15098 {
15099 if (temp2) delete arg2;
15100 }
15101 return NULL;
15102 }
15103
15104
15105 static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
15106 PyObject *resultobj = NULL;
15107 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
15108 PyObject *result;
15109 PyObject * obj0 = 0 ;
15110 char *kwnames[] = {
15111 (char *) "self", NULL
15112 };
15113
15114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
15115 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
15116 if (SWIG_arg_fail(1)) SWIG_fail;
15117 {
15118 PyThreadState* __tstate = wxPyBeginAllowThreads();
15119 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
15120
15121 wxPyEndAllowThreads(__tstate);
15122 if (PyErr_Occurred()) SWIG_fail;
15123 }
15124 resultobj = result;
15125 return resultobj;
15126 fail:
15127 return NULL;
15128 }
15129
15130
15131 static PyObject * MultiChoiceDialog_swigregister(PyObject *, PyObject *args) {
15132 PyObject *obj;
15133 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15134 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
15135 Py_INCREF(obj);
15136 return Py_BuildValue((char *)"");
15137 }
15138 static PyObject *_wrap_new_SingleChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
15139 PyObject *resultobj = NULL;
15140 wxWindow *arg1 = (wxWindow *) 0 ;
15141 wxString *arg2 = 0 ;
15142 wxString *arg3 = 0 ;
15143 int arg4 ;
15144 wxString *arg5 = (wxString *) 0 ;
15145 long arg6 = (long) wxCHOICEDLG_STYLE ;
15146 wxPoint const &arg7_defvalue = wxDefaultPosition ;
15147 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
15148 wxSingleChoiceDialog *result;
15149 bool temp2 = false ;
15150 bool temp3 = false ;
15151 wxPoint temp7 ;
15152 PyObject * obj0 = 0 ;
15153 PyObject * obj1 = 0 ;
15154 PyObject * obj2 = 0 ;
15155 PyObject * obj3 = 0 ;
15156 PyObject * obj4 = 0 ;
15157 PyObject * obj5 = 0 ;
15158 char *kwnames[] = {
15159 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
15160 };
15161
15162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15163 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15164 if (SWIG_arg_fail(1)) SWIG_fail;
15165 {
15166 arg2 = wxString_in_helper(obj1);
15167 if (arg2 == NULL) SWIG_fail;
15168 temp2 = true;
15169 }
15170 {
15171 arg3 = wxString_in_helper(obj2);
15172 if (arg3 == NULL) SWIG_fail;
15173 temp3 = true;
15174 }
15175 {
15176 arg4 = PyList_Size(obj3);
15177 arg5 = wxString_LIST_helper(obj3);
15178 if (arg5 == NULL) SWIG_fail;
15179 }
15180 if (obj4) {
15181 {
15182 arg6 = static_cast<long >(SWIG_As_long(obj4));
15183 if (SWIG_arg_fail(6)) SWIG_fail;
15184 }
15185 }
15186 if (obj5) {
15187 {
15188 arg7 = &temp7;
15189 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
15190 }
15191 }
15192 {
15193 if (!wxPyCheckForApp()) SWIG_fail;
15194 PyThreadState* __tstate = wxPyBeginAllowThreads();
15195 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
15196
15197 wxPyEndAllowThreads(__tstate);
15198 if (PyErr_Occurred()) SWIG_fail;
15199 }
15200 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1);
15201 {
15202 if (temp2)
15203 delete arg2;
15204 }
15205 {
15206 if (temp3)
15207 delete arg3;
15208 }
15209 {
15210 if (arg5) delete [] arg5;
15211 }
15212 return resultobj;
15213 fail:
15214 {
15215 if (temp2)
15216 delete arg2;
15217 }
15218 {
15219 if (temp3)
15220 delete arg3;
15221 }
15222 {
15223 if (arg5) delete [] arg5;
15224 }
15225 return NULL;
15226 }
15227
15228
15229 static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
15230 PyObject *resultobj = NULL;
15231 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
15232 int result;
15233 PyObject * obj0 = 0 ;
15234 char *kwnames[] = {
15235 (char *) "self", NULL
15236 };
15237
15238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
15239 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
15240 if (SWIG_arg_fail(1)) SWIG_fail;
15241 {
15242 PyThreadState* __tstate = wxPyBeginAllowThreads();
15243 result = (int)(arg1)->GetSelection();
15244
15245 wxPyEndAllowThreads(__tstate);
15246 if (PyErr_Occurred()) SWIG_fail;
15247 }
15248 {
15249 resultobj = SWIG_From_int(static_cast<int >(result));
15250 }
15251 return resultobj;
15252 fail:
15253 return NULL;
15254 }
15255
15256
15257 static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
15258 PyObject *resultobj = NULL;
15259 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
15260 wxString result;
15261 PyObject * obj0 = 0 ;
15262 char *kwnames[] = {
15263 (char *) "self", NULL
15264 };
15265
15266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
15267 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
15268 if (SWIG_arg_fail(1)) SWIG_fail;
15269 {
15270 PyThreadState* __tstate = wxPyBeginAllowThreads();
15271 result = (arg1)->GetStringSelection();
15272
15273 wxPyEndAllowThreads(__tstate);
15274 if (PyErr_Occurred()) SWIG_fail;
15275 }
15276 {
15277 #if wxUSE_UNICODE
15278 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15279 #else
15280 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15281 #endif
15282 }
15283 return resultobj;
15284 fail:
15285 return NULL;
15286 }
15287
15288
15289 static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
15290 PyObject *resultobj = NULL;
15291 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
15292 int arg2 ;
15293 PyObject * obj0 = 0 ;
15294 PyObject * obj1 = 0 ;
15295 char *kwnames[] = {
15296 (char *) "self",(char *) "sel", NULL
15297 };
15298
15299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
15300 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
15301 if (SWIG_arg_fail(1)) SWIG_fail;
15302 {
15303 arg2 = static_cast<int >(SWIG_As_int(obj1));
15304 if (SWIG_arg_fail(2)) SWIG_fail;
15305 }
15306 {
15307 PyThreadState* __tstate = wxPyBeginAllowThreads();
15308 (arg1)->SetSelection(arg2);
15309
15310 wxPyEndAllowThreads(__tstate);
15311 if (PyErr_Occurred()) SWIG_fail;
15312 }
15313 Py_INCREF(Py_None); resultobj = Py_None;
15314 return resultobj;
15315 fail:
15316 return NULL;
15317 }
15318
15319
15320 static PyObject * SingleChoiceDialog_swigregister(PyObject *, PyObject *args) {
15321 PyObject *obj;
15322 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15323 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
15324 Py_INCREF(obj);
15325 return Py_BuildValue((char *)"");
15326 }
15327 static PyObject *_wrap_new_TextEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) {
15328 PyObject *resultobj = NULL;
15329 wxWindow *arg1 = (wxWindow *) 0 ;
15330 wxString *arg2 = 0 ;
15331 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
15332 wxString *arg3 = (wxString *) &arg3_defvalue ;
15333 wxString const &arg4_defvalue = wxPyEmptyString ;
15334 wxString *arg4 = (wxString *) &arg4_defvalue ;
15335 long arg5 = (long) wxTextEntryDialogStyle ;
15336 wxPoint const &arg6_defvalue = wxDefaultPosition ;
15337 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
15338 wxTextEntryDialog *result;
15339 bool temp2 = false ;
15340 bool temp3 = false ;
15341 bool temp4 = false ;
15342 wxPoint temp6 ;
15343 PyObject * obj0 = 0 ;
15344 PyObject * obj1 = 0 ;
15345 PyObject * obj2 = 0 ;
15346 PyObject * obj3 = 0 ;
15347 PyObject * obj4 = 0 ;
15348 PyObject * obj5 = 0 ;
15349 char *kwnames[] = {
15350 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
15351 };
15352
15353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15354 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15355 if (SWIG_arg_fail(1)) SWIG_fail;
15356 {
15357 arg2 = wxString_in_helper(obj1);
15358 if (arg2 == NULL) SWIG_fail;
15359 temp2 = true;
15360 }
15361 if (obj2) {
15362 {
15363 arg3 = wxString_in_helper(obj2);
15364 if (arg3 == NULL) SWIG_fail;
15365 temp3 = true;
15366 }
15367 }
15368 if (obj3) {
15369 {
15370 arg4 = wxString_in_helper(obj3);
15371 if (arg4 == NULL) SWIG_fail;
15372 temp4 = true;
15373 }
15374 }
15375 if (obj4) {
15376 {
15377 arg5 = static_cast<long >(SWIG_As_long(obj4));
15378 if (SWIG_arg_fail(5)) SWIG_fail;
15379 }
15380 }
15381 if (obj5) {
15382 {
15383 arg6 = &temp6;
15384 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
15385 }
15386 }
15387 {
15388 if (!wxPyCheckForApp()) SWIG_fail;
15389 PyThreadState* __tstate = wxPyBeginAllowThreads();
15390 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
15391
15392 wxPyEndAllowThreads(__tstate);
15393 if (PyErr_Occurred()) SWIG_fail;
15394 }
15395 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1);
15396 {
15397 if (temp2)
15398 delete arg2;
15399 }
15400 {
15401 if (temp3)
15402 delete arg3;
15403 }
15404 {
15405 if (temp4)
15406 delete arg4;
15407 }
15408 return resultobj;
15409 fail:
15410 {
15411 if (temp2)
15412 delete arg2;
15413 }
15414 {
15415 if (temp3)
15416 delete arg3;
15417 }
15418 {
15419 if (temp4)
15420 delete arg4;
15421 }
15422 return NULL;
15423 }
15424
15425
15426 static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
15427 PyObject *resultobj = NULL;
15428 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
15429 wxString result;
15430 PyObject * obj0 = 0 ;
15431 char *kwnames[] = {
15432 (char *) "self", NULL
15433 };
15434
15435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
15436 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_EXCEPTION | 0);
15437 if (SWIG_arg_fail(1)) SWIG_fail;
15438 {
15439 PyThreadState* __tstate = wxPyBeginAllowThreads();
15440 result = (arg1)->GetValue();
15441
15442 wxPyEndAllowThreads(__tstate);
15443 if (PyErr_Occurred()) SWIG_fail;
15444 }
15445 {
15446 #if wxUSE_UNICODE
15447 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15448 #else
15449 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15450 #endif
15451 }
15452 return resultobj;
15453 fail:
15454 return NULL;
15455 }
15456
15457
15458 static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
15459 PyObject *resultobj = NULL;
15460 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
15461 wxString *arg2 = 0 ;
15462 bool temp2 = false ;
15463 PyObject * obj0 = 0 ;
15464 PyObject * obj1 = 0 ;
15465 char *kwnames[] = {
15466 (char *) "self",(char *) "value", NULL
15467 };
15468
15469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
15470 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_EXCEPTION | 0);
15471 if (SWIG_arg_fail(1)) SWIG_fail;
15472 {
15473 arg2 = wxString_in_helper(obj1);
15474 if (arg2 == NULL) SWIG_fail;
15475 temp2 = true;
15476 }
15477 {
15478 PyThreadState* __tstate = wxPyBeginAllowThreads();
15479 (arg1)->SetValue((wxString const &)*arg2);
15480
15481 wxPyEndAllowThreads(__tstate);
15482 if (PyErr_Occurred()) SWIG_fail;
15483 }
15484 Py_INCREF(Py_None); resultobj = Py_None;
15485 {
15486 if (temp2)
15487 delete arg2;
15488 }
15489 return resultobj;
15490 fail:
15491 {
15492 if (temp2)
15493 delete arg2;
15494 }
15495 return NULL;
15496 }
15497
15498
15499 static PyObject * TextEntryDialog_swigregister(PyObject *, PyObject *args) {
15500 PyObject *obj;
15501 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15502 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
15503 Py_INCREF(obj);
15504 return Py_BuildValue((char *)"");
15505 }
15506 static int _wrap_GetPasswordFromUserPromptStr_set(PyObject *) {
15507 PyErr_SetString(PyExc_TypeError,"Variable GetPasswordFromUserPromptStr is read-only.");
15508 return 1;
15509 }
15510
15511
15512 static PyObject *_wrap_GetPasswordFromUserPromptStr_get(void) {
15513 PyObject *pyobj = NULL;
15514
15515 {
15516 #if wxUSE_UNICODE
15517 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
15518 #else
15519 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
15520 #endif
15521 }
15522 return pyobj;
15523 }
15524
15525
15526 static PyObject *_wrap_new_PasswordEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) {
15527 PyObject *resultobj = NULL;
15528 wxWindow *arg1 = (wxWindow *) 0 ;
15529 wxString *arg2 = 0 ;
15530 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
15531 wxString *arg3 = (wxString *) &arg3_defvalue ;
15532 wxString const &arg4_defvalue = wxPyEmptyString ;
15533 wxString *arg4 = (wxString *) &arg4_defvalue ;
15534 long arg5 = (long) wxTextEntryDialogStyle ;
15535 wxPoint const &arg6_defvalue = wxDefaultPosition ;
15536 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
15537 wxPasswordEntryDialog *result;
15538 bool temp2 = false ;
15539 bool temp3 = false ;
15540 bool temp4 = false ;
15541 wxPoint temp6 ;
15542 PyObject * obj0 = 0 ;
15543 PyObject * obj1 = 0 ;
15544 PyObject * obj2 = 0 ;
15545 PyObject * obj3 = 0 ;
15546 PyObject * obj4 = 0 ;
15547 PyObject * obj5 = 0 ;
15548 char *kwnames[] = {
15549 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
15550 };
15551
15552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15553 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15554 if (SWIG_arg_fail(1)) SWIG_fail;
15555 {
15556 arg2 = wxString_in_helper(obj1);
15557 if (arg2 == NULL) SWIG_fail;
15558 temp2 = true;
15559 }
15560 if (obj2) {
15561 {
15562 arg3 = wxString_in_helper(obj2);
15563 if (arg3 == NULL) SWIG_fail;
15564 temp3 = true;
15565 }
15566 }
15567 if (obj3) {
15568 {
15569 arg4 = wxString_in_helper(obj3);
15570 if (arg4 == NULL) SWIG_fail;
15571 temp4 = true;
15572 }
15573 }
15574 if (obj4) {
15575 {
15576 arg5 = static_cast<long >(SWIG_As_long(obj4));
15577 if (SWIG_arg_fail(5)) SWIG_fail;
15578 }
15579 }
15580 if (obj5) {
15581 {
15582 arg6 = &temp6;
15583 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
15584 }
15585 }
15586 {
15587 PyThreadState* __tstate = wxPyBeginAllowThreads();
15588 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
15589
15590 wxPyEndAllowThreads(__tstate);
15591 if (PyErr_Occurred()) SWIG_fail;
15592 }
15593 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPasswordEntryDialog, 1);
15594 {
15595 if (temp2)
15596 delete arg2;
15597 }
15598 {
15599 if (temp3)
15600 delete arg3;
15601 }
15602 {
15603 if (temp4)
15604 delete arg4;
15605 }
15606 return resultobj;
15607 fail:
15608 {
15609 if (temp2)
15610 delete arg2;
15611 }
15612 {
15613 if (temp3)
15614 delete arg3;
15615 }
15616 {
15617 if (temp4)
15618 delete arg4;
15619 }
15620 return NULL;
15621 }
15622
15623
15624 static PyObject * PasswordEntryDialog_swigregister(PyObject *, PyObject *args) {
15625 PyObject *obj;
15626 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15627 SWIG_TypeClientData(SWIGTYPE_p_wxPasswordEntryDialog, obj);
15628 Py_INCREF(obj);
15629 return Py_BuildValue((char *)"");
15630 }
15631 static PyObject *_wrap_new_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
15632 PyObject *resultobj = NULL;
15633 wxFontData *result;
15634 char *kwnames[] = {
15635 NULL
15636 };
15637
15638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
15639 {
15640 PyThreadState* __tstate = wxPyBeginAllowThreads();
15641 result = (wxFontData *)new wxFontData();
15642
15643 wxPyEndAllowThreads(__tstate);
15644 if (PyErr_Occurred()) SWIG_fail;
15645 }
15646 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1);
15647 return resultobj;
15648 fail:
15649 return NULL;
15650 }
15651
15652
15653 static PyObject *_wrap_delete_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
15654 PyObject *resultobj = NULL;
15655 wxFontData *arg1 = (wxFontData *) 0 ;
15656 PyObject * obj0 = 0 ;
15657 char *kwnames[] = {
15658 (char *) "self", NULL
15659 };
15660
15661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
15662 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15663 if (SWIG_arg_fail(1)) SWIG_fail;
15664 {
15665 PyThreadState* __tstate = wxPyBeginAllowThreads();
15666 delete arg1;
15667
15668 wxPyEndAllowThreads(__tstate);
15669 if (PyErr_Occurred()) SWIG_fail;
15670 }
15671 Py_INCREF(Py_None); resultobj = Py_None;
15672 return resultobj;
15673 fail:
15674 return NULL;
15675 }
15676
15677
15678 static PyObject *_wrap_FontData_EnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
15679 PyObject *resultobj = NULL;
15680 wxFontData *arg1 = (wxFontData *) 0 ;
15681 bool arg2 ;
15682 PyObject * obj0 = 0 ;
15683 PyObject * obj1 = 0 ;
15684 char *kwnames[] = {
15685 (char *) "self",(char *) "enable", NULL
15686 };
15687
15688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
15689 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15690 if (SWIG_arg_fail(1)) SWIG_fail;
15691 {
15692 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
15693 if (SWIG_arg_fail(2)) SWIG_fail;
15694 }
15695 {
15696 PyThreadState* __tstate = wxPyBeginAllowThreads();
15697 (arg1)->EnableEffects(arg2);
15698
15699 wxPyEndAllowThreads(__tstate);
15700 if (PyErr_Occurred()) SWIG_fail;
15701 }
15702 Py_INCREF(Py_None); resultobj = Py_None;
15703 return resultobj;
15704 fail:
15705 return NULL;
15706 }
15707
15708
15709 static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
15710 PyObject *resultobj = NULL;
15711 wxFontData *arg1 = (wxFontData *) 0 ;
15712 bool result;
15713 PyObject * obj0 = 0 ;
15714 char *kwnames[] = {
15715 (char *) "self", NULL
15716 };
15717
15718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
15719 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15720 if (SWIG_arg_fail(1)) SWIG_fail;
15721 {
15722 PyThreadState* __tstate = wxPyBeginAllowThreads();
15723 result = (bool)(arg1)->GetAllowSymbols();
15724
15725 wxPyEndAllowThreads(__tstate);
15726 if (PyErr_Occurred()) SWIG_fail;
15727 }
15728 {
15729 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15730 }
15731 return resultobj;
15732 fail:
15733 return NULL;
15734 }
15735
15736
15737 static PyObject *_wrap_FontData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
15738 PyObject *resultobj = NULL;
15739 wxFontData *arg1 = (wxFontData *) 0 ;
15740 wxColour result;
15741 PyObject * obj0 = 0 ;
15742 char *kwnames[] = {
15743 (char *) "self", NULL
15744 };
15745
15746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
15747 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15748 if (SWIG_arg_fail(1)) SWIG_fail;
15749 {
15750 PyThreadState* __tstate = wxPyBeginAllowThreads();
15751 result = (arg1)->GetColour();
15752
15753 wxPyEndAllowThreads(__tstate);
15754 if (PyErr_Occurred()) SWIG_fail;
15755 }
15756 {
15757 wxColour * resultptr;
15758 resultptr = new wxColour(static_cast<wxColour & >(result));
15759 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
15760 }
15761 return resultobj;
15762 fail:
15763 return NULL;
15764 }
15765
15766
15767 static PyObject *_wrap_FontData_GetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
15768 PyObject *resultobj = NULL;
15769 wxFontData *arg1 = (wxFontData *) 0 ;
15770 wxFont result;
15771 PyObject * obj0 = 0 ;
15772 char *kwnames[] = {
15773 (char *) "self", NULL
15774 };
15775
15776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
15777 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15778 if (SWIG_arg_fail(1)) SWIG_fail;
15779 {
15780 PyThreadState* __tstate = wxPyBeginAllowThreads();
15781 result = (arg1)->GetChosenFont();
15782
15783 wxPyEndAllowThreads(__tstate);
15784 if (PyErr_Occurred()) SWIG_fail;
15785 }
15786 {
15787 wxFont * resultptr;
15788 resultptr = new wxFont(static_cast<wxFont & >(result));
15789 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
15790 }
15791 return resultobj;
15792 fail:
15793 return NULL;
15794 }
15795
15796
15797 static PyObject *_wrap_FontData_GetEnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
15798 PyObject *resultobj = NULL;
15799 wxFontData *arg1 = (wxFontData *) 0 ;
15800 bool result;
15801 PyObject * obj0 = 0 ;
15802 char *kwnames[] = {
15803 (char *) "self", NULL
15804 };
15805
15806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
15807 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15808 if (SWIG_arg_fail(1)) SWIG_fail;
15809 {
15810 PyThreadState* __tstate = wxPyBeginAllowThreads();
15811 result = (bool)(arg1)->GetEnableEffects();
15812
15813 wxPyEndAllowThreads(__tstate);
15814 if (PyErr_Occurred()) SWIG_fail;
15815 }
15816 {
15817 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15818 }
15819 return resultobj;
15820 fail:
15821 return NULL;
15822 }
15823
15824
15825 static PyObject *_wrap_FontData_GetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
15826 PyObject *resultobj = NULL;
15827 wxFontData *arg1 = (wxFontData *) 0 ;
15828 wxFont result;
15829 PyObject * obj0 = 0 ;
15830 char *kwnames[] = {
15831 (char *) "self", NULL
15832 };
15833
15834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
15835 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15836 if (SWIG_arg_fail(1)) SWIG_fail;
15837 {
15838 PyThreadState* __tstate = wxPyBeginAllowThreads();
15839 result = (arg1)->GetInitialFont();
15840
15841 wxPyEndAllowThreads(__tstate);
15842 if (PyErr_Occurred()) SWIG_fail;
15843 }
15844 {
15845 wxFont * resultptr;
15846 resultptr = new wxFont(static_cast<wxFont & >(result));
15847 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
15848 }
15849 return resultobj;
15850 fail:
15851 return NULL;
15852 }
15853
15854
15855 static PyObject *_wrap_FontData_GetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
15856 PyObject *resultobj = NULL;
15857 wxFontData *arg1 = (wxFontData *) 0 ;
15858 bool result;
15859 PyObject * obj0 = 0 ;
15860 char *kwnames[] = {
15861 (char *) "self", NULL
15862 };
15863
15864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
15865 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15866 if (SWIG_arg_fail(1)) SWIG_fail;
15867 {
15868 PyThreadState* __tstate = wxPyBeginAllowThreads();
15869 result = (bool)(arg1)->GetShowHelp();
15870
15871 wxPyEndAllowThreads(__tstate);
15872 if (PyErr_Occurred()) SWIG_fail;
15873 }
15874 {
15875 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15876 }
15877 return resultobj;
15878 fail:
15879 return NULL;
15880 }
15881
15882
15883 static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
15884 PyObject *resultobj = NULL;
15885 wxFontData *arg1 = (wxFontData *) 0 ;
15886 bool arg2 ;
15887 PyObject * obj0 = 0 ;
15888 PyObject * obj1 = 0 ;
15889 char *kwnames[] = {
15890 (char *) "self",(char *) "allowSymbols", NULL
15891 };
15892
15893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
15894 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15895 if (SWIG_arg_fail(1)) SWIG_fail;
15896 {
15897 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
15898 if (SWIG_arg_fail(2)) SWIG_fail;
15899 }
15900 {
15901 PyThreadState* __tstate = wxPyBeginAllowThreads();
15902 (arg1)->SetAllowSymbols(arg2);
15903
15904 wxPyEndAllowThreads(__tstate);
15905 if (PyErr_Occurred()) SWIG_fail;
15906 }
15907 Py_INCREF(Py_None); resultobj = Py_None;
15908 return resultobj;
15909 fail:
15910 return NULL;
15911 }
15912
15913
15914 static PyObject *_wrap_FontData_SetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
15915 PyObject *resultobj = NULL;
15916 wxFontData *arg1 = (wxFontData *) 0 ;
15917 wxFont *arg2 = 0 ;
15918 PyObject * obj0 = 0 ;
15919 PyObject * obj1 = 0 ;
15920 char *kwnames[] = {
15921 (char *) "self",(char *) "font", NULL
15922 };
15923
15924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
15925 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15926 if (SWIG_arg_fail(1)) SWIG_fail;
15927 {
15928 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
15929 if (SWIG_arg_fail(2)) SWIG_fail;
15930 if (arg2 == NULL) {
15931 SWIG_null_ref("wxFont");
15932 }
15933 if (SWIG_arg_fail(2)) SWIG_fail;
15934 }
15935 {
15936 PyThreadState* __tstate = wxPyBeginAllowThreads();
15937 (arg1)->SetChosenFont((wxFont const &)*arg2);
15938
15939 wxPyEndAllowThreads(__tstate);
15940 if (PyErr_Occurred()) SWIG_fail;
15941 }
15942 Py_INCREF(Py_None); resultobj = Py_None;
15943 return resultobj;
15944 fail:
15945 return NULL;
15946 }
15947
15948
15949 static PyObject *_wrap_FontData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
15950 PyObject *resultobj = NULL;
15951 wxFontData *arg1 = (wxFontData *) 0 ;
15952 wxColour *arg2 = 0 ;
15953 wxColour temp2 ;
15954 PyObject * obj0 = 0 ;
15955 PyObject * obj1 = 0 ;
15956 char *kwnames[] = {
15957 (char *) "self",(char *) "colour", NULL
15958 };
15959
15960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
15961 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15962 if (SWIG_arg_fail(1)) SWIG_fail;
15963 {
15964 arg2 = &temp2;
15965 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15966 }
15967 {
15968 PyThreadState* __tstate = wxPyBeginAllowThreads();
15969 (arg1)->SetColour((wxColour const &)*arg2);
15970
15971 wxPyEndAllowThreads(__tstate);
15972 if (PyErr_Occurred()) SWIG_fail;
15973 }
15974 Py_INCREF(Py_None); resultobj = Py_None;
15975 return resultobj;
15976 fail:
15977 return NULL;
15978 }
15979
15980
15981 static PyObject *_wrap_FontData_SetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
15982 PyObject *resultobj = NULL;
15983 wxFontData *arg1 = (wxFontData *) 0 ;
15984 wxFont *arg2 = 0 ;
15985 PyObject * obj0 = 0 ;
15986 PyObject * obj1 = 0 ;
15987 char *kwnames[] = {
15988 (char *) "self",(char *) "font", NULL
15989 };
15990
15991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
15992 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15993 if (SWIG_arg_fail(1)) SWIG_fail;
15994 {
15995 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
15996 if (SWIG_arg_fail(2)) SWIG_fail;
15997 if (arg2 == NULL) {
15998 SWIG_null_ref("wxFont");
15999 }
16000 if (SWIG_arg_fail(2)) SWIG_fail;
16001 }
16002 {
16003 PyThreadState* __tstate = wxPyBeginAllowThreads();
16004 (arg1)->SetInitialFont((wxFont const &)*arg2);
16005
16006 wxPyEndAllowThreads(__tstate);
16007 if (PyErr_Occurred()) SWIG_fail;
16008 }
16009 Py_INCREF(Py_None); resultobj = Py_None;
16010 return resultobj;
16011 fail:
16012 return NULL;
16013 }
16014
16015
16016 static PyObject *_wrap_FontData_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
16017 PyObject *resultobj = NULL;
16018 wxFontData *arg1 = (wxFontData *) 0 ;
16019 int arg2 ;
16020 int arg3 ;
16021 PyObject * obj0 = 0 ;
16022 PyObject * obj1 = 0 ;
16023 PyObject * obj2 = 0 ;
16024 char *kwnames[] = {
16025 (char *) "self",(char *) "min",(char *) "max", NULL
16026 };
16027
16028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
16029 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
16030 if (SWIG_arg_fail(1)) SWIG_fail;
16031 {
16032 arg2 = static_cast<int >(SWIG_As_int(obj1));
16033 if (SWIG_arg_fail(2)) SWIG_fail;
16034 }
16035 {
16036 arg3 = static_cast<int >(SWIG_As_int(obj2));
16037 if (SWIG_arg_fail(3)) SWIG_fail;
16038 }
16039 {
16040 PyThreadState* __tstate = wxPyBeginAllowThreads();
16041 (arg1)->SetRange(arg2,arg3);
16042
16043 wxPyEndAllowThreads(__tstate);
16044 if (PyErr_Occurred()) SWIG_fail;
16045 }
16046 Py_INCREF(Py_None); resultobj = Py_None;
16047 return resultobj;
16048 fail:
16049 return NULL;
16050 }
16051
16052
16053 static PyObject *_wrap_FontData_SetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
16054 PyObject *resultobj = NULL;
16055 wxFontData *arg1 = (wxFontData *) 0 ;
16056 bool arg2 ;
16057 PyObject * obj0 = 0 ;
16058 PyObject * obj1 = 0 ;
16059 char *kwnames[] = {
16060 (char *) "self",(char *) "showHelp", NULL
16061 };
16062
16063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
16064 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
16065 if (SWIG_arg_fail(1)) SWIG_fail;
16066 {
16067 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
16068 if (SWIG_arg_fail(2)) SWIG_fail;
16069 }
16070 {
16071 PyThreadState* __tstate = wxPyBeginAllowThreads();
16072 (arg1)->SetShowHelp(arg2);
16073
16074 wxPyEndAllowThreads(__tstate);
16075 if (PyErr_Occurred()) SWIG_fail;
16076 }
16077 Py_INCREF(Py_None); resultobj = Py_None;
16078 return resultobj;
16079 fail:
16080 return NULL;
16081 }
16082
16083
16084 static PyObject * FontData_swigregister(PyObject *, PyObject *args) {
16085 PyObject *obj;
16086 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16087 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
16088 Py_INCREF(obj);
16089 return Py_BuildValue((char *)"");
16090 }
16091 static PyObject *_wrap_new_FontDialog(PyObject *, PyObject *args, PyObject *kwargs) {
16092 PyObject *resultobj = NULL;
16093 wxWindow *arg1 = (wxWindow *) 0 ;
16094 wxFontData *arg2 = 0 ;
16095 wxFontDialog *result;
16096 PyObject * obj0 = 0 ;
16097 PyObject * obj1 = 0 ;
16098 char *kwnames[] = {
16099 (char *) "parent",(char *) "data", NULL
16100 };
16101
16102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
16103 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16104 if (SWIG_arg_fail(1)) SWIG_fail;
16105 {
16106 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
16107 if (SWIG_arg_fail(2)) SWIG_fail;
16108 if (arg2 == NULL) {
16109 SWIG_null_ref("wxFontData");
16110 }
16111 if (SWIG_arg_fail(2)) SWIG_fail;
16112 }
16113 {
16114 if (!wxPyCheckForApp()) SWIG_fail;
16115 PyThreadState* __tstate = wxPyBeginAllowThreads();
16116 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
16117
16118 wxPyEndAllowThreads(__tstate);
16119 if (PyErr_Occurred()) SWIG_fail;
16120 }
16121 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1);
16122 return resultobj;
16123 fail:
16124 return NULL;
16125 }
16126
16127
16128 static PyObject *_wrap_FontDialog_GetFontData(PyObject *, PyObject *args, PyObject *kwargs) {
16129 PyObject *resultobj = NULL;
16130 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
16131 wxFontData *result;
16132 PyObject * obj0 = 0 ;
16133 char *kwnames[] = {
16134 (char *) "self", NULL
16135 };
16136
16137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
16138 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontDialog, SWIG_POINTER_EXCEPTION | 0);
16139 if (SWIG_arg_fail(1)) SWIG_fail;
16140 {
16141 PyThreadState* __tstate = wxPyBeginAllowThreads();
16142 {
16143 wxFontData &_result_ref = (arg1)->GetFontData();
16144 result = (wxFontData *) &_result_ref;
16145 }
16146
16147 wxPyEndAllowThreads(__tstate);
16148 if (PyErr_Occurred()) SWIG_fail;
16149 }
16150 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0);
16151 return resultobj;
16152 fail:
16153 return NULL;
16154 }
16155
16156
16157 static PyObject * FontDialog_swigregister(PyObject *, PyObject *args) {
16158 PyObject *obj;
16159 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16160 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
16161 Py_INCREF(obj);
16162 return Py_BuildValue((char *)"");
16163 }
16164 static PyObject *_wrap_GetFontFromUser(PyObject *, PyObject *args, PyObject *kwargs) {
16165 PyObject *resultobj = NULL;
16166 wxWindow *arg1 = (wxWindow *) NULL ;
16167 wxFont const &arg2_defvalue = wxNullFont ;
16168 wxFont *arg2 = (wxFont *) &arg2_defvalue ;
16169 wxString const &arg3_defvalue = wxPyEmptyString ;
16170 wxString *arg3 = (wxString *) &arg3_defvalue ;
16171 wxFont result;
16172 bool temp3 = false ;
16173 PyObject * obj0 = 0 ;
16174 PyObject * obj1 = 0 ;
16175 PyObject * obj2 = 0 ;
16176 char *kwnames[] = {
16177 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
16178 };
16179
16180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetFontFromUser",kwnames,&obj0,&obj1,&obj2)) goto fail;
16181 if (obj0) {
16182 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16183 if (SWIG_arg_fail(1)) SWIG_fail;
16184 }
16185 if (obj1) {
16186 {
16187 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
16188 if (SWIG_arg_fail(2)) SWIG_fail;
16189 if (arg2 == NULL) {
16190 SWIG_null_ref("wxFont");
16191 }
16192 if (SWIG_arg_fail(2)) SWIG_fail;
16193 }
16194 }
16195 if (obj2) {
16196 {
16197 arg3 = wxString_in_helper(obj2);
16198 if (arg3 == NULL) SWIG_fail;
16199 temp3 = true;
16200 }
16201 }
16202 {
16203 PyThreadState* __tstate = wxPyBeginAllowThreads();
16204 result = wxGetFontFromUser(arg1,(wxFont const &)*arg2,(wxString const &)*arg3);
16205
16206 wxPyEndAllowThreads(__tstate);
16207 if (PyErr_Occurred()) SWIG_fail;
16208 }
16209 {
16210 wxFont * resultptr;
16211 resultptr = new wxFont(static_cast<wxFont & >(result));
16212 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
16213 }
16214 {
16215 if (temp3)
16216 delete arg3;
16217 }
16218 return resultobj;
16219 fail:
16220 {
16221 if (temp3)
16222 delete arg3;
16223 }
16224 return NULL;
16225 }
16226
16227
16228 static PyObject *_wrap_new_MessageDialog(PyObject *, PyObject *args, PyObject *kwargs) {
16229 PyObject *resultobj = NULL;
16230 wxWindow *arg1 = (wxWindow *) 0 ;
16231 wxString *arg2 = 0 ;
16232 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
16233 wxString *arg3 = (wxString *) &arg3_defvalue ;
16234 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
16235 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16236 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16237 wxMessageDialog *result;
16238 bool temp2 = false ;
16239 bool temp3 = false ;
16240 wxPoint temp5 ;
16241 PyObject * obj0 = 0 ;
16242 PyObject * obj1 = 0 ;
16243 PyObject * obj2 = 0 ;
16244 PyObject * obj3 = 0 ;
16245 PyObject * obj4 = 0 ;
16246 char *kwnames[] = {
16247 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
16248 };
16249
16250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16251 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16252 if (SWIG_arg_fail(1)) SWIG_fail;
16253 {
16254 arg2 = wxString_in_helper(obj1);
16255 if (arg2 == NULL) SWIG_fail;
16256 temp2 = true;
16257 }
16258 if (obj2) {
16259 {
16260 arg3 = wxString_in_helper(obj2);
16261 if (arg3 == NULL) SWIG_fail;
16262 temp3 = true;
16263 }
16264 }
16265 if (obj3) {
16266 {
16267 arg4 = static_cast<long >(SWIG_As_long(obj3));
16268 if (SWIG_arg_fail(4)) SWIG_fail;
16269 }
16270 }
16271 if (obj4) {
16272 {
16273 arg5 = &temp5;
16274 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
16275 }
16276 }
16277 {
16278 if (!wxPyCheckForApp()) SWIG_fail;
16279 PyThreadState* __tstate = wxPyBeginAllowThreads();
16280 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
16281
16282 wxPyEndAllowThreads(__tstate);
16283 if (PyErr_Occurred()) SWIG_fail;
16284 }
16285 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1);
16286 {
16287 if (temp2)
16288 delete arg2;
16289 }
16290 {
16291 if (temp3)
16292 delete arg3;
16293 }
16294 return resultobj;
16295 fail:
16296 {
16297 if (temp2)
16298 delete arg2;
16299 }
16300 {
16301 if (temp3)
16302 delete arg3;
16303 }
16304 return NULL;
16305 }
16306
16307
16308 static PyObject * MessageDialog_swigregister(PyObject *, PyObject *args) {
16309 PyObject *obj;
16310 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16311 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
16312 Py_INCREF(obj);
16313 return Py_BuildValue((char *)"");
16314 }
16315 static PyObject *_wrap_new_ProgressDialog(PyObject *, PyObject *args, PyObject *kwargs) {
16316 PyObject *resultobj = NULL;
16317 wxString *arg1 = 0 ;
16318 wxString *arg2 = 0 ;
16319 int arg3 = (int) 100 ;
16320 wxWindow *arg4 = (wxWindow *) NULL ;
16321 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
16322 wxProgressDialog *result;
16323 bool temp1 = false ;
16324 bool temp2 = false ;
16325 PyObject * obj0 = 0 ;
16326 PyObject * obj1 = 0 ;
16327 PyObject * obj2 = 0 ;
16328 PyObject * obj3 = 0 ;
16329 PyObject * obj4 = 0 ;
16330 char *kwnames[] = {
16331 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
16332 };
16333
16334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16335 {
16336 arg1 = wxString_in_helper(obj0);
16337 if (arg1 == NULL) SWIG_fail;
16338 temp1 = true;
16339 }
16340 {
16341 arg2 = wxString_in_helper(obj1);
16342 if (arg2 == NULL) SWIG_fail;
16343 temp2 = true;
16344 }
16345 if (obj2) {
16346 {
16347 arg3 = static_cast<int >(SWIG_As_int(obj2));
16348 if (SWIG_arg_fail(3)) SWIG_fail;
16349 }
16350 }
16351 if (obj3) {
16352 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16353 if (SWIG_arg_fail(4)) SWIG_fail;
16354 }
16355 if (obj4) {
16356 {
16357 arg5 = static_cast<int >(SWIG_As_int(obj4));
16358 if (SWIG_arg_fail(5)) SWIG_fail;
16359 }
16360 }
16361 {
16362 if (!wxPyCheckForApp()) SWIG_fail;
16363 PyThreadState* __tstate = wxPyBeginAllowThreads();
16364 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
16365
16366 wxPyEndAllowThreads(__tstate);
16367 if (PyErr_Occurred()) SWIG_fail;
16368 }
16369 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1);
16370 {
16371 if (temp1)
16372 delete arg1;
16373 }
16374 {
16375 if (temp2)
16376 delete arg2;
16377 }
16378 return resultobj;
16379 fail:
16380 {
16381 if (temp1)
16382 delete arg1;
16383 }
16384 {
16385 if (temp2)
16386 delete arg2;
16387 }
16388 return NULL;
16389 }
16390
16391
16392 static PyObject *_wrap_ProgressDialog_Update(PyObject *, PyObject *args, PyObject *kwargs) {
16393 PyObject *resultobj = NULL;
16394 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
16395 int arg2 ;
16396 wxString const &arg3_defvalue = wxPyEmptyString ;
16397 wxString *arg3 = (wxString *) &arg3_defvalue ;
16398 bool result;
16399 bool temp3 = false ;
16400 PyObject * obj0 = 0 ;
16401 PyObject * obj1 = 0 ;
16402 PyObject * obj2 = 0 ;
16403 char *kwnames[] = {
16404 (char *) "self",(char *) "value",(char *) "newmsg", NULL
16405 };
16406
16407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
16408 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_EXCEPTION | 0);
16409 if (SWIG_arg_fail(1)) SWIG_fail;
16410 {
16411 arg2 = static_cast<int >(SWIG_As_int(obj1));
16412 if (SWIG_arg_fail(2)) SWIG_fail;
16413 }
16414 if (obj2) {
16415 {
16416 arg3 = wxString_in_helper(obj2);
16417 if (arg3 == NULL) SWIG_fail;
16418 temp3 = true;
16419 }
16420 }
16421 {
16422 PyThreadState* __tstate = wxPyBeginAllowThreads();
16423 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
16424
16425 wxPyEndAllowThreads(__tstate);
16426 if (PyErr_Occurred()) SWIG_fail;
16427 }
16428 {
16429 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16430 }
16431 {
16432 if (temp3)
16433 delete arg3;
16434 }
16435 return resultobj;
16436 fail:
16437 {
16438 if (temp3)
16439 delete arg3;
16440 }
16441 return NULL;
16442 }
16443
16444
16445 static PyObject *_wrap_ProgressDialog_Resume(PyObject *, PyObject *args, PyObject *kwargs) {
16446 PyObject *resultobj = NULL;
16447 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
16448 PyObject * obj0 = 0 ;
16449 char *kwnames[] = {
16450 (char *) "self", NULL
16451 };
16452
16453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
16454 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_EXCEPTION | 0);
16455 if (SWIG_arg_fail(1)) SWIG_fail;
16456 {
16457 PyThreadState* __tstate = wxPyBeginAllowThreads();
16458 (arg1)->Resume();
16459
16460 wxPyEndAllowThreads(__tstate);
16461 if (PyErr_Occurred()) SWIG_fail;
16462 }
16463 Py_INCREF(Py_None); resultobj = Py_None;
16464 return resultobj;
16465 fail:
16466 return NULL;
16467 }
16468
16469
16470 static PyObject * ProgressDialog_swigregister(PyObject *, PyObject *args) {
16471 PyObject *obj;
16472 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16473 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
16474 Py_INCREF(obj);
16475 return Py_BuildValue((char *)"");
16476 }
16477 static PyObject *_wrap_new_FindDialogEvent(PyObject *, PyObject *args, PyObject *kwargs) {
16478 PyObject *resultobj = NULL;
16479 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16480 int arg2 = (int) 0 ;
16481 wxFindDialogEvent *result;
16482 PyObject * obj0 = 0 ;
16483 PyObject * obj1 = 0 ;
16484 char *kwnames[] = {
16485 (char *) "commandType",(char *) "id", NULL
16486 };
16487
16488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
16489 if (obj0) {
16490 {
16491 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
16492 if (SWIG_arg_fail(1)) SWIG_fail;
16493 }
16494 }
16495 if (obj1) {
16496 {
16497 arg2 = static_cast<int >(SWIG_As_int(obj1));
16498 if (SWIG_arg_fail(2)) SWIG_fail;
16499 }
16500 }
16501 {
16502 PyThreadState* __tstate = wxPyBeginAllowThreads();
16503 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
16504
16505 wxPyEndAllowThreads(__tstate);
16506 if (PyErr_Occurred()) SWIG_fail;
16507 }
16508 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1);
16509 return resultobj;
16510 fail:
16511 return NULL;
16512 }
16513
16514
16515 static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
16516 PyObject *resultobj = NULL;
16517 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16518 int result;
16519 PyObject * obj0 = 0 ;
16520 char *kwnames[] = {
16521 (char *) "self", NULL
16522 };
16523
16524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
16525 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16526 if (SWIG_arg_fail(1)) SWIG_fail;
16527 {
16528 PyThreadState* __tstate = wxPyBeginAllowThreads();
16529 result = (int)(arg1)->GetFlags();
16530
16531 wxPyEndAllowThreads(__tstate);
16532 if (PyErr_Occurred()) SWIG_fail;
16533 }
16534 {
16535 resultobj = SWIG_From_int(static_cast<int >(result));
16536 }
16537 return resultobj;
16538 fail:
16539 return NULL;
16540 }
16541
16542
16543 static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
16544 PyObject *resultobj = NULL;
16545 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16546 wxString *result;
16547 PyObject * obj0 = 0 ;
16548 char *kwnames[] = {
16549 (char *) "self", NULL
16550 };
16551
16552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
16553 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16554 if (SWIG_arg_fail(1)) SWIG_fail;
16555 {
16556 PyThreadState* __tstate = wxPyBeginAllowThreads();
16557 {
16558 wxString const &_result_ref = (arg1)->GetFindString();
16559 result = (wxString *) &_result_ref;
16560 }
16561
16562 wxPyEndAllowThreads(__tstate);
16563 if (PyErr_Occurred()) SWIG_fail;
16564 }
16565 {
16566 #if wxUSE_UNICODE
16567 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16568 #else
16569 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16570 #endif
16571 }
16572 return resultobj;
16573 fail:
16574 return NULL;
16575 }
16576
16577
16578 static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
16579 PyObject *resultobj = NULL;
16580 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16581 wxString *result;
16582 PyObject * obj0 = 0 ;
16583 char *kwnames[] = {
16584 (char *) "self", NULL
16585 };
16586
16587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
16588 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16589 if (SWIG_arg_fail(1)) SWIG_fail;
16590 {
16591 PyThreadState* __tstate = wxPyBeginAllowThreads();
16592 {
16593 wxString const &_result_ref = (arg1)->GetReplaceString();
16594 result = (wxString *) &_result_ref;
16595 }
16596
16597 wxPyEndAllowThreads(__tstate);
16598 if (PyErr_Occurred()) SWIG_fail;
16599 }
16600 {
16601 #if wxUSE_UNICODE
16602 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16603 #else
16604 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16605 #endif
16606 }
16607 return resultobj;
16608 fail:
16609 return NULL;
16610 }
16611
16612
16613 static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *, PyObject *args, PyObject *kwargs) {
16614 PyObject *resultobj = NULL;
16615 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16616 wxFindReplaceDialog *result;
16617 PyObject * obj0 = 0 ;
16618 char *kwnames[] = {
16619 (char *) "self", NULL
16620 };
16621
16622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
16623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16624 if (SWIG_arg_fail(1)) SWIG_fail;
16625 {
16626 PyThreadState* __tstate = wxPyBeginAllowThreads();
16627 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
16628
16629 wxPyEndAllowThreads(__tstate);
16630 if (PyErr_Occurred()) SWIG_fail;
16631 }
16632 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0);
16633 return resultobj;
16634 fail:
16635 return NULL;
16636 }
16637
16638
16639 static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
16640 PyObject *resultobj = NULL;
16641 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16642 int arg2 ;
16643 PyObject * obj0 = 0 ;
16644 PyObject * obj1 = 0 ;
16645 char *kwnames[] = {
16646 (char *) "self",(char *) "flags", NULL
16647 };
16648
16649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
16650 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16651 if (SWIG_arg_fail(1)) SWIG_fail;
16652 {
16653 arg2 = static_cast<int >(SWIG_As_int(obj1));
16654 if (SWIG_arg_fail(2)) SWIG_fail;
16655 }
16656 {
16657 PyThreadState* __tstate = wxPyBeginAllowThreads();
16658 (arg1)->SetFlags(arg2);
16659
16660 wxPyEndAllowThreads(__tstate);
16661 if (PyErr_Occurred()) SWIG_fail;
16662 }
16663 Py_INCREF(Py_None); resultobj = Py_None;
16664 return resultobj;
16665 fail:
16666 return NULL;
16667 }
16668
16669
16670 static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
16671 PyObject *resultobj = NULL;
16672 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16673 wxString *arg2 = 0 ;
16674 bool temp2 = false ;
16675 PyObject * obj0 = 0 ;
16676 PyObject * obj1 = 0 ;
16677 char *kwnames[] = {
16678 (char *) "self",(char *) "str", NULL
16679 };
16680
16681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
16682 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16683 if (SWIG_arg_fail(1)) SWIG_fail;
16684 {
16685 arg2 = wxString_in_helper(obj1);
16686 if (arg2 == NULL) SWIG_fail;
16687 temp2 = true;
16688 }
16689 {
16690 PyThreadState* __tstate = wxPyBeginAllowThreads();
16691 (arg1)->SetFindString((wxString const &)*arg2);
16692
16693 wxPyEndAllowThreads(__tstate);
16694 if (PyErr_Occurred()) SWIG_fail;
16695 }
16696 Py_INCREF(Py_None); resultobj = Py_None;
16697 {
16698 if (temp2)
16699 delete arg2;
16700 }
16701 return resultobj;
16702 fail:
16703 {
16704 if (temp2)
16705 delete arg2;
16706 }
16707 return NULL;
16708 }
16709
16710
16711 static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
16712 PyObject *resultobj = NULL;
16713 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16714 wxString *arg2 = 0 ;
16715 bool temp2 = false ;
16716 PyObject * obj0 = 0 ;
16717 PyObject * obj1 = 0 ;
16718 char *kwnames[] = {
16719 (char *) "self",(char *) "str", NULL
16720 };
16721
16722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
16723 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16724 if (SWIG_arg_fail(1)) SWIG_fail;
16725 {
16726 arg2 = wxString_in_helper(obj1);
16727 if (arg2 == NULL) SWIG_fail;
16728 temp2 = true;
16729 }
16730 {
16731 PyThreadState* __tstate = wxPyBeginAllowThreads();
16732 (arg1)->SetReplaceString((wxString const &)*arg2);
16733
16734 wxPyEndAllowThreads(__tstate);
16735 if (PyErr_Occurred()) SWIG_fail;
16736 }
16737 Py_INCREF(Py_None); resultobj = Py_None;
16738 {
16739 if (temp2)
16740 delete arg2;
16741 }
16742 return resultobj;
16743 fail:
16744 {
16745 if (temp2)
16746 delete arg2;
16747 }
16748 return NULL;
16749 }
16750
16751
16752 static PyObject * FindDialogEvent_swigregister(PyObject *, PyObject *args) {
16753 PyObject *obj;
16754 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16755 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
16756 Py_INCREF(obj);
16757 return Py_BuildValue((char *)"");
16758 }
16759 static PyObject *_wrap_new_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
16760 PyObject *resultobj = NULL;
16761 int arg1 = (int) 0 ;
16762 wxFindReplaceData *result;
16763 PyObject * obj0 = 0 ;
16764 char *kwnames[] = {
16765 (char *) "flags", NULL
16766 };
16767
16768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
16769 if (obj0) {
16770 {
16771 arg1 = static_cast<int >(SWIG_As_int(obj0));
16772 if (SWIG_arg_fail(1)) SWIG_fail;
16773 }
16774 }
16775 {
16776 PyThreadState* __tstate = wxPyBeginAllowThreads();
16777 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
16778
16779 wxPyEndAllowThreads(__tstate);
16780 if (PyErr_Occurred()) SWIG_fail;
16781 }
16782 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1);
16783 return resultobj;
16784 fail:
16785 return NULL;
16786 }
16787
16788
16789 static PyObject *_wrap_delete_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
16790 PyObject *resultobj = NULL;
16791 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16792 PyObject * obj0 = 0 ;
16793 char *kwnames[] = {
16794 (char *) "self", NULL
16795 };
16796
16797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
16798 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16799 if (SWIG_arg_fail(1)) SWIG_fail;
16800 {
16801 PyThreadState* __tstate = wxPyBeginAllowThreads();
16802 delete arg1;
16803
16804 wxPyEndAllowThreads(__tstate);
16805 if (PyErr_Occurred()) SWIG_fail;
16806 }
16807 Py_INCREF(Py_None); resultobj = Py_None;
16808 return resultobj;
16809 fail:
16810 return NULL;
16811 }
16812
16813
16814 static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
16815 PyObject *resultobj = NULL;
16816 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16817 wxString *result;
16818 PyObject * obj0 = 0 ;
16819 char *kwnames[] = {
16820 (char *) "self", NULL
16821 };
16822
16823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
16824 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16825 if (SWIG_arg_fail(1)) SWIG_fail;
16826 {
16827 PyThreadState* __tstate = wxPyBeginAllowThreads();
16828 {
16829 wxString const &_result_ref = (arg1)->GetFindString();
16830 result = (wxString *) &_result_ref;
16831 }
16832
16833 wxPyEndAllowThreads(__tstate);
16834 if (PyErr_Occurred()) SWIG_fail;
16835 }
16836 {
16837 #if wxUSE_UNICODE
16838 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16839 #else
16840 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16841 #endif
16842 }
16843 return resultobj;
16844 fail:
16845 return NULL;
16846 }
16847
16848
16849 static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
16850 PyObject *resultobj = NULL;
16851 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16852 wxString *result;
16853 PyObject * obj0 = 0 ;
16854 char *kwnames[] = {
16855 (char *) "self", NULL
16856 };
16857
16858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
16859 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16860 if (SWIG_arg_fail(1)) SWIG_fail;
16861 {
16862 PyThreadState* __tstate = wxPyBeginAllowThreads();
16863 {
16864 wxString const &_result_ref = (arg1)->GetReplaceString();
16865 result = (wxString *) &_result_ref;
16866 }
16867
16868 wxPyEndAllowThreads(__tstate);
16869 if (PyErr_Occurred()) SWIG_fail;
16870 }
16871 {
16872 #if wxUSE_UNICODE
16873 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16874 #else
16875 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16876 #endif
16877 }
16878 return resultobj;
16879 fail:
16880 return NULL;
16881 }
16882
16883
16884 static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
16885 PyObject *resultobj = NULL;
16886 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16887 int result;
16888 PyObject * obj0 = 0 ;
16889 char *kwnames[] = {
16890 (char *) "self", NULL
16891 };
16892
16893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
16894 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16895 if (SWIG_arg_fail(1)) SWIG_fail;
16896 {
16897 PyThreadState* __tstate = wxPyBeginAllowThreads();
16898 result = (int)(arg1)->GetFlags();
16899
16900 wxPyEndAllowThreads(__tstate);
16901 if (PyErr_Occurred()) SWIG_fail;
16902 }
16903 {
16904 resultobj = SWIG_From_int(static_cast<int >(result));
16905 }
16906 return resultobj;
16907 fail:
16908 return NULL;
16909 }
16910
16911
16912 static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
16913 PyObject *resultobj = NULL;
16914 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16915 int arg2 ;
16916 PyObject * obj0 = 0 ;
16917 PyObject * obj1 = 0 ;
16918 char *kwnames[] = {
16919 (char *) "self",(char *) "flags", NULL
16920 };
16921
16922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
16923 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16924 if (SWIG_arg_fail(1)) SWIG_fail;
16925 {
16926 arg2 = static_cast<int >(SWIG_As_int(obj1));
16927 if (SWIG_arg_fail(2)) SWIG_fail;
16928 }
16929 {
16930 PyThreadState* __tstate = wxPyBeginAllowThreads();
16931 (arg1)->SetFlags(arg2);
16932
16933 wxPyEndAllowThreads(__tstate);
16934 if (PyErr_Occurred()) SWIG_fail;
16935 }
16936 Py_INCREF(Py_None); resultobj = Py_None;
16937 return resultobj;
16938 fail:
16939 return NULL;
16940 }
16941
16942
16943 static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
16944 PyObject *resultobj = NULL;
16945 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16946 wxString *arg2 = 0 ;
16947 bool temp2 = false ;
16948 PyObject * obj0 = 0 ;
16949 PyObject * obj1 = 0 ;
16950 char *kwnames[] = {
16951 (char *) "self",(char *) "str", NULL
16952 };
16953
16954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
16955 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16956 if (SWIG_arg_fail(1)) SWIG_fail;
16957 {
16958 arg2 = wxString_in_helper(obj1);
16959 if (arg2 == NULL) SWIG_fail;
16960 temp2 = true;
16961 }
16962 {
16963 PyThreadState* __tstate = wxPyBeginAllowThreads();
16964 (arg1)->SetFindString((wxString const &)*arg2);
16965
16966 wxPyEndAllowThreads(__tstate);
16967 if (PyErr_Occurred()) SWIG_fail;
16968 }
16969 Py_INCREF(Py_None); resultobj = Py_None;
16970 {
16971 if (temp2)
16972 delete arg2;
16973 }
16974 return resultobj;
16975 fail:
16976 {
16977 if (temp2)
16978 delete arg2;
16979 }
16980 return NULL;
16981 }
16982
16983
16984 static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
16985 PyObject *resultobj = NULL;
16986 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16987 wxString *arg2 = 0 ;
16988 bool temp2 = false ;
16989 PyObject * obj0 = 0 ;
16990 PyObject * obj1 = 0 ;
16991 char *kwnames[] = {
16992 (char *) "self",(char *) "str", NULL
16993 };
16994
16995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
16996 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16997 if (SWIG_arg_fail(1)) SWIG_fail;
16998 {
16999 arg2 = wxString_in_helper(obj1);
17000 if (arg2 == NULL) SWIG_fail;
17001 temp2 = true;
17002 }
17003 {
17004 PyThreadState* __tstate = wxPyBeginAllowThreads();
17005 (arg1)->SetReplaceString((wxString const &)*arg2);
17006
17007 wxPyEndAllowThreads(__tstate);
17008 if (PyErr_Occurred()) SWIG_fail;
17009 }
17010 Py_INCREF(Py_None); resultobj = Py_None;
17011 {
17012 if (temp2)
17013 delete arg2;
17014 }
17015 return resultobj;
17016 fail:
17017 {
17018 if (temp2)
17019 delete arg2;
17020 }
17021 return NULL;
17022 }
17023
17024
17025 static PyObject * FindReplaceData_swigregister(PyObject *, PyObject *args) {
17026 PyObject *obj;
17027 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17028 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
17029 Py_INCREF(obj);
17030 return Py_BuildValue((char *)"");
17031 }
17032 static PyObject *_wrap_new_FindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
17033 PyObject *resultobj = NULL;
17034 wxWindow *arg1 = (wxWindow *) 0 ;
17035 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
17036 wxString *arg3 = 0 ;
17037 int arg4 = (int) 0 ;
17038 wxFindReplaceDialog *result;
17039 bool temp3 = false ;
17040 PyObject * obj0 = 0 ;
17041 PyObject * obj1 = 0 ;
17042 PyObject * obj2 = 0 ;
17043 PyObject * obj3 = 0 ;
17044 char *kwnames[] = {
17045 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
17046 };
17047
17048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17049 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17050 if (SWIG_arg_fail(1)) SWIG_fail;
17051 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
17052 if (SWIG_arg_fail(2)) SWIG_fail;
17053 {
17054 arg3 = wxString_in_helper(obj2);
17055 if (arg3 == NULL) SWIG_fail;
17056 temp3 = true;
17057 }
17058 if (obj3) {
17059 {
17060 arg4 = static_cast<int >(SWIG_As_int(obj3));
17061 if (SWIG_arg_fail(4)) SWIG_fail;
17062 }
17063 }
17064 {
17065 if (!wxPyCheckForApp()) SWIG_fail;
17066 PyThreadState* __tstate = wxPyBeginAllowThreads();
17067 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
17068
17069 wxPyEndAllowThreads(__tstate);
17070 if (PyErr_Occurred()) SWIG_fail;
17071 }
17072 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
17073 {
17074 if (temp3)
17075 delete arg3;
17076 }
17077 return resultobj;
17078 fail:
17079 {
17080 if (temp3)
17081 delete arg3;
17082 }
17083 return NULL;
17084 }
17085
17086
17087 static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
17088 PyObject *resultobj = NULL;
17089 wxFindReplaceDialog *result;
17090 char *kwnames[] = {
17091 NULL
17092 };
17093
17094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
17095 {
17096 if (!wxPyCheckForApp()) SWIG_fail;
17097 PyThreadState* __tstate = wxPyBeginAllowThreads();
17098 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
17099
17100 wxPyEndAllowThreads(__tstate);
17101 if (PyErr_Occurred()) SWIG_fail;
17102 }
17103 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
17104 return resultobj;
17105 fail:
17106 return NULL;
17107 }
17108
17109
17110 static PyObject *_wrap_FindReplaceDialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17111 PyObject *resultobj = NULL;
17112 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
17113 wxWindow *arg2 = (wxWindow *) 0 ;
17114 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
17115 wxString *arg4 = 0 ;
17116 int arg5 = (int) 0 ;
17117 bool result;
17118 bool temp4 = false ;
17119 PyObject * obj0 = 0 ;
17120 PyObject * obj1 = 0 ;
17121 PyObject * obj2 = 0 ;
17122 PyObject * obj3 = 0 ;
17123 PyObject * obj4 = 0 ;
17124 char *kwnames[] = {
17125 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
17126 };
17127
17128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
17129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0);
17130 if (SWIG_arg_fail(1)) SWIG_fail;
17131 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17132 if (SWIG_arg_fail(2)) SWIG_fail;
17133 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
17134 if (SWIG_arg_fail(3)) SWIG_fail;
17135 {
17136 arg4 = wxString_in_helper(obj3);
17137 if (arg4 == NULL) SWIG_fail;
17138 temp4 = true;
17139 }
17140 if (obj4) {
17141 {
17142 arg5 = static_cast<int >(SWIG_As_int(obj4));
17143 if (SWIG_arg_fail(5)) SWIG_fail;
17144 }
17145 }
17146 {
17147 PyThreadState* __tstate = wxPyBeginAllowThreads();
17148 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
17149
17150 wxPyEndAllowThreads(__tstate);
17151 if (PyErr_Occurred()) SWIG_fail;
17152 }
17153 {
17154 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17155 }
17156 {
17157 if (temp4)
17158 delete arg4;
17159 }
17160 return resultobj;
17161 fail:
17162 {
17163 if (temp4)
17164 delete arg4;
17165 }
17166 return NULL;
17167 }
17168
17169
17170 static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
17171 PyObject *resultobj = NULL;
17172 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
17173 wxFindReplaceData *result;
17174 PyObject * obj0 = 0 ;
17175 char *kwnames[] = {
17176 (char *) "self", NULL
17177 };
17178
17179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
17180 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0);
17181 if (SWIG_arg_fail(1)) SWIG_fail;
17182 {
17183 PyThreadState* __tstate = wxPyBeginAllowThreads();
17184 result = (wxFindReplaceData *)(arg1)->GetData();
17185
17186 wxPyEndAllowThreads(__tstate);
17187 if (PyErr_Occurred()) SWIG_fail;
17188 }
17189 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0);
17190 return resultobj;
17191 fail:
17192 return NULL;
17193 }
17194
17195
17196 static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
17197 PyObject *resultobj = NULL;
17198 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
17199 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
17200 PyObject * obj0 = 0 ;
17201 PyObject * obj1 = 0 ;
17202 char *kwnames[] = {
17203 (char *) "self",(char *) "data", NULL
17204 };
17205
17206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
17207 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0);
17208 if (SWIG_arg_fail(1)) SWIG_fail;
17209 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
17210 if (SWIG_arg_fail(2)) SWIG_fail;
17211 {
17212 PyThreadState* __tstate = wxPyBeginAllowThreads();
17213 (arg1)->SetData(arg2);
17214
17215 wxPyEndAllowThreads(__tstate);
17216 if (PyErr_Occurred()) SWIG_fail;
17217 }
17218 Py_INCREF(Py_None); resultobj = Py_None;
17219 return resultobj;
17220 fail:
17221 return NULL;
17222 }
17223
17224
17225 static PyObject * FindReplaceDialog_swigregister(PyObject *, PyObject *args) {
17226 PyObject *obj;
17227 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17228 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
17229 Py_INCREF(obj);
17230 return Py_BuildValue((char *)"");
17231 }
17232 static PyObject *_wrap_new_MDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
17233 PyObject *resultobj = NULL;
17234 wxWindow *arg1 = (wxWindow *) 0 ;
17235 int arg2 = (int) (int)-1 ;
17236 wxString const &arg3_defvalue = wxPyEmptyString ;
17237 wxString *arg3 = (wxString *) &arg3_defvalue ;
17238 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17239 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17240 wxSize const &arg5_defvalue = wxDefaultSize ;
17241 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17242 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
17243 wxString const &arg7_defvalue = wxPyFrameNameStr ;
17244 wxString *arg7 = (wxString *) &arg7_defvalue ;
17245 wxMDIParentFrame *result;
17246 bool temp3 = false ;
17247 wxPoint temp4 ;
17248 wxSize temp5 ;
17249 bool temp7 = false ;
17250 PyObject * obj0 = 0 ;
17251 PyObject * obj1 = 0 ;
17252 PyObject * obj2 = 0 ;
17253 PyObject * obj3 = 0 ;
17254 PyObject * obj4 = 0 ;
17255 PyObject * obj5 = 0 ;
17256 PyObject * obj6 = 0 ;
17257 char *kwnames[] = {
17258 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17259 };
17260
17261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17262 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17263 if (SWIG_arg_fail(1)) SWIG_fail;
17264 if (obj1) {
17265 {
17266 arg2 = static_cast<int const >(SWIG_As_int(obj1));
17267 if (SWIG_arg_fail(2)) SWIG_fail;
17268 }
17269 }
17270 if (obj2) {
17271 {
17272 arg3 = wxString_in_helper(obj2);
17273 if (arg3 == NULL) SWIG_fail;
17274 temp3 = true;
17275 }
17276 }
17277 if (obj3) {
17278 {
17279 arg4 = &temp4;
17280 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17281 }
17282 }
17283 if (obj4) {
17284 {
17285 arg5 = &temp5;
17286 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17287 }
17288 }
17289 if (obj5) {
17290 {
17291 arg6 = static_cast<long >(SWIG_As_long(obj5));
17292 if (SWIG_arg_fail(6)) SWIG_fail;
17293 }
17294 }
17295 if (obj6) {
17296 {
17297 arg7 = wxString_in_helper(obj6);
17298 if (arg7 == NULL) SWIG_fail;
17299 temp7 = true;
17300 }
17301 }
17302 {
17303 if (!wxPyCheckForApp()) SWIG_fail;
17304 PyThreadState* __tstate = wxPyBeginAllowThreads();
17305 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17306
17307 wxPyEndAllowThreads(__tstate);
17308 if (PyErr_Occurred()) SWIG_fail;
17309 }
17310 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
17311 {
17312 if (temp3)
17313 delete arg3;
17314 }
17315 {
17316 if (temp7)
17317 delete arg7;
17318 }
17319 return resultobj;
17320 fail:
17321 {
17322 if (temp3)
17323 delete arg3;
17324 }
17325 {
17326 if (temp7)
17327 delete arg7;
17328 }
17329 return NULL;
17330 }
17331
17332
17333 static PyObject *_wrap_new_PreMDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
17334 PyObject *resultobj = NULL;
17335 wxMDIParentFrame *result;
17336 char *kwnames[] = {
17337 NULL
17338 };
17339
17340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
17341 {
17342 if (!wxPyCheckForApp()) SWIG_fail;
17343 PyThreadState* __tstate = wxPyBeginAllowThreads();
17344 result = (wxMDIParentFrame *)new wxMDIParentFrame();
17345
17346 wxPyEndAllowThreads(__tstate);
17347 if (PyErr_Occurred()) SWIG_fail;
17348 }
17349 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
17350 return resultobj;
17351 fail:
17352 return NULL;
17353 }
17354
17355
17356 static PyObject *_wrap_MDIParentFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17357 PyObject *resultobj = NULL;
17358 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17359 wxWindow *arg2 = (wxWindow *) 0 ;
17360 int arg3 = (int) (int)-1 ;
17361 wxString const &arg4_defvalue = wxPyEmptyString ;
17362 wxString *arg4 = (wxString *) &arg4_defvalue ;
17363 wxPoint const &arg5_defvalue = wxDefaultPosition ;
17364 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
17365 wxSize const &arg6_defvalue = wxDefaultSize ;
17366 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
17367 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
17368 wxString const &arg8_defvalue = wxPyFrameNameStr ;
17369 wxString *arg8 = (wxString *) &arg8_defvalue ;
17370 bool result;
17371 bool temp4 = false ;
17372 wxPoint temp5 ;
17373 wxSize temp6 ;
17374 bool temp8 = false ;
17375 PyObject * obj0 = 0 ;
17376 PyObject * obj1 = 0 ;
17377 PyObject * obj2 = 0 ;
17378 PyObject * obj3 = 0 ;
17379 PyObject * obj4 = 0 ;
17380 PyObject * obj5 = 0 ;
17381 PyObject * obj6 = 0 ;
17382 PyObject * obj7 = 0 ;
17383 char *kwnames[] = {
17384 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17385 };
17386
17387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
17388 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17389 if (SWIG_arg_fail(1)) SWIG_fail;
17390 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17391 if (SWIG_arg_fail(2)) SWIG_fail;
17392 if (obj2) {
17393 {
17394 arg3 = static_cast<int const >(SWIG_As_int(obj2));
17395 if (SWIG_arg_fail(3)) SWIG_fail;
17396 }
17397 }
17398 if (obj3) {
17399 {
17400 arg4 = wxString_in_helper(obj3);
17401 if (arg4 == NULL) SWIG_fail;
17402 temp4 = true;
17403 }
17404 }
17405 if (obj4) {
17406 {
17407 arg5 = &temp5;
17408 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
17409 }
17410 }
17411 if (obj5) {
17412 {
17413 arg6 = &temp6;
17414 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
17415 }
17416 }
17417 if (obj6) {
17418 {
17419 arg7 = static_cast<long >(SWIG_As_long(obj6));
17420 if (SWIG_arg_fail(7)) SWIG_fail;
17421 }
17422 }
17423 if (obj7) {
17424 {
17425 arg8 = wxString_in_helper(obj7);
17426 if (arg8 == NULL) SWIG_fail;
17427 temp8 = true;
17428 }
17429 }
17430 {
17431 PyThreadState* __tstate = wxPyBeginAllowThreads();
17432 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
17433
17434 wxPyEndAllowThreads(__tstate);
17435 if (PyErr_Occurred()) SWIG_fail;
17436 }
17437 {
17438 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17439 }
17440 {
17441 if (temp4)
17442 delete arg4;
17443 }
17444 {
17445 if (temp8)
17446 delete arg8;
17447 }
17448 return resultobj;
17449 fail:
17450 {
17451 if (temp4)
17452 delete arg4;
17453 }
17454 {
17455 if (temp8)
17456 delete arg8;
17457 }
17458 return NULL;
17459 }
17460
17461
17462 static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *, PyObject *args, PyObject *kwargs) {
17463 PyObject *resultobj = NULL;
17464 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17465 PyObject * obj0 = 0 ;
17466 char *kwnames[] = {
17467 (char *) "self", NULL
17468 };
17469
17470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
17471 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17472 if (SWIG_arg_fail(1)) SWIG_fail;
17473 {
17474 PyThreadState* __tstate = wxPyBeginAllowThreads();
17475 (arg1)->ActivateNext();
17476
17477 wxPyEndAllowThreads(__tstate);
17478 if (PyErr_Occurred()) SWIG_fail;
17479 }
17480 Py_INCREF(Py_None); resultobj = Py_None;
17481 return resultobj;
17482 fail:
17483 return NULL;
17484 }
17485
17486
17487 static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *, PyObject *args, PyObject *kwargs) {
17488 PyObject *resultobj = NULL;
17489 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17490 PyObject * obj0 = 0 ;
17491 char *kwnames[] = {
17492 (char *) "self", NULL
17493 };
17494
17495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
17496 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17497 if (SWIG_arg_fail(1)) SWIG_fail;
17498 {
17499 PyThreadState* __tstate = wxPyBeginAllowThreads();
17500 (arg1)->ActivatePrevious();
17501
17502 wxPyEndAllowThreads(__tstate);
17503 if (PyErr_Occurred()) SWIG_fail;
17504 }
17505 Py_INCREF(Py_None); resultobj = Py_None;
17506 return resultobj;
17507 fail:
17508 return NULL;
17509 }
17510
17511
17512 static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *, PyObject *args, PyObject *kwargs) {
17513 PyObject *resultobj = NULL;
17514 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17515 PyObject * obj0 = 0 ;
17516 char *kwnames[] = {
17517 (char *) "self", NULL
17518 };
17519
17520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
17521 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17522 if (SWIG_arg_fail(1)) SWIG_fail;
17523 {
17524 PyThreadState* __tstate = wxPyBeginAllowThreads();
17525 (arg1)->ArrangeIcons();
17526
17527 wxPyEndAllowThreads(__tstate);
17528 if (PyErr_Occurred()) SWIG_fail;
17529 }
17530 Py_INCREF(Py_None); resultobj = Py_None;
17531 return resultobj;
17532 fail:
17533 return NULL;
17534 }
17535
17536
17537 static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *, PyObject *args, PyObject *kwargs) {
17538 PyObject *resultobj = NULL;
17539 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17540 PyObject * obj0 = 0 ;
17541 char *kwnames[] = {
17542 (char *) "self", NULL
17543 };
17544
17545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
17546 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17547 if (SWIG_arg_fail(1)) SWIG_fail;
17548 {
17549 PyThreadState* __tstate = wxPyBeginAllowThreads();
17550 (arg1)->Cascade();
17551
17552 wxPyEndAllowThreads(__tstate);
17553 if (PyErr_Occurred()) SWIG_fail;
17554 }
17555 Py_INCREF(Py_None); resultobj = Py_None;
17556 return resultobj;
17557 fail:
17558 return NULL;
17559 }
17560
17561
17562 static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *, PyObject *args, PyObject *kwargs) {
17563 PyObject *resultobj = NULL;
17564 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17565 wxMDIChildFrame *result;
17566 PyObject * obj0 = 0 ;
17567 char *kwnames[] = {
17568 (char *) "self", NULL
17569 };
17570
17571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
17572 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17573 if (SWIG_arg_fail(1)) SWIG_fail;
17574 {
17575 PyThreadState* __tstate = wxPyBeginAllowThreads();
17576 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
17577
17578 wxPyEndAllowThreads(__tstate);
17579 if (PyErr_Occurred()) SWIG_fail;
17580 }
17581 {
17582 resultobj = wxPyMake_wxObject(result, (bool)0);
17583 }
17584 return resultobj;
17585 fail:
17586 return NULL;
17587 }
17588
17589
17590 static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17591 PyObject *resultobj = NULL;
17592 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17593 wxMDIClientWindow *result;
17594 PyObject * obj0 = 0 ;
17595 char *kwnames[] = {
17596 (char *) "self", NULL
17597 };
17598
17599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
17600 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17601 if (SWIG_arg_fail(1)) SWIG_fail;
17602 {
17603 PyThreadState* __tstate = wxPyBeginAllowThreads();
17604 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
17605
17606 wxPyEndAllowThreads(__tstate);
17607 if (PyErr_Occurred()) SWIG_fail;
17608 }
17609 {
17610 resultobj = wxPyMake_wxObject(result, (bool)0);
17611 }
17612 return resultobj;
17613 fail:
17614 return NULL;
17615 }
17616
17617
17618 static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
17619 PyObject *resultobj = NULL;
17620 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17621 wxWindow *result;
17622 PyObject * obj0 = 0 ;
17623 char *kwnames[] = {
17624 (char *) "self", NULL
17625 };
17626
17627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
17628 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17629 if (SWIG_arg_fail(1)) SWIG_fail;
17630 {
17631 PyThreadState* __tstate = wxPyBeginAllowThreads();
17632 result = (wxWindow *)(arg1)->GetToolBar();
17633
17634 wxPyEndAllowThreads(__tstate);
17635 if (PyErr_Occurred()) SWIG_fail;
17636 }
17637 {
17638 resultobj = wxPyMake_wxObject(result, 0);
17639 }
17640 return resultobj;
17641 fail:
17642 return NULL;
17643 }
17644
17645
17646 static PyObject *_wrap_MDIParentFrame_GetWindowMenu(PyObject *, PyObject *args, PyObject *kwargs) {
17647 PyObject *resultobj = NULL;
17648 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17649 wxMenu *result;
17650 PyObject * obj0 = 0 ;
17651 char *kwnames[] = {
17652 (char *) "self", NULL
17653 };
17654
17655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetWindowMenu",kwnames,&obj0)) goto fail;
17656 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17657 if (SWIG_arg_fail(1)) SWIG_fail;
17658 {
17659 PyThreadState* __tstate = wxPyBeginAllowThreads();
17660 result = (wxMenu *)(arg1)->GetWindowMenu();
17661
17662 wxPyEndAllowThreads(__tstate);
17663 if (PyErr_Occurred()) SWIG_fail;
17664 }
17665 {
17666 resultobj = wxPyMake_wxObject(result, 0);
17667 }
17668 return resultobj;
17669 fail:
17670 return NULL;
17671 }
17672
17673
17674 static PyObject *_wrap_MDIParentFrame_SetWindowMenu(PyObject *, PyObject *args, PyObject *kwargs) {
17675 PyObject *resultobj = NULL;
17676 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17677 wxMenu *arg2 = (wxMenu *) 0 ;
17678 PyObject * obj0 = 0 ;
17679 PyObject * obj1 = 0 ;
17680 char *kwnames[] = {
17681 (char *) "self",(char *) "menu", NULL
17682 };
17683
17684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames,&obj0,&obj1)) goto fail;
17685 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17686 if (SWIG_arg_fail(1)) SWIG_fail;
17687 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
17688 if (SWIG_arg_fail(2)) SWIG_fail;
17689 {
17690 PyThreadState* __tstate = wxPyBeginAllowThreads();
17691 (arg1)->SetWindowMenu(arg2);
17692
17693 wxPyEndAllowThreads(__tstate);
17694 if (PyErr_Occurred()) SWIG_fail;
17695 }
17696 Py_INCREF(Py_None); resultobj = Py_None;
17697 return resultobj;
17698 fail:
17699 return NULL;
17700 }
17701
17702
17703 static PyObject *_wrap_MDIParentFrame_SetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
17704 PyObject *resultobj = NULL;
17705 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17706 wxToolBar *arg2 = (wxToolBar *) 0 ;
17707 PyObject * obj0 = 0 ;
17708 PyObject * obj1 = 0 ;
17709 char *kwnames[] = {
17710 (char *) "self",(char *) "toolbar", NULL
17711 };
17712
17713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
17714 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17715 if (SWIG_arg_fail(1)) SWIG_fail;
17716 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
17717 if (SWIG_arg_fail(2)) SWIG_fail;
17718 {
17719 PyThreadState* __tstate = wxPyBeginAllowThreads();
17720 (arg1)->SetToolBar(arg2);
17721
17722 wxPyEndAllowThreads(__tstate);
17723 if (PyErr_Occurred()) SWIG_fail;
17724 }
17725 Py_INCREF(Py_None); resultobj = Py_None;
17726 return resultobj;
17727 fail:
17728 return NULL;
17729 }
17730
17731
17732 static PyObject *_wrap_MDIParentFrame_Tile(PyObject *, PyObject *args, PyObject *kwargs) {
17733 PyObject *resultobj = NULL;
17734 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17735 wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ;
17736 PyObject * obj0 = 0 ;
17737 PyObject * obj1 = 0 ;
17738 char *kwnames[] = {
17739 (char *) "self",(char *) "orient", NULL
17740 };
17741
17742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) goto fail;
17743 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17744 if (SWIG_arg_fail(1)) SWIG_fail;
17745 if (obj1) {
17746 {
17747 arg2 = static_cast<wxOrientation >(SWIG_As_int(obj1));
17748 if (SWIG_arg_fail(2)) SWIG_fail;
17749 }
17750 }
17751 {
17752 PyThreadState* __tstate = wxPyBeginAllowThreads();
17753 (arg1)->Tile(arg2);
17754
17755 wxPyEndAllowThreads(__tstate);
17756 if (PyErr_Occurred()) SWIG_fail;
17757 }
17758 Py_INCREF(Py_None); resultobj = Py_None;
17759 return resultobj;
17760 fail:
17761 return NULL;
17762 }
17763
17764
17765 static PyObject * MDIParentFrame_swigregister(PyObject *, PyObject *args) {
17766 PyObject *obj;
17767 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17768 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
17769 Py_INCREF(obj);
17770 return Py_BuildValue((char *)"");
17771 }
17772 static PyObject *_wrap_new_MDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
17773 PyObject *resultobj = NULL;
17774 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17775 int arg2 = (int) (int)-1 ;
17776 wxString const &arg3_defvalue = wxPyEmptyString ;
17777 wxString *arg3 = (wxString *) &arg3_defvalue ;
17778 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17779 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17780 wxSize const &arg5_defvalue = wxDefaultSize ;
17781 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17782 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
17783 wxString const &arg7_defvalue = wxPyFrameNameStr ;
17784 wxString *arg7 = (wxString *) &arg7_defvalue ;
17785 wxMDIChildFrame *result;
17786 bool temp3 = false ;
17787 wxPoint temp4 ;
17788 wxSize temp5 ;
17789 bool temp7 = false ;
17790 PyObject * obj0 = 0 ;
17791 PyObject * obj1 = 0 ;
17792 PyObject * obj2 = 0 ;
17793 PyObject * obj3 = 0 ;
17794 PyObject * obj4 = 0 ;
17795 PyObject * obj5 = 0 ;
17796 PyObject * obj6 = 0 ;
17797 char *kwnames[] = {
17798 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17799 };
17800
17801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17802 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17803 if (SWIG_arg_fail(1)) SWIG_fail;
17804 if (obj1) {
17805 {
17806 arg2 = static_cast<int const >(SWIG_As_int(obj1));
17807 if (SWIG_arg_fail(2)) SWIG_fail;
17808 }
17809 }
17810 if (obj2) {
17811 {
17812 arg3 = wxString_in_helper(obj2);
17813 if (arg3 == NULL) SWIG_fail;
17814 temp3 = true;
17815 }
17816 }
17817 if (obj3) {
17818 {
17819 arg4 = &temp4;
17820 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17821 }
17822 }
17823 if (obj4) {
17824 {
17825 arg5 = &temp5;
17826 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17827 }
17828 }
17829 if (obj5) {
17830 {
17831 arg6 = static_cast<long >(SWIG_As_long(obj5));
17832 if (SWIG_arg_fail(6)) SWIG_fail;
17833 }
17834 }
17835 if (obj6) {
17836 {
17837 arg7 = wxString_in_helper(obj6);
17838 if (arg7 == NULL) SWIG_fail;
17839 temp7 = true;
17840 }
17841 }
17842 {
17843 if (!wxPyCheckForApp()) SWIG_fail;
17844 PyThreadState* __tstate = wxPyBeginAllowThreads();
17845 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17846
17847 wxPyEndAllowThreads(__tstate);
17848 if (PyErr_Occurred()) SWIG_fail;
17849 }
17850 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
17851 {
17852 if (temp3)
17853 delete arg3;
17854 }
17855 {
17856 if (temp7)
17857 delete arg7;
17858 }
17859 return resultobj;
17860 fail:
17861 {
17862 if (temp3)
17863 delete arg3;
17864 }
17865 {
17866 if (temp7)
17867 delete arg7;
17868 }
17869 return NULL;
17870 }
17871
17872
17873 static PyObject *_wrap_new_PreMDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
17874 PyObject *resultobj = NULL;
17875 wxMDIChildFrame *result;
17876 char *kwnames[] = {
17877 NULL
17878 };
17879
17880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
17881 {
17882 if (!wxPyCheckForApp()) SWIG_fail;
17883 PyThreadState* __tstate = wxPyBeginAllowThreads();
17884 result = (wxMDIChildFrame *)new wxMDIChildFrame();
17885
17886 wxPyEndAllowThreads(__tstate);
17887 if (PyErr_Occurred()) SWIG_fail;
17888 }
17889 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
17890 return resultobj;
17891 fail:
17892 return NULL;
17893 }
17894
17895
17896 static PyObject *_wrap_MDIChildFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17897 PyObject *resultobj = NULL;
17898 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17899 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
17900 int arg3 = (int) (int)-1 ;
17901 wxString const &arg4_defvalue = wxPyEmptyString ;
17902 wxString *arg4 = (wxString *) &arg4_defvalue ;
17903 wxPoint const &arg5_defvalue = wxDefaultPosition ;
17904 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
17905 wxSize const &arg6_defvalue = wxDefaultSize ;
17906 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
17907 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
17908 wxString const &arg8_defvalue = wxPyFrameNameStr ;
17909 wxString *arg8 = (wxString *) &arg8_defvalue ;
17910 bool result;
17911 bool temp4 = false ;
17912 wxPoint temp5 ;
17913 wxSize temp6 ;
17914 bool temp8 = false ;
17915 PyObject * obj0 = 0 ;
17916 PyObject * obj1 = 0 ;
17917 PyObject * obj2 = 0 ;
17918 PyObject * obj3 = 0 ;
17919 PyObject * obj4 = 0 ;
17920 PyObject * obj5 = 0 ;
17921 PyObject * obj6 = 0 ;
17922 PyObject * obj7 = 0 ;
17923 char *kwnames[] = {
17924 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17925 };
17926
17927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
17928 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17929 if (SWIG_arg_fail(1)) SWIG_fail;
17930 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17931 if (SWIG_arg_fail(2)) SWIG_fail;
17932 if (obj2) {
17933 {
17934 arg3 = static_cast<int const >(SWIG_As_int(obj2));
17935 if (SWIG_arg_fail(3)) SWIG_fail;
17936 }
17937 }
17938 if (obj3) {
17939 {
17940 arg4 = wxString_in_helper(obj3);
17941 if (arg4 == NULL) SWIG_fail;
17942 temp4 = true;
17943 }
17944 }
17945 if (obj4) {
17946 {
17947 arg5 = &temp5;
17948 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
17949 }
17950 }
17951 if (obj5) {
17952 {
17953 arg6 = &temp6;
17954 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
17955 }
17956 }
17957 if (obj6) {
17958 {
17959 arg7 = static_cast<long >(SWIG_As_long(obj6));
17960 if (SWIG_arg_fail(7)) SWIG_fail;
17961 }
17962 }
17963 if (obj7) {
17964 {
17965 arg8 = wxString_in_helper(obj7);
17966 if (arg8 == NULL) SWIG_fail;
17967 temp8 = true;
17968 }
17969 }
17970 {
17971 PyThreadState* __tstate = wxPyBeginAllowThreads();
17972 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
17973
17974 wxPyEndAllowThreads(__tstate);
17975 if (PyErr_Occurred()) SWIG_fail;
17976 }
17977 {
17978 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17979 }
17980 {
17981 if (temp4)
17982 delete arg4;
17983 }
17984 {
17985 if (temp8)
17986 delete arg8;
17987 }
17988 return resultobj;
17989 fail:
17990 {
17991 if (temp4)
17992 delete arg4;
17993 }
17994 {
17995 if (temp8)
17996 delete arg8;
17997 }
17998 return NULL;
17999 }
18000
18001
18002 static PyObject *_wrap_MDIChildFrame_Activate(PyObject *, PyObject *args, PyObject *kwargs) {
18003 PyObject *resultobj = NULL;
18004 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
18005 PyObject * obj0 = 0 ;
18006 char *kwnames[] = {
18007 (char *) "self", NULL
18008 };
18009
18010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
18011 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
18012 if (SWIG_arg_fail(1)) SWIG_fail;
18013 {
18014 PyThreadState* __tstate = wxPyBeginAllowThreads();
18015 (arg1)->Activate();
18016
18017 wxPyEndAllowThreads(__tstate);
18018 if (PyErr_Occurred()) SWIG_fail;
18019 }
18020 Py_INCREF(Py_None); resultobj = Py_None;
18021 return resultobj;
18022 fail:
18023 return NULL;
18024 }
18025
18026
18027 static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
18028 PyObject *resultobj = NULL;
18029 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
18030 bool arg2 = (bool) true ;
18031 PyObject * obj0 = 0 ;
18032 PyObject * obj1 = 0 ;
18033 char *kwnames[] = {
18034 (char *) "self",(char *) "maximize", NULL
18035 };
18036
18037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
18038 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
18039 if (SWIG_arg_fail(1)) SWIG_fail;
18040 if (obj1) {
18041 {
18042 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
18043 if (SWIG_arg_fail(2)) SWIG_fail;
18044 }
18045 }
18046 {
18047 PyThreadState* __tstate = wxPyBeginAllowThreads();
18048 (arg1)->Maximize(arg2);
18049
18050 wxPyEndAllowThreads(__tstate);
18051 if (PyErr_Occurred()) SWIG_fail;
18052 }
18053 Py_INCREF(Py_None); resultobj = Py_None;
18054 return resultobj;
18055 fail:
18056 return NULL;
18057 }
18058
18059
18060 static PyObject *_wrap_MDIChildFrame_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
18061 PyObject *resultobj = NULL;
18062 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
18063 PyObject * obj0 = 0 ;
18064 char *kwnames[] = {
18065 (char *) "self", NULL
18066 };
18067
18068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
18069 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
18070 if (SWIG_arg_fail(1)) SWIG_fail;
18071 {
18072 PyThreadState* __tstate = wxPyBeginAllowThreads();
18073 (arg1)->Restore();
18074
18075 wxPyEndAllowThreads(__tstate);
18076 if (PyErr_Occurred()) SWIG_fail;
18077 }
18078 Py_INCREF(Py_None); resultobj = Py_None;
18079 return resultobj;
18080 fail:
18081 return NULL;
18082 }
18083
18084
18085 static PyObject * MDIChildFrame_swigregister(PyObject *, PyObject *args) {
18086 PyObject *obj;
18087 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18088 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
18089 Py_INCREF(obj);
18090 return Py_BuildValue((char *)"");
18091 }
18092 static PyObject *_wrap_new_MDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
18093 PyObject *resultobj = NULL;
18094 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
18095 long arg2 = (long) 0 ;
18096 wxMDIClientWindow *result;
18097 PyObject * obj0 = 0 ;
18098 PyObject * obj1 = 0 ;
18099 char *kwnames[] = {
18100 (char *) "parent",(char *) "style", NULL
18101 };
18102
18103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
18104 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
18105 if (SWIG_arg_fail(1)) SWIG_fail;
18106 if (obj1) {
18107 {
18108 arg2 = static_cast<long >(SWIG_As_long(obj1));
18109 if (SWIG_arg_fail(2)) SWIG_fail;
18110 }
18111 }
18112 {
18113 if (!wxPyCheckForApp()) SWIG_fail;
18114 PyThreadState* __tstate = wxPyBeginAllowThreads();
18115 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
18116
18117 wxPyEndAllowThreads(__tstate);
18118 if (PyErr_Occurred()) SWIG_fail;
18119 }
18120 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
18121 return resultobj;
18122 fail:
18123 return NULL;
18124 }
18125
18126
18127 static PyObject *_wrap_new_PreMDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
18128 PyObject *resultobj = NULL;
18129 wxMDIClientWindow *result;
18130 char *kwnames[] = {
18131 NULL
18132 };
18133
18134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
18135 {
18136 if (!wxPyCheckForApp()) SWIG_fail;
18137 PyThreadState* __tstate = wxPyBeginAllowThreads();
18138 result = (wxMDIClientWindow *)new wxMDIClientWindow();
18139
18140 wxPyEndAllowThreads(__tstate);
18141 if (PyErr_Occurred()) SWIG_fail;
18142 }
18143 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
18144 return resultobj;
18145 fail:
18146 return NULL;
18147 }
18148
18149
18150 static PyObject *_wrap_MDIClientWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
18151 PyObject *resultobj = NULL;
18152 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
18153 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
18154 long arg3 = (long) 0 ;
18155 bool result;
18156 PyObject * obj0 = 0 ;
18157 PyObject * obj1 = 0 ;
18158 PyObject * obj2 = 0 ;
18159 char *kwnames[] = {
18160 (char *) "self",(char *) "parent",(char *) "style", NULL
18161 };
18162
18163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
18164 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_EXCEPTION | 0);
18165 if (SWIG_arg_fail(1)) SWIG_fail;
18166 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
18167 if (SWIG_arg_fail(2)) SWIG_fail;
18168 if (obj2) {
18169 {
18170 arg3 = static_cast<long >(SWIG_As_long(obj2));
18171 if (SWIG_arg_fail(3)) SWIG_fail;
18172 }
18173 }
18174 {
18175 PyThreadState* __tstate = wxPyBeginAllowThreads();
18176 result = (bool)(arg1)->Create(arg2,arg3);
18177
18178 wxPyEndAllowThreads(__tstate);
18179 if (PyErr_Occurred()) SWIG_fail;
18180 }
18181 {
18182 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18183 }
18184 return resultobj;
18185 fail:
18186 return NULL;
18187 }
18188
18189
18190 static PyObject * MDIClientWindow_swigregister(PyObject *, PyObject *args) {
18191 PyObject *obj;
18192 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18193 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
18194 Py_INCREF(obj);
18195 return Py_BuildValue((char *)"");
18196 }
18197 static PyObject *_wrap_new_PyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
18198 PyObject *resultobj = NULL;
18199 wxWindow *arg1 = (wxWindow *) 0 ;
18200 int arg2 = (int) (int)-1 ;
18201 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18202 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18203 wxSize const &arg4_defvalue = wxDefaultSize ;
18204 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18205 long arg5 = (long) 0 ;
18206 wxString const &arg6_defvalue = wxPyPanelNameStr ;
18207 wxString *arg6 = (wxString *) &arg6_defvalue ;
18208 wxPyWindow *result;
18209 wxPoint temp3 ;
18210 wxSize temp4 ;
18211 bool temp6 = false ;
18212 PyObject * obj0 = 0 ;
18213 PyObject * obj1 = 0 ;
18214 PyObject * obj2 = 0 ;
18215 PyObject * obj3 = 0 ;
18216 PyObject * obj4 = 0 ;
18217 PyObject * obj5 = 0 ;
18218 char *kwnames[] = {
18219 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18220 };
18221
18222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18223 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18224 if (SWIG_arg_fail(1)) SWIG_fail;
18225 if (obj1) {
18226 {
18227 arg2 = static_cast<int const >(SWIG_As_int(obj1));
18228 if (SWIG_arg_fail(2)) SWIG_fail;
18229 }
18230 }
18231 if (obj2) {
18232 {
18233 arg3 = &temp3;
18234 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18235 }
18236 }
18237 if (obj3) {
18238 {
18239 arg4 = &temp4;
18240 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18241 }
18242 }
18243 if (obj4) {
18244 {
18245 arg5 = static_cast<long >(SWIG_As_long(obj4));
18246 if (SWIG_arg_fail(5)) SWIG_fail;
18247 }
18248 }
18249 if (obj5) {
18250 {
18251 arg6 = wxString_in_helper(obj5);
18252 if (arg6 == NULL) SWIG_fail;
18253 temp6 = true;
18254 }
18255 }
18256 {
18257 if (!wxPyCheckForApp()) SWIG_fail;
18258 PyThreadState* __tstate = wxPyBeginAllowThreads();
18259 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
18260
18261 wxPyEndAllowThreads(__tstate);
18262 if (PyErr_Occurred()) SWIG_fail;
18263 }
18264 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
18265 {
18266 if (temp6)
18267 delete arg6;
18268 }
18269 return resultobj;
18270 fail:
18271 {
18272 if (temp6)
18273 delete arg6;
18274 }
18275 return NULL;
18276 }
18277
18278
18279 static PyObject *_wrap_new_PrePyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
18280 PyObject *resultobj = NULL;
18281 wxPyWindow *result;
18282 char *kwnames[] = {
18283 NULL
18284 };
18285
18286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail;
18287 {
18288 if (!wxPyCheckForApp()) SWIG_fail;
18289 PyThreadState* __tstate = wxPyBeginAllowThreads();
18290 result = (wxPyWindow *)new wxPyWindow();
18291
18292 wxPyEndAllowThreads(__tstate);
18293 if (PyErr_Occurred()) SWIG_fail;
18294 }
18295 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
18296 return resultobj;
18297 fail:
18298 return NULL;
18299 }
18300
18301
18302 static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
18303 PyObject *resultobj = NULL;
18304 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18305 PyObject *arg2 = (PyObject *) 0 ;
18306 PyObject *arg3 = (PyObject *) 0 ;
18307 PyObject * obj0 = 0 ;
18308 PyObject * obj1 = 0 ;
18309 PyObject * obj2 = 0 ;
18310 char *kwnames[] = {
18311 (char *) "self",(char *) "self",(char *) "_class", NULL
18312 };
18313
18314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
18315 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18316 if (SWIG_arg_fail(1)) SWIG_fail;
18317 arg2 = obj1;
18318 arg3 = obj2;
18319 {
18320 PyThreadState* __tstate = wxPyBeginAllowThreads();
18321 (arg1)->_setCallbackInfo(arg2,arg3);
18322
18323 wxPyEndAllowThreads(__tstate);
18324 if (PyErr_Occurred()) SWIG_fail;
18325 }
18326 Py_INCREF(Py_None); resultobj = Py_None;
18327 return resultobj;
18328 fail:
18329 return NULL;
18330 }
18331
18332
18333 static PyObject *_wrap_PyWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
18334 PyObject *resultobj = NULL;
18335 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18336 wxSize *arg2 = 0 ;
18337 wxSize temp2 ;
18338 PyObject * obj0 = 0 ;
18339 PyObject * obj1 = 0 ;
18340 char *kwnames[] = {
18341 (char *) "self",(char *) "size", NULL
18342 };
18343
18344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
18345 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18346 if (SWIG_arg_fail(1)) SWIG_fail;
18347 {
18348 arg2 = &temp2;
18349 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18350 }
18351 {
18352 PyThreadState* __tstate = wxPyBeginAllowThreads();
18353 (arg1)->SetBestSize((wxSize const &)*arg2);
18354
18355 wxPyEndAllowThreads(__tstate);
18356 if (PyErr_Occurred()) SWIG_fail;
18357 }
18358 Py_INCREF(Py_None); resultobj = Py_None;
18359 return resultobj;
18360 fail:
18361 return NULL;
18362 }
18363
18364
18365 static PyObject *_wrap_PyWindow_DoEraseBackground(PyObject *, PyObject *args, PyObject *kwargs) {
18366 PyObject *resultobj = NULL;
18367 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18368 wxDC *arg2 = (wxDC *) 0 ;
18369 bool result;
18370 PyObject * obj0 = 0 ;
18371 PyObject * obj1 = 0 ;
18372 char *kwnames[] = {
18373 (char *) "self",(char *) "dc", NULL
18374 };
18375
18376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_DoEraseBackground",kwnames,&obj0,&obj1)) goto fail;
18377 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18378 if (SWIG_arg_fail(1)) SWIG_fail;
18379 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
18380 if (SWIG_arg_fail(2)) SWIG_fail;
18381 {
18382 PyThreadState* __tstate = wxPyBeginAllowThreads();
18383 result = (bool)(arg1)->DoEraseBackground(arg2);
18384
18385 wxPyEndAllowThreads(__tstate);
18386 if (PyErr_Occurred()) SWIG_fail;
18387 }
18388 {
18389 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18390 }
18391 return resultobj;
18392 fail:
18393 return NULL;
18394 }
18395
18396
18397 static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
18398 PyObject *resultobj = NULL;
18399 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18400 int arg2 ;
18401 int arg3 ;
18402 int arg4 ;
18403 int arg5 ;
18404 PyObject * obj0 = 0 ;
18405 PyObject * obj1 = 0 ;
18406 PyObject * obj2 = 0 ;
18407 PyObject * obj3 = 0 ;
18408 PyObject * obj4 = 0 ;
18409 char *kwnames[] = {
18410 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18411 };
18412
18413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
18414 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18415 if (SWIG_arg_fail(1)) SWIG_fail;
18416 {
18417 arg2 = static_cast<int >(SWIG_As_int(obj1));
18418 if (SWIG_arg_fail(2)) SWIG_fail;
18419 }
18420 {
18421 arg3 = static_cast<int >(SWIG_As_int(obj2));
18422 if (SWIG_arg_fail(3)) SWIG_fail;
18423 }
18424 {
18425 arg4 = static_cast<int >(SWIG_As_int(obj3));
18426 if (SWIG_arg_fail(4)) SWIG_fail;
18427 }
18428 {
18429 arg5 = static_cast<int >(SWIG_As_int(obj4));
18430 if (SWIG_arg_fail(5)) SWIG_fail;
18431 }
18432 {
18433 PyThreadState* __tstate = wxPyBeginAllowThreads();
18434 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
18435
18436 wxPyEndAllowThreads(__tstate);
18437 if (PyErr_Occurred()) SWIG_fail;
18438 }
18439 Py_INCREF(Py_None); resultobj = Py_None;
18440 return resultobj;
18441 fail:
18442 return NULL;
18443 }
18444
18445
18446 static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
18447 PyObject *resultobj = NULL;
18448 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18449 int arg2 ;
18450 int arg3 ;
18451 int arg4 ;
18452 int arg5 ;
18453 int arg6 = (int) wxSIZE_AUTO ;
18454 PyObject * obj0 = 0 ;
18455 PyObject * obj1 = 0 ;
18456 PyObject * obj2 = 0 ;
18457 PyObject * obj3 = 0 ;
18458 PyObject * obj4 = 0 ;
18459 PyObject * obj5 = 0 ;
18460 char *kwnames[] = {
18461 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
18462 };
18463
18464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18465 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18466 if (SWIG_arg_fail(1)) SWIG_fail;
18467 {
18468 arg2 = static_cast<int >(SWIG_As_int(obj1));
18469 if (SWIG_arg_fail(2)) SWIG_fail;
18470 }
18471 {
18472 arg3 = static_cast<int >(SWIG_As_int(obj2));
18473 if (SWIG_arg_fail(3)) SWIG_fail;
18474 }
18475 {
18476 arg4 = static_cast<int >(SWIG_As_int(obj3));
18477 if (SWIG_arg_fail(4)) SWIG_fail;
18478 }
18479 {
18480 arg5 = static_cast<int >(SWIG_As_int(obj4));
18481 if (SWIG_arg_fail(5)) SWIG_fail;
18482 }
18483 if (obj5) {
18484 {
18485 arg6 = static_cast<int >(SWIG_As_int(obj5));
18486 if (SWIG_arg_fail(6)) SWIG_fail;
18487 }
18488 }
18489 {
18490 PyThreadState* __tstate = wxPyBeginAllowThreads();
18491 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
18492
18493 wxPyEndAllowThreads(__tstate);
18494 if (PyErr_Occurred()) SWIG_fail;
18495 }
18496 Py_INCREF(Py_None); resultobj = Py_None;
18497 return resultobj;
18498 fail:
18499 return NULL;
18500 }
18501
18502
18503 static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
18504 PyObject *resultobj = NULL;
18505 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18506 int arg2 ;
18507 int arg3 ;
18508 PyObject * obj0 = 0 ;
18509 PyObject * obj1 = 0 ;
18510 PyObject * obj2 = 0 ;
18511 char *kwnames[] = {
18512 (char *) "self",(char *) "width",(char *) "height", NULL
18513 };
18514
18515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
18516 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18517 if (SWIG_arg_fail(1)) SWIG_fail;
18518 {
18519 arg2 = static_cast<int >(SWIG_As_int(obj1));
18520 if (SWIG_arg_fail(2)) SWIG_fail;
18521 }
18522 {
18523 arg3 = static_cast<int >(SWIG_As_int(obj2));
18524 if (SWIG_arg_fail(3)) SWIG_fail;
18525 }
18526 {
18527 PyThreadState* __tstate = wxPyBeginAllowThreads();
18528 (arg1)->base_DoSetClientSize(arg2,arg3);
18529
18530 wxPyEndAllowThreads(__tstate);
18531 if (PyErr_Occurred()) SWIG_fail;
18532 }
18533 Py_INCREF(Py_None); resultobj = Py_None;
18534 return resultobj;
18535 fail:
18536 return NULL;
18537 }
18538
18539
18540 static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
18541 PyObject *resultobj = NULL;
18542 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18543 int arg2 ;
18544 int arg3 ;
18545 PyObject * obj0 = 0 ;
18546 PyObject * obj1 = 0 ;
18547 PyObject * obj2 = 0 ;
18548 char *kwnames[] = {
18549 (char *) "self",(char *) "x",(char *) "y", NULL
18550 };
18551
18552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
18553 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18554 if (SWIG_arg_fail(1)) SWIG_fail;
18555 {
18556 arg2 = static_cast<int >(SWIG_As_int(obj1));
18557 if (SWIG_arg_fail(2)) SWIG_fail;
18558 }
18559 {
18560 arg3 = static_cast<int >(SWIG_As_int(obj2));
18561 if (SWIG_arg_fail(3)) SWIG_fail;
18562 }
18563 {
18564 PyThreadState* __tstate = wxPyBeginAllowThreads();
18565 (arg1)->base_DoSetVirtualSize(arg2,arg3);
18566
18567 wxPyEndAllowThreads(__tstate);
18568 if (PyErr_Occurred()) SWIG_fail;
18569 }
18570 Py_INCREF(Py_None); resultobj = Py_None;
18571 return resultobj;
18572 fail:
18573 return NULL;
18574 }
18575
18576
18577 static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
18578 PyObject *resultobj = NULL;
18579 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18580 int *arg2 = (int *) 0 ;
18581 int *arg3 = (int *) 0 ;
18582 int temp2 ;
18583 int res2 = 0 ;
18584 int temp3 ;
18585 int res3 = 0 ;
18586 PyObject * obj0 = 0 ;
18587 char *kwnames[] = {
18588 (char *) "self", NULL
18589 };
18590
18591 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18592 arg3 = &temp3; res3 = SWIG_NEWOBJ;
18593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
18594 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18595 if (SWIG_arg_fail(1)) SWIG_fail;
18596 {
18597 PyThreadState* __tstate = wxPyBeginAllowThreads();
18598 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
18599
18600 wxPyEndAllowThreads(__tstate);
18601 if (PyErr_Occurred()) SWIG_fail;
18602 }
18603 Py_INCREF(Py_None); resultobj = Py_None;
18604 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18605 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18606 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18607 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
18608 return resultobj;
18609 fail:
18610 return NULL;
18611 }
18612
18613
18614 static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
18615 PyObject *resultobj = NULL;
18616 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18617 int *arg2 = (int *) 0 ;
18618 int *arg3 = (int *) 0 ;
18619 int temp2 ;
18620 int res2 = 0 ;
18621 int temp3 ;
18622 int res3 = 0 ;
18623 PyObject * obj0 = 0 ;
18624 char *kwnames[] = {
18625 (char *) "self", NULL
18626 };
18627
18628 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18629 arg3 = &temp3; res3 = SWIG_NEWOBJ;
18630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
18631 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18632 if (SWIG_arg_fail(1)) SWIG_fail;
18633 {
18634 PyThreadState* __tstate = wxPyBeginAllowThreads();
18635 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
18636
18637 wxPyEndAllowThreads(__tstate);
18638 if (PyErr_Occurred()) SWIG_fail;
18639 }
18640 Py_INCREF(Py_None); resultobj = Py_None;
18641 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18642 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18643 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18644 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
18645 return resultobj;
18646 fail:
18647 return NULL;
18648 }
18649
18650
18651 static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
18652 PyObject *resultobj = NULL;
18653 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18654 int *arg2 = (int *) 0 ;
18655 int *arg3 = (int *) 0 ;
18656 int temp2 ;
18657 int res2 = 0 ;
18658 int temp3 ;
18659 int res3 = 0 ;
18660 PyObject * obj0 = 0 ;
18661 char *kwnames[] = {
18662 (char *) "self", NULL
18663 };
18664
18665 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18666 arg3 = &temp3; res3 = SWIG_NEWOBJ;
18667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
18668 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18669 if (SWIG_arg_fail(1)) SWIG_fail;
18670 {
18671 PyThreadState* __tstate = wxPyBeginAllowThreads();
18672 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
18673
18674 wxPyEndAllowThreads(__tstate);
18675 if (PyErr_Occurred()) SWIG_fail;
18676 }
18677 Py_INCREF(Py_None); resultobj = Py_None;
18678 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18679 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18680 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18681 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
18682 return resultobj;
18683 fail:
18684 return NULL;
18685 }
18686
18687
18688 static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
18689 PyObject *resultobj = NULL;
18690 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18691 wxSize result;
18692 PyObject * obj0 = 0 ;
18693 char *kwnames[] = {
18694 (char *) "self", NULL
18695 };
18696
18697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
18698 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18699 if (SWIG_arg_fail(1)) SWIG_fail;
18700 {
18701 PyThreadState* __tstate = wxPyBeginAllowThreads();
18702 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
18703
18704 wxPyEndAllowThreads(__tstate);
18705 if (PyErr_Occurred()) SWIG_fail;
18706 }
18707 {
18708 wxSize * resultptr;
18709 resultptr = new wxSize(static_cast<wxSize & >(result));
18710 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18711 }
18712 return resultobj;
18713 fail:
18714 return NULL;
18715 }
18716
18717
18718 static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
18719 PyObject *resultobj = NULL;
18720 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18721 wxSize result;
18722 PyObject * obj0 = 0 ;
18723 char *kwnames[] = {
18724 (char *) "self", NULL
18725 };
18726
18727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
18728 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18729 if (SWIG_arg_fail(1)) SWIG_fail;
18730 {
18731 PyThreadState* __tstate = wxPyBeginAllowThreads();
18732 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
18733
18734 wxPyEndAllowThreads(__tstate);
18735 if (PyErr_Occurred()) SWIG_fail;
18736 }
18737 {
18738 wxSize * resultptr;
18739 resultptr = new wxSize(static_cast<wxSize & >(result));
18740 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18741 }
18742 return resultobj;
18743 fail:
18744 return NULL;
18745 }
18746
18747
18748 static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
18749 PyObject *resultobj = NULL;
18750 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18751 PyObject * obj0 = 0 ;
18752 char *kwnames[] = {
18753 (char *) "self", NULL
18754 };
18755
18756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
18757 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18758 if (SWIG_arg_fail(1)) SWIG_fail;
18759 {
18760 PyThreadState* __tstate = wxPyBeginAllowThreads();
18761 (arg1)->base_InitDialog();
18762
18763 wxPyEndAllowThreads(__tstate);
18764 if (PyErr_Occurred()) SWIG_fail;
18765 }
18766 Py_INCREF(Py_None); resultobj = Py_None;
18767 return resultobj;
18768 fail:
18769 return NULL;
18770 }
18771
18772
18773 static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
18774 PyObject *resultobj = NULL;
18775 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18776 bool result;
18777 PyObject * obj0 = 0 ;
18778 char *kwnames[] = {
18779 (char *) "self", NULL
18780 };
18781
18782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
18783 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18784 if (SWIG_arg_fail(1)) SWIG_fail;
18785 {
18786 PyThreadState* __tstate = wxPyBeginAllowThreads();
18787 result = (bool)(arg1)->base_TransferDataToWindow();
18788
18789 wxPyEndAllowThreads(__tstate);
18790 if (PyErr_Occurred()) SWIG_fail;
18791 }
18792 {
18793 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18794 }
18795 return resultobj;
18796 fail:
18797 return NULL;
18798 }
18799
18800
18801 static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
18802 PyObject *resultobj = NULL;
18803 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18804 bool result;
18805 PyObject * obj0 = 0 ;
18806 char *kwnames[] = {
18807 (char *) "self", NULL
18808 };
18809
18810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
18811 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18812 if (SWIG_arg_fail(1)) SWIG_fail;
18813 {
18814 PyThreadState* __tstate = wxPyBeginAllowThreads();
18815 result = (bool)(arg1)->base_TransferDataFromWindow();
18816
18817 wxPyEndAllowThreads(__tstate);
18818 if (PyErr_Occurred()) SWIG_fail;
18819 }
18820 {
18821 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18822 }
18823 return resultobj;
18824 fail:
18825 return NULL;
18826 }
18827
18828
18829 static PyObject *_wrap_PyWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
18830 PyObject *resultobj = NULL;
18831 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18832 bool result;
18833 PyObject * obj0 = 0 ;
18834 char *kwnames[] = {
18835 (char *) "self", NULL
18836 };
18837
18838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
18839 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18840 if (SWIG_arg_fail(1)) SWIG_fail;
18841 {
18842 PyThreadState* __tstate = wxPyBeginAllowThreads();
18843 result = (bool)(arg1)->base_Validate();
18844
18845 wxPyEndAllowThreads(__tstate);
18846 if (PyErr_Occurred()) SWIG_fail;
18847 }
18848 {
18849 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18850 }
18851 return resultobj;
18852 fail:
18853 return NULL;
18854 }
18855
18856
18857 static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
18858 PyObject *resultobj = NULL;
18859 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18860 bool result;
18861 PyObject * obj0 = 0 ;
18862 char *kwnames[] = {
18863 (char *) "self", NULL
18864 };
18865
18866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
18867 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18868 if (SWIG_arg_fail(1)) SWIG_fail;
18869 {
18870 PyThreadState* __tstate = wxPyBeginAllowThreads();
18871 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
18872
18873 wxPyEndAllowThreads(__tstate);
18874 if (PyErr_Occurred()) SWIG_fail;
18875 }
18876 {
18877 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18878 }
18879 return resultobj;
18880 fail:
18881 return NULL;
18882 }
18883
18884
18885 static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
18886 PyObject *resultobj = NULL;
18887 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18888 bool result;
18889 PyObject * obj0 = 0 ;
18890 char *kwnames[] = {
18891 (char *) "self", NULL
18892 };
18893
18894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
18895 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18896 if (SWIG_arg_fail(1)) SWIG_fail;
18897 {
18898 PyThreadState* __tstate = wxPyBeginAllowThreads();
18899 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
18900
18901 wxPyEndAllowThreads(__tstate);
18902 if (PyErr_Occurred()) SWIG_fail;
18903 }
18904 {
18905 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18906 }
18907 return resultobj;
18908 fail:
18909 return NULL;
18910 }
18911
18912
18913 static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
18914 PyObject *resultobj = NULL;
18915 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18916 wxSize result;
18917 PyObject * obj0 = 0 ;
18918 char *kwnames[] = {
18919 (char *) "self", NULL
18920 };
18921
18922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
18923 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18924 if (SWIG_arg_fail(1)) SWIG_fail;
18925 {
18926 PyThreadState* __tstate = wxPyBeginAllowThreads();
18927 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
18928
18929 wxPyEndAllowThreads(__tstate);
18930 if (PyErr_Occurred()) SWIG_fail;
18931 }
18932 {
18933 wxSize * resultptr;
18934 resultptr = new wxSize(static_cast<wxSize & >(result));
18935 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18936 }
18937 return resultobj;
18938 fail:
18939 return NULL;
18940 }
18941
18942
18943 static PyObject *_wrap_PyWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
18944 PyObject *resultobj = NULL;
18945 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18946 wxWindow *arg2 = (wxWindow *) 0 ;
18947 PyObject * obj0 = 0 ;
18948 PyObject * obj1 = 0 ;
18949 char *kwnames[] = {
18950 (char *) "self",(char *) "child", NULL
18951 };
18952
18953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
18954 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18955 if (SWIG_arg_fail(1)) SWIG_fail;
18956 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18957 if (SWIG_arg_fail(2)) SWIG_fail;
18958 {
18959 PyThreadState* __tstate = wxPyBeginAllowThreads();
18960 (arg1)->base_AddChild(arg2);
18961
18962 wxPyEndAllowThreads(__tstate);
18963 if (PyErr_Occurred()) SWIG_fail;
18964 }
18965 Py_INCREF(Py_None); resultobj = Py_None;
18966 return resultobj;
18967 fail:
18968 return NULL;
18969 }
18970
18971
18972 static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
18973 PyObject *resultobj = NULL;
18974 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18975 wxWindow *arg2 = (wxWindow *) 0 ;
18976 PyObject * obj0 = 0 ;
18977 PyObject * obj1 = 0 ;
18978 char *kwnames[] = {
18979 (char *) "self",(char *) "child", NULL
18980 };
18981
18982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
18983 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18984 if (SWIG_arg_fail(1)) SWIG_fail;
18985 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18986 if (SWIG_arg_fail(2)) SWIG_fail;
18987 {
18988 PyThreadState* __tstate = wxPyBeginAllowThreads();
18989 (arg1)->base_RemoveChild(arg2);
18990
18991 wxPyEndAllowThreads(__tstate);
18992 if (PyErr_Occurred()) SWIG_fail;
18993 }
18994 Py_INCREF(Py_None); resultobj = Py_None;
18995 return resultobj;
18996 fail:
18997 return NULL;
18998 }
18999
19000
19001 static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
19002 PyObject *resultobj = NULL;
19003 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
19004 bool result;
19005 PyObject * obj0 = 0 ;
19006 char *kwnames[] = {
19007 (char *) "self", NULL
19008 };
19009
19010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
19011 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
19012 if (SWIG_arg_fail(1)) SWIG_fail;
19013 {
19014 PyThreadState* __tstate = wxPyBeginAllowThreads();
19015 result = (bool)((wxPyWindow const *)arg1)->base_ShouldInheritColours();
19016
19017 wxPyEndAllowThreads(__tstate);
19018 if (PyErr_Occurred()) SWIG_fail;
19019 }
19020 {
19021 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19022 }
19023 return resultobj;
19024 fail:
19025 return NULL;
19026 }
19027
19028
19029 static PyObject *_wrap_PyWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
19030 PyObject *resultobj = NULL;
19031 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
19032 wxVisualAttributes result;
19033 PyObject * obj0 = 0 ;
19034 char *kwnames[] = {
19035 (char *) "self", NULL
19036 };
19037
19038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
19039 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
19040 if (SWIG_arg_fail(1)) SWIG_fail;
19041 {
19042 PyThreadState* __tstate = wxPyBeginAllowThreads();
19043 result = (arg1)->base_GetDefaultAttributes();
19044
19045 wxPyEndAllowThreads(__tstate);
19046 if (PyErr_Occurred()) SWIG_fail;
19047 }
19048 {
19049 wxVisualAttributes * resultptr;
19050 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
19051 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
19052 }
19053 return resultobj;
19054 fail:
19055 return NULL;
19056 }
19057
19058
19059 static PyObject *_wrap_PyWindow_base_OnInternalIdle(PyObject *, PyObject *args, PyObject *kwargs) {
19060 PyObject *resultobj = NULL;
19061 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
19062 PyObject * obj0 = 0 ;
19063 char *kwnames[] = {
19064 (char *) "self", NULL
19065 };
19066
19067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_OnInternalIdle",kwnames,&obj0)) goto fail;
19068 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
19069 if (SWIG_arg_fail(1)) SWIG_fail;
19070 {
19071 PyThreadState* __tstate = wxPyBeginAllowThreads();
19072 (arg1)->base_OnInternalIdle();
19073
19074 wxPyEndAllowThreads(__tstate);
19075 if (PyErr_Occurred()) SWIG_fail;
19076 }
19077 Py_INCREF(Py_None); resultobj = Py_None;
19078 return resultobj;
19079 fail:
19080 return NULL;
19081 }
19082
19083
19084 static PyObject * PyWindow_swigregister(PyObject *, PyObject *args) {
19085 PyObject *obj;
19086 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19087 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
19088 Py_INCREF(obj);
19089 return Py_BuildValue((char *)"");
19090 }
19091 static PyObject *_wrap_new_PyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
19092 PyObject *resultobj = NULL;
19093 wxWindow *arg1 = (wxWindow *) 0 ;
19094 int arg2 = (int) (int)-1 ;
19095 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19096 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19097 wxSize const &arg4_defvalue = wxDefaultSize ;
19098 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
19099 long arg5 = (long) 0 ;
19100 wxString const &arg6_defvalue = wxPyPanelNameStr ;
19101 wxString *arg6 = (wxString *) &arg6_defvalue ;
19102 wxPyPanel *result;
19103 wxPoint temp3 ;
19104 wxSize temp4 ;
19105 bool temp6 = false ;
19106 PyObject * obj0 = 0 ;
19107 PyObject * obj1 = 0 ;
19108 PyObject * obj2 = 0 ;
19109 PyObject * obj3 = 0 ;
19110 PyObject * obj4 = 0 ;
19111 PyObject * obj5 = 0 ;
19112 char *kwnames[] = {
19113 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19114 };
19115
19116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
19117 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19118 if (SWIG_arg_fail(1)) SWIG_fail;
19119 if (obj1) {
19120 {
19121 arg2 = static_cast<int const >(SWIG_As_int(obj1));
19122 if (SWIG_arg_fail(2)) SWIG_fail;
19123 }
19124 }
19125 if (obj2) {
19126 {
19127 arg3 = &temp3;
19128 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19129 }
19130 }
19131 if (obj3) {
19132 {
19133 arg4 = &temp4;
19134 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19135 }
19136 }
19137 if (obj4) {
19138 {
19139 arg5 = static_cast<long >(SWIG_As_long(obj4));
19140 if (SWIG_arg_fail(5)) SWIG_fail;
19141 }
19142 }
19143 if (obj5) {
19144 {
19145 arg6 = wxString_in_helper(obj5);
19146 if (arg6 == NULL) SWIG_fail;
19147 temp6 = true;
19148 }
19149 }
19150 {
19151 if (!wxPyCheckForApp()) SWIG_fail;
19152 PyThreadState* __tstate = wxPyBeginAllowThreads();
19153 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
19154
19155 wxPyEndAllowThreads(__tstate);
19156 if (PyErr_Occurred()) SWIG_fail;
19157 }
19158 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
19159 {
19160 if (temp6)
19161 delete arg6;
19162 }
19163 return resultobj;
19164 fail:
19165 {
19166 if (temp6)
19167 delete arg6;
19168 }
19169 return NULL;
19170 }
19171
19172
19173 static PyObject *_wrap_new_PrePyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
19174 PyObject *resultobj = NULL;
19175 wxPyPanel *result;
19176 char *kwnames[] = {
19177 NULL
19178 };
19179
19180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail;
19181 {
19182 if (!wxPyCheckForApp()) SWIG_fail;
19183 PyThreadState* __tstate = wxPyBeginAllowThreads();
19184 result = (wxPyPanel *)new wxPyPanel();
19185
19186 wxPyEndAllowThreads(__tstate);
19187 if (PyErr_Occurred()) SWIG_fail;
19188 }
19189 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
19190 return resultobj;
19191 fail:
19192 return NULL;
19193 }
19194
19195
19196 static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
19197 PyObject *resultobj = NULL;
19198 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19199 PyObject *arg2 = (PyObject *) 0 ;
19200 PyObject *arg3 = (PyObject *) 0 ;
19201 PyObject * obj0 = 0 ;
19202 PyObject * obj1 = 0 ;
19203 PyObject * obj2 = 0 ;
19204 char *kwnames[] = {
19205 (char *) "self",(char *) "self",(char *) "_class", NULL
19206 };
19207
19208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
19209 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19210 if (SWIG_arg_fail(1)) SWIG_fail;
19211 arg2 = obj1;
19212 arg3 = obj2;
19213 {
19214 PyThreadState* __tstate = wxPyBeginAllowThreads();
19215 (arg1)->_setCallbackInfo(arg2,arg3);
19216
19217 wxPyEndAllowThreads(__tstate);
19218 if (PyErr_Occurred()) SWIG_fail;
19219 }
19220 Py_INCREF(Py_None); resultobj = Py_None;
19221 return resultobj;
19222 fail:
19223 return NULL;
19224 }
19225
19226
19227 static PyObject *_wrap_PyPanel_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
19228 PyObject *resultobj = NULL;
19229 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19230 wxSize *arg2 = 0 ;
19231 wxSize temp2 ;
19232 PyObject * obj0 = 0 ;
19233 PyObject * obj1 = 0 ;
19234 char *kwnames[] = {
19235 (char *) "self",(char *) "size", NULL
19236 };
19237
19238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
19239 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19240 if (SWIG_arg_fail(1)) SWIG_fail;
19241 {
19242 arg2 = &temp2;
19243 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19244 }
19245 {
19246 PyThreadState* __tstate = wxPyBeginAllowThreads();
19247 (arg1)->SetBestSize((wxSize const &)*arg2);
19248
19249 wxPyEndAllowThreads(__tstate);
19250 if (PyErr_Occurred()) SWIG_fail;
19251 }
19252 Py_INCREF(Py_None); resultobj = Py_None;
19253 return resultobj;
19254 fail:
19255 return NULL;
19256 }
19257
19258
19259 static PyObject *_wrap_PyPanel_DoEraseBackground(PyObject *, PyObject *args, PyObject *kwargs) {
19260 PyObject *resultobj = NULL;
19261 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19262 wxDC *arg2 = (wxDC *) 0 ;
19263 bool result;
19264 PyObject * obj0 = 0 ;
19265 PyObject * obj1 = 0 ;
19266 char *kwnames[] = {
19267 (char *) "self",(char *) "dc", NULL
19268 };
19269
19270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_DoEraseBackground",kwnames,&obj0,&obj1)) goto fail;
19271 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19272 if (SWIG_arg_fail(1)) SWIG_fail;
19273 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
19274 if (SWIG_arg_fail(2)) SWIG_fail;
19275 {
19276 PyThreadState* __tstate = wxPyBeginAllowThreads();
19277 result = (bool)(arg1)->DoEraseBackground(arg2);
19278
19279 wxPyEndAllowThreads(__tstate);
19280 if (PyErr_Occurred()) SWIG_fail;
19281 }
19282 {
19283 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19284 }
19285 return resultobj;
19286 fail:
19287 return NULL;
19288 }
19289
19290
19291 static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
19292 PyObject *resultobj = NULL;
19293 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19294 int arg2 ;
19295 int arg3 ;
19296 int arg4 ;
19297 int arg5 ;
19298 PyObject * obj0 = 0 ;
19299 PyObject * obj1 = 0 ;
19300 PyObject * obj2 = 0 ;
19301 PyObject * obj3 = 0 ;
19302 PyObject * obj4 = 0 ;
19303 char *kwnames[] = {
19304 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19305 };
19306
19307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
19308 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19309 if (SWIG_arg_fail(1)) SWIG_fail;
19310 {
19311 arg2 = static_cast<int >(SWIG_As_int(obj1));
19312 if (SWIG_arg_fail(2)) SWIG_fail;
19313 }
19314 {
19315 arg3 = static_cast<int >(SWIG_As_int(obj2));
19316 if (SWIG_arg_fail(3)) SWIG_fail;
19317 }
19318 {
19319 arg4 = static_cast<int >(SWIG_As_int(obj3));
19320 if (SWIG_arg_fail(4)) SWIG_fail;
19321 }
19322 {
19323 arg5 = static_cast<int >(SWIG_As_int(obj4));
19324 if (SWIG_arg_fail(5)) SWIG_fail;
19325 }
19326 {
19327 PyThreadState* __tstate = wxPyBeginAllowThreads();
19328 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
19329
19330 wxPyEndAllowThreads(__tstate);
19331 if (PyErr_Occurred()) SWIG_fail;
19332 }
19333 Py_INCREF(Py_None); resultobj = Py_None;
19334 return resultobj;
19335 fail:
19336 return NULL;
19337 }
19338
19339
19340 static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
19341 PyObject *resultobj = NULL;
19342 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19343 int arg2 ;
19344 int arg3 ;
19345 int arg4 ;
19346 int arg5 ;
19347 int arg6 = (int) wxSIZE_AUTO ;
19348 PyObject * obj0 = 0 ;
19349 PyObject * obj1 = 0 ;
19350 PyObject * obj2 = 0 ;
19351 PyObject * obj3 = 0 ;
19352 PyObject * obj4 = 0 ;
19353 PyObject * obj5 = 0 ;
19354 char *kwnames[] = {
19355 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
19356 };
19357
19358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
19359 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19360 if (SWIG_arg_fail(1)) SWIG_fail;
19361 {
19362 arg2 = static_cast<int >(SWIG_As_int(obj1));
19363 if (SWIG_arg_fail(2)) SWIG_fail;
19364 }
19365 {
19366 arg3 = static_cast<int >(SWIG_As_int(obj2));
19367 if (SWIG_arg_fail(3)) SWIG_fail;
19368 }
19369 {
19370 arg4 = static_cast<int >(SWIG_As_int(obj3));
19371 if (SWIG_arg_fail(4)) SWIG_fail;
19372 }
19373 {
19374 arg5 = static_cast<int >(SWIG_As_int(obj4));
19375 if (SWIG_arg_fail(5)) SWIG_fail;
19376 }
19377 if (obj5) {
19378 {
19379 arg6 = static_cast<int >(SWIG_As_int(obj5));
19380 if (SWIG_arg_fail(6)) SWIG_fail;
19381 }
19382 }
19383 {
19384 PyThreadState* __tstate = wxPyBeginAllowThreads();
19385 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
19386
19387 wxPyEndAllowThreads(__tstate);
19388 if (PyErr_Occurred()) SWIG_fail;
19389 }
19390 Py_INCREF(Py_None); resultobj = Py_None;
19391 return resultobj;
19392 fail:
19393 return NULL;
19394 }
19395
19396
19397 static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
19398 PyObject *resultobj = NULL;
19399 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19400 int arg2 ;
19401 int arg3 ;
19402 PyObject * obj0 = 0 ;
19403 PyObject * obj1 = 0 ;
19404 PyObject * obj2 = 0 ;
19405 char *kwnames[] = {
19406 (char *) "self",(char *) "width",(char *) "height", NULL
19407 };
19408
19409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
19410 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19411 if (SWIG_arg_fail(1)) SWIG_fail;
19412 {
19413 arg2 = static_cast<int >(SWIG_As_int(obj1));
19414 if (SWIG_arg_fail(2)) SWIG_fail;
19415 }
19416 {
19417 arg3 = static_cast<int >(SWIG_As_int(obj2));
19418 if (SWIG_arg_fail(3)) SWIG_fail;
19419 }
19420 {
19421 PyThreadState* __tstate = wxPyBeginAllowThreads();
19422 (arg1)->base_DoSetClientSize(arg2,arg3);
19423
19424 wxPyEndAllowThreads(__tstate);
19425 if (PyErr_Occurred()) SWIG_fail;
19426 }
19427 Py_INCREF(Py_None); resultobj = Py_None;
19428 return resultobj;
19429 fail:
19430 return NULL;
19431 }
19432
19433
19434 static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
19435 PyObject *resultobj = NULL;
19436 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19437 int arg2 ;
19438 int arg3 ;
19439 PyObject * obj0 = 0 ;
19440 PyObject * obj1 = 0 ;
19441 PyObject * obj2 = 0 ;
19442 char *kwnames[] = {
19443 (char *) "self",(char *) "x",(char *) "y", NULL
19444 };
19445
19446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
19447 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19448 if (SWIG_arg_fail(1)) SWIG_fail;
19449 {
19450 arg2 = static_cast<int >(SWIG_As_int(obj1));
19451 if (SWIG_arg_fail(2)) SWIG_fail;
19452 }
19453 {
19454 arg3 = static_cast<int >(SWIG_As_int(obj2));
19455 if (SWIG_arg_fail(3)) SWIG_fail;
19456 }
19457 {
19458 PyThreadState* __tstate = wxPyBeginAllowThreads();
19459 (arg1)->base_DoSetVirtualSize(arg2,arg3);
19460
19461 wxPyEndAllowThreads(__tstate);
19462 if (PyErr_Occurred()) SWIG_fail;
19463 }
19464 Py_INCREF(Py_None); resultobj = Py_None;
19465 return resultobj;
19466 fail:
19467 return NULL;
19468 }
19469
19470
19471 static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
19472 PyObject *resultobj = NULL;
19473 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19474 int *arg2 = (int *) 0 ;
19475 int *arg3 = (int *) 0 ;
19476 int temp2 ;
19477 int res2 = 0 ;
19478 int temp3 ;
19479 int res3 = 0 ;
19480 PyObject * obj0 = 0 ;
19481 char *kwnames[] = {
19482 (char *) "self", NULL
19483 };
19484
19485 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19486 arg3 = &temp3; res3 = SWIG_NEWOBJ;
19487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
19488 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19489 if (SWIG_arg_fail(1)) SWIG_fail;
19490 {
19491 PyThreadState* __tstate = wxPyBeginAllowThreads();
19492 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
19493
19494 wxPyEndAllowThreads(__tstate);
19495 if (PyErr_Occurred()) SWIG_fail;
19496 }
19497 Py_INCREF(Py_None); resultobj = Py_None;
19498 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19499 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19500 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19501 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
19502 return resultobj;
19503 fail:
19504 return NULL;
19505 }
19506
19507
19508 static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
19509 PyObject *resultobj = NULL;
19510 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19511 int *arg2 = (int *) 0 ;
19512 int *arg3 = (int *) 0 ;
19513 int temp2 ;
19514 int res2 = 0 ;
19515 int temp3 ;
19516 int res3 = 0 ;
19517 PyObject * obj0 = 0 ;
19518 char *kwnames[] = {
19519 (char *) "self", NULL
19520 };
19521
19522 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19523 arg3 = &temp3; res3 = SWIG_NEWOBJ;
19524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
19525 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19526 if (SWIG_arg_fail(1)) SWIG_fail;
19527 {
19528 PyThreadState* __tstate = wxPyBeginAllowThreads();
19529 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
19530
19531 wxPyEndAllowThreads(__tstate);
19532 if (PyErr_Occurred()) SWIG_fail;
19533 }
19534 Py_INCREF(Py_None); resultobj = Py_None;
19535 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19536 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19537 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19538 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
19539 return resultobj;
19540 fail:
19541 return NULL;
19542 }
19543
19544
19545 static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
19546 PyObject *resultobj = NULL;
19547 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19548 int *arg2 = (int *) 0 ;
19549 int *arg3 = (int *) 0 ;
19550 int temp2 ;
19551 int res2 = 0 ;
19552 int temp3 ;
19553 int res3 = 0 ;
19554 PyObject * obj0 = 0 ;
19555 char *kwnames[] = {
19556 (char *) "self", NULL
19557 };
19558
19559 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19560 arg3 = &temp3; res3 = SWIG_NEWOBJ;
19561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
19562 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19563 if (SWIG_arg_fail(1)) SWIG_fail;
19564 {
19565 PyThreadState* __tstate = wxPyBeginAllowThreads();
19566 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
19567
19568 wxPyEndAllowThreads(__tstate);
19569 if (PyErr_Occurred()) SWIG_fail;
19570 }
19571 Py_INCREF(Py_None); resultobj = Py_None;
19572 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19573 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19574 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19575 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
19576 return resultobj;
19577 fail:
19578 return NULL;
19579 }
19580
19581
19582 static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
19583 PyObject *resultobj = NULL;
19584 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19585 wxSize result;
19586 PyObject * obj0 = 0 ;
19587 char *kwnames[] = {
19588 (char *) "self", NULL
19589 };
19590
19591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
19592 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19593 if (SWIG_arg_fail(1)) SWIG_fail;
19594 {
19595 PyThreadState* __tstate = wxPyBeginAllowThreads();
19596 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
19597
19598 wxPyEndAllowThreads(__tstate);
19599 if (PyErr_Occurred()) SWIG_fail;
19600 }
19601 {
19602 wxSize * resultptr;
19603 resultptr = new wxSize(static_cast<wxSize & >(result));
19604 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19605 }
19606 return resultobj;
19607 fail:
19608 return NULL;
19609 }
19610
19611
19612 static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
19613 PyObject *resultobj = NULL;
19614 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19615 wxSize result;
19616 PyObject * obj0 = 0 ;
19617 char *kwnames[] = {
19618 (char *) "self", NULL
19619 };
19620
19621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
19622 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19623 if (SWIG_arg_fail(1)) SWIG_fail;
19624 {
19625 PyThreadState* __tstate = wxPyBeginAllowThreads();
19626 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
19627
19628 wxPyEndAllowThreads(__tstate);
19629 if (PyErr_Occurred()) SWIG_fail;
19630 }
19631 {
19632 wxSize * resultptr;
19633 resultptr = new wxSize(static_cast<wxSize & >(result));
19634 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19635 }
19636 return resultobj;
19637 fail:
19638 return NULL;
19639 }
19640
19641
19642 static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
19643 PyObject *resultobj = NULL;
19644 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19645 PyObject * obj0 = 0 ;
19646 char *kwnames[] = {
19647 (char *) "self", NULL
19648 };
19649
19650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
19651 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19652 if (SWIG_arg_fail(1)) SWIG_fail;
19653 {
19654 PyThreadState* __tstate = wxPyBeginAllowThreads();
19655 (arg1)->base_InitDialog();
19656
19657 wxPyEndAllowThreads(__tstate);
19658 if (PyErr_Occurred()) SWIG_fail;
19659 }
19660 Py_INCREF(Py_None); resultobj = Py_None;
19661 return resultobj;
19662 fail:
19663 return NULL;
19664 }
19665
19666
19667 static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
19668 PyObject *resultobj = NULL;
19669 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19670 bool result;
19671 PyObject * obj0 = 0 ;
19672 char *kwnames[] = {
19673 (char *) "self", NULL
19674 };
19675
19676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
19677 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19678 if (SWIG_arg_fail(1)) SWIG_fail;
19679 {
19680 PyThreadState* __tstate = wxPyBeginAllowThreads();
19681 result = (bool)(arg1)->base_TransferDataToWindow();
19682
19683 wxPyEndAllowThreads(__tstate);
19684 if (PyErr_Occurred()) SWIG_fail;
19685 }
19686 {
19687 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19688 }
19689 return resultobj;
19690 fail:
19691 return NULL;
19692 }
19693
19694
19695 static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
19696 PyObject *resultobj = NULL;
19697 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19698 bool result;
19699 PyObject * obj0 = 0 ;
19700 char *kwnames[] = {
19701 (char *) "self", NULL
19702 };
19703
19704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
19705 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19706 if (SWIG_arg_fail(1)) SWIG_fail;
19707 {
19708 PyThreadState* __tstate = wxPyBeginAllowThreads();
19709 result = (bool)(arg1)->base_TransferDataFromWindow();
19710
19711 wxPyEndAllowThreads(__tstate);
19712 if (PyErr_Occurred()) SWIG_fail;
19713 }
19714 {
19715 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19716 }
19717 return resultobj;
19718 fail:
19719 return NULL;
19720 }
19721
19722
19723 static PyObject *_wrap_PyPanel_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
19724 PyObject *resultobj = NULL;
19725 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19726 bool result;
19727 PyObject * obj0 = 0 ;
19728 char *kwnames[] = {
19729 (char *) "self", NULL
19730 };
19731
19732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
19733 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19734 if (SWIG_arg_fail(1)) SWIG_fail;
19735 {
19736 PyThreadState* __tstate = wxPyBeginAllowThreads();
19737 result = (bool)(arg1)->base_Validate();
19738
19739 wxPyEndAllowThreads(__tstate);
19740 if (PyErr_Occurred()) SWIG_fail;
19741 }
19742 {
19743 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19744 }
19745 return resultobj;
19746 fail:
19747 return NULL;
19748 }
19749
19750
19751 static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
19752 PyObject *resultobj = NULL;
19753 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19754 bool result;
19755 PyObject * obj0 = 0 ;
19756 char *kwnames[] = {
19757 (char *) "self", NULL
19758 };
19759
19760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
19761 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19762 if (SWIG_arg_fail(1)) SWIG_fail;
19763 {
19764 PyThreadState* __tstate = wxPyBeginAllowThreads();
19765 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
19766
19767 wxPyEndAllowThreads(__tstate);
19768 if (PyErr_Occurred()) SWIG_fail;
19769 }
19770 {
19771 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19772 }
19773 return resultobj;
19774 fail:
19775 return NULL;
19776 }
19777
19778
19779 static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
19780 PyObject *resultobj = NULL;
19781 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19782 bool result;
19783 PyObject * obj0 = 0 ;
19784 char *kwnames[] = {
19785 (char *) "self", NULL
19786 };
19787
19788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
19789 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19790 if (SWIG_arg_fail(1)) SWIG_fail;
19791 {
19792 PyThreadState* __tstate = wxPyBeginAllowThreads();
19793 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
19794
19795 wxPyEndAllowThreads(__tstate);
19796 if (PyErr_Occurred()) SWIG_fail;
19797 }
19798 {
19799 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19800 }
19801 return resultobj;
19802 fail:
19803 return NULL;
19804 }
19805
19806
19807 static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
19808 PyObject *resultobj = NULL;
19809 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19810 wxSize result;
19811 PyObject * obj0 = 0 ;
19812 char *kwnames[] = {
19813 (char *) "self", NULL
19814 };
19815
19816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
19817 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19818 if (SWIG_arg_fail(1)) SWIG_fail;
19819 {
19820 PyThreadState* __tstate = wxPyBeginAllowThreads();
19821 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
19822
19823 wxPyEndAllowThreads(__tstate);
19824 if (PyErr_Occurred()) SWIG_fail;
19825 }
19826 {
19827 wxSize * resultptr;
19828 resultptr = new wxSize(static_cast<wxSize & >(result));
19829 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19830 }
19831 return resultobj;
19832 fail:
19833 return NULL;
19834 }
19835
19836
19837 static PyObject *_wrap_PyPanel_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
19838 PyObject *resultobj = NULL;
19839 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19840 wxWindow *arg2 = (wxWindow *) 0 ;
19841 PyObject * obj0 = 0 ;
19842 PyObject * obj1 = 0 ;
19843 char *kwnames[] = {
19844 (char *) "self",(char *) "child", NULL
19845 };
19846
19847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
19848 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19849 if (SWIG_arg_fail(1)) SWIG_fail;
19850 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19851 if (SWIG_arg_fail(2)) SWIG_fail;
19852 {
19853 PyThreadState* __tstate = wxPyBeginAllowThreads();
19854 (arg1)->base_AddChild(arg2);
19855
19856 wxPyEndAllowThreads(__tstate);
19857 if (PyErr_Occurred()) SWIG_fail;
19858 }
19859 Py_INCREF(Py_None); resultobj = Py_None;
19860 return resultobj;
19861 fail:
19862 return NULL;
19863 }
19864
19865
19866 static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
19867 PyObject *resultobj = NULL;
19868 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19869 wxWindow *arg2 = (wxWindow *) 0 ;
19870 PyObject * obj0 = 0 ;
19871 PyObject * obj1 = 0 ;
19872 char *kwnames[] = {
19873 (char *) "self",(char *) "child", NULL
19874 };
19875
19876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
19877 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19878 if (SWIG_arg_fail(1)) SWIG_fail;
19879 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19880 if (SWIG_arg_fail(2)) SWIG_fail;
19881 {
19882 PyThreadState* __tstate = wxPyBeginAllowThreads();
19883 (arg1)->base_RemoveChild(arg2);
19884
19885 wxPyEndAllowThreads(__tstate);
19886 if (PyErr_Occurred()) SWIG_fail;
19887 }
19888 Py_INCREF(Py_None); resultobj = Py_None;
19889 return resultobj;
19890 fail:
19891 return NULL;
19892 }
19893
19894
19895 static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
19896 PyObject *resultobj = NULL;
19897 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19898 bool result;
19899 PyObject * obj0 = 0 ;
19900 char *kwnames[] = {
19901 (char *) "self", NULL
19902 };
19903
19904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
19905 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19906 if (SWIG_arg_fail(1)) SWIG_fail;
19907 {
19908 PyThreadState* __tstate = wxPyBeginAllowThreads();
19909 result = (bool)((wxPyPanel const *)arg1)->base_ShouldInheritColours();
19910
19911 wxPyEndAllowThreads(__tstate);
19912 if (PyErr_Occurred()) SWIG_fail;
19913 }
19914 {
19915 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19916 }
19917 return resultobj;
19918 fail:
19919 return NULL;
19920 }
19921
19922
19923 static PyObject *_wrap_PyPanel_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
19924 PyObject *resultobj = NULL;
19925 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19926 wxVisualAttributes result;
19927 PyObject * obj0 = 0 ;
19928 char *kwnames[] = {
19929 (char *) "self", NULL
19930 };
19931
19932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
19933 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19934 if (SWIG_arg_fail(1)) SWIG_fail;
19935 {
19936 PyThreadState* __tstate = wxPyBeginAllowThreads();
19937 result = (arg1)->base_GetDefaultAttributes();
19938
19939 wxPyEndAllowThreads(__tstate);
19940 if (PyErr_Occurred()) SWIG_fail;
19941 }
19942 {
19943 wxVisualAttributes * resultptr;
19944 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
19945 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
19946 }
19947 return resultobj;
19948 fail:
19949 return NULL;
19950 }
19951
19952
19953 static PyObject *_wrap_PyPanel_base_OnInternalIdle(PyObject *, PyObject *args, PyObject *kwargs) {
19954 PyObject *resultobj = NULL;
19955 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19956 PyObject * obj0 = 0 ;
19957 char *kwnames[] = {
19958 (char *) "self", NULL
19959 };
19960
19961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_OnInternalIdle",kwnames,&obj0)) goto fail;
19962 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19963 if (SWIG_arg_fail(1)) SWIG_fail;
19964 {
19965 PyThreadState* __tstate = wxPyBeginAllowThreads();
19966 (arg1)->base_OnInternalIdle();
19967
19968 wxPyEndAllowThreads(__tstate);
19969 if (PyErr_Occurred()) SWIG_fail;
19970 }
19971 Py_INCREF(Py_None); resultobj = Py_None;
19972 return resultobj;
19973 fail:
19974 return NULL;
19975 }
19976
19977
19978 static PyObject * PyPanel_swigregister(PyObject *, PyObject *args) {
19979 PyObject *obj;
19980 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19981 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
19982 Py_INCREF(obj);
19983 return Py_BuildValue((char *)"");
19984 }
19985 static PyObject *_wrap_new_PyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
19986 PyObject *resultobj = NULL;
19987 wxWindow *arg1 = (wxWindow *) 0 ;
19988 int arg2 = (int) (int)-1 ;
19989 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19990 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19991 wxSize const &arg4_defvalue = wxDefaultSize ;
19992 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
19993 long arg5 = (long) 0 ;
19994 wxString const &arg6_defvalue = wxPyPanelNameStr ;
19995 wxString *arg6 = (wxString *) &arg6_defvalue ;
19996 wxPyScrolledWindow *result;
19997 wxPoint temp3 ;
19998 wxSize temp4 ;
19999 bool temp6 = false ;
20000 PyObject * obj0 = 0 ;
20001 PyObject * obj1 = 0 ;
20002 PyObject * obj2 = 0 ;
20003 PyObject * obj3 = 0 ;
20004 PyObject * obj4 = 0 ;
20005 PyObject * obj5 = 0 ;
20006 char *kwnames[] = {
20007 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20008 };
20009
20010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
20011 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
20012 if (SWIG_arg_fail(1)) SWIG_fail;
20013 if (obj1) {
20014 {
20015 arg2 = static_cast<int const >(SWIG_As_int(obj1));
20016 if (SWIG_arg_fail(2)) SWIG_fail;
20017 }
20018 }
20019 if (obj2) {
20020 {
20021 arg3 = &temp3;
20022 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
20023 }
20024 }
20025 if (obj3) {
20026 {
20027 arg4 = &temp4;
20028 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
20029 }
20030 }
20031 if (obj4) {
20032 {
20033 arg5 = static_cast<long >(SWIG_As_long(obj4));
20034 if (SWIG_arg_fail(5)) SWIG_fail;
20035 }
20036 }
20037 if (obj5) {
20038 {
20039 arg6 = wxString_in_helper(obj5);
20040 if (arg6 == NULL) SWIG_fail;
20041 temp6 = true;
20042 }
20043 }
20044 {
20045 if (!wxPyCheckForApp()) SWIG_fail;
20046 PyThreadState* __tstate = wxPyBeginAllowThreads();
20047 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
20048
20049 wxPyEndAllowThreads(__tstate);
20050 if (PyErr_Occurred()) SWIG_fail;
20051 }
20052 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
20053 {
20054 if (temp6)
20055 delete arg6;
20056 }
20057 return resultobj;
20058 fail:
20059 {
20060 if (temp6)
20061 delete arg6;
20062 }
20063 return NULL;
20064 }
20065
20066
20067 static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
20068 PyObject *resultobj = NULL;
20069 wxPyScrolledWindow *result;
20070 char *kwnames[] = {
20071 NULL
20072 };
20073
20074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail;
20075 {
20076 if (!wxPyCheckForApp()) SWIG_fail;
20077 PyThreadState* __tstate = wxPyBeginAllowThreads();
20078 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
20079
20080 wxPyEndAllowThreads(__tstate);
20081 if (PyErr_Occurred()) SWIG_fail;
20082 }
20083 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
20084 return resultobj;
20085 fail:
20086 return NULL;
20087 }
20088
20089
20090 static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
20091 PyObject *resultobj = NULL;
20092 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20093 PyObject *arg2 = (PyObject *) 0 ;
20094 PyObject *arg3 = (PyObject *) 0 ;
20095 PyObject * obj0 = 0 ;
20096 PyObject * obj1 = 0 ;
20097 PyObject * obj2 = 0 ;
20098 char *kwnames[] = {
20099 (char *) "self",(char *) "self",(char *) "_class", NULL
20100 };
20101
20102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20103 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20104 if (SWIG_arg_fail(1)) SWIG_fail;
20105 arg2 = obj1;
20106 arg3 = obj2;
20107 {
20108 PyThreadState* __tstate = wxPyBeginAllowThreads();
20109 (arg1)->_setCallbackInfo(arg2,arg3);
20110
20111 wxPyEndAllowThreads(__tstate);
20112 if (PyErr_Occurred()) SWIG_fail;
20113 }
20114 Py_INCREF(Py_None); resultobj = Py_None;
20115 return resultobj;
20116 fail:
20117 return NULL;
20118 }
20119
20120
20121 static PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
20122 PyObject *resultobj = NULL;
20123 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20124 wxSize *arg2 = 0 ;
20125 wxSize temp2 ;
20126 PyObject * obj0 = 0 ;
20127 PyObject * obj1 = 0 ;
20128 char *kwnames[] = {
20129 (char *) "self",(char *) "size", NULL
20130 };
20131
20132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
20133 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20134 if (SWIG_arg_fail(1)) SWIG_fail;
20135 {
20136 arg2 = &temp2;
20137 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20138 }
20139 {
20140 PyThreadState* __tstate = wxPyBeginAllowThreads();
20141 (arg1)->SetBestSize((wxSize const &)*arg2);
20142
20143 wxPyEndAllowThreads(__tstate);
20144 if (PyErr_Occurred()) SWIG_fail;
20145 }
20146 Py_INCREF(Py_None); resultobj = Py_None;
20147 return resultobj;
20148 fail:
20149 return NULL;
20150 }
20151
20152
20153 static PyObject *_wrap_PyScrolledWindow_DoEraseBackground(PyObject *, PyObject *args, PyObject *kwargs) {
20154 PyObject *resultobj = NULL;
20155 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20156 wxDC *arg2 = (wxDC *) 0 ;
20157 bool result;
20158 PyObject * obj0 = 0 ;
20159 PyObject * obj1 = 0 ;
20160 char *kwnames[] = {
20161 (char *) "self",(char *) "dc", NULL
20162 };
20163
20164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames,&obj0,&obj1)) goto fail;
20165 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20166 if (SWIG_arg_fail(1)) SWIG_fail;
20167 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
20168 if (SWIG_arg_fail(2)) SWIG_fail;
20169 {
20170 PyThreadState* __tstate = wxPyBeginAllowThreads();
20171 result = (bool)(arg1)->DoEraseBackground(arg2);
20172
20173 wxPyEndAllowThreads(__tstate);
20174 if (PyErr_Occurred()) SWIG_fail;
20175 }
20176 {
20177 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20178 }
20179 return resultobj;
20180 fail:
20181 return NULL;
20182 }
20183
20184
20185 static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
20186 PyObject *resultobj = NULL;
20187 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20188 int arg2 ;
20189 int arg3 ;
20190 int arg4 ;
20191 int arg5 ;
20192 PyObject * obj0 = 0 ;
20193 PyObject * obj1 = 0 ;
20194 PyObject * obj2 = 0 ;
20195 PyObject * obj3 = 0 ;
20196 PyObject * obj4 = 0 ;
20197 char *kwnames[] = {
20198 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
20199 };
20200
20201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
20202 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20203 if (SWIG_arg_fail(1)) SWIG_fail;
20204 {
20205 arg2 = static_cast<int >(SWIG_As_int(obj1));
20206 if (SWIG_arg_fail(2)) SWIG_fail;
20207 }
20208 {
20209 arg3 = static_cast<int >(SWIG_As_int(obj2));
20210 if (SWIG_arg_fail(3)) SWIG_fail;
20211 }
20212 {
20213 arg4 = static_cast<int >(SWIG_As_int(obj3));
20214 if (SWIG_arg_fail(4)) SWIG_fail;
20215 }
20216 {
20217 arg5 = static_cast<int >(SWIG_As_int(obj4));
20218 if (SWIG_arg_fail(5)) SWIG_fail;
20219 }
20220 {
20221 PyThreadState* __tstate = wxPyBeginAllowThreads();
20222 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
20223
20224 wxPyEndAllowThreads(__tstate);
20225 if (PyErr_Occurred()) SWIG_fail;
20226 }
20227 Py_INCREF(Py_None); resultobj = Py_None;
20228 return resultobj;
20229 fail:
20230 return NULL;
20231 }
20232
20233
20234 static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
20235 PyObject *resultobj = NULL;
20236 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20237 int arg2 ;
20238 int arg3 ;
20239 int arg4 ;
20240 int arg5 ;
20241 int arg6 = (int) wxSIZE_AUTO ;
20242 PyObject * obj0 = 0 ;
20243 PyObject * obj1 = 0 ;
20244 PyObject * obj2 = 0 ;
20245 PyObject * obj3 = 0 ;
20246 PyObject * obj4 = 0 ;
20247 PyObject * obj5 = 0 ;
20248 char *kwnames[] = {
20249 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
20250 };
20251
20252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
20253 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20254 if (SWIG_arg_fail(1)) SWIG_fail;
20255 {
20256 arg2 = static_cast<int >(SWIG_As_int(obj1));
20257 if (SWIG_arg_fail(2)) SWIG_fail;
20258 }
20259 {
20260 arg3 = static_cast<int >(SWIG_As_int(obj2));
20261 if (SWIG_arg_fail(3)) SWIG_fail;
20262 }
20263 {
20264 arg4 = static_cast<int >(SWIG_As_int(obj3));
20265 if (SWIG_arg_fail(4)) SWIG_fail;
20266 }
20267 {
20268 arg5 = static_cast<int >(SWIG_As_int(obj4));
20269 if (SWIG_arg_fail(5)) SWIG_fail;
20270 }
20271 if (obj5) {
20272 {
20273 arg6 = static_cast<int >(SWIG_As_int(obj5));
20274 if (SWIG_arg_fail(6)) SWIG_fail;
20275 }
20276 }
20277 {
20278 PyThreadState* __tstate = wxPyBeginAllowThreads();
20279 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
20280
20281 wxPyEndAllowThreads(__tstate);
20282 if (PyErr_Occurred()) SWIG_fail;
20283 }
20284 Py_INCREF(Py_None); resultobj = Py_None;
20285 return resultobj;
20286 fail:
20287 return NULL;
20288 }
20289
20290
20291 static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
20292 PyObject *resultobj = NULL;
20293 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20294 int arg2 ;
20295 int arg3 ;
20296 PyObject * obj0 = 0 ;
20297 PyObject * obj1 = 0 ;
20298 PyObject * obj2 = 0 ;
20299 char *kwnames[] = {
20300 (char *) "self",(char *) "width",(char *) "height", NULL
20301 };
20302
20303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
20304 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20305 if (SWIG_arg_fail(1)) SWIG_fail;
20306 {
20307 arg2 = static_cast<int >(SWIG_As_int(obj1));
20308 if (SWIG_arg_fail(2)) SWIG_fail;
20309 }
20310 {
20311 arg3 = static_cast<int >(SWIG_As_int(obj2));
20312 if (SWIG_arg_fail(3)) SWIG_fail;
20313 }
20314 {
20315 PyThreadState* __tstate = wxPyBeginAllowThreads();
20316 (arg1)->base_DoSetClientSize(arg2,arg3);
20317
20318 wxPyEndAllowThreads(__tstate);
20319 if (PyErr_Occurred()) SWIG_fail;
20320 }
20321 Py_INCREF(Py_None); resultobj = Py_None;
20322 return resultobj;
20323 fail:
20324 return NULL;
20325 }
20326
20327
20328 static PyObject *_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
20329 PyObject *resultobj = NULL;
20330 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20331 int arg2 ;
20332 int arg3 ;
20333 PyObject * obj0 = 0 ;
20334 PyObject * obj1 = 0 ;
20335 PyObject * obj2 = 0 ;
20336 char *kwnames[] = {
20337 (char *) "self",(char *) "x",(char *) "y", NULL
20338 };
20339
20340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
20341 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20342 if (SWIG_arg_fail(1)) SWIG_fail;
20343 {
20344 arg2 = static_cast<int >(SWIG_As_int(obj1));
20345 if (SWIG_arg_fail(2)) SWIG_fail;
20346 }
20347 {
20348 arg3 = static_cast<int >(SWIG_As_int(obj2));
20349 if (SWIG_arg_fail(3)) SWIG_fail;
20350 }
20351 {
20352 PyThreadState* __tstate = wxPyBeginAllowThreads();
20353 (arg1)->base_DoSetVirtualSize(arg2,arg3);
20354
20355 wxPyEndAllowThreads(__tstate);
20356 if (PyErr_Occurred()) SWIG_fail;
20357 }
20358 Py_INCREF(Py_None); resultobj = Py_None;
20359 return resultobj;
20360 fail:
20361 return NULL;
20362 }
20363
20364
20365 static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
20366 PyObject *resultobj = NULL;
20367 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20368 int *arg2 = (int *) 0 ;
20369 int *arg3 = (int *) 0 ;
20370 int temp2 ;
20371 int res2 = 0 ;
20372 int temp3 ;
20373 int res3 = 0 ;
20374 PyObject * obj0 = 0 ;
20375 char *kwnames[] = {
20376 (char *) "self", NULL
20377 };
20378
20379 arg2 = &temp2; res2 = SWIG_NEWOBJ;
20380 arg3 = &temp3; res3 = SWIG_NEWOBJ;
20381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
20382 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20383 if (SWIG_arg_fail(1)) SWIG_fail;
20384 {
20385 PyThreadState* __tstate = wxPyBeginAllowThreads();
20386 ((wxPyScrolledWindow const *)arg1)->base_DoGetSize(arg2,arg3);
20387
20388 wxPyEndAllowThreads(__tstate);
20389 if (PyErr_Occurred()) SWIG_fail;
20390 }
20391 Py_INCREF(Py_None); resultobj = Py_None;
20392 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
20393 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
20394 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
20395 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
20396 return resultobj;
20397 fail:
20398 return NULL;
20399 }
20400
20401
20402 static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
20403 PyObject *resultobj = NULL;
20404 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20405 int *arg2 = (int *) 0 ;
20406 int *arg3 = (int *) 0 ;
20407 int temp2 ;
20408 int res2 = 0 ;
20409 int temp3 ;
20410 int res3 = 0 ;
20411 PyObject * obj0 = 0 ;
20412 char *kwnames[] = {
20413 (char *) "self", NULL
20414 };
20415
20416 arg2 = &temp2; res2 = SWIG_NEWOBJ;
20417 arg3 = &temp3; res3 = SWIG_NEWOBJ;
20418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
20419 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20420 if (SWIG_arg_fail(1)) SWIG_fail;
20421 {
20422 PyThreadState* __tstate = wxPyBeginAllowThreads();
20423 ((wxPyScrolledWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
20424
20425 wxPyEndAllowThreads(__tstate);
20426 if (PyErr_Occurred()) SWIG_fail;
20427 }
20428 Py_INCREF(Py_None); resultobj = Py_None;
20429 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
20430 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
20431 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
20432 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
20433 return resultobj;
20434 fail:
20435 return NULL;
20436 }
20437
20438
20439 static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
20440 PyObject *resultobj = NULL;
20441 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20442 int *arg2 = (int *) 0 ;
20443 int *arg3 = (int *) 0 ;
20444 int temp2 ;
20445 int res2 = 0 ;
20446 int temp3 ;
20447 int res3 = 0 ;
20448 PyObject * obj0 = 0 ;
20449 char *kwnames[] = {
20450 (char *) "self", NULL
20451 };
20452
20453 arg2 = &temp2; res2 = SWIG_NEWOBJ;
20454 arg3 = &temp3; res3 = SWIG_NEWOBJ;
20455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
20456 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20457 if (SWIG_arg_fail(1)) SWIG_fail;
20458 {
20459 PyThreadState* __tstate = wxPyBeginAllowThreads();
20460 ((wxPyScrolledWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
20461
20462 wxPyEndAllowThreads(__tstate);
20463 if (PyErr_Occurred()) SWIG_fail;
20464 }
20465 Py_INCREF(Py_None); resultobj = Py_None;
20466 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
20467 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
20468 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
20469 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
20470 return resultobj;
20471 fail:
20472 return NULL;
20473 }
20474
20475
20476 static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
20477 PyObject *resultobj = NULL;
20478 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20479 wxSize result;
20480 PyObject * obj0 = 0 ;
20481 char *kwnames[] = {
20482 (char *) "self", NULL
20483 };
20484
20485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
20486 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20487 if (SWIG_arg_fail(1)) SWIG_fail;
20488 {
20489 PyThreadState* __tstate = wxPyBeginAllowThreads();
20490 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetVirtualSize();
20491
20492 wxPyEndAllowThreads(__tstate);
20493 if (PyErr_Occurred()) SWIG_fail;
20494 }
20495 {
20496 wxSize * resultptr;
20497 resultptr = new wxSize(static_cast<wxSize & >(result));
20498 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20499 }
20500 return resultobj;
20501 fail:
20502 return NULL;
20503 }
20504
20505
20506 static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
20507 PyObject *resultobj = NULL;
20508 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20509 wxSize result;
20510 PyObject * obj0 = 0 ;
20511 char *kwnames[] = {
20512 (char *) "self", NULL
20513 };
20514
20515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
20516 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20517 if (SWIG_arg_fail(1)) SWIG_fail;
20518 {
20519 PyThreadState* __tstate = wxPyBeginAllowThreads();
20520 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetBestSize();
20521
20522 wxPyEndAllowThreads(__tstate);
20523 if (PyErr_Occurred()) SWIG_fail;
20524 }
20525 {
20526 wxSize * resultptr;
20527 resultptr = new wxSize(static_cast<wxSize & >(result));
20528 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20529 }
20530 return resultobj;
20531 fail:
20532 return NULL;
20533 }
20534
20535
20536 static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
20537 PyObject *resultobj = NULL;
20538 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20539 PyObject * obj0 = 0 ;
20540 char *kwnames[] = {
20541 (char *) "self", NULL
20542 };
20543
20544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames,&obj0)) goto fail;
20545 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20546 if (SWIG_arg_fail(1)) SWIG_fail;
20547 {
20548 PyThreadState* __tstate = wxPyBeginAllowThreads();
20549 (arg1)->base_InitDialog();
20550
20551 wxPyEndAllowThreads(__tstate);
20552 if (PyErr_Occurred()) SWIG_fail;
20553 }
20554 Py_INCREF(Py_None); resultobj = Py_None;
20555 return resultobj;
20556 fail:
20557 return NULL;
20558 }
20559
20560
20561 static PyObject *_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
20562 PyObject *resultobj = NULL;
20563 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20564 bool result;
20565 PyObject * obj0 = 0 ;
20566 char *kwnames[] = {
20567 (char *) "self", NULL
20568 };
20569
20570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
20571 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20572 if (SWIG_arg_fail(1)) SWIG_fail;
20573 {
20574 PyThreadState* __tstate = wxPyBeginAllowThreads();
20575 result = (bool)(arg1)->base_TransferDataToWindow();
20576
20577 wxPyEndAllowThreads(__tstate);
20578 if (PyErr_Occurred()) SWIG_fail;
20579 }
20580 {
20581 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20582 }
20583 return resultobj;
20584 fail:
20585 return NULL;
20586 }
20587
20588
20589 static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
20590 PyObject *resultobj = NULL;
20591 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20592 bool result;
20593 PyObject * obj0 = 0 ;
20594 char *kwnames[] = {
20595 (char *) "self", NULL
20596 };
20597
20598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
20599 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20600 if (SWIG_arg_fail(1)) SWIG_fail;
20601 {
20602 PyThreadState* __tstate = wxPyBeginAllowThreads();
20603 result = (bool)(arg1)->base_TransferDataFromWindow();
20604
20605 wxPyEndAllowThreads(__tstate);
20606 if (PyErr_Occurred()) SWIG_fail;
20607 }
20608 {
20609 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20610 }
20611 return resultobj;
20612 fail:
20613 return NULL;
20614 }
20615
20616
20617 static PyObject *_wrap_PyScrolledWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
20618 PyObject *resultobj = NULL;
20619 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20620 bool result;
20621 PyObject * obj0 = 0 ;
20622 char *kwnames[] = {
20623 (char *) "self", NULL
20624 };
20625
20626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_Validate",kwnames,&obj0)) goto fail;
20627 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20628 if (SWIG_arg_fail(1)) SWIG_fail;
20629 {
20630 PyThreadState* __tstate = wxPyBeginAllowThreads();
20631 result = (bool)(arg1)->base_Validate();
20632
20633 wxPyEndAllowThreads(__tstate);
20634 if (PyErr_Occurred()) SWIG_fail;
20635 }
20636 {
20637 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20638 }
20639 return resultobj;
20640 fail:
20641 return NULL;
20642 }
20643
20644
20645 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
20646 PyObject *resultobj = NULL;
20647 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20648 bool result;
20649 PyObject * obj0 = 0 ;
20650 char *kwnames[] = {
20651 (char *) "self", NULL
20652 };
20653
20654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
20655 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20656 if (SWIG_arg_fail(1)) SWIG_fail;
20657 {
20658 PyThreadState* __tstate = wxPyBeginAllowThreads();
20659 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocus();
20660
20661 wxPyEndAllowThreads(__tstate);
20662 if (PyErr_Occurred()) SWIG_fail;
20663 }
20664 {
20665 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20666 }
20667 return resultobj;
20668 fail:
20669 return NULL;
20670 }
20671
20672
20673 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
20674 PyObject *resultobj = NULL;
20675 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20676 bool result;
20677 PyObject * obj0 = 0 ;
20678 char *kwnames[] = {
20679 (char *) "self", NULL
20680 };
20681
20682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
20683 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20684 if (SWIG_arg_fail(1)) SWIG_fail;
20685 {
20686 PyThreadState* __tstate = wxPyBeginAllowThreads();
20687 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
20688
20689 wxPyEndAllowThreads(__tstate);
20690 if (PyErr_Occurred()) SWIG_fail;
20691 }
20692 {
20693 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20694 }
20695 return resultobj;
20696 fail:
20697 return NULL;
20698 }
20699
20700
20701 static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
20702 PyObject *resultobj = NULL;
20703 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20704 wxSize result;
20705 PyObject * obj0 = 0 ;
20706 char *kwnames[] = {
20707 (char *) "self", NULL
20708 };
20709
20710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
20711 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20712 if (SWIG_arg_fail(1)) SWIG_fail;
20713 {
20714 PyThreadState* __tstate = wxPyBeginAllowThreads();
20715 result = ((wxPyScrolledWindow const *)arg1)->base_GetMaxSize();
20716
20717 wxPyEndAllowThreads(__tstate);
20718 if (PyErr_Occurred()) SWIG_fail;
20719 }
20720 {
20721 wxSize * resultptr;
20722 resultptr = new wxSize(static_cast<wxSize & >(result));
20723 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20724 }
20725 return resultobj;
20726 fail:
20727 return NULL;
20728 }
20729
20730
20731 static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
20732 PyObject *resultobj = NULL;
20733 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20734 wxWindow *arg2 = (wxWindow *) 0 ;
20735 PyObject * obj0 = 0 ;
20736 PyObject * obj1 = 0 ;
20737 char *kwnames[] = {
20738 (char *) "self",(char *) "child", NULL
20739 };
20740
20741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
20742 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20743 if (SWIG_arg_fail(1)) SWIG_fail;
20744 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
20745 if (SWIG_arg_fail(2)) SWIG_fail;
20746 {
20747 PyThreadState* __tstate = wxPyBeginAllowThreads();
20748 (arg1)->base_AddChild(arg2);
20749
20750 wxPyEndAllowThreads(__tstate);
20751 if (PyErr_Occurred()) SWIG_fail;
20752 }
20753 Py_INCREF(Py_None); resultobj = Py_None;
20754 return resultobj;
20755 fail:
20756 return NULL;
20757 }
20758
20759
20760 static PyObject *_wrap_PyScrolledWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
20761 PyObject *resultobj = NULL;
20762 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20763 wxWindow *arg2 = (wxWindow *) 0 ;
20764 PyObject * obj0 = 0 ;
20765 PyObject * obj1 = 0 ;
20766 char *kwnames[] = {
20767 (char *) "self",(char *) "child", NULL
20768 };
20769
20770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
20771 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20772 if (SWIG_arg_fail(1)) SWIG_fail;
20773 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
20774 if (SWIG_arg_fail(2)) SWIG_fail;
20775 {
20776 PyThreadState* __tstate = wxPyBeginAllowThreads();
20777 (arg1)->base_RemoveChild(arg2);
20778
20779 wxPyEndAllowThreads(__tstate);
20780 if (PyErr_Occurred()) SWIG_fail;
20781 }
20782 Py_INCREF(Py_None); resultobj = Py_None;
20783 return resultobj;
20784 fail:
20785 return NULL;
20786 }
20787
20788
20789 static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
20790 PyObject *resultobj = NULL;
20791 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20792 bool result;
20793 PyObject * obj0 = 0 ;
20794 char *kwnames[] = {
20795 (char *) "self", NULL
20796 };
20797
20798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
20799 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20800 if (SWIG_arg_fail(1)) SWIG_fail;
20801 {
20802 PyThreadState* __tstate = wxPyBeginAllowThreads();
20803 result = (bool)((wxPyScrolledWindow const *)arg1)->base_ShouldInheritColours();
20804
20805 wxPyEndAllowThreads(__tstate);
20806 if (PyErr_Occurred()) SWIG_fail;
20807 }
20808 {
20809 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20810 }
20811 return resultobj;
20812 fail:
20813 return NULL;
20814 }
20815
20816
20817 static PyObject *_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
20818 PyObject *resultobj = NULL;
20819 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20820 wxVisualAttributes result;
20821 PyObject * obj0 = 0 ;
20822 char *kwnames[] = {
20823 (char *) "self", NULL
20824 };
20825
20826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
20827 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20828 if (SWIG_arg_fail(1)) SWIG_fail;
20829 {
20830 PyThreadState* __tstate = wxPyBeginAllowThreads();
20831 result = (arg1)->base_GetDefaultAttributes();
20832
20833 wxPyEndAllowThreads(__tstate);
20834 if (PyErr_Occurred()) SWIG_fail;
20835 }
20836 {
20837 wxVisualAttributes * resultptr;
20838 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
20839 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
20840 }
20841 return resultobj;
20842 fail:
20843 return NULL;
20844 }
20845
20846
20847 static PyObject *_wrap_PyScrolledWindow_base_OnInternalIdle(PyObject *, PyObject *args, PyObject *kwargs) {
20848 PyObject *resultobj = NULL;
20849 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20850 PyObject * obj0 = 0 ;
20851 char *kwnames[] = {
20852 (char *) "self", NULL
20853 };
20854
20855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_OnInternalIdle",kwnames,&obj0)) goto fail;
20856 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20857 if (SWIG_arg_fail(1)) SWIG_fail;
20858 {
20859 PyThreadState* __tstate = wxPyBeginAllowThreads();
20860 (arg1)->base_OnInternalIdle();
20861
20862 wxPyEndAllowThreads(__tstate);
20863 if (PyErr_Occurred()) SWIG_fail;
20864 }
20865 Py_INCREF(Py_None); resultobj = Py_None;
20866 return resultobj;
20867 fail:
20868 return NULL;
20869 }
20870
20871
20872 static PyObject * PyScrolledWindow_swigregister(PyObject *, PyObject *args) {
20873 PyObject *obj;
20874 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20875 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj);
20876 Py_INCREF(obj);
20877 return Py_BuildValue((char *)"");
20878 }
20879 static int _wrap_PrintoutTitleStr_set(PyObject *) {
20880 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
20881 return 1;
20882 }
20883
20884
20885 static PyObject *_wrap_PrintoutTitleStr_get(void) {
20886 PyObject *pyobj = NULL;
20887
20888 {
20889 #if wxUSE_UNICODE
20890 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
20891 #else
20892 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
20893 #endif
20894 }
20895 return pyobj;
20896 }
20897
20898
20899 static int _wrap_PreviewCanvasNameStr_set(PyObject *) {
20900 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
20901 return 1;
20902 }
20903
20904
20905 static PyObject *_wrap_PreviewCanvasNameStr_get(void) {
20906 PyObject *pyobj = NULL;
20907
20908 {
20909 #if wxUSE_UNICODE
20910 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
20911 #else
20912 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
20913 #endif
20914 }
20915 return pyobj;
20916 }
20917
20918
20919 static PyObject *_wrap_new_PrintData__SWIG_0(PyObject *, PyObject *args) {
20920 PyObject *resultobj = NULL;
20921 wxPrintData *result;
20922
20923 if(!PyArg_ParseTuple(args,(char *)":new_PrintData")) goto fail;
20924 {
20925 PyThreadState* __tstate = wxPyBeginAllowThreads();
20926 result = (wxPrintData *)new wxPrintData();
20927
20928 wxPyEndAllowThreads(__tstate);
20929 if (PyErr_Occurred()) SWIG_fail;
20930 }
20931 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
20932 return resultobj;
20933 fail:
20934 return NULL;
20935 }
20936
20937
20938 static PyObject *_wrap_new_PrintData__SWIG_1(PyObject *, PyObject *args) {
20939 PyObject *resultobj = NULL;
20940 wxPrintData *arg1 = 0 ;
20941 wxPrintData *result;
20942 PyObject * obj0 = 0 ;
20943
20944 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintData",&obj0)) goto fail;
20945 {
20946 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20947 if (SWIG_arg_fail(1)) SWIG_fail;
20948 if (arg1 == NULL) {
20949 SWIG_null_ref("wxPrintData");
20950 }
20951 if (SWIG_arg_fail(1)) SWIG_fail;
20952 }
20953 {
20954 PyThreadState* __tstate = wxPyBeginAllowThreads();
20955 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
20956
20957 wxPyEndAllowThreads(__tstate);
20958 if (PyErr_Occurred()) SWIG_fail;
20959 }
20960 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
20961 return resultobj;
20962 fail:
20963 return NULL;
20964 }
20965
20966
20967 static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
20968 int argc;
20969 PyObject *argv[2];
20970 int ii;
20971
20972 argc = PyObject_Length(args);
20973 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
20974 argv[ii] = PyTuple_GetItem(args,ii);
20975 }
20976 if (argc == 0) {
20977 return _wrap_new_PrintData__SWIG_0(self,args);
20978 }
20979 if (argc == 1) {
20980 int _v;
20981 {
20982 void *ptr = 0;
20983 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
20984 _v = 0;
20985 PyErr_Clear();
20986 } else {
20987 _v = (ptr != 0);
20988 }
20989 }
20990 if (_v) {
20991 return _wrap_new_PrintData__SWIG_1(self,args);
20992 }
20993 }
20994
20995 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
20996 return NULL;
20997 }
20998
20999
21000 static PyObject *_wrap_delete_PrintData(PyObject *, PyObject *args, PyObject *kwargs) {
21001 PyObject *resultobj = NULL;
21002 wxPrintData *arg1 = (wxPrintData *) 0 ;
21003 PyObject * obj0 = 0 ;
21004 char *kwnames[] = {
21005 (char *) "self", NULL
21006 };
21007
21008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
21009 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21010 if (SWIG_arg_fail(1)) SWIG_fail;
21011 {
21012 PyThreadState* __tstate = wxPyBeginAllowThreads();
21013 delete arg1;
21014
21015 wxPyEndAllowThreads(__tstate);
21016 if (PyErr_Occurred()) SWIG_fail;
21017 }
21018 Py_INCREF(Py_None); resultobj = Py_None;
21019 return resultobj;
21020 fail:
21021 return NULL;
21022 }
21023
21024
21025 static PyObject *_wrap_PrintData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
21026 PyObject *resultobj = NULL;
21027 wxPrintData *arg1 = (wxPrintData *) 0 ;
21028 int result;
21029 PyObject * obj0 = 0 ;
21030 char *kwnames[] = {
21031 (char *) "self", NULL
21032 };
21033
21034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
21035 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21036 if (SWIG_arg_fail(1)) SWIG_fail;
21037 {
21038 PyThreadState* __tstate = wxPyBeginAllowThreads();
21039 result = (int)(arg1)->GetNoCopies();
21040
21041 wxPyEndAllowThreads(__tstate);
21042 if (PyErr_Occurred()) SWIG_fail;
21043 }
21044 {
21045 resultobj = SWIG_From_int(static_cast<int >(result));
21046 }
21047 return resultobj;
21048 fail:
21049 return NULL;
21050 }
21051
21052
21053 static PyObject *_wrap_PrintData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
21054 PyObject *resultobj = NULL;
21055 wxPrintData *arg1 = (wxPrintData *) 0 ;
21056 bool result;
21057 PyObject * obj0 = 0 ;
21058 char *kwnames[] = {
21059 (char *) "self", NULL
21060 };
21061
21062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
21063 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21064 if (SWIG_arg_fail(1)) SWIG_fail;
21065 {
21066 PyThreadState* __tstate = wxPyBeginAllowThreads();
21067 result = (bool)(arg1)->GetCollate();
21068
21069 wxPyEndAllowThreads(__tstate);
21070 if (PyErr_Occurred()) SWIG_fail;
21071 }
21072 {
21073 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21074 }
21075 return resultobj;
21076 fail:
21077 return NULL;
21078 }
21079
21080
21081 static PyObject *_wrap_PrintData_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
21082 PyObject *resultobj = NULL;
21083 wxPrintData *arg1 = (wxPrintData *) 0 ;
21084 int result;
21085 PyObject * obj0 = 0 ;
21086 char *kwnames[] = {
21087 (char *) "self", NULL
21088 };
21089
21090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
21091 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21092 if (SWIG_arg_fail(1)) SWIG_fail;
21093 {
21094 PyThreadState* __tstate = wxPyBeginAllowThreads();
21095 result = (int)(arg1)->GetOrientation();
21096
21097 wxPyEndAllowThreads(__tstate);
21098 if (PyErr_Occurred()) SWIG_fail;
21099 }
21100 {
21101 resultobj = SWIG_From_int(static_cast<int >(result));
21102 }
21103 return resultobj;
21104 fail:
21105 return NULL;
21106 }
21107
21108
21109 static PyObject *_wrap_PrintData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
21110 PyObject *resultobj = NULL;
21111 wxPrintData *arg1 = (wxPrintData *) 0 ;
21112 bool result;
21113 PyObject * obj0 = 0 ;
21114 char *kwnames[] = {
21115 (char *) "self", NULL
21116 };
21117
21118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
21119 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21120 if (SWIG_arg_fail(1)) SWIG_fail;
21121 {
21122 PyThreadState* __tstate = wxPyBeginAllowThreads();
21123 result = (bool)(arg1)->Ok();
21124
21125 wxPyEndAllowThreads(__tstate);
21126 if (PyErr_Occurred()) SWIG_fail;
21127 }
21128 {
21129 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21130 }
21131 return resultobj;
21132 fail:
21133 return NULL;
21134 }
21135
21136
21137 static PyObject *_wrap_PrintData_GetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
21138 PyObject *resultobj = NULL;
21139 wxPrintData *arg1 = (wxPrintData *) 0 ;
21140 wxString *result;
21141 PyObject * obj0 = 0 ;
21142 char *kwnames[] = {
21143 (char *) "self", NULL
21144 };
21145
21146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
21147 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21148 if (SWIG_arg_fail(1)) SWIG_fail;
21149 {
21150 PyThreadState* __tstate = wxPyBeginAllowThreads();
21151 {
21152 wxString const &_result_ref = (arg1)->GetPrinterName();
21153 result = (wxString *) &_result_ref;
21154 }
21155
21156 wxPyEndAllowThreads(__tstate);
21157 if (PyErr_Occurred()) SWIG_fail;
21158 }
21159 {
21160 #if wxUSE_UNICODE
21161 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
21162 #else
21163 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
21164 #endif
21165 }
21166 return resultobj;
21167 fail:
21168 return NULL;
21169 }
21170
21171
21172 static PyObject *_wrap_PrintData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
21173 PyObject *resultobj = NULL;
21174 wxPrintData *arg1 = (wxPrintData *) 0 ;
21175 bool result;
21176 PyObject * obj0 = 0 ;
21177 char *kwnames[] = {
21178 (char *) "self", NULL
21179 };
21180
21181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
21182 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21183 if (SWIG_arg_fail(1)) SWIG_fail;
21184 {
21185 PyThreadState* __tstate = wxPyBeginAllowThreads();
21186 result = (bool)(arg1)->GetColour();
21187
21188 wxPyEndAllowThreads(__tstate);
21189 if (PyErr_Occurred()) SWIG_fail;
21190 }
21191 {
21192 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21193 }
21194 return resultobj;
21195 fail:
21196 return NULL;
21197 }
21198
21199
21200 static PyObject *_wrap_PrintData_GetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
21201 PyObject *resultobj = NULL;
21202 wxPrintData *arg1 = (wxPrintData *) 0 ;
21203 wxDuplexMode result;
21204 PyObject * obj0 = 0 ;
21205 char *kwnames[] = {
21206 (char *) "self", NULL
21207 };
21208
21209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
21210 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21211 if (SWIG_arg_fail(1)) SWIG_fail;
21212 {
21213 PyThreadState* __tstate = wxPyBeginAllowThreads();
21214 result = (wxDuplexMode)(arg1)->GetDuplex();
21215
21216 wxPyEndAllowThreads(__tstate);
21217 if (PyErr_Occurred()) SWIG_fail;
21218 }
21219 resultobj = SWIG_From_int((result));
21220 return resultobj;
21221 fail:
21222 return NULL;
21223 }
21224
21225
21226 static PyObject *_wrap_PrintData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
21227 PyObject *resultobj = NULL;
21228 wxPrintData *arg1 = (wxPrintData *) 0 ;
21229 wxPaperSize result;
21230 PyObject * obj0 = 0 ;
21231 char *kwnames[] = {
21232 (char *) "self", NULL
21233 };
21234
21235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
21236 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21237 if (SWIG_arg_fail(1)) SWIG_fail;
21238 {
21239 PyThreadState* __tstate = wxPyBeginAllowThreads();
21240 result = (wxPaperSize)(arg1)->GetPaperId();
21241
21242 wxPyEndAllowThreads(__tstate);
21243 if (PyErr_Occurred()) SWIG_fail;
21244 }
21245 resultobj = SWIG_From_int((result));
21246 return resultobj;
21247 fail:
21248 return NULL;
21249 }
21250
21251
21252 static PyObject *_wrap_PrintData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
21253 PyObject *resultobj = NULL;
21254 wxPrintData *arg1 = (wxPrintData *) 0 ;
21255 wxSize *result;
21256 PyObject * obj0 = 0 ;
21257 char *kwnames[] = {
21258 (char *) "self", NULL
21259 };
21260
21261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
21262 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21263 if (SWIG_arg_fail(1)) SWIG_fail;
21264 {
21265 PyThreadState* __tstate = wxPyBeginAllowThreads();
21266 {
21267 wxSize const &_result_ref = (arg1)->GetPaperSize();
21268 result = (wxSize *) &_result_ref;
21269 }
21270
21271 wxPyEndAllowThreads(__tstate);
21272 if (PyErr_Occurred()) SWIG_fail;
21273 }
21274 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
21275 return resultobj;
21276 fail:
21277 return NULL;
21278 }
21279
21280
21281 static PyObject *_wrap_PrintData_GetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
21282 PyObject *resultobj = NULL;
21283 wxPrintData *arg1 = (wxPrintData *) 0 ;
21284 int result;
21285 PyObject * obj0 = 0 ;
21286 char *kwnames[] = {
21287 (char *) "self", NULL
21288 };
21289
21290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
21291 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21292 if (SWIG_arg_fail(1)) SWIG_fail;
21293 {
21294 PyThreadState* __tstate = wxPyBeginAllowThreads();
21295 result = (int)(arg1)->GetQuality();
21296
21297 wxPyEndAllowThreads(__tstate);
21298 if (PyErr_Occurred()) SWIG_fail;
21299 }
21300 {
21301 resultobj = SWIG_From_int(static_cast<int >(result));
21302 }
21303 return resultobj;
21304 fail:
21305 return NULL;
21306 }
21307
21308
21309 static PyObject *_wrap_PrintData_GetBin(PyObject *, PyObject *args, PyObject *kwargs) {
21310 PyObject *resultobj = NULL;
21311 wxPrintData *arg1 = (wxPrintData *) 0 ;
21312 wxPrintBin result;
21313 PyObject * obj0 = 0 ;
21314 char *kwnames[] = {
21315 (char *) "self", NULL
21316 };
21317
21318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetBin",kwnames,&obj0)) goto fail;
21319 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21320 if (SWIG_arg_fail(1)) SWIG_fail;
21321 {
21322 PyThreadState* __tstate = wxPyBeginAllowThreads();
21323 result = (wxPrintBin)(arg1)->GetBin();
21324
21325 wxPyEndAllowThreads(__tstate);
21326 if (PyErr_Occurred()) SWIG_fail;
21327 }
21328 resultobj = SWIG_From_int((result));
21329 return resultobj;
21330 fail:
21331 return NULL;
21332 }
21333
21334
21335 static PyObject *_wrap_PrintData_GetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
21336 PyObject *resultobj = NULL;
21337 wxPrintData *arg1 = (wxPrintData *) 0 ;
21338 wxPrintMode result;
21339 PyObject * obj0 = 0 ;
21340 char *kwnames[] = {
21341 (char *) "self", NULL
21342 };
21343
21344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
21345 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21346 if (SWIG_arg_fail(1)) SWIG_fail;
21347 {
21348 PyThreadState* __tstate = wxPyBeginAllowThreads();
21349 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
21350
21351 wxPyEndAllowThreads(__tstate);
21352 if (PyErr_Occurred()) SWIG_fail;
21353 }
21354 resultobj = SWIG_From_int((result));
21355 return resultobj;
21356 fail:
21357 return NULL;
21358 }
21359
21360
21361 static PyObject *_wrap_PrintData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
21362 PyObject *resultobj = NULL;
21363 wxPrintData *arg1 = (wxPrintData *) 0 ;
21364 int arg2 ;
21365 PyObject * obj0 = 0 ;
21366 PyObject * obj1 = 0 ;
21367 char *kwnames[] = {
21368 (char *) "self",(char *) "v", NULL
21369 };
21370
21371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
21372 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21373 if (SWIG_arg_fail(1)) SWIG_fail;
21374 {
21375 arg2 = static_cast<int >(SWIG_As_int(obj1));
21376 if (SWIG_arg_fail(2)) SWIG_fail;
21377 }
21378 {
21379 PyThreadState* __tstate = wxPyBeginAllowThreads();
21380 (arg1)->SetNoCopies(arg2);
21381
21382 wxPyEndAllowThreads(__tstate);
21383 if (PyErr_Occurred()) SWIG_fail;
21384 }
21385 Py_INCREF(Py_None); resultobj = Py_None;
21386 return resultobj;
21387 fail:
21388 return NULL;
21389 }
21390
21391
21392 static PyObject *_wrap_PrintData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
21393 PyObject *resultobj = NULL;
21394 wxPrintData *arg1 = (wxPrintData *) 0 ;
21395 bool arg2 ;
21396 PyObject * obj0 = 0 ;
21397 PyObject * obj1 = 0 ;
21398 char *kwnames[] = {
21399 (char *) "self",(char *) "flag", NULL
21400 };
21401
21402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
21403 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21404 if (SWIG_arg_fail(1)) SWIG_fail;
21405 {
21406 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
21407 if (SWIG_arg_fail(2)) SWIG_fail;
21408 }
21409 {
21410 PyThreadState* __tstate = wxPyBeginAllowThreads();
21411 (arg1)->SetCollate(arg2);
21412
21413 wxPyEndAllowThreads(__tstate);
21414 if (PyErr_Occurred()) SWIG_fail;
21415 }
21416 Py_INCREF(Py_None); resultobj = Py_None;
21417 return resultobj;
21418 fail:
21419 return NULL;
21420 }
21421
21422
21423 static PyObject *_wrap_PrintData_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
21424 PyObject *resultobj = NULL;
21425 wxPrintData *arg1 = (wxPrintData *) 0 ;
21426 int arg2 ;
21427 PyObject * obj0 = 0 ;
21428 PyObject * obj1 = 0 ;
21429 char *kwnames[] = {
21430 (char *) "self",(char *) "orient", NULL
21431 };
21432
21433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
21434 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21435 if (SWIG_arg_fail(1)) SWIG_fail;
21436 {
21437 arg2 = static_cast<int >(SWIG_As_int(obj1));
21438 if (SWIG_arg_fail(2)) SWIG_fail;
21439 }
21440 {
21441 PyThreadState* __tstate = wxPyBeginAllowThreads();
21442 (arg1)->SetOrientation(arg2);
21443
21444 wxPyEndAllowThreads(__tstate);
21445 if (PyErr_Occurred()) SWIG_fail;
21446 }
21447 Py_INCREF(Py_None); resultobj = Py_None;
21448 return resultobj;
21449 fail:
21450 return NULL;
21451 }
21452
21453
21454 static PyObject *_wrap_PrintData_SetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
21455 PyObject *resultobj = NULL;
21456 wxPrintData *arg1 = (wxPrintData *) 0 ;
21457 wxString *arg2 = 0 ;
21458 bool temp2 = false ;
21459 PyObject * obj0 = 0 ;
21460 PyObject * obj1 = 0 ;
21461 char *kwnames[] = {
21462 (char *) "self",(char *) "name", NULL
21463 };
21464
21465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
21466 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21467 if (SWIG_arg_fail(1)) SWIG_fail;
21468 {
21469 arg2 = wxString_in_helper(obj1);
21470 if (arg2 == NULL) SWIG_fail;
21471 temp2 = true;
21472 }
21473 {
21474 PyThreadState* __tstate = wxPyBeginAllowThreads();
21475 (arg1)->SetPrinterName((wxString const &)*arg2);
21476
21477 wxPyEndAllowThreads(__tstate);
21478 if (PyErr_Occurred()) SWIG_fail;
21479 }
21480 Py_INCREF(Py_None); resultobj = Py_None;
21481 {
21482 if (temp2)
21483 delete arg2;
21484 }
21485 return resultobj;
21486 fail:
21487 {
21488 if (temp2)
21489 delete arg2;
21490 }
21491 return NULL;
21492 }
21493
21494
21495 static PyObject *_wrap_PrintData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
21496 PyObject *resultobj = NULL;
21497 wxPrintData *arg1 = (wxPrintData *) 0 ;
21498 bool arg2 ;
21499 PyObject * obj0 = 0 ;
21500 PyObject * obj1 = 0 ;
21501 char *kwnames[] = {
21502 (char *) "self",(char *) "colour", NULL
21503 };
21504
21505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
21506 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21507 if (SWIG_arg_fail(1)) SWIG_fail;
21508 {
21509 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
21510 if (SWIG_arg_fail(2)) SWIG_fail;
21511 }
21512 {
21513 PyThreadState* __tstate = wxPyBeginAllowThreads();
21514 (arg1)->SetColour(arg2);
21515
21516 wxPyEndAllowThreads(__tstate);
21517 if (PyErr_Occurred()) SWIG_fail;
21518 }
21519 Py_INCREF(Py_None); resultobj = Py_None;
21520 return resultobj;
21521 fail:
21522 return NULL;
21523 }
21524
21525
21526 static PyObject *_wrap_PrintData_SetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
21527 PyObject *resultobj = NULL;
21528 wxPrintData *arg1 = (wxPrintData *) 0 ;
21529 wxDuplexMode arg2 ;
21530 PyObject * obj0 = 0 ;
21531 PyObject * obj1 = 0 ;
21532 char *kwnames[] = {
21533 (char *) "self",(char *) "duplex", NULL
21534 };
21535
21536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
21537 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21538 if (SWIG_arg_fail(1)) SWIG_fail;
21539 {
21540 arg2 = static_cast<wxDuplexMode >(SWIG_As_int(obj1));
21541 if (SWIG_arg_fail(2)) SWIG_fail;
21542 }
21543 {
21544 PyThreadState* __tstate = wxPyBeginAllowThreads();
21545 (arg1)->SetDuplex(arg2);
21546
21547 wxPyEndAllowThreads(__tstate);
21548 if (PyErr_Occurred()) SWIG_fail;
21549 }
21550 Py_INCREF(Py_None); resultobj = Py_None;
21551 return resultobj;
21552 fail:
21553 return NULL;
21554 }
21555
21556
21557 static PyObject *_wrap_PrintData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
21558 PyObject *resultobj = NULL;
21559 wxPrintData *arg1 = (wxPrintData *) 0 ;
21560 wxPaperSize arg2 ;
21561 PyObject * obj0 = 0 ;
21562 PyObject * obj1 = 0 ;
21563 char *kwnames[] = {
21564 (char *) "self",(char *) "sizeId", NULL
21565 };
21566
21567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
21568 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21569 if (SWIG_arg_fail(1)) SWIG_fail;
21570 {
21571 arg2 = static_cast<wxPaperSize >(SWIG_As_int(obj1));
21572 if (SWIG_arg_fail(2)) SWIG_fail;
21573 }
21574 {
21575 PyThreadState* __tstate = wxPyBeginAllowThreads();
21576 (arg1)->SetPaperId(arg2);
21577
21578 wxPyEndAllowThreads(__tstate);
21579 if (PyErr_Occurred()) SWIG_fail;
21580 }
21581 Py_INCREF(Py_None); resultobj = Py_None;
21582 return resultobj;
21583 fail:
21584 return NULL;
21585 }
21586
21587
21588 static PyObject *_wrap_PrintData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
21589 PyObject *resultobj = NULL;
21590 wxPrintData *arg1 = (wxPrintData *) 0 ;
21591 wxSize *arg2 = 0 ;
21592 wxSize temp2 ;
21593 PyObject * obj0 = 0 ;
21594 PyObject * obj1 = 0 ;
21595 char *kwnames[] = {
21596 (char *) "self",(char *) "sz", NULL
21597 };
21598
21599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
21600 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21601 if (SWIG_arg_fail(1)) SWIG_fail;
21602 {
21603 arg2 = &temp2;
21604 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21605 }
21606 {
21607 PyThreadState* __tstate = wxPyBeginAllowThreads();
21608 (arg1)->SetPaperSize((wxSize const &)*arg2);
21609
21610 wxPyEndAllowThreads(__tstate);
21611 if (PyErr_Occurred()) SWIG_fail;
21612 }
21613 Py_INCREF(Py_None); resultobj = Py_None;
21614 return resultobj;
21615 fail:
21616 return NULL;
21617 }
21618
21619
21620 static PyObject *_wrap_PrintData_SetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
21621 PyObject *resultobj = NULL;
21622 wxPrintData *arg1 = (wxPrintData *) 0 ;
21623 int arg2 ;
21624 PyObject * obj0 = 0 ;
21625 PyObject * obj1 = 0 ;
21626 char *kwnames[] = {
21627 (char *) "self",(char *) "quality", NULL
21628 };
21629
21630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
21631 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21632 if (SWIG_arg_fail(1)) SWIG_fail;
21633 {
21634 arg2 = static_cast<int >(SWIG_As_int(obj1));
21635 if (SWIG_arg_fail(2)) SWIG_fail;
21636 }
21637 {
21638 PyThreadState* __tstate = wxPyBeginAllowThreads();
21639 (arg1)->SetQuality(arg2);
21640
21641 wxPyEndAllowThreads(__tstate);
21642 if (PyErr_Occurred()) SWIG_fail;
21643 }
21644 Py_INCREF(Py_None); resultobj = Py_None;
21645 return resultobj;
21646 fail:
21647 return NULL;
21648 }
21649
21650
21651 static PyObject *_wrap_PrintData_SetBin(PyObject *, PyObject *args, PyObject *kwargs) {
21652 PyObject *resultobj = NULL;
21653 wxPrintData *arg1 = (wxPrintData *) 0 ;
21654 wxPrintBin arg2 ;
21655 PyObject * obj0 = 0 ;
21656 PyObject * obj1 = 0 ;
21657 char *kwnames[] = {
21658 (char *) "self",(char *) "bin", NULL
21659 };
21660
21661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) goto fail;
21662 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21663 if (SWIG_arg_fail(1)) SWIG_fail;
21664 {
21665 arg2 = static_cast<wxPrintBin >(SWIG_As_int(obj1));
21666 if (SWIG_arg_fail(2)) SWIG_fail;
21667 }
21668 {
21669 PyThreadState* __tstate = wxPyBeginAllowThreads();
21670 (arg1)->SetBin(arg2);
21671
21672 wxPyEndAllowThreads(__tstate);
21673 if (PyErr_Occurred()) SWIG_fail;
21674 }
21675 Py_INCREF(Py_None); resultobj = Py_None;
21676 return resultobj;
21677 fail:
21678 return NULL;
21679 }
21680
21681
21682 static PyObject *_wrap_PrintData_SetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
21683 PyObject *resultobj = NULL;
21684 wxPrintData *arg1 = (wxPrintData *) 0 ;
21685 wxPrintMode arg2 ;
21686 PyObject * obj0 = 0 ;
21687 PyObject * obj1 = 0 ;
21688 char *kwnames[] = {
21689 (char *) "self",(char *) "printMode", NULL
21690 };
21691
21692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
21693 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21694 if (SWIG_arg_fail(1)) SWIG_fail;
21695 {
21696 arg2 = static_cast<wxPrintMode >(SWIG_As_int(obj1));
21697 if (SWIG_arg_fail(2)) SWIG_fail;
21698 }
21699 {
21700 PyThreadState* __tstate = wxPyBeginAllowThreads();
21701 (arg1)->SetPrintMode(arg2);
21702
21703 wxPyEndAllowThreads(__tstate);
21704 if (PyErr_Occurred()) SWIG_fail;
21705 }
21706 Py_INCREF(Py_None); resultobj = Py_None;
21707 return resultobj;
21708 fail:
21709 return NULL;
21710 }
21711
21712
21713 static PyObject *_wrap_PrintData_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
21714 PyObject *resultobj = NULL;
21715 wxPrintData *arg1 = (wxPrintData *) 0 ;
21716 wxString result;
21717 PyObject * obj0 = 0 ;
21718 char *kwnames[] = {
21719 (char *) "self", NULL
21720 };
21721
21722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
21723 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21724 if (SWIG_arg_fail(1)) SWIG_fail;
21725 {
21726 PyThreadState* __tstate = wxPyBeginAllowThreads();
21727 result = ((wxPrintData const *)arg1)->GetFilename();
21728
21729 wxPyEndAllowThreads(__tstate);
21730 if (PyErr_Occurred()) SWIG_fail;
21731 }
21732 {
21733 #if wxUSE_UNICODE
21734 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21735 #else
21736 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21737 #endif
21738 }
21739 return resultobj;
21740 fail:
21741 return NULL;
21742 }
21743
21744
21745 static PyObject *_wrap_PrintData_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
21746 PyObject *resultobj = NULL;
21747 wxPrintData *arg1 = (wxPrintData *) 0 ;
21748 wxString *arg2 = 0 ;
21749 bool temp2 = false ;
21750 PyObject * obj0 = 0 ;
21751 PyObject * obj1 = 0 ;
21752 char *kwnames[] = {
21753 (char *) "self",(char *) "filename", NULL
21754 };
21755
21756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
21757 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21758 if (SWIG_arg_fail(1)) SWIG_fail;
21759 {
21760 arg2 = wxString_in_helper(obj1);
21761 if (arg2 == NULL) SWIG_fail;
21762 temp2 = true;
21763 }
21764 {
21765 PyThreadState* __tstate = wxPyBeginAllowThreads();
21766 (arg1)->SetFilename((wxString const &)*arg2);
21767
21768 wxPyEndAllowThreads(__tstate);
21769 if (PyErr_Occurred()) SWIG_fail;
21770 }
21771 Py_INCREF(Py_None); resultobj = Py_None;
21772 {
21773 if (temp2)
21774 delete arg2;
21775 }
21776 return resultobj;
21777 fail:
21778 {
21779 if (temp2)
21780 delete arg2;
21781 }
21782 return NULL;
21783 }
21784
21785
21786 static PyObject *_wrap_PrintData_GetPrivData(PyObject *, PyObject *args, PyObject *kwargs) {
21787 PyObject *resultobj = NULL;
21788 wxPrintData *arg1 = (wxPrintData *) 0 ;
21789 PyObject *result;
21790 PyObject * obj0 = 0 ;
21791 char *kwnames[] = {
21792 (char *) "self", NULL
21793 };
21794
21795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrivData",kwnames,&obj0)) goto fail;
21796 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21797 if (SWIG_arg_fail(1)) SWIG_fail;
21798 {
21799 PyThreadState* __tstate = wxPyBeginAllowThreads();
21800 result = (PyObject *)wxPrintData_GetPrivData(arg1);
21801
21802 wxPyEndAllowThreads(__tstate);
21803 if (PyErr_Occurred()) SWIG_fail;
21804 }
21805 resultobj = result;
21806 return resultobj;
21807 fail:
21808 return NULL;
21809 }
21810
21811
21812 static PyObject *_wrap_PrintData_SetPrivData(PyObject *, PyObject *args, PyObject *kwargs) {
21813 PyObject *resultobj = NULL;
21814 wxPrintData *arg1 = (wxPrintData *) 0 ;
21815 PyObject *arg2 = (PyObject *) 0 ;
21816 PyObject * obj0 = 0 ;
21817 PyObject * obj1 = 0 ;
21818 char *kwnames[] = {
21819 (char *) "self",(char *) "data", NULL
21820 };
21821
21822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) goto fail;
21823 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21824 if (SWIG_arg_fail(1)) SWIG_fail;
21825 arg2 = obj1;
21826 {
21827 PyThreadState* __tstate = wxPyBeginAllowThreads();
21828 wxPrintData_SetPrivData(arg1,arg2);
21829
21830 wxPyEndAllowThreads(__tstate);
21831 if (PyErr_Occurred()) SWIG_fail;
21832 }
21833 Py_INCREF(Py_None); resultobj = Py_None;
21834 return resultobj;
21835 fail:
21836 return NULL;
21837 }
21838
21839
21840 static PyObject * PrintData_swigregister(PyObject *, PyObject *args) {
21841 PyObject *obj;
21842 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21843 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
21844 Py_INCREF(obj);
21845 return Py_BuildValue((char *)"");
21846 }
21847 static PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *, PyObject *args) {
21848 PyObject *resultobj = NULL;
21849 wxPageSetupDialogData *result;
21850
21851 if(!PyArg_ParseTuple(args,(char *)":new_PageSetupDialogData")) goto fail;
21852 {
21853 PyThreadState* __tstate = wxPyBeginAllowThreads();
21854 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
21855
21856 wxPyEndAllowThreads(__tstate);
21857 if (PyErr_Occurred()) SWIG_fail;
21858 }
21859 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
21860 return resultobj;
21861 fail:
21862 return NULL;
21863 }
21864
21865
21866 static PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *, PyObject *args) {
21867 PyObject *resultobj = NULL;
21868 wxPageSetupDialogData *arg1 = 0 ;
21869 wxPageSetupDialogData *result;
21870 PyObject * obj0 = 0 ;
21871
21872 if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail;
21873 {
21874 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21875 if (SWIG_arg_fail(1)) SWIG_fail;
21876 if (arg1 == NULL) {
21877 SWIG_null_ref("wxPageSetupDialogData");
21878 }
21879 if (SWIG_arg_fail(1)) SWIG_fail;
21880 }
21881 {
21882 PyThreadState* __tstate = wxPyBeginAllowThreads();
21883 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
21884
21885 wxPyEndAllowThreads(__tstate);
21886 if (PyErr_Occurred()) SWIG_fail;
21887 }
21888 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
21889 return resultobj;
21890 fail:
21891 return NULL;
21892 }
21893
21894
21895 static PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *, PyObject *args) {
21896 PyObject *resultobj = NULL;
21897 wxPrintData *arg1 = 0 ;
21898 wxPageSetupDialogData *result;
21899 PyObject * obj0 = 0 ;
21900
21901 if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail;
21902 {
21903 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21904 if (SWIG_arg_fail(1)) SWIG_fail;
21905 if (arg1 == NULL) {
21906 SWIG_null_ref("wxPrintData");
21907 }
21908 if (SWIG_arg_fail(1)) SWIG_fail;
21909 }
21910 {
21911 PyThreadState* __tstate = wxPyBeginAllowThreads();
21912 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
21913
21914 wxPyEndAllowThreads(__tstate);
21915 if (PyErr_Occurred()) SWIG_fail;
21916 }
21917 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
21918 return resultobj;
21919 fail:
21920 return NULL;
21921 }
21922
21923
21924 static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
21925 int argc;
21926 PyObject *argv[2];
21927 int ii;
21928
21929 argc = PyObject_Length(args);
21930 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
21931 argv[ii] = PyTuple_GetItem(args,ii);
21932 }
21933 if (argc == 0) {
21934 return _wrap_new_PageSetupDialogData__SWIG_0(self,args);
21935 }
21936 if (argc == 1) {
21937 int _v;
21938 {
21939 void *ptr = 0;
21940 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPageSetupDialogData, 0) == -1) {
21941 _v = 0;
21942 PyErr_Clear();
21943 } else {
21944 _v = (ptr != 0);
21945 }
21946 }
21947 if (_v) {
21948 return _wrap_new_PageSetupDialogData__SWIG_1(self,args);
21949 }
21950 }
21951 if (argc == 1) {
21952 int _v;
21953 {
21954 void *ptr = 0;
21955 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
21956 _v = 0;
21957 PyErr_Clear();
21958 } else {
21959 _v = (ptr != 0);
21960 }
21961 }
21962 if (_v) {
21963 return _wrap_new_PageSetupDialogData__SWIG_2(self,args);
21964 }
21965 }
21966
21967 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
21968 return NULL;
21969 }
21970
21971
21972 static PyObject *_wrap_delete_PageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
21973 PyObject *resultobj = NULL;
21974 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21975 PyObject * obj0 = 0 ;
21976 char *kwnames[] = {
21977 (char *) "self", NULL
21978 };
21979
21980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
21981 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21982 if (SWIG_arg_fail(1)) SWIG_fail;
21983 {
21984 PyThreadState* __tstate = wxPyBeginAllowThreads();
21985 delete arg1;
21986
21987 wxPyEndAllowThreads(__tstate);
21988 if (PyErr_Occurred()) SWIG_fail;
21989 }
21990 Py_INCREF(Py_None); resultobj = Py_None;
21991 return resultobj;
21992 fail:
21993 return NULL;
21994 }
21995
21996
21997 static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
21998 PyObject *resultobj = NULL;
21999 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22000 bool arg2 ;
22001 PyObject * obj0 = 0 ;
22002 PyObject * obj1 = 0 ;
22003 char *kwnames[] = {
22004 (char *) "self",(char *) "flag", NULL
22005 };
22006
22007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
22008 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22009 if (SWIG_arg_fail(1)) SWIG_fail;
22010 {
22011 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
22012 if (SWIG_arg_fail(2)) SWIG_fail;
22013 }
22014 {
22015 PyThreadState* __tstate = wxPyBeginAllowThreads();
22016 (arg1)->EnableHelp(arg2);
22017
22018 wxPyEndAllowThreads(__tstate);
22019 if (PyErr_Occurred()) SWIG_fail;
22020 }
22021 Py_INCREF(Py_None); resultobj = Py_None;
22022 return resultobj;
22023 fail:
22024 return NULL;
22025 }
22026
22027
22028 static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
22029 PyObject *resultobj = NULL;
22030 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22031 bool arg2 ;
22032 PyObject * obj0 = 0 ;
22033 PyObject * obj1 = 0 ;
22034 char *kwnames[] = {
22035 (char *) "self",(char *) "flag", NULL
22036 };
22037
22038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
22039 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22040 if (SWIG_arg_fail(1)) SWIG_fail;
22041 {
22042 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
22043 if (SWIG_arg_fail(2)) SWIG_fail;
22044 }
22045 {
22046 PyThreadState* __tstate = wxPyBeginAllowThreads();
22047 (arg1)->EnableMargins(arg2);
22048
22049 wxPyEndAllowThreads(__tstate);
22050 if (PyErr_Occurred()) SWIG_fail;
22051 }
22052 Py_INCREF(Py_None); resultobj = Py_None;
22053 return resultobj;
22054 fail:
22055 return NULL;
22056 }
22057
22058
22059 static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
22060 PyObject *resultobj = NULL;
22061 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22062 bool arg2 ;
22063 PyObject * obj0 = 0 ;
22064 PyObject * obj1 = 0 ;
22065 char *kwnames[] = {
22066 (char *) "self",(char *) "flag", NULL
22067 };
22068
22069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
22070 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22071 if (SWIG_arg_fail(1)) SWIG_fail;
22072 {
22073 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
22074 if (SWIG_arg_fail(2)) SWIG_fail;
22075 }
22076 {
22077 PyThreadState* __tstate = wxPyBeginAllowThreads();
22078 (arg1)->EnableOrientation(arg2);
22079
22080 wxPyEndAllowThreads(__tstate);
22081 if (PyErr_Occurred()) SWIG_fail;
22082 }
22083 Py_INCREF(Py_None); resultobj = Py_None;
22084 return resultobj;
22085 fail:
22086 return NULL;
22087 }
22088
22089
22090 static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
22091 PyObject *resultobj = NULL;
22092 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22093 bool arg2 ;
22094 PyObject * obj0 = 0 ;
22095 PyObject * obj1 = 0 ;
22096 char *kwnames[] = {
22097 (char *) "self",(char *) "flag", NULL
22098 };
22099
22100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
22101 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22102 if (SWIG_arg_fail(1)) SWIG_fail;
22103 {
22104 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
22105 if (SWIG_arg_fail(2)) SWIG_fail;
22106 }
22107 {
22108 PyThreadState* __tstate = wxPyBeginAllowThreads();
22109 (arg1)->EnablePaper(arg2);
22110
22111 wxPyEndAllowThreads(__tstate);
22112 if (PyErr_Occurred()) SWIG_fail;
22113 }
22114 Py_INCREF(Py_None); resultobj = Py_None;
22115 return resultobj;
22116 fail:
22117 return NULL;
22118 }
22119
22120
22121 static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
22122 PyObject *resultobj = NULL;
22123 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22124 bool arg2 ;
22125 PyObject * obj0 = 0 ;
22126 PyObject * obj1 = 0 ;
22127 char *kwnames[] = {
22128 (char *) "self",(char *) "flag", NULL
22129 };
22130
22131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
22132 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22133 if (SWIG_arg_fail(1)) SWIG_fail;
22134 {
22135 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
22136 if (SWIG_arg_fail(2)) SWIG_fail;
22137 }
22138 {
22139 PyThreadState* __tstate = wxPyBeginAllowThreads();
22140 (arg1)->EnablePrinter(arg2);
22141
22142 wxPyEndAllowThreads(__tstate);
22143 if (PyErr_Occurred()) SWIG_fail;
22144 }
22145 Py_INCREF(Py_None); resultobj = Py_None;
22146 return resultobj;
22147 fail:
22148 return NULL;
22149 }
22150
22151
22152 static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
22153 PyObject *resultobj = NULL;
22154 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22155 bool result;
22156 PyObject * obj0 = 0 ;
22157 char *kwnames[] = {
22158 (char *) "self", NULL
22159 };
22160
22161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
22162 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22163 if (SWIG_arg_fail(1)) SWIG_fail;
22164 {
22165 PyThreadState* __tstate = wxPyBeginAllowThreads();
22166 result = (bool)(arg1)->GetDefaultMinMargins();
22167
22168 wxPyEndAllowThreads(__tstate);
22169 if (PyErr_Occurred()) SWIG_fail;
22170 }
22171 {
22172 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22173 }
22174 return resultobj;
22175 fail:
22176 return NULL;
22177 }
22178
22179
22180 static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
22181 PyObject *resultobj = NULL;
22182 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22183 bool result;
22184 PyObject * obj0 = 0 ;
22185 char *kwnames[] = {
22186 (char *) "self", NULL
22187 };
22188
22189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
22190 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22191 if (SWIG_arg_fail(1)) SWIG_fail;
22192 {
22193 PyThreadState* __tstate = wxPyBeginAllowThreads();
22194 result = (bool)(arg1)->GetEnableMargins();
22195
22196 wxPyEndAllowThreads(__tstate);
22197 if (PyErr_Occurred()) SWIG_fail;
22198 }
22199 {
22200 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22201 }
22202 return resultobj;
22203 fail:
22204 return NULL;
22205 }
22206
22207
22208 static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
22209 PyObject *resultobj = NULL;
22210 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22211 bool result;
22212 PyObject * obj0 = 0 ;
22213 char *kwnames[] = {
22214 (char *) "self", NULL
22215 };
22216
22217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
22218 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22219 if (SWIG_arg_fail(1)) SWIG_fail;
22220 {
22221 PyThreadState* __tstate = wxPyBeginAllowThreads();
22222 result = (bool)(arg1)->GetEnableOrientation();
22223
22224 wxPyEndAllowThreads(__tstate);
22225 if (PyErr_Occurred()) SWIG_fail;
22226 }
22227 {
22228 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22229 }
22230 return resultobj;
22231 fail:
22232 return NULL;
22233 }
22234
22235
22236 static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
22237 PyObject *resultobj = NULL;
22238 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22239 bool result;
22240 PyObject * obj0 = 0 ;
22241 char *kwnames[] = {
22242 (char *) "self", NULL
22243 };
22244
22245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
22246 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22247 if (SWIG_arg_fail(1)) SWIG_fail;
22248 {
22249 PyThreadState* __tstate = wxPyBeginAllowThreads();
22250 result = (bool)(arg1)->GetEnablePaper();
22251
22252 wxPyEndAllowThreads(__tstate);
22253 if (PyErr_Occurred()) SWIG_fail;
22254 }
22255 {
22256 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22257 }
22258 return resultobj;
22259 fail:
22260 return NULL;
22261 }
22262
22263
22264 static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
22265 PyObject *resultobj = NULL;
22266 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22267 bool result;
22268 PyObject * obj0 = 0 ;
22269 char *kwnames[] = {
22270 (char *) "self", NULL
22271 };
22272
22273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
22274 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22275 if (SWIG_arg_fail(1)) SWIG_fail;
22276 {
22277 PyThreadState* __tstate = wxPyBeginAllowThreads();
22278 result = (bool)(arg1)->GetEnablePrinter();
22279
22280 wxPyEndAllowThreads(__tstate);
22281 if (PyErr_Occurred()) SWIG_fail;
22282 }
22283 {
22284 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22285 }
22286 return resultobj;
22287 fail:
22288 return NULL;
22289 }
22290
22291
22292 static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
22293 PyObject *resultobj = NULL;
22294 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22295 bool result;
22296 PyObject * obj0 = 0 ;
22297 char *kwnames[] = {
22298 (char *) "self", NULL
22299 };
22300
22301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
22302 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22303 if (SWIG_arg_fail(1)) SWIG_fail;
22304 {
22305 PyThreadState* __tstate = wxPyBeginAllowThreads();
22306 result = (bool)(arg1)->GetEnableHelp();
22307
22308 wxPyEndAllowThreads(__tstate);
22309 if (PyErr_Occurred()) SWIG_fail;
22310 }
22311 {
22312 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22313 }
22314 return resultobj;
22315 fail:
22316 return NULL;
22317 }
22318
22319
22320 static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
22321 PyObject *resultobj = NULL;
22322 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22323 bool result;
22324 PyObject * obj0 = 0 ;
22325 char *kwnames[] = {
22326 (char *) "self", NULL
22327 };
22328
22329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
22330 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22331 if (SWIG_arg_fail(1)) SWIG_fail;
22332 {
22333 PyThreadState* __tstate = wxPyBeginAllowThreads();
22334 result = (bool)(arg1)->GetDefaultInfo();
22335
22336 wxPyEndAllowThreads(__tstate);
22337 if (PyErr_Occurred()) SWIG_fail;
22338 }
22339 {
22340 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22341 }
22342 return resultobj;
22343 fail:
22344 return NULL;
22345 }
22346
22347
22348 static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
22349 PyObject *resultobj = NULL;
22350 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22351 wxPoint result;
22352 PyObject * obj0 = 0 ;
22353 char *kwnames[] = {
22354 (char *) "self", NULL
22355 };
22356
22357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
22358 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22359 if (SWIG_arg_fail(1)) SWIG_fail;
22360 {
22361 PyThreadState* __tstate = wxPyBeginAllowThreads();
22362 result = (arg1)->GetMarginTopLeft();
22363
22364 wxPyEndAllowThreads(__tstate);
22365 if (PyErr_Occurred()) SWIG_fail;
22366 }
22367 {
22368 wxPoint * resultptr;
22369 resultptr = new wxPoint(static_cast<wxPoint & >(result));
22370 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22371 }
22372 return resultobj;
22373 fail:
22374 return NULL;
22375 }
22376
22377
22378 static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
22379 PyObject *resultobj = NULL;
22380 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22381 wxPoint result;
22382 PyObject * obj0 = 0 ;
22383 char *kwnames[] = {
22384 (char *) "self", NULL
22385 };
22386
22387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
22388 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22389 if (SWIG_arg_fail(1)) SWIG_fail;
22390 {
22391 PyThreadState* __tstate = wxPyBeginAllowThreads();
22392 result = (arg1)->GetMarginBottomRight();
22393
22394 wxPyEndAllowThreads(__tstate);
22395 if (PyErr_Occurred()) SWIG_fail;
22396 }
22397 {
22398 wxPoint * resultptr;
22399 resultptr = new wxPoint(static_cast<wxPoint & >(result));
22400 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22401 }
22402 return resultobj;
22403 fail:
22404 return NULL;
22405 }
22406
22407
22408 static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
22409 PyObject *resultobj = NULL;
22410 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22411 wxPoint result;
22412 PyObject * obj0 = 0 ;
22413 char *kwnames[] = {
22414 (char *) "self", NULL
22415 };
22416
22417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
22418 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22419 if (SWIG_arg_fail(1)) SWIG_fail;
22420 {
22421 PyThreadState* __tstate = wxPyBeginAllowThreads();
22422 result = (arg1)->GetMinMarginTopLeft();
22423
22424 wxPyEndAllowThreads(__tstate);
22425 if (PyErr_Occurred()) SWIG_fail;
22426 }
22427 {
22428 wxPoint * resultptr;
22429 resultptr = new wxPoint(static_cast<wxPoint & >(result));
22430 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22431 }
22432 return resultobj;
22433 fail:
22434 return NULL;
22435 }
22436
22437
22438 static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
22439 PyObject *resultobj = NULL;
22440 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22441 wxPoint result;
22442 PyObject * obj0 = 0 ;
22443 char *kwnames[] = {
22444 (char *) "self", NULL
22445 };
22446
22447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
22448 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22449 if (SWIG_arg_fail(1)) SWIG_fail;
22450 {
22451 PyThreadState* __tstate = wxPyBeginAllowThreads();
22452 result = (arg1)->GetMinMarginBottomRight();
22453
22454 wxPyEndAllowThreads(__tstate);
22455 if (PyErr_Occurred()) SWIG_fail;
22456 }
22457 {
22458 wxPoint * resultptr;
22459 resultptr = new wxPoint(static_cast<wxPoint & >(result));
22460 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22461 }
22462 return resultobj;
22463 fail:
22464 return NULL;
22465 }
22466
22467
22468 static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
22469 PyObject *resultobj = NULL;
22470 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22471 wxPaperSize result;
22472 PyObject * obj0 = 0 ;
22473 char *kwnames[] = {
22474 (char *) "self", NULL
22475 };
22476
22477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
22478 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22479 if (SWIG_arg_fail(1)) SWIG_fail;
22480 {
22481 PyThreadState* __tstate = wxPyBeginAllowThreads();
22482 result = (wxPaperSize)(arg1)->GetPaperId();
22483
22484 wxPyEndAllowThreads(__tstate);
22485 if (PyErr_Occurred()) SWIG_fail;
22486 }
22487 resultobj = SWIG_From_int((result));
22488 return resultobj;
22489 fail:
22490 return NULL;
22491 }
22492
22493
22494 static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
22495 PyObject *resultobj = NULL;
22496 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22497 wxSize result;
22498 PyObject * obj0 = 0 ;
22499 char *kwnames[] = {
22500 (char *) "self", NULL
22501 };
22502
22503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
22504 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22505 if (SWIG_arg_fail(1)) SWIG_fail;
22506 {
22507 PyThreadState* __tstate = wxPyBeginAllowThreads();
22508 result = (arg1)->GetPaperSize();
22509
22510 wxPyEndAllowThreads(__tstate);
22511 if (PyErr_Occurred()) SWIG_fail;
22512 }
22513 {
22514 wxSize * resultptr;
22515 resultptr = new wxSize(static_cast<wxSize & >(result));
22516 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
22517 }
22518 return resultobj;
22519 fail:
22520 return NULL;
22521 }
22522
22523
22524 static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
22525 PyObject *resultobj = NULL;
22526 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22527 wxPrintData *result;
22528 PyObject * obj0 = 0 ;
22529 char *kwnames[] = {
22530 (char *) "self", NULL
22531 };
22532
22533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
22534 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22535 if (SWIG_arg_fail(1)) SWIG_fail;
22536 {
22537 PyThreadState* __tstate = wxPyBeginAllowThreads();
22538 {
22539 wxPrintData &_result_ref = (arg1)->GetPrintData();
22540 result = (wxPrintData *) &_result_ref;
22541 }
22542
22543 wxPyEndAllowThreads(__tstate);
22544 if (PyErr_Occurred()) SWIG_fail;
22545 }
22546 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
22547 return resultobj;
22548 fail:
22549 return NULL;
22550 }
22551
22552
22553 static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
22554 PyObject *resultobj = NULL;
22555 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22556 bool result;
22557 PyObject * obj0 = 0 ;
22558 char *kwnames[] = {
22559 (char *) "self", NULL
22560 };
22561
22562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
22563 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22564 if (SWIG_arg_fail(1)) SWIG_fail;
22565 {
22566 PyThreadState* __tstate = wxPyBeginAllowThreads();
22567 result = (bool)(arg1)->Ok();
22568
22569 wxPyEndAllowThreads(__tstate);
22570 if (PyErr_Occurred()) SWIG_fail;
22571 }
22572 {
22573 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22574 }
22575 return resultobj;
22576 fail:
22577 return NULL;
22578 }
22579
22580
22581 static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
22582 PyObject *resultobj = NULL;
22583 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22584 bool arg2 ;
22585 PyObject * obj0 = 0 ;
22586 PyObject * obj1 = 0 ;
22587 char *kwnames[] = {
22588 (char *) "self",(char *) "flag", NULL
22589 };
22590
22591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
22592 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22593 if (SWIG_arg_fail(1)) SWIG_fail;
22594 {
22595 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
22596 if (SWIG_arg_fail(2)) SWIG_fail;
22597 }
22598 {
22599 PyThreadState* __tstate = wxPyBeginAllowThreads();
22600 (arg1)->SetDefaultInfo(arg2);
22601
22602 wxPyEndAllowThreads(__tstate);
22603 if (PyErr_Occurred()) SWIG_fail;
22604 }
22605 Py_INCREF(Py_None); resultobj = Py_None;
22606 return resultobj;
22607 fail:
22608 return NULL;
22609 }
22610
22611
22612 static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
22613 PyObject *resultobj = NULL;
22614 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22615 bool arg2 ;
22616 PyObject * obj0 = 0 ;
22617 PyObject * obj1 = 0 ;
22618 char *kwnames[] = {
22619 (char *) "self",(char *) "flag", NULL
22620 };
22621
22622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
22623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22624 if (SWIG_arg_fail(1)) SWIG_fail;
22625 {
22626 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
22627 if (SWIG_arg_fail(2)) SWIG_fail;
22628 }
22629 {
22630 PyThreadState* __tstate = wxPyBeginAllowThreads();
22631 (arg1)->SetDefaultMinMargins(arg2);
22632
22633 wxPyEndAllowThreads(__tstate);
22634 if (PyErr_Occurred()) SWIG_fail;
22635 }
22636 Py_INCREF(Py_None); resultobj = Py_None;
22637 return resultobj;
22638 fail:
22639 return NULL;
22640 }
22641
22642
22643 static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
22644 PyObject *resultobj = NULL;
22645 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22646 wxPoint *arg2 = 0 ;
22647 wxPoint temp2 ;
22648 PyObject * obj0 = 0 ;
22649 PyObject * obj1 = 0 ;
22650 char *kwnames[] = {
22651 (char *) "self",(char *) "pt", NULL
22652 };
22653
22654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
22655 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22656 if (SWIG_arg_fail(1)) SWIG_fail;
22657 {
22658 arg2 = &temp2;
22659 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22660 }
22661 {
22662 PyThreadState* __tstate = wxPyBeginAllowThreads();
22663 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
22664
22665 wxPyEndAllowThreads(__tstate);
22666 if (PyErr_Occurred()) SWIG_fail;
22667 }
22668 Py_INCREF(Py_None); resultobj = Py_None;
22669 return resultobj;
22670 fail:
22671 return NULL;
22672 }
22673
22674
22675 static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
22676 PyObject *resultobj = NULL;
22677 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22678 wxPoint *arg2 = 0 ;
22679 wxPoint temp2 ;
22680 PyObject * obj0 = 0 ;
22681 PyObject * obj1 = 0 ;
22682 char *kwnames[] = {
22683 (char *) "self",(char *) "pt", NULL
22684 };
22685
22686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
22687 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22688 if (SWIG_arg_fail(1)) SWIG_fail;
22689 {
22690 arg2 = &temp2;
22691 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22692 }
22693 {
22694 PyThreadState* __tstate = wxPyBeginAllowThreads();
22695 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
22696
22697 wxPyEndAllowThreads(__tstate);
22698 if (PyErr_Occurred()) SWIG_fail;
22699 }
22700 Py_INCREF(Py_None); resultobj = Py_None;
22701 return resultobj;
22702 fail:
22703 return NULL;
22704 }
22705
22706
22707 static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
22708 PyObject *resultobj = NULL;
22709 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22710 wxPoint *arg2 = 0 ;
22711 wxPoint temp2 ;
22712 PyObject * obj0 = 0 ;
22713 PyObject * obj1 = 0 ;
22714 char *kwnames[] = {
22715 (char *) "self",(char *) "pt", NULL
22716 };
22717
22718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
22719 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22720 if (SWIG_arg_fail(1)) SWIG_fail;
22721 {
22722 arg2 = &temp2;
22723 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22724 }
22725 {
22726 PyThreadState* __tstate = wxPyBeginAllowThreads();
22727 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
22728
22729 wxPyEndAllowThreads(__tstate);
22730 if (PyErr_Occurred()) SWIG_fail;
22731 }
22732 Py_INCREF(Py_None); resultobj = Py_None;
22733 return resultobj;
22734 fail:
22735 return NULL;
22736 }
22737
22738
22739 static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
22740 PyObject *resultobj = NULL;
22741 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22742 wxPoint *arg2 = 0 ;
22743 wxPoint temp2 ;
22744 PyObject * obj0 = 0 ;
22745 PyObject * obj1 = 0 ;
22746 char *kwnames[] = {
22747 (char *) "self",(char *) "pt", NULL
22748 };
22749
22750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
22751 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22752 if (SWIG_arg_fail(1)) SWIG_fail;
22753 {
22754 arg2 = &temp2;
22755 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22756 }
22757 {
22758 PyThreadState* __tstate = wxPyBeginAllowThreads();
22759 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
22760
22761 wxPyEndAllowThreads(__tstate);
22762 if (PyErr_Occurred()) SWIG_fail;
22763 }
22764 Py_INCREF(Py_None); resultobj = Py_None;
22765 return resultobj;
22766 fail:
22767 return NULL;
22768 }
22769
22770
22771 static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
22772 PyObject *resultobj = NULL;
22773 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22774 wxPaperSize arg2 ;
22775 PyObject * obj0 = 0 ;
22776 PyObject * obj1 = 0 ;
22777 char *kwnames[] = {
22778 (char *) "self",(char *) "id", NULL
22779 };
22780
22781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
22782 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22783 if (SWIG_arg_fail(1)) SWIG_fail;
22784 {
22785 arg2 = static_cast<wxPaperSize >(SWIG_As_int(obj1));
22786 if (SWIG_arg_fail(2)) SWIG_fail;
22787 }
22788 {
22789 PyThreadState* __tstate = wxPyBeginAllowThreads();
22790 (arg1)->SetPaperId(arg2);
22791
22792 wxPyEndAllowThreads(__tstate);
22793 if (PyErr_Occurred()) SWIG_fail;
22794 }
22795 Py_INCREF(Py_None); resultobj = Py_None;
22796 return resultobj;
22797 fail:
22798 return NULL;
22799 }
22800
22801
22802 static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
22803 PyObject *resultobj = NULL;
22804 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22805 wxSize *arg2 = 0 ;
22806 wxSize temp2 ;
22807 PyObject * obj0 = 0 ;
22808 PyObject * obj1 = 0 ;
22809 char *kwnames[] = {
22810 (char *) "self",(char *) "size", NULL
22811 };
22812
22813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
22814 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22815 if (SWIG_arg_fail(1)) SWIG_fail;
22816 {
22817 arg2 = &temp2;
22818 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22819 }
22820 {
22821 PyThreadState* __tstate = wxPyBeginAllowThreads();
22822 (arg1)->SetPaperSize((wxSize const &)*arg2);
22823
22824 wxPyEndAllowThreads(__tstate);
22825 if (PyErr_Occurred()) SWIG_fail;
22826 }
22827 Py_INCREF(Py_None); resultobj = Py_None;
22828 return resultobj;
22829 fail:
22830 return NULL;
22831 }
22832
22833
22834 static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
22835 PyObject *resultobj = NULL;
22836 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22837 wxPrintData *arg2 = 0 ;
22838 PyObject * obj0 = 0 ;
22839 PyObject * obj1 = 0 ;
22840 char *kwnames[] = {
22841 (char *) "self",(char *) "printData", NULL
22842 };
22843
22844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
22845 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22846 if (SWIG_arg_fail(1)) SWIG_fail;
22847 {
22848 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
22849 if (SWIG_arg_fail(2)) SWIG_fail;
22850 if (arg2 == NULL) {
22851 SWIG_null_ref("wxPrintData");
22852 }
22853 if (SWIG_arg_fail(2)) SWIG_fail;
22854 }
22855 {
22856 PyThreadState* __tstate = wxPyBeginAllowThreads();
22857 (arg1)->SetPrintData((wxPrintData const &)*arg2);
22858
22859 wxPyEndAllowThreads(__tstate);
22860 if (PyErr_Occurred()) SWIG_fail;
22861 }
22862 Py_INCREF(Py_None); resultobj = Py_None;
22863 return resultobj;
22864 fail:
22865 return NULL;
22866 }
22867
22868
22869 static PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
22870 PyObject *resultobj = NULL;
22871 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22872 PyObject * obj0 = 0 ;
22873 char *kwnames[] = {
22874 (char *) "self", NULL
22875 };
22876
22877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_CalculateIdFromPaperSize",kwnames,&obj0)) goto fail;
22878 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22879 if (SWIG_arg_fail(1)) SWIG_fail;
22880 {
22881 PyThreadState* __tstate = wxPyBeginAllowThreads();
22882 (arg1)->CalculateIdFromPaperSize();
22883
22884 wxPyEndAllowThreads(__tstate);
22885 if (PyErr_Occurred()) SWIG_fail;
22886 }
22887 Py_INCREF(Py_None); resultobj = Py_None;
22888 return resultobj;
22889 fail:
22890 return NULL;
22891 }
22892
22893
22894 static PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *, PyObject *args, PyObject *kwargs) {
22895 PyObject *resultobj = NULL;
22896 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22897 PyObject * obj0 = 0 ;
22898 char *kwnames[] = {
22899 (char *) "self", NULL
22900 };
22901
22902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_CalculatePaperSizeFromId",kwnames,&obj0)) goto fail;
22903 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22904 if (SWIG_arg_fail(1)) SWIG_fail;
22905 {
22906 PyThreadState* __tstate = wxPyBeginAllowThreads();
22907 (arg1)->CalculatePaperSizeFromId();
22908
22909 wxPyEndAllowThreads(__tstate);
22910 if (PyErr_Occurred()) SWIG_fail;
22911 }
22912 Py_INCREF(Py_None); resultobj = Py_None;
22913 return resultobj;
22914 fail:
22915 return NULL;
22916 }
22917
22918
22919 static PyObject * PageSetupDialogData_swigregister(PyObject *, PyObject *args) {
22920 PyObject *obj;
22921 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22922 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
22923 Py_INCREF(obj);
22924 return Py_BuildValue((char *)"");
22925 }
22926 static PyObject *_wrap_new_PageSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
22927 PyObject *resultobj = NULL;
22928 wxWindow *arg1 = (wxWindow *) 0 ;
22929 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
22930 wxPageSetupDialog *result;
22931 PyObject * obj0 = 0 ;
22932 PyObject * obj1 = 0 ;
22933 char *kwnames[] = {
22934 (char *) "parent",(char *) "data", NULL
22935 };
22936
22937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
22938 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
22939 if (SWIG_arg_fail(1)) SWIG_fail;
22940 if (obj1) {
22941 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22942 if (SWIG_arg_fail(2)) SWIG_fail;
22943 }
22944 {
22945 if (!wxPyCheckForApp()) SWIG_fail;
22946 PyThreadState* __tstate = wxPyBeginAllowThreads();
22947 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
22948
22949 wxPyEndAllowThreads(__tstate);
22950 if (PyErr_Occurred()) SWIG_fail;
22951 }
22952 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1);
22953 return resultobj;
22954 fail:
22955 return NULL;
22956 }
22957
22958
22959 static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *, PyObject *args, PyObject *kwargs) {
22960 PyObject *resultobj = NULL;
22961 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
22962 wxPageSetupDialogData *result;
22963 PyObject * obj0 = 0 ;
22964 char *kwnames[] = {
22965 (char *) "self", NULL
22966 };
22967
22968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
22969 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0);
22970 if (SWIG_arg_fail(1)) SWIG_fail;
22971 {
22972 PyThreadState* __tstate = wxPyBeginAllowThreads();
22973 {
22974 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
22975 result = (wxPageSetupDialogData *) &_result_ref;
22976 }
22977
22978 wxPyEndAllowThreads(__tstate);
22979 if (PyErr_Occurred()) SWIG_fail;
22980 }
22981 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
22982 return resultobj;
22983 fail:
22984 return NULL;
22985 }
22986
22987
22988 static PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
22989 PyObject *resultobj = NULL;
22990 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
22991 wxPageSetupDialogData *result;
22992 PyObject * obj0 = 0 ;
22993 char *kwnames[] = {
22994 (char *) "self", NULL
22995 };
22996
22997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupDialogData",kwnames,&obj0)) goto fail;
22998 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0);
22999 if (SWIG_arg_fail(1)) SWIG_fail;
23000 {
23001 PyThreadState* __tstate = wxPyBeginAllowThreads();
23002 {
23003 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
23004 result = (wxPageSetupDialogData *) &_result_ref;
23005 }
23006
23007 wxPyEndAllowThreads(__tstate);
23008 if (PyErr_Occurred()) SWIG_fail;
23009 }
23010 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
23011 return resultobj;
23012 fail:
23013 return NULL;
23014 }
23015
23016
23017 static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
23018 PyObject *resultobj = NULL;
23019 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
23020 int result;
23021 PyObject * obj0 = 0 ;
23022 char *kwnames[] = {
23023 (char *) "self", NULL
23024 };
23025
23026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
23027 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0);
23028 if (SWIG_arg_fail(1)) SWIG_fail;
23029 {
23030 PyThreadState* __tstate = wxPyBeginAllowThreads();
23031 result = (int)(arg1)->ShowModal();
23032
23033 wxPyEndAllowThreads(__tstate);
23034 if (PyErr_Occurred()) SWIG_fail;
23035 }
23036 {
23037 resultobj = SWIG_From_int(static_cast<int >(result));
23038 }
23039 return resultobj;
23040 fail:
23041 return NULL;
23042 }
23043
23044
23045 static PyObject * PageSetupDialog_swigregister(PyObject *, PyObject *args) {
23046 PyObject *obj;
23047 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23048 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
23049 Py_INCREF(obj);
23050 return Py_BuildValue((char *)"");
23051 }
23052 static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *, PyObject *args) {
23053 PyObject *resultobj = NULL;
23054 wxPrintDialogData *result;
23055
23056 if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail;
23057 {
23058 PyThreadState* __tstate = wxPyBeginAllowThreads();
23059 result = (wxPrintDialogData *)new wxPrintDialogData();
23060
23061 wxPyEndAllowThreads(__tstate);
23062 if (PyErr_Occurred()) SWIG_fail;
23063 }
23064 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
23065 return resultobj;
23066 fail:
23067 return NULL;
23068 }
23069
23070
23071 static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *, PyObject *args) {
23072 PyObject *resultobj = NULL;
23073 wxPrintData *arg1 = 0 ;
23074 wxPrintDialogData *result;
23075 PyObject * obj0 = 0 ;
23076
23077 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
23078 {
23079 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
23080 if (SWIG_arg_fail(1)) SWIG_fail;
23081 if (arg1 == NULL) {
23082 SWIG_null_ref("wxPrintData");
23083 }
23084 if (SWIG_arg_fail(1)) SWIG_fail;
23085 }
23086 {
23087 PyThreadState* __tstate = wxPyBeginAllowThreads();
23088 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
23089
23090 wxPyEndAllowThreads(__tstate);
23091 if (PyErr_Occurred()) SWIG_fail;
23092 }
23093 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
23094 return resultobj;
23095 fail:
23096 return NULL;
23097 }
23098
23099
23100 static PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *, PyObject *args) {
23101 PyObject *resultobj = NULL;
23102 wxPrintDialogData *arg1 = 0 ;
23103 wxPrintDialogData *result;
23104 PyObject * obj0 = 0 ;
23105
23106 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
23107 {
23108 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23109 if (SWIG_arg_fail(1)) SWIG_fail;
23110 if (arg1 == NULL) {
23111 SWIG_null_ref("wxPrintDialogData");
23112 }
23113 if (SWIG_arg_fail(1)) SWIG_fail;
23114 }
23115 {
23116 PyThreadState* __tstate = wxPyBeginAllowThreads();
23117 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
23118
23119 wxPyEndAllowThreads(__tstate);
23120 if (PyErr_Occurred()) SWIG_fail;
23121 }
23122 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
23123 return resultobj;
23124 fail:
23125 return NULL;
23126 }
23127
23128
23129 static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
23130 int argc;
23131 PyObject *argv[2];
23132 int ii;
23133
23134 argc = PyObject_Length(args);
23135 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
23136 argv[ii] = PyTuple_GetItem(args,ii);
23137 }
23138 if (argc == 0) {
23139 return _wrap_new_PrintDialogData__SWIG_0(self,args);
23140 }
23141 if (argc == 1) {
23142 int _v;
23143 {
23144 void *ptr = 0;
23145 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
23146 _v = 0;
23147 PyErr_Clear();
23148 } else {
23149 _v = (ptr != 0);
23150 }
23151 }
23152 if (_v) {
23153 return _wrap_new_PrintDialogData__SWIG_1(self,args);
23154 }
23155 }
23156 if (argc == 1) {
23157 int _v;
23158 {
23159 void *ptr = 0;
23160 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
23161 _v = 0;
23162 PyErr_Clear();
23163 } else {
23164 _v = (ptr != 0);
23165 }
23166 }
23167 if (_v) {
23168 return _wrap_new_PrintDialogData__SWIG_2(self,args);
23169 }
23170 }
23171
23172 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
23173 return NULL;
23174 }
23175
23176
23177 static PyObject *_wrap_delete_PrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
23178 PyObject *resultobj = NULL;
23179 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23180 PyObject * obj0 = 0 ;
23181 char *kwnames[] = {
23182 (char *) "self", NULL
23183 };
23184
23185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
23186 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23187 if (SWIG_arg_fail(1)) SWIG_fail;
23188 {
23189 PyThreadState* __tstate = wxPyBeginAllowThreads();
23190 delete arg1;
23191
23192 wxPyEndAllowThreads(__tstate);
23193 if (PyErr_Occurred()) SWIG_fail;
23194 }
23195 Py_INCREF(Py_None); resultobj = Py_None;
23196 return resultobj;
23197 fail:
23198 return NULL;
23199 }
23200
23201
23202 static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
23203 PyObject *resultobj = NULL;
23204 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23205 int result;
23206 PyObject * obj0 = 0 ;
23207 char *kwnames[] = {
23208 (char *) "self", NULL
23209 };
23210
23211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
23212 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23213 if (SWIG_arg_fail(1)) SWIG_fail;
23214 {
23215 PyThreadState* __tstate = wxPyBeginAllowThreads();
23216 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
23217
23218 wxPyEndAllowThreads(__tstate);
23219 if (PyErr_Occurred()) SWIG_fail;
23220 }
23221 {
23222 resultobj = SWIG_From_int(static_cast<int >(result));
23223 }
23224 return resultobj;
23225 fail:
23226 return NULL;
23227 }
23228
23229
23230 static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
23231 PyObject *resultobj = NULL;
23232 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23233 int result;
23234 PyObject * obj0 = 0 ;
23235 char *kwnames[] = {
23236 (char *) "self", NULL
23237 };
23238
23239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
23240 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23241 if (SWIG_arg_fail(1)) SWIG_fail;
23242 {
23243 PyThreadState* __tstate = wxPyBeginAllowThreads();
23244 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
23245
23246 wxPyEndAllowThreads(__tstate);
23247 if (PyErr_Occurred()) SWIG_fail;
23248 }
23249 {
23250 resultobj = SWIG_From_int(static_cast<int >(result));
23251 }
23252 return resultobj;
23253 fail:
23254 return NULL;
23255 }
23256
23257
23258 static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
23259 PyObject *resultobj = NULL;
23260 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23261 int result;
23262 PyObject * obj0 = 0 ;
23263 char *kwnames[] = {
23264 (char *) "self", NULL
23265 };
23266
23267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
23268 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23269 if (SWIG_arg_fail(1)) SWIG_fail;
23270 {
23271 PyThreadState* __tstate = wxPyBeginAllowThreads();
23272 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
23273
23274 wxPyEndAllowThreads(__tstate);
23275 if (PyErr_Occurred()) SWIG_fail;
23276 }
23277 {
23278 resultobj = SWIG_From_int(static_cast<int >(result));
23279 }
23280 return resultobj;
23281 fail:
23282 return NULL;
23283 }
23284
23285
23286 static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
23287 PyObject *resultobj = NULL;
23288 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23289 int result;
23290 PyObject * obj0 = 0 ;
23291 char *kwnames[] = {
23292 (char *) "self", NULL
23293 };
23294
23295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
23296 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23297 if (SWIG_arg_fail(1)) SWIG_fail;
23298 {
23299 PyThreadState* __tstate = wxPyBeginAllowThreads();
23300 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
23301
23302 wxPyEndAllowThreads(__tstate);
23303 if (PyErr_Occurred()) SWIG_fail;
23304 }
23305 {
23306 resultobj = SWIG_From_int(static_cast<int >(result));
23307 }
23308 return resultobj;
23309 fail:
23310 return NULL;
23311 }
23312
23313
23314 static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
23315 PyObject *resultobj = NULL;
23316 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23317 int result;
23318 PyObject * obj0 = 0 ;
23319 char *kwnames[] = {
23320 (char *) "self", NULL
23321 };
23322
23323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
23324 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23325 if (SWIG_arg_fail(1)) SWIG_fail;
23326 {
23327 PyThreadState* __tstate = wxPyBeginAllowThreads();
23328 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
23329
23330 wxPyEndAllowThreads(__tstate);
23331 if (PyErr_Occurred()) SWIG_fail;
23332 }
23333 {
23334 resultobj = SWIG_From_int(static_cast<int >(result));
23335 }
23336 return resultobj;
23337 fail:
23338 return NULL;
23339 }
23340
23341
23342 static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
23343 PyObject *resultobj = NULL;
23344 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23345 bool result;
23346 PyObject * obj0 = 0 ;
23347 char *kwnames[] = {
23348 (char *) "self", NULL
23349 };
23350
23351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
23352 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23353 if (SWIG_arg_fail(1)) SWIG_fail;
23354 {
23355 PyThreadState* __tstate = wxPyBeginAllowThreads();
23356 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
23357
23358 wxPyEndAllowThreads(__tstate);
23359 if (PyErr_Occurred()) SWIG_fail;
23360 }
23361 {
23362 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23363 }
23364 return resultobj;
23365 fail:
23366 return NULL;
23367 }
23368
23369
23370 static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
23371 PyObject *resultobj = NULL;
23372 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23373 bool result;
23374 PyObject * obj0 = 0 ;
23375 char *kwnames[] = {
23376 (char *) "self", NULL
23377 };
23378
23379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
23380 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23381 if (SWIG_arg_fail(1)) SWIG_fail;
23382 {
23383 PyThreadState* __tstate = wxPyBeginAllowThreads();
23384 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
23385
23386 wxPyEndAllowThreads(__tstate);
23387 if (PyErr_Occurred()) SWIG_fail;
23388 }
23389 {
23390 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23391 }
23392 return resultobj;
23393 fail:
23394 return NULL;
23395 }
23396
23397
23398 static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
23399 PyObject *resultobj = NULL;
23400 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23401 bool result;
23402 PyObject * obj0 = 0 ;
23403 char *kwnames[] = {
23404 (char *) "self", NULL
23405 };
23406
23407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
23408 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23409 if (SWIG_arg_fail(1)) SWIG_fail;
23410 {
23411 PyThreadState* __tstate = wxPyBeginAllowThreads();
23412 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
23413
23414 wxPyEndAllowThreads(__tstate);
23415 if (PyErr_Occurred()) SWIG_fail;
23416 }
23417 {
23418 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23419 }
23420 return resultobj;
23421 fail:
23422 return NULL;
23423 }
23424
23425
23426 static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
23427 PyObject *resultobj = NULL;
23428 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23429 bool result;
23430 PyObject * obj0 = 0 ;
23431 char *kwnames[] = {
23432 (char *) "self", NULL
23433 };
23434
23435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
23436 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23437 if (SWIG_arg_fail(1)) SWIG_fail;
23438 {
23439 PyThreadState* __tstate = wxPyBeginAllowThreads();
23440 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
23441
23442 wxPyEndAllowThreads(__tstate);
23443 if (PyErr_Occurred()) SWIG_fail;
23444 }
23445 {
23446 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23447 }
23448 return resultobj;
23449 fail:
23450 return NULL;
23451 }
23452
23453
23454 static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
23455 PyObject *resultobj = NULL;
23456 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23457 int arg2 ;
23458 PyObject * obj0 = 0 ;
23459 PyObject * obj1 = 0 ;
23460 char *kwnames[] = {
23461 (char *) "self",(char *) "v", NULL
23462 };
23463
23464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
23465 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23466 if (SWIG_arg_fail(1)) SWIG_fail;
23467 {
23468 arg2 = static_cast<int >(SWIG_As_int(obj1));
23469 if (SWIG_arg_fail(2)) SWIG_fail;
23470 }
23471 {
23472 PyThreadState* __tstate = wxPyBeginAllowThreads();
23473 (arg1)->SetFromPage(arg2);
23474
23475 wxPyEndAllowThreads(__tstate);
23476 if (PyErr_Occurred()) SWIG_fail;
23477 }
23478 Py_INCREF(Py_None); resultobj = Py_None;
23479 return resultobj;
23480 fail:
23481 return NULL;
23482 }
23483
23484
23485 static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
23486 PyObject *resultobj = NULL;
23487 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23488 int arg2 ;
23489 PyObject * obj0 = 0 ;
23490 PyObject * obj1 = 0 ;
23491 char *kwnames[] = {
23492 (char *) "self",(char *) "v", NULL
23493 };
23494
23495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
23496 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23497 if (SWIG_arg_fail(1)) SWIG_fail;
23498 {
23499 arg2 = static_cast<int >(SWIG_As_int(obj1));
23500 if (SWIG_arg_fail(2)) SWIG_fail;
23501 }
23502 {
23503 PyThreadState* __tstate = wxPyBeginAllowThreads();
23504 (arg1)->SetToPage(arg2);
23505
23506 wxPyEndAllowThreads(__tstate);
23507 if (PyErr_Occurred()) SWIG_fail;
23508 }
23509 Py_INCREF(Py_None); resultobj = Py_None;
23510 return resultobj;
23511 fail:
23512 return NULL;
23513 }
23514
23515
23516 static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
23517 PyObject *resultobj = NULL;
23518 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23519 int arg2 ;
23520 PyObject * obj0 = 0 ;
23521 PyObject * obj1 = 0 ;
23522 char *kwnames[] = {
23523 (char *) "self",(char *) "v", NULL
23524 };
23525
23526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
23527 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23528 if (SWIG_arg_fail(1)) SWIG_fail;
23529 {
23530 arg2 = static_cast<int >(SWIG_As_int(obj1));
23531 if (SWIG_arg_fail(2)) SWIG_fail;
23532 }
23533 {
23534 PyThreadState* __tstate = wxPyBeginAllowThreads();
23535 (arg1)->SetMinPage(arg2);
23536
23537 wxPyEndAllowThreads(__tstate);
23538 if (PyErr_Occurred()) SWIG_fail;
23539 }
23540 Py_INCREF(Py_None); resultobj = Py_None;
23541 return resultobj;
23542 fail:
23543 return NULL;
23544 }
23545
23546
23547 static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
23548 PyObject *resultobj = NULL;
23549 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23550 int arg2 ;
23551 PyObject * obj0 = 0 ;
23552 PyObject * obj1 = 0 ;
23553 char *kwnames[] = {
23554 (char *) "self",(char *) "v", NULL
23555 };
23556
23557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
23558 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23559 if (SWIG_arg_fail(1)) SWIG_fail;
23560 {
23561 arg2 = static_cast<int >(SWIG_As_int(obj1));
23562 if (SWIG_arg_fail(2)) SWIG_fail;
23563 }
23564 {
23565 PyThreadState* __tstate = wxPyBeginAllowThreads();
23566 (arg1)->SetMaxPage(arg2);
23567
23568 wxPyEndAllowThreads(__tstate);
23569 if (PyErr_Occurred()) SWIG_fail;
23570 }
23571 Py_INCREF(Py_None); resultobj = Py_None;
23572 return resultobj;
23573 fail:
23574 return NULL;
23575 }
23576
23577
23578 static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
23579 PyObject *resultobj = NULL;
23580 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23581 int arg2 ;
23582 PyObject * obj0 = 0 ;
23583 PyObject * obj1 = 0 ;
23584 char *kwnames[] = {
23585 (char *) "self",(char *) "v", NULL
23586 };
23587
23588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
23589 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23590 if (SWIG_arg_fail(1)) SWIG_fail;
23591 {
23592 arg2 = static_cast<int >(SWIG_As_int(obj1));
23593 if (SWIG_arg_fail(2)) SWIG_fail;
23594 }
23595 {
23596 PyThreadState* __tstate = wxPyBeginAllowThreads();
23597 (arg1)->SetNoCopies(arg2);
23598
23599 wxPyEndAllowThreads(__tstate);
23600 if (PyErr_Occurred()) SWIG_fail;
23601 }
23602 Py_INCREF(Py_None); resultobj = Py_None;
23603 return resultobj;
23604 fail:
23605 return NULL;
23606 }
23607
23608
23609 static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
23610 PyObject *resultobj = NULL;
23611 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23612 bool arg2 ;
23613 PyObject * obj0 = 0 ;
23614 PyObject * obj1 = 0 ;
23615 char *kwnames[] = {
23616 (char *) "self",(char *) "flag", NULL
23617 };
23618
23619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
23620 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23621 if (SWIG_arg_fail(1)) SWIG_fail;
23622 {
23623 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
23624 if (SWIG_arg_fail(2)) SWIG_fail;
23625 }
23626 {
23627 PyThreadState* __tstate = wxPyBeginAllowThreads();
23628 (arg1)->SetAllPages(arg2);
23629
23630 wxPyEndAllowThreads(__tstate);
23631 if (PyErr_Occurred()) SWIG_fail;
23632 }
23633 Py_INCREF(Py_None); resultobj = Py_None;
23634 return resultobj;
23635 fail:
23636 return NULL;
23637 }
23638
23639
23640 static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
23641 PyObject *resultobj = NULL;
23642 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23643 bool arg2 ;
23644 PyObject * obj0 = 0 ;
23645 PyObject * obj1 = 0 ;
23646 char *kwnames[] = {
23647 (char *) "self",(char *) "flag", NULL
23648 };
23649
23650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
23651 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23652 if (SWIG_arg_fail(1)) SWIG_fail;
23653 {
23654 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
23655 if (SWIG_arg_fail(2)) SWIG_fail;
23656 }
23657 {
23658 PyThreadState* __tstate = wxPyBeginAllowThreads();
23659 (arg1)->SetSelection(arg2);
23660
23661 wxPyEndAllowThreads(__tstate);
23662 if (PyErr_Occurred()) SWIG_fail;
23663 }
23664 Py_INCREF(Py_None); resultobj = Py_None;
23665 return resultobj;
23666 fail:
23667 return NULL;
23668 }
23669
23670
23671 static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
23672 PyObject *resultobj = NULL;
23673 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23674 bool arg2 ;
23675 PyObject * obj0 = 0 ;
23676 PyObject * obj1 = 0 ;
23677 char *kwnames[] = {
23678 (char *) "self",(char *) "flag", NULL
23679 };
23680
23681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
23682 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23683 if (SWIG_arg_fail(1)) SWIG_fail;
23684 {
23685 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
23686 if (SWIG_arg_fail(2)) SWIG_fail;
23687 }
23688 {
23689 PyThreadState* __tstate = wxPyBeginAllowThreads();
23690 (arg1)->SetCollate(arg2);
23691
23692 wxPyEndAllowThreads(__tstate);
23693 if (PyErr_Occurred()) SWIG_fail;
23694 }
23695 Py_INCREF(Py_None); resultobj = Py_None;
23696 return resultobj;
23697 fail:
23698 return NULL;
23699 }
23700
23701
23702 static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
23703 PyObject *resultobj = NULL;
23704 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23705 bool arg2 ;
23706 PyObject * obj0 = 0 ;
23707 PyObject * obj1 = 0 ;
23708 char *kwnames[] = {
23709 (char *) "self",(char *) "flag", NULL
23710 };
23711
23712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
23713 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23714 if (SWIG_arg_fail(1)) SWIG_fail;
23715 {
23716 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
23717 if (SWIG_arg_fail(2)) SWIG_fail;
23718 }
23719 {
23720 PyThreadState* __tstate = wxPyBeginAllowThreads();
23721 (arg1)->SetPrintToFile(arg2);
23722
23723 wxPyEndAllowThreads(__tstate);
23724 if (PyErr_Occurred()) SWIG_fail;
23725 }
23726 Py_INCREF(Py_None); resultobj = Py_None;
23727 return resultobj;
23728 fail:
23729 return NULL;
23730 }
23731
23732
23733 static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
23734 PyObject *resultobj = NULL;
23735 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23736 bool arg2 ;
23737 PyObject * obj0 = 0 ;
23738 PyObject * obj1 = 0 ;
23739 char *kwnames[] = {
23740 (char *) "self",(char *) "flag", NULL
23741 };
23742
23743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
23744 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23745 if (SWIG_arg_fail(1)) SWIG_fail;
23746 {
23747 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
23748 if (SWIG_arg_fail(2)) SWIG_fail;
23749 }
23750 {
23751 PyThreadState* __tstate = wxPyBeginAllowThreads();
23752 (arg1)->EnablePrintToFile(arg2);
23753
23754 wxPyEndAllowThreads(__tstate);
23755 if (PyErr_Occurred()) SWIG_fail;
23756 }
23757 Py_INCREF(Py_None); resultobj = Py_None;
23758 return resultobj;
23759 fail:
23760 return NULL;
23761 }
23762
23763
23764 static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
23765 PyObject *resultobj = NULL;
23766 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23767 bool arg2 ;
23768 PyObject * obj0 = 0 ;
23769 PyObject * obj1 = 0 ;
23770 char *kwnames[] = {
23771 (char *) "self",(char *) "flag", NULL
23772 };
23773
23774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
23775 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23776 if (SWIG_arg_fail(1)) SWIG_fail;
23777 {
23778 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
23779 if (SWIG_arg_fail(2)) SWIG_fail;
23780 }
23781 {
23782 PyThreadState* __tstate = wxPyBeginAllowThreads();
23783 (arg1)->EnableSelection(arg2);
23784
23785 wxPyEndAllowThreads(__tstate);
23786 if (PyErr_Occurred()) SWIG_fail;
23787 }
23788 Py_INCREF(Py_None); resultobj = Py_None;
23789 return resultobj;
23790 fail:
23791 return NULL;
23792 }
23793
23794
23795 static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
23796 PyObject *resultobj = NULL;
23797 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23798 bool arg2 ;
23799 PyObject * obj0 = 0 ;
23800 PyObject * obj1 = 0 ;
23801 char *kwnames[] = {
23802 (char *) "self",(char *) "flag", NULL
23803 };
23804
23805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
23806 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23807 if (SWIG_arg_fail(1)) SWIG_fail;
23808 {
23809 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
23810 if (SWIG_arg_fail(2)) SWIG_fail;
23811 }
23812 {
23813 PyThreadState* __tstate = wxPyBeginAllowThreads();
23814 (arg1)->EnablePageNumbers(arg2);
23815
23816 wxPyEndAllowThreads(__tstate);
23817 if (PyErr_Occurred()) SWIG_fail;
23818 }
23819 Py_INCREF(Py_None); resultobj = Py_None;
23820 return resultobj;
23821 fail:
23822 return NULL;
23823 }
23824
23825
23826 static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
23827 PyObject *resultobj = NULL;
23828 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23829 bool arg2 ;
23830 PyObject * obj0 = 0 ;
23831 PyObject * obj1 = 0 ;
23832 char *kwnames[] = {
23833 (char *) "self",(char *) "flag", NULL
23834 };
23835
23836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
23837 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23838 if (SWIG_arg_fail(1)) SWIG_fail;
23839 {
23840 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
23841 if (SWIG_arg_fail(2)) SWIG_fail;
23842 }
23843 {
23844 PyThreadState* __tstate = wxPyBeginAllowThreads();
23845 (arg1)->EnableHelp(arg2);
23846
23847 wxPyEndAllowThreads(__tstate);
23848 if (PyErr_Occurred()) SWIG_fail;
23849 }
23850 Py_INCREF(Py_None); resultobj = Py_None;
23851 return resultobj;
23852 fail:
23853 return NULL;
23854 }
23855
23856
23857 static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
23858 PyObject *resultobj = NULL;
23859 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23860 bool result;
23861 PyObject * obj0 = 0 ;
23862 char *kwnames[] = {
23863 (char *) "self", NULL
23864 };
23865
23866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
23867 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23868 if (SWIG_arg_fail(1)) SWIG_fail;
23869 {
23870 PyThreadState* __tstate = wxPyBeginAllowThreads();
23871 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
23872
23873 wxPyEndAllowThreads(__tstate);
23874 if (PyErr_Occurred()) SWIG_fail;
23875 }
23876 {
23877 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23878 }
23879 return resultobj;
23880 fail:
23881 return NULL;
23882 }
23883
23884
23885 static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
23886 PyObject *resultobj = NULL;
23887 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23888 bool result;
23889 PyObject * obj0 = 0 ;
23890 char *kwnames[] = {
23891 (char *) "self", NULL
23892 };
23893
23894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
23895 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23896 if (SWIG_arg_fail(1)) SWIG_fail;
23897 {
23898 PyThreadState* __tstate = wxPyBeginAllowThreads();
23899 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
23900
23901 wxPyEndAllowThreads(__tstate);
23902 if (PyErr_Occurred()) SWIG_fail;
23903 }
23904 {
23905 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23906 }
23907 return resultobj;
23908 fail:
23909 return NULL;
23910 }
23911
23912
23913 static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
23914 PyObject *resultobj = NULL;
23915 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23916 bool result;
23917 PyObject * obj0 = 0 ;
23918 char *kwnames[] = {
23919 (char *) "self", NULL
23920 };
23921
23922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
23923 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23924 if (SWIG_arg_fail(1)) SWIG_fail;
23925 {
23926 PyThreadState* __tstate = wxPyBeginAllowThreads();
23927 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
23928
23929 wxPyEndAllowThreads(__tstate);
23930 if (PyErr_Occurred()) SWIG_fail;
23931 }
23932 {
23933 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23934 }
23935 return resultobj;
23936 fail:
23937 return NULL;
23938 }
23939
23940
23941 static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
23942 PyObject *resultobj = NULL;
23943 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23944 bool result;
23945 PyObject * obj0 = 0 ;
23946 char *kwnames[] = {
23947 (char *) "self", NULL
23948 };
23949
23950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
23951 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23952 if (SWIG_arg_fail(1)) SWIG_fail;
23953 {
23954 PyThreadState* __tstate = wxPyBeginAllowThreads();
23955 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
23956
23957 wxPyEndAllowThreads(__tstate);
23958 if (PyErr_Occurred()) SWIG_fail;
23959 }
23960 {
23961 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23962 }
23963 return resultobj;
23964 fail:
23965 return NULL;
23966 }
23967
23968
23969 static PyObject *_wrap_PrintDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
23970 PyObject *resultobj = NULL;
23971 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23972 bool result;
23973 PyObject * obj0 = 0 ;
23974 char *kwnames[] = {
23975 (char *) "self", NULL
23976 };
23977
23978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
23979 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23980 if (SWIG_arg_fail(1)) SWIG_fail;
23981 {
23982 PyThreadState* __tstate = wxPyBeginAllowThreads();
23983 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
23984
23985 wxPyEndAllowThreads(__tstate);
23986 if (PyErr_Occurred()) SWIG_fail;
23987 }
23988 {
23989 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23990 }
23991 return resultobj;
23992 fail:
23993 return NULL;
23994 }
23995
23996
23997 static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
23998 PyObject *resultobj = NULL;
23999 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
24000 wxPrintData *result;
24001 PyObject * obj0 = 0 ;
24002 char *kwnames[] = {
24003 (char *) "self", NULL
24004 };
24005
24006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
24007 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24008 if (SWIG_arg_fail(1)) SWIG_fail;
24009 {
24010 PyThreadState* __tstate = wxPyBeginAllowThreads();
24011 {
24012 wxPrintData &_result_ref = (arg1)->GetPrintData();
24013 result = (wxPrintData *) &_result_ref;
24014 }
24015
24016 wxPyEndAllowThreads(__tstate);
24017 if (PyErr_Occurred()) SWIG_fail;
24018 }
24019 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
24020 return resultobj;
24021 fail:
24022 return NULL;
24023 }
24024
24025
24026 static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
24027 PyObject *resultobj = NULL;
24028 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
24029 wxPrintData *arg2 = 0 ;
24030 PyObject * obj0 = 0 ;
24031 PyObject * obj1 = 0 ;
24032 char *kwnames[] = {
24033 (char *) "self",(char *) "printData", NULL
24034 };
24035
24036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
24037 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24038 if (SWIG_arg_fail(1)) SWIG_fail;
24039 {
24040 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
24041 if (SWIG_arg_fail(2)) SWIG_fail;
24042 if (arg2 == NULL) {
24043 SWIG_null_ref("wxPrintData");
24044 }
24045 if (SWIG_arg_fail(2)) SWIG_fail;
24046 }
24047 {
24048 PyThreadState* __tstate = wxPyBeginAllowThreads();
24049 (arg1)->SetPrintData((wxPrintData const &)*arg2);
24050
24051 wxPyEndAllowThreads(__tstate);
24052 if (PyErr_Occurred()) SWIG_fail;
24053 }
24054 Py_INCREF(Py_None); resultobj = Py_None;
24055 return resultobj;
24056 fail:
24057 return NULL;
24058 }
24059
24060
24061 static PyObject * PrintDialogData_swigregister(PyObject *, PyObject *args) {
24062 PyObject *obj;
24063 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24064 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
24065 Py_INCREF(obj);
24066 return Py_BuildValue((char *)"");
24067 }
24068 static PyObject *_wrap_new_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
24069 PyObject *resultobj = NULL;
24070 wxWindow *arg1 = (wxWindow *) 0 ;
24071 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
24072 wxPrintDialog *result;
24073 PyObject * obj0 = 0 ;
24074 PyObject * obj1 = 0 ;
24075 char *kwnames[] = {
24076 (char *) "parent",(char *) "data", NULL
24077 };
24078
24079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
24080 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24081 if (SWIG_arg_fail(1)) SWIG_fail;
24082 if (obj1) {
24083 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24084 if (SWIG_arg_fail(2)) SWIG_fail;
24085 }
24086 {
24087 if (!wxPyCheckForApp()) SWIG_fail;
24088 PyThreadState* __tstate = wxPyBeginAllowThreads();
24089 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
24090
24091 wxPyEndAllowThreads(__tstate);
24092 if (PyErr_Occurred()) SWIG_fail;
24093 }
24094 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1);
24095 return resultobj;
24096 fail:
24097 return NULL;
24098 }
24099
24100
24101 static PyObject *_wrap_PrintDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
24102 PyObject *resultobj = NULL;
24103 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
24104 int result;
24105 PyObject * obj0 = 0 ;
24106 char *kwnames[] = {
24107 (char *) "self", NULL
24108 };
24109
24110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
24111 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
24112 if (SWIG_arg_fail(1)) SWIG_fail;
24113 {
24114 PyThreadState* __tstate = wxPyBeginAllowThreads();
24115 result = (int)(arg1)->ShowModal();
24116
24117 wxPyEndAllowThreads(__tstate);
24118 if (PyErr_Occurred()) SWIG_fail;
24119 }
24120 {
24121 resultobj = SWIG_From_int(static_cast<int >(result));
24122 }
24123 return resultobj;
24124 fail:
24125 return NULL;
24126 }
24127
24128
24129 static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
24130 PyObject *resultobj = NULL;
24131 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
24132 wxPrintDialogData *result;
24133 PyObject * obj0 = 0 ;
24134 char *kwnames[] = {
24135 (char *) "self", NULL
24136 };
24137
24138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
24139 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
24140 if (SWIG_arg_fail(1)) SWIG_fail;
24141 {
24142 PyThreadState* __tstate = wxPyBeginAllowThreads();
24143 {
24144 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
24145 result = (wxPrintDialogData *) &_result_ref;
24146 }
24147
24148 wxPyEndAllowThreads(__tstate);
24149 if (PyErr_Occurred()) SWIG_fail;
24150 }
24151 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
24152 return resultobj;
24153 fail:
24154 return NULL;
24155 }
24156
24157
24158 static PyObject *_wrap_PrintDialog_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
24159 PyObject *resultobj = NULL;
24160 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
24161 wxPrintData *result;
24162 PyObject * obj0 = 0 ;
24163 char *kwnames[] = {
24164 (char *) "self", NULL
24165 };
24166
24167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintData",kwnames,&obj0)) goto fail;
24168 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
24169 if (SWIG_arg_fail(1)) SWIG_fail;
24170 {
24171 PyThreadState* __tstate = wxPyBeginAllowThreads();
24172 {
24173 wxPrintData &_result_ref = (arg1)->GetPrintData();
24174 result = (wxPrintData *) &_result_ref;
24175 }
24176
24177 wxPyEndAllowThreads(__tstate);
24178 if (PyErr_Occurred()) SWIG_fail;
24179 }
24180 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
24181 return resultobj;
24182 fail:
24183 return NULL;
24184 }
24185
24186
24187 static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *, PyObject *args, PyObject *kwargs) {
24188 PyObject *resultobj = NULL;
24189 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
24190 wxDC *result;
24191 PyObject * obj0 = 0 ;
24192 char *kwnames[] = {
24193 (char *) "self", NULL
24194 };
24195
24196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
24197 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
24198 if (SWIG_arg_fail(1)) SWIG_fail;
24199 {
24200 PyThreadState* __tstate = wxPyBeginAllowThreads();
24201 result = (wxDC *)(arg1)->GetPrintDC();
24202
24203 wxPyEndAllowThreads(__tstate);
24204 if (PyErr_Occurred()) SWIG_fail;
24205 }
24206 {
24207 resultobj = wxPyMake_wxObject(result, (bool)1);
24208 }
24209 return resultobj;
24210 fail:
24211 return NULL;
24212 }
24213
24214
24215 static PyObject * PrintDialog_swigregister(PyObject *, PyObject *args) {
24216 PyObject *obj;
24217 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24218 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
24219 Py_INCREF(obj);
24220 return Py_BuildValue((char *)"");
24221 }
24222 static PyObject *_wrap_new_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
24223 PyObject *resultobj = NULL;
24224 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
24225 wxPrinter *result;
24226 PyObject * obj0 = 0 ;
24227 char *kwnames[] = {
24228 (char *) "data", NULL
24229 };
24230
24231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
24232 if (obj0) {
24233 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24234 if (SWIG_arg_fail(1)) SWIG_fail;
24235 }
24236 {
24237 if (!wxPyCheckForApp()) SWIG_fail;
24238 PyThreadState* __tstate = wxPyBeginAllowThreads();
24239 result = (wxPrinter *)new wxPrinter(arg1);
24240
24241 wxPyEndAllowThreads(__tstate);
24242 if (PyErr_Occurred()) SWIG_fail;
24243 }
24244 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1);
24245 return resultobj;
24246 fail:
24247 return NULL;
24248 }
24249
24250
24251 static PyObject *_wrap_delete_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
24252 PyObject *resultobj = NULL;
24253 wxPrinter *arg1 = (wxPrinter *) 0 ;
24254 PyObject * obj0 = 0 ;
24255 char *kwnames[] = {
24256 (char *) "self", NULL
24257 };
24258
24259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
24260 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24261 if (SWIG_arg_fail(1)) SWIG_fail;
24262 {
24263 PyThreadState* __tstate = wxPyBeginAllowThreads();
24264 delete arg1;
24265
24266 wxPyEndAllowThreads(__tstate);
24267 if (PyErr_Occurred()) SWIG_fail;
24268 }
24269 Py_INCREF(Py_None); resultobj = Py_None;
24270 return resultobj;
24271 fail:
24272 return NULL;
24273 }
24274
24275
24276 static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *, PyObject *args, PyObject *kwargs) {
24277 PyObject *resultobj = NULL;
24278 wxPrinter *arg1 = (wxPrinter *) 0 ;
24279 wxWindow *arg2 = (wxWindow *) 0 ;
24280 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
24281 wxWindow *result;
24282 PyObject * obj0 = 0 ;
24283 PyObject * obj1 = 0 ;
24284 PyObject * obj2 = 0 ;
24285 char *kwnames[] = {
24286 (char *) "self",(char *) "parent",(char *) "printout", NULL
24287 };
24288
24289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
24290 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24291 if (SWIG_arg_fail(1)) SWIG_fail;
24292 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24293 if (SWIG_arg_fail(2)) SWIG_fail;
24294 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24295 if (SWIG_arg_fail(3)) SWIG_fail;
24296 {
24297 PyThreadState* __tstate = wxPyBeginAllowThreads();
24298 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
24299
24300 wxPyEndAllowThreads(__tstate);
24301 if (PyErr_Occurred()) SWIG_fail;
24302 }
24303 {
24304 resultobj = wxPyMake_wxObject(result, 0);
24305 }
24306 return resultobj;
24307 fail:
24308 return NULL;
24309 }
24310
24311
24312 static PyObject *_wrap_Printer_ReportError(PyObject *, PyObject *args, PyObject *kwargs) {
24313 PyObject *resultobj = NULL;
24314 wxPrinter *arg1 = (wxPrinter *) 0 ;
24315 wxWindow *arg2 = (wxWindow *) 0 ;
24316 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
24317 wxString *arg4 = 0 ;
24318 bool temp4 = false ;
24319 PyObject * obj0 = 0 ;
24320 PyObject * obj1 = 0 ;
24321 PyObject * obj2 = 0 ;
24322 PyObject * obj3 = 0 ;
24323 char *kwnames[] = {
24324 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
24325 };
24326
24327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24328 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24329 if (SWIG_arg_fail(1)) SWIG_fail;
24330 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24331 if (SWIG_arg_fail(2)) SWIG_fail;
24332 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24333 if (SWIG_arg_fail(3)) SWIG_fail;
24334 {
24335 arg4 = wxString_in_helper(obj3);
24336 if (arg4 == NULL) SWIG_fail;
24337 temp4 = true;
24338 }
24339 {
24340 PyThreadState* __tstate = wxPyBeginAllowThreads();
24341 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
24342
24343 wxPyEndAllowThreads(__tstate);
24344 if (PyErr_Occurred()) SWIG_fail;
24345 }
24346 Py_INCREF(Py_None); resultobj = Py_None;
24347 {
24348 if (temp4)
24349 delete arg4;
24350 }
24351 return resultobj;
24352 fail:
24353 {
24354 if (temp4)
24355 delete arg4;
24356 }
24357 return NULL;
24358 }
24359
24360
24361 static PyObject *_wrap_Printer_Setup(PyObject *, PyObject *args, PyObject *kwargs) {
24362 PyObject *resultobj = NULL;
24363 wxPrinter *arg1 = (wxPrinter *) 0 ;
24364 wxWindow *arg2 = (wxWindow *) 0 ;
24365 bool result;
24366 PyObject * obj0 = 0 ;
24367 PyObject * obj1 = 0 ;
24368 char *kwnames[] = {
24369 (char *) "self",(char *) "parent", NULL
24370 };
24371
24372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
24373 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24374 if (SWIG_arg_fail(1)) SWIG_fail;
24375 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24376 if (SWIG_arg_fail(2)) SWIG_fail;
24377 {
24378 PyThreadState* __tstate = wxPyBeginAllowThreads();
24379 result = (bool)(arg1)->Setup(arg2);
24380
24381 wxPyEndAllowThreads(__tstate);
24382 if (PyErr_Occurred()) SWIG_fail;
24383 }
24384 {
24385 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24386 }
24387 return resultobj;
24388 fail:
24389 return NULL;
24390 }
24391
24392
24393 static PyObject *_wrap_Printer_Print(PyObject *, PyObject *args, PyObject *kwargs) {
24394 PyObject *resultobj = NULL;
24395 wxPrinter *arg1 = (wxPrinter *) 0 ;
24396 wxWindow *arg2 = (wxWindow *) 0 ;
24397 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
24398 bool arg4 = (bool) true ;
24399 bool result;
24400 PyObject * obj0 = 0 ;
24401 PyObject * obj1 = 0 ;
24402 PyObject * obj2 = 0 ;
24403 PyObject * obj3 = 0 ;
24404 char *kwnames[] = {
24405 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
24406 };
24407
24408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24409 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24410 if (SWIG_arg_fail(1)) SWIG_fail;
24411 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24412 if (SWIG_arg_fail(2)) SWIG_fail;
24413 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24414 if (SWIG_arg_fail(3)) SWIG_fail;
24415 if (obj3) {
24416 {
24417 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
24418 if (SWIG_arg_fail(4)) SWIG_fail;
24419 }
24420 }
24421 {
24422 PyThreadState* __tstate = wxPyBeginAllowThreads();
24423 result = (bool)(arg1)->Print(arg2,arg3,arg4);
24424
24425 wxPyEndAllowThreads(__tstate);
24426 if (PyErr_Occurred()) SWIG_fail;
24427 }
24428 {
24429 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24430 }
24431 return resultobj;
24432 fail:
24433 return NULL;
24434 }
24435
24436
24437 static PyObject *_wrap_Printer_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
24438 PyObject *resultobj = NULL;
24439 wxPrinter *arg1 = (wxPrinter *) 0 ;
24440 wxWindow *arg2 = (wxWindow *) 0 ;
24441 wxDC *result;
24442 PyObject * obj0 = 0 ;
24443 PyObject * obj1 = 0 ;
24444 char *kwnames[] = {
24445 (char *) "self",(char *) "parent", NULL
24446 };
24447
24448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
24449 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24450 if (SWIG_arg_fail(1)) SWIG_fail;
24451 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24452 if (SWIG_arg_fail(2)) SWIG_fail;
24453 {
24454 PyThreadState* __tstate = wxPyBeginAllowThreads();
24455 result = (wxDC *)(arg1)->PrintDialog(arg2);
24456
24457 wxPyEndAllowThreads(__tstate);
24458 if (PyErr_Occurred()) SWIG_fail;
24459 }
24460 {
24461 resultobj = wxPyMake_wxObject(result, (bool)0);
24462 }
24463 return resultobj;
24464 fail:
24465 return NULL;
24466 }
24467
24468
24469 static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
24470 PyObject *resultobj = NULL;
24471 wxPrinter *arg1 = (wxPrinter *) 0 ;
24472 wxPrintDialogData *result;
24473 PyObject * obj0 = 0 ;
24474 char *kwnames[] = {
24475 (char *) "self", NULL
24476 };
24477
24478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
24479 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24480 if (SWIG_arg_fail(1)) SWIG_fail;
24481 {
24482 PyThreadState* __tstate = wxPyBeginAllowThreads();
24483 {
24484 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
24485 result = (wxPrintDialogData *) &_result_ref;
24486 }
24487
24488 wxPyEndAllowThreads(__tstate);
24489 if (PyErr_Occurred()) SWIG_fail;
24490 }
24491 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
24492 return resultobj;
24493 fail:
24494 return NULL;
24495 }
24496
24497
24498 static PyObject *_wrap_Printer_GetAbort(PyObject *, PyObject *args, PyObject *kwargs) {
24499 PyObject *resultobj = NULL;
24500 wxPrinter *arg1 = (wxPrinter *) 0 ;
24501 bool result;
24502 PyObject * obj0 = 0 ;
24503 char *kwnames[] = {
24504 (char *) "self", NULL
24505 };
24506
24507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
24508 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24509 if (SWIG_arg_fail(1)) SWIG_fail;
24510 {
24511 PyThreadState* __tstate = wxPyBeginAllowThreads();
24512 result = (bool)(arg1)->GetAbort();
24513
24514 wxPyEndAllowThreads(__tstate);
24515 if (PyErr_Occurred()) SWIG_fail;
24516 }
24517 {
24518 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24519 }
24520 return resultobj;
24521 fail:
24522 return NULL;
24523 }
24524
24525
24526 static PyObject *_wrap_Printer_GetLastError(PyObject *, PyObject *args, PyObject *kwargs) {
24527 PyObject *resultobj = NULL;
24528 wxPrinterError result;
24529 char *kwnames[] = {
24530 NULL
24531 };
24532
24533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
24534 {
24535 PyThreadState* __tstate = wxPyBeginAllowThreads();
24536 result = (wxPrinterError)wxPrinter::GetLastError();
24537
24538 wxPyEndAllowThreads(__tstate);
24539 if (PyErr_Occurred()) SWIG_fail;
24540 }
24541 resultobj = SWIG_From_int((result));
24542 return resultobj;
24543 fail:
24544 return NULL;
24545 }
24546
24547
24548 static PyObject * Printer_swigregister(PyObject *, PyObject *args) {
24549 PyObject *obj;
24550 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24551 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
24552 Py_INCREF(obj);
24553 return Py_BuildValue((char *)"");
24554 }
24555 static PyObject *_wrap_new_Printout(PyObject *, PyObject *args, PyObject *kwargs) {
24556 PyObject *resultobj = NULL;
24557 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
24558 wxString *arg1 = (wxString *) &arg1_defvalue ;
24559 wxPyPrintout *result;
24560 bool temp1 = false ;
24561 PyObject * obj0 = 0 ;
24562 char *kwnames[] = {
24563 (char *) "title", NULL
24564 };
24565
24566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
24567 if (obj0) {
24568 {
24569 arg1 = wxString_in_helper(obj0);
24570 if (arg1 == NULL) SWIG_fail;
24571 temp1 = true;
24572 }
24573 }
24574 {
24575 if (!wxPyCheckForApp()) SWIG_fail;
24576 PyThreadState* __tstate = wxPyBeginAllowThreads();
24577 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
24578
24579 wxPyEndAllowThreads(__tstate);
24580 if (PyErr_Occurred()) SWIG_fail;
24581 }
24582 {
24583 resultobj = wxPyMake_wxObject(result, (bool)1);
24584 }
24585 {
24586 if (temp1)
24587 delete arg1;
24588 }
24589 return resultobj;
24590 fail:
24591 {
24592 if (temp1)
24593 delete arg1;
24594 }
24595 return NULL;
24596 }
24597
24598
24599 static PyObject *_wrap_Printout__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
24600 PyObject *resultobj = NULL;
24601 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24602 PyObject *arg2 = (PyObject *) 0 ;
24603 PyObject *arg3 = (PyObject *) 0 ;
24604 PyObject * obj0 = 0 ;
24605 PyObject * obj1 = 0 ;
24606 PyObject * obj2 = 0 ;
24607 char *kwnames[] = {
24608 (char *) "self",(char *) "self",(char *) "_class", NULL
24609 };
24610
24611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24612 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24613 if (SWIG_arg_fail(1)) SWIG_fail;
24614 arg2 = obj1;
24615 arg3 = obj2;
24616 {
24617 PyThreadState* __tstate = wxPyBeginAllowThreads();
24618 (arg1)->_setCallbackInfo(arg2,arg3);
24619
24620 wxPyEndAllowThreads(__tstate);
24621 if (PyErr_Occurred()) SWIG_fail;
24622 }
24623 Py_INCREF(Py_None); resultobj = Py_None;
24624 return resultobj;
24625 fail:
24626 return NULL;
24627 }
24628
24629
24630 static PyObject *_wrap_Printout_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
24631 PyObject *resultobj = NULL;
24632 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24633 wxString result;
24634 PyObject * obj0 = 0 ;
24635 char *kwnames[] = {
24636 (char *) "self", NULL
24637 };
24638
24639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
24640 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24641 if (SWIG_arg_fail(1)) SWIG_fail;
24642 {
24643 PyThreadState* __tstate = wxPyBeginAllowThreads();
24644 result = ((wxPyPrintout const *)arg1)->GetTitle();
24645
24646 wxPyEndAllowThreads(__tstate);
24647 if (PyErr_Occurred()) SWIG_fail;
24648 }
24649 {
24650 #if wxUSE_UNICODE
24651 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24652 #else
24653 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24654 #endif
24655 }
24656 return resultobj;
24657 fail:
24658 return NULL;
24659 }
24660
24661
24662 static PyObject *_wrap_Printout_GetDC(PyObject *, PyObject *args, PyObject *kwargs) {
24663 PyObject *resultobj = NULL;
24664 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24665 wxDC *result;
24666 PyObject * obj0 = 0 ;
24667 char *kwnames[] = {
24668 (char *) "self", NULL
24669 };
24670
24671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
24672 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24673 if (SWIG_arg_fail(1)) SWIG_fail;
24674 {
24675 PyThreadState* __tstate = wxPyBeginAllowThreads();
24676 result = (wxDC *)(arg1)->GetDC();
24677
24678 wxPyEndAllowThreads(__tstate);
24679 if (PyErr_Occurred()) SWIG_fail;
24680 }
24681 {
24682 resultobj = wxPyMake_wxObject(result, (bool)0);
24683 }
24684 return resultobj;
24685 fail:
24686 return NULL;
24687 }
24688
24689
24690 static PyObject *_wrap_Printout_SetDC(PyObject *, PyObject *args, PyObject *kwargs) {
24691 PyObject *resultobj = NULL;
24692 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24693 wxDC *arg2 = (wxDC *) 0 ;
24694 PyObject * obj0 = 0 ;
24695 PyObject * obj1 = 0 ;
24696 char *kwnames[] = {
24697 (char *) "self",(char *) "dc", NULL
24698 };
24699
24700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
24701 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24702 if (SWIG_arg_fail(1)) SWIG_fail;
24703 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
24704 if (SWIG_arg_fail(2)) SWIG_fail;
24705 {
24706 PyThreadState* __tstate = wxPyBeginAllowThreads();
24707 (arg1)->SetDC(arg2);
24708
24709 wxPyEndAllowThreads(__tstate);
24710 if (PyErr_Occurred()) SWIG_fail;
24711 }
24712 Py_INCREF(Py_None); resultobj = Py_None;
24713 return resultobj;
24714 fail:
24715 return NULL;
24716 }
24717
24718
24719 static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
24720 PyObject *resultobj = NULL;
24721 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24722 int arg2 ;
24723 int arg3 ;
24724 PyObject * obj0 = 0 ;
24725 PyObject * obj1 = 0 ;
24726 PyObject * obj2 = 0 ;
24727 char *kwnames[] = {
24728 (char *) "self",(char *) "w",(char *) "h", NULL
24729 };
24730
24731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail;
24732 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24733 if (SWIG_arg_fail(1)) SWIG_fail;
24734 {
24735 arg2 = static_cast<int >(SWIG_As_int(obj1));
24736 if (SWIG_arg_fail(2)) SWIG_fail;
24737 }
24738 {
24739 arg3 = static_cast<int >(SWIG_As_int(obj2));
24740 if (SWIG_arg_fail(3)) SWIG_fail;
24741 }
24742 {
24743 PyThreadState* __tstate = wxPyBeginAllowThreads();
24744 (arg1)->SetPageSizePixels(arg2,arg3);
24745
24746 wxPyEndAllowThreads(__tstate);
24747 if (PyErr_Occurred()) SWIG_fail;
24748 }
24749 Py_INCREF(Py_None); resultobj = Py_None;
24750 return resultobj;
24751 fail:
24752 return NULL;
24753 }
24754
24755
24756 static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
24757 PyObject *resultobj = NULL;
24758 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24759 int *arg2 = (int *) 0 ;
24760 int *arg3 = (int *) 0 ;
24761 int temp2 ;
24762 int res2 = 0 ;
24763 int temp3 ;
24764 int res3 = 0 ;
24765 PyObject * obj0 = 0 ;
24766 char *kwnames[] = {
24767 (char *) "self", NULL
24768 };
24769
24770 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24771 arg3 = &temp3; res3 = SWIG_NEWOBJ;
24772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
24773 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24774 if (SWIG_arg_fail(1)) SWIG_fail;
24775 {
24776 PyThreadState* __tstate = wxPyBeginAllowThreads();
24777 (arg1)->GetPageSizePixels(arg2,arg3);
24778
24779 wxPyEndAllowThreads(__tstate);
24780 if (PyErr_Occurred()) SWIG_fail;
24781 }
24782 Py_INCREF(Py_None); resultobj = Py_None;
24783 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24784 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24785 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24786 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
24787 return resultobj;
24788 fail:
24789 return NULL;
24790 }
24791
24792
24793 static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
24794 PyObject *resultobj = NULL;
24795 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24796 int arg2 ;
24797 int arg3 ;
24798 PyObject * obj0 = 0 ;
24799 PyObject * obj1 = 0 ;
24800 PyObject * obj2 = 0 ;
24801 char *kwnames[] = {
24802 (char *) "self",(char *) "w",(char *) "h", NULL
24803 };
24804
24805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail;
24806 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24807 if (SWIG_arg_fail(1)) SWIG_fail;
24808 {
24809 arg2 = static_cast<int >(SWIG_As_int(obj1));
24810 if (SWIG_arg_fail(2)) SWIG_fail;
24811 }
24812 {
24813 arg3 = static_cast<int >(SWIG_As_int(obj2));
24814 if (SWIG_arg_fail(3)) SWIG_fail;
24815 }
24816 {
24817 PyThreadState* __tstate = wxPyBeginAllowThreads();
24818 (arg1)->SetPageSizeMM(arg2,arg3);
24819
24820 wxPyEndAllowThreads(__tstate);
24821 if (PyErr_Occurred()) SWIG_fail;
24822 }
24823 Py_INCREF(Py_None); resultobj = Py_None;
24824 return resultobj;
24825 fail:
24826 return NULL;
24827 }
24828
24829
24830 static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
24831 PyObject *resultobj = NULL;
24832 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24833 int *arg2 = (int *) 0 ;
24834 int *arg3 = (int *) 0 ;
24835 int temp2 ;
24836 int res2 = 0 ;
24837 int temp3 ;
24838 int res3 = 0 ;
24839 PyObject * obj0 = 0 ;
24840 char *kwnames[] = {
24841 (char *) "self", NULL
24842 };
24843
24844 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24845 arg3 = &temp3; res3 = SWIG_NEWOBJ;
24846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
24847 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24848 if (SWIG_arg_fail(1)) SWIG_fail;
24849 {
24850 PyThreadState* __tstate = wxPyBeginAllowThreads();
24851 (arg1)->GetPageSizeMM(arg2,arg3);
24852
24853 wxPyEndAllowThreads(__tstate);
24854 if (PyErr_Occurred()) SWIG_fail;
24855 }
24856 Py_INCREF(Py_None); resultobj = Py_None;
24857 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24858 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24859 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24860 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
24861 return resultobj;
24862 fail:
24863 return NULL;
24864 }
24865
24866
24867 static PyObject *_wrap_Printout_SetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
24868 PyObject *resultobj = NULL;
24869 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24870 int arg2 ;
24871 int arg3 ;
24872 PyObject * obj0 = 0 ;
24873 PyObject * obj1 = 0 ;
24874 PyObject * obj2 = 0 ;
24875 char *kwnames[] = {
24876 (char *) "self",(char *) "x",(char *) "y", NULL
24877 };
24878
24879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
24880 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24881 if (SWIG_arg_fail(1)) SWIG_fail;
24882 {
24883 arg2 = static_cast<int >(SWIG_As_int(obj1));
24884 if (SWIG_arg_fail(2)) SWIG_fail;
24885 }
24886 {
24887 arg3 = static_cast<int >(SWIG_As_int(obj2));
24888 if (SWIG_arg_fail(3)) SWIG_fail;
24889 }
24890 {
24891 PyThreadState* __tstate = wxPyBeginAllowThreads();
24892 (arg1)->SetPPIScreen(arg2,arg3);
24893
24894 wxPyEndAllowThreads(__tstate);
24895 if (PyErr_Occurred()) SWIG_fail;
24896 }
24897 Py_INCREF(Py_None); resultobj = Py_None;
24898 return resultobj;
24899 fail:
24900 return NULL;
24901 }
24902
24903
24904 static PyObject *_wrap_Printout_GetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
24905 PyObject *resultobj = NULL;
24906 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24907 int *arg2 = (int *) 0 ;
24908 int *arg3 = (int *) 0 ;
24909 int temp2 ;
24910 int res2 = 0 ;
24911 int temp3 ;
24912 int res3 = 0 ;
24913 PyObject * obj0 = 0 ;
24914 char *kwnames[] = {
24915 (char *) "self", NULL
24916 };
24917
24918 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24919 arg3 = &temp3; res3 = SWIG_NEWOBJ;
24920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
24921 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24922 if (SWIG_arg_fail(1)) SWIG_fail;
24923 {
24924 PyThreadState* __tstate = wxPyBeginAllowThreads();
24925 (arg1)->GetPPIScreen(arg2,arg3);
24926
24927 wxPyEndAllowThreads(__tstate);
24928 if (PyErr_Occurred()) SWIG_fail;
24929 }
24930 Py_INCREF(Py_None); resultobj = Py_None;
24931 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24932 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24933 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24934 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
24935 return resultobj;
24936 fail:
24937 return NULL;
24938 }
24939
24940
24941 static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
24942 PyObject *resultobj = NULL;
24943 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24944 int arg2 ;
24945 int arg3 ;
24946 PyObject * obj0 = 0 ;
24947 PyObject * obj1 = 0 ;
24948 PyObject * obj2 = 0 ;
24949 char *kwnames[] = {
24950 (char *) "self",(char *) "x",(char *) "y", NULL
24951 };
24952
24953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
24954 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24955 if (SWIG_arg_fail(1)) SWIG_fail;
24956 {
24957 arg2 = static_cast<int >(SWIG_As_int(obj1));
24958 if (SWIG_arg_fail(2)) SWIG_fail;
24959 }
24960 {
24961 arg3 = static_cast<int >(SWIG_As_int(obj2));
24962 if (SWIG_arg_fail(3)) SWIG_fail;
24963 }
24964 {
24965 PyThreadState* __tstate = wxPyBeginAllowThreads();
24966 (arg1)->SetPPIPrinter(arg2,arg3);
24967
24968 wxPyEndAllowThreads(__tstate);
24969 if (PyErr_Occurred()) SWIG_fail;
24970 }
24971 Py_INCREF(Py_None); resultobj = Py_None;
24972 return resultobj;
24973 fail:
24974 return NULL;
24975 }
24976
24977
24978 static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
24979 PyObject *resultobj = NULL;
24980 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24981 int *arg2 = (int *) 0 ;
24982 int *arg3 = (int *) 0 ;
24983 int temp2 ;
24984 int res2 = 0 ;
24985 int temp3 ;
24986 int res3 = 0 ;
24987 PyObject * obj0 = 0 ;
24988 char *kwnames[] = {
24989 (char *) "self", NULL
24990 };
24991
24992 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24993 arg3 = &temp3; res3 = SWIG_NEWOBJ;
24994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
24995 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24996 if (SWIG_arg_fail(1)) SWIG_fail;
24997 {
24998 PyThreadState* __tstate = wxPyBeginAllowThreads();
24999 (arg1)->GetPPIPrinter(arg2,arg3);
25000
25001 wxPyEndAllowThreads(__tstate);
25002 if (PyErr_Occurred()) SWIG_fail;
25003 }
25004 Py_INCREF(Py_None); resultobj = Py_None;
25005 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
25006 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
25007 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
25008 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
25009 return resultobj;
25010 fail:
25011 return NULL;
25012 }
25013
25014
25015 static PyObject *_wrap_Printout_IsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
25016 PyObject *resultobj = NULL;
25017 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25018 bool result;
25019 PyObject * obj0 = 0 ;
25020 char *kwnames[] = {
25021 (char *) "self", NULL
25022 };
25023
25024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
25025 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25026 if (SWIG_arg_fail(1)) SWIG_fail;
25027 {
25028 PyThreadState* __tstate = wxPyBeginAllowThreads();
25029 result = (bool)(arg1)->IsPreview();
25030
25031 wxPyEndAllowThreads(__tstate);
25032 if (PyErr_Occurred()) SWIG_fail;
25033 }
25034 {
25035 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25036 }
25037 return resultobj;
25038 fail:
25039 return NULL;
25040 }
25041
25042
25043 static PyObject *_wrap_Printout_SetIsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
25044 PyObject *resultobj = NULL;
25045 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25046 bool arg2 ;
25047 PyObject * obj0 = 0 ;
25048 PyObject * obj1 = 0 ;
25049 char *kwnames[] = {
25050 (char *) "self",(char *) "p", NULL
25051 };
25052
25053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
25054 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25055 if (SWIG_arg_fail(1)) SWIG_fail;
25056 {
25057 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
25058 if (SWIG_arg_fail(2)) SWIG_fail;
25059 }
25060 {
25061 PyThreadState* __tstate = wxPyBeginAllowThreads();
25062 (arg1)->SetIsPreview(arg2);
25063
25064 wxPyEndAllowThreads(__tstate);
25065 if (PyErr_Occurred()) SWIG_fail;
25066 }
25067 Py_INCREF(Py_None); resultobj = Py_None;
25068 return resultobj;
25069 fail:
25070 return NULL;
25071 }
25072
25073
25074 static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *, PyObject *args, PyObject *kwargs) {
25075 PyObject *resultobj = NULL;
25076 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25077 int arg2 ;
25078 int arg3 ;
25079 bool result;
25080 PyObject * obj0 = 0 ;
25081 PyObject * obj1 = 0 ;
25082 PyObject * obj2 = 0 ;
25083 char *kwnames[] = {
25084 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
25085 };
25086
25087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
25088 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25089 if (SWIG_arg_fail(1)) SWIG_fail;
25090 {
25091 arg2 = static_cast<int >(SWIG_As_int(obj1));
25092 if (SWIG_arg_fail(2)) SWIG_fail;
25093 }
25094 {
25095 arg3 = static_cast<int >(SWIG_As_int(obj2));
25096 if (SWIG_arg_fail(3)) SWIG_fail;
25097 }
25098 {
25099 PyThreadState* __tstate = wxPyBeginAllowThreads();
25100 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
25101
25102 wxPyEndAllowThreads(__tstate);
25103 if (PyErr_Occurred()) SWIG_fail;
25104 }
25105 {
25106 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25107 }
25108 return resultobj;
25109 fail:
25110 return NULL;
25111 }
25112
25113
25114 static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *, PyObject *args, PyObject *kwargs) {
25115 PyObject *resultobj = NULL;
25116 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25117 PyObject * obj0 = 0 ;
25118 char *kwnames[] = {
25119 (char *) "self", NULL
25120 };
25121
25122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
25123 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25124 if (SWIG_arg_fail(1)) SWIG_fail;
25125 {
25126 PyThreadState* __tstate = wxPyBeginAllowThreads();
25127 (arg1)->base_OnEndDocument();
25128
25129 wxPyEndAllowThreads(__tstate);
25130 if (PyErr_Occurred()) SWIG_fail;
25131 }
25132 Py_INCREF(Py_None); resultobj = Py_None;
25133 return resultobj;
25134 fail:
25135 return NULL;
25136 }
25137
25138
25139 static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
25140 PyObject *resultobj = NULL;
25141 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25142 PyObject * obj0 = 0 ;
25143 char *kwnames[] = {
25144 (char *) "self", NULL
25145 };
25146
25147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
25148 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25149 if (SWIG_arg_fail(1)) SWIG_fail;
25150 {
25151 PyThreadState* __tstate = wxPyBeginAllowThreads();
25152 (arg1)->base_OnBeginPrinting();
25153
25154 wxPyEndAllowThreads(__tstate);
25155 if (PyErr_Occurred()) SWIG_fail;
25156 }
25157 Py_INCREF(Py_None); resultobj = Py_None;
25158 return resultobj;
25159 fail:
25160 return NULL;
25161 }
25162
25163
25164 static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
25165 PyObject *resultobj = NULL;
25166 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25167 PyObject * obj0 = 0 ;
25168 char *kwnames[] = {
25169 (char *) "self", NULL
25170 };
25171
25172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
25173 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25174 if (SWIG_arg_fail(1)) SWIG_fail;
25175 {
25176 PyThreadState* __tstate = wxPyBeginAllowThreads();
25177 (arg1)->base_OnEndPrinting();
25178
25179 wxPyEndAllowThreads(__tstate);
25180 if (PyErr_Occurred()) SWIG_fail;
25181 }
25182 Py_INCREF(Py_None); resultobj = Py_None;
25183 return resultobj;
25184 fail:
25185 return NULL;
25186 }
25187
25188
25189 static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *, PyObject *args, PyObject *kwargs) {
25190 PyObject *resultobj = NULL;
25191 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25192 PyObject * obj0 = 0 ;
25193 char *kwnames[] = {
25194 (char *) "self", NULL
25195 };
25196
25197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
25198 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25199 if (SWIG_arg_fail(1)) SWIG_fail;
25200 {
25201 PyThreadState* __tstate = wxPyBeginAllowThreads();
25202 (arg1)->base_OnPreparePrinting();
25203
25204 wxPyEndAllowThreads(__tstate);
25205 if (PyErr_Occurred()) SWIG_fail;
25206 }
25207 Py_INCREF(Py_None); resultobj = Py_None;
25208 return resultobj;
25209 fail:
25210 return NULL;
25211 }
25212
25213
25214 static PyObject *_wrap_Printout_base_HasPage(PyObject *, PyObject *args, PyObject *kwargs) {
25215 PyObject *resultobj = NULL;
25216 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25217 int arg2 ;
25218 bool result;
25219 PyObject * obj0 = 0 ;
25220 PyObject * obj1 = 0 ;
25221 char *kwnames[] = {
25222 (char *) "self",(char *) "page", NULL
25223 };
25224
25225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail;
25226 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25227 if (SWIG_arg_fail(1)) SWIG_fail;
25228 {
25229 arg2 = static_cast<int >(SWIG_As_int(obj1));
25230 if (SWIG_arg_fail(2)) SWIG_fail;
25231 }
25232 {
25233 PyThreadState* __tstate = wxPyBeginAllowThreads();
25234 result = (bool)(arg1)->base_HasPage(arg2);
25235
25236 wxPyEndAllowThreads(__tstate);
25237 if (PyErr_Occurred()) SWIG_fail;
25238 }
25239 {
25240 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25241 }
25242 return resultobj;
25243 fail:
25244 return NULL;
25245 }
25246
25247
25248 static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *, PyObject *args, PyObject *kwargs) {
25249 PyObject *resultobj = NULL;
25250 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25251 int *arg2 = (int *) 0 ;
25252 int *arg3 = (int *) 0 ;
25253 int *arg4 = (int *) 0 ;
25254 int *arg5 = (int *) 0 ;
25255 int temp2 ;
25256 int res2 = 0 ;
25257 int temp3 ;
25258 int res3 = 0 ;
25259 int temp4 ;
25260 int res4 = 0 ;
25261 int temp5 ;
25262 int res5 = 0 ;
25263 PyObject * obj0 = 0 ;
25264 char *kwnames[] = {
25265 (char *) "self", NULL
25266 };
25267
25268 arg2 = &temp2; res2 = SWIG_NEWOBJ;
25269 arg3 = &temp3; res3 = SWIG_NEWOBJ;
25270 arg4 = &temp4; res4 = SWIG_NEWOBJ;
25271 arg5 = &temp5; res5 = SWIG_NEWOBJ;
25272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
25273 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25274 if (SWIG_arg_fail(1)) SWIG_fail;
25275 {
25276 PyThreadState* __tstate = wxPyBeginAllowThreads();
25277 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
25278
25279 wxPyEndAllowThreads(__tstate);
25280 if (PyErr_Occurred()) SWIG_fail;
25281 }
25282 Py_INCREF(Py_None); resultobj = Py_None;
25283 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
25284 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
25285 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
25286 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
25287 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
25288 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
25289 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
25290 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
25291 return resultobj;
25292 fail:
25293 return NULL;
25294 }
25295
25296
25297 static PyObject * Printout_swigregister(PyObject *, PyObject *args) {
25298 PyObject *obj;
25299 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25300 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
25301 Py_INCREF(obj);
25302 return Py_BuildValue((char *)"");
25303 }
25304 static PyObject *_wrap_new_PreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
25305 PyObject *resultobj = NULL;
25306 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25307 wxWindow *arg2 = (wxWindow *) 0 ;
25308 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25309 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25310 wxSize const &arg4_defvalue = wxDefaultSize ;
25311 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25312 long arg5 = (long) 0 ;
25313 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
25314 wxString *arg6 = (wxString *) &arg6_defvalue ;
25315 wxPreviewCanvas *result;
25316 wxPoint temp3 ;
25317 wxSize temp4 ;
25318 bool temp6 = false ;
25319 PyObject * obj0 = 0 ;
25320 PyObject * obj1 = 0 ;
25321 PyObject * obj2 = 0 ;
25322 PyObject * obj3 = 0 ;
25323 PyObject * obj4 = 0 ;
25324 PyObject * obj5 = 0 ;
25325 char *kwnames[] = {
25326 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25327 };
25328
25329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
25330 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25331 if (SWIG_arg_fail(1)) SWIG_fail;
25332 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25333 if (SWIG_arg_fail(2)) SWIG_fail;
25334 if (obj2) {
25335 {
25336 arg3 = &temp3;
25337 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25338 }
25339 }
25340 if (obj3) {
25341 {
25342 arg4 = &temp4;
25343 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
25344 }
25345 }
25346 if (obj4) {
25347 {
25348 arg5 = static_cast<long >(SWIG_As_long(obj4));
25349 if (SWIG_arg_fail(5)) SWIG_fail;
25350 }
25351 }
25352 if (obj5) {
25353 {
25354 arg6 = wxString_in_helper(obj5);
25355 if (arg6 == NULL) SWIG_fail;
25356 temp6 = true;
25357 }
25358 }
25359 {
25360 if (!wxPyCheckForApp()) SWIG_fail;
25361 PyThreadState* __tstate = wxPyBeginAllowThreads();
25362 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
25363
25364 wxPyEndAllowThreads(__tstate);
25365 if (PyErr_Occurred()) SWIG_fail;
25366 }
25367 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1);
25368 {
25369 if (temp6)
25370 delete arg6;
25371 }
25372 return resultobj;
25373 fail:
25374 {
25375 if (temp6)
25376 delete arg6;
25377 }
25378 return NULL;
25379 }
25380
25381
25382 static PyObject * PreviewCanvas_swigregister(PyObject *, PyObject *args) {
25383 PyObject *obj;
25384 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25385 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
25386 Py_INCREF(obj);
25387 return Py_BuildValue((char *)"");
25388 }
25389 static PyObject *_wrap_new_PreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
25390 PyObject *resultobj = NULL;
25391 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25392 wxFrame *arg2 = (wxFrame *) 0 ;
25393 wxString *arg3 = 0 ;
25394 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25395 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25396 wxSize const &arg5_defvalue = wxDefaultSize ;
25397 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25398 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
25399 wxString const &arg7_defvalue = wxPyFrameNameStr ;
25400 wxString *arg7 = (wxString *) &arg7_defvalue ;
25401 wxPreviewFrame *result;
25402 bool temp3 = false ;
25403 wxPoint temp4 ;
25404 wxSize temp5 ;
25405 bool temp7 = false ;
25406 PyObject * obj0 = 0 ;
25407 PyObject * obj1 = 0 ;
25408 PyObject * obj2 = 0 ;
25409 PyObject * obj3 = 0 ;
25410 PyObject * obj4 = 0 ;
25411 PyObject * obj5 = 0 ;
25412 PyObject * obj6 = 0 ;
25413 char *kwnames[] = {
25414 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25415 };
25416
25417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25418 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25419 if (SWIG_arg_fail(1)) SWIG_fail;
25420 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
25421 if (SWIG_arg_fail(2)) SWIG_fail;
25422 {
25423 arg3 = wxString_in_helper(obj2);
25424 if (arg3 == NULL) SWIG_fail;
25425 temp3 = true;
25426 }
25427 if (obj3) {
25428 {
25429 arg4 = &temp4;
25430 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25431 }
25432 }
25433 if (obj4) {
25434 {
25435 arg5 = &temp5;
25436 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25437 }
25438 }
25439 if (obj5) {
25440 {
25441 arg6 = static_cast<long >(SWIG_As_long(obj5));
25442 if (SWIG_arg_fail(6)) SWIG_fail;
25443 }
25444 }
25445 if (obj6) {
25446 {
25447 arg7 = wxString_in_helper(obj6);
25448 if (arg7 == NULL) SWIG_fail;
25449 temp7 = true;
25450 }
25451 }
25452 {
25453 if (!wxPyCheckForApp()) SWIG_fail;
25454 PyThreadState* __tstate = wxPyBeginAllowThreads();
25455 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
25456
25457 wxPyEndAllowThreads(__tstate);
25458 if (PyErr_Occurred()) SWIG_fail;
25459 }
25460 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1);
25461 {
25462 if (temp3)
25463 delete arg3;
25464 }
25465 {
25466 if (temp7)
25467 delete arg7;
25468 }
25469 return resultobj;
25470 fail:
25471 {
25472 if (temp3)
25473 delete arg3;
25474 }
25475 {
25476 if (temp7)
25477 delete arg7;
25478 }
25479 return NULL;
25480 }
25481
25482
25483 static PyObject *_wrap_PreviewFrame_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
25484 PyObject *resultobj = NULL;
25485 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25486 PyObject * obj0 = 0 ;
25487 char *kwnames[] = {
25488 (char *) "self", NULL
25489 };
25490
25491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
25492 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25493 if (SWIG_arg_fail(1)) SWIG_fail;
25494 {
25495 PyThreadState* __tstate = wxPyBeginAllowThreads();
25496 (arg1)->Initialize();
25497
25498 wxPyEndAllowThreads(__tstate);
25499 if (PyErr_Occurred()) SWIG_fail;
25500 }
25501 Py_INCREF(Py_None); resultobj = Py_None;
25502 return resultobj;
25503 fail:
25504 return NULL;
25505 }
25506
25507
25508 static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
25509 PyObject *resultobj = NULL;
25510 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25511 PyObject * obj0 = 0 ;
25512 char *kwnames[] = {
25513 (char *) "self", NULL
25514 };
25515
25516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
25517 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25518 if (SWIG_arg_fail(1)) SWIG_fail;
25519 {
25520 PyThreadState* __tstate = wxPyBeginAllowThreads();
25521 (arg1)->CreateControlBar();
25522
25523 wxPyEndAllowThreads(__tstate);
25524 if (PyErr_Occurred()) SWIG_fail;
25525 }
25526 Py_INCREF(Py_None); resultobj = Py_None;
25527 return resultobj;
25528 fail:
25529 return NULL;
25530 }
25531
25532
25533 static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
25534 PyObject *resultobj = NULL;
25535 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25536 PyObject * obj0 = 0 ;
25537 char *kwnames[] = {
25538 (char *) "self", NULL
25539 };
25540
25541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
25542 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25543 if (SWIG_arg_fail(1)) SWIG_fail;
25544 {
25545 PyThreadState* __tstate = wxPyBeginAllowThreads();
25546 (arg1)->CreateCanvas();
25547
25548 wxPyEndAllowThreads(__tstate);
25549 if (PyErr_Occurred()) SWIG_fail;
25550 }
25551 Py_INCREF(Py_None); resultobj = Py_None;
25552 return resultobj;
25553 fail:
25554 return NULL;
25555 }
25556
25557
25558 static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
25559 PyObject *resultobj = NULL;
25560 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25561 wxPreviewControlBar *result;
25562 PyObject * obj0 = 0 ;
25563 char *kwnames[] = {
25564 (char *) "self", NULL
25565 };
25566
25567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
25568 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25569 if (SWIG_arg_fail(1)) SWIG_fail;
25570 {
25571 PyThreadState* __tstate = wxPyBeginAllowThreads();
25572 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
25573
25574 wxPyEndAllowThreads(__tstate);
25575 if (PyErr_Occurred()) SWIG_fail;
25576 }
25577 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0);
25578 return resultobj;
25579 fail:
25580 return NULL;
25581 }
25582
25583
25584 static PyObject * PreviewFrame_swigregister(PyObject *, PyObject *args) {
25585 PyObject *obj;
25586 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25587 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
25588 Py_INCREF(obj);
25589 return Py_BuildValue((char *)"");
25590 }
25591 static PyObject *_wrap_new_PreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
25592 PyObject *resultobj = NULL;
25593 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25594 long arg2 ;
25595 wxWindow *arg3 = (wxWindow *) 0 ;
25596 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25597 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25598 wxSize const &arg5_defvalue = wxDefaultSize ;
25599 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25600 long arg6 = (long) wxTAB_TRAVERSAL ;
25601 wxString const &arg7_defvalue = wxPyPanelNameStr ;
25602 wxString *arg7 = (wxString *) &arg7_defvalue ;
25603 wxPreviewControlBar *result;
25604 wxPoint temp4 ;
25605 wxSize temp5 ;
25606 bool temp7 = false ;
25607 PyObject * obj0 = 0 ;
25608 PyObject * obj1 = 0 ;
25609 PyObject * obj2 = 0 ;
25610 PyObject * obj3 = 0 ;
25611 PyObject * obj4 = 0 ;
25612 PyObject * obj5 = 0 ;
25613 PyObject * obj6 = 0 ;
25614 char *kwnames[] = {
25615 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25616 };
25617
25618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25619 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25620 if (SWIG_arg_fail(1)) SWIG_fail;
25621 {
25622 arg2 = static_cast<long >(SWIG_As_long(obj1));
25623 if (SWIG_arg_fail(2)) SWIG_fail;
25624 }
25625 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25626 if (SWIG_arg_fail(3)) SWIG_fail;
25627 if (obj3) {
25628 {
25629 arg4 = &temp4;
25630 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25631 }
25632 }
25633 if (obj4) {
25634 {
25635 arg5 = &temp5;
25636 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25637 }
25638 }
25639 if (obj5) {
25640 {
25641 arg6 = static_cast<long >(SWIG_As_long(obj5));
25642 if (SWIG_arg_fail(6)) SWIG_fail;
25643 }
25644 }
25645 if (obj6) {
25646 {
25647 arg7 = wxString_in_helper(obj6);
25648 if (arg7 == NULL) SWIG_fail;
25649 temp7 = true;
25650 }
25651 }
25652 {
25653 if (!wxPyCheckForApp()) SWIG_fail;
25654 PyThreadState* __tstate = wxPyBeginAllowThreads();
25655 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
25656
25657 wxPyEndAllowThreads(__tstate);
25658 if (PyErr_Occurred()) SWIG_fail;
25659 }
25660 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1);
25661 {
25662 if (temp7)
25663 delete arg7;
25664 }
25665 return resultobj;
25666 fail:
25667 {
25668 if (temp7)
25669 delete arg7;
25670 }
25671 return NULL;
25672 }
25673
25674
25675 static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
25676 PyObject *resultobj = NULL;
25677 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25678 int result;
25679 PyObject * obj0 = 0 ;
25680 char *kwnames[] = {
25681 (char *) "self", NULL
25682 };
25683
25684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
25685 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25686 if (SWIG_arg_fail(1)) SWIG_fail;
25687 {
25688 PyThreadState* __tstate = wxPyBeginAllowThreads();
25689 result = (int)(arg1)->GetZoomControl();
25690
25691 wxPyEndAllowThreads(__tstate);
25692 if (PyErr_Occurred()) SWIG_fail;
25693 }
25694 {
25695 resultobj = SWIG_From_int(static_cast<int >(result));
25696 }
25697 return resultobj;
25698 fail:
25699 return NULL;
25700 }
25701
25702
25703 static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
25704 PyObject *resultobj = NULL;
25705 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25706 int arg2 ;
25707 PyObject * obj0 = 0 ;
25708 PyObject * obj1 = 0 ;
25709 char *kwnames[] = {
25710 (char *) "self",(char *) "zoom", NULL
25711 };
25712
25713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
25714 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25715 if (SWIG_arg_fail(1)) SWIG_fail;
25716 {
25717 arg2 = static_cast<int >(SWIG_As_int(obj1));
25718 if (SWIG_arg_fail(2)) SWIG_fail;
25719 }
25720 {
25721 PyThreadState* __tstate = wxPyBeginAllowThreads();
25722 (arg1)->SetZoomControl(arg2);
25723
25724 wxPyEndAllowThreads(__tstate);
25725 if (PyErr_Occurred()) SWIG_fail;
25726 }
25727 Py_INCREF(Py_None); resultobj = Py_None;
25728 return resultobj;
25729 fail:
25730 return NULL;
25731 }
25732
25733
25734 static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
25735 PyObject *resultobj = NULL;
25736 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25737 wxPrintPreview *result;
25738 PyObject * obj0 = 0 ;
25739 char *kwnames[] = {
25740 (char *) "self", NULL
25741 };
25742
25743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
25744 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25745 if (SWIG_arg_fail(1)) SWIG_fail;
25746 {
25747 PyThreadState* __tstate = wxPyBeginAllowThreads();
25748 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
25749
25750 wxPyEndAllowThreads(__tstate);
25751 if (PyErr_Occurred()) SWIG_fail;
25752 }
25753 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0);
25754 return resultobj;
25755 fail:
25756 return NULL;
25757 }
25758
25759
25760 static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *, PyObject *args, PyObject *kwargs) {
25761 PyObject *resultobj = NULL;
25762 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25763 PyObject * obj0 = 0 ;
25764 char *kwnames[] = {
25765 (char *) "self", NULL
25766 };
25767
25768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
25769 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25770 if (SWIG_arg_fail(1)) SWIG_fail;
25771 {
25772 PyThreadState* __tstate = wxPyBeginAllowThreads();
25773 (arg1)->OnNext();
25774
25775 wxPyEndAllowThreads(__tstate);
25776 if (PyErr_Occurred()) SWIG_fail;
25777 }
25778 Py_INCREF(Py_None); resultobj = Py_None;
25779 return resultobj;
25780 fail:
25781 return NULL;
25782 }
25783
25784
25785 static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *, PyObject *args, PyObject *kwargs) {
25786 PyObject *resultobj = NULL;
25787 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25788 PyObject * obj0 = 0 ;
25789 char *kwnames[] = {
25790 (char *) "self", NULL
25791 };
25792
25793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
25794 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25795 if (SWIG_arg_fail(1)) SWIG_fail;
25796 {
25797 PyThreadState* __tstate = wxPyBeginAllowThreads();
25798 (arg1)->OnPrevious();
25799
25800 wxPyEndAllowThreads(__tstate);
25801 if (PyErr_Occurred()) SWIG_fail;
25802 }
25803 Py_INCREF(Py_None); resultobj = Py_None;
25804 return resultobj;
25805 fail:
25806 return NULL;
25807 }
25808
25809
25810 static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *, PyObject *args, PyObject *kwargs) {
25811 PyObject *resultobj = NULL;
25812 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25813 PyObject * obj0 = 0 ;
25814 char *kwnames[] = {
25815 (char *) "self", NULL
25816 };
25817
25818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
25819 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25820 if (SWIG_arg_fail(1)) SWIG_fail;
25821 {
25822 PyThreadState* __tstate = wxPyBeginAllowThreads();
25823 (arg1)->OnFirst();
25824
25825 wxPyEndAllowThreads(__tstate);
25826 if (PyErr_Occurred()) SWIG_fail;
25827 }
25828 Py_INCREF(Py_None); resultobj = Py_None;
25829 return resultobj;
25830 fail:
25831 return NULL;
25832 }
25833
25834
25835 static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *, PyObject *args, PyObject *kwargs) {
25836 PyObject *resultobj = NULL;
25837 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25838 PyObject * obj0 = 0 ;
25839 char *kwnames[] = {
25840 (char *) "self", NULL
25841 };
25842
25843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
25844 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25845 if (SWIG_arg_fail(1)) SWIG_fail;
25846 {
25847 PyThreadState* __tstate = wxPyBeginAllowThreads();
25848 (arg1)->OnLast();
25849
25850 wxPyEndAllowThreads(__tstate);
25851 if (PyErr_Occurred()) SWIG_fail;
25852 }
25853 Py_INCREF(Py_None); resultobj = Py_None;
25854 return resultobj;
25855 fail:
25856 return NULL;
25857 }
25858
25859
25860 static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *, PyObject *args, PyObject *kwargs) {
25861 PyObject *resultobj = NULL;
25862 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25863 PyObject * obj0 = 0 ;
25864 char *kwnames[] = {
25865 (char *) "self", NULL
25866 };
25867
25868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
25869 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25870 if (SWIG_arg_fail(1)) SWIG_fail;
25871 {
25872 PyThreadState* __tstate = wxPyBeginAllowThreads();
25873 (arg1)->OnGoto();
25874
25875 wxPyEndAllowThreads(__tstate);
25876 if (PyErr_Occurred()) SWIG_fail;
25877 }
25878 Py_INCREF(Py_None); resultobj = Py_None;
25879 return resultobj;
25880 fail:
25881 return NULL;
25882 }
25883
25884
25885 static PyObject * PreviewControlBar_swigregister(PyObject *, PyObject *args) {
25886 PyObject *obj;
25887 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25888 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
25889 Py_INCREF(obj);
25890 return Py_BuildValue((char *)"");
25891 }
25892 static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *, PyObject *args) {
25893 PyObject *resultobj = NULL;
25894 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25895 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
25896 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
25897 wxPrintPreview *result;
25898 PyObject * obj0 = 0 ;
25899 PyObject * obj1 = 0 ;
25900 PyObject * obj2 = 0 ;
25901
25902 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
25903 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25904 if (SWIG_arg_fail(1)) SWIG_fail;
25905 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25906 if (SWIG_arg_fail(2)) SWIG_fail;
25907 if (obj2) {
25908 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
25909 if (SWIG_arg_fail(3)) SWIG_fail;
25910 }
25911 {
25912 if (!wxPyCheckForApp()) SWIG_fail;
25913 PyThreadState* __tstate = wxPyBeginAllowThreads();
25914 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
25915
25916 wxPyEndAllowThreads(__tstate);
25917 if (PyErr_Occurred()) SWIG_fail;
25918 }
25919 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
25920 return resultobj;
25921 fail:
25922 return NULL;
25923 }
25924
25925
25926 static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *, PyObject *args) {
25927 PyObject *resultobj = NULL;
25928 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25929 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
25930 wxPrintData *arg3 = (wxPrintData *) 0 ;
25931 wxPrintPreview *result;
25932 PyObject * obj0 = 0 ;
25933 PyObject * obj1 = 0 ;
25934 PyObject * obj2 = 0 ;
25935
25936 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
25937 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25938 if (SWIG_arg_fail(1)) SWIG_fail;
25939 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25940 if (SWIG_arg_fail(2)) SWIG_fail;
25941 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
25942 if (SWIG_arg_fail(3)) SWIG_fail;
25943 {
25944 if (!wxPyCheckForApp()) SWIG_fail;
25945 PyThreadState* __tstate = wxPyBeginAllowThreads();
25946 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
25947
25948 wxPyEndAllowThreads(__tstate);
25949 if (PyErr_Occurred()) SWIG_fail;
25950 }
25951 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
25952 return resultobj;
25953 fail:
25954 return NULL;
25955 }
25956
25957
25958 static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
25959 int argc;
25960 PyObject *argv[4];
25961 int ii;
25962
25963 argc = PyObject_Length(args);
25964 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
25965 argv[ii] = PyTuple_GetItem(args,ii);
25966 }
25967 if ((argc >= 2) && (argc <= 3)) {
25968 int _v;
25969 {
25970 void *ptr;
25971 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
25972 _v = 0;
25973 PyErr_Clear();
25974 } else {
25975 _v = 1;
25976 }
25977 }
25978 if (_v) {
25979 {
25980 void *ptr;
25981 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
25982 _v = 0;
25983 PyErr_Clear();
25984 } else {
25985 _v = 1;
25986 }
25987 }
25988 if (_v) {
25989 if (argc <= 2) {
25990 return _wrap_new_PrintPreview__SWIG_0(self,args);
25991 }
25992 {
25993 void *ptr;
25994 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
25995 _v = 0;
25996 PyErr_Clear();
25997 } else {
25998 _v = 1;
25999 }
26000 }
26001 if (_v) {
26002 return _wrap_new_PrintPreview__SWIG_0(self,args);
26003 }
26004 }
26005 }
26006 }
26007 if (argc == 3) {
26008 int _v;
26009 {
26010 void *ptr;
26011 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26012 _v = 0;
26013 PyErr_Clear();
26014 } else {
26015 _v = 1;
26016 }
26017 }
26018 if (_v) {
26019 {
26020 void *ptr;
26021 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26022 _v = 0;
26023 PyErr_Clear();
26024 } else {
26025 _v = 1;
26026 }
26027 }
26028 if (_v) {
26029 {
26030 void *ptr;
26031 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
26032 _v = 0;
26033 PyErr_Clear();
26034 } else {
26035 _v = 1;
26036 }
26037 }
26038 if (_v) {
26039 return _wrap_new_PrintPreview__SWIG_1(self,args);
26040 }
26041 }
26042 }
26043 }
26044
26045 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
26046 return NULL;
26047 }
26048
26049
26050 static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
26051 PyObject *resultobj = NULL;
26052 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26053 int arg2 ;
26054 bool result;
26055 PyObject * obj0 = 0 ;
26056 PyObject * obj1 = 0 ;
26057 char *kwnames[] = {
26058 (char *) "self",(char *) "pageNum", NULL
26059 };
26060
26061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
26062 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26063 if (SWIG_arg_fail(1)) SWIG_fail;
26064 {
26065 arg2 = static_cast<int >(SWIG_As_int(obj1));
26066 if (SWIG_arg_fail(2)) SWIG_fail;
26067 }
26068 {
26069 PyThreadState* __tstate = wxPyBeginAllowThreads();
26070 result = (bool)(arg1)->SetCurrentPage(arg2);
26071
26072 wxPyEndAllowThreads(__tstate);
26073 if (PyErr_Occurred()) SWIG_fail;
26074 }
26075 {
26076 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26077 }
26078 return resultobj;
26079 fail:
26080 return NULL;
26081 }
26082
26083
26084 static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
26085 PyObject *resultobj = NULL;
26086 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26087 int result;
26088 PyObject * obj0 = 0 ;
26089 char *kwnames[] = {
26090 (char *) "self", NULL
26091 };
26092
26093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
26094 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26095 if (SWIG_arg_fail(1)) SWIG_fail;
26096 {
26097 PyThreadState* __tstate = wxPyBeginAllowThreads();
26098 result = (int)(arg1)->GetCurrentPage();
26099
26100 wxPyEndAllowThreads(__tstate);
26101 if (PyErr_Occurred()) SWIG_fail;
26102 }
26103 {
26104 resultobj = SWIG_From_int(static_cast<int >(result));
26105 }
26106 return resultobj;
26107 fail:
26108 return NULL;
26109 }
26110
26111
26112 static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
26113 PyObject *resultobj = NULL;
26114 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26115 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
26116 PyObject * obj0 = 0 ;
26117 PyObject * obj1 = 0 ;
26118 char *kwnames[] = {
26119 (char *) "self",(char *) "printout", NULL
26120 };
26121
26122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
26123 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26124 if (SWIG_arg_fail(1)) SWIG_fail;
26125 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26126 if (SWIG_arg_fail(2)) SWIG_fail;
26127 {
26128 PyThreadState* __tstate = wxPyBeginAllowThreads();
26129 (arg1)->SetPrintout(arg2);
26130
26131 wxPyEndAllowThreads(__tstate);
26132 if (PyErr_Occurred()) SWIG_fail;
26133 }
26134 Py_INCREF(Py_None); resultobj = Py_None;
26135 return resultobj;
26136 fail:
26137 return NULL;
26138 }
26139
26140
26141 static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
26142 PyObject *resultobj = NULL;
26143 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26144 wxPyPrintout *result;
26145 PyObject * obj0 = 0 ;
26146 char *kwnames[] = {
26147 (char *) "self", NULL
26148 };
26149
26150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
26151 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26152 if (SWIG_arg_fail(1)) SWIG_fail;
26153 {
26154 PyThreadState* __tstate = wxPyBeginAllowThreads();
26155 result = (wxPyPrintout *)(arg1)->GetPrintout();
26156
26157 wxPyEndAllowThreads(__tstate);
26158 if (PyErr_Occurred()) SWIG_fail;
26159 }
26160 {
26161 resultobj = wxPyMake_wxObject(result, (bool)0);
26162 }
26163 return resultobj;
26164 fail:
26165 return NULL;
26166 }
26167
26168
26169 static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
26170 PyObject *resultobj = NULL;
26171 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26172 wxPyPrintout *result;
26173 PyObject * obj0 = 0 ;
26174 char *kwnames[] = {
26175 (char *) "self", NULL
26176 };
26177
26178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
26179 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26180 if (SWIG_arg_fail(1)) SWIG_fail;
26181 {
26182 PyThreadState* __tstate = wxPyBeginAllowThreads();
26183 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
26184
26185 wxPyEndAllowThreads(__tstate);
26186 if (PyErr_Occurred()) SWIG_fail;
26187 }
26188 {
26189 resultobj = wxPyMake_wxObject(result, (bool)0);
26190 }
26191 return resultobj;
26192 fail:
26193 return NULL;
26194 }
26195
26196
26197 static PyObject *_wrap_PrintPreview_SetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
26198 PyObject *resultobj = NULL;
26199 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26200 wxFrame *arg2 = (wxFrame *) 0 ;
26201 PyObject * obj0 = 0 ;
26202 PyObject * obj1 = 0 ;
26203 char *kwnames[] = {
26204 (char *) "self",(char *) "frame", NULL
26205 };
26206
26207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
26208 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26209 if (SWIG_arg_fail(1)) SWIG_fail;
26210 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
26211 if (SWIG_arg_fail(2)) SWIG_fail;
26212 {
26213 PyThreadState* __tstate = wxPyBeginAllowThreads();
26214 (arg1)->SetFrame(arg2);
26215
26216 wxPyEndAllowThreads(__tstate);
26217 if (PyErr_Occurred()) SWIG_fail;
26218 }
26219 Py_INCREF(Py_None); resultobj = Py_None;
26220 return resultobj;
26221 fail:
26222 return NULL;
26223 }
26224
26225
26226 static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
26227 PyObject *resultobj = NULL;
26228 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26229 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26230 PyObject * obj0 = 0 ;
26231 PyObject * obj1 = 0 ;
26232 char *kwnames[] = {
26233 (char *) "self",(char *) "canvas", NULL
26234 };
26235
26236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
26237 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26238 if (SWIG_arg_fail(1)) SWIG_fail;
26239 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26240 if (SWIG_arg_fail(2)) SWIG_fail;
26241 {
26242 PyThreadState* __tstate = wxPyBeginAllowThreads();
26243 (arg1)->SetCanvas(arg2);
26244
26245 wxPyEndAllowThreads(__tstate);
26246 if (PyErr_Occurred()) SWIG_fail;
26247 }
26248 Py_INCREF(Py_None); resultobj = Py_None;
26249 return resultobj;
26250 fail:
26251 return NULL;
26252 }
26253
26254
26255 static PyObject *_wrap_PrintPreview_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
26256 PyObject *resultobj = NULL;
26257 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26258 wxFrame *result;
26259 PyObject * obj0 = 0 ;
26260 char *kwnames[] = {
26261 (char *) "self", NULL
26262 };
26263
26264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
26265 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26266 if (SWIG_arg_fail(1)) SWIG_fail;
26267 {
26268 PyThreadState* __tstate = wxPyBeginAllowThreads();
26269 result = (wxFrame *)(arg1)->GetFrame();
26270
26271 wxPyEndAllowThreads(__tstate);
26272 if (PyErr_Occurred()) SWIG_fail;
26273 }
26274 {
26275 resultobj = wxPyMake_wxObject(result, 0);
26276 }
26277 return resultobj;
26278 fail:
26279 return NULL;
26280 }
26281
26282
26283 static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
26284 PyObject *resultobj = NULL;
26285 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26286 wxPreviewCanvas *result;
26287 PyObject * obj0 = 0 ;
26288 char *kwnames[] = {
26289 (char *) "self", NULL
26290 };
26291
26292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
26293 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26294 if (SWIG_arg_fail(1)) SWIG_fail;
26295 {
26296 PyThreadState* __tstate = wxPyBeginAllowThreads();
26297 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
26298
26299 wxPyEndAllowThreads(__tstate);
26300 if (PyErr_Occurred()) SWIG_fail;
26301 }
26302 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0);
26303 return resultobj;
26304 fail:
26305 return NULL;
26306 }
26307
26308
26309 static PyObject *_wrap_PrintPreview_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
26310 PyObject *resultobj = NULL;
26311 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26312 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26313 wxDC *arg3 = 0 ;
26314 bool result;
26315 PyObject * obj0 = 0 ;
26316 PyObject * obj1 = 0 ;
26317 PyObject * obj2 = 0 ;
26318 char *kwnames[] = {
26319 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26320 };
26321
26322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
26323 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26324 if (SWIG_arg_fail(1)) SWIG_fail;
26325 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26326 if (SWIG_arg_fail(2)) SWIG_fail;
26327 {
26328 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26329 if (SWIG_arg_fail(3)) SWIG_fail;
26330 if (arg3 == NULL) {
26331 SWIG_null_ref("wxDC");
26332 }
26333 if (SWIG_arg_fail(3)) SWIG_fail;
26334 }
26335 {
26336 PyThreadState* __tstate = wxPyBeginAllowThreads();
26337 result = (bool)(arg1)->PaintPage(arg2,*arg3);
26338
26339 wxPyEndAllowThreads(__tstate);
26340 if (PyErr_Occurred()) SWIG_fail;
26341 }
26342 {
26343 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26344 }
26345 return resultobj;
26346 fail:
26347 return NULL;
26348 }
26349
26350
26351 static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
26352 PyObject *resultobj = NULL;
26353 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26354 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26355 wxDC *arg3 = 0 ;
26356 bool result;
26357 PyObject * obj0 = 0 ;
26358 PyObject * obj1 = 0 ;
26359 PyObject * obj2 = 0 ;
26360 char *kwnames[] = {
26361 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26362 };
26363
26364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
26365 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26366 if (SWIG_arg_fail(1)) SWIG_fail;
26367 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26368 if (SWIG_arg_fail(2)) SWIG_fail;
26369 {
26370 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26371 if (SWIG_arg_fail(3)) SWIG_fail;
26372 if (arg3 == NULL) {
26373 SWIG_null_ref("wxDC");
26374 }
26375 if (SWIG_arg_fail(3)) SWIG_fail;
26376 }
26377 {
26378 PyThreadState* __tstate = wxPyBeginAllowThreads();
26379 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
26380
26381 wxPyEndAllowThreads(__tstate);
26382 if (PyErr_Occurred()) SWIG_fail;
26383 }
26384 {
26385 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26386 }
26387 return resultobj;
26388 fail:
26389 return NULL;
26390 }
26391
26392
26393 static PyObject *_wrap_PrintPreview_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
26394 PyObject *resultobj = NULL;
26395 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26396 int arg2 ;
26397 bool result;
26398 PyObject * obj0 = 0 ;
26399 PyObject * obj1 = 0 ;
26400 char *kwnames[] = {
26401 (char *) "self",(char *) "pageNum", NULL
26402 };
26403
26404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
26405 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26406 if (SWIG_arg_fail(1)) SWIG_fail;
26407 {
26408 arg2 = static_cast<int >(SWIG_As_int(obj1));
26409 if (SWIG_arg_fail(2)) SWIG_fail;
26410 }
26411 {
26412 PyThreadState* __tstate = wxPyBeginAllowThreads();
26413 result = (bool)(arg1)->RenderPage(arg2);
26414
26415 wxPyEndAllowThreads(__tstate);
26416 if (PyErr_Occurred()) SWIG_fail;
26417 }
26418 {
26419 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26420 }
26421 return resultobj;
26422 fail:
26423 return NULL;
26424 }
26425
26426
26427 static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
26428 PyObject *resultobj = NULL;
26429 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26430 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26431 PyObject * obj0 = 0 ;
26432 PyObject * obj1 = 0 ;
26433 char *kwnames[] = {
26434 (char *) "self",(char *) "canvas", NULL
26435 };
26436
26437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
26438 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26439 if (SWIG_arg_fail(1)) SWIG_fail;
26440 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26441 if (SWIG_arg_fail(2)) SWIG_fail;
26442 {
26443 PyThreadState* __tstate = wxPyBeginAllowThreads();
26444 (arg1)->AdjustScrollbars(arg2);
26445
26446 wxPyEndAllowThreads(__tstate);
26447 if (PyErr_Occurred()) SWIG_fail;
26448 }
26449 Py_INCREF(Py_None); resultobj = Py_None;
26450 return resultobj;
26451 fail:
26452 return NULL;
26453 }
26454
26455
26456 static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
26457 PyObject *resultobj = NULL;
26458 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26459 wxPrintDialogData *result;
26460 PyObject * obj0 = 0 ;
26461 char *kwnames[] = {
26462 (char *) "self", NULL
26463 };
26464
26465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
26466 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26467 if (SWIG_arg_fail(1)) SWIG_fail;
26468 {
26469 PyThreadState* __tstate = wxPyBeginAllowThreads();
26470 {
26471 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
26472 result = (wxPrintDialogData *) &_result_ref;
26473 }
26474
26475 wxPyEndAllowThreads(__tstate);
26476 if (PyErr_Occurred()) SWIG_fail;
26477 }
26478 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
26479 return resultobj;
26480 fail:
26481 return NULL;
26482 }
26483
26484
26485 static PyObject *_wrap_PrintPreview_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
26486 PyObject *resultobj = NULL;
26487 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26488 int arg2 ;
26489 PyObject * obj0 = 0 ;
26490 PyObject * obj1 = 0 ;
26491 char *kwnames[] = {
26492 (char *) "self",(char *) "percent", NULL
26493 };
26494
26495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
26496 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26497 if (SWIG_arg_fail(1)) SWIG_fail;
26498 {
26499 arg2 = static_cast<int >(SWIG_As_int(obj1));
26500 if (SWIG_arg_fail(2)) SWIG_fail;
26501 }
26502 {
26503 PyThreadState* __tstate = wxPyBeginAllowThreads();
26504 (arg1)->SetZoom(arg2);
26505
26506 wxPyEndAllowThreads(__tstate);
26507 if (PyErr_Occurred()) SWIG_fail;
26508 }
26509 Py_INCREF(Py_None); resultobj = Py_None;
26510 return resultobj;
26511 fail:
26512 return NULL;
26513 }
26514
26515
26516 static PyObject *_wrap_PrintPreview_GetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
26517 PyObject *resultobj = NULL;
26518 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26519 int result;
26520 PyObject * obj0 = 0 ;
26521 char *kwnames[] = {
26522 (char *) "self", NULL
26523 };
26524
26525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
26526 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26527 if (SWIG_arg_fail(1)) SWIG_fail;
26528 {
26529 PyThreadState* __tstate = wxPyBeginAllowThreads();
26530 result = (int)(arg1)->GetZoom();
26531
26532 wxPyEndAllowThreads(__tstate);
26533 if (PyErr_Occurred()) SWIG_fail;
26534 }
26535 {
26536 resultobj = SWIG_From_int(static_cast<int >(result));
26537 }
26538 return resultobj;
26539 fail:
26540 return NULL;
26541 }
26542
26543
26544 static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
26545 PyObject *resultobj = NULL;
26546 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26547 int result;
26548 PyObject * obj0 = 0 ;
26549 char *kwnames[] = {
26550 (char *) "self", NULL
26551 };
26552
26553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
26554 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26555 if (SWIG_arg_fail(1)) SWIG_fail;
26556 {
26557 PyThreadState* __tstate = wxPyBeginAllowThreads();
26558 result = (int)(arg1)->GetMaxPage();
26559
26560 wxPyEndAllowThreads(__tstate);
26561 if (PyErr_Occurred()) SWIG_fail;
26562 }
26563 {
26564 resultobj = SWIG_From_int(static_cast<int >(result));
26565 }
26566 return resultobj;
26567 fail:
26568 return NULL;
26569 }
26570
26571
26572 static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
26573 PyObject *resultobj = NULL;
26574 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26575 int result;
26576 PyObject * obj0 = 0 ;
26577 char *kwnames[] = {
26578 (char *) "self", NULL
26579 };
26580
26581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
26582 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26583 if (SWIG_arg_fail(1)) SWIG_fail;
26584 {
26585 PyThreadState* __tstate = wxPyBeginAllowThreads();
26586 result = (int)(arg1)->GetMinPage();
26587
26588 wxPyEndAllowThreads(__tstate);
26589 if (PyErr_Occurred()) SWIG_fail;
26590 }
26591 {
26592 resultobj = SWIG_From_int(static_cast<int >(result));
26593 }
26594 return resultobj;
26595 fail:
26596 return NULL;
26597 }
26598
26599
26600 static PyObject *_wrap_PrintPreview_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
26601 PyObject *resultobj = NULL;
26602 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26603 bool result;
26604 PyObject * obj0 = 0 ;
26605 char *kwnames[] = {
26606 (char *) "self", NULL
26607 };
26608
26609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
26610 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26611 if (SWIG_arg_fail(1)) SWIG_fail;
26612 {
26613 PyThreadState* __tstate = wxPyBeginAllowThreads();
26614 result = (bool)(arg1)->Ok();
26615
26616 wxPyEndAllowThreads(__tstate);
26617 if (PyErr_Occurred()) SWIG_fail;
26618 }
26619 {
26620 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26621 }
26622 return resultobj;
26623 fail:
26624 return NULL;
26625 }
26626
26627
26628 static PyObject *_wrap_PrintPreview_SetOk(PyObject *, PyObject *args, PyObject *kwargs) {
26629 PyObject *resultobj = NULL;
26630 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26631 bool arg2 ;
26632 PyObject * obj0 = 0 ;
26633 PyObject * obj1 = 0 ;
26634 char *kwnames[] = {
26635 (char *) "self",(char *) "ok", NULL
26636 };
26637
26638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
26639 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26640 if (SWIG_arg_fail(1)) SWIG_fail;
26641 {
26642 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
26643 if (SWIG_arg_fail(2)) SWIG_fail;
26644 }
26645 {
26646 PyThreadState* __tstate = wxPyBeginAllowThreads();
26647 (arg1)->SetOk(arg2);
26648
26649 wxPyEndAllowThreads(__tstate);
26650 if (PyErr_Occurred()) SWIG_fail;
26651 }
26652 Py_INCREF(Py_None); resultobj = Py_None;
26653 return resultobj;
26654 fail:
26655 return NULL;
26656 }
26657
26658
26659 static PyObject *_wrap_PrintPreview_Print(PyObject *, PyObject *args, PyObject *kwargs) {
26660 PyObject *resultobj = NULL;
26661 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26662 bool arg2 ;
26663 bool result;
26664 PyObject * obj0 = 0 ;
26665 PyObject * obj1 = 0 ;
26666 char *kwnames[] = {
26667 (char *) "self",(char *) "interactive", NULL
26668 };
26669
26670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
26671 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26672 if (SWIG_arg_fail(1)) SWIG_fail;
26673 {
26674 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
26675 if (SWIG_arg_fail(2)) SWIG_fail;
26676 }
26677 {
26678 PyThreadState* __tstate = wxPyBeginAllowThreads();
26679 result = (bool)(arg1)->Print(arg2);
26680
26681 wxPyEndAllowThreads(__tstate);
26682 if (PyErr_Occurred()) SWIG_fail;
26683 }
26684 {
26685 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26686 }
26687 return resultobj;
26688 fail:
26689 return NULL;
26690 }
26691
26692
26693 static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
26694 PyObject *resultobj = NULL;
26695 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26696 PyObject * obj0 = 0 ;
26697 char *kwnames[] = {
26698 (char *) "self", NULL
26699 };
26700
26701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
26702 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26703 if (SWIG_arg_fail(1)) SWIG_fail;
26704 {
26705 PyThreadState* __tstate = wxPyBeginAllowThreads();
26706 (arg1)->DetermineScaling();
26707
26708 wxPyEndAllowThreads(__tstate);
26709 if (PyErr_Occurred()) SWIG_fail;
26710 }
26711 Py_INCREF(Py_None); resultobj = Py_None;
26712 return resultobj;
26713 fail:
26714 return NULL;
26715 }
26716
26717
26718 static PyObject * PrintPreview_swigregister(PyObject *, PyObject *args) {
26719 PyObject *obj;
26720 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26721 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
26722 Py_INCREF(obj);
26723 return Py_BuildValue((char *)"");
26724 }
26725 static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *, PyObject *args) {
26726 PyObject *resultobj = NULL;
26727 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
26728 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
26729 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
26730 wxPyPrintPreview *result;
26731 PyObject * obj0 = 0 ;
26732 PyObject * obj1 = 0 ;
26733 PyObject * obj2 = 0 ;
26734
26735 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
26736 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26737 if (SWIG_arg_fail(1)) SWIG_fail;
26738 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26739 if (SWIG_arg_fail(2)) SWIG_fail;
26740 if (obj2) {
26741 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
26742 if (SWIG_arg_fail(3)) SWIG_fail;
26743 }
26744 {
26745 if (!wxPyCheckForApp()) SWIG_fail;
26746 PyThreadState* __tstate = wxPyBeginAllowThreads();
26747 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
26748
26749 wxPyEndAllowThreads(__tstate);
26750 if (PyErr_Occurred()) SWIG_fail;
26751 }
26752 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
26753 return resultobj;
26754 fail:
26755 return NULL;
26756 }
26757
26758
26759 static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *, PyObject *args) {
26760 PyObject *resultobj = NULL;
26761 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
26762 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
26763 wxPrintData *arg3 = (wxPrintData *) 0 ;
26764 wxPyPrintPreview *result;
26765 PyObject * obj0 = 0 ;
26766 PyObject * obj1 = 0 ;
26767 PyObject * obj2 = 0 ;
26768
26769 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
26770 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26771 if (SWIG_arg_fail(1)) SWIG_fail;
26772 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26773 if (SWIG_arg_fail(2)) SWIG_fail;
26774 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
26775 if (SWIG_arg_fail(3)) SWIG_fail;
26776 {
26777 if (!wxPyCheckForApp()) SWIG_fail;
26778 PyThreadState* __tstate = wxPyBeginAllowThreads();
26779 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
26780
26781 wxPyEndAllowThreads(__tstate);
26782 if (PyErr_Occurred()) SWIG_fail;
26783 }
26784 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
26785 return resultobj;
26786 fail:
26787 return NULL;
26788 }
26789
26790
26791 static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
26792 int argc;
26793 PyObject *argv[4];
26794 int ii;
26795
26796 argc = PyObject_Length(args);
26797 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
26798 argv[ii] = PyTuple_GetItem(args,ii);
26799 }
26800 if ((argc >= 2) && (argc <= 3)) {
26801 int _v;
26802 {
26803 void *ptr;
26804 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26805 _v = 0;
26806 PyErr_Clear();
26807 } else {
26808 _v = 1;
26809 }
26810 }
26811 if (_v) {
26812 {
26813 void *ptr;
26814 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26815 _v = 0;
26816 PyErr_Clear();
26817 } else {
26818 _v = 1;
26819 }
26820 }
26821 if (_v) {
26822 if (argc <= 2) {
26823 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
26824 }
26825 {
26826 void *ptr;
26827 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
26828 _v = 0;
26829 PyErr_Clear();
26830 } else {
26831 _v = 1;
26832 }
26833 }
26834 if (_v) {
26835 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
26836 }
26837 }
26838 }
26839 }
26840 if (argc == 3) {
26841 int _v;
26842 {
26843 void *ptr;
26844 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26845 _v = 0;
26846 PyErr_Clear();
26847 } else {
26848 _v = 1;
26849 }
26850 }
26851 if (_v) {
26852 {
26853 void *ptr;
26854 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26855 _v = 0;
26856 PyErr_Clear();
26857 } else {
26858 _v = 1;
26859 }
26860 }
26861 if (_v) {
26862 {
26863 void *ptr;
26864 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
26865 _v = 0;
26866 PyErr_Clear();
26867 } else {
26868 _v = 1;
26869 }
26870 }
26871 if (_v) {
26872 return _wrap_new_PyPrintPreview__SWIG_1(self,args);
26873 }
26874 }
26875 }
26876 }
26877
26878 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
26879 return NULL;
26880 }
26881
26882
26883 static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
26884 PyObject *resultobj = NULL;
26885 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26886 PyObject *arg2 = (PyObject *) 0 ;
26887 PyObject *arg3 = (PyObject *) 0 ;
26888 PyObject * obj0 = 0 ;
26889 PyObject * obj1 = 0 ;
26890 PyObject * obj2 = 0 ;
26891 char *kwnames[] = {
26892 (char *) "self",(char *) "self",(char *) "_class", NULL
26893 };
26894
26895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
26896 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26897 if (SWIG_arg_fail(1)) SWIG_fail;
26898 arg2 = obj1;
26899 arg3 = obj2;
26900 {
26901 PyThreadState* __tstate = wxPyBeginAllowThreads();
26902 (arg1)->_setCallbackInfo(arg2,arg3);
26903
26904 wxPyEndAllowThreads(__tstate);
26905 if (PyErr_Occurred()) SWIG_fail;
26906 }
26907 Py_INCREF(Py_None); resultobj = Py_None;
26908 return resultobj;
26909 fail:
26910 return NULL;
26911 }
26912
26913
26914 static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
26915 PyObject *resultobj = NULL;
26916 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26917 int arg2 ;
26918 bool result;
26919 PyObject * obj0 = 0 ;
26920 PyObject * obj1 = 0 ;
26921 char *kwnames[] = {
26922 (char *) "self",(char *) "pageNum", NULL
26923 };
26924
26925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
26926 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26927 if (SWIG_arg_fail(1)) SWIG_fail;
26928 {
26929 arg2 = static_cast<int >(SWIG_As_int(obj1));
26930 if (SWIG_arg_fail(2)) SWIG_fail;
26931 }
26932 {
26933 PyThreadState* __tstate = wxPyBeginAllowThreads();
26934 result = (bool)(arg1)->base_SetCurrentPage(arg2);
26935
26936 wxPyEndAllowThreads(__tstate);
26937 if (PyErr_Occurred()) SWIG_fail;
26938 }
26939 {
26940 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26941 }
26942 return resultobj;
26943 fail:
26944 return NULL;
26945 }
26946
26947
26948 static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
26949 PyObject *resultobj = NULL;
26950 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26951 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26952 wxDC *arg3 = 0 ;
26953 bool result;
26954 PyObject * obj0 = 0 ;
26955 PyObject * obj1 = 0 ;
26956 PyObject * obj2 = 0 ;
26957 char *kwnames[] = {
26958 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26959 };
26960
26961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
26962 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26963 if (SWIG_arg_fail(1)) SWIG_fail;
26964 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26965 if (SWIG_arg_fail(2)) SWIG_fail;
26966 {
26967 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26968 if (SWIG_arg_fail(3)) SWIG_fail;
26969 if (arg3 == NULL) {
26970 SWIG_null_ref("wxDC");
26971 }
26972 if (SWIG_arg_fail(3)) SWIG_fail;
26973 }
26974 {
26975 PyThreadState* __tstate = wxPyBeginAllowThreads();
26976 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
26977
26978 wxPyEndAllowThreads(__tstate);
26979 if (PyErr_Occurred()) SWIG_fail;
26980 }
26981 {
26982 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26983 }
26984 return resultobj;
26985 fail:
26986 return NULL;
26987 }
26988
26989
26990 static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
26991 PyObject *resultobj = NULL;
26992 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26993 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26994 wxDC *arg3 = 0 ;
26995 bool result;
26996 PyObject * obj0 = 0 ;
26997 PyObject * obj1 = 0 ;
26998 PyObject * obj2 = 0 ;
26999 char *kwnames[] = {
27000 (char *) "self",(char *) "canvas",(char *) "dc", NULL
27001 };
27002
27003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
27004 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27005 if (SWIG_arg_fail(1)) SWIG_fail;
27006 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
27007 if (SWIG_arg_fail(2)) SWIG_fail;
27008 {
27009 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
27010 if (SWIG_arg_fail(3)) SWIG_fail;
27011 if (arg3 == NULL) {
27012 SWIG_null_ref("wxDC");
27013 }
27014 if (SWIG_arg_fail(3)) SWIG_fail;
27015 }
27016 {
27017 PyThreadState* __tstate = wxPyBeginAllowThreads();
27018 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
27019
27020 wxPyEndAllowThreads(__tstate);
27021 if (PyErr_Occurred()) SWIG_fail;
27022 }
27023 {
27024 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27025 }
27026 return resultobj;
27027 fail:
27028 return NULL;
27029 }
27030
27031
27032 static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
27033 PyObject *resultobj = NULL;
27034 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
27035 int arg2 ;
27036 bool result;
27037 PyObject * obj0 = 0 ;
27038 PyObject * obj1 = 0 ;
27039 char *kwnames[] = {
27040 (char *) "self",(char *) "pageNum", NULL
27041 };
27042
27043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail;
27044 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27045 if (SWIG_arg_fail(1)) SWIG_fail;
27046 {
27047 arg2 = static_cast<int >(SWIG_As_int(obj1));
27048 if (SWIG_arg_fail(2)) SWIG_fail;
27049 }
27050 {
27051 PyThreadState* __tstate = wxPyBeginAllowThreads();
27052 result = (bool)(arg1)->base_RenderPage(arg2);
27053
27054 wxPyEndAllowThreads(__tstate);
27055 if (PyErr_Occurred()) SWIG_fail;
27056 }
27057 {
27058 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27059 }
27060 return resultobj;
27061 fail:
27062 return NULL;
27063 }
27064
27065
27066 static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
27067 PyObject *resultobj = NULL;
27068 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
27069 int arg2 ;
27070 PyObject * obj0 = 0 ;
27071 PyObject * obj1 = 0 ;
27072 char *kwnames[] = {
27073 (char *) "self",(char *) "percent", NULL
27074 };
27075
27076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail;
27077 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27078 if (SWIG_arg_fail(1)) SWIG_fail;
27079 {
27080 arg2 = static_cast<int >(SWIG_As_int(obj1));
27081 if (SWIG_arg_fail(2)) SWIG_fail;
27082 }
27083 {
27084 PyThreadState* __tstate = wxPyBeginAllowThreads();
27085 (arg1)->base_SetZoom(arg2);
27086
27087 wxPyEndAllowThreads(__tstate);
27088 if (PyErr_Occurred()) SWIG_fail;
27089 }
27090 Py_INCREF(Py_None); resultobj = Py_None;
27091 return resultobj;
27092 fail:
27093 return NULL;
27094 }
27095
27096
27097 static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *, PyObject *args, PyObject *kwargs) {
27098 PyObject *resultobj = NULL;
27099 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
27100 bool arg2 ;
27101 bool result;
27102 PyObject * obj0 = 0 ;
27103 PyObject * obj1 = 0 ;
27104 char *kwnames[] = {
27105 (char *) "self",(char *) "interactive", NULL
27106 };
27107
27108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
27109 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27110 if (SWIG_arg_fail(1)) SWIG_fail;
27111 {
27112 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
27113 if (SWIG_arg_fail(2)) SWIG_fail;
27114 }
27115 {
27116 PyThreadState* __tstate = wxPyBeginAllowThreads();
27117 result = (bool)(arg1)->base_Print(arg2);
27118
27119 wxPyEndAllowThreads(__tstate);
27120 if (PyErr_Occurred()) SWIG_fail;
27121 }
27122 {
27123 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27124 }
27125 return resultobj;
27126 fail:
27127 return NULL;
27128 }
27129
27130
27131 static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
27132 PyObject *resultobj = NULL;
27133 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
27134 PyObject * obj0 = 0 ;
27135 char *kwnames[] = {
27136 (char *) "self", NULL
27137 };
27138
27139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
27140 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27141 if (SWIG_arg_fail(1)) SWIG_fail;
27142 {
27143 PyThreadState* __tstate = wxPyBeginAllowThreads();
27144 (arg1)->base_DetermineScaling();
27145
27146 wxPyEndAllowThreads(__tstate);
27147 if (PyErr_Occurred()) SWIG_fail;
27148 }
27149 Py_INCREF(Py_None); resultobj = Py_None;
27150 return resultobj;
27151 fail:
27152 return NULL;
27153 }
27154
27155
27156 static PyObject * PyPrintPreview_swigregister(PyObject *, PyObject *args) {
27157 PyObject *obj;
27158 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27159 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
27160 Py_INCREF(obj);
27161 return Py_BuildValue((char *)"");
27162 }
27163 static PyObject *_wrap_new_PyPreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
27164 PyObject *resultobj = NULL;
27165 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
27166 wxFrame *arg2 = (wxFrame *) 0 ;
27167 wxString *arg3 = 0 ;
27168 wxPoint const &arg4_defvalue = wxDefaultPosition ;
27169 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
27170 wxSize const &arg5_defvalue = wxDefaultSize ;
27171 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
27172 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
27173 wxString const &arg7_defvalue = wxPyFrameNameStr ;
27174 wxString *arg7 = (wxString *) &arg7_defvalue ;
27175 wxPyPreviewFrame *result;
27176 bool temp3 = false ;
27177 wxPoint temp4 ;
27178 wxSize temp5 ;
27179 bool temp7 = false ;
27180 PyObject * obj0 = 0 ;
27181 PyObject * obj1 = 0 ;
27182 PyObject * obj2 = 0 ;
27183 PyObject * obj3 = 0 ;
27184 PyObject * obj4 = 0 ;
27185 PyObject * obj5 = 0 ;
27186 PyObject * obj6 = 0 ;
27187 char *kwnames[] = {
27188 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27189 };
27190
27191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27192 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27193 if (SWIG_arg_fail(1)) SWIG_fail;
27194 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
27195 if (SWIG_arg_fail(2)) SWIG_fail;
27196 {
27197 arg3 = wxString_in_helper(obj2);
27198 if (arg3 == NULL) SWIG_fail;
27199 temp3 = true;
27200 }
27201 if (obj3) {
27202 {
27203 arg4 = &temp4;
27204 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
27205 }
27206 }
27207 if (obj4) {
27208 {
27209 arg5 = &temp5;
27210 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
27211 }
27212 }
27213 if (obj5) {
27214 {
27215 arg6 = static_cast<long >(SWIG_As_long(obj5));
27216 if (SWIG_arg_fail(6)) SWIG_fail;
27217 }
27218 }
27219 if (obj6) {
27220 {
27221 arg7 = wxString_in_helper(obj6);
27222 if (arg7 == NULL) SWIG_fail;
27223 temp7 = true;
27224 }
27225 }
27226 {
27227 if (!wxPyCheckForApp()) SWIG_fail;
27228 PyThreadState* __tstate = wxPyBeginAllowThreads();
27229 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
27230
27231 wxPyEndAllowThreads(__tstate);
27232 if (PyErr_Occurred()) SWIG_fail;
27233 }
27234 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1);
27235 {
27236 if (temp3)
27237 delete arg3;
27238 }
27239 {
27240 if (temp7)
27241 delete arg7;
27242 }
27243 return resultobj;
27244 fail:
27245 {
27246 if (temp3)
27247 delete arg3;
27248 }
27249 {
27250 if (temp7)
27251 delete arg7;
27252 }
27253 return NULL;
27254 }
27255
27256
27257 static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
27258 PyObject *resultobj = NULL;
27259 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27260 PyObject *arg2 = (PyObject *) 0 ;
27261 PyObject *arg3 = (PyObject *) 0 ;
27262 PyObject * obj0 = 0 ;
27263 PyObject * obj1 = 0 ;
27264 PyObject * obj2 = 0 ;
27265 char *kwnames[] = {
27266 (char *) "self",(char *) "self",(char *) "_class", NULL
27267 };
27268
27269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
27270 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27271 if (SWIG_arg_fail(1)) SWIG_fail;
27272 arg2 = obj1;
27273 arg3 = obj2;
27274 {
27275 PyThreadState* __tstate = wxPyBeginAllowThreads();
27276 (arg1)->_setCallbackInfo(arg2,arg3);
27277
27278 wxPyEndAllowThreads(__tstate);
27279 if (PyErr_Occurred()) SWIG_fail;
27280 }
27281 Py_INCREF(Py_None); resultobj = Py_None;
27282 return resultobj;
27283 fail:
27284 return NULL;
27285 }
27286
27287
27288 static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
27289 PyObject *resultobj = NULL;
27290 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27291 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
27292 PyObject * obj0 = 0 ;
27293 PyObject * obj1 = 0 ;
27294 char *kwnames[] = {
27295 (char *) "self",(char *) "canvas", NULL
27296 };
27297
27298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
27299 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27300 if (SWIG_arg_fail(1)) SWIG_fail;
27301 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
27302 if (SWIG_arg_fail(2)) SWIG_fail;
27303 {
27304 PyThreadState* __tstate = wxPyBeginAllowThreads();
27305 (arg1)->SetPreviewCanvas(arg2);
27306
27307 wxPyEndAllowThreads(__tstate);
27308 if (PyErr_Occurred()) SWIG_fail;
27309 }
27310 Py_INCREF(Py_None); resultobj = Py_None;
27311 return resultobj;
27312 fail:
27313 return NULL;
27314 }
27315
27316
27317 static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
27318 PyObject *resultobj = NULL;
27319 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27320 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
27321 PyObject * obj0 = 0 ;
27322 PyObject * obj1 = 0 ;
27323 char *kwnames[] = {
27324 (char *) "self",(char *) "bar", NULL
27325 };
27326
27327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
27328 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27329 if (SWIG_arg_fail(1)) SWIG_fail;
27330 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27331 if (SWIG_arg_fail(2)) SWIG_fail;
27332 {
27333 PyThreadState* __tstate = wxPyBeginAllowThreads();
27334 (arg1)->SetControlBar(arg2);
27335
27336 wxPyEndAllowThreads(__tstate);
27337 if (PyErr_Occurred()) SWIG_fail;
27338 }
27339 Py_INCREF(Py_None); resultobj = Py_None;
27340 return resultobj;
27341 fail:
27342 return NULL;
27343 }
27344
27345
27346 static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
27347 PyObject *resultobj = NULL;
27348 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27349 PyObject * obj0 = 0 ;
27350 char *kwnames[] = {
27351 (char *) "self", NULL
27352 };
27353
27354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
27355 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27356 if (SWIG_arg_fail(1)) SWIG_fail;
27357 {
27358 PyThreadState* __tstate = wxPyBeginAllowThreads();
27359 (arg1)->base_Initialize();
27360
27361 wxPyEndAllowThreads(__tstate);
27362 if (PyErr_Occurred()) SWIG_fail;
27363 }
27364 Py_INCREF(Py_None); resultobj = Py_None;
27365 return resultobj;
27366 fail:
27367 return NULL;
27368 }
27369
27370
27371 static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
27372 PyObject *resultobj = NULL;
27373 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27374 PyObject * obj0 = 0 ;
27375 char *kwnames[] = {
27376 (char *) "self", NULL
27377 };
27378
27379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
27380 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27381 if (SWIG_arg_fail(1)) SWIG_fail;
27382 {
27383 PyThreadState* __tstate = wxPyBeginAllowThreads();
27384 (arg1)->base_CreateCanvas();
27385
27386 wxPyEndAllowThreads(__tstate);
27387 if (PyErr_Occurred()) SWIG_fail;
27388 }
27389 Py_INCREF(Py_None); resultobj = Py_None;
27390 return resultobj;
27391 fail:
27392 return NULL;
27393 }
27394
27395
27396 static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
27397 PyObject *resultobj = NULL;
27398 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27399 PyObject * obj0 = 0 ;
27400 char *kwnames[] = {
27401 (char *) "self", NULL
27402 };
27403
27404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
27405 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27406 if (SWIG_arg_fail(1)) SWIG_fail;
27407 {
27408 PyThreadState* __tstate = wxPyBeginAllowThreads();
27409 (arg1)->base_CreateControlBar();
27410
27411 wxPyEndAllowThreads(__tstate);
27412 if (PyErr_Occurred()) SWIG_fail;
27413 }
27414 Py_INCREF(Py_None); resultobj = Py_None;
27415 return resultobj;
27416 fail:
27417 return NULL;
27418 }
27419
27420
27421 static PyObject * PyPreviewFrame_swigregister(PyObject *, PyObject *args) {
27422 PyObject *obj;
27423 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27424 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
27425 Py_INCREF(obj);
27426 return Py_BuildValue((char *)"");
27427 }
27428 static PyObject *_wrap_new_PyPreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
27429 PyObject *resultobj = NULL;
27430 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
27431 long arg2 ;
27432 wxWindow *arg3 = (wxWindow *) 0 ;
27433 wxPoint const &arg4_defvalue = wxDefaultPosition ;
27434 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
27435 wxSize const &arg5_defvalue = wxDefaultSize ;
27436 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
27437 long arg6 = (long) 0 ;
27438 wxString const &arg7_defvalue = wxPyPanelNameStr ;
27439 wxString *arg7 = (wxString *) &arg7_defvalue ;
27440 wxPyPreviewControlBar *result;
27441 wxPoint temp4 ;
27442 wxSize temp5 ;
27443 bool temp7 = false ;
27444 PyObject * obj0 = 0 ;
27445 PyObject * obj1 = 0 ;
27446 PyObject * obj2 = 0 ;
27447 PyObject * obj3 = 0 ;
27448 PyObject * obj4 = 0 ;
27449 PyObject * obj5 = 0 ;
27450 PyObject * obj6 = 0 ;
27451 char *kwnames[] = {
27452 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27453 };
27454
27455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27456 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27457 if (SWIG_arg_fail(1)) SWIG_fail;
27458 {
27459 arg2 = static_cast<long >(SWIG_As_long(obj1));
27460 if (SWIG_arg_fail(2)) SWIG_fail;
27461 }
27462 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27463 if (SWIG_arg_fail(3)) SWIG_fail;
27464 if (obj3) {
27465 {
27466 arg4 = &temp4;
27467 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
27468 }
27469 }
27470 if (obj4) {
27471 {
27472 arg5 = &temp5;
27473 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
27474 }
27475 }
27476 if (obj5) {
27477 {
27478 arg6 = static_cast<long >(SWIG_As_long(obj5));
27479 if (SWIG_arg_fail(6)) SWIG_fail;
27480 }
27481 }
27482 if (obj6) {
27483 {
27484 arg7 = wxString_in_helper(obj6);
27485 if (arg7 == NULL) SWIG_fail;
27486 temp7 = true;
27487 }
27488 }
27489 {
27490 if (!wxPyCheckForApp()) SWIG_fail;
27491 PyThreadState* __tstate = wxPyBeginAllowThreads();
27492 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
27493
27494 wxPyEndAllowThreads(__tstate);
27495 if (PyErr_Occurred()) SWIG_fail;
27496 }
27497 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1);
27498 {
27499 if (temp7)
27500 delete arg7;
27501 }
27502 return resultobj;
27503 fail:
27504 {
27505 if (temp7)
27506 delete arg7;
27507 }
27508 return NULL;
27509 }
27510
27511
27512 static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
27513 PyObject *resultobj = NULL;
27514 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27515 PyObject *arg2 = (PyObject *) 0 ;
27516 PyObject *arg3 = (PyObject *) 0 ;
27517 PyObject * obj0 = 0 ;
27518 PyObject * obj1 = 0 ;
27519 PyObject * obj2 = 0 ;
27520 char *kwnames[] = {
27521 (char *) "self",(char *) "self",(char *) "_class", NULL
27522 };
27523
27524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
27525 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27526 if (SWIG_arg_fail(1)) SWIG_fail;
27527 arg2 = obj1;
27528 arg3 = obj2;
27529 {
27530 PyThreadState* __tstate = wxPyBeginAllowThreads();
27531 (arg1)->_setCallbackInfo(arg2,arg3);
27532
27533 wxPyEndAllowThreads(__tstate);
27534 if (PyErr_Occurred()) SWIG_fail;
27535 }
27536 Py_INCREF(Py_None); resultobj = Py_None;
27537 return resultobj;
27538 fail:
27539 return NULL;
27540 }
27541
27542
27543 static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
27544 PyObject *resultobj = NULL;
27545 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27546 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
27547 PyObject * obj0 = 0 ;
27548 PyObject * obj1 = 0 ;
27549 char *kwnames[] = {
27550 (char *) "self",(char *) "preview", NULL
27551 };
27552
27553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
27554 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27555 if (SWIG_arg_fail(1)) SWIG_fail;
27556 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27557 if (SWIG_arg_fail(2)) SWIG_fail;
27558 {
27559 PyThreadState* __tstate = wxPyBeginAllowThreads();
27560 (arg1)->SetPrintPreview(arg2);
27561
27562 wxPyEndAllowThreads(__tstate);
27563 if (PyErr_Occurred()) SWIG_fail;
27564 }
27565 Py_INCREF(Py_None); resultobj = Py_None;
27566 return resultobj;
27567 fail:
27568 return NULL;
27569 }
27570
27571
27572 static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *, PyObject *args, PyObject *kwargs) {
27573 PyObject *resultobj = NULL;
27574 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27575 PyObject * obj0 = 0 ;
27576 char *kwnames[] = {
27577 (char *) "self", NULL
27578 };
27579
27580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
27581 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27582 if (SWIG_arg_fail(1)) SWIG_fail;
27583 {
27584 PyThreadState* __tstate = wxPyBeginAllowThreads();
27585 (arg1)->base_CreateButtons();
27586
27587 wxPyEndAllowThreads(__tstate);
27588 if (PyErr_Occurred()) SWIG_fail;
27589 }
27590 Py_INCREF(Py_None); resultobj = Py_None;
27591 return resultobj;
27592 fail:
27593 return NULL;
27594 }
27595
27596
27597 static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
27598 PyObject *resultobj = NULL;
27599 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27600 int arg2 ;
27601 PyObject * obj0 = 0 ;
27602 PyObject * obj1 = 0 ;
27603 char *kwnames[] = {
27604 (char *) "self",(char *) "zoom", NULL
27605 };
27606
27607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
27608 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27609 if (SWIG_arg_fail(1)) SWIG_fail;
27610 {
27611 arg2 = static_cast<int >(SWIG_As_int(obj1));
27612 if (SWIG_arg_fail(2)) SWIG_fail;
27613 }
27614 {
27615 PyThreadState* __tstate = wxPyBeginAllowThreads();
27616 (arg1)->base_SetZoomControl(arg2);
27617
27618 wxPyEndAllowThreads(__tstate);
27619 if (PyErr_Occurred()) SWIG_fail;
27620 }
27621 Py_INCREF(Py_None); resultobj = Py_None;
27622 return resultobj;
27623 fail:
27624 return NULL;
27625 }
27626
27627
27628 static PyObject * PyPreviewControlBar_swigregister(PyObject *, PyObject *args) {
27629 PyObject *obj;
27630 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27631 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
27632 Py_INCREF(obj);
27633 return Py_BuildValue((char *)"");
27634 }
27635 static PyMethodDef SwigMethods[] = {
27636 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
27637 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS, NULL},
27638 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27639 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27640 { (char *)"Panel_SetFocus", (PyCFunction) _wrap_Panel_SetFocus, METH_VARARGS | METH_KEYWORDS, NULL},
27641 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction) _wrap_Panel_SetFocusIgnoringChildren, METH_VARARGS | METH_KEYWORDS, NULL},
27642 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27643 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
27644 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27645 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27646 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27647 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
27648 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
27649 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
27650 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
27651 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
27652 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS, NULL},
27653 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
27654 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS, NULL},
27655 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
27656 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS, NULL},
27657 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS, NULL},
27658 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
27659 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
27660 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
27661 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
27662 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27663 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27664 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL},
27665 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL},
27666 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
27667 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27668 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
27669 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
27670 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS, NULL},
27671 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
27672 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS, NULL},
27673 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS, NULL},
27674 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27675 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27676 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
27677 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
27678 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
27679 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
27680 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
27681 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
27682 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
27683 { (char *)"TopLevelWindow_IsActive", (PyCFunction) _wrap_TopLevelWindow_IsActive, METH_VARARGS | METH_KEYWORDS, NULL},
27684 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
27685 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacGetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
27686 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
27687 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
27688 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27689 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27690 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
27691 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27692 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
27693 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
27694 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
27695 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27696 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27697 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27698 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27699 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
27700 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27701 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27702 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
27703 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
27704 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27705 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27706 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27707 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27708 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
27709 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27710 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
27711 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
27712 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27713 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27714 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
27715 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
27716 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
27717 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
27718 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
27719 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS, NULL},
27720 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL},
27721 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
27722 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27723 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
27724 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27725 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27726 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27727 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
27728 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27729 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
27730 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
27731 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
27732 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
27733 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS, NULL},
27734 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27735 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS, NULL},
27736 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
27737 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27738 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27739 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27740 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
27741 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
27742 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27743 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27744 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27745 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27746 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
27747 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
27748 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
27749 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
27750 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS, NULL},
27751 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS, NULL},
27752 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27753 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
27754 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27755 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27756 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27757 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS, NULL},
27758 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS, NULL},
27759 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
27760 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
27761 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
27762 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
27763 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
27764 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
27765 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27766 { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS, NULL},
27767 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS, NULL},
27768 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
27769 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27770 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
27771 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27772 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27773 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27774 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
27775 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction) _wrap_SplitterWindow_GetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
27776 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
27777 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
27778 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
27779 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL},
27780 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
27781 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
27782 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27783 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
27784 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27785 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27786 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27787 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS, NULL},
27788 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL},
27789 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL},
27790 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
27791 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27792 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27793 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27794 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
27795 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
27796 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL},
27797 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL},
27798 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
27799 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27800 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27801 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27802 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27803 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27804 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27805 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27806 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27807 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27808 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27809 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27810 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27811 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
27812 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL},
27813 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
27814 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27815 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
27816 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
27817 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
27818 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
27819 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
27820 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
27821 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
27822 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27823 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
27824 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
27825 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27826 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27827 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27828 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27829 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27830 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27831 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27832 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27833 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
27834 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27835 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27836 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27837 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
27838 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS, NULL},
27839 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
27840 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27841 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27842 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27843 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27844 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27845 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27846 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
27847 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27848 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
27849 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL},
27850 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL},
27851 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27852 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27853 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27854 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
27855 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27856 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27857 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27858 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS, NULL},
27859 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
27860 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27861 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27862 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27863 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS, NULL},
27864 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS, NULL},
27865 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
27866 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27867 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
27868 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS, NULL},
27869 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
27870 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27871 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27872 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27873 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27874 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
27875 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
27876 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS, NULL},
27877 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS, NULL},
27878 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL},
27879 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL},
27880 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
27881 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
27882 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL},
27883 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
27884 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction) _wrap_VScrolledWindow_GetVisibleBegin, METH_VARARGS | METH_KEYWORDS, NULL},
27885 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction) _wrap_VScrolledWindow_GetVisibleEnd, METH_VARARGS | METH_KEYWORDS, NULL},
27886 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
27887 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL},
27888 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL},
27889 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
27890 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
27891 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS, NULL},
27892 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27893 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27894 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
27895 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27896 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27897 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
27898 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
27899 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS, NULL},
27900 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL},
27901 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
27902 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
27903 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
27904 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
27905 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
27906 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27907 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
27908 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
27909 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
27910 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
27911 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
27912 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
27913 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
27914 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
27915 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
27916 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
27917 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
27918 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27919 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27920 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL},
27921 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
27922 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction) _wrap_HtmlListBox_GetFileSystem, METH_VARARGS | METH_KEYWORDS, NULL},
27923 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
27924 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27925 { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27926 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27927 { (char *)"TaskBarIcon_Destroy", (PyCFunction) _wrap_TaskBarIcon_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
27928 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
27929 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS, NULL},
27930 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27931 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27932 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
27933 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
27934 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27935 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
27936 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS, NULL},
27937 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS, NULL},
27938 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
27939 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27940 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
27941 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
27942 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27943 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
27944 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
27945 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27946 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS, NULL},
27947 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
27948 { (char *)"GetColourFromUser", (PyCFunction) _wrap_GetColourFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
27949 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27950 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
27951 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
27952 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
27953 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
27954 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
27955 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
27956 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27957 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
27958 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
27959 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
27960 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
27961 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
27962 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
27963 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
27964 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
27965 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
27966 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
27967 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
27968 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
27969 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
27970 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
27971 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS, NULL},
27972 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS, NULL},
27973 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
27974 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27975 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
27976 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
27977 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
27978 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27979 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27980 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27981 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27982 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
27983 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27984 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
27985 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
27986 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
27987 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27988 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
27989 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS, NULL},
27990 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS, NULL},
27991 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
27992 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
27993 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27994 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
27995 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
27996 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
27997 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27998 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
27999 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
28000 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
28001 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
28002 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
28003 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28004 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
28005 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28006 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS, NULL},
28007 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
28008 { (char *)"GetFontFromUser", (PyCFunction) _wrap_GetFontFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
28009 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28010 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
28011 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28012 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
28013 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS, NULL},
28014 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
28015 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
28016 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
28017 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
28018 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
28019 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28020 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
28021 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
28022 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
28023 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
28024 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
28025 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
28026 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
28027 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
28028 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
28029 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
28030 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
28031 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
28032 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
28033 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28034 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28035 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
28036 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
28037 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
28038 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
28039 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28040 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28041 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
28042 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS, NULL},
28043 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS, NULL},
28044 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS, NULL},
28045 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS, NULL},
28046 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS, NULL},
28047 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28048 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
28049 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_GetWindowMenu, METH_VARARGS | METH_KEYWORDS, NULL},
28050 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_SetWindowMenu, METH_VARARGS | METH_KEYWORDS, NULL},
28051 { (char *)"MDIParentFrame_SetToolBar", (PyCFunction) _wrap_MDIParentFrame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
28052 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
28053 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
28054 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28055 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28056 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
28057 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS, NULL},
28058 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
28059 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS, NULL},
28060 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
28061 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28062 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28063 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
28064 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
28065 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28066 { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28067 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28068 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
28069 { (char *)"PyWindow_DoEraseBackground", (PyCFunction) _wrap_PyWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
28070 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28071 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28072 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28073 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28074 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28075 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28076 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
28077 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28078 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
28079 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28080 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28081 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28082 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
28083 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
28084 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
28085 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
28086 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
28087 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
28088 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
28089 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
28090 { (char *)"PyWindow_base_OnInternalIdle", (PyCFunction) _wrap_PyWindow_base_OnInternalIdle, METH_VARARGS | METH_KEYWORDS, NULL},
28091 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
28092 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
28093 { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
28094 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28095 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
28096 { (char *)"PyPanel_DoEraseBackground", (PyCFunction) _wrap_PyPanel_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
28097 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28098 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28099 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28100 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28101 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28102 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28103 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
28104 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28105 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
28106 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28107 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28108 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28109 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
28110 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
28111 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
28112 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
28113 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
28114 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
28115 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
28116 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction) _wrap_PyPanel_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
28117 { (char *)"PyPanel_base_OnInternalIdle", (PyCFunction) _wrap_PyPanel_base_OnInternalIdle, METH_VARARGS | METH_KEYWORDS, NULL},
28118 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
28119 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28120 { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28121 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28122 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
28123 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction) _wrap_PyScrolledWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
28124 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28125 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28126 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28127 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28128 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28129 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28130 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
28131 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28132 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
28133 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28134 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28135 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28136 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction) _wrap_PyScrolledWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
28137 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
28138 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
28139 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
28140 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
28141 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
28142 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
28143 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyScrolledWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
28144 { (char *)"PyScrolledWindow_base_OnInternalIdle", (PyCFunction) _wrap_PyScrolledWindow_base_OnInternalIdle, METH_VARARGS | METH_KEYWORDS, NULL},
28145 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
28146 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
28147 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28148 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
28149 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
28150 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
28151 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
28152 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
28153 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
28154 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
28155 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
28156 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28157 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
28158 { (char *)"PrintData_GetBin", (PyCFunction) _wrap_PrintData_GetBin, METH_VARARGS | METH_KEYWORDS, NULL},
28159 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
28160 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
28161 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
28162 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
28163 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
28164 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
28165 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
28166 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
28167 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28168 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
28169 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
28170 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
28171 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
28172 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
28173 { (char *)"PrintData_GetPrivData", (PyCFunction) _wrap_PrintData_GetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
28174 { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
28175 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
28176 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
28177 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28178 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28179 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28180 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
28181 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
28182 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
28183 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28184 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28185 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
28186 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
28187 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
28188 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28189 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28190 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
28191 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
28192 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
28193 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
28194 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
28195 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28196 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28197 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
28198 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28199 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28200 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
28201 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
28202 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
28203 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
28204 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
28205 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28206 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28207 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction) _wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28208 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction) _wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_VARARGS | METH_KEYWORDS, NULL},
28209 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
28210 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28211 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS, NULL},
28212 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28213 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL},
28214 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
28215 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
28216 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28217 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
28218 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
28219 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
28220 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
28221 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
28222 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
28223 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28224 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
28225 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
28226 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
28227 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
28228 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
28229 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
28230 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
28231 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
28232 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28233 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
28234 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
28235 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
28236 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28237 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
28238 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28239 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
28240 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28241 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
28242 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28243 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
28244 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28245 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28246 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
28247 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28248 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL},
28249 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28250 { (char *)"PrintDialog_GetPrintData", (PyCFunction) _wrap_PrintDialog_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28251 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS, NULL},
28252 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
28253 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
28254 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
28255 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28256 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
28257 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
28258 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
28259 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28260 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28261 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS, NULL},
28262 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS, NULL},
28263 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
28264 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
28265 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28266 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
28267 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS, NULL},
28268 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
28269 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
28270 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
28271 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
28272 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
28273 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
28274 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
28275 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
28276 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
28277 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28278 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28279 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
28280 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS, NULL},
28281 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28282 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28283 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28284 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
28285 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28286 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
28287 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28288 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
28289 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28290 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
28291 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28292 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28293 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28294 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
28295 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28296 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
28297 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
28298 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28299 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS, NULL},
28300 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS, NULL},
28301 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS, NULL},
28302 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS, NULL},
28303 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS, NULL},
28304 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
28305 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
28306 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
28307 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
28308 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
28309 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
28310 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28311 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28312 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28313 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28314 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28315 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
28316 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
28317 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
28318 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
28319 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28320 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
28321 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
28322 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
28323 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
28324 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
28325 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
28326 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
28327 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL},
28328 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
28329 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
28330 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28331 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
28332 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
28333 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
28334 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
28335 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
28336 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS, NULL},
28337 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL},
28338 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
28339 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28340 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28341 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28342 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28343 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
28344 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28345 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28346 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
28347 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28348 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28349 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28350 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS, NULL},
28351 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
28352 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
28353 { NULL, NULL, 0, NULL }
28354 };
28355
28356
28357 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28358
28359 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
28360 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28361 }
28362 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
28363 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
28364 }
28365 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
28366 return (void *)((wxEvent *) ((wxMenuEvent *) x));
28367 }
28368 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
28369 return (void *)((wxEvent *) ((wxCloseEvent *) x));
28370 }
28371 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
28372 return (void *)((wxEvent *) ((wxMouseEvent *) x));
28373 }
28374 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
28375 return (void *)((wxEvent *) ((wxEraseEvent *) x));
28376 }
28377 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
28378 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
28379 }
28380 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
28381 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
28382 }
28383 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
28384 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
28385 }
28386 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
28387 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
28388 }
28389 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
28390 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
28391 }
28392 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
28393 return (void *)((wxEvent *) ((wxPyEvent *) x));
28394 }
28395 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
28396 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
28397 }
28398 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
28399 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
28400 }
28401 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
28402 return (void *)((wxEvent *) ((wxIdleEvent *) x));
28403 }
28404 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
28405 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
28406 }
28407 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
28408 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
28409 }
28410 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
28411 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
28412 }
28413 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
28414 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
28415 }
28416 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
28417 return (void *)((wxEvent *) ((wxActivateEvent *) x));
28418 }
28419 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
28420 return (void *)((wxEvent *) ((wxSizeEvent *) x));
28421 }
28422 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
28423 return (void *)((wxEvent *) ((wxMoveEvent *) x));
28424 }
28425 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
28426 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
28427 }
28428 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
28429 return (void *)((wxEvent *) ((wxPaintEvent *) x));
28430 }
28431 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
28432 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
28433 }
28434 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
28435 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
28436 }
28437 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
28438 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
28439 }
28440 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
28441 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
28442 }
28443 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
28444 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
28445 }
28446 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
28447 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
28448 }
28449 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
28450 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
28451 }
28452 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
28453 return (void *)((wxEvent *) ((wxFocusEvent *) x));
28454 }
28455 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
28456 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
28457 }
28458 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
28459 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
28460 }
28461 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
28462 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
28463 }
28464 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
28465 return (void *)((wxEvent *) ((wxShowEvent *) x));
28466 }
28467 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
28468 return (void *)((wxEvent *) ((wxCommandEvent *) x));
28469 }
28470 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
28471 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
28472 }
28473 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
28474 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
28475 }
28476 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
28477 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
28478 }
28479 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
28480 return (void *)((wxEvent *) ((wxKeyEvent *) x));
28481 }
28482 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
28483 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
28484 }
28485 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
28486 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
28487 }
28488 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
28489 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
28490 }
28491 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
28492 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28493 }
28494 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
28495 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
28496 }
28497 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
28498 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
28499 }
28500 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
28501 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
28502 }
28503 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
28504 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
28505 }
28506 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
28507 return (void *)((wxEvtHandler *) ((wxValidator *) x));
28508 }
28509 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
28510 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
28511 }
28512 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
28513 return (void *)((wxEvtHandler *) ((wxMenu *) x));
28514 }
28515 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
28516 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28517 }
28518 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
28519 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
28520 }
28521 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
28522 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
28523 }
28524 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
28525 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
28526 }
28527 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
28528 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
28529 }
28530 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
28531 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
28532 }
28533 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
28534 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
28535 }
28536 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
28537 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
28538 }
28539 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
28540 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
28541 }
28542 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
28543 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
28544 }
28545 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
28546 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
28547 }
28548 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
28549 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
28550 }
28551 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
28552 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
28553 }
28554 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
28555 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
28556 }
28557 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
28558 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
28559 }
28560 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
28561 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
28562 }
28563 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
28564 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
28565 }
28566 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
28567 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
28568 }
28569 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
28570 return (void *)((wxEvtHandler *) ((wxWindow *) x));
28571 }
28572 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
28573 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
28574 }
28575 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
28576 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
28577 }
28578 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
28579 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
28580 }
28581 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
28582 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
28583 }
28584 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
28585 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
28586 }
28587 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
28588 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
28589 }
28590 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
28591 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28592 }
28593 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
28594 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
28595 }
28596 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
28597 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
28598 }
28599 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
28600 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
28601 }
28602 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
28603 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
28604 }
28605 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
28606 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
28607 }
28608 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
28609 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
28610 }
28611 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
28612 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
28613 }
28614 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
28615 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
28616 }
28617 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
28618 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
28619 }
28620 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
28621 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
28622 }
28623 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
28624 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
28625 }
28626 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
28627 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
28628 }
28629 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
28630 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
28631 }
28632 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
28633 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
28634 }
28635 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
28636 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
28637 }
28638 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
28639 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
28640 }
28641 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
28642 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
28643 }
28644 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
28645 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
28646 }
28647 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
28648 return (void *)((wxFrame *) ((wxProgressDialog *) x));
28649 }
28650 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
28651 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
28652 }
28653 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
28654 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28655 }
28656 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
28657 return (void *)((wxFrame *) ((wxMiniFrame *) x));
28658 }
28659 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
28660 return (void *)((wxFrame *) ((wxSplashScreen *) x));
28661 }
28662 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
28663 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
28664 }
28665 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
28666 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
28667 }
28668 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
28669 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
28670 }
28671 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
28672 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
28673 }
28674 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
28675 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28676 }
28677 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
28678 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
28679 }
28680 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
28681 return (void *)((wxObject *) ((wxSizerItem *) x));
28682 }
28683 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
28684 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
28685 }
28686 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
28687 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
28688 }
28689 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
28690 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
28691 }
28692 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
28693 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
28694 }
28695 static void *_p_wxSizerTo_p_wxObject(void *x) {
28696 return (void *)((wxObject *) ((wxSizer *) x));
28697 }
28698 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
28699 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
28700 }
28701 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
28702 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
28703 }
28704 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
28705 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
28706 }
28707 static void *_p_wxEventTo_p_wxObject(void *x) {
28708 return (void *)((wxObject *) ((wxEvent *) x));
28709 }
28710 static void *_p_wxFontDataTo_p_wxObject(void *x) {
28711 return (void *)((wxObject *) ((wxFontData *) x));
28712 }
28713 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
28714 return (void *)((wxObject *) ((wxPrintData *) x));
28715 }
28716 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
28717 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
28718 }
28719 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
28720 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
28721 }
28722 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
28723 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
28724 }
28725 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
28726 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
28727 }
28728 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
28729 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
28730 }
28731 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
28732 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
28733 }
28734 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
28735 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
28736 }
28737 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
28738 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
28739 }
28740 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
28741 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
28742 }
28743 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
28744 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
28745 }
28746 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
28747 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
28748 }
28749 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
28750 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
28751 }
28752 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
28753 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
28754 }
28755 static void *_p_wxControlTo_p_wxObject(void *x) {
28756 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
28757 }
28758 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
28759 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
28760 }
28761 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
28762 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
28763 }
28764 static void *_p_wxFSFileTo_p_wxObject(void *x) {
28765 return (void *)((wxObject *) ((wxFSFile *) x));
28766 }
28767 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
28768 return (void *)((wxObject *) ((wxFindReplaceData *) x));
28769 }
28770 static void *_p_wxPySizerTo_p_wxObject(void *x) {
28771 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
28772 }
28773 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
28774 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
28775 }
28776 static void *_p_wxColourDataTo_p_wxObject(void *x) {
28777 return (void *)((wxObject *) ((wxColourData *) x));
28778 }
28779 static void *_p_wxPyEventTo_p_wxObject(void *x) {
28780 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
28781 }
28782 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
28783 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
28784 }
28785 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
28786 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
28787 }
28788 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
28789 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
28790 }
28791 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
28792 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
28793 }
28794 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
28795 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
28796 }
28797 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
28798 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
28799 }
28800 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
28801 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
28802 }
28803 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
28804 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28805 }
28806 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
28807 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
28808 }
28809 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
28810 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
28811 }
28812 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
28813 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
28814 }
28815 static void *_p_wxShowEventTo_p_wxObject(void *x) {
28816 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
28817 }
28818 static void *_p_wxPrinterTo_p_wxObject(void *x) {
28819 return (void *)((wxObject *) ((wxPrinter *) x));
28820 }
28821 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
28822 return (void *)((wxObject *) ((wxMenuItem *) x));
28823 }
28824 static void *_p_wxDateEventTo_p_wxObject(void *x) {
28825 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
28826 }
28827 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
28828 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
28829 }
28830 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
28831 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
28832 }
28833 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
28834 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
28835 }
28836 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
28837 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
28838 }
28839 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
28840 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
28841 }
28842 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
28843 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
28844 }
28845 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
28846 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
28847 }
28848 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
28849 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
28850 }
28851 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
28852 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
28853 }
28854 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
28855 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
28856 }
28857 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
28858 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
28859 }
28860 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
28861 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
28862 }
28863 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
28864 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
28865 }
28866 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
28867 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
28868 }
28869 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
28870 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
28871 }
28872 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
28873 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
28874 }
28875 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
28876 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
28877 }
28878 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
28879 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
28880 }
28881 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
28882 return (void *)((wxObject *) ((wxImageHandler *) x));
28883 }
28884 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
28885 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
28886 }
28887 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
28888 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
28889 }
28890 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
28891 return (void *)((wxObject *) ((wxEvtHandler *) x));
28892 }
28893 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
28894 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
28895 }
28896 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
28897 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
28898 }
28899 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
28900 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
28901 }
28902 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
28903 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
28904 }
28905 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
28906 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
28907 }
28908 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
28909 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
28910 }
28911 static void *_p_wxImageTo_p_wxObject(void *x) {
28912 return (void *)((wxObject *) ((wxImage *) x));
28913 }
28914 static void *_p_wxFrameTo_p_wxObject(void *x) {
28915 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
28916 }
28917 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
28918 return (void *)((wxObject *) ((wxPyPrintout *) x));
28919 }
28920 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
28921 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
28922 }
28923 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
28924 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
28925 }
28926 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
28927 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
28928 }
28929 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
28930 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
28931 }
28932 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
28933 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
28934 }
28935 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
28936 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
28937 }
28938 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
28939 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
28940 }
28941 static void *_p_wxWindowTo_p_wxObject(void *x) {
28942 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
28943 }
28944 static void *_p_wxMenuTo_p_wxObject(void *x) {
28945 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
28946 }
28947 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
28948 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
28949 }
28950 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
28951 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
28952 }
28953 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
28954 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
28955 }
28956 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
28957 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
28958 }
28959 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
28960 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
28961 }
28962 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
28963 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
28964 }
28965 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
28966 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
28967 }
28968 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
28969 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
28970 }
28971 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
28972 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
28973 }
28974 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
28975 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
28976 }
28977 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
28978 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
28979 }
28980 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
28981 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
28982 }
28983 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
28984 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
28985 }
28986 static void *_p_wxSashEventTo_p_wxObject(void *x) {
28987 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
28988 }
28989 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
28990 return (void *)((wxObject *) ((wxPrintPreview *) x));
28991 }
28992 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
28993 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
28994 }
28995 static void *_p_wxPanelTo_p_wxObject(void *x) {
28996 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
28997 }
28998 static void *_p_wxDialogTo_p_wxObject(void *x) {
28999 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
29000 }
29001 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
29002 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
29003 }
29004 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
29005 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
29006 }
29007 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
29008 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
29009 }
29010 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
29011 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
29012 }
29013 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
29014 return (void *)((wxObject *) ((wxPrintDialog *) x));
29015 }
29016 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
29017 return (void *)((wxObject *) ((wxFileSystem *) x));
29018 }
29019 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
29020 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
29021 }
29022 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
29023 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
29024 }
29025 static void *_p_wxPyAppTo_p_wxObject(void *x) {
29026 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
29027 }
29028 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
29029 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
29030 }
29031 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
29032 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
29033 }
29034 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
29035 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
29036 }
29037 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
29038 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
29039 }
29040 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
29041 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
29042 }
29043 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
29044 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
29045 }
29046 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
29047 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29048 }
29049 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
29050 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
29051 }
29052 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
29053 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
29054 }
29055 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
29056 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
29057 }
29058 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
29059 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
29060 }
29061 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
29062 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
29063 }
29064 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
29065 return (void *)((wxObject *) ((wxPrintDialogData *) x));
29066 }
29067 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
29068 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
29069 }
29070 static void *_p_wxValidatorTo_p_wxObject(void *x) {
29071 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
29072 }
29073 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
29074 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
29075 }
29076 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
29077 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
29078 }
29079 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
29080 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
29081 }
29082 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
29083 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
29084 }
29085 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
29086 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
29087 }
29088 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
29089 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
29090 }
29091 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
29092 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
29093 }
29094 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
29095 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
29096 }
29097 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
29098 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
29099 }
29100 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
29101 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
29102 }
29103 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
29104 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
29105 }
29106 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
29107 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
29108 }
29109 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
29110 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
29111 }
29112 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
29113 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
29114 }
29115 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
29116 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
29117 }
29118 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
29119 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
29120 }
29121 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
29122 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
29123 }
29124 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
29125 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
29126 }
29127 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
29128 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
29129 }
29130 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
29131 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
29132 }
29133 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
29134 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
29135 }
29136 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
29137 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
29138 }
29139 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
29140 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
29141 }
29142 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
29143 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
29144 }
29145 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
29146 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
29147 }
29148 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
29149 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
29150 }
29151 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
29152 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
29153 }
29154 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
29155 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
29156 }
29157 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
29158 return (void *)((wxWindow *) ((wxMenuBar *) x));
29159 }
29160 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
29161 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
29162 }
29163 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
29164 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
29165 }
29166 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
29167 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
29168 }
29169 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
29170 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
29171 }
29172 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
29173 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
29174 }
29175 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
29176 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
29177 }
29178 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
29179 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
29180 }
29181 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
29182 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
29183 }
29184 static void *_p_wxPanelTo_p_wxWindow(void *x) {
29185 return (void *)((wxWindow *) ((wxPanel *) x));
29186 }
29187 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
29188 return (void *)((wxWindow *) ((wxStatusBar *) x));
29189 }
29190 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
29191 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
29192 }
29193 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
29194 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
29195 }
29196 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
29197 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
29198 }
29199 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
29200 return (void *)((wxWindow *) ((wxPopupWindow *) x));
29201 }
29202 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
29203 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
29204 }
29205 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
29206 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
29207 }
29208 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
29209 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
29210 }
29211 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
29212 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
29213 }
29214 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
29215 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
29216 }
29217 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
29218 return (void *)((wxWindow *) ((wxSashWindow *) x));
29219 }
29220 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
29221 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
29222 }
29223 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
29224 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
29225 }
29226 static void *_p_wxControlTo_p_wxWindow(void *x) {
29227 return (void *)((wxWindow *) ((wxControl *) x));
29228 }
29229 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
29230 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
29231 }
29232 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
29233 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
29234 }
29235 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
29236 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
29237 }
29238 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
29239 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
29240 }
29241 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
29242 return (void *)((wxWindow *) ((wxPyWindow *) x));
29243 }
29244 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
29245 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
29246 }
29247 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
29248 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
29249 }
29250 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
29251 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
29252 }
29253 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
29254 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
29255 }
29256 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
29257 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29258 }
29259 static void *_p_wxFrameTo_p_wxWindow(void *x) {
29260 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
29261 }
29262 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
29263 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
29264 }
29265 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
29266 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
29267 }
29268 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
29269 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
29270 }
29271 static void *_p_wxDialogTo_p_wxWindow(void *x) {
29272 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
29273 }
29274 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
29275 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
29276 }
29277 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
29278 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
29279 }
29280 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
29281 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
29282 }
29283 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
29284 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
29285 }
29286 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
29287 return (void *)((wxDialog *) ((wxColourDialog *) x));
29288 }
29289 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
29290 return (void *)((wxDialog *) ((wxDirDialog *) x));
29291 }
29292 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
29293 return (void *)((wxDialog *) ((wxFontDialog *) x));
29294 }
29295 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
29296 return (void *)((wxDialog *) ((wxFileDialog *) x));
29297 }
29298 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
29299 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
29300 }
29301 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
29302 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
29303 }
29304 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
29305 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
29306 }
29307 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
29308 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
29309 }
29310 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
29311 return (void *)((wxDialog *) ((wxMessageDialog *) x));
29312 }
29313 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
29314 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
29315 }
29316 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
29317 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
29318 }
29319 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
29320 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
29321 }
29322 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
29323 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
29324 }
29325 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
29326 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
29327 }
29328 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
29329 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
29330 }
29331 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
29332 return (void *)((wxPanel *) ((wxPyPanel *) x));
29333 }
29334 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
29335 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
29336 }
29337 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
29338 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
29339 }
29340 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
29341 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29342 }
29343 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
29344 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
29345 }
29346 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
29347 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
29348 }
29349 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
29350 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
29351 }
29352 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
29353 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
29354 }
29355 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
29356 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
29357 }
29358 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
29359 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
29360 }
29361 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
29362 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
29363 }
29364 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
29365 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
29366 }
29367 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
29368 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
29369 }
29370 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
29371 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
29372 }
29373 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
29374 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
29375 }
29376 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
29377 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
29378 }
29379 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
29380 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29381 }
29382 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, 0};
29383 static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0};
29384 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, 0};
29385 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0};
29386 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0};
29387 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, 0};
29388 static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, 0};
29389 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, 0};
29390 static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, 0};
29391 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, 0};
29392 static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", "wxColourData *", 0, 0, 0};
29393 static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", "wxColourDialog *", 0, 0, 0};
29394 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, 0};
29395 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0};
29396 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0};
29397 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0};
29398 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0};
29399 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0};
29400 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0};
29401 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0};
29402 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0};
29403 static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, 0};
29404 static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, 0};
29405 static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", "wxDirDialog *", 0, 0, 0};
29406 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0};
29407 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, 0};
29408 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0};
29409 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0};
29410 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0};
29411 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0};
29412 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0};
29413 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0};
29414 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0};
29415 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0};
29416 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0};
29417 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0};
29418 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0};
29419 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0};
29420 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0};
29421 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0};
29422 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0};
29423 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0};
29424 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0};
29425 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0};
29426 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0};
29427 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0};
29428 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0};
29429 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0};
29430 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0};
29431 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0};
29432 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0};
29433 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0};
29434 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0};
29435 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0};
29436 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0};
29437 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0};
29438 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0};
29439 static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", "wxFileDialog *", 0, 0, 0};
29440 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, 0};
29441 static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, 0};
29442 static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, 0};
29443 static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, 0};
29444 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, 0};
29445 static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", "wxFontData *", 0, 0, 0};
29446 static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", "wxFontDialog *", 0, 0, 0};
29447 static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, 0};
29448 static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, 0};
29449 static swig_type_info _swigt__p_wxIconBundle = {"_p_wxIconBundle", "wxIconBundle *", 0, 0, 0};
29450 static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, 0};
29451 static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, 0};
29452 static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, 0};
29453 static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, 0};
29454 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, 0};
29455 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", "wxMenuBar *", 0, 0, 0};
29456 static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, 0};
29457 static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, 0};
29458 static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, 0};
29459 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, 0};
29460 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, 0};
29461 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0};
29462 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0};
29463 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0};
29464 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0};
29465 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0};
29466 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0};
29467 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0};
29468 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0};
29469 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0};
29470 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0};
29471 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0};
29472 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0};
29473 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0};
29474 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0};
29475 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0};
29476 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0};
29477 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0};
29478 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0};
29479 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0};
29480 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0};
29481 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0};
29482 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0};
29483 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0};
29484 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0};
29485 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0};
29486 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0};
29487 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0};
29488 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0};
29489 static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, 0};
29490 static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, 0};
29491 static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, 0};
29492 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0};
29493 static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, 0};
29494 static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, 0};
29495 static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, 0};
29496 static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, 0};
29497 static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, 0};
29498 static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, 0};
29499 static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, 0};
29500 static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, 0};
29501 static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, 0};
29502 static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, 0};
29503 static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", "wxPrinter *", 0, 0, 0};
29504 static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, 0};
29505 static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, 0};
29506 static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", "wxPyPanel *", 0, 0, 0};
29507 static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, 0};
29508 static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, 0};
29509 static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, 0};
29510 static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, 0};
29511 static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, 0};
29512 static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, 0};
29513 static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, 0};
29514 static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, 0};
29515 static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, 0};
29516 static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", "wxPyWindow *", 0, 0, 0};
29517 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, 0};
29518 static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, 0};
29519 static swig_type_info _swigt__p_wxRegion = {"_p_wxRegion", "wxRegion *", 0, 0, 0};
29520 static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", "wxSashEvent *", 0, 0, 0};
29521 static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, 0};
29522 static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", "wxSashWindow *", 0, 0, 0};
29523 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, 0};
29524 static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, 0};
29525 static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, 0};
29526 static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, 0};
29527 static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, 0};
29528 static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, 0};
29529 static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, 0};
29530 static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, 0};
29531 static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", "wxStatusBar *", 0, 0, 0};
29532 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, 0};
29533 static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, 0};
29534 static swig_type_info _swigt__p_wxTaskBarIcon = {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, 0};
29535 static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, 0};
29536 static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, 0};
29537 static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", "wxTipWindow *", 0, 0, 0};
29538 static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, 0};
29539 static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, 0};
29540 static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, 0};
29541 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, 0};
29542 static swig_type_info _swigt__ptrdiff_t = {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0};
29543 static swig_type_info _swigt__std__ptrdiff_t = {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0};
29544 static swig_type_info _swigt__unsigned_int = {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0};
29545
29546 static swig_type_info *swig_type_initial[] = {
29547 &_swigt__p_char,
29548 &_swigt__p_form_ops_t,
29549 &_swigt__p_int,
29550 &_swigt__p_unsigned_char,
29551 &_swigt__p_unsigned_int,
29552 &_swigt__p_unsigned_long,
29553 &_swigt__p_wxANIHandler,
29554 &_swigt__p_wxAcceleratorTable,
29555 &_swigt__p_wxActivateEvent,
29556 &_swigt__p_wxArrayInt,
29557 &_swigt__p_wxBMPHandler,
29558 &_swigt__p_wxBitmap,
29559 &_swigt__p_wxBoxSizer,
29560 &_swigt__p_wxCURHandler,
29561 &_swigt__p_wxCalculateLayoutEvent,
29562 &_swigt__p_wxChildFocusEvent,
29563 &_swigt__p_wxCloseEvent,
29564 &_swigt__p_wxColour,
29565 &_swigt__p_wxColourData,
29566 &_swigt__p_wxColourDialog,
29567 &_swigt__p_wxCommandEvent,
29568 &_swigt__p_wxContextMenuEvent,
29569 &_swigt__p_wxControl,
29570 &_swigt__p_wxControlWithItems,
29571 &_swigt__p_wxDC,
29572 &_swigt__p_wxDateEvent,
29573 &_swigt__p_wxDialog,
29574 &_swigt__p_wxDirDialog,
29575 &_swigt__p_wxDisplayChangedEvent,
29576 &_swigt__p_wxDropFilesEvent,
29577 &_swigt__p_wxDuplexMode,
29578 &_swigt__p_wxEraseEvent,
29579 &_swigt__p_wxEvent,
29580 &_swigt__p_wxEvtHandler,
29581 &_swigt__p_wxFSFile,
29582 &_swigt__p_wxFileDialog,
29583 &_swigt__p_wxFileSystem,
29584 &_swigt__p_wxFindDialogEvent,
29585 &_swigt__p_wxFindReplaceData,
29586 &_swigt__p_wxFindReplaceDialog,
29587 &_swigt__p_wxFlexGridSizer,
29588 &_swigt__p_wxFocusEvent,
29589 &_swigt__p_wxFont,
29590 &_swigt__p_wxFontData,
29591 &_swigt__p_wxFontDialog,
29592 &_swigt__p_wxFrame,
29593 &_swigt__p_wxGBSizerItem,
29594 &_swigt__p_wxGIFHandler,
29595 &_swigt__p_wxGridBagSizer,
29596 &_swigt__p_wxGridSizer,
29597 &_swigt__p_wxICOHandler,
29598 &_swigt__p_wxIcon,
29599 &_swigt__p_wxIconBundle,
29600 &_swigt__p_wxIconizeEvent,
29601 &_swigt__p_wxIdleEvent,
29602 &_swigt__p_wxImage,
29603 &_swigt__p_wxImageHandler,
29604 &_swigt__p_wxIndividualLayoutConstraint,
29605 &_swigt__p_wxInitDialogEvent,
29606 &_swigt__p_wxJPEGHandler,
29607 &_swigt__p_wxKeyEvent,
29608 &_swigt__p_wxLayoutAlgorithm,
29609 &_swigt__p_wxLayoutConstraints,
29610 &_swigt__p_wxMDIChildFrame,
29611 &_swigt__p_wxMDIClientWindow,
29612 &_swigt__p_wxMDIParentFrame,
29613 &_swigt__p_wxMaximizeEvent,
29614 &_swigt__p_wxMenu,
29615 &_swigt__p_wxMenuBar,
29616 &_swigt__p_wxMenuEvent,
29617 &_swigt__p_wxMenuItem,
29618 &_swigt__p_wxMessageDialog,
29619 &_swigt__p_wxMiniFrame,
29620 &_swigt__p_wxMouseCaptureChangedEvent,
29621 &_swigt__p_wxMouseEvent,
29622 &_swigt__p_wxMoveEvent,
29623 &_swigt__p_wxMultiChoiceDialog,
29624 &_swigt__p_wxNavigationKeyEvent,
29625 &_swigt__p_wxNcPaintEvent,
29626 &_swigt__p_wxNotifyEvent,
29627 &_swigt__p_wxObject,
29628 &_swigt__p_wxPCXHandler,
29629 &_swigt__p_wxPNGHandler,
29630 &_swigt__p_wxPNMHandler,
29631 &_swigt__p_wxPageSetupDialog,
29632 &_swigt__p_wxPageSetupDialogData,
29633 &_swigt__p_wxPaintEvent,
29634 &_swigt__p_wxPaletteChangedEvent,
29635 &_swigt__p_wxPanel,
29636 &_swigt__p_wxPaperSize,
29637 &_swigt__p_wxPasswordEntryDialog,
29638 &_swigt__p_wxPoint,
29639 &_swigt__p_wxPopupWindow,
29640 &_swigt__p_wxPreviewCanvas,
29641 &_swigt__p_wxPreviewControlBar,
29642 &_swigt__p_wxPreviewFrame,
29643 &_swigt__p_wxPrintData,
29644 &_swigt__p_wxPrintDialog,
29645 &_swigt__p_wxPrintDialogData,
29646 &_swigt__p_wxPrintPreview,
29647 &_swigt__p_wxPrinter,
29648 &_swigt__p_wxProgressDialog,
29649 &_swigt__p_wxPyApp,
29650 &_swigt__p_wxPyCommandEvent,
29651 &_swigt__p_wxPyEvent,
29652 &_swigt__p_wxPyHtmlListBox,
29653 &_swigt__p_wxPyImageHandler,
29654 &_swigt__p_wxPyPanel,
29655 &_swigt__p_wxPyPopupTransientWindow,
29656 &_swigt__p_wxPyPreviewControlBar,
29657 &_swigt__p_wxPyPreviewFrame,
29658 &_swigt__p_wxPyPrintPreview,
29659 &_swigt__p_wxPyPrintout,
29660 &_swigt__p_wxPyScrolledWindow,
29661 &_swigt__p_wxPySizer,
29662 &_swigt__p_wxPyTaskBarIcon,
29663 &_swigt__p_wxPyVListBox,
29664 &_swigt__p_wxPyVScrolledWindow,
29665 &_swigt__p_wxPyValidator,
29666 &_swigt__p_wxPyWindow,
29667 &_swigt__p_wxQueryLayoutInfoEvent,
29668 &_swigt__p_wxQueryNewPaletteEvent,
29669 &_swigt__p_wxRect,
29670 &_swigt__p_wxRegion,
29671 &_swigt__p_wxSashEvent,
29672 &_swigt__p_wxSashLayoutWindow,
29673 &_swigt__p_wxSashWindow,
29674 &_swigt__p_wxScrollEvent,
29675 &_swigt__p_wxScrollWinEvent,
29676 &_swigt__p_wxScrolledWindow,
29677 &_swigt__p_wxSetCursorEvent,
29678 &_swigt__p_wxShowEvent,
29679 &_swigt__p_wxSingleChoiceDialog,
29680 &_swigt__p_wxSize,
29681 &_swigt__p_wxSizeEvent,
29682 &_swigt__p_wxSizer,
29683 &_swigt__p_wxSizerItem,
29684 &_swigt__p_wxSplashScreen,
29685 &_swigt__p_wxSplashScreenWindow,
29686 &_swigt__p_wxSplitterEvent,
29687 &_swigt__p_wxSplitterWindow,
29688 &_swigt__p_wxStaticBoxSizer,
29689 &_swigt__p_wxStatusBar,
29690 &_swigt__p_wxStdDialogButtonSizer,
29691 &_swigt__p_wxString,
29692 &_swigt__p_wxSysColourChangedEvent,
29693 &_swigt__p_wxTIFFHandler,
29694 &_swigt__p_wxTaskBarIcon,
29695 &_swigt__p_wxTaskBarIconEvent,
29696 &_swigt__p_wxTextEntryDialog,
29697 &_swigt__p_wxTipWindow,
29698 &_swigt__p_wxToolBar,
29699 &_swigt__p_wxTopLevelWindow,
29700 &_swigt__p_wxUpdateUIEvent,
29701 &_swigt__p_wxValidator,
29702 &_swigt__p_wxVisualAttributes,
29703 &_swigt__p_wxWindow,
29704 &_swigt__p_wxWindowCreateEvent,
29705 &_swigt__p_wxWindowDestroyEvent,
29706 &_swigt__p_wxXPMHandler,
29707 &_swigt__ptrdiff_t,
29708 &_swigt__std__ptrdiff_t,
29709 &_swigt__unsigned_int,
29710 };
29711
29712 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
29713 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
29714 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
29715 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
29716 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
29717 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
29718 static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
29719 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
29720 static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = { {&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
29721 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
29722 static swig_cast_info _swigc__p_wxColourData[] = { {&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
29723 static swig_cast_info _swigc__p_wxColourDialog[] = { {&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
29724 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
29725 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
29726 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
29727 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
29728 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
29729 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
29730 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
29731 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
29732 static swig_cast_info _swigc__p_wxCommandEvent[] = { {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}};
29733 static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
29734 static swig_cast_info _swigc__p_wxDialog[] = { {&_swigt__p_wxDialog, 0, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxDialog, 0, 0},{0, 0, 0, 0}};
29735 static swig_cast_info _swigc__p_wxDirDialog[] = { {&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
29736 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
29737 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
29738 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
29739 static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
29740 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
29741 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
29742 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
29743 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
29744 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
29745 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
29746 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
29747 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
29748 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
29749 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
29750 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
29751 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
29752 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
29753 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
29754 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
29755 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
29756 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
29757 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
29758 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
29759 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
29760 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
29761 static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
29762 static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}};
29763 static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
29764 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
29765 static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
29766 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
29767 static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
29768 static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
29769 static swig_cast_info _swigc__p_wxFileDialog[] = { {&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
29770 static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
29771 static swig_cast_info _swigc__p_wxFindDialogEvent[] = { {&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
29772 static swig_cast_info _swigc__p_wxFindReplaceData[] = { {&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
29773 static swig_cast_info _swigc__p_wxFindReplaceDialog[] = { {&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
29774 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
29775 static swig_cast_info _swigc__p_wxFontData[] = { {&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
29776 static swig_cast_info _swigc__p_wxFontDialog[] = { {&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
29777 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}};
29778 static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
29779 static swig_cast_info _swigc__p_wxIconBundle[] = { {&_swigt__p_wxIconBundle, 0, 0, 0},{0, 0, 0, 0}};
29780 static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = { {&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
29781 static swig_cast_info _swigc__p_wxMDIChildFrame[] = { {&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
29782 static swig_cast_info _swigc__p_wxMDIClientWindow[] = { {&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
29783 static swig_cast_info _swigc__p_wxMDIParentFrame[] = { {&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
29784 static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
29785 static swig_cast_info _swigc__p_wxMenuBar[] = { {&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
29786 static swig_cast_info _swigc__p_wxMessageDialog[] = { {&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
29787 static swig_cast_info _swigc__p_wxMiniFrame[] = { {&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
29788 static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = { {&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
29789 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}};
29790 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
29791 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
29792 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
29793 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
29794 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
29795 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
29796 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
29797 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
29798 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
29799 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
29800 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
29801 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
29802 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
29803 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
29804 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
29805 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
29806 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
29807 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
29808 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
29809 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
29810 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
29811 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
29812 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
29813 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
29814 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
29815 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
29816 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
29817 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
29818 static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintData, _p_wxPrintDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialogData, _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialogData, _p_wxPrintDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
29819 static swig_cast_info _swigc__p_wxPageSetupDialog[] = { {&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
29820 static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
29821 static swig_cast_info _swigc__p_wxPanel[] = { {&_swigt__p_wxPanel, 0, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxPanel, 0, 0},{0, 0, 0, 0}};
29822 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
29823 static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = { {&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
29824 static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
29825 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}};
29826 static swig_cast_info _swigc__p_wxPreviewCanvas[] = { {&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
29827 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}};
29828 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}};
29829 static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
29830 static swig_cast_info _swigc__p_wxPrintDialog[] = { {&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
29831 static swig_cast_info _swigc__p_wxPrintDialogData[] = { {&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
29832 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}};
29833 static swig_cast_info _swigc__p_wxPrinter[] = { {&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
29834 static swig_cast_info _swigc__p_wxProgressDialog[] = { {&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
29835 static swig_cast_info _swigc__p_wxPyHtmlListBox[] = { {&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
29836 static swig_cast_info _swigc__p_wxPyPanel[] = { {&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
29837 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}};
29838 static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = { {&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
29839 static swig_cast_info _swigc__p_wxPyPreviewFrame[] = { {&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
29840 static swig_cast_info _swigc__p_wxPyPrintPreview[] = { {&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
29841 static swig_cast_info _swigc__p_wxPyPrintout[] = { {&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
29842 static swig_cast_info _swigc__p_wxPyScrolledWindow[] = { {&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
29843 static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = { {&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
29844 static swig_cast_info _swigc__p_wxPyVListBox[] = { {&_swigt__p_wxPyVListBox, 0, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPyVListBox, 0, 0},{0, 0, 0, 0}};
29845 static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = { {&_swigt__p_wxPyVScrolledWindow, 0, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxPyVScrolledWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow, 0, 0},{0, 0, 0, 0}};
29846 static swig_cast_info _swigc__p_wxPyWindow[] = { {&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
29847 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = { {&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
29848 static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
29849 static swig_cast_info _swigc__p_wxRegion[] = { {&_swigt__p_wxRegion, 0, 0, 0},{0, 0, 0, 0}};
29850 static swig_cast_info _swigc__p_wxSashEvent[] = { {&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
29851 static swig_cast_info _swigc__p_wxSashLayoutWindow[] = { {&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
29852 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}};
29853 static swig_cast_info _swigc__p_wxScrollWinEvent[] = { {&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
29854 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}};
29855 static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = { {&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
29856 static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
29857 static swig_cast_info _swigc__p_wxSplashScreen[] = { {&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
29858 static swig_cast_info _swigc__p_wxSplashScreenWindow[] = { {&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
29859 static swig_cast_info _swigc__p_wxSplitterEvent[] = { {&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
29860 static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
29861 static swig_cast_info _swigc__p_wxStatusBar[] = { {&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
29862 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = { {&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
29863 static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
29864 static swig_cast_info _swigc__p_wxTaskBarIcon[] = { {&_swigt__p_wxTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
29865 static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = { {&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
29866 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}};
29867 static swig_cast_info _swigc__p_wxTipWindow[] = { {&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
29868 static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
29869 static swig_cast_info _swigc__p_wxTopLevelWindow[] = { {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0},{0, 0, 0, 0}};
29870 static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
29871 static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
29872 static swig_cast_info _swigc__ptrdiff_t[] = { {&_swigt__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}};
29873 static swig_cast_info _swigc__std__ptrdiff_t[] = { {&_swigt__std__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}};
29874 static swig_cast_info _swigc__unsigned_int[] = { {&_swigt__unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
29875
29876 static swig_cast_info *swig_cast_initial[] = {
29877 _swigc__p_char,
29878 _swigc__p_form_ops_t,
29879 _swigc__p_int,
29880 _swigc__p_unsigned_char,
29881 _swigc__p_unsigned_int,
29882 _swigc__p_unsigned_long,
29883 _swigc__p_wxANIHandler,
29884 _swigc__p_wxAcceleratorTable,
29885 _swigc__p_wxActivateEvent,
29886 _swigc__p_wxArrayInt,
29887 _swigc__p_wxBMPHandler,
29888 _swigc__p_wxBitmap,
29889 _swigc__p_wxBoxSizer,
29890 _swigc__p_wxCURHandler,
29891 _swigc__p_wxCalculateLayoutEvent,
29892 _swigc__p_wxChildFocusEvent,
29893 _swigc__p_wxCloseEvent,
29894 _swigc__p_wxColour,
29895 _swigc__p_wxColourData,
29896 _swigc__p_wxColourDialog,
29897 _swigc__p_wxCommandEvent,
29898 _swigc__p_wxContextMenuEvent,
29899 _swigc__p_wxControl,
29900 _swigc__p_wxControlWithItems,
29901 _swigc__p_wxDC,
29902 _swigc__p_wxDateEvent,
29903 _swigc__p_wxDialog,
29904 _swigc__p_wxDirDialog,
29905 _swigc__p_wxDisplayChangedEvent,
29906 _swigc__p_wxDropFilesEvent,
29907 _swigc__p_wxDuplexMode,
29908 _swigc__p_wxEraseEvent,
29909 _swigc__p_wxEvent,
29910 _swigc__p_wxEvtHandler,
29911 _swigc__p_wxFSFile,
29912 _swigc__p_wxFileDialog,
29913 _swigc__p_wxFileSystem,
29914 _swigc__p_wxFindDialogEvent,
29915 _swigc__p_wxFindReplaceData,
29916 _swigc__p_wxFindReplaceDialog,
29917 _swigc__p_wxFlexGridSizer,
29918 _swigc__p_wxFocusEvent,
29919 _swigc__p_wxFont,
29920 _swigc__p_wxFontData,
29921 _swigc__p_wxFontDialog,
29922 _swigc__p_wxFrame,
29923 _swigc__p_wxGBSizerItem,
29924 _swigc__p_wxGIFHandler,
29925 _swigc__p_wxGridBagSizer,
29926 _swigc__p_wxGridSizer,
29927 _swigc__p_wxICOHandler,
29928 _swigc__p_wxIcon,
29929 _swigc__p_wxIconBundle,
29930 _swigc__p_wxIconizeEvent,
29931 _swigc__p_wxIdleEvent,
29932 _swigc__p_wxImage,
29933 _swigc__p_wxImageHandler,
29934 _swigc__p_wxIndividualLayoutConstraint,
29935 _swigc__p_wxInitDialogEvent,
29936 _swigc__p_wxJPEGHandler,
29937 _swigc__p_wxKeyEvent,
29938 _swigc__p_wxLayoutAlgorithm,
29939 _swigc__p_wxLayoutConstraints,
29940 _swigc__p_wxMDIChildFrame,
29941 _swigc__p_wxMDIClientWindow,
29942 _swigc__p_wxMDIParentFrame,
29943 _swigc__p_wxMaximizeEvent,
29944 _swigc__p_wxMenu,
29945 _swigc__p_wxMenuBar,
29946 _swigc__p_wxMenuEvent,
29947 _swigc__p_wxMenuItem,
29948 _swigc__p_wxMessageDialog,
29949 _swigc__p_wxMiniFrame,
29950 _swigc__p_wxMouseCaptureChangedEvent,
29951 _swigc__p_wxMouseEvent,
29952 _swigc__p_wxMoveEvent,
29953 _swigc__p_wxMultiChoiceDialog,
29954 _swigc__p_wxNavigationKeyEvent,
29955 _swigc__p_wxNcPaintEvent,
29956 _swigc__p_wxNotifyEvent,
29957 _swigc__p_wxObject,
29958 _swigc__p_wxPCXHandler,
29959 _swigc__p_wxPNGHandler,
29960 _swigc__p_wxPNMHandler,
29961 _swigc__p_wxPageSetupDialog,
29962 _swigc__p_wxPageSetupDialogData,
29963 _swigc__p_wxPaintEvent,
29964 _swigc__p_wxPaletteChangedEvent,
29965 _swigc__p_wxPanel,
29966 _swigc__p_wxPaperSize,
29967 _swigc__p_wxPasswordEntryDialog,
29968 _swigc__p_wxPoint,
29969 _swigc__p_wxPopupWindow,
29970 _swigc__p_wxPreviewCanvas,
29971 _swigc__p_wxPreviewControlBar,
29972 _swigc__p_wxPreviewFrame,
29973 _swigc__p_wxPrintData,
29974 _swigc__p_wxPrintDialog,
29975 _swigc__p_wxPrintDialogData,
29976 _swigc__p_wxPrintPreview,
29977 _swigc__p_wxPrinter,
29978 _swigc__p_wxProgressDialog,
29979 _swigc__p_wxPyApp,
29980 _swigc__p_wxPyCommandEvent,
29981 _swigc__p_wxPyEvent,
29982 _swigc__p_wxPyHtmlListBox,
29983 _swigc__p_wxPyImageHandler,
29984 _swigc__p_wxPyPanel,
29985 _swigc__p_wxPyPopupTransientWindow,
29986 _swigc__p_wxPyPreviewControlBar,
29987 _swigc__p_wxPyPreviewFrame,
29988 _swigc__p_wxPyPrintPreview,
29989 _swigc__p_wxPyPrintout,
29990 _swigc__p_wxPyScrolledWindow,
29991 _swigc__p_wxPySizer,
29992 _swigc__p_wxPyTaskBarIcon,
29993 _swigc__p_wxPyVListBox,
29994 _swigc__p_wxPyVScrolledWindow,
29995 _swigc__p_wxPyValidator,
29996 _swigc__p_wxPyWindow,
29997 _swigc__p_wxQueryLayoutInfoEvent,
29998 _swigc__p_wxQueryNewPaletteEvent,
29999 _swigc__p_wxRect,
30000 _swigc__p_wxRegion,
30001 _swigc__p_wxSashEvent,
30002 _swigc__p_wxSashLayoutWindow,
30003 _swigc__p_wxSashWindow,
30004 _swigc__p_wxScrollEvent,
30005 _swigc__p_wxScrollWinEvent,
30006 _swigc__p_wxScrolledWindow,
30007 _swigc__p_wxSetCursorEvent,
30008 _swigc__p_wxShowEvent,
30009 _swigc__p_wxSingleChoiceDialog,
30010 _swigc__p_wxSize,
30011 _swigc__p_wxSizeEvent,
30012 _swigc__p_wxSizer,
30013 _swigc__p_wxSizerItem,
30014 _swigc__p_wxSplashScreen,
30015 _swigc__p_wxSplashScreenWindow,
30016 _swigc__p_wxSplitterEvent,
30017 _swigc__p_wxSplitterWindow,
30018 _swigc__p_wxStaticBoxSizer,
30019 _swigc__p_wxStatusBar,
30020 _swigc__p_wxStdDialogButtonSizer,
30021 _swigc__p_wxString,
30022 _swigc__p_wxSysColourChangedEvent,
30023 _swigc__p_wxTIFFHandler,
30024 _swigc__p_wxTaskBarIcon,
30025 _swigc__p_wxTaskBarIconEvent,
30026 _swigc__p_wxTextEntryDialog,
30027 _swigc__p_wxTipWindow,
30028 _swigc__p_wxToolBar,
30029 _swigc__p_wxTopLevelWindow,
30030 _swigc__p_wxUpdateUIEvent,
30031 _swigc__p_wxValidator,
30032 _swigc__p_wxVisualAttributes,
30033 _swigc__p_wxWindow,
30034 _swigc__p_wxWindowCreateEvent,
30035 _swigc__p_wxWindowDestroyEvent,
30036 _swigc__p_wxXPMHandler,
30037 _swigc__ptrdiff_t,
30038 _swigc__std__ptrdiff_t,
30039 _swigc__unsigned_int,
30040 };
30041
30042
30043 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
30044
30045 static swig_const_info swig_const_table[] = {
30046 {0, 0, 0, 0.0, 0, 0}};
30047
30048 #ifdef __cplusplus
30049 }
30050 #endif
30051 /*************************************************************************
30052 * Type initialization:
30053 * This problem is tough by the requirement that no dynamic
30054 * memory is used. Also, since swig_type_info structures store pointers to
30055 * swig_cast_info structures and swig_cast_info structures store pointers back
30056 * to swig_type_info structures, we need some lookup code at initialization.
30057 * The idea is that swig generates all the structures that are needed.
30058 * The runtime then collects these partially filled structures.
30059 * The SWIG_InitializeModule function takes these initial arrays out of
30060 * swig_module, and does all the lookup, filling in the swig_module.types
30061 * array with the correct data and linking the correct swig_cast_info
30062 * structures together.
30063
30064 * The generated swig_type_info structures are assigned staticly to an initial
30065 * array. We just loop though that array, and handle each type individually.
30066 * First we lookup if this type has been already loaded, and if so, use the
30067 * loaded structure instead of the generated one. Then we have to fill in the
30068 * cast linked list. The cast data is initially stored in something like a
30069 * two-dimensional array. Each row corresponds to a type (there are the same
30070 * number of rows as there are in the swig_type_initial array). Each entry in
30071 * a column is one of the swig_cast_info structures for that type.
30072 * The cast_initial array is actually an array of arrays, because each row has
30073 * a variable number of columns. So to actually build the cast linked list,
30074 * we find the array of casts associated with the type, and loop through it
30075 * adding the casts to the list. The one last trick we need to do is making
30076 * sure the type pointer in the swig_cast_info struct is correct.
30077
30078 * First off, we lookup the cast->type name to see if it is already loaded.
30079 * There are three cases to handle:
30080 * 1) If the cast->type has already been loaded AND the type we are adding
30081 * casting info to has not been loaded (it is in this module), THEN we
30082 * replace the cast->type pointer with the type pointer that has already
30083 * been loaded.
30084 * 2) If BOTH types (the one we are adding casting info to, and the
30085 * cast->type) are loaded, THEN the cast info has already been loaded by
30086 * the previous module so we just ignore it.
30087 * 3) Finally, if cast->type has not already been loaded, then we add that
30088 * swig_cast_info to the linked list (because the cast->type) pointer will
30089 * be correct.
30090 **/
30091
30092 #ifdef __cplusplus
30093 extern "C" {
30094 #if 0
30095 } /* c-mode */
30096 #endif
30097 #endif
30098
30099 #if 0
30100 #define SWIGRUNTIME_DEBUG
30101 #endif
30102
30103 SWIGRUNTIME void
30104 SWIG_InitializeModule(void *clientdata) {
30105 size_t i;
30106 swig_module_info *module_head;
30107 static int init_run = 0;
30108
30109 clientdata = clientdata;
30110
30111 if (init_run) return;
30112 init_run = 1;
30113
30114 /* Initialize the swig_module */
30115 swig_module.type_initial = swig_type_initial;
30116 swig_module.cast_initial = swig_cast_initial;
30117
30118 /* Try and load any already created modules */
30119 module_head = SWIG_GetModule(clientdata);
30120 if (module_head) {
30121 swig_module.next = module_head->next;
30122 module_head->next = &swig_module;
30123 } else {
30124 /* This is the first module loaded */
30125 swig_module.next = &swig_module;
30126 SWIG_SetModule(clientdata, &swig_module);
30127 }
30128
30129 /* Now work on filling in swig_module.types */
30130 #ifdef SWIGRUNTIME_DEBUG
30131 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
30132 #endif
30133 for (i = 0; i < swig_module.size; ++i) {
30134 swig_type_info *type = 0;
30135 swig_type_info *ret;
30136 swig_cast_info *cast;
30137
30138 #ifdef SWIGRUNTIME_DEBUG
30139 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
30140 #endif
30141
30142 /* if there is another module already loaded */
30143 if (swig_module.next != &swig_module) {
30144 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
30145 }
30146 if (type) {
30147 /* Overwrite clientdata field */
30148 #ifdef SWIGRUNTIME_DEBUG
30149 printf("SWIG_InitializeModule: found type %s\n", type->name);
30150 #endif
30151 if (swig_module.type_initial[i]->clientdata) {
30152 type->clientdata = swig_module.type_initial[i]->clientdata;
30153 #ifdef SWIGRUNTIME_DEBUG
30154 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
30155 #endif
30156 }
30157 } else {
30158 type = swig_module.type_initial[i];
30159 }
30160
30161 /* Insert casting types */
30162 cast = swig_module.cast_initial[i];
30163 while (cast->type) {
30164 /* Don't need to add information already in the list */
30165 ret = 0;
30166 #ifdef SWIGRUNTIME_DEBUG
30167 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
30168 #endif
30169 if (swig_module.next != &swig_module) {
30170 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
30171 #ifdef SWIGRUNTIME_DEBUG
30172 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
30173 #endif
30174 }
30175 if (ret) {
30176 if (type == swig_module.type_initial[i]) {
30177 #ifdef SWIGRUNTIME_DEBUG
30178 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
30179 #endif
30180 cast->type = ret;
30181 ret = 0;
30182 } else {
30183 /* Check for casting already in the list */
30184 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
30185 #ifdef SWIGRUNTIME_DEBUG
30186 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
30187 #endif
30188 if (!ocast) ret = 0;
30189 }
30190 }
30191
30192 if (!ret) {
30193 #ifdef SWIGRUNTIME_DEBUG
30194 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
30195 #endif
30196 if (type->cast) {
30197 type->cast->prev = cast;
30198 cast->next = type->cast;
30199 }
30200 type->cast = cast;
30201 }
30202 cast++;
30203 }
30204 /* Set entry in modules->types array equal to the type */
30205 swig_module.types[i] = type;
30206 }
30207 swig_module.types[i] = 0;
30208
30209 #ifdef SWIGRUNTIME_DEBUG
30210 printf("**** SWIG_InitializeModule: Cast List ******\n");
30211 for (i = 0; i < swig_module.size; ++i) {
30212 int j = 0;
30213 swig_cast_info *cast = swig_module.cast_initial[i];
30214 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
30215 while (cast->type) {
30216 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
30217 cast++;
30218 ++j;
30219 }
30220 printf("---- Total casts: %d\n",j);
30221 }
30222 printf("**** SWIG_InitializeModule: Cast List ******\n");
30223 #endif
30224 }
30225
30226 /* This function will propagate the clientdata field of type to
30227 * any new swig_type_info structures that have been added into the list
30228 * of equivalent types. It is like calling
30229 * SWIG_TypeClientData(type, clientdata) a second time.
30230 */
30231 SWIGRUNTIME void
30232 SWIG_PropagateClientData(void) {
30233 size_t i;
30234 swig_cast_info *equiv;
30235 static int init_run = 0;
30236
30237 if (init_run) return;
30238 init_run = 1;
30239
30240 for (i = 0; i < swig_module.size; i++) {
30241 if (swig_module.types[i]->clientdata) {
30242 equiv = swig_module.types[i]->cast;
30243 while (equiv) {
30244 if (!equiv->converter) {
30245 if (equiv->type && !equiv->type->clientdata)
30246 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
30247 }
30248 equiv = equiv->next;
30249 }
30250 }
30251 }
30252 }
30253
30254 #ifdef __cplusplus
30255 #if 0
30256 {
30257 /* c-mode */
30258 #endif
30259 }
30260 #endif
30261
30262
30263
30264 #ifdef __cplusplus
30265 extern "C" {
30266 #endif
30267
30268 /* Python-specific SWIG API */
30269 #define SWIG_newvarlink() SWIG_Python_newvarlink()
30270 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
30271 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
30272
30273 /* -----------------------------------------------------------------------------
30274 * global variable support code.
30275 * ----------------------------------------------------------------------------- */
30276
30277 typedef struct swig_globalvar {
30278 char *name; /* Name of global variable */
30279 PyObject *(*get_attr)(void); /* Return the current value */
30280 int (*set_attr)(PyObject *); /* Set the value */
30281 struct swig_globalvar *next;
30282 } swig_globalvar;
30283
30284 typedef struct swig_varlinkobject {
30285 PyObject_HEAD
30286 swig_globalvar *vars;
30287 } swig_varlinkobject;
30288
30289 SWIGINTERN PyObject *
30290 swig_varlink_repr(swig_varlinkobject *v) {
30291 v = v;
30292 return PyString_FromString("<Swig global variables>");
30293 }
30294
30295 SWIGINTERN int
30296 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
30297 swig_globalvar *var;
30298 flags = flags;
30299 fprintf(fp,"Swig global variables { ");
30300 for (var = v->vars; var; var=var->next) {
30301 fprintf(fp,"%s", var->name);
30302 if (var->next) fprintf(fp,", ");
30303 }
30304 fprintf(fp," }\n");
30305 return 0;
30306 }
30307
30308 SWIGINTERN PyObject *
30309 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
30310 swig_globalvar *var = v->vars;
30311 while (var) {
30312 if (strcmp(var->name,n) == 0) {
30313 return (*var->get_attr)();
30314 }
30315 var = var->next;
30316 }
30317 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
30318 return NULL;
30319 }
30320
30321 SWIGINTERN int
30322 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
30323 swig_globalvar *var = v->vars;
30324 while (var) {
30325 if (strcmp(var->name,n) == 0) {
30326 return (*var->set_attr)(p);
30327 }
30328 var = var->next;
30329 }
30330 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
30331 return 1;
30332 }
30333
30334 SWIGINTERN PyTypeObject*
30335 swig_varlink_type(void) {
30336 static char varlink__doc__[] = "Swig var link object";
30337 static PyTypeObject varlink_type
30338 #if !defined(__cplusplus)
30339 ;
30340 static int type_init = 0;
30341 if (!type_init) {
30342 PyTypeObject tmp
30343 #endif
30344 = {
30345 PyObject_HEAD_INIT(&PyType_Type)
30346 0, /* Number of items in variable part (ob_size) */
30347 (char *)"swigvarlink", /* Type name (tp_name) */
30348 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
30349 0, /* Itemsize (tp_itemsize) */
30350 0, /* Deallocator (tp_dealloc) */
30351 (printfunc) swig_varlink_print, /* Print (tp_print) */
30352 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
30353 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
30354 0, /* tp_compare */
30355 (reprfunc) swig_varlink_repr, /* tp_repr */
30356 0, /* tp_as_number */
30357 0, /* tp_as_sequence */
30358 0, /* tp_as_mapping */
30359 0, /* tp_hash */
30360 0, /* tp_call */
30361 0, /* tp_str */
30362 0, /* tp_getattro */
30363 0, /* tp_setattro */
30364 0, /* tp_as_buffer */
30365 0, /* tp_flags */
30366 varlink__doc__, /* tp_doc */
30367 #if PY_VERSION_HEX >= 0x02000000
30368 0, /* tp_traverse */
30369 0, /* tp_clear */
30370 #endif
30371 #if PY_VERSION_HEX >= 0x02010000
30372 0, /* tp_richcompare */
30373 0, /* tp_weaklistoffset */
30374 #endif
30375 #if PY_VERSION_HEX >= 0x02020000
30376 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
30377 #endif
30378 #if PY_VERSION_HEX >= 0x02030000
30379 0, /* tp_del */
30380 #endif
30381 #ifdef COUNT_ALLOCS
30382 0,0,0,0 /* tp_alloc -> tp_next */
30383 #endif
30384 };
30385 #if !defined(__cplusplus)
30386 varlink_type = tmp;
30387 type_init = 1;
30388 }
30389 #endif
30390 return &varlink_type;
30391 }
30392
30393 /* Create a variable linking object for use later */
30394 SWIGINTERN PyObject *
30395 SWIG_Python_newvarlink(void) {
30396 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
30397 if (result) {
30398 result->vars = 0;
30399 }
30400 return ((PyObject*) result);
30401 }
30402
30403 SWIGINTERN void
30404 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
30405 swig_varlinkobject *v = (swig_varlinkobject *) p;
30406 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
30407 if (gv) {
30408 size_t size = strlen(name)+1;
30409 gv->name = (char *)malloc(size);
30410 if (gv->name) {
30411 strncpy(gv->name,name,size);
30412 gv->get_attr = get_attr;
30413 gv->set_attr = set_attr;
30414 gv->next = v->vars;
30415 }
30416 }
30417 v->vars = gv;
30418 }
30419
30420 /* -----------------------------------------------------------------------------
30421 * constants/methods manipulation
30422 * ----------------------------------------------------------------------------- */
30423
30424 /* Install Constants */
30425 SWIGINTERN void
30426 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
30427 PyObject *obj = 0;
30428 size_t i;
30429 for (i = 0; constants[i].type; ++i) {
30430 switch(constants[i].type) {
30431 case SWIG_PY_INT:
30432 obj = PyInt_FromLong(constants[i].lvalue);
30433 break;
30434 case SWIG_PY_FLOAT:
30435 obj = PyFloat_FromDouble(constants[i].dvalue);
30436 break;
30437 case SWIG_PY_STRING:
30438 if (constants[i].pvalue) {
30439 obj = PyString_FromString((char *) constants[i].pvalue);
30440 } else {
30441 Py_INCREF(Py_None);
30442 obj = Py_None;
30443 }
30444 break;
30445 case SWIG_PY_POINTER:
30446 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
30447 break;
30448 case SWIG_PY_BINARY:
30449 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
30450 break;
30451 default:
30452 obj = 0;
30453 break;
30454 }
30455 if (obj) {
30456 PyDict_SetItemString(d,constants[i].name,obj);
30457 Py_DECREF(obj);
30458 }
30459 }
30460 }
30461
30462 /* -----------------------------------------------------------------------------*/
30463 /* Fix SwigMethods to carry the callback ptrs when needed */
30464 /* -----------------------------------------------------------------------------*/
30465
30466 SWIGINTERN void
30467 SWIG_Python_FixMethods(PyMethodDef *methods,
30468 swig_const_info *const_table,
30469 swig_type_info **types,
30470 swig_type_info **types_initial) {
30471 size_t i;
30472 for (i = 0; methods[i].ml_name; ++i) {
30473 char *c = methods[i].ml_doc;
30474 if (c && (c = strstr(c, "swig_ptr: "))) {
30475 int j;
30476 swig_const_info *ci = 0;
30477 char *name = c + 10;
30478 for (j = 0; const_table[j].type; ++j) {
30479 if (strncmp(const_table[j].name, name,
30480 strlen(const_table[j].name)) == 0) {
30481 ci = &(const_table[j]);
30482 break;
30483 }
30484 }
30485 if (ci) {
30486 size_t shift = (ci->ptype) - types;
30487 swig_type_info *ty = types_initial[shift];
30488 size_t ldoc = (c - methods[i].ml_doc);
30489 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
30490 char *ndoc = (char*)malloc(ldoc + lptr + 10);
30491 if (ndoc) {
30492 char *buff = ndoc;
30493 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
30494 if (ptr) {
30495 strncpy(buff, methods[i].ml_doc, ldoc);
30496 buff += ldoc;
30497 strncpy(buff, "swig_ptr: ", 10);
30498 buff += 10;
30499 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
30500 methods[i].ml_doc = ndoc;
30501 }
30502 }
30503 }
30504 }
30505 }
30506 }
30507
30508 /* -----------------------------------------------------------------------------*
30509 * Initialize type list
30510 * -----------------------------------------------------------------------------*/
30511
30512 #ifdef __cplusplus
30513 }
30514 #endif
30515
30516 /* -----------------------------------------------------------------------------*
30517 * Partial Init method
30518 * -----------------------------------------------------------------------------*/
30519
30520 #ifdef __cplusplus
30521 extern "C"
30522 #endif
30523 SWIGEXPORT void SWIG_init(void) {
30524 static PyObject *SWIG_globals = 0;
30525 PyObject *m, *d;
30526 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
30527
30528 /* Fix SwigMethods to carry the callback ptrs when needed */
30529 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
30530
30531 m = Py_InitModule((char *) SWIG_name, SwigMethods);
30532 d = PyModule_GetDict(m);
30533
30534 SWIG_InitializeModule(0);
30535 SWIG_InstallConstants(d,swig_const_table);
30536
30537 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
30538 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
30539 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
30540 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
30541 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
30542 {
30543 PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_From_int(static_cast<int >(wxSTAY_ON_TOP)));
30544 }
30545 {
30546 PyDict_SetItemString(d,"ICONIZE", SWIG_From_int(static_cast<int >(wxICONIZE)));
30547 }
30548 {
30549 PyDict_SetItemString(d,"MINIMIZE", SWIG_From_int(static_cast<int >(wxMINIMIZE)));
30550 }
30551 {
30552 PyDict_SetItemString(d,"MAXIMIZE", SWIG_From_int(static_cast<int >(wxMAXIMIZE)));
30553 }
30554 {
30555 PyDict_SetItemString(d,"CLOSE_BOX", SWIG_From_int(static_cast<int >(wxCLOSE_BOX)));
30556 }
30557 {
30558 PyDict_SetItemString(d,"THICK_FRAME", SWIG_From_int(static_cast<int >(wxTHICK_FRAME)));
30559 }
30560 {
30561 PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_From_int(static_cast<int >(wxSYSTEM_MENU)));
30562 }
30563 {
30564 PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_From_int(static_cast<int >(wxMINIMIZE_BOX)));
30565 }
30566 {
30567 PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_From_int(static_cast<int >(wxMAXIMIZE_BOX)));
30568 }
30569 {
30570 PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_From_int(static_cast<int >(wxTINY_CAPTION_HORIZ)));
30571 }
30572 {
30573 PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_From_int(static_cast<int >(wxTINY_CAPTION_VERT)));
30574 }
30575 {
30576 PyDict_SetItemString(d,"RESIZE_BOX", SWIG_From_int(static_cast<int >(wxRESIZE_BOX)));
30577 }
30578 {
30579 PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_From_int(static_cast<int >(wxRESIZE_BORDER)));
30580 }
30581 {
30582 PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_From_int(static_cast<int >(wxDIALOG_NO_PARENT)));
30583 }
30584 {
30585 PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_From_int(static_cast<int >(wxDEFAULT_FRAME_STYLE)));
30586 }
30587 {
30588 PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_From_int(static_cast<int >(wxDEFAULT_DIALOG_STYLE)));
30589 }
30590 {
30591 PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_From_int(static_cast<int >(wxFRAME_TOOL_WINDOW)));
30592 }
30593 {
30594 PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_From_int(static_cast<int >(wxFRAME_FLOAT_ON_PARENT)));
30595 }
30596 {
30597 PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_From_int(static_cast<int >(wxFRAME_NO_WINDOW_MENU)));
30598 }
30599 {
30600 PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_From_int(static_cast<int >(wxFRAME_NO_TASKBAR)));
30601 }
30602 {
30603 PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_From_int(static_cast<int >(wxFRAME_SHAPED)));
30604 }
30605 {
30606 PyDict_SetItemString(d,"FRAME_DRAWER", SWIG_From_int(static_cast<int >(wxFRAME_DRAWER)));
30607 }
30608 {
30609 PyDict_SetItemString(d,"FRAME_EX_METAL", SWIG_From_int(static_cast<int >(wxFRAME_EX_METAL)));
30610 }
30611 {
30612 PyDict_SetItemString(d,"DIALOG_EX_METAL", SWIG_From_int(static_cast<int >(wxDIALOG_EX_METAL)));
30613 }
30614 {
30615 PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_From_int(static_cast<int >(wxDIALOG_MODAL)));
30616 }
30617 {
30618 PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_From_int(static_cast<int >(wxDIALOG_MODELESS)));
30619 }
30620 {
30621 PyDict_SetItemString(d,"USER_COLOURS", SWIG_From_int(static_cast<int >(wxUSER_COLOURS)));
30622 }
30623 {
30624 PyDict_SetItemString(d,"NO_3D", SWIG_From_int(static_cast<int >(wxNO_3D)));
30625 }
30626 {
30627 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOMENUBAR)));
30628 }
30629 {
30630 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOTOOLBAR)));
30631 }
30632 {
30633 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOSTATUSBAR)));
30634 }
30635 {
30636 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOBORDER)));
30637 }
30638 {
30639 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOCAPTION)));
30640 }
30641 {
30642 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_From_int(static_cast<int >(wxFULLSCREEN_ALL)));
30643 }
30644 {
30645 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_From_int(static_cast<int >(wxTOPLEVEL_EX_DIALOG)));
30646 }
30647 {
30648 PyDict_SetItemString(d,"USER_ATTENTION_INFO", SWIG_From_int(static_cast<int >(wxUSER_ATTENTION_INFO)));
30649 }
30650 {
30651 PyDict_SetItemString(d,"USER_ATTENTION_ERROR", SWIG_From_int(static_cast<int >(wxUSER_ATTENTION_ERROR)));
30652 }
30653 {
30654 PyDict_SetItemString(d,"Dialog_ButtonSizerFlags", SWIG_From_int(static_cast<int >(wxDialog::ButtonSizerFlags)));
30655 }
30656 {
30657 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int(static_cast<int >(wxSPLASH_CENTRE_ON_PARENT)));
30658 }
30659 {
30660 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int(static_cast<int >(wxSPLASH_CENTRE_ON_SCREEN)));
30661 }
30662 {
30663 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_From_int(static_cast<int >(wxSPLASH_NO_CENTRE)));
30664 }
30665 {
30666 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_From_int(static_cast<int >(wxSPLASH_TIMEOUT)));
30667 }
30668 {
30669 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_From_int(static_cast<int >(wxSPLASH_NO_TIMEOUT)));
30670 }
30671 {
30672 PyDict_SetItemString(d,"SB_NORMAL", SWIG_From_int(static_cast<int >(wxSB_NORMAL)));
30673 }
30674 {
30675 PyDict_SetItemString(d,"SB_FLAT", SWIG_From_int(static_cast<int >(wxSB_FLAT)));
30676 }
30677 {
30678 PyDict_SetItemString(d,"SB_RAISED", SWIG_From_int(static_cast<int >(wxSB_RAISED)));
30679 }
30680 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
30681 {
30682 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_From_int(static_cast<int >(wxSP_NOBORDER)));
30683 }
30684 {
30685 PyDict_SetItemString(d,"SP_NOSASH", SWIG_From_int(static_cast<int >(wxSP_NOSASH)));
30686 }
30687 {
30688 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_From_int(static_cast<int >(wxSP_PERMIT_UNSPLIT)));
30689 }
30690 {
30691 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_From_int(static_cast<int >(wxSP_LIVE_UPDATE)));
30692 }
30693 {
30694 PyDict_SetItemString(d,"SP_3DSASH", SWIG_From_int(static_cast<int >(wxSP_3DSASH)));
30695 }
30696 {
30697 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_From_int(static_cast<int >(wxSP_3DBORDER)));
30698 }
30699 {
30700 PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_From_int(static_cast<int >(wxSP_NO_XP_THEME)));
30701 }
30702 {
30703 PyDict_SetItemString(d,"SP_BORDER", SWIG_From_int(static_cast<int >(wxSP_BORDER)));
30704 }
30705 {
30706 PyDict_SetItemString(d,"SP_3D", SWIG_From_int(static_cast<int >(wxSP_3D)));
30707 }
30708 {
30709 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_From_int(static_cast<int >(wxSPLIT_HORIZONTAL)));
30710 }
30711 {
30712 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_From_int(static_cast<int >(wxSPLIT_VERTICAL)));
30713 }
30714 {
30715 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_From_int(static_cast<int >(wxSPLIT_DRAG_NONE)));
30716 }
30717 {
30718 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_From_int(static_cast<int >(wxSPLIT_DRAG_DRAGGING)));
30719 }
30720 {
30721 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int(static_cast<int >(wxSPLIT_DRAG_LEFT_DOWN)));
30722 }
30723 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
30724 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
30725 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
30726 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
30727 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
30728 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
30729 {
30730 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_From_int(static_cast<int >(wxSASH_DRAG_NONE)));
30731 }
30732 {
30733 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_From_int(static_cast<int >(wxSASH_DRAG_DRAGGING)));
30734 }
30735 {
30736 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_From_int(static_cast<int >(wxSASH_DRAG_LEFT_DOWN)));
30737 }
30738 {
30739 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_From_int(static_cast<int >(wxSW_NOBORDER)));
30740 }
30741 {
30742 PyDict_SetItemString(d,"SW_BORDER", SWIG_From_int(static_cast<int >(wxSW_BORDER)));
30743 }
30744 {
30745 PyDict_SetItemString(d,"SW_3DSASH", SWIG_From_int(static_cast<int >(wxSW_3DSASH)));
30746 }
30747 {
30748 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_From_int(static_cast<int >(wxSW_3DBORDER)));
30749 }
30750 {
30751 PyDict_SetItemString(d,"SW_3D", SWIG_From_int(static_cast<int >(wxSW_3D)));
30752 }
30753 {
30754 PyDict_SetItemString(d,"SASH_TOP", SWIG_From_int(static_cast<int >(wxSASH_TOP)));
30755 }
30756 {
30757 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_From_int(static_cast<int >(wxSASH_RIGHT)));
30758 }
30759 {
30760 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_From_int(static_cast<int >(wxSASH_BOTTOM)));
30761 }
30762 {
30763 PyDict_SetItemString(d,"SASH_LEFT", SWIG_From_int(static_cast<int >(wxSASH_LEFT)));
30764 }
30765 {
30766 PyDict_SetItemString(d,"SASH_NONE", SWIG_From_int(static_cast<int >(wxSASH_NONE)));
30767 }
30768 {
30769 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_From_int(static_cast<int >(wxSASH_STATUS_OK)));
30770 }
30771 {
30772 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int(static_cast<int >(wxSASH_STATUS_OUT_OF_RANGE)));
30773 }
30774 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
30775 {
30776 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_From_int(static_cast<int >(wxLAYOUT_HORIZONTAL)));
30777 }
30778 {
30779 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_From_int(static_cast<int >(wxLAYOUT_VERTICAL)));
30780 }
30781 {
30782 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_From_int(static_cast<int >(wxLAYOUT_NONE)));
30783 }
30784 {
30785 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_From_int(static_cast<int >(wxLAYOUT_TOP)));
30786 }
30787 {
30788 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_From_int(static_cast<int >(wxLAYOUT_LEFT)));
30789 }
30790 {
30791 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_From_int(static_cast<int >(wxLAYOUT_RIGHT)));
30792 }
30793 {
30794 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_From_int(static_cast<int >(wxLAYOUT_BOTTOM)));
30795 }
30796 {
30797 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_From_int(static_cast<int >(wxLAYOUT_LENGTH_Y)));
30798 }
30799 {
30800 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_From_int(static_cast<int >(wxLAYOUT_LENGTH_X)));
30801 }
30802 {
30803 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_From_int(static_cast<int >(wxLAYOUT_MRU_LENGTH)));
30804 }
30805 {
30806 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_From_int(static_cast<int >(wxLAYOUT_QUERY)));
30807 }
30808 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
30809 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
30810 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
30811
30812 // Map renamed classes back to their common name for OOR
30813 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
30814 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
30815 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
30816
30817 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
30818 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
30819 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
30820 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
30821 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
30822 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
30823 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
30824 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
30825 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
30826 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
30827 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
30828 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
30829 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
30830 {
30831 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_From_int(static_cast<int >(wxCHOICEDLG_STYLE)));
30832 }
30833 {
30834 PyDict_SetItemString(d,"TextEntryDialogStyle", SWIG_From_int(static_cast<int >(wxTextEntryDialogStyle)));
30835 }
30836 SWIG_addvarlink(SWIG_globals,(char*)"GetPasswordFromUserPromptStr",_wrap_GetPasswordFromUserPromptStr_get, _wrap_GetPasswordFromUserPromptStr_set);
30837 {
30838 PyDict_SetItemString(d,"FR_DOWN", SWIG_From_int(static_cast<int >(wxFR_DOWN)));
30839 }
30840 {
30841 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_From_int(static_cast<int >(wxFR_WHOLEWORD)));
30842 }
30843 {
30844 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_From_int(static_cast<int >(wxFR_MATCHCASE)));
30845 }
30846 {
30847 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_From_int(static_cast<int >(wxFR_REPLACEDIALOG)));
30848 }
30849 {
30850 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_From_int(static_cast<int >(wxFR_NOUPDOWN)));
30851 }
30852 {
30853 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_From_int(static_cast<int >(wxFR_NOMATCHCASE)));
30854 }
30855 {
30856 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_From_int(static_cast<int >(wxFR_NOWHOLEWORD)));
30857 }
30858 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
30859 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
30860 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
30861 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
30862 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
30863 {
30864 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_From_int(static_cast<int >(4001)));
30865 }
30866 {
30867 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_From_int(static_cast<int >(4001)));
30868 }
30869 {
30870 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_From_int(static_cast<int >(4002)));
30871 }
30872 {
30873 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_From_int(static_cast<int >(4003)));
30874 }
30875 {
30876 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_From_int(static_cast<int >(4004)));
30877 }
30878 {
30879 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_From_int(static_cast<int >(4005)));
30880 }
30881 {
30882 PyDict_SetItemString(d,"IDM_WINDOWPREV", SWIG_From_int(static_cast<int >(4006)));
30883 }
30884 {
30885 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_From_int(static_cast<int >(4100)));
30886 }
30887 {
30888 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_From_int(static_cast<int >(4600)));
30889 }
30890 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
30891 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
30892 {
30893 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_From_int(static_cast<int >(wxPRINT_MODE_NONE)));
30894 }
30895 {
30896 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_From_int(static_cast<int >(wxPRINT_MODE_PREVIEW)));
30897 }
30898 {
30899 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_From_int(static_cast<int >(wxPRINT_MODE_FILE)));
30900 }
30901 {
30902 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_From_int(static_cast<int >(wxPRINT_MODE_PRINTER)));
30903 }
30904 {
30905 PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_From_int(static_cast<int >(wxPRINT_MODE_STREAM)));
30906 }
30907 {
30908 PyDict_SetItemString(d,"PRINTBIN_DEFAULT", SWIG_From_int(static_cast<int >(wxPRINTBIN_DEFAULT)));
30909 }
30910 {
30911 PyDict_SetItemString(d,"PRINTBIN_ONLYONE", SWIG_From_int(static_cast<int >(wxPRINTBIN_ONLYONE)));
30912 }
30913 {
30914 PyDict_SetItemString(d,"PRINTBIN_LOWER", SWIG_From_int(static_cast<int >(wxPRINTBIN_LOWER)));
30915 }
30916 {
30917 PyDict_SetItemString(d,"PRINTBIN_MIDDLE", SWIG_From_int(static_cast<int >(wxPRINTBIN_MIDDLE)));
30918 }
30919 {
30920 PyDict_SetItemString(d,"PRINTBIN_MANUAL", SWIG_From_int(static_cast<int >(wxPRINTBIN_MANUAL)));
30921 }
30922 {
30923 PyDict_SetItemString(d,"PRINTBIN_ENVELOPE", SWIG_From_int(static_cast<int >(wxPRINTBIN_ENVELOPE)));
30924 }
30925 {
30926 PyDict_SetItemString(d,"PRINTBIN_ENVMANUAL", SWIG_From_int(static_cast<int >(wxPRINTBIN_ENVMANUAL)));
30927 }
30928 {
30929 PyDict_SetItemString(d,"PRINTBIN_AUTO", SWIG_From_int(static_cast<int >(wxPRINTBIN_AUTO)));
30930 }
30931 {
30932 PyDict_SetItemString(d,"PRINTBIN_TRACTOR", SWIG_From_int(static_cast<int >(wxPRINTBIN_TRACTOR)));
30933 }
30934 {
30935 PyDict_SetItemString(d,"PRINTBIN_SMALLFMT", SWIG_From_int(static_cast<int >(wxPRINTBIN_SMALLFMT)));
30936 }
30937 {
30938 PyDict_SetItemString(d,"PRINTBIN_LARGEFMT", SWIG_From_int(static_cast<int >(wxPRINTBIN_LARGEFMT)));
30939 }
30940 {
30941 PyDict_SetItemString(d,"PRINTBIN_LARGECAPACITY", SWIG_From_int(static_cast<int >(wxPRINTBIN_LARGECAPACITY)));
30942 }
30943 {
30944 PyDict_SetItemString(d,"PRINTBIN_CASSETTE", SWIG_From_int(static_cast<int >(wxPRINTBIN_CASSETTE)));
30945 }
30946 {
30947 PyDict_SetItemString(d,"PRINTBIN_FORMSOURCE", SWIG_From_int(static_cast<int >(wxPRINTBIN_FORMSOURCE)));
30948 }
30949 {
30950 PyDict_SetItemString(d,"PRINTBIN_USER", SWIG_From_int(static_cast<int >(wxPRINTBIN_USER)));
30951 }
30952 {
30953 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_From_int(static_cast<int >(wxPRINTER_NO_ERROR)));
30954 }
30955 {
30956 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_From_int(static_cast<int >(wxPRINTER_CANCELLED)));
30957 }
30958 {
30959 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_From_int(static_cast<int >(wxPRINTER_ERROR)));
30960 }
30961 {
30962 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_From_int(static_cast<int >(wxPREVIEW_PRINT)));
30963 }
30964 {
30965 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_From_int(static_cast<int >(wxPREVIEW_PREVIOUS)));
30966 }
30967 {
30968 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_From_int(static_cast<int >(wxPREVIEW_NEXT)));
30969 }
30970 {
30971 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_From_int(static_cast<int >(wxPREVIEW_ZOOM)));
30972 }
30973 {
30974 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_From_int(static_cast<int >(wxPREVIEW_FIRST)));
30975 }
30976 {
30977 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_From_int(static_cast<int >(wxPREVIEW_LAST)));
30978 }
30979 {
30980 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_From_int(static_cast<int >(wxPREVIEW_GOTO)));
30981 }
30982 {
30983 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_From_int(static_cast<int >(wxPREVIEW_DEFAULT)));
30984 }
30985 {
30986 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_From_int(static_cast<int >(wxID_PREVIEW_CLOSE)));
30987 }
30988 {
30989 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_From_int(static_cast<int >(wxID_PREVIEW_NEXT)));
30990 }
30991 {
30992 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_From_int(static_cast<int >(wxID_PREVIEW_PREVIOUS)));
30993 }
30994 {
30995 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_From_int(static_cast<int >(wxID_PREVIEW_PRINT)));
30996 }
30997 {
30998 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_From_int(static_cast<int >(wxID_PREVIEW_ZOOM)));
30999 }
31000 {
31001 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_From_int(static_cast<int >(wxID_PREVIEW_FIRST)));
31002 }
31003 {
31004 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_From_int(static_cast<int >(wxID_PREVIEW_LAST)));
31005 }
31006 {
31007 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_From_int(static_cast<int >(wxID_PREVIEW_GOTO)));
31008 }
31009
31010 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
31011
31012 }
31013