]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/_windows_wrap.cpp
more about the downloadable swig
[wxWidgets.git] / wxPython / src / mac / _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
13 #ifdef __cplusplus
14 template<class T> class SwigValueWrapper {
15 T *tt;
16 public:
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
19 SwigValueWrapper(const T& t) : tt(new T(t)) { }
20 ~SwigValueWrapper() { delete tt; }
21 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
22 operator T&() const { return *tt; }
23 T *operator&() { return tt; }
24 private:
25 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
26 };
27 #endif
28
29 /***********************************************************************
30 *
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 *
34 ************************************************************************/
35
36 /* template workaround for compilers that cannot correctly implement the C++ standard */
37 #ifndef SWIGTEMPLATEDISAMBIGUATOR
38 # if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
40 # else
41 # define SWIGTEMPLATEDISAMBIGUATOR
42 # endif
43 #endif
44
45 /* inline attribute */
46 #ifndef SWIGINLINE
47 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
48 # define SWIGINLINE inline
49 # else
50 # define SWIGINLINE
51 # endif
52 #endif
53
54 /* attribute recognised by some compilers to avoid 'unused' warnings */
55 #ifndef SWIGUNUSED
56 # if defined(__GNUC__) || defined(__ICC)
57 # define SWIGUNUSED __attribute__ ((unused))
58 # else
59 # define SWIGUNUSED
60 # endif
61 #endif
62
63 /* internal SWIG method */
64 #ifndef SWIGINTERN
65 # define SWIGINTERN static SWIGUNUSED
66 #endif
67
68 /* internal inline SWIG method */
69 #ifndef SWIGINTERNINLINE
70 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
71 #endif
72
73 /* exporting methods for Windows DLLs */
74 #ifndef SWIGEXPORT
75 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
76 # if defined(STATIC_LINKED)
77 # define SWIGEXPORT
78 # else
79 # define SWIGEXPORT __declspec(dllexport)
80 # endif
81 # else
82 # define SWIGEXPORT
83 # endif
84 #endif
85
86 /* calling conventions for Windows */
87 #ifndef SWIGSTDCALL
88 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
89 # define SWIGSTDCALL __stdcall
90 # else
91 # define SWIGSTDCALL
92 # endif
93 #endif
94
95
96
97 #include <Python.h>
98
99 /***********************************************************************
100 * swigrun.swg
101 *
102 * This file contains generic CAPI SWIG runtime support for pointer
103 * type checking.
104 *
105 ************************************************************************/
106
107 /* This should only be incremented when either the layout of swig_type_info changes,
108 or for whatever reason, the runtime changes incompatibly */
109 #define SWIG_RUNTIME_VERSION "2"
110
111 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
112 #ifdef SWIG_TYPE_TABLE
113 # define SWIG_QUOTE_STRING(x) #x
114 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
115 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
116 #else
117 # define SWIG_TYPE_TABLE_NAME
118 #endif
119
120 /*
121 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
122 creating a static or dynamic library from the swig runtime code.
123 In 99.9% of the cases, swig just needs to declare them as 'static'.
124
125 But only do this if is strictly necessary, ie, if you have problems
126 with your compiler or so.
127 */
128
129 #ifndef SWIGRUNTIME
130 # define SWIGRUNTIME SWIGINTERN
131 #endif
132
133 #ifndef SWIGRUNTIMEINLINE
134 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
135 #endif
136
137 #include <string.h>
138
139 #ifdef __cplusplus
140 extern "C" {
141 #endif
142
143 typedef void *(*swig_converter_func)(void *);
144 typedef struct swig_type_info *(*swig_dycast_func)(void **);
145
146 /* Structure to store inforomation on one type */
147 typedef struct swig_type_info {
148 const char *name; /* mangled name of this type */
149 const char *str; /* human readable name of this type */
150 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
151 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
152 void *clientdata; /* language specific type data */
153 } swig_type_info;
154
155 /* Structure to store a type and conversion function used for casting */
156 typedef struct swig_cast_info {
157 swig_type_info *type; /* pointer to type that is equivalent to this type */
158 swig_converter_func converter; /* function to cast the void pointers */
159 struct swig_cast_info *next; /* pointer to next cast in linked list */
160 struct swig_cast_info *prev; /* pointer to the previous cast */
161 } swig_cast_info;
162
163 /* Structure used to store module information
164 * Each module generates one structure like this, and the runtime collects
165 * all of these structures and stores them in a circularly linked list.*/
166 typedef struct swig_module_info {
167 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
168 size_t size; /* Number of types in this module */
169 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
170 swig_type_info **type_initial; /* Array of initially generated type structures */
171 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
172 void *clientdata; /* Language specific module data */
173 } swig_module_info;
174
175
176 /*
177 Compare two type names skipping the space characters, therefore
178 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
179
180 Return 0 when the two name types are equivalent, as in
181 strncmp, but skipping ' '.
182 */
183 SWIGRUNTIME int
184 SWIG_TypeNameComp(const char *f1, const char *l1,
185 const char *f2, const char *l2) {
186 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
187 while ((*f1 == ' ') && (f1 != l1)) ++f1;
188 while ((*f2 == ' ') && (f2 != l2)) ++f2;
189 if (*f1 != *f2) return (int)(*f1 - *f2);
190 }
191 return (l1 - f1) - (l2 - f2);
192 }
193
194 /*
195 Check type equivalence in a name list like <name1>|<name2>|...
196 Return 0 if not equal, 1 if equal
197 */
198 SWIGRUNTIME int
199 SWIG_TypeEquiv(const char *nb, const char *tb) {
200 int equiv = 0;
201 const char* te = tb + strlen(tb);
202 const char* ne = nb;
203 while (!equiv && *ne) {
204 for (nb = ne; *ne; ++ne) {
205 if (*ne == '|') break;
206 }
207 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
208 if (*ne) ++ne;
209 }
210 return equiv;
211 }
212
213 /*
214 Check type equivalence in a name list like <name1>|<name2>|...
215 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
216 */
217 SWIGRUNTIME int
218 SWIG_TypeCompare(const char *nb, const char *tb) {
219 int equiv = 0;
220 const char* te = tb + strlen(tb);
221 const char* ne = nb;
222 while (!equiv && *ne) {
223 for (nb = ne; *ne; ++ne) {
224 if (*ne == '|') break;
225 }
226 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
227 if (*ne) ++ne;
228 }
229 return equiv;
230 }
231
232
233 /* think of this as a c++ template<> or a scheme macro */
234 #define SWIG_TypeCheck_Template(comparison, ty) \
235 if (ty) { \
236 swig_cast_info *iter = ty->cast; \
237 while (iter) { \
238 if (comparison) { \
239 if (iter == ty->cast) return iter; \
240 /* Move iter to the top of the linked list */ \
241 iter->prev->next = iter->next; \
242 if (iter->next) \
243 iter->next->prev = iter->prev; \
244 iter->next = ty->cast; \
245 iter->prev = 0; \
246 if (ty->cast) ty->cast->prev = iter; \
247 ty->cast = iter; \
248 return iter; \
249 } \
250 iter = iter->next; \
251 } \
252 } \
253 return 0
254
255 /*
256 Check the typename
257 */
258 SWIGRUNTIME swig_cast_info *
259 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
260 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
261 }
262
263 /* Same as previous function, except strcmp is replaced with a pointer comparison */
264 SWIGRUNTIME swig_cast_info *
265 SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
266 SWIG_TypeCheck_Template(iter->type == from, into);
267 }
268
269 /*
270 Cast a pointer up an inheritance hierarchy
271 */
272 SWIGRUNTIMEINLINE void *
273 SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
274 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
275 }
276
277 /*
278 Dynamic pointer casting. Down an inheritance hierarchy
279 */
280 SWIGRUNTIME swig_type_info *
281 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
282 swig_type_info *lastty = ty;
283 if (!ty || !ty->dcast) return ty;
284 while (ty && (ty->dcast)) {
285 ty = (*ty->dcast)(ptr);
286 if (ty) lastty = ty;
287 }
288 return lastty;
289 }
290
291 /*
292 Return the name associated with this type
293 */
294 SWIGRUNTIMEINLINE const char *
295 SWIG_TypeName(const swig_type_info *ty) {
296 return ty->name;
297 }
298
299 /*
300 Return the pretty name associated with this type,
301 that is an unmangled type name in a form presentable to the user.
302 */
303 SWIGRUNTIME const char *
304 SWIG_TypePrettyName(const swig_type_info *type) {
305 /* The "str" field contains the equivalent pretty names of the
306 type, separated by vertical-bar characters. We choose
307 to print the last name, as it is often (?) the most
308 specific. */
309 if (type->str != NULL) {
310 const char *last_name = type->str;
311 const char *s;
312 for (s = type->str; *s; s++)
313 if (*s == '|') last_name = s+1;
314 return last_name;
315 }
316 else
317 return type->name;
318 }
319
320 /*
321 Set the clientdata field for a type
322 */
323 SWIGRUNTIME void
324 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
325 swig_cast_info *cast = ti->cast;
326 /* if (ti->clientdata == clientdata) return; */
327 ti->clientdata = clientdata;
328
329 while (cast) {
330 if (!cast->converter) {
331 swig_type_info *tc = cast->type;
332 if (!tc->clientdata) {
333 SWIG_TypeClientData(tc, clientdata);
334 }
335 }
336 cast = cast->next;
337 }
338 }
339
340 /*
341 Search for a swig_type_info structure only by mangled name
342 Search is a O(log #types)
343
344 We start searching at module start, and finish searching when start == end.
345 Note: if start == end at the beginning of the function, we go all the way around
346 the circular list.
347 */
348 SWIGRUNTIME swig_type_info *
349 SWIG_MangledTypeQueryModule(swig_module_info *start,
350 swig_module_info *end,
351 const char *name) {
352 swig_module_info *iter = start;
353 do {
354 if (iter->size) {
355 register size_t l = 0;
356 register size_t r = iter->size - 1;
357 do {
358 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
359 register size_t i = (l + r) >> 1;
360 const char *iname = iter->types[i]->name;
361 if (iname) {
362 register int compare = strcmp(name, iname);
363 if (compare == 0) {
364 return iter->types[i];
365 } else if (compare < 0) {
366 if (i) {
367 r = i - 1;
368 } else {
369 break;
370 }
371 } else if (compare > 0) {
372 l = i + 1;
373 }
374 } else {
375 break; /* should never happen */
376 }
377 } while (l <= r);
378 }
379 iter = iter->next;
380 } while (iter != end);
381 return 0;
382 }
383
384 /*
385 Search for a swig_type_info structure for either a mangled name or a human readable name.
386 It first searches the mangled names of the types, which is a O(log #types)
387 If a type is not found it then searches the human readable names, which is O(#types).
388
389 We start searching at module start, and finish searching when start == end.
390 Note: if start == end at the beginning of the function, we go all the way around
391 the circular list.
392 */
393 SWIGRUNTIME swig_type_info *
394 SWIG_TypeQueryModule(swig_module_info *start,
395 swig_module_info *end,
396 const char *name) {
397 /* STEP 1: Search the name field using binary search */
398 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
399 if (ret) {
400 return ret;
401 } else {
402 /* STEP 2: If the type hasn't been found, do a complete search
403 of the str field (the human readable name) */
404 swig_module_info *iter = start;
405 do {
406 register size_t i = 0;
407 for (; i < iter->size; ++i) {
408 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
409 return iter->types[i];
410 }
411 iter = iter->next;
412 } while (iter != end);
413 }
414
415 /* neither found a match */
416 return 0;
417 }
418
419
420 /*
421 Pack binary data into a string
422 */
423 SWIGRUNTIME char *
424 SWIG_PackData(char *c, void *ptr, size_t sz) {
425 static const char hex[17] = "0123456789abcdef";
426 register const unsigned char *u = (unsigned char *) ptr;
427 register const unsigned char *eu = u + sz;
428 for (; u != eu; ++u) {
429 register unsigned char uu = *u;
430 *(c++) = hex[(uu & 0xf0) >> 4];
431 *(c++) = hex[uu & 0xf];
432 }
433 return c;
434 }
435
436 /*
437 Unpack binary data from a string
438 */
439 SWIGRUNTIME const char *
440 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
441 register unsigned char *u = (unsigned char *) ptr;
442 register const unsigned char *eu = u + sz;
443 for (; u != eu; ++u) {
444 register char d = *(c++);
445 register unsigned char uu = 0;
446 if ((d >= '0') && (d <= '9'))
447 uu = ((d - '0') << 4);
448 else if ((d >= 'a') && (d <= 'f'))
449 uu = ((d - ('a'-10)) << 4);
450 else
451 return (char *) 0;
452 d = *(c++);
453 if ((d >= '0') && (d <= '9'))
454 uu |= (d - '0');
455 else if ((d >= 'a') && (d <= 'f'))
456 uu |= (d - ('a'-10));
457 else
458 return (char *) 0;
459 *u = uu;
460 }
461 return c;
462 }
463
464 /*
465 Pack 'void *' into a string buffer.
466 */
467 SWIGRUNTIME char *
468 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
469 char *r = buff;
470 if ((2*sizeof(void *) + 2) > bsz) return 0;
471 *(r++) = '_';
472 r = SWIG_PackData(r,&ptr,sizeof(void *));
473 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
474 strcpy(r,name);
475 return buff;
476 }
477
478 SWIGRUNTIME const char *
479 SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
480 if (*c != '_') {
481 if (strcmp(c,"NULL") == 0) {
482 *ptr = (void *) 0;
483 return name;
484 } else {
485 return 0;
486 }
487 }
488 return SWIG_UnpackData(++c,ptr,sizeof(void *));
489 }
490
491 SWIGRUNTIME char *
492 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
493 char *r = buff;
494 size_t lname = (name ? strlen(name) : 0);
495 if ((2*sz + 2 + lname) > bsz) return 0;
496 *(r++) = '_';
497 r = SWIG_PackData(r,ptr,sz);
498 if (lname) {
499 strncpy(r,name,lname+1);
500 } else {
501 *r = 0;
502 }
503 return buff;
504 }
505
506 SWIGRUNTIME const char *
507 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
508 if (*c != '_') {
509 if (strcmp(c,"NULL") == 0) {
510 memset(ptr,0,sz);
511 return name;
512 } else {
513 return 0;
514 }
515 }
516 return SWIG_UnpackData(++c,ptr,sz);
517 }
518
519 #ifdef __cplusplus
520 }
521 #endif
522
523 /* -----------------------------------------------------------------------------
524 * SWIG API. Portion that goes into the runtime
525 * ----------------------------------------------------------------------------- */
526
527 #ifdef __cplusplus
528 extern "C" {
529 #endif
530
531 /* -----------------------------------------------------------------------------
532 * for internal method declarations
533 * ----------------------------------------------------------------------------- */
534
535 #ifndef SWIGINTERN
536 # define SWIGINTERN static SWIGUNUSED
537 #endif
538
539 #ifndef SWIGINTERNINLINE
540 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
541 #endif
542
543 /*
544 Exception handling in wrappers
545 */
546 #define SWIG_fail goto fail
547 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
548 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
549 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
550 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
551 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
552
553 /*
554 Contract support
555 */
556 #define SWIG_contract_assert(expr, msg) \
557 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
558
559 /* -----------------------------------------------------------------------------
560 * Constant declarations
561 * ----------------------------------------------------------------------------- */
562
563 /* Constant Types */
564 #define SWIG_PY_INT 1
565 #define SWIG_PY_FLOAT 2
566 #define SWIG_PY_STRING 3
567 #define SWIG_PY_POINTER 4
568 #define SWIG_PY_BINARY 5
569
570 /* Constant information structure */
571 typedef struct swig_const_info {
572 int type;
573 char *name;
574 long lvalue;
575 double dvalue;
576 void *pvalue;
577 swig_type_info **ptype;
578 } swig_const_info;
579
580
581 /* -----------------------------------------------------------------------------
582 * Alloc. memory flags
583 * ----------------------------------------------------------------------------- */
584 #define SWIG_OLDOBJ 1
585 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
586 #define SWIG_PYSTR SWIG_NEWOBJ + 1
587
588 #ifdef __cplusplus
589 }
590 #endif
591
592
593 /***********************************************************************
594 * pyrun.swg
595 *
596 * This file contains the runtime support for Python modules
597 * and includes code for managing global variables and pointer
598 * type checking.
599 *
600 * Author : David Beazley (beazley@cs.uchicago.edu)
601 ************************************************************************/
602
603 /* Common SWIG API */
604 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
605 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
606 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
607
608
609 /* Python-specific SWIG API */
610 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
611 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
612
613 /* Runtime API */
614 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
615 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
616
617 /* -----------------------------------------------------------------------------
618 * Pointer declarations
619 * ----------------------------------------------------------------------------- */
620 /*
621 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
622 C/C++ pointers in the python side. Very useful for debugging, but
623 not always safe.
624 */
625 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
626 # define SWIG_COBJECT_TYPES
627 #endif
628
629 /* Flags for pointer conversion */
630 #define SWIG_POINTER_EXCEPTION 0x1
631 #define SWIG_POINTER_DISOWN 0x2
632
633
634 /* Add PyOS_snprintf for old Pythons */
635 #if PY_VERSION_HEX < 0x02020000
636 #define PyOS_snprintf snprintf
637 #endif
638
639 #ifdef __cplusplus
640 extern "C" {
641 #endif
642
643 /* -----------------------------------------------------------------------------
644 * Create a new pointer string
645 * ----------------------------------------------------------------------------- */
646 #ifndef SWIG_BUFFER_SIZE
647 #define SWIG_BUFFER_SIZE 1024
648 #endif
649
650 /* A crude PyString_FromFormat implementation for old Pythons */
651 #if PY_VERSION_HEX < 0x02020000
652 static PyObject *
653 PyString_FromFormat(const char *fmt, ...) {
654 va_list ap;
655 char buf[SWIG_BUFFER_SIZE * 2];
656 int res;
657 va_start(ap, fmt);
658 res = vsnprintf(buf, sizeof(buf), fmt, ap);
659 va_end(ap);
660 return (res < 0 || res >= sizeof(buf)) ? 0 : PyString_FromString(buf);
661 }
662 #endif
663
664 #if PY_VERSION_HEX < 0x01060000
665 #define PyObject_Del(op) PyMem_DEL((op))
666 #endif
667
668 #if defined(SWIG_COBJECT_TYPES)
669 #if !defined(SWIG_COBJECT_PYTHON)
670 /* -----------------------------------------------------------------------------
671 * Implements a simple Swig Object type, and use it instead of PyCObject
672 * ----------------------------------------------------------------------------- */
673
674 typedef struct {
675 PyObject_HEAD
676 void *ptr;
677 const char *desc;
678 } PySwigObject;
679
680 /* Declarations for objects of type PySwigObject */
681
682 SWIGRUNTIME int
683 PySwigObject_print(PySwigObject *v, FILE *fp, int flags)
684 {
685 char result[SWIG_BUFFER_SIZE];
686 flags = flags;
687 if (SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result))) {
688 fputs("<Swig Object at ", fp); fputs(result, fp); fputs(">", fp);
689 return 0;
690 } else {
691 return 1;
692 }
693 }
694
695 SWIGRUNTIME PyObject *
696 PySwigObject_repr(PySwigObject *v)
697 {
698 char result[SWIG_BUFFER_SIZE];
699 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
700 PyString_FromFormat("<Swig Object at %s>", result) : 0;
701 }
702
703 SWIGRUNTIME PyObject *
704 PySwigObject_str(PySwigObject *v)
705 {
706 char result[SWIG_BUFFER_SIZE];
707 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
708 PyString_FromString(result) : 0;
709 }
710
711 SWIGRUNTIME PyObject *
712 PySwigObject_long(PySwigObject *v)
713 {
714 return PyLong_FromVoidPtr(v->ptr);
715 }
716
717 SWIGRUNTIME PyObject *
718 PySwigObject_format(const char* fmt, PySwigObject *v)
719 {
720 PyObject *res = NULL;
721 PyObject *args = PyTuple_New(1);
722 if (args && (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0)) {
723 PyObject *ofmt = PyString_FromString(fmt);
724 if (ofmt) {
725 res = PyString_Format(ofmt,args);
726 Py_DECREF(ofmt);
727 }
728 Py_DECREF(args);
729 }
730 return res;
731 }
732
733 SWIGRUNTIME PyObject *
734 PySwigObject_oct(PySwigObject *v)
735 {
736 return PySwigObject_format("%o",v);
737 }
738
739 SWIGRUNTIME PyObject *
740 PySwigObject_hex(PySwigObject *v)
741 {
742 return PySwigObject_format("%x",v);
743 }
744
745 SWIGRUNTIME int
746 PySwigObject_compare(PySwigObject *v, PySwigObject *w)
747 {
748 int c = strcmp(v->desc, w->desc);
749 if (c) {
750 return (c > 0) ? 1 : -1;
751 } else {
752 void *i = v->ptr;
753 void *j = w->ptr;
754 return (i < j) ? -1 : ((i > j) ? 1 : 0);
755 }
756 }
757
758 SWIGRUNTIME void
759 PySwigObject_dealloc(PySwigObject *self)
760 {
761 PyObject_Del(self);
762 }
763
764 SWIGRUNTIME PyTypeObject*
765 PySwigObject_type(void) {
766 static char pyswigobject_type__doc__[] =
767 "Swig object carries a C/C++ instance pointer";
768
769 static PyNumberMethods PySwigObject_as_number = {
770 (binaryfunc)0, /*nb_add*/
771 (binaryfunc)0, /*nb_subtract*/
772 (binaryfunc)0, /*nb_multiply*/
773 (binaryfunc)0, /*nb_divide*/
774 (binaryfunc)0, /*nb_remainder*/
775 (binaryfunc)0, /*nb_divmod*/
776 (ternaryfunc)0,/*nb_power*/
777 (unaryfunc)0, /*nb_negative*/
778 (unaryfunc)0, /*nb_positive*/
779 (unaryfunc)0, /*nb_absolute*/
780 (inquiry)0, /*nb_nonzero*/
781 0, /*nb_invert*/
782 0, /*nb_lshift*/
783 0, /*nb_rshift*/
784 0, /*nb_and*/
785 0, /*nb_xor*/
786 0, /*nb_or*/
787 (coercion)0, /*nb_coerce*/
788 (unaryfunc)PySwigObject_long, /*nb_int*/
789 (unaryfunc)PySwigObject_long, /*nb_long*/
790 (unaryfunc)0, /*nb_float*/
791 (unaryfunc)PySwigObject_oct, /*nb_oct*/
792 (unaryfunc)PySwigObject_hex, /*nb_hex*/
793 #if PY_VERSION_HEX >= 0x02020000
794 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
795 #elif PY_VERSION_HEX >= 0x02000000
796 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
797 #endif
798 };
799
800 static PyTypeObject pyswigobject_type
801 #if !defined(__cplusplus)
802 ;
803 static int type_init = 0;
804 if (!type_init) {
805 PyTypeObject tmp
806 #endif
807 = {
808 PyObject_HEAD_INIT(&PyType_Type)
809 0, /*ob_size*/
810 (char *)"PySwigObject", /*tp_name*/
811 sizeof(PySwigObject), /*tp_basicsize*/
812 0, /*tp_itemsize*/
813 /* methods */
814 (destructor)PySwigObject_dealloc, /*tp_dealloc*/
815 (printfunc)PySwigObject_print, /*tp_print*/
816 (getattrfunc)0, /*tp_getattr*/
817 (setattrfunc)0, /*tp_setattr*/
818 (cmpfunc)PySwigObject_compare, /*tp_compare*/
819 (reprfunc)PySwigObject_repr, /*tp_repr*/
820 &PySwigObject_as_number, /*tp_as_number*/
821 0, /*tp_as_sequence*/
822 0, /*tp_as_mapping*/
823 (hashfunc)0, /*tp_hash*/
824 (ternaryfunc)0, /*tp_call*/
825 (reprfunc)PySwigObject_str, /*tp_str*/
826 /* Space for future expansion */
827 0,0,0,0,
828 pyswigobject_type__doc__, /* Documentation string */
829 #if PY_VERSION_HEX >= 0x02000000
830 0, /* tp_traverse */
831 0, /* tp_clear */
832 #endif
833 #if PY_VERSION_HEX >= 0x02010000
834 0, /* tp_richcompare */
835 0, /* tp_weaklistoffset */
836 #endif
837 #if PY_VERSION_HEX >= 0x02020000
838 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
839 #endif
840 #if PY_VERSION_HEX >= 0x02030000
841 0, /* tp_del */
842 #endif
843 #ifdef COUNT_ALLOCS
844 0,0,0,0 /* tp_alloc -> tp_next */
845 #endif
846 };
847 #if !defined(__cplusplus)
848 pyswigobject_type = tmp;
849 type_init = 1;
850 }
851 #endif
852 return &pyswigobject_type;
853 }
854
855 SWIGRUNTIME PyObject *
856 PySwigObject_FromVoidPtrAndDesc(void *ptr, const char *desc)
857 {
858 PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_type());
859 if (self) {
860 self->ptr = ptr;
861 self->desc = desc;
862 }
863 return (PyObject *)self;
864 }
865
866 SWIGRUNTIMEINLINE void *
867 PySwigObject_AsVoidPtr(PyObject *self)
868 {
869 return ((PySwigObject *)self)->ptr;
870 }
871
872 SWIGRUNTIMEINLINE const char *
873 PySwigObject_GetDesc(PyObject *self)
874 {
875 return ((PySwigObject *)self)->desc;
876 }
877
878 SWIGRUNTIMEINLINE int
879 PySwigObject_Check(PyObject *op) {
880 return ((op)->ob_type == PySwigObject_type())
881 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
882 }
883
884 /* -----------------------------------------------------------------------------
885 * Implements a simple Swig Packed type, and use it instead of string
886 * ----------------------------------------------------------------------------- */
887
888 typedef struct {
889 PyObject_HEAD
890 void *pack;
891 const char *desc;
892 size_t size;
893 } PySwigPacked;
894
895 SWIGRUNTIME int
896 PySwigPacked_print(PySwigPacked *v, FILE *fp, int flags)
897 {
898 char result[SWIG_BUFFER_SIZE];
899 flags = flags;
900 fputs("<Swig Packed ", fp);
901 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
902 fputs("at ", fp);
903 fputs(result, fp);
904 }
905 fputs(v->desc,fp);
906 fputs(">", fp);
907 return 0;
908 }
909
910 SWIGRUNTIME PyObject *
911 PySwigPacked_repr(PySwigPacked *v)
912 {
913 char result[SWIG_BUFFER_SIZE];
914 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
915 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->desc);
916 } else {
917 return PyString_FromFormat("<Swig Packed %s>", v->desc);
918 }
919 }
920
921 SWIGRUNTIME PyObject *
922 PySwigPacked_str(PySwigPacked *v)
923 {
924 char result[SWIG_BUFFER_SIZE];
925 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
926 return PyString_FromFormat("%s%s", result, v->desc);
927 } else {
928 return PyString_FromString(v->desc);
929 }
930 }
931
932 SWIGRUNTIME int
933 PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
934 {
935 int c = strcmp(v->desc, w->desc);
936 if (c) {
937 return (c > 0) ? 1 : -1;
938 } else {
939 size_t i = v->size;
940 size_t j = w->size;
941 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
942 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
943 }
944 }
945
946 SWIGRUNTIME void
947 PySwigPacked_dealloc(PySwigPacked *self)
948 {
949 free(self->pack);
950 PyObject_Del(self);
951 }
952
953 SWIGRUNTIME PyTypeObject*
954 PySwigPacked_type(void) {
955 static char pyswigpacked_type__doc__[] =
956 "Swig object carries a C/C++ instance pointer";
957 static PyTypeObject pyswigpacked_type
958 #if !defined(__cplusplus)
959 ;
960 static int type_init = 0;
961 if (!type_init) {
962 PyTypeObject tmp
963 #endif
964 = {
965 PyObject_HEAD_INIT(&PyType_Type)
966 0, /*ob_size*/
967 (char *)"PySwigPacked", /*tp_name*/
968 sizeof(PySwigPacked), /*tp_basicsize*/
969 0, /*tp_itemsize*/
970 /* methods */
971 (destructor)PySwigPacked_dealloc, /*tp_dealloc*/
972 (printfunc)PySwigPacked_print, /*tp_print*/
973 (getattrfunc)0, /*tp_getattr*/
974 (setattrfunc)0, /*tp_setattr*/
975 (cmpfunc)PySwigPacked_compare, /*tp_compare*/
976 (reprfunc)PySwigPacked_repr, /*tp_repr*/
977 0, /*tp_as_number*/
978 0, /*tp_as_sequence*/
979 0, /*tp_as_mapping*/
980 (hashfunc)0, /*tp_hash*/
981 (ternaryfunc)0, /*tp_call*/
982 (reprfunc)PySwigPacked_str, /*tp_str*/
983 /* Space for future expansion */
984 0,0,0,0,
985 pyswigpacked_type__doc__, /* Documentation string */
986 #if PY_VERSION_HEX >= 0x02000000
987 0, /* tp_traverse */
988 0, /* tp_clear */
989 #endif
990 #if PY_VERSION_HEX >= 0x02010000
991 0, /* tp_richcompare */
992 0, /* tp_weaklistoffset */
993 #endif
994 #if PY_VERSION_HEX >= 0x02020000
995 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
996 #endif
997 #if PY_VERSION_HEX >= 0x02030000
998 0, /* tp_del */
999 #endif
1000 #ifdef COUNT_ALLOCS
1001 0,0,0,0 /* tp_alloc -> tp_next */
1002 #endif
1003 };
1004 #if !defined(__cplusplus)
1005 pyswigpacked_type = tmp;
1006 type_init = 1;
1007 }
1008 #endif
1009 return &pyswigpacked_type;
1010 }
1011
1012 SWIGRUNTIME PyObject *
1013 PySwigPacked_FromDataAndDesc(void *ptr, size_t size, const char *desc)
1014 {
1015 PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1016 if (self == NULL) {
1017 return NULL;
1018 } else {
1019 void *pack = malloc(size);
1020 if (pack) {
1021 memcpy(pack, ptr, size);
1022 self->pack = pack;
1023 self->desc = desc;
1024 self->size = size;
1025 return (PyObject *) self;
1026 }
1027 return NULL;
1028 }
1029 }
1030
1031 SWIGRUNTIMEINLINE const char *
1032 PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1033 {
1034 PySwigPacked *self = (PySwigPacked *)obj;
1035 if (self->size != size) return 0;
1036 memcpy(ptr, self->pack, size);
1037 return self->desc;
1038 }
1039
1040 SWIGRUNTIMEINLINE const char *
1041 PySwigPacked_GetDesc(PyObject *self)
1042 {
1043 return ((PySwigPacked *)self)->desc;
1044 }
1045
1046 SWIGRUNTIMEINLINE int
1047 PySwigPacked_Check(PyObject *op) {
1048 return ((op)->ob_type == PySwigPacked_type())
1049 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1050 }
1051
1052 #else
1053 /* -----------------------------------------------------------------------------
1054 * Use the old Python PyCObject instead of PySwigObject
1055 * ----------------------------------------------------------------------------- */
1056
1057 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1058 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1059 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1060 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1061
1062 #endif
1063
1064 #endif
1065
1066 /* -----------------------------------------------------------------------------
1067 * errors manipulation
1068 * ----------------------------------------------------------------------------- */
1069
1070 SWIGRUNTIME void
1071 SWIG_Python_TypeError(const char *type, PyObject *obj)
1072 {
1073 if (type) {
1074 #if defined(SWIG_COBJECT_TYPES)
1075 if (obj && PySwigObject_Check(obj)) {
1076 const char *otype = (const char *) PySwigObject_GetDesc(obj);
1077 if (otype) {
1078 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
1079 type, otype);
1080 return;
1081 }
1082 } else
1083 #endif
1084 {
1085 const char *otype = (obj ? obj->ob_type->tp_name : 0);
1086 if (otype) {
1087 PyObject *str = PyObject_Str(obj);
1088 const char *cstr = str ? PyString_AsString(str) : 0;
1089 if (cstr) {
1090 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
1091 type, otype, cstr);
1092 } else {
1093 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
1094 type, otype);
1095 }
1096 Py_XDECREF(str);
1097 return;
1098 }
1099 }
1100 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
1101 } else {
1102 PyErr_Format(PyExc_TypeError, "unexpected type is received");
1103 }
1104 }
1105
1106 SWIGRUNTIMEINLINE void
1107 SWIG_Python_NullRef(const char *type)
1108 {
1109 if (type) {
1110 PyErr_Format(PyExc_TypeError, "null reference of type '%s' was received",type);
1111 } else {
1112 PyErr_Format(PyExc_TypeError, "null reference was received");
1113 }
1114 }
1115
1116 SWIGRUNTIME int
1117 SWIG_Python_AddErrMesg(const char* mesg, int infront)
1118 {
1119 if (PyErr_Occurred()) {
1120 PyObject *type = 0;
1121 PyObject *value = 0;
1122 PyObject *traceback = 0;
1123 PyErr_Fetch(&type, &value, &traceback);
1124 if (value) {
1125 PyObject *old_str = PyObject_Str(value);
1126 Py_XINCREF(type);
1127 PyErr_Clear();
1128 if (infront) {
1129 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
1130 } else {
1131 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
1132 }
1133 Py_DECREF(old_str);
1134 }
1135 return 1;
1136 } else {
1137 return 0;
1138 }
1139 }
1140
1141 SWIGRUNTIME int
1142 SWIG_Python_ArgFail(int argnum)
1143 {
1144 if (PyErr_Occurred()) {
1145 /* add information about failing argument */
1146 char mesg[256];
1147 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
1148 return SWIG_Python_AddErrMesg(mesg, 1);
1149 } else {
1150 return 0;
1151 }
1152 }
1153
1154
1155 /* -----------------------------------------------------------------------------
1156 * pointers/data manipulation
1157 * ----------------------------------------------------------------------------- */
1158
1159 /* Convert a pointer value */
1160 SWIGRUNTIME int
1161 SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) {
1162 swig_cast_info *tc;
1163 const char *c = 0;
1164 static PyObject *SWIG_this = 0;
1165 int newref = 0;
1166 PyObject *pyobj = 0;
1167 void *vptr;
1168
1169 if (!obj) return 0;
1170 if (obj == Py_None) {
1171 *ptr = 0;
1172 return 0;
1173 }
1174
1175 #ifdef SWIG_COBJECT_TYPES
1176 if (!(PySwigObject_Check(obj))) {
1177 if (!SWIG_this)
1178 SWIG_this = PyString_FromString("this");
1179 pyobj = obj;
1180 obj = PyObject_GetAttr(obj,SWIG_this);
1181 newref = 1;
1182 if (!obj) goto type_error;
1183 if (!PySwigObject_Check(obj)) {
1184 Py_DECREF(obj);
1185 goto type_error;
1186 }
1187 }
1188 vptr = PySwigObject_AsVoidPtr(obj);
1189 c = (const char *) PySwigObject_GetDesc(obj);
1190 if (newref) { Py_DECREF(obj); }
1191 goto type_check;
1192 #else
1193 if (!(PyString_Check(obj))) {
1194 if (!SWIG_this)
1195 SWIG_this = PyString_FromString("this");
1196 pyobj = obj;
1197 obj = PyObject_GetAttr(obj,SWIG_this);
1198 newref = 1;
1199 if (!obj) goto type_error;
1200 if (!PyString_Check(obj)) {
1201 Py_DECREF(obj);
1202 goto type_error;
1203 }
1204 }
1205 c = PyString_AsString(obj);
1206 /* Pointer values must start with leading underscore */
1207 c = SWIG_UnpackVoidPtr(c, &vptr, ty->name);
1208 if (newref) { Py_DECREF(obj); }
1209 if (!c) goto type_error;
1210 #endif
1211
1212 type_check:
1213 if (ty) {
1214 tc = SWIG_TypeCheck(c,ty);
1215 if (!tc) goto type_error;
1216 *ptr = SWIG_TypeCast(tc,vptr);
1217 } else {
1218 *ptr = vptr;
1219 }
1220 if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) {
1221 PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False);
1222 }
1223 return 0;
1224
1225 type_error:
1226 PyErr_Clear();
1227 if (pyobj && !obj) {
1228 obj = pyobj;
1229 if (PyCFunction_Check(obj)) {
1230 /* here we get the method pointer for callbacks */
1231 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
1232 c = doc ? strstr(doc, "swig_ptr: ") : 0;
1233 if (c) {
1234 c = ty ? SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name) : 0;
1235 if (!c) goto type_error;
1236 goto type_check;
1237 }
1238 }
1239 }
1240 if (flags & SWIG_POINTER_EXCEPTION) {
1241 if (ty) {
1242 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1243 } else {
1244 SWIG_Python_TypeError("C/C++ pointer", obj);
1245 }
1246 }
1247 return -1;
1248 }
1249
1250 /* Convert a pointer value, signal an exception on a type mismatch */
1251 SWIGRUNTIME void *
1252 SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
1253 void *result;
1254 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
1255 PyErr_Clear();
1256 if (flags & SWIG_POINTER_EXCEPTION) {
1257 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1258 SWIG_Python_ArgFail(argnum);
1259 }
1260 }
1261 return result;
1262 }
1263
1264 /* Convert a packed value value */
1265 SWIGRUNTIME int
1266 SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) {
1267 swig_cast_info *tc;
1268 const char *c = 0;
1269
1270 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1271 c = PySwigPacked_UnpackData(obj, ptr, sz);
1272 #else
1273 if ((!obj) || (!PyString_Check(obj))) goto type_error;
1274 c = PyString_AsString(obj);
1275 /* Pointer values must start with leading underscore */
1276 c = SWIG_UnpackDataName(c, ptr, sz, ty->name);
1277 #endif
1278 if (!c) goto type_error;
1279 if (ty) {
1280 tc = SWIG_TypeCheck(c,ty);
1281 if (!tc) goto type_error;
1282 }
1283 return 0;
1284
1285 type_error:
1286 PyErr_Clear();
1287 if (flags & SWIG_POINTER_EXCEPTION) {
1288 if (ty) {
1289 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1290 } else {
1291 SWIG_Python_TypeError("C/C++ packed data", obj);
1292 }
1293 }
1294 return -1;
1295 }
1296
1297 /* Create a new array object */
1298 SWIGRUNTIME PyObject *
1299 SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) {
1300 PyObject *robj = 0;
1301 if (!type) {
1302 if (!PyErr_Occurred()) {
1303 PyErr_Format(PyExc_TypeError, "Swig: null type passed to NewPointerObj");
1304 }
1305 return robj;
1306 }
1307 if (!ptr) {
1308 Py_INCREF(Py_None);
1309 return Py_None;
1310 }
1311 #ifdef SWIG_COBJECT_TYPES
1312 robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)type->name);
1313 #else
1314 {
1315 char result[SWIG_BUFFER_SIZE];
1316 robj = SWIG_PackVoidPtr(result, ptr, type->name, sizeof(result)) ?
1317 PyString_FromString(result) : 0;
1318 }
1319 #endif
1320 if (!robj || (robj == Py_None)) return robj;
1321 if (type->clientdata) {
1322 PyObject *inst;
1323 PyObject *args = Py_BuildValue((char*)"(O)", robj);
1324 Py_DECREF(robj);
1325 inst = PyObject_CallObject((PyObject *) type->clientdata, args);
1326 Py_DECREF(args);
1327 if (inst) {
1328 if (own) {
1329 PyObject_SetAttrString(inst,(char*)"thisown",Py_True);
1330 }
1331 robj = inst;
1332 }
1333 }
1334 return robj;
1335 }
1336
1337 SWIGRUNTIME PyObject *
1338 SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
1339 PyObject *robj = 0;
1340 if (!ptr) {
1341 Py_INCREF(Py_None);
1342 return Py_None;
1343 }
1344 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1345 robj = PySwigPacked_FromDataAndDesc((void *) ptr, sz, (char *)type->name);
1346 #else
1347 {
1348 char result[SWIG_BUFFER_SIZE];
1349 robj = SWIG_PackDataName(result, ptr, sz, type->name, sizeof(result)) ?
1350 PyString_FromString(result) : 0;
1351 }
1352 #endif
1353 return robj;
1354 }
1355
1356 /* -----------------------------------------------------------------------------*
1357 * Get type list
1358 * -----------------------------------------------------------------------------*/
1359
1360 #ifdef SWIG_LINK_RUNTIME
1361 void *SWIG_ReturnGlobalTypeList(void *);
1362 #endif
1363
1364 SWIGRUNTIME swig_module_info *
1365 SWIG_Python_GetModule(void) {
1366 static void *type_pointer = (void *)0;
1367 /* first check if module already created */
1368 if (!type_pointer) {
1369 #ifdef SWIG_LINK_RUNTIME
1370 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
1371 #else
1372 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1373 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
1374 if (PyErr_Occurred()) {
1375 PyErr_Clear();
1376 type_pointer = (void *)0;
1377 }
1378 #endif
1379 }
1380 return (swig_module_info *) type_pointer;
1381 }
1382
1383 #if PY_MAJOR_VERSION < 2
1384 /* PyModule_AddObject function was introduced in Python 2.0. The following function
1385 is copied out of Python/modsupport.c in python version 2.3.4 */
1386 SWIGINTERN int
1387 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
1388 {
1389 PyObject *dict;
1390 if (!PyModule_Check(m)) {
1391 PyErr_SetString(PyExc_TypeError,
1392 "PyModule_AddObject() needs module as first arg");
1393 return -1;
1394 }
1395 if (!o) {
1396 PyErr_SetString(PyExc_TypeError,
1397 "PyModule_AddObject() needs non-NULL value");
1398 return -1;
1399 }
1400
1401 dict = PyModule_GetDict(m);
1402 if (dict == NULL) {
1403 /* Internal error -- modules must have a dict! */
1404 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
1405 PyModule_GetName(m));
1406 return -1;
1407 }
1408 if (PyDict_SetItemString(dict, name, o))
1409 return -1;
1410 Py_DECREF(o);
1411 return 0;
1412 }
1413 #endif
1414
1415 SWIGRUNTIME void
1416 SWIG_Python_SetModule(swig_module_info *swig_module) {
1417 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
1418
1419 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1420 swig_empty_runtime_method_table);
1421 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, NULL);
1422 if (pointer && module) {
1423 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
1424 }
1425 }
1426
1427 #ifdef __cplusplus
1428 }
1429 #endif
1430
1431
1432 /* -------- TYPES TABLE (BEGIN) -------- */
1433
1434 #define SWIGTYPE_p_char swig_types[0]
1435 #define SWIGTYPE_p_form_ops_t swig_types[1]
1436 #define SWIGTYPE_p_int swig_types[2]
1437 #define SWIGTYPE_p_unsigned_char swig_types[3]
1438 #define SWIGTYPE_p_unsigned_int swig_types[4]
1439 #define SWIGTYPE_p_unsigned_long swig_types[5]
1440 #define SWIGTYPE_p_wxANIHandler swig_types[6]
1441 #define SWIGTYPE_p_wxAcceleratorTable swig_types[7]
1442 #define SWIGTYPE_p_wxActivateEvent swig_types[8]
1443 #define SWIGTYPE_p_wxArrayInt swig_types[9]
1444 #define SWIGTYPE_p_wxBMPHandler swig_types[10]
1445 #define SWIGTYPE_p_wxBitmap swig_types[11]
1446 #define SWIGTYPE_p_wxBoxSizer swig_types[12]
1447 #define SWIGTYPE_p_wxCURHandler swig_types[13]
1448 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[14]
1449 #define SWIGTYPE_p_wxChildFocusEvent swig_types[15]
1450 #define SWIGTYPE_p_wxCloseEvent swig_types[16]
1451 #define SWIGTYPE_p_wxColour swig_types[17]
1452 #define SWIGTYPE_p_wxColourData swig_types[18]
1453 #define SWIGTYPE_p_wxColourDialog swig_types[19]
1454 #define SWIGTYPE_p_wxCommandEvent swig_types[20]
1455 #define SWIGTYPE_p_wxContextMenuEvent swig_types[21]
1456 #define SWIGTYPE_p_wxControl swig_types[22]
1457 #define SWIGTYPE_p_wxControlWithItems swig_types[23]
1458 #define SWIGTYPE_p_wxDC swig_types[24]
1459 #define SWIGTYPE_p_wxDateEvent swig_types[25]
1460 #define SWIGTYPE_p_wxDialog swig_types[26]
1461 #define SWIGTYPE_p_wxDirDialog swig_types[27]
1462 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[28]
1463 #define SWIGTYPE_p_wxDropFilesEvent swig_types[29]
1464 #define SWIGTYPE_p_wxDuplexMode swig_types[30]
1465 #define SWIGTYPE_p_wxEraseEvent swig_types[31]
1466 #define SWIGTYPE_p_wxEvent swig_types[32]
1467 #define SWIGTYPE_p_wxEvtHandler swig_types[33]
1468 #define SWIGTYPE_p_wxFSFile swig_types[34]
1469 #define SWIGTYPE_p_wxFileDialog swig_types[35]
1470 #define SWIGTYPE_p_wxFileSystem swig_types[36]
1471 #define SWIGTYPE_p_wxFindDialogEvent swig_types[37]
1472 #define SWIGTYPE_p_wxFindReplaceData swig_types[38]
1473 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[39]
1474 #define SWIGTYPE_p_wxFlexGridSizer swig_types[40]
1475 #define SWIGTYPE_p_wxFocusEvent swig_types[41]
1476 #define SWIGTYPE_p_wxFont swig_types[42]
1477 #define SWIGTYPE_p_wxFontData swig_types[43]
1478 #define SWIGTYPE_p_wxFontDialog swig_types[44]
1479 #define SWIGTYPE_p_wxFrame swig_types[45]
1480 #define SWIGTYPE_p_wxGBSizerItem swig_types[46]
1481 #define SWIGTYPE_p_wxGIFHandler swig_types[47]
1482 #define SWIGTYPE_p_wxGridBagSizer swig_types[48]
1483 #define SWIGTYPE_p_wxGridSizer swig_types[49]
1484 #define SWIGTYPE_p_wxICOHandler swig_types[50]
1485 #define SWIGTYPE_p_wxIcon swig_types[51]
1486 #define SWIGTYPE_p_wxIconBundle swig_types[52]
1487 #define SWIGTYPE_p_wxIconizeEvent swig_types[53]
1488 #define SWIGTYPE_p_wxIdleEvent swig_types[54]
1489 #define SWIGTYPE_p_wxImage swig_types[55]
1490 #define SWIGTYPE_p_wxImageHandler swig_types[56]
1491 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[57]
1492 #define SWIGTYPE_p_wxInitDialogEvent swig_types[58]
1493 #define SWIGTYPE_p_wxJPEGHandler swig_types[59]
1494 #define SWIGTYPE_p_wxKeyEvent swig_types[60]
1495 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[61]
1496 #define SWIGTYPE_p_wxLayoutConstraints swig_types[62]
1497 #define SWIGTYPE_p_wxMDIChildFrame swig_types[63]
1498 #define SWIGTYPE_p_wxMDIClientWindow swig_types[64]
1499 #define SWIGTYPE_p_wxMDIParentFrame swig_types[65]
1500 #define SWIGTYPE_p_wxMaximizeEvent swig_types[66]
1501 #define SWIGTYPE_p_wxMenu swig_types[67]
1502 #define SWIGTYPE_p_wxMenuBar swig_types[68]
1503 #define SWIGTYPE_p_wxMenuEvent swig_types[69]
1504 #define SWIGTYPE_p_wxMenuItem swig_types[70]
1505 #define SWIGTYPE_p_wxMessageDialog swig_types[71]
1506 #define SWIGTYPE_p_wxMiniFrame swig_types[72]
1507 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[73]
1508 #define SWIGTYPE_p_wxMouseEvent swig_types[74]
1509 #define SWIGTYPE_p_wxMoveEvent swig_types[75]
1510 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[76]
1511 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[77]
1512 #define SWIGTYPE_p_wxNcPaintEvent swig_types[78]
1513 #define SWIGTYPE_p_wxNotifyEvent swig_types[79]
1514 #define SWIGTYPE_p_wxObject swig_types[80]
1515 #define SWIGTYPE_p_wxPCXHandler swig_types[81]
1516 #define SWIGTYPE_p_wxPNGHandler swig_types[82]
1517 #define SWIGTYPE_p_wxPNMHandler swig_types[83]
1518 #define SWIGTYPE_p_wxPageSetupDialog swig_types[84]
1519 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[85]
1520 #define SWIGTYPE_p_wxPaintEvent swig_types[86]
1521 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[87]
1522 #define SWIGTYPE_p_wxPanel swig_types[88]
1523 #define SWIGTYPE_p_wxPaperSize swig_types[89]
1524 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[90]
1525 #define SWIGTYPE_p_wxPoint swig_types[91]
1526 #define SWIGTYPE_p_wxPopupWindow swig_types[92]
1527 #define SWIGTYPE_p_wxPreviewCanvas swig_types[93]
1528 #define SWIGTYPE_p_wxPreviewControlBar swig_types[94]
1529 #define SWIGTYPE_p_wxPreviewFrame swig_types[95]
1530 #define SWIGTYPE_p_wxPrintData swig_types[96]
1531 #define SWIGTYPE_p_wxPrintDialog swig_types[97]
1532 #define SWIGTYPE_p_wxPrintDialogData swig_types[98]
1533 #define SWIGTYPE_p_wxPrintPreview swig_types[99]
1534 #define SWIGTYPE_p_wxPrinter swig_types[100]
1535 #define SWIGTYPE_p_wxProgressDialog swig_types[101]
1536 #define SWIGTYPE_p_wxPyApp swig_types[102]
1537 #define SWIGTYPE_p_wxPyCommandEvent swig_types[103]
1538 #define SWIGTYPE_p_wxPyEvent swig_types[104]
1539 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[105]
1540 #define SWIGTYPE_p_wxPyImageHandler swig_types[106]
1541 #define SWIGTYPE_p_wxPyPanel swig_types[107]
1542 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[108]
1543 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[109]
1544 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[110]
1545 #define SWIGTYPE_p_wxPyPrintPreview swig_types[111]
1546 #define SWIGTYPE_p_wxPyPrintout swig_types[112]
1547 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[113]
1548 #define SWIGTYPE_p_wxPySizer swig_types[114]
1549 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[115]
1550 #define SWIGTYPE_p_wxPyVListBox swig_types[116]
1551 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[117]
1552 #define SWIGTYPE_p_wxPyValidator swig_types[118]
1553 #define SWIGTYPE_p_wxPyWindow swig_types[119]
1554 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[120]
1555 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[121]
1556 #define SWIGTYPE_p_wxRect swig_types[122]
1557 #define SWIGTYPE_p_wxRegion swig_types[123]
1558 #define SWIGTYPE_p_wxSashEvent swig_types[124]
1559 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[125]
1560 #define SWIGTYPE_p_wxSashWindow swig_types[126]
1561 #define SWIGTYPE_p_wxScrollEvent swig_types[127]
1562 #define SWIGTYPE_p_wxScrollWinEvent swig_types[128]
1563 #define SWIGTYPE_p_wxScrolledWindow swig_types[129]
1564 #define SWIGTYPE_p_wxSetCursorEvent swig_types[130]
1565 #define SWIGTYPE_p_wxShowEvent swig_types[131]
1566 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[132]
1567 #define SWIGTYPE_p_wxSize swig_types[133]
1568 #define SWIGTYPE_p_wxSizeEvent swig_types[134]
1569 #define SWIGTYPE_p_wxSizer swig_types[135]
1570 #define SWIGTYPE_p_wxSizerItem swig_types[136]
1571 #define SWIGTYPE_p_wxSplashScreen swig_types[137]
1572 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[138]
1573 #define SWIGTYPE_p_wxSplitterEvent swig_types[139]
1574 #define SWIGTYPE_p_wxSplitterWindow swig_types[140]
1575 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[141]
1576 #define SWIGTYPE_p_wxStatusBar swig_types[142]
1577 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[143]
1578 #define SWIGTYPE_p_wxString swig_types[144]
1579 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[145]
1580 #define SWIGTYPE_p_wxTIFFHandler swig_types[146]
1581 #define SWIGTYPE_p_wxTaskBarIcon swig_types[147]
1582 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[148]
1583 #define SWIGTYPE_p_wxTextEntryDialog swig_types[149]
1584 #define SWIGTYPE_p_wxTipWindow swig_types[150]
1585 #define SWIGTYPE_p_wxToolBar swig_types[151]
1586 #define SWIGTYPE_p_wxTopLevelWindow swig_types[152]
1587 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[153]
1588 #define SWIGTYPE_p_wxValidator swig_types[154]
1589 #define SWIGTYPE_p_wxVisualAttributes swig_types[155]
1590 #define SWIGTYPE_p_wxWindow swig_types[156]
1591 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[157]
1592 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[158]
1593 #define SWIGTYPE_p_wxXPMHandler swig_types[159]
1594 #define SWIGTYPE_ptrdiff_t swig_types[160]
1595 #define SWIGTYPE_std__ptrdiff_t swig_types[161]
1596 #define SWIGTYPE_unsigned_int swig_types[162]
1597 static swig_type_info *swig_types[164];
1598 static swig_module_info swig_module = {swig_types, 163, 0, 0, 0, 0};
1599 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
1600 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
1601
1602 /* -------- TYPES TABLE (END) -------- */
1603
1604
1605 /*-----------------------------------------------
1606 @(target):= _windows_.so
1607 ------------------------------------------------*/
1608 #define SWIG_init init_windows_
1609
1610 #define SWIG_name "_windows_"
1611
1612 #include "wx/wxPython/wxPython.h"
1613 #include "wx/wxPython/pyclasses.h"
1614
1615
1616 static const wxString wxPyEmptyString(wxEmptyString);
1617 static const wxString wxPyPanelNameStr(wxPanelNameStr);
1618
1619
1620
1621 #include <limits.h>
1622
1623
1624 SWIGINTERN int
1625 SWIG_CheckLongInRange(long value, long min_value, long max_value,
1626 const char *errmsg)
1627 {
1628 if (value < min_value) {
1629 if (errmsg) {
1630 PyErr_Format(PyExc_OverflowError,
1631 "value %ld is less than '%s' minimum %ld",
1632 value, errmsg, min_value);
1633 }
1634 return 0;
1635 } else if (value > max_value) {
1636 if (errmsg) {
1637 PyErr_Format(PyExc_OverflowError,
1638 "value %ld is greater than '%s' maximum %ld",
1639 value, errmsg, max_value);
1640 }
1641 return 0;
1642 }
1643 return 1;
1644 }
1645
1646
1647 SWIGINTERN int
1648 SWIG_AsVal_long(PyObject* obj, long* val)
1649 {
1650 if (PyNumber_Check(obj)) {
1651 if (val) *val = PyInt_AsLong(obj);
1652 return 1;
1653 }
1654 else {
1655 SWIG_type_error("number", obj);
1656 }
1657 return 0;
1658 }
1659
1660
1661 #if INT_MAX != LONG_MAX
1662 SWIGINTERN int
1663 SWIG_AsVal_int(PyObject *obj, int *val)
1664 {
1665 const char* errmsg = val ? "int" : (char*)0;
1666 long v;
1667 if (SWIG_AsVal_long(obj, &v)) {
1668 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
1669 if (val) *val = static_cast<int >(v);
1670 return 1;
1671 } else {
1672 return 0;
1673 }
1674 } else {
1675 PyErr_Clear();
1676 }
1677 if (val) {
1678 SWIG_type_error(errmsg, obj);
1679 }
1680 return 0;
1681 }
1682 #else
1683 SWIGINTERNINLINE int
1684 SWIG_AsVal_int(PyObject *obj, int *val)
1685 {
1686 return SWIG_AsVal_long(obj,(long*)val);
1687 }
1688 #endif
1689
1690
1691 SWIGINTERNINLINE int
1692 SWIG_As_int(PyObject* obj)
1693 {
1694 int v;
1695 if (!SWIG_AsVal_int(obj, &v)) {
1696 /*
1697 this is needed to make valgrind/purify happier.
1698 */
1699 memset((void*)&v, 0, sizeof(int));
1700 }
1701 return v;
1702 }
1703
1704
1705 SWIGINTERNINLINE long
1706 SWIG_As_long(PyObject* obj)
1707 {
1708 long v;
1709 if (!SWIG_AsVal_long(obj, &v)) {
1710 /*
1711 this is needed to make valgrind/purify happier.
1712 */
1713 memset((void*)&v, 0, sizeof(long));
1714 }
1715 return v;
1716 }
1717
1718
1719 SWIGINTERNINLINE int
1720 SWIG_Check_int(PyObject* obj)
1721 {
1722 return SWIG_AsVal_int(obj, (int*)0);
1723 }
1724
1725
1726 SWIGINTERNINLINE int
1727 SWIG_Check_long(PyObject* obj)
1728 {
1729 return SWIG_AsVal_long(obj, (long*)0);
1730 }
1731
1732
1733 SWIGINTERN int
1734 SWIG_AsVal_bool(PyObject *obj, bool *val)
1735 {
1736 if (obj == Py_True) {
1737 if (val) *val = true;
1738 return 1;
1739 }
1740 if (obj == Py_False) {
1741 if (val) *val = false;
1742 return 1;
1743 }
1744 int res = 0;
1745 if (SWIG_AsVal_int(obj, &res)) {
1746 if (val) *val = res ? true : false;
1747 return 1;
1748 } else {
1749 PyErr_Clear();
1750 }
1751 if (val) {
1752 SWIG_type_error("bool", obj);
1753 }
1754 return 0;
1755 }
1756
1757
1758 SWIGINTERNINLINE bool
1759 SWIG_As_bool(PyObject* obj)
1760 {
1761 bool v;
1762 if (!SWIG_AsVal_bool(obj, &v)) {
1763 /*
1764 this is needed to make valgrind/purify happier.
1765 */
1766 memset((void*)&v, 0, sizeof(bool));
1767 }
1768 return v;
1769 }
1770
1771
1772 SWIGINTERNINLINE int
1773 SWIG_Check_bool(PyObject* obj)
1774 {
1775 return SWIG_AsVal_bool(obj, (bool*)0);
1776 }
1777
1778
1779 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
1780 #define SWIG_From_int PyInt_FromLong
1781 /*@@*/
1782
1783
1784 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
1785 PyObject* o2;
1786 PyObject* o3;
1787
1788 if (!target) {
1789 target = o;
1790 } else if (target == Py_None) {
1791 Py_DECREF(Py_None);
1792 target = o;
1793 } else {
1794 if (!PyTuple_Check(target)) {
1795 o2 = target;
1796 target = PyTuple_New(1);
1797 PyTuple_SetItem(target, 0, o2);
1798 }
1799 o3 = PyTuple_New(1);
1800 PyTuple_SetItem(o3, 0, o);
1801
1802 o2 = target;
1803 target = PySequence_Concat(o2, o3);
1804 Py_DECREF(o2);
1805 Py_DECREF(o3);
1806 }
1807 return target;
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_type_error("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 /*@/opt/swig/share/swig/1.3.27/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
1856 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
1857 #define SWIG_From_long PyInt_FromLong
1858 /*@@*/
1859
1860
1861
1862 static wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
1863 wxRect r;
1864 self->GetFieldRect(i, r);
1865 return r;
1866 }
1867 static const wxString wxPySplitterNameStr(wxT("splitter"));
1868 static const wxString wxPySashNameStr(wxT("sashWindow"));
1869 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
1870
1871 #include <wx/popupwin.h>
1872
1873
1874 class wxPopupWindow : public wxWindow {
1875 public:
1876 wxPopupWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
1877 wxPopupWindow() { wxPyRaiseNotImplemented(); }
1878 };
1879
1880 class wxPyPopupTransientWindow : public wxPopupWindow
1881 {
1882 public:
1883 wxPyPopupTransientWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
1884 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
1885 };
1886
1887
1888 #include <wx/tipwin.h>
1889
1890 static wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){
1891 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
1892 }
1893
1894 #include <wx/tipwin.h>
1895
1896
1897 #include <wx/vscroll.h>
1898
1899
1900 class wxPyVScrolledWindow : public wxVScrolledWindow
1901 {
1902 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow)
1903 public:
1904 wxPyVScrolledWindow() : wxVScrolledWindow() {}
1905
1906 wxPyVScrolledWindow(wxWindow *parent,
1907 wxWindowID id = wxID_ANY,
1908 const wxPoint& pos = wxDefaultPosition,
1909 const wxSize& size = wxDefaultSize,
1910 long style = 0,
1911 const wxString& name = wxPyPanelNameStr)
1912 : wxVScrolledWindow(parent, id, pos, size, style, name)
1913 {}
1914
1915 // Overridable virtuals
1916
1917 // this function must be overridden in the derived class and it should
1918 // return the height of the given line in pixels
1919 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
1920
1921
1922 // this function doesn't have to be overridden but it may be useful to do
1923 // it if calculating the lines heights is a relatively expensive operation
1924 // as it gives the user code a possibility to calculate several of them at
1925 // once
1926 //
1927 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
1928 // shouldn't rely on the latter being called for all lines in the interval
1929 // specified here. It is also possible that OnGetLineHeight() will be
1930 // called for the lines outside of this interval, so this is really just a
1931 // hint, not a promise.
1932 //
1933 // finally note that lineMin is inclusive, while lineMax is exclusive, as
1934 // usual
1935 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
1936
1937
1938 // when the number of lines changes, we try to estimate the total height
1939 // of all lines which is a rather expensive operation in terms of lines
1940 // access, so if the user code may estimate the average height
1941 // better/faster than we do, it should override this function to implement
1942 // its own logic
1943 //
1944 // this function should return the best guess for the total height it may
1945 // make
1946 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
1947
1948
1949 // Also expose some other interesting protected methods
1950
1951
1952 // find the index of the line we need to show at the top of the window such
1953 // that the last (fully or partially) visible line is the given one
1954 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
1955 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
1956
1957 // get the total height of the lines between lineMin (inclusive) and
1958 // lineMax (exclusive)
1959 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
1960 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
1961
1962
1963 PYPRIVATE;
1964 };
1965
1966 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
1967
1968 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
1969 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
1970 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
1971
1972
1973 SWIGINTERN int
1974 SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
1975 {
1976 long v = 0;
1977 if (SWIG_AsVal_long(obj, &v) && v < 0) {
1978 SWIG_type_error("unsigned number", obj);
1979 }
1980 else if (val)
1981 *val = (unsigned long)v;
1982 return 1;
1983 }
1984
1985
1986 SWIGINTERNINLINE unsigned long
1987 SWIG_As_unsigned_SS_long(PyObject* obj)
1988 {
1989 unsigned long v;
1990 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1991 /*
1992 this is needed to make valgrind/purify happier.
1993 */
1994 memset((void*)&v, 0, sizeof(unsigned long));
1995 }
1996 return v;
1997 }
1998
1999
2000 SWIGINTERNINLINE int
2001 SWIG_Check_unsigned_SS_long(PyObject* obj)
2002 {
2003 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
2004 }
2005
2006
2007 SWIGINTERNINLINE PyObject*
2008 SWIG_From_unsigned_SS_long(unsigned long value)
2009 {
2010 return (value > LONG_MAX) ?
2011 PyLong_FromUnsignedLong(value)
2012 : PyInt_FromLong(static_cast<long >(value));
2013 }
2014
2015
2016 #include <wx/vlbox.h>
2017
2018 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
2019
2020 class wxPyVListBox : public wxVListBox
2021 {
2022 DECLARE_ABSTRACT_CLASS(wxPyVListBox)
2023 public:
2024 wxPyVListBox() : wxVListBox() {}
2025
2026 wxPyVListBox(wxWindow *parent,
2027 wxWindowID id = wxID_ANY,
2028 const wxPoint& pos = wxDefaultPosition,
2029 const wxSize& size = wxDefaultSize,
2030 long style = 0,
2031 const wxString& name = wxPyVListBoxNameStr)
2032 : wxVListBox(parent, id, pos, size, style, name)
2033 {}
2034
2035 // Overridable virtuals
2036
2037 // the derived class must implement this function to actually draw the item
2038 // with the given index on the provided DC
2039 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
2040 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
2041
2042
2043 // the derived class must implement this method to return the height of the
2044 // specified item
2045 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
2046 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
2047
2048
2049 // this method may be used to draw separators between the lines; note that
2050 // the rectangle may be modified, typically to deflate it a bit before
2051 // passing to OnDrawItem()
2052 //
2053 // the base class version doesn't do anything
2054 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
2055 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
2056
2057
2058 // this method is used to draw the items background and, maybe, a border
2059 // around it
2060 //
2061 // the base class version implements a reasonable default behaviour which
2062 // consists in drawing the selected item with the standard background
2063 // colour and drawing a border around the item if it is either selected or
2064 // current
2065 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
2066 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
2067
2068
2069 PYPRIVATE;
2070 };
2071
2072 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
2073
2074 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
2075 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
2076 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
2077 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
2078
2079
2080 static PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
2081 unsigned long cookie = 0;
2082 int selected = self->GetFirstSelected(cookie);
2083 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2084 PyObject* tup = PyTuple_New(2);
2085 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
2086 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
2087 wxPyEndBlockThreads(blocked);
2088 return tup;
2089 }
2090 static PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
2091 int selected = self->GetNextSelected(cookie);
2092 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2093 PyObject* tup = PyTuple_New(2);
2094 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
2095 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
2096 wxPyEndBlockThreads(blocked);
2097 return tup;
2098 }
2099
2100 #include <wx/htmllbox.h>
2101
2102
2103 class wxPyHtmlListBox : public wxHtmlListBox
2104 {
2105 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox)
2106 public:
2107 wxPyHtmlListBox() : wxHtmlListBox() {}
2108
2109 wxPyHtmlListBox(wxWindow *parent,
2110 wxWindowID id = wxID_ANY,
2111 const wxPoint& pos = wxDefaultPosition,
2112 const wxSize& size = wxDefaultSize,
2113 long style = 0,
2114 const wxString& name = wxPyVListBoxNameStr)
2115 : wxHtmlListBox(parent, id, pos, size, style, name)
2116 {}
2117
2118 // Overridable virtuals
2119
2120 // this method must be implemented in the derived class and should return
2121 // the body (i.e. without <html>) of the HTML for the given item
2122 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
2123
2124 // this function may be overridden to decorate HTML returned by OnGetItem()
2125 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
2126
2127 // TODO:
2128 // // this method allows to customize the selection appearance: it may be used
2129 // // to specify the colour of the text which normally has the given colour
2130 // // colFg when it is inside the selection
2131 // //
2132 // // by default, the original colour is not used at all and all text has the
2133 // // same (default for this system) colour inside selection
2134 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
2135
2136 // // this is the same as GetSelectedTextColour() but allows to customize the
2137 // // background colour -- this is even more rarely used as you can change it
2138 // // globally using SetSelectionBackground()
2139 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
2140
2141
2142 PYPRIVATE;
2143 };
2144
2145
2146 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
2147
2148 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
2149 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
2150
2151
2152
2153
2154
2155 #ifndef wxHAS_TASK_BAR_ICON
2156 // implement dummy classes for platforms that don't have it
2157
2158 class wxTaskBarIcon : public wxEvtHandler
2159 {
2160 public:
2161 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
2162 };
2163
2164
2165 class wxTaskBarIconEvent : public wxEvent
2166 {
2167 public:
2168 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
2169 { wxPyRaiseNotImplemented(); }
2170 virtual wxEvent* Clone() const { return NULL; }
2171 bool IsOk() const { return false; }
2172 bool IsIconInstalled() const { return false; }
2173 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
2174 bool RemoveIcon() { return false; }
2175 bool PopupMenu(wxMenu *menu) { return false; }
2176 };
2177
2178 enum {
2179 wxEVT_TASKBAR_MOVE = 0,
2180 wxEVT_TASKBAR_LEFT_DOWN = 0,
2181 wxEVT_TASKBAR_LEFT_UP = 0,
2182 wxEVT_TASKBAR_RIGHT_DOWN = 0,
2183 wxEVT_TASKBAR_RIGHT_UP = 0,
2184 wxEVT_TASKBAR_LEFT_DCLICK = 0,
2185 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
2186 };
2187
2188
2189 #else
2190 // Otherwise make a class that can virtualize CreatePopupMenu
2191 class wxPyTaskBarIcon : public wxTaskBarIcon
2192 {
2193 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon)
2194 public:
2195 wxPyTaskBarIcon() : wxTaskBarIcon()
2196 {}
2197
2198 wxMenu* CreatePopupMenu() {
2199 wxMenu *rval = NULL;
2200 bool found;
2201 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2202 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
2203 PyObject* ro;
2204 wxMenu* ptr;
2205 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
2206 if (ro) {
2207 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
2208 rval = ptr;
2209 Py_DECREF(ro);
2210 }
2211 }
2212 wxPyEndBlockThreads(blocked);
2213 if (! found)
2214 rval = wxTaskBarIcon::CreatePopupMenu();
2215 return rval;
2216 }
2217
2218 PYPRIVATE;
2219 };
2220
2221 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
2222
2223 #endif
2224
2225 static void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
2226 self->RemoveIcon();
2227 delete self;
2228 }
2229 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
2230 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
2231 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
2232 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
2233 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
2234 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
2235 static PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
2236 wxArrayString arr;
2237 self->GetFilenames(arr);
2238 return wxArrayString2PyList_helper(arr);
2239 }
2240 static PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
2241 wxArrayString arr;
2242 self->GetPaths(arr);
2243 return wxArrayString2PyList_helper(arr);
2244 }
2245 static PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
2246 return wxArrayInt2PyList_helper(self->GetSelections());
2247 }
2248 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){
2249 return new wxSingleChoiceDialog(parent, message, caption,
2250 choices, choices_array, NULL, style, pos);
2251 }
2252 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
2253
2254 #include <wx/mdi.h>
2255
2256 // C++ version of Python aware wxWindow
2257 class wxPyWindow : public wxWindow
2258 {
2259 DECLARE_DYNAMIC_CLASS(wxPyWindow)
2260 public:
2261 wxPyWindow() : wxWindow() {}
2262 wxPyWindow(wxWindow* parent, const wxWindowID id,
2263 const wxPoint& pos = wxDefaultPosition,
2264 const wxSize& size = wxDefaultSize,
2265 long style = 0,
2266 const wxString& name = wxPyPanelNameStr)
2267 : wxWindow(parent, id, pos, size, style, name) {}
2268
2269 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
2270
2271 bool DoEraseBackground(wxDC* dc) {
2272 #ifdef __WXMSW__
2273 return wxWindow::DoEraseBackground(dc->GetHDC());
2274 #else
2275 dc->SetBackground(wxBrush(GetBackgroundColour()));
2276 dc->Clear();
2277 return true;
2278 #endif
2279 }
2280
2281 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2282 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2283 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2284 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2285
2286 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2287 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2288 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2289
2290 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2291 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2292
2293 DEC_PYCALLBACK__(InitDialog);
2294 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2295 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2296 DEC_PYCALLBACK_BOOL_(Validate);
2297
2298 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2299 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2300 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2301
2302 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2303 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2304
2305 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
2306 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
2307
2308 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2309
2310 DEC_PYCALLBACK_VOID_(OnInternalIdle);
2311
2312 PYPRIVATE;
2313 };
2314
2315 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
2316
2317 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
2318 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
2319 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
2320 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
2321
2322 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
2323 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
2324 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
2325
2326 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
2327 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
2328
2329 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
2330 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
2331 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
2332 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
2333
2334 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
2335 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
2336 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
2337
2338 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
2339 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
2340
2341 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
2342 IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
2343
2344 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
2345
2346 IMP_PYCALLBACK_VOID_(wxPyWindow, wxWindow, OnInternalIdle);
2347
2348 // C++ version of Python aware wxPanel
2349 class wxPyPanel : public wxPanel
2350 {
2351 DECLARE_DYNAMIC_CLASS(wxPyPanel)
2352 public:
2353 wxPyPanel() : wxPanel() {}
2354 wxPyPanel(wxWindow* parent, const wxWindowID id,
2355 const wxPoint& pos = wxDefaultPosition,
2356 const wxSize& size = wxDefaultSize,
2357 long style = 0,
2358 const wxString& name = wxPyPanelNameStr)
2359 : wxPanel(parent, id, pos, size, style, name) {}
2360
2361 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
2362 bool DoEraseBackground(wxDC* dc) {
2363 #ifdef __WXMSW__
2364 return wxWindow::DoEraseBackground(dc->GetHDC());
2365 #else
2366 dc->SetBackground(wxBrush(GetBackgroundColour()));
2367 dc->Clear();
2368 return true;
2369 #endif
2370 }
2371
2372
2373 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2374 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2375 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2376 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2377
2378 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2379 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2380 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2381
2382 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2383 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2384
2385 DEC_PYCALLBACK__(InitDialog);
2386 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2387 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2388 DEC_PYCALLBACK_BOOL_(Validate);
2389
2390 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2391 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2392 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2393
2394 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2395 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2396
2397 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
2398 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
2399
2400 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2401
2402 DEC_PYCALLBACK_VOID_(OnInternalIdle);
2403
2404 PYPRIVATE;
2405 };
2406
2407 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
2408
2409 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
2410 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
2411 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
2412 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
2413
2414 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
2415 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
2416 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
2417
2418 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
2419 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
2420
2421 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
2422 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
2423 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
2424 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
2425
2426 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
2427 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
2428 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
2429
2430 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
2431 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
2432
2433 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
2434 IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
2435
2436 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
2437
2438 IMP_PYCALLBACK_VOID_(wxPyPanel, wxPanel, OnInternalIdle);
2439
2440 // C++ version of Python aware wxScrolledWindow
2441 class wxPyScrolledWindow : public wxScrolledWindow
2442 {
2443 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
2444 public:
2445 wxPyScrolledWindow() : wxScrolledWindow() {}
2446 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
2447 const wxPoint& pos = wxDefaultPosition,
2448 const wxSize& size = wxDefaultSize,
2449 long style = 0,
2450 const wxString& name = wxPyPanelNameStr)
2451 : wxScrolledWindow(parent, id, pos, size, style, name) {}
2452
2453 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
2454 bool DoEraseBackground(wxDC* dc) {
2455 #ifdef __WXMSW__
2456 return wxWindow::DoEraseBackground(dc->GetHDC());
2457 #else
2458 dc->SetBackground(wxBrush(GetBackgroundColour()));
2459 dc->Clear();
2460 return true;
2461 #endif
2462 }
2463
2464 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2465 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2466 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2467 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2468
2469 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2470 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2471 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2472
2473 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2474 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2475
2476 DEC_PYCALLBACK__(InitDialog);
2477 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2478 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2479 DEC_PYCALLBACK_BOOL_(Validate);
2480
2481 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2482 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2483 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2484
2485 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2486 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2487
2488 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
2489 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
2490
2491 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2492
2493 DEC_PYCALLBACK_VOID_(OnInternalIdle);
2494
2495 PYPRIVATE;
2496 };
2497
2498 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
2499
2500 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
2501 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
2502 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
2503 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
2504
2505 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
2506 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
2507 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
2508
2509 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
2510 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
2511
2512 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
2513 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
2514 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
2515 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
2516
2517 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
2518 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
2519 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
2520
2521 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
2522 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
2523
2524 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
2525 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
2526
2527 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
2528
2529 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow, wxScrolledWindow, OnInternalIdle);
2530
2531
2532 #include "wx/wxPython/printfw.h"
2533
2534
2535 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
2536 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
2537 static PyObject *wxPrintData_GetPrivData(wxPrintData *self){
2538 PyObject* data;
2539 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2540 data = PyString_FromStringAndSize(self->GetPrivData(),
2541 self->GetPrivDataLen());
2542 wxPyEndBlockThreads(blocked);
2543 return data;
2544 }
2545 static void wxPrintData_SetPrivData(wxPrintData *self,PyObject *data){
2546 if (! PyString_Check(data)) {
2547 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
2548 "Expected string object"));
2549 return /* NULL */ ;
2550 }
2551
2552 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2553 self->SetPrivData(PyString_AS_STRING(data), PyString_GET_SIZE(data));
2554 wxPyEndBlockThreads(blocked);
2555 }
2556
2557
2558 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
2559
2560 // Since this one would be tough and ugly to do with the Macros...
2561 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
2562 bool hadErr = false;
2563 bool found;
2564
2565 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2566 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
2567 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
2568 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
2569 PyObject* val;
2570
2571 val = PyTuple_GetItem(result, 0);
2572 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
2573 else hadErr = true;
2574
2575 val = PyTuple_GetItem(result, 1);
2576 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
2577 else hadErr = true;
2578
2579 val = PyTuple_GetItem(result, 2);
2580 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
2581 else hadErr = true;
2582
2583 val = PyTuple_GetItem(result, 3);
2584 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
2585 else hadErr = true;
2586 }
2587 else
2588 hadErr = true;
2589
2590 if (hadErr) {
2591 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
2592 PyErr_Print();
2593 }
2594 Py_DECREF(result);
2595 }
2596 wxPyEndBlockThreads(blocked);
2597 if (! found)
2598 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
2599 }
2600
2601 void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
2602 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
2603 }
2604
2605
2606 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
2607 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
2608 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
2609 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
2610 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
2611 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
2612 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
2613
2614
2615
2616
2617
2618 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
2619 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
2620 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
2621
2622
2623 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
2624 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2625 bool rval=false; \
2626 bool found; \
2627 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2628 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
2629 PyObject* win = wxPyMake_wxObject(a,false); \
2630 PyObject* dc = wxPyMake_wxObject(&b,false); \
2631 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
2632 Py_DECREF(win); \
2633 Py_DECREF(dc); \
2634 } \
2635 wxPyEndBlockThreads(blocked); \
2636 if (! found) \
2637 rval = PCLASS::CBNAME(a, b); \
2638 return rval; \
2639 } \
2640 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2641 return PCLASS::CBNAME(a, b); \
2642 }
2643
2644
2645
2646
2647 class wxPyPrintPreview : public wxPrintPreview
2648 {
2649 DECLARE_CLASS(wxPyPrintPreview)
2650 public:
2651 wxPyPrintPreview(wxPyPrintout* printout,
2652 wxPyPrintout* printoutForPrinting,
2653 wxPrintDialogData* data=NULL)
2654 : wxPrintPreview(printout, printoutForPrinting, data)
2655 {}
2656 wxPyPrintPreview(wxPyPrintout* printout,
2657 wxPyPrintout* printoutForPrinting,
2658 wxPrintData* data)
2659 : wxPrintPreview(printout, printoutForPrinting, data)
2660 {}
2661
2662 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
2663 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
2664 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
2665 DEC_PYCALLBACK_BOOL_INT(RenderPage);
2666 DEC_PYCALLBACK_VOID_INT(SetZoom);
2667 DEC_PYCALLBACK_BOOL_BOOL(Print);
2668 DEC_PYCALLBACK_VOID_(DetermineScaling);
2669
2670 PYPRIVATE;
2671 };
2672
2673 // Stupid renamed classes... Fix this in 2.5...
2674 #if defined(__WXMSW__)
2675 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
2676 #elif defined(__WXMAC__)
2677 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
2678 #else
2679 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
2680 #endif
2681
2682 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
2683 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
2684 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
2685 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
2686 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
2687 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
2688 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
2689
2690
2691 class wxPyPreviewFrame : public wxPreviewFrame
2692 {
2693 DECLARE_CLASS(wxPyPreviewFrame)
2694 public:
2695 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
2696 const wxString& title,
2697 const wxPoint& pos = wxDefaultPosition,
2698 const wxSize& size = wxDefaultSize,
2699 long style = wxDEFAULT_FRAME_STYLE,
2700 const wxString& name = wxPyFrameNameStr)
2701 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
2702 {}
2703
2704 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
2705 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
2706
2707 DEC_PYCALLBACK_VOID_(Initialize);
2708 DEC_PYCALLBACK_VOID_(CreateCanvas);
2709 DEC_PYCALLBACK_VOID_(CreateControlBar);
2710
2711 PYPRIVATE;
2712 };
2713
2714 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
2715
2716 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
2717 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
2718 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
2719
2720
2721 class wxPyPreviewControlBar : public wxPreviewControlBar
2722 {
2723 DECLARE_CLASS(wxPyPreviewControlBar)
2724 public:
2725 wxPyPreviewControlBar(wxPrintPreview *preview,
2726 long buttons,
2727 wxWindow *parent,
2728 const wxPoint& pos = wxDefaultPosition,
2729 const wxSize& size = wxDefaultSize,
2730 long style = 0,
2731 const wxString& name = wxPyPanelNameStr)
2732 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
2733 {}
2734
2735 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
2736
2737 DEC_PYCALLBACK_VOID_(CreateButtons);
2738 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
2739
2740 PYPRIVATE;
2741 };
2742
2743 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
2744 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
2745 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
2746
2747 #ifdef __cplusplus
2748 extern "C" {
2749 #endif
2750 static PyObject *_wrap_new_Panel(PyObject *, PyObject *args, PyObject *kwargs) {
2751 PyObject *resultobj = NULL;
2752 wxWindow *arg1 = (wxWindow *) 0 ;
2753 int arg2 = (int) (int)-1 ;
2754 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2755 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2756 wxSize const &arg4_defvalue = wxDefaultSize ;
2757 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2758 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
2759 wxString const &arg6_defvalue = wxPyPanelNameStr ;
2760 wxString *arg6 = (wxString *) &arg6_defvalue ;
2761 wxPanel *result;
2762 wxPoint temp3 ;
2763 wxSize temp4 ;
2764 bool temp6 = false ;
2765 PyObject * obj0 = 0 ;
2766 PyObject * obj1 = 0 ;
2767 PyObject * obj2 = 0 ;
2768 PyObject * obj3 = 0 ;
2769 PyObject * obj4 = 0 ;
2770 PyObject * obj5 = 0 ;
2771 char *kwnames[] = {
2772 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2773 };
2774
2775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2776 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2777 if (SWIG_arg_fail(1)) SWIG_fail;
2778 if (obj1) {
2779 {
2780 arg2 = static_cast<int const >(SWIG_As_int(obj1));
2781 if (SWIG_arg_fail(2)) SWIG_fail;
2782 }
2783 }
2784 if (obj2) {
2785 {
2786 arg3 = &temp3;
2787 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2788 }
2789 }
2790 if (obj3) {
2791 {
2792 arg4 = &temp4;
2793 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2794 }
2795 }
2796 if (obj4) {
2797 {
2798 arg5 = static_cast<long >(SWIG_As_long(obj4));
2799 if (SWIG_arg_fail(5)) SWIG_fail;
2800 }
2801 }
2802 if (obj5) {
2803 {
2804 arg6 = wxString_in_helper(obj5);
2805 if (arg6 == NULL) SWIG_fail;
2806 temp6 = true;
2807 }
2808 }
2809 {
2810 if (!wxPyCheckForApp()) SWIG_fail;
2811 PyThreadState* __tstate = wxPyBeginAllowThreads();
2812 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
2813
2814 wxPyEndAllowThreads(__tstate);
2815 if (PyErr_Occurred()) SWIG_fail;
2816 }
2817 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
2818 {
2819 if (temp6)
2820 delete arg6;
2821 }
2822 return resultobj;
2823 fail:
2824 {
2825 if (temp6)
2826 delete arg6;
2827 }
2828 return NULL;
2829 }
2830
2831
2832 static PyObject *_wrap_new_PrePanel(PyObject *, PyObject *args, PyObject *kwargs) {
2833 PyObject *resultobj = NULL;
2834 wxPanel *result;
2835 char *kwnames[] = {
2836 NULL
2837 };
2838
2839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
2840 {
2841 if (!wxPyCheckForApp()) SWIG_fail;
2842 PyThreadState* __tstate = wxPyBeginAllowThreads();
2843 result = (wxPanel *)new wxPanel();
2844
2845 wxPyEndAllowThreads(__tstate);
2846 if (PyErr_Occurred()) SWIG_fail;
2847 }
2848 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
2849 return resultobj;
2850 fail:
2851 return NULL;
2852 }
2853
2854
2855 static PyObject *_wrap_Panel_Create(PyObject *, PyObject *args, PyObject *kwargs) {
2856 PyObject *resultobj = NULL;
2857 wxPanel *arg1 = (wxPanel *) 0 ;
2858 wxWindow *arg2 = (wxWindow *) 0 ;
2859 int arg3 = (int) (int)-1 ;
2860 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2861 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2862 wxSize const &arg5_defvalue = wxDefaultSize ;
2863 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2864 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
2865 wxString const &arg7_defvalue = wxPyPanelNameStr ;
2866 wxString *arg7 = (wxString *) &arg7_defvalue ;
2867 bool result;
2868 wxPoint temp4 ;
2869 wxSize temp5 ;
2870 bool temp7 = false ;
2871 PyObject * obj0 = 0 ;
2872 PyObject * obj1 = 0 ;
2873 PyObject * obj2 = 0 ;
2874 PyObject * obj3 = 0 ;
2875 PyObject * obj4 = 0 ;
2876 PyObject * obj5 = 0 ;
2877 PyObject * obj6 = 0 ;
2878 char *kwnames[] = {
2879 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2880 };
2881
2882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2883 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2884 if (SWIG_arg_fail(1)) SWIG_fail;
2885 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2886 if (SWIG_arg_fail(2)) SWIG_fail;
2887 if (obj2) {
2888 {
2889 arg3 = static_cast<int const >(SWIG_As_int(obj2));
2890 if (SWIG_arg_fail(3)) SWIG_fail;
2891 }
2892 }
2893 if (obj3) {
2894 {
2895 arg4 = &temp4;
2896 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2897 }
2898 }
2899 if (obj4) {
2900 {
2901 arg5 = &temp5;
2902 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2903 }
2904 }
2905 if (obj5) {
2906 {
2907 arg6 = static_cast<long >(SWIG_As_long(obj5));
2908 if (SWIG_arg_fail(6)) SWIG_fail;
2909 }
2910 }
2911 if (obj6) {
2912 {
2913 arg7 = wxString_in_helper(obj6);
2914 if (arg7 == NULL) SWIG_fail;
2915 temp7 = true;
2916 }
2917 }
2918 {
2919 PyThreadState* __tstate = wxPyBeginAllowThreads();
2920 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
2921
2922 wxPyEndAllowThreads(__tstate);
2923 if (PyErr_Occurred()) SWIG_fail;
2924 }
2925 {
2926 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2927 }
2928 {
2929 if (temp7)
2930 delete arg7;
2931 }
2932 return resultobj;
2933 fail:
2934 {
2935 if (temp7)
2936 delete arg7;
2937 }
2938 return NULL;
2939 }
2940
2941
2942 static PyObject *_wrap_Panel_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
2943 PyObject *resultobj = NULL;
2944 wxPanel *arg1 = (wxPanel *) 0 ;
2945 PyObject * obj0 = 0 ;
2946 char *kwnames[] = {
2947 (char *) "self", NULL
2948 };
2949
2950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
2951 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2952 if (SWIG_arg_fail(1)) SWIG_fail;
2953 {
2954 PyThreadState* __tstate = wxPyBeginAllowThreads();
2955 (arg1)->InitDialog();
2956
2957 wxPyEndAllowThreads(__tstate);
2958 if (PyErr_Occurred()) SWIG_fail;
2959 }
2960 Py_INCREF(Py_None); resultobj = Py_None;
2961 return resultobj;
2962 fail:
2963 return NULL;
2964 }
2965
2966
2967 static PyObject *_wrap_Panel_SetFocus(PyObject *, PyObject *args, PyObject *kwargs) {
2968 PyObject *resultobj = NULL;
2969 wxPanel *arg1 = (wxPanel *) 0 ;
2970 PyObject * obj0 = 0 ;
2971 char *kwnames[] = {
2972 (char *) "self", NULL
2973 };
2974
2975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_SetFocus",kwnames,&obj0)) goto fail;
2976 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2977 if (SWIG_arg_fail(1)) SWIG_fail;
2978 {
2979 PyThreadState* __tstate = wxPyBeginAllowThreads();
2980 (arg1)->SetFocus();
2981
2982 wxPyEndAllowThreads(__tstate);
2983 if (PyErr_Occurred()) SWIG_fail;
2984 }
2985 Py_INCREF(Py_None); resultobj = Py_None;
2986 return resultobj;
2987 fail:
2988 return NULL;
2989 }
2990
2991
2992 static PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *, PyObject *args, PyObject *kwargs) {
2993 PyObject *resultobj = NULL;
2994 wxPanel *arg1 = (wxPanel *) 0 ;
2995 PyObject * obj0 = 0 ;
2996 char *kwnames[] = {
2997 (char *) "self", NULL
2998 };
2999
3000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_SetFocusIgnoringChildren",kwnames,&obj0)) goto fail;
3001 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
3002 if (SWIG_arg_fail(1)) SWIG_fail;
3003 {
3004 PyThreadState* __tstate = wxPyBeginAllowThreads();
3005 (arg1)->SetFocusIgnoringChildren();
3006
3007 wxPyEndAllowThreads(__tstate);
3008 if (PyErr_Occurred()) SWIG_fail;
3009 }
3010 Py_INCREF(Py_None); resultobj = Py_None;
3011 return resultobj;
3012 fail:
3013 return NULL;
3014 }
3015
3016
3017 static PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
3018 PyObject *resultobj = NULL;
3019 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
3020 wxVisualAttributes result;
3021 PyObject * obj0 = 0 ;
3022 char *kwnames[] = {
3023 (char *) "variant", NULL
3024 };
3025
3026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
3027 if (obj0) {
3028 {
3029 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
3030 if (SWIG_arg_fail(1)) SWIG_fail;
3031 }
3032 }
3033 {
3034 if (!wxPyCheckForApp()) SWIG_fail;
3035 PyThreadState* __tstate = wxPyBeginAllowThreads();
3036 result = wxPanel::GetClassDefaultAttributes(arg1);
3037
3038 wxPyEndAllowThreads(__tstate);
3039 if (PyErr_Occurred()) SWIG_fail;
3040 }
3041 {
3042 wxVisualAttributes * resultptr;
3043 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
3044 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
3045 }
3046 return resultobj;
3047 fail:
3048 return NULL;
3049 }
3050
3051
3052 static PyObject * Panel_swigregister(PyObject *, PyObject *args) {
3053 PyObject *obj;
3054 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3055 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
3056 Py_INCREF(obj);
3057 return Py_BuildValue((char *)"");
3058 }
3059 static PyObject *_wrap_new_ScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
3060 PyObject *resultobj = NULL;
3061 wxWindow *arg1 = (wxWindow *) 0 ;
3062 int arg2 = (int) (int)-1 ;
3063 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3064 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3065 wxSize const &arg4_defvalue = wxDefaultSize ;
3066 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3067 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
3068 wxString const &arg6_defvalue = wxPyPanelNameStr ;
3069 wxString *arg6 = (wxString *) &arg6_defvalue ;
3070 wxScrolledWindow *result;
3071 wxPoint temp3 ;
3072 wxSize temp4 ;
3073 bool temp6 = false ;
3074 PyObject * obj0 = 0 ;
3075 PyObject * obj1 = 0 ;
3076 PyObject * obj2 = 0 ;
3077 PyObject * obj3 = 0 ;
3078 PyObject * obj4 = 0 ;
3079 PyObject * obj5 = 0 ;
3080 char *kwnames[] = {
3081 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3082 };
3083
3084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
3085 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3086 if (SWIG_arg_fail(1)) SWIG_fail;
3087 if (obj1) {
3088 {
3089 arg2 = static_cast<int const >(SWIG_As_int(obj1));
3090 if (SWIG_arg_fail(2)) SWIG_fail;
3091 }
3092 }
3093 if (obj2) {
3094 {
3095 arg3 = &temp3;
3096 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3097 }
3098 }
3099 if (obj3) {
3100 {
3101 arg4 = &temp4;
3102 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3103 }
3104 }
3105 if (obj4) {
3106 {
3107 arg5 = static_cast<long >(SWIG_As_long(obj4));
3108 if (SWIG_arg_fail(5)) SWIG_fail;
3109 }
3110 }
3111 if (obj5) {
3112 {
3113 arg6 = wxString_in_helper(obj5);
3114 if (arg6 == NULL) SWIG_fail;
3115 temp6 = true;
3116 }
3117 }
3118 {
3119 if (!wxPyCheckForApp()) SWIG_fail;
3120 PyThreadState* __tstate = wxPyBeginAllowThreads();
3121 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3122
3123 wxPyEndAllowThreads(__tstate);
3124 if (PyErr_Occurred()) SWIG_fail;
3125 }
3126 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
3127 {
3128 if (temp6)
3129 delete arg6;
3130 }
3131 return resultobj;
3132 fail:
3133 {
3134 if (temp6)
3135 delete arg6;
3136 }
3137 return NULL;
3138 }
3139
3140
3141 static PyObject *_wrap_new_PreScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
3142 PyObject *resultobj = NULL;
3143 wxScrolledWindow *result;
3144 char *kwnames[] = {
3145 NULL
3146 };
3147
3148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
3149 {
3150 if (!wxPyCheckForApp()) SWIG_fail;
3151 PyThreadState* __tstate = wxPyBeginAllowThreads();
3152 result = (wxScrolledWindow *)new wxScrolledWindow();
3153
3154 wxPyEndAllowThreads(__tstate);
3155 if (PyErr_Occurred()) SWIG_fail;
3156 }
3157 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
3158 return resultobj;
3159 fail:
3160 return NULL;
3161 }
3162
3163
3164 static PyObject *_wrap_ScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
3165 PyObject *resultobj = NULL;
3166 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3167 wxWindow *arg2 = (wxWindow *) 0 ;
3168 int arg3 = (int) (int)-1 ;
3169 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3170 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3171 wxSize const &arg5_defvalue = wxDefaultSize ;
3172 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3173 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
3174 wxString const &arg7_defvalue = wxPyPanelNameStr ;
3175 wxString *arg7 = (wxString *) &arg7_defvalue ;
3176 bool result;
3177 wxPoint temp4 ;
3178 wxSize temp5 ;
3179 bool temp7 = false ;
3180 PyObject * obj0 = 0 ;
3181 PyObject * obj1 = 0 ;
3182 PyObject * obj2 = 0 ;
3183 PyObject * obj3 = 0 ;
3184 PyObject * obj4 = 0 ;
3185 PyObject * obj5 = 0 ;
3186 PyObject * obj6 = 0 ;
3187 char *kwnames[] = {
3188 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3189 };
3190
3191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3192 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3193 if (SWIG_arg_fail(1)) SWIG_fail;
3194 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3195 if (SWIG_arg_fail(2)) SWIG_fail;
3196 if (obj2) {
3197 {
3198 arg3 = static_cast<int const >(SWIG_As_int(obj2));
3199 if (SWIG_arg_fail(3)) SWIG_fail;
3200 }
3201 }
3202 if (obj3) {
3203 {
3204 arg4 = &temp4;
3205 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3206 }
3207 }
3208 if (obj4) {
3209 {
3210 arg5 = &temp5;
3211 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3212 }
3213 }
3214 if (obj5) {
3215 {
3216 arg6 = static_cast<long >(SWIG_As_long(obj5));
3217 if (SWIG_arg_fail(6)) SWIG_fail;
3218 }
3219 }
3220 if (obj6) {
3221 {
3222 arg7 = wxString_in_helper(obj6);
3223 if (arg7 == NULL) SWIG_fail;
3224 temp7 = true;
3225 }
3226 }
3227 {
3228 PyThreadState* __tstate = wxPyBeginAllowThreads();
3229 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3230
3231 wxPyEndAllowThreads(__tstate);
3232 if (PyErr_Occurred()) SWIG_fail;
3233 }
3234 {
3235 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3236 }
3237 {
3238 if (temp7)
3239 delete arg7;
3240 }
3241 return resultobj;
3242 fail:
3243 {
3244 if (temp7)
3245 delete arg7;
3246 }
3247 return NULL;
3248 }
3249
3250
3251 static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
3252 PyObject *resultobj = NULL;
3253 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3254 int arg2 ;
3255 int arg3 ;
3256 int arg4 ;
3257 int arg5 ;
3258 int arg6 = (int) 0 ;
3259 int arg7 = (int) 0 ;
3260 bool arg8 = (bool) false ;
3261 PyObject * obj0 = 0 ;
3262 PyObject * obj1 = 0 ;
3263 PyObject * obj2 = 0 ;
3264 PyObject * obj3 = 0 ;
3265 PyObject * obj4 = 0 ;
3266 PyObject * obj5 = 0 ;
3267 PyObject * obj6 = 0 ;
3268 PyObject * obj7 = 0 ;
3269 char *kwnames[] = {
3270 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
3271 };
3272
3273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3274 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3275 if (SWIG_arg_fail(1)) SWIG_fail;
3276 {
3277 arg2 = static_cast<int >(SWIG_As_int(obj1));
3278 if (SWIG_arg_fail(2)) SWIG_fail;
3279 }
3280 {
3281 arg3 = static_cast<int >(SWIG_As_int(obj2));
3282 if (SWIG_arg_fail(3)) SWIG_fail;
3283 }
3284 {
3285 arg4 = static_cast<int >(SWIG_As_int(obj3));
3286 if (SWIG_arg_fail(4)) SWIG_fail;
3287 }
3288 {
3289 arg5 = static_cast<int >(SWIG_As_int(obj4));
3290 if (SWIG_arg_fail(5)) SWIG_fail;
3291 }
3292 if (obj5) {
3293 {
3294 arg6 = static_cast<int >(SWIG_As_int(obj5));
3295 if (SWIG_arg_fail(6)) SWIG_fail;
3296 }
3297 }
3298 if (obj6) {
3299 {
3300 arg7 = static_cast<int >(SWIG_As_int(obj6));
3301 if (SWIG_arg_fail(7)) SWIG_fail;
3302 }
3303 }
3304 if (obj7) {
3305 {
3306 arg8 = static_cast<bool >(SWIG_As_bool(obj7));
3307 if (SWIG_arg_fail(8)) SWIG_fail;
3308 }
3309 }
3310 {
3311 PyThreadState* __tstate = wxPyBeginAllowThreads();
3312 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
3313
3314 wxPyEndAllowThreads(__tstate);
3315 if (PyErr_Occurred()) SWIG_fail;
3316 }
3317 Py_INCREF(Py_None); resultobj = Py_None;
3318 return resultobj;
3319 fail:
3320 return NULL;
3321 }
3322
3323
3324 static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *, PyObject *args, PyObject *kwargs) {
3325 PyObject *resultobj = NULL;
3326 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3327 int arg2 ;
3328 int arg3 ;
3329 PyObject * obj0 = 0 ;
3330 PyObject * obj1 = 0 ;
3331 PyObject * obj2 = 0 ;
3332 char *kwnames[] = {
3333 (char *) "self",(char *) "x",(char *) "y", NULL
3334 };
3335
3336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
3337 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3338 if (SWIG_arg_fail(1)) SWIG_fail;
3339 {
3340 arg2 = static_cast<int >(SWIG_As_int(obj1));
3341 if (SWIG_arg_fail(2)) SWIG_fail;
3342 }
3343 {
3344 arg3 = static_cast<int >(SWIG_As_int(obj2));
3345 if (SWIG_arg_fail(3)) SWIG_fail;
3346 }
3347 {
3348 PyThreadState* __tstate = wxPyBeginAllowThreads();
3349 (arg1)->Scroll(arg2,arg3);
3350
3351 wxPyEndAllowThreads(__tstate);
3352 if (PyErr_Occurred()) SWIG_fail;
3353 }
3354 Py_INCREF(Py_None); resultobj = Py_None;
3355 return resultobj;
3356 fail:
3357 return NULL;
3358 }
3359
3360
3361 static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
3362 PyObject *resultobj = NULL;
3363 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3364 int arg2 ;
3365 int result;
3366 PyObject * obj0 = 0 ;
3367 PyObject * obj1 = 0 ;
3368 char *kwnames[] = {
3369 (char *) "self",(char *) "orient", NULL
3370 };
3371
3372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail;
3373 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3374 if (SWIG_arg_fail(1)) SWIG_fail;
3375 {
3376 arg2 = static_cast<int >(SWIG_As_int(obj1));
3377 if (SWIG_arg_fail(2)) SWIG_fail;
3378 }
3379 {
3380 PyThreadState* __tstate = wxPyBeginAllowThreads();
3381 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
3382
3383 wxPyEndAllowThreads(__tstate);
3384 if (PyErr_Occurred()) SWIG_fail;
3385 }
3386 {
3387 resultobj = SWIG_From_int(static_cast<int >(result));
3388 }
3389 return resultobj;
3390 fail:
3391 return NULL;
3392 }
3393
3394
3395 static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
3396 PyObject *resultobj = NULL;
3397 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3398 int arg2 ;
3399 int arg3 ;
3400 PyObject * obj0 = 0 ;
3401 PyObject * obj1 = 0 ;
3402 PyObject * obj2 = 0 ;
3403 char *kwnames[] = {
3404 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
3405 };
3406
3407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
3408 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3409 if (SWIG_arg_fail(1)) SWIG_fail;
3410 {
3411 arg2 = static_cast<int >(SWIG_As_int(obj1));
3412 if (SWIG_arg_fail(2)) SWIG_fail;
3413 }
3414 {
3415 arg3 = static_cast<int >(SWIG_As_int(obj2));
3416 if (SWIG_arg_fail(3)) SWIG_fail;
3417 }
3418 {
3419 PyThreadState* __tstate = wxPyBeginAllowThreads();
3420 (arg1)->SetScrollPageSize(arg2,arg3);
3421
3422 wxPyEndAllowThreads(__tstate);
3423 if (PyErr_Occurred()) SWIG_fail;
3424 }
3425 Py_INCREF(Py_None); resultobj = Py_None;
3426 return resultobj;
3427 fail:
3428 return NULL;
3429 }
3430
3431
3432 static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *, PyObject *args, PyObject *kwargs) {
3433 PyObject *resultobj = NULL;
3434 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3435 int arg2 ;
3436 int arg3 ;
3437 PyObject * obj0 = 0 ;
3438 PyObject * obj1 = 0 ;
3439 PyObject * obj2 = 0 ;
3440 char *kwnames[] = {
3441 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
3442 };
3443
3444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail;
3445 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3446 if (SWIG_arg_fail(1)) SWIG_fail;
3447 {
3448 arg2 = static_cast<int >(SWIG_As_int(obj1));
3449 if (SWIG_arg_fail(2)) SWIG_fail;
3450 }
3451 {
3452 arg3 = static_cast<int >(SWIG_As_int(obj2));
3453 if (SWIG_arg_fail(3)) SWIG_fail;
3454 }
3455 {
3456 PyThreadState* __tstate = wxPyBeginAllowThreads();
3457 (arg1)->SetScrollRate(arg2,arg3);
3458
3459 wxPyEndAllowThreads(__tstate);
3460 if (PyErr_Occurred()) SWIG_fail;
3461 }
3462 Py_INCREF(Py_None); resultobj = Py_None;
3463 return resultobj;
3464 fail:
3465 return NULL;
3466 }
3467
3468
3469 static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *, PyObject *args, PyObject *kwargs) {
3470 PyObject *resultobj = NULL;
3471 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3472 int *arg2 = (int *) 0 ;
3473 int *arg3 = (int *) 0 ;
3474 int temp2 ;
3475 int res2 = 0 ;
3476 int temp3 ;
3477 int res3 = 0 ;
3478 PyObject * obj0 = 0 ;
3479 char *kwnames[] = {
3480 (char *) "self", NULL
3481 };
3482
3483 arg2 = &temp2; res2 = SWIG_NEWOBJ;
3484 arg3 = &temp3; res3 = SWIG_NEWOBJ;
3485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
3486 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3487 if (SWIG_arg_fail(1)) SWIG_fail;
3488 {
3489 PyThreadState* __tstate = wxPyBeginAllowThreads();
3490 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
3491
3492 wxPyEndAllowThreads(__tstate);
3493 if (PyErr_Occurred()) SWIG_fail;
3494 }
3495 Py_INCREF(Py_None); resultobj = Py_None;
3496 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
3497 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
3498 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
3499 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
3500 return resultobj;
3501 fail:
3502 return NULL;
3503 }
3504
3505
3506 static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *, PyObject *args, PyObject *kwargs) {
3507 PyObject *resultobj = NULL;
3508 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3509 bool arg2 ;
3510 bool arg3 ;
3511 PyObject * obj0 = 0 ;
3512 PyObject * obj1 = 0 ;
3513 PyObject * obj2 = 0 ;
3514 char *kwnames[] = {
3515 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
3516 };
3517
3518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
3519 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3520 if (SWIG_arg_fail(1)) SWIG_fail;
3521 {
3522 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
3523 if (SWIG_arg_fail(2)) SWIG_fail;
3524 }
3525 {
3526 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
3527 if (SWIG_arg_fail(3)) SWIG_fail;
3528 }
3529 {
3530 PyThreadState* __tstate = wxPyBeginAllowThreads();
3531 (arg1)->EnableScrolling(arg2,arg3);
3532
3533 wxPyEndAllowThreads(__tstate);
3534 if (PyErr_Occurred()) SWIG_fail;
3535 }
3536 Py_INCREF(Py_None); resultobj = Py_None;
3537 return resultobj;
3538 fail:
3539 return NULL;
3540 }
3541
3542
3543 static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *, PyObject *args, PyObject *kwargs) {
3544 PyObject *resultobj = NULL;
3545 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3546 int *arg2 = (int *) 0 ;
3547 int *arg3 = (int *) 0 ;
3548 int temp2 ;
3549 int res2 = 0 ;
3550 int temp3 ;
3551 int res3 = 0 ;
3552 PyObject * obj0 = 0 ;
3553 char *kwnames[] = {
3554 (char *) "self", NULL
3555 };
3556
3557 arg2 = &temp2; res2 = SWIG_NEWOBJ;
3558 arg3 = &temp3; res3 = SWIG_NEWOBJ;
3559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
3560 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3561 if (SWIG_arg_fail(1)) SWIG_fail;
3562 {
3563 PyThreadState* __tstate = wxPyBeginAllowThreads();
3564 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
3565
3566 wxPyEndAllowThreads(__tstate);
3567 if (PyErr_Occurred()) SWIG_fail;
3568 }
3569 Py_INCREF(Py_None); resultobj = Py_None;
3570 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
3571 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
3572 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
3573 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
3574 return resultobj;
3575 fail:
3576 return NULL;
3577 }
3578
3579
3580 static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *, PyObject *args, PyObject *kwargs) {
3581 PyObject *resultobj = NULL;
3582 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3583 double arg2 ;
3584 double arg3 ;
3585 PyObject * obj0 = 0 ;
3586 PyObject * obj1 = 0 ;
3587 PyObject * obj2 = 0 ;
3588 char *kwnames[] = {
3589 (char *) "self",(char *) "xs",(char *) "ys", NULL
3590 };
3591
3592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
3593 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3594 if (SWIG_arg_fail(1)) SWIG_fail;
3595 {
3596 arg2 = static_cast<double >(SWIG_As_double(obj1));
3597 if (SWIG_arg_fail(2)) SWIG_fail;
3598 }
3599 {
3600 arg3 = static_cast<double >(SWIG_As_double(obj2));
3601 if (SWIG_arg_fail(3)) SWIG_fail;
3602 }
3603 {
3604 PyThreadState* __tstate = wxPyBeginAllowThreads();
3605 (arg1)->SetScale(arg2,arg3);
3606
3607 wxPyEndAllowThreads(__tstate);
3608 if (PyErr_Occurred()) SWIG_fail;
3609 }
3610 Py_INCREF(Py_None); resultobj = Py_None;
3611 return resultobj;
3612 fail:
3613 return NULL;
3614 }
3615
3616
3617 static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
3618 PyObject *resultobj = NULL;
3619 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3620 double result;
3621 PyObject * obj0 = 0 ;
3622 char *kwnames[] = {
3623 (char *) "self", NULL
3624 };
3625
3626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
3627 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3628 if (SWIG_arg_fail(1)) SWIG_fail;
3629 {
3630 PyThreadState* __tstate = wxPyBeginAllowThreads();
3631 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
3632
3633 wxPyEndAllowThreads(__tstate);
3634 if (PyErr_Occurred()) SWIG_fail;
3635 }
3636 {
3637 resultobj = SWIG_From_double(static_cast<double >(result));
3638 }
3639 return resultobj;
3640 fail:
3641 return NULL;
3642 }
3643
3644
3645 static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
3646 PyObject *resultobj = NULL;
3647 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3648 double result;
3649 PyObject * obj0 = 0 ;
3650 char *kwnames[] = {
3651 (char *) "self", NULL
3652 };
3653
3654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
3655 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3656 if (SWIG_arg_fail(1)) SWIG_fail;
3657 {
3658 PyThreadState* __tstate = wxPyBeginAllowThreads();
3659 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
3660
3661 wxPyEndAllowThreads(__tstate);
3662 if (PyErr_Occurred()) SWIG_fail;
3663 }
3664 {
3665 resultobj = SWIG_From_double(static_cast<double >(result));
3666 }
3667 return resultobj;
3668 fail:
3669 return NULL;
3670 }
3671
3672
3673 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *, PyObject *args) {
3674 PyObject *resultobj = NULL;
3675 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3676 wxPoint *arg2 = 0 ;
3677 wxPoint result;
3678 wxPoint temp2 ;
3679 PyObject * obj0 = 0 ;
3680 PyObject * obj1 = 0 ;
3681
3682 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
3683 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3684 if (SWIG_arg_fail(1)) SWIG_fail;
3685 {
3686 arg2 = &temp2;
3687 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3688 }
3689 {
3690 PyThreadState* __tstate = wxPyBeginAllowThreads();
3691 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
3692
3693 wxPyEndAllowThreads(__tstate);
3694 if (PyErr_Occurred()) SWIG_fail;
3695 }
3696 {
3697 wxPoint * resultptr;
3698 resultptr = new wxPoint(static_cast<wxPoint & >(result));
3699 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3700 }
3701 return resultobj;
3702 fail:
3703 return NULL;
3704 }
3705
3706
3707 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *, PyObject *args) {
3708 PyObject *resultobj = NULL;
3709 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3710 int arg2 ;
3711 int arg3 ;
3712 int *arg4 = (int *) 0 ;
3713 int *arg5 = (int *) 0 ;
3714 int temp4 ;
3715 int res4 = 0 ;
3716 int temp5 ;
3717 int res5 = 0 ;
3718 PyObject * obj0 = 0 ;
3719 PyObject * obj1 = 0 ;
3720 PyObject * obj2 = 0 ;
3721
3722 arg4 = &temp4; res4 = SWIG_NEWOBJ;
3723 arg5 = &temp5; res5 = SWIG_NEWOBJ;
3724 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail;
3725 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3726 if (SWIG_arg_fail(1)) SWIG_fail;
3727 {
3728 arg2 = static_cast<int >(SWIG_As_int(obj1));
3729 if (SWIG_arg_fail(2)) SWIG_fail;
3730 }
3731 {
3732 arg3 = static_cast<int >(SWIG_As_int(obj2));
3733 if (SWIG_arg_fail(3)) SWIG_fail;
3734 }
3735 {
3736 PyThreadState* __tstate = wxPyBeginAllowThreads();
3737 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
3738
3739 wxPyEndAllowThreads(__tstate);
3740 if (PyErr_Occurred()) SWIG_fail;
3741 }
3742 Py_INCREF(Py_None); resultobj = Py_None;
3743 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
3744 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
3745 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
3746 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
3747 return resultobj;
3748 fail:
3749 return NULL;
3750 }
3751
3752
3753 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
3754 int argc;
3755 PyObject *argv[4];
3756 int ii;
3757
3758 argc = PyObject_Length(args);
3759 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
3760 argv[ii] = PyTuple_GetItem(args,ii);
3761 }
3762 if (argc == 2) {
3763 int _v;
3764 {
3765 void *ptr;
3766 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
3767 _v = 0;
3768 PyErr_Clear();
3769 } else {
3770 _v = 1;
3771 }
3772 }
3773 if (_v) {
3774 {
3775 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
3776 }
3777 if (_v) {
3778 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
3779 }
3780 }
3781 }
3782 if (argc == 3) {
3783 int _v;
3784 {
3785 void *ptr;
3786 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
3787 _v = 0;
3788 PyErr_Clear();
3789 } else {
3790 _v = 1;
3791 }
3792 }
3793 if (_v) {
3794 _v = SWIG_Check_int(argv[1]);
3795 if (_v) {
3796 _v = SWIG_Check_int(argv[2]);
3797 if (_v) {
3798 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
3799 }
3800 }
3801 }
3802 }
3803
3804 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
3805 return NULL;
3806 }
3807
3808
3809 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *, PyObject *args) {
3810 PyObject *resultobj = NULL;
3811 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3812 wxPoint *arg2 = 0 ;
3813 wxPoint result;
3814 wxPoint temp2 ;
3815 PyObject * obj0 = 0 ;
3816 PyObject * obj1 = 0 ;
3817
3818 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
3819 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3820 if (SWIG_arg_fail(1)) SWIG_fail;
3821 {
3822 arg2 = &temp2;
3823 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3824 }
3825 {
3826 PyThreadState* __tstate = wxPyBeginAllowThreads();
3827 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
3828
3829 wxPyEndAllowThreads(__tstate);
3830 if (PyErr_Occurred()) SWIG_fail;
3831 }
3832 {
3833 wxPoint * resultptr;
3834 resultptr = new wxPoint(static_cast<wxPoint & >(result));
3835 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3836 }
3837 return resultobj;
3838 fail:
3839 return NULL;
3840 }
3841
3842
3843 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *, PyObject *args) {
3844 PyObject *resultobj = NULL;
3845 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3846 int arg2 ;
3847 int arg3 ;
3848 int *arg4 = (int *) 0 ;
3849 int *arg5 = (int *) 0 ;
3850 int temp4 ;
3851 int res4 = 0 ;
3852 int temp5 ;
3853 int res5 = 0 ;
3854 PyObject * obj0 = 0 ;
3855 PyObject * obj1 = 0 ;
3856 PyObject * obj2 = 0 ;
3857
3858 arg4 = &temp4; res4 = SWIG_NEWOBJ;
3859 arg5 = &temp5; res5 = SWIG_NEWOBJ;
3860 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail;
3861 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3862 if (SWIG_arg_fail(1)) SWIG_fail;
3863 {
3864 arg2 = static_cast<int >(SWIG_As_int(obj1));
3865 if (SWIG_arg_fail(2)) SWIG_fail;
3866 }
3867 {
3868 arg3 = static_cast<int >(SWIG_As_int(obj2));
3869 if (SWIG_arg_fail(3)) SWIG_fail;
3870 }
3871 {
3872 PyThreadState* __tstate = wxPyBeginAllowThreads();
3873 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
3874
3875 wxPyEndAllowThreads(__tstate);
3876 if (PyErr_Occurred()) SWIG_fail;
3877 }
3878 Py_INCREF(Py_None); resultobj = Py_None;
3879 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
3880 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
3881 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
3882 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
3883 return resultobj;
3884 fail:
3885 return NULL;
3886 }
3887
3888
3889 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
3890 int argc;
3891 PyObject *argv[4];
3892 int ii;
3893
3894 argc = PyObject_Length(args);
3895 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
3896 argv[ii] = PyTuple_GetItem(args,ii);
3897 }
3898 if (argc == 2) {
3899 int _v;
3900 {
3901 void *ptr;
3902 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
3903 _v = 0;
3904 PyErr_Clear();
3905 } else {
3906 _v = 1;
3907 }
3908 }
3909 if (_v) {
3910 {
3911 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
3912 }
3913 if (_v) {
3914 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
3915 }
3916 }
3917 }
3918 if (argc == 3) {
3919 int _v;
3920 {
3921 void *ptr;
3922 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
3923 _v = 0;
3924 PyErr_Clear();
3925 } else {
3926 _v = 1;
3927 }
3928 }
3929 if (_v) {
3930 _v = SWIG_Check_int(argv[1]);
3931 if (_v) {
3932 _v = SWIG_Check_int(argv[2]);
3933 if (_v) {
3934 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
3935 }
3936 }
3937 }
3938 }
3939
3940 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
3941 return NULL;
3942 }
3943
3944
3945 static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
3946 PyObject *resultobj = NULL;
3947 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3948 PyObject * obj0 = 0 ;
3949 char *kwnames[] = {
3950 (char *) "self", NULL
3951 };
3952
3953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
3954 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3955 if (SWIG_arg_fail(1)) SWIG_fail;
3956 {
3957 PyThreadState* __tstate = wxPyBeginAllowThreads();
3958 (arg1)->AdjustScrollbars();
3959
3960 wxPyEndAllowThreads(__tstate);
3961 if (PyErr_Occurred()) SWIG_fail;
3962 }
3963 Py_INCREF(Py_None); resultobj = Py_None;
3964 return resultobj;
3965 fail:
3966 return NULL;
3967 }
3968
3969
3970 static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *, PyObject *args, PyObject *kwargs) {
3971 PyObject *resultobj = NULL;
3972 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3973 wxScrollWinEvent *arg2 = 0 ;
3974 int result;
3975 PyObject * obj0 = 0 ;
3976 PyObject * obj1 = 0 ;
3977 char *kwnames[] = {
3978 (char *) "self",(char *) "event", NULL
3979 };
3980
3981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
3982 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3983 if (SWIG_arg_fail(1)) SWIG_fail;
3984 {
3985 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxScrollWinEvent, SWIG_POINTER_EXCEPTION | 0);
3986 if (SWIG_arg_fail(2)) SWIG_fail;
3987 if (arg2 == NULL) {
3988 SWIG_null_ref("wxScrollWinEvent");
3989 }
3990 if (SWIG_arg_fail(2)) SWIG_fail;
3991 }
3992 {
3993 PyThreadState* __tstate = wxPyBeginAllowThreads();
3994 result = (int)(arg1)->CalcScrollInc(*arg2);
3995
3996 wxPyEndAllowThreads(__tstate);
3997 if (PyErr_Occurred()) SWIG_fail;
3998 }
3999 {
4000 resultobj = SWIG_From_int(static_cast<int >(result));
4001 }
4002 return resultobj;
4003 fail:
4004 return NULL;
4005 }
4006
4007
4008 static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
4009 PyObject *resultobj = NULL;
4010 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4011 wxWindow *arg2 = (wxWindow *) 0 ;
4012 PyObject * obj0 = 0 ;
4013 PyObject * obj1 = 0 ;
4014 char *kwnames[] = {
4015 (char *) "self",(char *) "target", NULL
4016 };
4017
4018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
4019 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
4020 if (SWIG_arg_fail(1)) SWIG_fail;
4021 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4022 if (SWIG_arg_fail(2)) SWIG_fail;
4023 {
4024 PyThreadState* __tstate = wxPyBeginAllowThreads();
4025 (arg1)->SetTargetWindow(arg2);
4026
4027 wxPyEndAllowThreads(__tstate);
4028 if (PyErr_Occurred()) SWIG_fail;
4029 }
4030 Py_INCREF(Py_None); resultobj = Py_None;
4031 return resultobj;
4032 fail:
4033 return NULL;
4034 }
4035
4036
4037 static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
4038 PyObject *resultobj = NULL;
4039 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4040 wxWindow *result;
4041 PyObject * obj0 = 0 ;
4042 char *kwnames[] = {
4043 (char *) "self", NULL
4044 };
4045
4046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
4047 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
4048 if (SWIG_arg_fail(1)) SWIG_fail;
4049 {
4050 PyThreadState* __tstate = wxPyBeginAllowThreads();
4051 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
4052
4053 wxPyEndAllowThreads(__tstate);
4054 if (PyErr_Occurred()) SWIG_fail;
4055 }
4056 {
4057 resultobj = wxPyMake_wxObject(result, 0);
4058 }
4059 return resultobj;
4060 fail:
4061 return NULL;
4062 }
4063
4064
4065 static PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *, PyObject *args, PyObject *kwargs) {
4066 PyObject *resultobj = NULL;
4067 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4068 wxRect *arg2 = 0 ;
4069 wxRect temp2 ;
4070 PyObject * obj0 = 0 ;
4071 PyObject * obj1 = 0 ;
4072 char *kwnames[] = {
4073 (char *) "self",(char *) "rect", NULL
4074 };
4075
4076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) goto fail;
4077 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
4078 if (SWIG_arg_fail(1)) SWIG_fail;
4079 {
4080 arg2 = &temp2;
4081 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4082 }
4083 {
4084 PyThreadState* __tstate = wxPyBeginAllowThreads();
4085 (arg1)->SetTargetRect((wxRect const &)*arg2);
4086
4087 wxPyEndAllowThreads(__tstate);
4088 if (PyErr_Occurred()) SWIG_fail;
4089 }
4090 Py_INCREF(Py_None); resultobj = Py_None;
4091 return resultobj;
4092 fail:
4093 return NULL;
4094 }
4095
4096
4097 static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *, PyObject *args, PyObject *kwargs) {
4098 PyObject *resultobj = NULL;
4099 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4100 wxRect result;
4101 PyObject * obj0 = 0 ;
4102 char *kwnames[] = {
4103 (char *) "self", NULL
4104 };
4105
4106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetRect",kwnames,&obj0)) goto fail;
4107 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
4108 if (SWIG_arg_fail(1)) SWIG_fail;
4109 {
4110 PyThreadState* __tstate = wxPyBeginAllowThreads();
4111 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
4112
4113 wxPyEndAllowThreads(__tstate);
4114 if (PyErr_Occurred()) SWIG_fail;
4115 }
4116 {
4117 wxRect * resultptr;
4118 resultptr = new wxRect(static_cast<wxRect & >(result));
4119 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
4120 }
4121 return resultobj;
4122 fail:
4123 return NULL;
4124 }
4125
4126
4127 static PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *, PyObject *args, PyObject *kwargs) {
4128 PyObject *resultobj = NULL;
4129 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4130 wxDC *arg2 = 0 ;
4131 PyObject * obj0 = 0 ;
4132 PyObject * obj1 = 0 ;
4133 char *kwnames[] = {
4134 (char *) "self",(char *) "dc", NULL
4135 };
4136
4137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) goto fail;
4138 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
4139 if (SWIG_arg_fail(1)) SWIG_fail;
4140 {
4141 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
4142 if (SWIG_arg_fail(2)) SWIG_fail;
4143 if (arg2 == NULL) {
4144 SWIG_null_ref("wxDC");
4145 }
4146 if (SWIG_arg_fail(2)) SWIG_fail;
4147 }
4148 {
4149 PyThreadState* __tstate = wxPyBeginAllowThreads();
4150 (arg1)->DoPrepareDC(*arg2);
4151
4152 wxPyEndAllowThreads(__tstate);
4153 if (PyErr_Occurred()) SWIG_fail;
4154 }
4155 Py_INCREF(Py_None); resultobj = Py_None;
4156 return resultobj;
4157 fail:
4158 return NULL;
4159 }
4160
4161
4162 static PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
4163 PyObject *resultobj = NULL;
4164 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
4165 wxVisualAttributes result;
4166 PyObject * obj0 = 0 ;
4167 char *kwnames[] = {
4168 (char *) "variant", NULL
4169 };
4170
4171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4172 if (obj0) {
4173 {
4174 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
4175 if (SWIG_arg_fail(1)) SWIG_fail;
4176 }
4177 }
4178 {
4179 if (!wxPyCheckForApp()) SWIG_fail;
4180 PyThreadState* __tstate = wxPyBeginAllowThreads();
4181 result = wxScrolledWindow::GetClassDefaultAttributes(arg1);
4182
4183 wxPyEndAllowThreads(__tstate);
4184 if (PyErr_Occurred()) SWIG_fail;
4185 }
4186 {
4187 wxVisualAttributes * resultptr;
4188 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
4189 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4190 }
4191 return resultobj;
4192 fail:
4193 return NULL;
4194 }
4195
4196
4197 static PyObject * ScrolledWindow_swigregister(PyObject *, PyObject *args) {
4198 PyObject *obj;
4199 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4200 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
4201 Py_INCREF(obj);
4202 return Py_BuildValue((char *)"");
4203 }
4204 static int _wrap_FrameNameStr_set(PyObject *) {
4205 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
4206 return 1;
4207 }
4208
4209
4210 static PyObject *_wrap_FrameNameStr_get(void) {
4211 PyObject *pyobj = NULL;
4212
4213 {
4214 #if wxUSE_UNICODE
4215 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
4216 #else
4217 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
4218 #endif
4219 }
4220 return pyobj;
4221 }
4222
4223
4224 static int _wrap_DialogNameStr_set(PyObject *) {
4225 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
4226 return 1;
4227 }
4228
4229
4230 static PyObject *_wrap_DialogNameStr_get(void) {
4231 PyObject *pyobj = NULL;
4232
4233 {
4234 #if wxUSE_UNICODE
4235 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
4236 #else
4237 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
4238 #endif
4239 }
4240 return pyobj;
4241 }
4242
4243
4244 static int _wrap_StatusLineNameStr_set(PyObject *) {
4245 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
4246 return 1;
4247 }
4248
4249
4250 static PyObject *_wrap_StatusLineNameStr_get(void) {
4251 PyObject *pyobj = NULL;
4252
4253 {
4254 #if wxUSE_UNICODE
4255 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
4256 #else
4257 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
4258 #endif
4259 }
4260 return pyobj;
4261 }
4262
4263
4264 static int _wrap_ToolBarNameStr_set(PyObject *) {
4265 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
4266 return 1;
4267 }
4268
4269
4270 static PyObject *_wrap_ToolBarNameStr_get(void) {
4271 PyObject *pyobj = NULL;
4272
4273 {
4274 #if wxUSE_UNICODE
4275 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
4276 #else
4277 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
4278 #endif
4279 }
4280 return pyobj;
4281 }
4282
4283
4284 static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
4285 PyObject *resultobj = NULL;
4286 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4287 bool arg2 = (bool) true ;
4288 PyObject * obj0 = 0 ;
4289 PyObject * obj1 = 0 ;
4290 char *kwnames[] = {
4291 (char *) "self",(char *) "maximize", NULL
4292 };
4293
4294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
4295 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4296 if (SWIG_arg_fail(1)) SWIG_fail;
4297 if (obj1) {
4298 {
4299 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
4300 if (SWIG_arg_fail(2)) SWIG_fail;
4301 }
4302 }
4303 {
4304 PyThreadState* __tstate = wxPyBeginAllowThreads();
4305 (arg1)->Maximize(arg2);
4306
4307 wxPyEndAllowThreads(__tstate);
4308 if (PyErr_Occurred()) SWIG_fail;
4309 }
4310 Py_INCREF(Py_None); resultobj = Py_None;
4311 return resultobj;
4312 fail:
4313 return NULL;
4314 }
4315
4316
4317 static PyObject *_wrap_TopLevelWindow_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
4318 PyObject *resultobj = NULL;
4319 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4320 PyObject * obj0 = 0 ;
4321 char *kwnames[] = {
4322 (char *) "self", NULL
4323 };
4324
4325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
4326 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4327 if (SWIG_arg_fail(1)) SWIG_fail;
4328 {
4329 PyThreadState* __tstate = wxPyBeginAllowThreads();
4330 (arg1)->Restore();
4331
4332 wxPyEndAllowThreads(__tstate);
4333 if (PyErr_Occurred()) SWIG_fail;
4334 }
4335 Py_INCREF(Py_None); resultobj = Py_None;
4336 return resultobj;
4337 fail:
4338 return NULL;
4339 }
4340
4341
4342 static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *, PyObject *args, PyObject *kwargs) {
4343 PyObject *resultobj = NULL;
4344 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4345 bool arg2 = (bool) true ;
4346 PyObject * obj0 = 0 ;
4347 PyObject * obj1 = 0 ;
4348 char *kwnames[] = {
4349 (char *) "self",(char *) "iconize", NULL
4350 };
4351
4352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
4353 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4354 if (SWIG_arg_fail(1)) SWIG_fail;
4355 if (obj1) {
4356 {
4357 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
4358 if (SWIG_arg_fail(2)) SWIG_fail;
4359 }
4360 }
4361 {
4362 PyThreadState* __tstate = wxPyBeginAllowThreads();
4363 (arg1)->Iconize(arg2);
4364
4365 wxPyEndAllowThreads(__tstate);
4366 if (PyErr_Occurred()) SWIG_fail;
4367 }
4368 Py_INCREF(Py_None); resultobj = Py_None;
4369 return resultobj;
4370 fail:
4371 return NULL;
4372 }
4373
4374
4375 static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *, PyObject *args, PyObject *kwargs) {
4376 PyObject *resultobj = NULL;
4377 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4378 bool result;
4379 PyObject * obj0 = 0 ;
4380 char *kwnames[] = {
4381 (char *) "self", NULL
4382 };
4383
4384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
4385 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4386 if (SWIG_arg_fail(1)) SWIG_fail;
4387 {
4388 PyThreadState* __tstate = wxPyBeginAllowThreads();
4389 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
4390
4391 wxPyEndAllowThreads(__tstate);
4392 if (PyErr_Occurred()) SWIG_fail;
4393 }
4394 {
4395 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4396 }
4397 return resultobj;
4398 fail:
4399 return NULL;
4400 }
4401
4402
4403 static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *, PyObject *args, PyObject *kwargs) {
4404 PyObject *resultobj = NULL;
4405 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4406 bool result;
4407 PyObject * obj0 = 0 ;
4408 char *kwnames[] = {
4409 (char *) "self", NULL
4410 };
4411
4412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
4413 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4414 if (SWIG_arg_fail(1)) SWIG_fail;
4415 {
4416 PyThreadState* __tstate = wxPyBeginAllowThreads();
4417 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
4418
4419 wxPyEndAllowThreads(__tstate);
4420 if (PyErr_Occurred()) SWIG_fail;
4421 }
4422 {
4423 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4424 }
4425 return resultobj;
4426 fail:
4427 return NULL;
4428 }
4429
4430
4431 static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
4432 PyObject *resultobj = NULL;
4433 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4434 wxIcon result;
4435 PyObject * obj0 = 0 ;
4436 char *kwnames[] = {
4437 (char *) "self", NULL
4438 };
4439
4440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
4441 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4442 if (SWIG_arg_fail(1)) SWIG_fail;
4443 {
4444 PyThreadState* __tstate = wxPyBeginAllowThreads();
4445 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
4446
4447 wxPyEndAllowThreads(__tstate);
4448 if (PyErr_Occurred()) SWIG_fail;
4449 }
4450 {
4451 wxIcon * resultptr;
4452 resultptr = new wxIcon(static_cast<wxIcon & >(result));
4453 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
4454 }
4455 return resultobj;
4456 fail:
4457 return NULL;
4458 }
4459
4460
4461 static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
4462 PyObject *resultobj = NULL;
4463 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4464 wxIcon *arg2 = 0 ;
4465 PyObject * obj0 = 0 ;
4466 PyObject * obj1 = 0 ;
4467 char *kwnames[] = {
4468 (char *) "self",(char *) "icon", NULL
4469 };
4470
4471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
4472 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4473 if (SWIG_arg_fail(1)) SWIG_fail;
4474 {
4475 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
4476 if (SWIG_arg_fail(2)) SWIG_fail;
4477 if (arg2 == NULL) {
4478 SWIG_null_ref("wxIcon");
4479 }
4480 if (SWIG_arg_fail(2)) SWIG_fail;
4481 }
4482 {
4483 PyThreadState* __tstate = wxPyBeginAllowThreads();
4484 (arg1)->SetIcon((wxIcon const &)*arg2);
4485
4486 wxPyEndAllowThreads(__tstate);
4487 if (PyErr_Occurred()) SWIG_fail;
4488 }
4489 Py_INCREF(Py_None); resultobj = Py_None;
4490 return resultobj;
4491 fail:
4492 return NULL;
4493 }
4494
4495
4496 static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *, PyObject *args, PyObject *kwargs) {
4497 PyObject *resultobj = NULL;
4498 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4499 wxIconBundle *arg2 = 0 ;
4500 PyObject * obj0 = 0 ;
4501 PyObject * obj1 = 0 ;
4502 char *kwnames[] = {
4503 (char *) "self",(char *) "icons", NULL
4504 };
4505
4506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
4507 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4508 if (SWIG_arg_fail(1)) SWIG_fail;
4509 {
4510 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIconBundle, SWIG_POINTER_EXCEPTION | 0);
4511 if (SWIG_arg_fail(2)) SWIG_fail;
4512 if (arg2 == NULL) {
4513 SWIG_null_ref("wxIconBundle");
4514 }
4515 if (SWIG_arg_fail(2)) SWIG_fail;
4516 }
4517 {
4518 PyThreadState* __tstate = wxPyBeginAllowThreads();
4519 (arg1)->SetIcons((wxIconBundle const &)*arg2);
4520
4521 wxPyEndAllowThreads(__tstate);
4522 if (PyErr_Occurred()) SWIG_fail;
4523 }
4524 Py_INCREF(Py_None); resultobj = Py_None;
4525 return resultobj;
4526 fail:
4527 return NULL;
4528 }
4529
4530
4531 static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
4532 PyObject *resultobj = NULL;
4533 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4534 bool arg2 ;
4535 long arg3 = (long) wxFULLSCREEN_ALL ;
4536 bool result;
4537 PyObject * obj0 = 0 ;
4538 PyObject * obj1 = 0 ;
4539 PyObject * obj2 = 0 ;
4540 char *kwnames[] = {
4541 (char *) "self",(char *) "show",(char *) "style", NULL
4542 };
4543
4544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
4545 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4546 if (SWIG_arg_fail(1)) SWIG_fail;
4547 {
4548 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
4549 if (SWIG_arg_fail(2)) SWIG_fail;
4550 }
4551 if (obj2) {
4552 {
4553 arg3 = static_cast<long >(SWIG_As_long(obj2));
4554 if (SWIG_arg_fail(3)) SWIG_fail;
4555 }
4556 }
4557 {
4558 PyThreadState* __tstate = wxPyBeginAllowThreads();
4559 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
4560
4561 wxPyEndAllowThreads(__tstate);
4562 if (PyErr_Occurred()) SWIG_fail;
4563 }
4564 {
4565 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4566 }
4567 return resultobj;
4568 fail:
4569 return NULL;
4570 }
4571
4572
4573 static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
4574 PyObject *resultobj = NULL;
4575 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4576 bool result;
4577 PyObject * obj0 = 0 ;
4578 char *kwnames[] = {
4579 (char *) "self", NULL
4580 };
4581
4582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
4583 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4584 if (SWIG_arg_fail(1)) SWIG_fail;
4585 {
4586 PyThreadState* __tstate = wxPyBeginAllowThreads();
4587 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
4588
4589 wxPyEndAllowThreads(__tstate);
4590 if (PyErr_Occurred()) SWIG_fail;
4591 }
4592 {
4593 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4594 }
4595 return resultobj;
4596 fail:
4597 return NULL;
4598 }
4599
4600
4601 static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
4602 PyObject *resultobj = NULL;
4603 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4604 wxString *arg2 = 0 ;
4605 bool temp2 = false ;
4606 PyObject * obj0 = 0 ;
4607 PyObject * obj1 = 0 ;
4608 char *kwnames[] = {
4609 (char *) "self",(char *) "title", NULL
4610 };
4611
4612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
4613 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4614 if (SWIG_arg_fail(1)) SWIG_fail;
4615 {
4616 arg2 = wxString_in_helper(obj1);
4617 if (arg2 == NULL) SWIG_fail;
4618 temp2 = true;
4619 }
4620 {
4621 PyThreadState* __tstate = wxPyBeginAllowThreads();
4622 (arg1)->SetTitle((wxString const &)*arg2);
4623
4624 wxPyEndAllowThreads(__tstate);
4625 if (PyErr_Occurred()) SWIG_fail;
4626 }
4627 Py_INCREF(Py_None); resultobj = Py_None;
4628 {
4629 if (temp2)
4630 delete arg2;
4631 }
4632 return resultobj;
4633 fail:
4634 {
4635 if (temp2)
4636 delete arg2;
4637 }
4638 return NULL;
4639 }
4640
4641
4642 static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
4643 PyObject *resultobj = NULL;
4644 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4645 wxString result;
4646 PyObject * obj0 = 0 ;
4647 char *kwnames[] = {
4648 (char *) "self", NULL
4649 };
4650
4651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
4652 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4653 if (SWIG_arg_fail(1)) SWIG_fail;
4654 {
4655 PyThreadState* __tstate = wxPyBeginAllowThreads();
4656 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
4657
4658 wxPyEndAllowThreads(__tstate);
4659 if (PyErr_Occurred()) SWIG_fail;
4660 }
4661 {
4662 #if wxUSE_UNICODE
4663 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4664 #else
4665 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4666 #endif
4667 }
4668 return resultobj;
4669 fail:
4670 return NULL;
4671 }
4672
4673
4674 static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *, PyObject *args, PyObject *kwargs) {
4675 PyObject *resultobj = NULL;
4676 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4677 wxRegion *arg2 = 0 ;
4678 bool result;
4679 PyObject * obj0 = 0 ;
4680 PyObject * obj1 = 0 ;
4681 char *kwnames[] = {
4682 (char *) "self",(char *) "region", NULL
4683 };
4684
4685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
4686 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4687 if (SWIG_arg_fail(1)) SWIG_fail;
4688 {
4689 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
4690 if (SWIG_arg_fail(2)) SWIG_fail;
4691 if (arg2 == NULL) {
4692 SWIG_null_ref("wxRegion");
4693 }
4694 if (SWIG_arg_fail(2)) SWIG_fail;
4695 }
4696 {
4697 PyThreadState* __tstate = wxPyBeginAllowThreads();
4698 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
4699
4700 wxPyEndAllowThreads(__tstate);
4701 if (PyErr_Occurred()) SWIG_fail;
4702 }
4703 {
4704 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4705 }
4706 return resultobj;
4707 fail:
4708 return NULL;
4709 }
4710
4711
4712 static PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *, PyObject *args, PyObject *kwargs) {
4713 PyObject *resultobj = NULL;
4714 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4715 int arg2 = (int) wxUSER_ATTENTION_INFO ;
4716 PyObject * obj0 = 0 ;
4717 PyObject * obj1 = 0 ;
4718 char *kwnames[] = {
4719 (char *) "self",(char *) "flags", NULL
4720 };
4721
4722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) goto fail;
4723 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4724 if (SWIG_arg_fail(1)) SWIG_fail;
4725 if (obj1) {
4726 {
4727 arg2 = static_cast<int >(SWIG_As_int(obj1));
4728 if (SWIG_arg_fail(2)) SWIG_fail;
4729 }
4730 }
4731 {
4732 PyThreadState* __tstate = wxPyBeginAllowThreads();
4733 (arg1)->RequestUserAttention(arg2);
4734
4735 wxPyEndAllowThreads(__tstate);
4736 if (PyErr_Occurred()) SWIG_fail;
4737 }
4738 Py_INCREF(Py_None); resultobj = Py_None;
4739 return resultobj;
4740 fail:
4741 return NULL;
4742 }
4743
4744
4745 static PyObject *_wrap_TopLevelWindow_IsActive(PyObject *, PyObject *args, PyObject *kwargs) {
4746 PyObject *resultobj = NULL;
4747 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4748 bool result;
4749 PyObject * obj0 = 0 ;
4750 char *kwnames[] = {
4751 (char *) "self", NULL
4752 };
4753
4754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsActive",kwnames,&obj0)) goto fail;
4755 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4756 if (SWIG_arg_fail(1)) SWIG_fail;
4757 {
4758 PyThreadState* __tstate = wxPyBeginAllowThreads();
4759 result = (bool)(arg1)->IsActive();
4760
4761 wxPyEndAllowThreads(__tstate);
4762 if (PyErr_Occurred()) SWIG_fail;
4763 }
4764 {
4765 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4766 }
4767 return resultobj;
4768 fail:
4769 return NULL;
4770 }
4771
4772
4773 static PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) {
4774 PyObject *resultobj = NULL;
4775 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4776 bool arg2 ;
4777 PyObject * obj0 = 0 ;
4778 PyObject * obj1 = 0 ;
4779 char *kwnames[] = {
4780 (char *) "self",(char *) "on", NULL
4781 };
4782
4783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) goto fail;
4784 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4785 if (SWIG_arg_fail(1)) SWIG_fail;
4786 {
4787 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
4788 if (SWIG_arg_fail(2)) SWIG_fail;
4789 }
4790 {
4791 PyThreadState* __tstate = wxPyBeginAllowThreads();
4792 (arg1)->MacSetMetalAppearance(arg2);
4793
4794 wxPyEndAllowThreads(__tstate);
4795 if (PyErr_Occurred()) SWIG_fail;
4796 }
4797 Py_INCREF(Py_None); resultobj = Py_None;
4798 return resultobj;
4799 fail:
4800 return NULL;
4801 }
4802
4803
4804 static PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) {
4805 PyObject *resultobj = NULL;
4806 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4807 bool result;
4808 PyObject * obj0 = 0 ;
4809 char *kwnames[] = {
4810 (char *) "self", NULL
4811 };
4812
4813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames,&obj0)) goto fail;
4814 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4815 if (SWIG_arg_fail(1)) SWIG_fail;
4816 {
4817 PyThreadState* __tstate = wxPyBeginAllowThreads();
4818 result = (bool)((wxTopLevelWindow const *)arg1)->MacGetMetalAppearance();
4819
4820 wxPyEndAllowThreads(__tstate);
4821 if (PyErr_Occurred()) SWIG_fail;
4822 }
4823 {
4824 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4825 }
4826 return resultobj;
4827 fail:
4828 return NULL;
4829 }
4830
4831
4832 static PyObject * TopLevelWindow_swigregister(PyObject *, PyObject *args) {
4833 PyObject *obj;
4834 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4835 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
4836 Py_INCREF(obj);
4837 return Py_BuildValue((char *)"");
4838 }
4839 static PyObject *_wrap_new_Frame(PyObject *, PyObject *args, PyObject *kwargs) {
4840 PyObject *resultobj = NULL;
4841 wxWindow *arg1 = (wxWindow *) 0 ;
4842 int arg2 = (int) (int)-1 ;
4843 wxString const &arg3_defvalue = wxPyEmptyString ;
4844 wxString *arg3 = (wxString *) &arg3_defvalue ;
4845 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4846 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4847 wxSize const &arg5_defvalue = wxDefaultSize ;
4848 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4849 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4850 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4851 wxString *arg7 = (wxString *) &arg7_defvalue ;
4852 wxFrame *result;
4853 bool temp3 = false ;
4854 wxPoint temp4 ;
4855 wxSize temp5 ;
4856 bool temp7 = false ;
4857 PyObject * obj0 = 0 ;
4858 PyObject * obj1 = 0 ;
4859 PyObject * obj2 = 0 ;
4860 PyObject * obj3 = 0 ;
4861 PyObject * obj4 = 0 ;
4862 PyObject * obj5 = 0 ;
4863 PyObject * obj6 = 0 ;
4864 char *kwnames[] = {
4865 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4866 };
4867
4868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4869 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4870 if (SWIG_arg_fail(1)) SWIG_fail;
4871 if (obj1) {
4872 {
4873 arg2 = static_cast<int const >(SWIG_As_int(obj1));
4874 if (SWIG_arg_fail(2)) SWIG_fail;
4875 }
4876 }
4877 if (obj2) {
4878 {
4879 arg3 = wxString_in_helper(obj2);
4880 if (arg3 == NULL) SWIG_fail;
4881 temp3 = true;
4882 }
4883 }
4884 if (obj3) {
4885 {
4886 arg4 = &temp4;
4887 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4888 }
4889 }
4890 if (obj4) {
4891 {
4892 arg5 = &temp5;
4893 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4894 }
4895 }
4896 if (obj5) {
4897 {
4898 arg6 = static_cast<long >(SWIG_As_long(obj5));
4899 if (SWIG_arg_fail(6)) SWIG_fail;
4900 }
4901 }
4902 if (obj6) {
4903 {
4904 arg7 = wxString_in_helper(obj6);
4905 if (arg7 == NULL) SWIG_fail;
4906 temp7 = true;
4907 }
4908 }
4909 {
4910 if (!wxPyCheckForApp()) SWIG_fail;
4911 PyThreadState* __tstate = wxPyBeginAllowThreads();
4912 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4913
4914 wxPyEndAllowThreads(__tstate);
4915 if (PyErr_Occurred()) SWIG_fail;
4916 }
4917 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
4918 {
4919 if (temp3)
4920 delete arg3;
4921 }
4922 {
4923 if (temp7)
4924 delete arg7;
4925 }
4926 return resultobj;
4927 fail:
4928 {
4929 if (temp3)
4930 delete arg3;
4931 }
4932 {
4933 if (temp7)
4934 delete arg7;
4935 }
4936 return NULL;
4937 }
4938
4939
4940 static PyObject *_wrap_new_PreFrame(PyObject *, PyObject *args, PyObject *kwargs) {
4941 PyObject *resultobj = NULL;
4942 wxFrame *result;
4943 char *kwnames[] = {
4944 NULL
4945 };
4946
4947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
4948 {
4949 if (!wxPyCheckForApp()) SWIG_fail;
4950 PyThreadState* __tstate = wxPyBeginAllowThreads();
4951 result = (wxFrame *)new wxFrame();
4952
4953 wxPyEndAllowThreads(__tstate);
4954 if (PyErr_Occurred()) SWIG_fail;
4955 }
4956 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
4957 return resultobj;
4958 fail:
4959 return NULL;
4960 }
4961
4962
4963 static PyObject *_wrap_Frame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4964 PyObject *resultobj = NULL;
4965 wxFrame *arg1 = (wxFrame *) 0 ;
4966 wxWindow *arg2 = (wxWindow *) 0 ;
4967 int arg3 = (int) (int)-1 ;
4968 wxString const &arg4_defvalue = wxPyEmptyString ;
4969 wxString *arg4 = (wxString *) &arg4_defvalue ;
4970 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4971 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4972 wxSize const &arg6_defvalue = wxDefaultSize ;
4973 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4974 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4975 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4976 wxString *arg8 = (wxString *) &arg8_defvalue ;
4977 bool result;
4978 bool temp4 = false ;
4979 wxPoint temp5 ;
4980 wxSize temp6 ;
4981 bool temp8 = false ;
4982 PyObject * obj0 = 0 ;
4983 PyObject * obj1 = 0 ;
4984 PyObject * obj2 = 0 ;
4985 PyObject * obj3 = 0 ;
4986 PyObject * obj4 = 0 ;
4987 PyObject * obj5 = 0 ;
4988 PyObject * obj6 = 0 ;
4989 PyObject * obj7 = 0 ;
4990 char *kwnames[] = {
4991 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4992 };
4993
4994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4995 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4996 if (SWIG_arg_fail(1)) SWIG_fail;
4997 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4998 if (SWIG_arg_fail(2)) SWIG_fail;
4999 if (obj2) {
5000 {
5001 arg3 = static_cast<int const >(SWIG_As_int(obj2));
5002 if (SWIG_arg_fail(3)) SWIG_fail;
5003 }
5004 }
5005 if (obj3) {
5006 {
5007 arg4 = wxString_in_helper(obj3);
5008 if (arg4 == NULL) SWIG_fail;
5009 temp4 = true;
5010 }
5011 }
5012 if (obj4) {
5013 {
5014 arg5 = &temp5;
5015 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5016 }
5017 }
5018 if (obj5) {
5019 {
5020 arg6 = &temp6;
5021 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5022 }
5023 }
5024 if (obj6) {
5025 {
5026 arg7 = static_cast<long >(SWIG_As_long(obj6));
5027 if (SWIG_arg_fail(7)) SWIG_fail;
5028 }
5029 }
5030 if (obj7) {
5031 {
5032 arg8 = wxString_in_helper(obj7);
5033 if (arg8 == NULL) SWIG_fail;
5034 temp8 = true;
5035 }
5036 }
5037 {
5038 PyThreadState* __tstate = wxPyBeginAllowThreads();
5039 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
5040
5041 wxPyEndAllowThreads(__tstate);
5042 if (PyErr_Occurred()) SWIG_fail;
5043 }
5044 {
5045 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5046 }
5047 {
5048 if (temp4)
5049 delete arg4;
5050 }
5051 {
5052 if (temp8)
5053 delete arg8;
5054 }
5055 return resultobj;
5056 fail:
5057 {
5058 if (temp4)
5059 delete arg4;
5060 }
5061 {
5062 if (temp8)
5063 delete arg8;
5064 }
5065 return NULL;
5066 }
5067
5068
5069 static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *, PyObject *args, PyObject *kwargs) {
5070 PyObject *resultobj = NULL;
5071 wxFrame *arg1 = (wxFrame *) 0 ;
5072 wxPoint result;
5073 PyObject * obj0 = 0 ;
5074 char *kwnames[] = {
5075 (char *) "self", NULL
5076 };
5077
5078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
5079 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5080 if (SWIG_arg_fail(1)) SWIG_fail;
5081 {
5082 PyThreadState* __tstate = wxPyBeginAllowThreads();
5083 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
5084
5085 wxPyEndAllowThreads(__tstate);
5086 if (PyErr_Occurred()) SWIG_fail;
5087 }
5088 {
5089 wxPoint * resultptr;
5090 resultptr = new wxPoint(static_cast<wxPoint & >(result));
5091 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
5092 }
5093 return resultobj;
5094 fail:
5095 return NULL;
5096 }
5097
5098
5099 static PyObject *_wrap_Frame_SendSizeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
5100 PyObject *resultobj = NULL;
5101 wxFrame *arg1 = (wxFrame *) 0 ;
5102 PyObject * obj0 = 0 ;
5103 char *kwnames[] = {
5104 (char *) "self", NULL
5105 };
5106
5107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
5108 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5109 if (SWIG_arg_fail(1)) SWIG_fail;
5110 {
5111 PyThreadState* __tstate = wxPyBeginAllowThreads();
5112 (arg1)->SendSizeEvent();
5113
5114 wxPyEndAllowThreads(__tstate);
5115 if (PyErr_Occurred()) SWIG_fail;
5116 }
5117 Py_INCREF(Py_None); resultobj = Py_None;
5118 return resultobj;
5119 fail:
5120 return NULL;
5121 }
5122
5123
5124 static PyObject *_wrap_Frame_SetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
5125 PyObject *resultobj = NULL;
5126 wxFrame *arg1 = (wxFrame *) 0 ;
5127 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
5128 PyObject * obj0 = 0 ;
5129 PyObject * obj1 = 0 ;
5130 char *kwnames[] = {
5131 (char *) "self",(char *) "menubar", NULL
5132 };
5133
5134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
5135 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5136 if (SWIG_arg_fail(1)) SWIG_fail;
5137 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
5138 if (SWIG_arg_fail(2)) SWIG_fail;
5139 {
5140 PyThreadState* __tstate = wxPyBeginAllowThreads();
5141 (arg1)->SetMenuBar(arg2);
5142
5143 wxPyEndAllowThreads(__tstate);
5144 if (PyErr_Occurred()) SWIG_fail;
5145 }
5146 Py_INCREF(Py_None); resultobj = Py_None;
5147 return resultobj;
5148 fail:
5149 return NULL;
5150 }
5151
5152
5153 static PyObject *_wrap_Frame_GetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
5154 PyObject *resultobj = NULL;
5155 wxFrame *arg1 = (wxFrame *) 0 ;
5156 wxMenuBar *result;
5157 PyObject * obj0 = 0 ;
5158 char *kwnames[] = {
5159 (char *) "self", NULL
5160 };
5161
5162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
5163 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5164 if (SWIG_arg_fail(1)) SWIG_fail;
5165 {
5166 PyThreadState* __tstate = wxPyBeginAllowThreads();
5167 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
5168
5169 wxPyEndAllowThreads(__tstate);
5170 if (PyErr_Occurred()) SWIG_fail;
5171 }
5172 {
5173 resultobj = wxPyMake_wxObject(result, 0);
5174 }
5175 return resultobj;
5176 fail:
5177 return NULL;
5178 }
5179
5180
5181 static PyObject *_wrap_Frame_ProcessCommand(PyObject *, PyObject *args, PyObject *kwargs) {
5182 PyObject *resultobj = NULL;
5183 wxFrame *arg1 = (wxFrame *) 0 ;
5184 int arg2 ;
5185 bool result;
5186 PyObject * obj0 = 0 ;
5187 PyObject * obj1 = 0 ;
5188 char *kwnames[] = {
5189 (char *) "self",(char *) "winid", NULL
5190 };
5191
5192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail;
5193 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5194 if (SWIG_arg_fail(1)) SWIG_fail;
5195 {
5196 arg2 = static_cast<int >(SWIG_As_int(obj1));
5197 if (SWIG_arg_fail(2)) SWIG_fail;
5198 }
5199 {
5200 PyThreadState* __tstate = wxPyBeginAllowThreads();
5201 result = (bool)(arg1)->ProcessCommand(arg2);
5202
5203 wxPyEndAllowThreads(__tstate);
5204 if (PyErr_Occurred()) SWIG_fail;
5205 }
5206 {
5207 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5208 }
5209 return resultobj;
5210 fail:
5211 return NULL;
5212 }
5213
5214
5215 static PyObject *_wrap_Frame_CreateStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
5216 PyObject *resultobj = NULL;
5217 wxFrame *arg1 = (wxFrame *) 0 ;
5218 int arg2 = (int) 1 ;
5219 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
5220 int arg4 = (int) 0 ;
5221 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
5222 wxString *arg5 = (wxString *) &arg5_defvalue ;
5223 wxStatusBar *result;
5224 bool temp5 = false ;
5225 PyObject * obj0 = 0 ;
5226 PyObject * obj1 = 0 ;
5227 PyObject * obj2 = 0 ;
5228 PyObject * obj3 = 0 ;
5229 PyObject * obj4 = 0 ;
5230 char *kwnames[] = {
5231 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
5232 };
5233
5234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
5235 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5236 if (SWIG_arg_fail(1)) SWIG_fail;
5237 if (obj1) {
5238 {
5239 arg2 = static_cast<int >(SWIG_As_int(obj1));
5240 if (SWIG_arg_fail(2)) SWIG_fail;
5241 }
5242 }
5243 if (obj2) {
5244 {
5245 arg3 = static_cast<long >(SWIG_As_long(obj2));
5246 if (SWIG_arg_fail(3)) SWIG_fail;
5247 }
5248 }
5249 if (obj3) {
5250 {
5251 arg4 = static_cast<int >(SWIG_As_int(obj3));
5252 if (SWIG_arg_fail(4)) SWIG_fail;
5253 }
5254 }
5255 if (obj4) {
5256 {
5257 arg5 = wxString_in_helper(obj4);
5258 if (arg5 == NULL) SWIG_fail;
5259 temp5 = true;
5260 }
5261 }
5262 {
5263 PyThreadState* __tstate = wxPyBeginAllowThreads();
5264 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
5265
5266 wxPyEndAllowThreads(__tstate);
5267 if (PyErr_Occurred()) SWIG_fail;
5268 }
5269 {
5270 resultobj = wxPyMake_wxObject(result, 0);
5271 }
5272 {
5273 if (temp5)
5274 delete arg5;
5275 }
5276 return resultobj;
5277 fail:
5278 {
5279 if (temp5)
5280 delete arg5;
5281 }
5282 return NULL;
5283 }
5284
5285
5286 static PyObject *_wrap_Frame_GetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
5287 PyObject *resultobj = NULL;
5288 wxFrame *arg1 = (wxFrame *) 0 ;
5289 wxStatusBar *result;
5290 PyObject * obj0 = 0 ;
5291 char *kwnames[] = {
5292 (char *) "self", NULL
5293 };
5294
5295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
5296 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5297 if (SWIG_arg_fail(1)) SWIG_fail;
5298 {
5299 PyThreadState* __tstate = wxPyBeginAllowThreads();
5300 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
5301
5302 wxPyEndAllowThreads(__tstate);
5303 if (PyErr_Occurred()) SWIG_fail;
5304 }
5305 {
5306 resultobj = wxPyMake_wxObject(result, 0);
5307 }
5308 return resultobj;
5309 fail:
5310 return NULL;
5311 }
5312
5313
5314 static PyObject *_wrap_Frame_SetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
5315 PyObject *resultobj = NULL;
5316 wxFrame *arg1 = (wxFrame *) 0 ;
5317 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
5318 PyObject * obj0 = 0 ;
5319 PyObject * obj1 = 0 ;
5320 char *kwnames[] = {
5321 (char *) "self",(char *) "statBar", NULL
5322 };
5323
5324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
5325 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5326 if (SWIG_arg_fail(1)) SWIG_fail;
5327 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
5328 if (SWIG_arg_fail(2)) SWIG_fail;
5329 {
5330 PyThreadState* __tstate = wxPyBeginAllowThreads();
5331 (arg1)->SetStatusBar(arg2);
5332
5333 wxPyEndAllowThreads(__tstate);
5334 if (PyErr_Occurred()) SWIG_fail;
5335 }
5336 Py_INCREF(Py_None); resultobj = Py_None;
5337 return resultobj;
5338 fail:
5339 return NULL;
5340 }
5341
5342
5343 static PyObject *_wrap_Frame_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5344 PyObject *resultobj = NULL;
5345 wxFrame *arg1 = (wxFrame *) 0 ;
5346 wxString *arg2 = 0 ;
5347 int arg3 = (int) 0 ;
5348 bool temp2 = false ;
5349 PyObject * obj0 = 0 ;
5350 PyObject * obj1 = 0 ;
5351 PyObject * obj2 = 0 ;
5352 char *kwnames[] = {
5353 (char *) "self",(char *) "text",(char *) "number", NULL
5354 };
5355
5356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5357 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5358 if (SWIG_arg_fail(1)) SWIG_fail;
5359 {
5360 arg2 = wxString_in_helper(obj1);
5361 if (arg2 == NULL) SWIG_fail;
5362 temp2 = true;
5363 }
5364 if (obj2) {
5365 {
5366 arg3 = static_cast<int >(SWIG_As_int(obj2));
5367 if (SWIG_arg_fail(3)) SWIG_fail;
5368 }
5369 }
5370 {
5371 PyThreadState* __tstate = wxPyBeginAllowThreads();
5372 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
5373
5374 wxPyEndAllowThreads(__tstate);
5375 if (PyErr_Occurred()) SWIG_fail;
5376 }
5377 Py_INCREF(Py_None); resultobj = Py_None;
5378 {
5379 if (temp2)
5380 delete arg2;
5381 }
5382 return resultobj;
5383 fail:
5384 {
5385 if (temp2)
5386 delete arg2;
5387 }
5388 return NULL;
5389 }
5390
5391
5392 static PyObject *_wrap_Frame_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
5393 PyObject *resultobj = NULL;
5394 wxFrame *arg1 = (wxFrame *) 0 ;
5395 int arg2 ;
5396 int *arg3 = (int *) 0 ;
5397 PyObject * obj0 = 0 ;
5398 PyObject * obj1 = 0 ;
5399 char *kwnames[] = {
5400 (char *) "self",(char *) "widths", NULL
5401 };
5402
5403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
5404 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5405 if (SWIG_arg_fail(1)) SWIG_fail;
5406 {
5407 arg2 = PyList_Size(obj1);
5408 arg3 = int_LIST_helper(obj1);
5409 if (arg3 == NULL) SWIG_fail;
5410 }
5411 {
5412 PyThreadState* __tstate = wxPyBeginAllowThreads();
5413 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5414
5415 wxPyEndAllowThreads(__tstate);
5416 if (PyErr_Occurred()) SWIG_fail;
5417 }
5418 Py_INCREF(Py_None); resultobj = Py_None;
5419 {
5420 if (arg3) delete [] arg3;
5421 }
5422 return resultobj;
5423 fail:
5424 {
5425 if (arg3) delete [] arg3;
5426 }
5427 return NULL;
5428 }
5429
5430
5431 static PyObject *_wrap_Frame_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5432 PyObject *resultobj = NULL;
5433 wxFrame *arg1 = (wxFrame *) 0 ;
5434 wxString *arg2 = 0 ;
5435 int arg3 = (int) 0 ;
5436 bool temp2 = false ;
5437 PyObject * obj0 = 0 ;
5438 PyObject * obj1 = 0 ;
5439 PyObject * obj2 = 0 ;
5440 char *kwnames[] = {
5441 (char *) "self",(char *) "text",(char *) "number", NULL
5442 };
5443
5444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5445 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5446 if (SWIG_arg_fail(1)) SWIG_fail;
5447 {
5448 arg2 = wxString_in_helper(obj1);
5449 if (arg2 == NULL) SWIG_fail;
5450 temp2 = true;
5451 }
5452 if (obj2) {
5453 {
5454 arg3 = static_cast<int >(SWIG_As_int(obj2));
5455 if (SWIG_arg_fail(3)) SWIG_fail;
5456 }
5457 }
5458 {
5459 PyThreadState* __tstate = wxPyBeginAllowThreads();
5460 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
5461
5462 wxPyEndAllowThreads(__tstate);
5463 if (PyErr_Occurred()) SWIG_fail;
5464 }
5465 Py_INCREF(Py_None); resultobj = Py_None;
5466 {
5467 if (temp2)
5468 delete arg2;
5469 }
5470 return resultobj;
5471 fail:
5472 {
5473 if (temp2)
5474 delete arg2;
5475 }
5476 return NULL;
5477 }
5478
5479
5480 static PyObject *_wrap_Frame_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5481 PyObject *resultobj = NULL;
5482 wxFrame *arg1 = (wxFrame *) 0 ;
5483 int arg2 = (int) 0 ;
5484 PyObject * obj0 = 0 ;
5485 PyObject * obj1 = 0 ;
5486 char *kwnames[] = {
5487 (char *) "self",(char *) "number", NULL
5488 };
5489
5490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
5491 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5492 if (SWIG_arg_fail(1)) SWIG_fail;
5493 if (obj1) {
5494 {
5495 arg2 = static_cast<int >(SWIG_As_int(obj1));
5496 if (SWIG_arg_fail(2)) SWIG_fail;
5497 }
5498 }
5499 {
5500 PyThreadState* __tstate = wxPyBeginAllowThreads();
5501 (arg1)->PopStatusText(arg2);
5502
5503 wxPyEndAllowThreads(__tstate);
5504 if (PyErr_Occurred()) SWIG_fail;
5505 }
5506 Py_INCREF(Py_None); resultobj = Py_None;
5507 return resultobj;
5508 fail:
5509 return NULL;
5510 }
5511
5512
5513 static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
5514 PyObject *resultobj = NULL;
5515 wxFrame *arg1 = (wxFrame *) 0 ;
5516 int arg2 ;
5517 PyObject * obj0 = 0 ;
5518 PyObject * obj1 = 0 ;
5519 char *kwnames[] = {
5520 (char *) "self",(char *) "n", NULL
5521 };
5522
5523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
5524 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5525 if (SWIG_arg_fail(1)) SWIG_fail;
5526 {
5527 arg2 = static_cast<int >(SWIG_As_int(obj1));
5528 if (SWIG_arg_fail(2)) SWIG_fail;
5529 }
5530 {
5531 PyThreadState* __tstate = wxPyBeginAllowThreads();
5532 (arg1)->SetStatusBarPane(arg2);
5533
5534 wxPyEndAllowThreads(__tstate);
5535 if (PyErr_Occurred()) SWIG_fail;
5536 }
5537 Py_INCREF(Py_None); resultobj = Py_None;
5538 return resultobj;
5539 fail:
5540 return NULL;
5541 }
5542
5543
5544 static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
5545 PyObject *resultobj = NULL;
5546 wxFrame *arg1 = (wxFrame *) 0 ;
5547 int result;
5548 PyObject * obj0 = 0 ;
5549 char *kwnames[] = {
5550 (char *) "self", NULL
5551 };
5552
5553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
5554 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5555 if (SWIG_arg_fail(1)) SWIG_fail;
5556 {
5557 PyThreadState* __tstate = wxPyBeginAllowThreads();
5558 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
5559
5560 wxPyEndAllowThreads(__tstate);
5561 if (PyErr_Occurred()) SWIG_fail;
5562 }
5563 {
5564 resultobj = SWIG_From_int(static_cast<int >(result));
5565 }
5566 return resultobj;
5567 fail:
5568 return NULL;
5569 }
5570
5571
5572 static PyObject *_wrap_Frame_CreateToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
5573 PyObject *resultobj = NULL;
5574 wxFrame *arg1 = (wxFrame *) 0 ;
5575 long arg2 = (long) -1 ;
5576 int arg3 = (int) -1 ;
5577 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
5578 wxString *arg4 = (wxString *) &arg4_defvalue ;
5579 wxToolBar *result;
5580 bool temp4 = false ;
5581 PyObject * obj0 = 0 ;
5582 PyObject * obj1 = 0 ;
5583 PyObject * obj2 = 0 ;
5584 PyObject * obj3 = 0 ;
5585 char *kwnames[] = {
5586 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
5587 };
5588
5589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5590 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5591 if (SWIG_arg_fail(1)) SWIG_fail;
5592 if (obj1) {
5593 {
5594 arg2 = static_cast<long >(SWIG_As_long(obj1));
5595 if (SWIG_arg_fail(2)) SWIG_fail;
5596 }
5597 }
5598 if (obj2) {
5599 {
5600 arg3 = static_cast<int >(SWIG_As_int(obj2));
5601 if (SWIG_arg_fail(3)) SWIG_fail;
5602 }
5603 }
5604 if (obj3) {
5605 {
5606 arg4 = wxString_in_helper(obj3);
5607 if (arg4 == NULL) SWIG_fail;
5608 temp4 = true;
5609 }
5610 }
5611 {
5612 PyThreadState* __tstate = wxPyBeginAllowThreads();
5613 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
5614
5615 wxPyEndAllowThreads(__tstate);
5616 if (PyErr_Occurred()) SWIG_fail;
5617 }
5618 {
5619 resultobj = wxPyMake_wxObject(result, 0);
5620 }
5621 {
5622 if (temp4)
5623 delete arg4;
5624 }
5625 return resultobj;
5626 fail:
5627 {
5628 if (temp4)
5629 delete arg4;
5630 }
5631 return NULL;
5632 }
5633
5634
5635 static PyObject *_wrap_Frame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
5636 PyObject *resultobj = NULL;
5637 wxFrame *arg1 = (wxFrame *) 0 ;
5638 wxToolBar *result;
5639 PyObject * obj0 = 0 ;
5640 char *kwnames[] = {
5641 (char *) "self", NULL
5642 };
5643
5644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
5645 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5646 if (SWIG_arg_fail(1)) SWIG_fail;
5647 {
5648 PyThreadState* __tstate = wxPyBeginAllowThreads();
5649 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
5650
5651 wxPyEndAllowThreads(__tstate);
5652 if (PyErr_Occurred()) SWIG_fail;
5653 }
5654 {
5655 resultobj = wxPyMake_wxObject(result, 0);
5656 }
5657 return resultobj;
5658 fail:
5659 return NULL;
5660 }
5661
5662
5663 static PyObject *_wrap_Frame_SetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
5664 PyObject *resultobj = NULL;
5665 wxFrame *arg1 = (wxFrame *) 0 ;
5666 wxToolBar *arg2 = (wxToolBar *) 0 ;
5667 PyObject * obj0 = 0 ;
5668 PyObject * obj1 = 0 ;
5669 char *kwnames[] = {
5670 (char *) "self",(char *) "toolbar", NULL
5671 };
5672
5673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
5674 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5675 if (SWIG_arg_fail(1)) SWIG_fail;
5676 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
5677 if (SWIG_arg_fail(2)) SWIG_fail;
5678 {
5679 PyThreadState* __tstate = wxPyBeginAllowThreads();
5680 (arg1)->SetToolBar(arg2);
5681
5682 wxPyEndAllowThreads(__tstate);
5683 if (PyErr_Occurred()) SWIG_fail;
5684 }
5685 Py_INCREF(Py_None); resultobj = Py_None;
5686 return resultobj;
5687 fail:
5688 return NULL;
5689 }
5690
5691
5692 static PyObject *_wrap_Frame_DoGiveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
5693 PyObject *resultobj = NULL;
5694 wxFrame *arg1 = (wxFrame *) 0 ;
5695 wxString *arg2 = 0 ;
5696 bool arg3 ;
5697 bool temp2 = false ;
5698 PyObject * obj0 = 0 ;
5699 PyObject * obj1 = 0 ;
5700 PyObject * obj2 = 0 ;
5701 char *kwnames[] = {
5702 (char *) "self",(char *) "text",(char *) "show", NULL
5703 };
5704
5705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
5706 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5707 if (SWIG_arg_fail(1)) SWIG_fail;
5708 {
5709 arg2 = wxString_in_helper(obj1);
5710 if (arg2 == NULL) SWIG_fail;
5711 temp2 = true;
5712 }
5713 {
5714 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
5715 if (SWIG_arg_fail(3)) SWIG_fail;
5716 }
5717 {
5718 PyThreadState* __tstate = wxPyBeginAllowThreads();
5719 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
5720
5721 wxPyEndAllowThreads(__tstate);
5722 if (PyErr_Occurred()) SWIG_fail;
5723 }
5724 Py_INCREF(Py_None); resultobj = Py_None;
5725 {
5726 if (temp2)
5727 delete arg2;
5728 }
5729 return resultobj;
5730 fail:
5731 {
5732 if (temp2)
5733 delete arg2;
5734 }
5735 return NULL;
5736 }
5737
5738
5739 static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *, PyObject *args, PyObject *kwargs) {
5740 PyObject *resultobj = NULL;
5741 wxFrame *arg1 = (wxFrame *) 0 ;
5742 wxMenu *arg2 = (wxMenu *) NULL ;
5743 PyObject * obj0 = 0 ;
5744 PyObject * obj1 = 0 ;
5745 char *kwnames[] = {
5746 (char *) "self",(char *) "menu", NULL
5747 };
5748
5749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
5750 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5751 if (SWIG_arg_fail(1)) SWIG_fail;
5752 if (obj1) {
5753 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
5754 if (SWIG_arg_fail(2)) SWIG_fail;
5755 }
5756 {
5757 PyThreadState* __tstate = wxPyBeginAllowThreads();
5758 (arg1)->DoMenuUpdates(arg2);
5759
5760 wxPyEndAllowThreads(__tstate);
5761 if (PyErr_Occurred()) SWIG_fail;
5762 }
5763 Py_INCREF(Py_None); resultobj = Py_None;
5764 return resultobj;
5765 fail:
5766 return NULL;
5767 }
5768
5769
5770 static PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
5771 PyObject *resultobj = NULL;
5772 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5773 wxVisualAttributes result;
5774 PyObject * obj0 = 0 ;
5775 char *kwnames[] = {
5776 (char *) "variant", NULL
5777 };
5778
5779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5780 if (obj0) {
5781 {
5782 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
5783 if (SWIG_arg_fail(1)) SWIG_fail;
5784 }
5785 }
5786 {
5787 if (!wxPyCheckForApp()) SWIG_fail;
5788 PyThreadState* __tstate = wxPyBeginAllowThreads();
5789 result = wxFrame::GetClassDefaultAttributes(arg1);
5790
5791 wxPyEndAllowThreads(__tstate);
5792 if (PyErr_Occurred()) SWIG_fail;
5793 }
5794 {
5795 wxVisualAttributes * resultptr;
5796 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
5797 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5798 }
5799 return resultobj;
5800 fail:
5801 return NULL;
5802 }
5803
5804
5805 static PyObject * Frame_swigregister(PyObject *, PyObject *args) {
5806 PyObject *obj;
5807 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5808 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
5809 Py_INCREF(obj);
5810 return Py_BuildValue((char *)"");
5811 }
5812 static PyObject *_wrap_new_Dialog(PyObject *, PyObject *args, PyObject *kwargs) {
5813 PyObject *resultobj = NULL;
5814 wxWindow *arg1 = (wxWindow *) 0 ;
5815 int arg2 = (int) (int)-1 ;
5816 wxString const &arg3_defvalue = wxPyEmptyString ;
5817 wxString *arg3 = (wxString *) &arg3_defvalue ;
5818 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5819 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5820 wxSize const &arg5_defvalue = wxDefaultSize ;
5821 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5822 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
5823 wxString const &arg7_defvalue = wxPyDialogNameStr ;
5824 wxString *arg7 = (wxString *) &arg7_defvalue ;
5825 wxDialog *result;
5826 bool temp3 = false ;
5827 wxPoint temp4 ;
5828 wxSize temp5 ;
5829 bool temp7 = false ;
5830 PyObject * obj0 = 0 ;
5831 PyObject * obj1 = 0 ;
5832 PyObject * obj2 = 0 ;
5833 PyObject * obj3 = 0 ;
5834 PyObject * obj4 = 0 ;
5835 PyObject * obj5 = 0 ;
5836 PyObject * obj6 = 0 ;
5837 char *kwnames[] = {
5838 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5839 };
5840
5841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5842 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5843 if (SWIG_arg_fail(1)) SWIG_fail;
5844 if (obj1) {
5845 {
5846 arg2 = static_cast<int const >(SWIG_As_int(obj1));
5847 if (SWIG_arg_fail(2)) SWIG_fail;
5848 }
5849 }
5850 if (obj2) {
5851 {
5852 arg3 = wxString_in_helper(obj2);
5853 if (arg3 == NULL) SWIG_fail;
5854 temp3 = true;
5855 }
5856 }
5857 if (obj3) {
5858 {
5859 arg4 = &temp4;
5860 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5861 }
5862 }
5863 if (obj4) {
5864 {
5865 arg5 = &temp5;
5866 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5867 }
5868 }
5869 if (obj5) {
5870 {
5871 arg6 = static_cast<long >(SWIG_As_long(obj5));
5872 if (SWIG_arg_fail(6)) SWIG_fail;
5873 }
5874 }
5875 if (obj6) {
5876 {
5877 arg7 = wxString_in_helper(obj6);
5878 if (arg7 == NULL) SWIG_fail;
5879 temp7 = true;
5880 }
5881 }
5882 {
5883 if (!wxPyCheckForApp()) SWIG_fail;
5884 PyThreadState* __tstate = wxPyBeginAllowThreads();
5885 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5886
5887 wxPyEndAllowThreads(__tstate);
5888 if (PyErr_Occurred()) SWIG_fail;
5889 }
5890 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
5891 {
5892 if (temp3)
5893 delete arg3;
5894 }
5895 {
5896 if (temp7)
5897 delete arg7;
5898 }
5899 return resultobj;
5900 fail:
5901 {
5902 if (temp3)
5903 delete arg3;
5904 }
5905 {
5906 if (temp7)
5907 delete arg7;
5908 }
5909 return NULL;
5910 }
5911
5912
5913 static PyObject *_wrap_new_PreDialog(PyObject *, PyObject *args, PyObject *kwargs) {
5914 PyObject *resultobj = NULL;
5915 wxDialog *result;
5916 char *kwnames[] = {
5917 NULL
5918 };
5919
5920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
5921 {
5922 if (!wxPyCheckForApp()) SWIG_fail;
5923 PyThreadState* __tstate = wxPyBeginAllowThreads();
5924 result = (wxDialog *)new wxDialog();
5925
5926 wxPyEndAllowThreads(__tstate);
5927 if (PyErr_Occurred()) SWIG_fail;
5928 }
5929 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
5930 return resultobj;
5931 fail:
5932 return NULL;
5933 }
5934
5935
5936 static PyObject *_wrap_Dialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
5937 PyObject *resultobj = NULL;
5938 wxDialog *arg1 = (wxDialog *) 0 ;
5939 wxWindow *arg2 = (wxWindow *) 0 ;
5940 int arg3 = (int) (int)-1 ;
5941 wxString const &arg4_defvalue = wxPyEmptyString ;
5942 wxString *arg4 = (wxString *) &arg4_defvalue ;
5943 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5944 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5945 wxSize const &arg6_defvalue = wxDefaultSize ;
5946 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5947 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
5948 wxString const &arg8_defvalue = wxPyDialogNameStr ;
5949 wxString *arg8 = (wxString *) &arg8_defvalue ;
5950 bool result;
5951 bool temp4 = false ;
5952 wxPoint temp5 ;
5953 wxSize temp6 ;
5954 bool temp8 = false ;
5955 PyObject * obj0 = 0 ;
5956 PyObject * obj1 = 0 ;
5957 PyObject * obj2 = 0 ;
5958 PyObject * obj3 = 0 ;
5959 PyObject * obj4 = 0 ;
5960 PyObject * obj5 = 0 ;
5961 PyObject * obj6 = 0 ;
5962 PyObject * obj7 = 0 ;
5963 char *kwnames[] = {
5964 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5965 };
5966
5967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5968 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5969 if (SWIG_arg_fail(1)) SWIG_fail;
5970 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5971 if (SWIG_arg_fail(2)) SWIG_fail;
5972 if (obj2) {
5973 {
5974 arg3 = static_cast<int const >(SWIG_As_int(obj2));
5975 if (SWIG_arg_fail(3)) SWIG_fail;
5976 }
5977 }
5978 if (obj3) {
5979 {
5980 arg4 = wxString_in_helper(obj3);
5981 if (arg4 == NULL) SWIG_fail;
5982 temp4 = true;
5983 }
5984 }
5985 if (obj4) {
5986 {
5987 arg5 = &temp5;
5988 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5989 }
5990 }
5991 if (obj5) {
5992 {
5993 arg6 = &temp6;
5994 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5995 }
5996 }
5997 if (obj6) {
5998 {
5999 arg7 = static_cast<long >(SWIG_As_long(obj6));
6000 if (SWIG_arg_fail(7)) SWIG_fail;
6001 }
6002 }
6003 if (obj7) {
6004 {
6005 arg8 = wxString_in_helper(obj7);
6006 if (arg8 == NULL) SWIG_fail;
6007 temp8 = true;
6008 }
6009 }
6010 {
6011 PyThreadState* __tstate = wxPyBeginAllowThreads();
6012 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6013
6014 wxPyEndAllowThreads(__tstate);
6015 if (PyErr_Occurred()) SWIG_fail;
6016 }
6017 {
6018 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6019 }
6020 {
6021 if (temp4)
6022 delete arg4;
6023 }
6024 {
6025 if (temp8)
6026 delete arg8;
6027 }
6028 return resultobj;
6029 fail:
6030 {
6031 if (temp4)
6032 delete arg4;
6033 }
6034 {
6035 if (temp8)
6036 delete arg8;
6037 }
6038 return NULL;
6039 }
6040
6041
6042 static PyObject *_wrap_Dialog_SetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
6043 PyObject *resultobj = NULL;
6044 wxDialog *arg1 = (wxDialog *) 0 ;
6045 int arg2 ;
6046 PyObject * obj0 = 0 ;
6047 PyObject * obj1 = 0 ;
6048 char *kwnames[] = {
6049 (char *) "self",(char *) "returnCode", NULL
6050 };
6051
6052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
6053 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6054 if (SWIG_arg_fail(1)) SWIG_fail;
6055 {
6056 arg2 = static_cast<int >(SWIG_As_int(obj1));
6057 if (SWIG_arg_fail(2)) SWIG_fail;
6058 }
6059 {
6060 PyThreadState* __tstate = wxPyBeginAllowThreads();
6061 (arg1)->SetReturnCode(arg2);
6062
6063 wxPyEndAllowThreads(__tstate);
6064 if (PyErr_Occurred()) SWIG_fail;
6065 }
6066 Py_INCREF(Py_None); resultobj = Py_None;
6067 return resultobj;
6068 fail:
6069 return NULL;
6070 }
6071
6072
6073 static PyObject *_wrap_Dialog_GetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
6074 PyObject *resultobj = NULL;
6075 wxDialog *arg1 = (wxDialog *) 0 ;
6076 int result;
6077 PyObject * obj0 = 0 ;
6078 char *kwnames[] = {
6079 (char *) "self", NULL
6080 };
6081
6082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
6083 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6084 if (SWIG_arg_fail(1)) SWIG_fail;
6085 {
6086 PyThreadState* __tstate = wxPyBeginAllowThreads();
6087 result = (int)((wxDialog const *)arg1)->GetReturnCode();
6088
6089 wxPyEndAllowThreads(__tstate);
6090 if (PyErr_Occurred()) SWIG_fail;
6091 }
6092 {
6093 resultobj = SWIG_From_int(static_cast<int >(result));
6094 }
6095 return resultobj;
6096 fail:
6097 return NULL;
6098 }
6099
6100
6101 static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *, PyObject *args, PyObject *kwargs) {
6102 PyObject *resultobj = NULL;
6103 wxDialog *arg1 = (wxDialog *) 0 ;
6104 wxString *arg2 = 0 ;
6105 wxSizer *result;
6106 bool temp2 = false ;
6107 PyObject * obj0 = 0 ;
6108 PyObject * obj1 = 0 ;
6109 char *kwnames[] = {
6110 (char *) "self",(char *) "message", NULL
6111 };
6112
6113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
6114 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6115 if (SWIG_arg_fail(1)) SWIG_fail;
6116 {
6117 arg2 = wxString_in_helper(obj1);
6118 if (arg2 == NULL) SWIG_fail;
6119 temp2 = true;
6120 }
6121 {
6122 PyThreadState* __tstate = wxPyBeginAllowThreads();
6123 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
6124
6125 wxPyEndAllowThreads(__tstate);
6126 if (PyErr_Occurred()) SWIG_fail;
6127 }
6128 {
6129 resultobj = wxPyMake_wxObject(result, 0);
6130 }
6131 {
6132 if (temp2)
6133 delete arg2;
6134 }
6135 return resultobj;
6136 fail:
6137 {
6138 if (temp2)
6139 delete arg2;
6140 }
6141 return NULL;
6142 }
6143
6144
6145 static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) {
6146 PyObject *resultobj = NULL;
6147 wxDialog *arg1 = (wxDialog *) 0 ;
6148 long arg2 ;
6149 bool arg3 = (bool) false ;
6150 int arg4 = (int) 0 ;
6151 wxSizer *result;
6152 PyObject * obj0 = 0 ;
6153 PyObject * obj1 = 0 ;
6154 PyObject * obj2 = 0 ;
6155 PyObject * obj3 = 0 ;
6156 char *kwnames[] = {
6157 (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL
6158 };
6159
6160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6161 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6162 if (SWIG_arg_fail(1)) SWIG_fail;
6163 {
6164 arg2 = static_cast<long >(SWIG_As_long(obj1));
6165 if (SWIG_arg_fail(2)) SWIG_fail;
6166 }
6167 if (obj2) {
6168 {
6169 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
6170 if (SWIG_arg_fail(3)) SWIG_fail;
6171 }
6172 }
6173 if (obj3) {
6174 {
6175 arg4 = static_cast<int >(SWIG_As_int(obj3));
6176 if (SWIG_arg_fail(4)) SWIG_fail;
6177 }
6178 }
6179 {
6180 PyThreadState* __tstate = wxPyBeginAllowThreads();
6181 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2,arg3,arg4);
6182
6183 wxPyEndAllowThreads(__tstate);
6184 if (PyErr_Occurred()) SWIG_fail;
6185 }
6186 {
6187 resultobj = wxPyMake_wxObject(result, 0);
6188 }
6189 return resultobj;
6190 fail:
6191 return NULL;
6192 }
6193
6194
6195 static PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) {
6196 PyObject *resultobj = NULL;
6197 wxDialog *arg1 = (wxDialog *) 0 ;
6198 long arg2 ;
6199 wxStdDialogButtonSizer *result;
6200 PyObject * obj0 = 0 ;
6201 PyObject * obj1 = 0 ;
6202 char *kwnames[] = {
6203 (char *) "self",(char *) "flags", NULL
6204 };
6205
6206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) goto fail;
6207 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6208 if (SWIG_arg_fail(1)) SWIG_fail;
6209 {
6210 arg2 = static_cast<long >(SWIG_As_long(obj1));
6211 if (SWIG_arg_fail(2)) SWIG_fail;
6212 }
6213 {
6214 PyThreadState* __tstate = wxPyBeginAllowThreads();
6215 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
6216
6217 wxPyEndAllowThreads(__tstate);
6218 if (PyErr_Occurred()) SWIG_fail;
6219 }
6220 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0);
6221 return resultobj;
6222 fail:
6223 return NULL;
6224 }
6225
6226
6227 static PyObject *_wrap_Dialog_IsModal(PyObject *, PyObject *args, PyObject *kwargs) {
6228 PyObject *resultobj = NULL;
6229 wxDialog *arg1 = (wxDialog *) 0 ;
6230 bool result;
6231 PyObject * obj0 = 0 ;
6232 char *kwnames[] = {
6233 (char *) "self", NULL
6234 };
6235
6236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
6237 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6238 if (SWIG_arg_fail(1)) SWIG_fail;
6239 {
6240 PyThreadState* __tstate = wxPyBeginAllowThreads();
6241 result = (bool)((wxDialog const *)arg1)->IsModal();
6242
6243 wxPyEndAllowThreads(__tstate);
6244 if (PyErr_Occurred()) SWIG_fail;
6245 }
6246 {
6247 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6248 }
6249 return resultobj;
6250 fail:
6251 return NULL;
6252 }
6253
6254
6255 static PyObject *_wrap_Dialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
6256 PyObject *resultobj = NULL;
6257 wxDialog *arg1 = (wxDialog *) 0 ;
6258 int result;
6259 PyObject * obj0 = 0 ;
6260 char *kwnames[] = {
6261 (char *) "self", NULL
6262 };
6263
6264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
6265 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6266 if (SWIG_arg_fail(1)) SWIG_fail;
6267 {
6268 PyThreadState* __tstate = wxPyBeginAllowThreads();
6269 result = (int)(arg1)->ShowModal();
6270
6271 wxPyEndAllowThreads(__tstate);
6272 if (PyErr_Occurred()) SWIG_fail;
6273 }
6274 {
6275 resultobj = SWIG_From_int(static_cast<int >(result));
6276 }
6277 return resultobj;
6278 fail:
6279 return NULL;
6280 }
6281
6282
6283 static PyObject *_wrap_Dialog_EndModal(PyObject *, PyObject *args, PyObject *kwargs) {
6284 PyObject *resultobj = NULL;
6285 wxDialog *arg1 = (wxDialog *) 0 ;
6286 int arg2 ;
6287 PyObject * obj0 = 0 ;
6288 PyObject * obj1 = 0 ;
6289 char *kwnames[] = {
6290 (char *) "self",(char *) "retCode", NULL
6291 };
6292
6293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
6294 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6295 if (SWIG_arg_fail(1)) SWIG_fail;
6296 {
6297 arg2 = static_cast<int >(SWIG_As_int(obj1));
6298 if (SWIG_arg_fail(2)) SWIG_fail;
6299 }
6300 {
6301 PyThreadState* __tstate = wxPyBeginAllowThreads();
6302 (arg1)->EndModal(arg2);
6303
6304 wxPyEndAllowThreads(__tstate);
6305 if (PyErr_Occurred()) SWIG_fail;
6306 }
6307 Py_INCREF(Py_None); resultobj = Py_None;
6308 return resultobj;
6309 fail:
6310 return NULL;
6311 }
6312
6313
6314 static PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
6315 PyObject *resultobj = NULL;
6316 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
6317 wxVisualAttributes result;
6318 PyObject * obj0 = 0 ;
6319 char *kwnames[] = {
6320 (char *) "variant", NULL
6321 };
6322
6323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6324 if (obj0) {
6325 {
6326 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
6327 if (SWIG_arg_fail(1)) SWIG_fail;
6328 }
6329 }
6330 {
6331 if (!wxPyCheckForApp()) SWIG_fail;
6332 PyThreadState* __tstate = wxPyBeginAllowThreads();
6333 result = wxDialog::GetClassDefaultAttributes(arg1);
6334
6335 wxPyEndAllowThreads(__tstate);
6336 if (PyErr_Occurred()) SWIG_fail;
6337 }
6338 {
6339 wxVisualAttributes * resultptr;
6340 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
6341 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6342 }
6343 return resultobj;
6344 fail:
6345 return NULL;
6346 }
6347
6348
6349 static PyObject * Dialog_swigregister(PyObject *, PyObject *args) {
6350 PyObject *obj;
6351 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6352 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
6353 Py_INCREF(obj);
6354 return Py_BuildValue((char *)"");
6355 }
6356 static PyObject *_wrap_new_MiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
6357 PyObject *resultobj = NULL;
6358 wxWindow *arg1 = (wxWindow *) 0 ;
6359 int arg2 = (int) (int)-1 ;
6360 wxString const &arg3_defvalue = wxPyEmptyString ;
6361 wxString *arg3 = (wxString *) &arg3_defvalue ;
6362 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6363 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6364 wxSize const &arg5_defvalue = wxDefaultSize ;
6365 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6366 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
6367 wxString const &arg7_defvalue = wxPyFrameNameStr ;
6368 wxString *arg7 = (wxString *) &arg7_defvalue ;
6369 wxMiniFrame *result;
6370 bool temp3 = false ;
6371 wxPoint temp4 ;
6372 wxSize temp5 ;
6373 bool temp7 = false ;
6374 PyObject * obj0 = 0 ;
6375 PyObject * obj1 = 0 ;
6376 PyObject * obj2 = 0 ;
6377 PyObject * obj3 = 0 ;
6378 PyObject * obj4 = 0 ;
6379 PyObject * obj5 = 0 ;
6380 PyObject * obj6 = 0 ;
6381 char *kwnames[] = {
6382 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6383 };
6384
6385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6386 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6387 if (SWIG_arg_fail(1)) SWIG_fail;
6388 if (obj1) {
6389 {
6390 arg2 = static_cast<int const >(SWIG_As_int(obj1));
6391 if (SWIG_arg_fail(2)) SWIG_fail;
6392 }
6393 }
6394 if (obj2) {
6395 {
6396 arg3 = wxString_in_helper(obj2);
6397 if (arg3 == NULL) SWIG_fail;
6398 temp3 = true;
6399 }
6400 }
6401 if (obj3) {
6402 {
6403 arg4 = &temp4;
6404 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6405 }
6406 }
6407 if (obj4) {
6408 {
6409 arg5 = &temp5;
6410 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6411 }
6412 }
6413 if (obj5) {
6414 {
6415 arg6 = static_cast<long >(SWIG_As_long(obj5));
6416 if (SWIG_arg_fail(6)) SWIG_fail;
6417 }
6418 }
6419 if (obj6) {
6420 {
6421 arg7 = wxString_in_helper(obj6);
6422 if (arg7 == NULL) SWIG_fail;
6423 temp7 = true;
6424 }
6425 }
6426 {
6427 if (!wxPyCheckForApp()) SWIG_fail;
6428 PyThreadState* __tstate = wxPyBeginAllowThreads();
6429 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6430
6431 wxPyEndAllowThreads(__tstate);
6432 if (PyErr_Occurred()) SWIG_fail;
6433 }
6434 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
6435 {
6436 if (temp3)
6437 delete arg3;
6438 }
6439 {
6440 if (temp7)
6441 delete arg7;
6442 }
6443 return resultobj;
6444 fail:
6445 {
6446 if (temp3)
6447 delete arg3;
6448 }
6449 {
6450 if (temp7)
6451 delete arg7;
6452 }
6453 return NULL;
6454 }
6455
6456
6457 static PyObject *_wrap_new_PreMiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
6458 PyObject *resultobj = NULL;
6459 wxMiniFrame *result;
6460 char *kwnames[] = {
6461 NULL
6462 };
6463
6464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
6465 {
6466 if (!wxPyCheckForApp()) SWIG_fail;
6467 PyThreadState* __tstate = wxPyBeginAllowThreads();
6468 result = (wxMiniFrame *)new wxMiniFrame();
6469
6470 wxPyEndAllowThreads(__tstate);
6471 if (PyErr_Occurred()) SWIG_fail;
6472 }
6473 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
6474 return resultobj;
6475 fail:
6476 return NULL;
6477 }
6478
6479
6480 static PyObject *_wrap_MiniFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6481 PyObject *resultobj = NULL;
6482 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
6483 wxWindow *arg2 = (wxWindow *) 0 ;
6484 int arg3 = (int) (int)-1 ;
6485 wxString const &arg4_defvalue = wxPyEmptyString ;
6486 wxString *arg4 = (wxString *) &arg4_defvalue ;
6487 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6488 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6489 wxSize const &arg6_defvalue = wxDefaultSize ;
6490 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6491 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6492 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6493 wxString *arg8 = (wxString *) &arg8_defvalue ;
6494 bool result;
6495 bool temp4 = false ;
6496 wxPoint temp5 ;
6497 wxSize temp6 ;
6498 bool temp8 = false ;
6499 PyObject * obj0 = 0 ;
6500 PyObject * obj1 = 0 ;
6501 PyObject * obj2 = 0 ;
6502 PyObject * obj3 = 0 ;
6503 PyObject * obj4 = 0 ;
6504 PyObject * obj5 = 0 ;
6505 PyObject * obj6 = 0 ;
6506 PyObject * obj7 = 0 ;
6507 char *kwnames[] = {
6508 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6509 };
6510
6511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6512 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_EXCEPTION | 0);
6513 if (SWIG_arg_fail(1)) SWIG_fail;
6514 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6515 if (SWIG_arg_fail(2)) SWIG_fail;
6516 if (obj2) {
6517 {
6518 arg3 = static_cast<int const >(SWIG_As_int(obj2));
6519 if (SWIG_arg_fail(3)) SWIG_fail;
6520 }
6521 }
6522 if (obj3) {
6523 {
6524 arg4 = wxString_in_helper(obj3);
6525 if (arg4 == NULL) SWIG_fail;
6526 temp4 = true;
6527 }
6528 }
6529 if (obj4) {
6530 {
6531 arg5 = &temp5;
6532 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6533 }
6534 }
6535 if (obj5) {
6536 {
6537 arg6 = &temp6;
6538 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6539 }
6540 }
6541 if (obj6) {
6542 {
6543 arg7 = static_cast<long >(SWIG_As_long(obj6));
6544 if (SWIG_arg_fail(7)) SWIG_fail;
6545 }
6546 }
6547 if (obj7) {
6548 {
6549 arg8 = wxString_in_helper(obj7);
6550 if (arg8 == NULL) SWIG_fail;
6551 temp8 = true;
6552 }
6553 }
6554 {
6555 PyThreadState* __tstate = wxPyBeginAllowThreads();
6556 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6557
6558 wxPyEndAllowThreads(__tstate);
6559 if (PyErr_Occurred()) SWIG_fail;
6560 }
6561 {
6562 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6563 }
6564 {
6565 if (temp4)
6566 delete arg4;
6567 }
6568 {
6569 if (temp8)
6570 delete arg8;
6571 }
6572 return resultobj;
6573 fail:
6574 {
6575 if (temp4)
6576 delete arg4;
6577 }
6578 {
6579 if (temp8)
6580 delete arg8;
6581 }
6582 return NULL;
6583 }
6584
6585
6586 static PyObject * MiniFrame_swigregister(PyObject *, PyObject *args) {
6587 PyObject *obj;
6588 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6589 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
6590 Py_INCREF(obj);
6591 return Py_BuildValue((char *)"");
6592 }
6593 static PyObject *_wrap_new_SplashScreenWindow(PyObject *, PyObject *args, PyObject *kwargs) {
6594 PyObject *resultobj = NULL;
6595 wxBitmap *arg1 = 0 ;
6596 wxWindow *arg2 = (wxWindow *) 0 ;
6597 int arg3 ;
6598 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6599 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6600 wxSize const &arg5_defvalue = wxDefaultSize ;
6601 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6602 long arg6 = (long) wxNO_BORDER ;
6603 wxSplashScreenWindow *result;
6604 wxPoint temp4 ;
6605 wxSize temp5 ;
6606 PyObject * obj0 = 0 ;
6607 PyObject * obj1 = 0 ;
6608 PyObject * obj2 = 0 ;
6609 PyObject * obj3 = 0 ;
6610 PyObject * obj4 = 0 ;
6611 PyObject * obj5 = 0 ;
6612 char *kwnames[] = {
6613 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6614 };
6615
6616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
6617 {
6618 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6619 if (SWIG_arg_fail(1)) SWIG_fail;
6620 if (arg1 == NULL) {
6621 SWIG_null_ref("wxBitmap");
6622 }
6623 if (SWIG_arg_fail(1)) SWIG_fail;
6624 }
6625 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6626 if (SWIG_arg_fail(2)) SWIG_fail;
6627 {
6628 arg3 = static_cast<int >(SWIG_As_int(obj2));
6629 if (SWIG_arg_fail(3)) SWIG_fail;
6630 }
6631 if (obj3) {
6632 {
6633 arg4 = &temp4;
6634 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6635 }
6636 }
6637 if (obj4) {
6638 {
6639 arg5 = &temp5;
6640 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6641 }
6642 }
6643 if (obj5) {
6644 {
6645 arg6 = static_cast<long >(SWIG_As_long(obj5));
6646 if (SWIG_arg_fail(6)) SWIG_fail;
6647 }
6648 }
6649 {
6650 if (!wxPyCheckForApp()) SWIG_fail;
6651 PyThreadState* __tstate = wxPyBeginAllowThreads();
6652 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
6653
6654 wxPyEndAllowThreads(__tstate);
6655 if (PyErr_Occurred()) SWIG_fail;
6656 }
6657 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1);
6658 return resultobj;
6659 fail:
6660 return NULL;
6661 }
6662
6663
6664 static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
6665 PyObject *resultobj = NULL;
6666 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
6667 wxBitmap *arg2 = 0 ;
6668 PyObject * obj0 = 0 ;
6669 PyObject * obj1 = 0 ;
6670 char *kwnames[] = {
6671 (char *) "self",(char *) "bitmap", NULL
6672 };
6673
6674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
6675 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_EXCEPTION | 0);
6676 if (SWIG_arg_fail(1)) SWIG_fail;
6677 {
6678 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6679 if (SWIG_arg_fail(2)) SWIG_fail;
6680 if (arg2 == NULL) {
6681 SWIG_null_ref("wxBitmap");
6682 }
6683 if (SWIG_arg_fail(2)) SWIG_fail;
6684 }
6685 {
6686 PyThreadState* __tstate = wxPyBeginAllowThreads();
6687 (arg1)->SetBitmap((wxBitmap const &)*arg2);
6688
6689 wxPyEndAllowThreads(__tstate);
6690 if (PyErr_Occurred()) SWIG_fail;
6691 }
6692 Py_INCREF(Py_None); resultobj = Py_None;
6693 return resultobj;
6694 fail:
6695 return NULL;
6696 }
6697
6698
6699 static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
6700 PyObject *resultobj = NULL;
6701 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
6702 wxBitmap *result;
6703 PyObject * obj0 = 0 ;
6704 char *kwnames[] = {
6705 (char *) "self", NULL
6706 };
6707
6708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
6709 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_EXCEPTION | 0);
6710 if (SWIG_arg_fail(1)) SWIG_fail;
6711 {
6712 PyThreadState* __tstate = wxPyBeginAllowThreads();
6713 {
6714 wxBitmap &_result_ref = (arg1)->GetBitmap();
6715 result = (wxBitmap *) &_result_ref;
6716 }
6717
6718 wxPyEndAllowThreads(__tstate);
6719 if (PyErr_Occurred()) SWIG_fail;
6720 }
6721 {
6722 wxBitmap* resultptr = new wxBitmap(*result);
6723 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
6724 }
6725 return resultobj;
6726 fail:
6727 return NULL;
6728 }
6729
6730
6731 static PyObject * SplashScreenWindow_swigregister(PyObject *, PyObject *args) {
6732 PyObject *obj;
6733 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6734 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
6735 Py_INCREF(obj);
6736 return Py_BuildValue((char *)"");
6737 }
6738 static PyObject *_wrap_new_SplashScreen(PyObject *, PyObject *args, PyObject *kwargs) {
6739 PyObject *resultobj = NULL;
6740 wxBitmap *arg1 = 0 ;
6741 long arg2 ;
6742 int arg3 ;
6743 wxWindow *arg4 = (wxWindow *) 0 ;
6744 int arg5 = (int) -1 ;
6745 wxPoint const &arg6_defvalue = wxDefaultPosition ;
6746 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
6747 wxSize const &arg7_defvalue = wxDefaultSize ;
6748 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
6749 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
6750 wxSplashScreen *result;
6751 wxPoint temp6 ;
6752 wxSize temp7 ;
6753 PyObject * obj0 = 0 ;
6754 PyObject * obj1 = 0 ;
6755 PyObject * obj2 = 0 ;
6756 PyObject * obj3 = 0 ;
6757 PyObject * obj4 = 0 ;
6758 PyObject * obj5 = 0 ;
6759 PyObject * obj6 = 0 ;
6760 PyObject * obj7 = 0 ;
6761 char *kwnames[] = {
6762 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6763 };
6764
6765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6766 {
6767 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6768 if (SWIG_arg_fail(1)) SWIG_fail;
6769 if (arg1 == NULL) {
6770 SWIG_null_ref("wxBitmap");
6771 }
6772 if (SWIG_arg_fail(1)) SWIG_fail;
6773 }
6774 {
6775 arg2 = static_cast<long >(SWIG_As_long(obj1));
6776 if (SWIG_arg_fail(2)) SWIG_fail;
6777 }
6778 {
6779 arg3 = static_cast<int >(SWIG_As_int(obj2));
6780 if (SWIG_arg_fail(3)) SWIG_fail;
6781 }
6782 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6783 if (SWIG_arg_fail(4)) SWIG_fail;
6784 if (obj4) {
6785 {
6786 arg5 = static_cast<int >(SWIG_As_int(obj4));
6787 if (SWIG_arg_fail(5)) SWIG_fail;
6788 }
6789 }
6790 if (obj5) {
6791 {
6792 arg6 = &temp6;
6793 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
6794 }
6795 }
6796 if (obj6) {
6797 {
6798 arg7 = &temp7;
6799 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
6800 }
6801 }
6802 if (obj7) {
6803 {
6804 arg8 = static_cast<long >(SWIG_As_long(obj7));
6805 if (SWIG_arg_fail(8)) SWIG_fail;
6806 }
6807 }
6808 {
6809 if (!wxPyCheckForApp()) SWIG_fail;
6810 PyThreadState* __tstate = wxPyBeginAllowThreads();
6811 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
6812
6813 wxPyEndAllowThreads(__tstate);
6814 if (PyErr_Occurred()) SWIG_fail;
6815 }
6816 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1);
6817 return resultobj;
6818 fail:
6819 return NULL;
6820 }
6821
6822
6823 static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *, PyObject *args, PyObject *kwargs) {
6824 PyObject *resultobj = NULL;
6825 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
6826 long result;
6827 PyObject * obj0 = 0 ;
6828 char *kwnames[] = {
6829 (char *) "self", NULL
6830 };
6831
6832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
6833 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0);
6834 if (SWIG_arg_fail(1)) SWIG_fail;
6835 {
6836 PyThreadState* __tstate = wxPyBeginAllowThreads();
6837 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
6838
6839 wxPyEndAllowThreads(__tstate);
6840 if (PyErr_Occurred()) SWIG_fail;
6841 }
6842 {
6843 resultobj = SWIG_From_long(static_cast<long >(result));
6844 }
6845 return resultobj;
6846 fail:
6847 return NULL;
6848 }
6849
6850
6851 static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
6852 PyObject *resultobj = NULL;
6853 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
6854 wxSplashScreenWindow *result;
6855 PyObject * obj0 = 0 ;
6856 char *kwnames[] = {
6857 (char *) "self", NULL
6858 };
6859
6860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
6861 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0);
6862 if (SWIG_arg_fail(1)) SWIG_fail;
6863 {
6864 PyThreadState* __tstate = wxPyBeginAllowThreads();
6865 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
6866
6867 wxPyEndAllowThreads(__tstate);
6868 if (PyErr_Occurred()) SWIG_fail;
6869 }
6870 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0);
6871 return resultobj;
6872 fail:
6873 return NULL;
6874 }
6875
6876
6877 static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *, PyObject *args, PyObject *kwargs) {
6878 PyObject *resultobj = NULL;
6879 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
6880 int result;
6881 PyObject * obj0 = 0 ;
6882 char *kwnames[] = {
6883 (char *) "self", NULL
6884 };
6885
6886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
6887 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0);
6888 if (SWIG_arg_fail(1)) SWIG_fail;
6889 {
6890 PyThreadState* __tstate = wxPyBeginAllowThreads();
6891 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
6892
6893 wxPyEndAllowThreads(__tstate);
6894 if (PyErr_Occurred()) SWIG_fail;
6895 }
6896 {
6897 resultobj = SWIG_From_int(static_cast<int >(result));
6898 }
6899 return resultobj;
6900 fail:
6901 return NULL;
6902 }
6903
6904
6905 static PyObject * SplashScreen_swigregister(PyObject *, PyObject *args) {
6906 PyObject *obj;
6907 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6908 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
6909 Py_INCREF(obj);
6910 return Py_BuildValue((char *)"");
6911 }
6912 static PyObject *_wrap_new_StatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
6913 PyObject *resultobj = NULL;
6914 wxWindow *arg1 = (wxWindow *) 0 ;
6915 int arg2 = (int) -1 ;
6916 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
6917 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
6918 wxString *arg4 = (wxString *) &arg4_defvalue ;
6919 wxStatusBar *result;
6920 bool temp4 = false ;
6921 PyObject * obj0 = 0 ;
6922 PyObject * obj1 = 0 ;
6923 PyObject * obj2 = 0 ;
6924 PyObject * obj3 = 0 ;
6925 char *kwnames[] = {
6926 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6927 };
6928
6929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6930 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6931 if (SWIG_arg_fail(1)) SWIG_fail;
6932 if (obj1) {
6933 {
6934 arg2 = static_cast<int >(SWIG_As_int(obj1));
6935 if (SWIG_arg_fail(2)) SWIG_fail;
6936 }
6937 }
6938 if (obj2) {
6939 {
6940 arg3 = static_cast<long >(SWIG_As_long(obj2));
6941 if (SWIG_arg_fail(3)) SWIG_fail;
6942 }
6943 }
6944 if (obj3) {
6945 {
6946 arg4 = wxString_in_helper(obj3);
6947 if (arg4 == NULL) SWIG_fail;
6948 temp4 = true;
6949 }
6950 }
6951 {
6952 if (!wxPyCheckForApp()) SWIG_fail;
6953 PyThreadState* __tstate = wxPyBeginAllowThreads();
6954 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
6955
6956 wxPyEndAllowThreads(__tstate);
6957 if (PyErr_Occurred()) SWIG_fail;
6958 }
6959 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
6960 {
6961 if (temp4)
6962 delete arg4;
6963 }
6964 return resultobj;
6965 fail:
6966 {
6967 if (temp4)
6968 delete arg4;
6969 }
6970 return NULL;
6971 }
6972
6973
6974 static PyObject *_wrap_new_PreStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
6975 PyObject *resultobj = NULL;
6976 wxStatusBar *result;
6977 char *kwnames[] = {
6978 NULL
6979 };
6980
6981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
6982 {
6983 if (!wxPyCheckForApp()) SWIG_fail;
6984 PyThreadState* __tstate = wxPyBeginAllowThreads();
6985 result = (wxStatusBar *)new wxStatusBar();
6986
6987 wxPyEndAllowThreads(__tstate);
6988 if (PyErr_Occurred()) SWIG_fail;
6989 }
6990 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
6991 return resultobj;
6992 fail:
6993 return NULL;
6994 }
6995
6996
6997 static PyObject *_wrap_StatusBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6998 PyObject *resultobj = NULL;
6999 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7000 wxWindow *arg2 = (wxWindow *) 0 ;
7001 int arg3 = (int) -1 ;
7002 long arg4 = (long) wxST_SIZEGRIP ;
7003 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
7004 wxString *arg5 = (wxString *) &arg5_defvalue ;
7005 bool result;
7006 bool temp5 = false ;
7007 PyObject * obj0 = 0 ;
7008 PyObject * obj1 = 0 ;
7009 PyObject * obj2 = 0 ;
7010 PyObject * obj3 = 0 ;
7011 PyObject * obj4 = 0 ;
7012 char *kwnames[] = {
7013 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
7014 };
7015
7016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
7017 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7018 if (SWIG_arg_fail(1)) SWIG_fail;
7019 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7020 if (SWIG_arg_fail(2)) SWIG_fail;
7021 if (obj2) {
7022 {
7023 arg3 = static_cast<int >(SWIG_As_int(obj2));
7024 if (SWIG_arg_fail(3)) SWIG_fail;
7025 }
7026 }
7027 if (obj3) {
7028 {
7029 arg4 = static_cast<long >(SWIG_As_long(obj3));
7030 if (SWIG_arg_fail(4)) SWIG_fail;
7031 }
7032 }
7033 if (obj4) {
7034 {
7035 arg5 = wxString_in_helper(obj4);
7036 if (arg5 == NULL) SWIG_fail;
7037 temp5 = true;
7038 }
7039 }
7040 {
7041 PyThreadState* __tstate = wxPyBeginAllowThreads();
7042 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
7043
7044 wxPyEndAllowThreads(__tstate);
7045 if (PyErr_Occurred()) SWIG_fail;
7046 }
7047 {
7048 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7049 }
7050 {
7051 if (temp5)
7052 delete arg5;
7053 }
7054 return resultobj;
7055 fail:
7056 {
7057 if (temp5)
7058 delete arg5;
7059 }
7060 return NULL;
7061 }
7062
7063
7064 static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
7065 PyObject *resultobj = NULL;
7066 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7067 int arg2 = (int) 1 ;
7068 PyObject * obj0 = 0 ;
7069 PyObject * obj1 = 0 ;
7070 char *kwnames[] = {
7071 (char *) "self",(char *) "number", NULL
7072 };
7073
7074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
7075 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7076 if (SWIG_arg_fail(1)) SWIG_fail;
7077 if (obj1) {
7078 {
7079 arg2 = static_cast<int >(SWIG_As_int(obj1));
7080 if (SWIG_arg_fail(2)) SWIG_fail;
7081 }
7082 }
7083 {
7084 PyThreadState* __tstate = wxPyBeginAllowThreads();
7085 (arg1)->SetFieldsCount(arg2);
7086
7087 wxPyEndAllowThreads(__tstate);
7088 if (PyErr_Occurred()) SWIG_fail;
7089 }
7090 Py_INCREF(Py_None); resultobj = Py_None;
7091 return resultobj;
7092 fail:
7093 return NULL;
7094 }
7095
7096
7097 static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
7098 PyObject *resultobj = NULL;
7099 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7100 int result;
7101 PyObject * obj0 = 0 ;
7102 char *kwnames[] = {
7103 (char *) "self", NULL
7104 };
7105
7106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
7107 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7108 if (SWIG_arg_fail(1)) SWIG_fail;
7109 {
7110 PyThreadState* __tstate = wxPyBeginAllowThreads();
7111 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
7112
7113 wxPyEndAllowThreads(__tstate);
7114 if (PyErr_Occurred()) SWIG_fail;
7115 }
7116 {
7117 resultobj = SWIG_From_int(static_cast<int >(result));
7118 }
7119 return resultobj;
7120 fail:
7121 return NULL;
7122 }
7123
7124
7125 static PyObject *_wrap_StatusBar_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
7126 PyObject *resultobj = NULL;
7127 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7128 wxString *arg2 = 0 ;
7129 int arg3 = (int) 0 ;
7130 bool temp2 = false ;
7131 PyObject * obj0 = 0 ;
7132 PyObject * obj1 = 0 ;
7133 PyObject * obj2 = 0 ;
7134 char *kwnames[] = {
7135 (char *) "self",(char *) "text",(char *) "number", NULL
7136 };
7137
7138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
7139 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7140 if (SWIG_arg_fail(1)) SWIG_fail;
7141 {
7142 arg2 = wxString_in_helper(obj1);
7143 if (arg2 == NULL) SWIG_fail;
7144 temp2 = true;
7145 }
7146 if (obj2) {
7147 {
7148 arg3 = static_cast<int >(SWIG_As_int(obj2));
7149 if (SWIG_arg_fail(3)) SWIG_fail;
7150 }
7151 }
7152 {
7153 PyThreadState* __tstate = wxPyBeginAllowThreads();
7154 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
7155
7156 wxPyEndAllowThreads(__tstate);
7157 if (PyErr_Occurred()) SWIG_fail;
7158 }
7159 Py_INCREF(Py_None); resultobj = Py_None;
7160 {
7161 if (temp2)
7162 delete arg2;
7163 }
7164 return resultobj;
7165 fail:
7166 {
7167 if (temp2)
7168 delete arg2;
7169 }
7170 return NULL;
7171 }
7172
7173
7174 static PyObject *_wrap_StatusBar_GetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
7175 PyObject *resultobj = NULL;
7176 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7177 int arg2 = (int) 0 ;
7178 wxString result;
7179 PyObject * obj0 = 0 ;
7180 PyObject * obj1 = 0 ;
7181 char *kwnames[] = {
7182 (char *) "self",(char *) "number", NULL
7183 };
7184
7185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail;
7186 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7187 if (SWIG_arg_fail(1)) SWIG_fail;
7188 if (obj1) {
7189 {
7190 arg2 = static_cast<int >(SWIG_As_int(obj1));
7191 if (SWIG_arg_fail(2)) SWIG_fail;
7192 }
7193 }
7194 {
7195 PyThreadState* __tstate = wxPyBeginAllowThreads();
7196 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
7197
7198 wxPyEndAllowThreads(__tstate);
7199 if (PyErr_Occurred()) SWIG_fail;
7200 }
7201 {
7202 #if wxUSE_UNICODE
7203 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7204 #else
7205 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7206 #endif
7207 }
7208 return resultobj;
7209 fail:
7210 return NULL;
7211 }
7212
7213
7214 static PyObject *_wrap_StatusBar_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
7215 PyObject *resultobj = NULL;
7216 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7217 wxString *arg2 = 0 ;
7218 int arg3 = (int) 0 ;
7219 bool temp2 = false ;
7220 PyObject * obj0 = 0 ;
7221 PyObject * obj1 = 0 ;
7222 PyObject * obj2 = 0 ;
7223 char *kwnames[] = {
7224 (char *) "self",(char *) "text",(char *) "number", NULL
7225 };
7226
7227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
7228 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7229 if (SWIG_arg_fail(1)) SWIG_fail;
7230 {
7231 arg2 = wxString_in_helper(obj1);
7232 if (arg2 == NULL) SWIG_fail;
7233 temp2 = true;
7234 }
7235 if (obj2) {
7236 {
7237 arg3 = static_cast<int >(SWIG_As_int(obj2));
7238 if (SWIG_arg_fail(3)) SWIG_fail;
7239 }
7240 }
7241 {
7242 PyThreadState* __tstate = wxPyBeginAllowThreads();
7243 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
7244
7245 wxPyEndAllowThreads(__tstate);
7246 if (PyErr_Occurred()) SWIG_fail;
7247 }
7248 Py_INCREF(Py_None); resultobj = Py_None;
7249 {
7250 if (temp2)
7251 delete arg2;
7252 }
7253 return resultobj;
7254 fail:
7255 {
7256 if (temp2)
7257 delete arg2;
7258 }
7259 return NULL;
7260 }
7261
7262
7263 static PyObject *_wrap_StatusBar_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
7264 PyObject *resultobj = NULL;
7265 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7266 int arg2 = (int) 0 ;
7267 PyObject * obj0 = 0 ;
7268 PyObject * obj1 = 0 ;
7269 char *kwnames[] = {
7270 (char *) "self",(char *) "number", NULL
7271 };
7272
7273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
7274 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7275 if (SWIG_arg_fail(1)) SWIG_fail;
7276 if (obj1) {
7277 {
7278 arg2 = static_cast<int >(SWIG_As_int(obj1));
7279 if (SWIG_arg_fail(2)) SWIG_fail;
7280 }
7281 }
7282 {
7283 PyThreadState* __tstate = wxPyBeginAllowThreads();
7284 (arg1)->PopStatusText(arg2);
7285
7286 wxPyEndAllowThreads(__tstate);
7287 if (PyErr_Occurred()) SWIG_fail;
7288 }
7289 Py_INCREF(Py_None); resultobj = Py_None;
7290 return resultobj;
7291 fail:
7292 return NULL;
7293 }
7294
7295
7296 static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
7297 PyObject *resultobj = NULL;
7298 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7299 int arg2 ;
7300 int *arg3 = (int *) 0 ;
7301 PyObject * obj0 = 0 ;
7302 PyObject * obj1 = 0 ;
7303 char *kwnames[] = {
7304 (char *) "self",(char *) "widths", NULL
7305 };
7306
7307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
7308 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7309 if (SWIG_arg_fail(1)) SWIG_fail;
7310 {
7311 arg2 = PyList_Size(obj1);
7312 arg3 = int_LIST_helper(obj1);
7313 if (arg3 == NULL) SWIG_fail;
7314 }
7315 {
7316 PyThreadState* __tstate = wxPyBeginAllowThreads();
7317 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
7318
7319 wxPyEndAllowThreads(__tstate);
7320 if (PyErr_Occurred()) SWIG_fail;
7321 }
7322 Py_INCREF(Py_None); resultobj = Py_None;
7323 {
7324 if (arg3) delete [] arg3;
7325 }
7326 return resultobj;
7327 fail:
7328 {
7329 if (arg3) delete [] arg3;
7330 }
7331 return NULL;
7332 }
7333
7334
7335 static PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *, PyObject *args, PyObject *kwargs) {
7336 PyObject *resultobj = NULL;
7337 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7338 int arg2 ;
7339 int *arg3 = (int *) 0 ;
7340 PyObject * obj0 = 0 ;
7341 PyObject * obj1 = 0 ;
7342 char *kwnames[] = {
7343 (char *) "self",(char *) "styles", NULL
7344 };
7345
7346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) goto fail;
7347 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7348 if (SWIG_arg_fail(1)) SWIG_fail;
7349 {
7350 arg2 = PyList_Size(obj1);
7351 arg3 = int_LIST_helper(obj1);
7352 if (arg3 == NULL) SWIG_fail;
7353 }
7354 {
7355 PyThreadState* __tstate = wxPyBeginAllowThreads();
7356 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
7357
7358 wxPyEndAllowThreads(__tstate);
7359 if (PyErr_Occurred()) SWIG_fail;
7360 }
7361 Py_INCREF(Py_None); resultobj = Py_None;
7362 {
7363 if (arg3) delete [] arg3;
7364 }
7365 return resultobj;
7366 fail:
7367 {
7368 if (arg3) delete [] arg3;
7369 }
7370 return NULL;
7371 }
7372
7373
7374 static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *, PyObject *args, PyObject *kwargs) {
7375 PyObject *resultobj = NULL;
7376 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7377 int arg2 ;
7378 wxRect result;
7379 PyObject * obj0 = 0 ;
7380 PyObject * obj1 = 0 ;
7381 char *kwnames[] = {
7382 (char *) "self",(char *) "i", NULL
7383 };
7384
7385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
7386 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7387 if (SWIG_arg_fail(1)) SWIG_fail;
7388 {
7389 arg2 = static_cast<int >(SWIG_As_int(obj1));
7390 if (SWIG_arg_fail(2)) SWIG_fail;
7391 }
7392 {
7393 PyThreadState* __tstate = wxPyBeginAllowThreads();
7394 result = wxStatusBar_GetFieldRect(arg1,arg2);
7395
7396 wxPyEndAllowThreads(__tstate);
7397 if (PyErr_Occurred()) SWIG_fail;
7398 }
7399 {
7400 wxRect * resultptr;
7401 resultptr = new wxRect(static_cast<wxRect & >(result));
7402 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7403 }
7404 return resultobj;
7405 fail:
7406 return NULL;
7407 }
7408
7409
7410 static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) {
7411 PyObject *resultobj = NULL;
7412 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7413 int arg2 ;
7414 PyObject * obj0 = 0 ;
7415 PyObject * obj1 = 0 ;
7416 char *kwnames[] = {
7417 (char *) "self",(char *) "height", NULL
7418 };
7419
7420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
7421 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7422 if (SWIG_arg_fail(1)) SWIG_fail;
7423 {
7424 arg2 = static_cast<int >(SWIG_As_int(obj1));
7425 if (SWIG_arg_fail(2)) SWIG_fail;
7426 }
7427 {
7428 PyThreadState* __tstate = wxPyBeginAllowThreads();
7429 (arg1)->SetMinHeight(arg2);
7430
7431 wxPyEndAllowThreads(__tstate);
7432 if (PyErr_Occurred()) SWIG_fail;
7433 }
7434 Py_INCREF(Py_None); resultobj = Py_None;
7435 return resultobj;
7436 fail:
7437 return NULL;
7438 }
7439
7440
7441 static PyObject *_wrap_StatusBar_GetBorderX(PyObject *, PyObject *args, PyObject *kwargs) {
7442 PyObject *resultobj = NULL;
7443 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7444 int result;
7445 PyObject * obj0 = 0 ;
7446 char *kwnames[] = {
7447 (char *) "self", NULL
7448 };
7449
7450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
7451 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7452 if (SWIG_arg_fail(1)) SWIG_fail;
7453 {
7454 PyThreadState* __tstate = wxPyBeginAllowThreads();
7455 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
7456
7457 wxPyEndAllowThreads(__tstate);
7458 if (PyErr_Occurred()) SWIG_fail;
7459 }
7460 {
7461 resultobj = SWIG_From_int(static_cast<int >(result));
7462 }
7463 return resultobj;
7464 fail:
7465 return NULL;
7466 }
7467
7468
7469 static PyObject *_wrap_StatusBar_GetBorderY(PyObject *, PyObject *args, PyObject *kwargs) {
7470 PyObject *resultobj = NULL;
7471 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7472 int result;
7473 PyObject * obj0 = 0 ;
7474 char *kwnames[] = {
7475 (char *) "self", NULL
7476 };
7477
7478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
7479 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7480 if (SWIG_arg_fail(1)) SWIG_fail;
7481 {
7482 PyThreadState* __tstate = wxPyBeginAllowThreads();
7483 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
7484
7485 wxPyEndAllowThreads(__tstate);
7486 if (PyErr_Occurred()) SWIG_fail;
7487 }
7488 {
7489 resultobj = SWIG_From_int(static_cast<int >(result));
7490 }
7491 return resultobj;
7492 fail:
7493 return NULL;
7494 }
7495
7496
7497 static PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7498 PyObject *resultobj = NULL;
7499 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7500 wxVisualAttributes result;
7501 PyObject * obj0 = 0 ;
7502 char *kwnames[] = {
7503 (char *) "variant", NULL
7504 };
7505
7506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
7507 if (obj0) {
7508 {
7509 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
7510 if (SWIG_arg_fail(1)) SWIG_fail;
7511 }
7512 }
7513 {
7514 if (!wxPyCheckForApp()) SWIG_fail;
7515 PyThreadState* __tstate = wxPyBeginAllowThreads();
7516 result = wxStatusBar::GetClassDefaultAttributes(arg1);
7517
7518 wxPyEndAllowThreads(__tstate);
7519 if (PyErr_Occurred()) SWIG_fail;
7520 }
7521 {
7522 wxVisualAttributes * resultptr;
7523 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
7524 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
7525 }
7526 return resultobj;
7527 fail:
7528 return NULL;
7529 }
7530
7531
7532 static PyObject * StatusBar_swigregister(PyObject *, PyObject *args) {
7533 PyObject *obj;
7534 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7535 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
7536 Py_INCREF(obj);
7537 return Py_BuildValue((char *)"");
7538 }
7539 static int _wrap_SplitterNameStr_set(PyObject *) {
7540 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
7541 return 1;
7542 }
7543
7544
7545 static PyObject *_wrap_SplitterNameStr_get(void) {
7546 PyObject *pyobj = NULL;
7547
7548 {
7549 #if wxUSE_UNICODE
7550 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
7551 #else
7552 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
7553 #endif
7554 }
7555 return pyobj;
7556 }
7557
7558
7559 static PyObject *_wrap_new_SplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7560 PyObject *resultobj = NULL;
7561 wxWindow *arg1 = (wxWindow *) 0 ;
7562 int arg2 = (int) -1 ;
7563 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7564 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7565 wxSize const &arg4_defvalue = wxDefaultSize ;
7566 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7567 long arg5 = (long) wxSP_3D ;
7568 wxString const &arg6_defvalue = wxPySplitterNameStr ;
7569 wxString *arg6 = (wxString *) &arg6_defvalue ;
7570 wxSplitterWindow *result;
7571 wxPoint temp3 ;
7572 wxSize temp4 ;
7573 bool temp6 = false ;
7574 PyObject * obj0 = 0 ;
7575 PyObject * obj1 = 0 ;
7576 PyObject * obj2 = 0 ;
7577 PyObject * obj3 = 0 ;
7578 PyObject * obj4 = 0 ;
7579 PyObject * obj5 = 0 ;
7580 char *kwnames[] = {
7581 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7582 };
7583
7584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
7585 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7586 if (SWIG_arg_fail(1)) SWIG_fail;
7587 if (obj1) {
7588 {
7589 arg2 = static_cast<int >(SWIG_As_int(obj1));
7590 if (SWIG_arg_fail(2)) SWIG_fail;
7591 }
7592 }
7593 if (obj2) {
7594 {
7595 arg3 = &temp3;
7596 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7597 }
7598 }
7599 if (obj3) {
7600 {
7601 arg4 = &temp4;
7602 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7603 }
7604 }
7605 if (obj4) {
7606 {
7607 arg5 = static_cast<long >(SWIG_As_long(obj4));
7608 if (SWIG_arg_fail(5)) SWIG_fail;
7609 }
7610 }
7611 if (obj5) {
7612 {
7613 arg6 = wxString_in_helper(obj5);
7614 if (arg6 == NULL) SWIG_fail;
7615 temp6 = true;
7616 }
7617 }
7618 {
7619 if (!wxPyCheckForApp()) SWIG_fail;
7620 PyThreadState* __tstate = wxPyBeginAllowThreads();
7621 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7622
7623 wxPyEndAllowThreads(__tstate);
7624 if (PyErr_Occurred()) SWIG_fail;
7625 }
7626 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
7627 {
7628 if (temp6)
7629 delete arg6;
7630 }
7631 return resultobj;
7632 fail:
7633 {
7634 if (temp6)
7635 delete arg6;
7636 }
7637 return NULL;
7638 }
7639
7640
7641 static PyObject *_wrap_new_PreSplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7642 PyObject *resultobj = NULL;
7643 wxSplitterWindow *result;
7644 char *kwnames[] = {
7645 NULL
7646 };
7647
7648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
7649 {
7650 if (!wxPyCheckForApp()) SWIG_fail;
7651 PyThreadState* __tstate = wxPyBeginAllowThreads();
7652 result = (wxSplitterWindow *)new wxSplitterWindow();
7653
7654 wxPyEndAllowThreads(__tstate);
7655 if (PyErr_Occurred()) SWIG_fail;
7656 }
7657 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
7658 return resultobj;
7659 fail:
7660 return NULL;
7661 }
7662
7663
7664 static PyObject *_wrap_SplitterWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7665 PyObject *resultobj = NULL;
7666 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7667 wxWindow *arg2 = (wxWindow *) 0 ;
7668 int arg3 = (int) -1 ;
7669 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7670 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7671 wxSize const &arg5_defvalue = wxDefaultSize ;
7672 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7673 long arg6 = (long) wxSP_3D ;
7674 wxString const &arg7_defvalue = wxPySplitterNameStr ;
7675 wxString *arg7 = (wxString *) &arg7_defvalue ;
7676 bool result;
7677 wxPoint temp4 ;
7678 wxSize temp5 ;
7679 bool temp7 = false ;
7680 PyObject * obj0 = 0 ;
7681 PyObject * obj1 = 0 ;
7682 PyObject * obj2 = 0 ;
7683 PyObject * obj3 = 0 ;
7684 PyObject * obj4 = 0 ;
7685 PyObject * obj5 = 0 ;
7686 PyObject * obj6 = 0 ;
7687 char *kwnames[] = {
7688 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7689 };
7690
7691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
7692 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7693 if (SWIG_arg_fail(1)) SWIG_fail;
7694 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7695 if (SWIG_arg_fail(2)) SWIG_fail;
7696 if (obj2) {
7697 {
7698 arg3 = static_cast<int >(SWIG_As_int(obj2));
7699 if (SWIG_arg_fail(3)) SWIG_fail;
7700 }
7701 }
7702 if (obj3) {
7703 {
7704 arg4 = &temp4;
7705 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7706 }
7707 }
7708 if (obj4) {
7709 {
7710 arg5 = &temp5;
7711 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7712 }
7713 }
7714 if (obj5) {
7715 {
7716 arg6 = static_cast<long >(SWIG_As_long(obj5));
7717 if (SWIG_arg_fail(6)) SWIG_fail;
7718 }
7719 }
7720 if (obj6) {
7721 {
7722 arg7 = wxString_in_helper(obj6);
7723 if (arg7 == NULL) SWIG_fail;
7724 temp7 = true;
7725 }
7726 }
7727 {
7728 PyThreadState* __tstate = wxPyBeginAllowThreads();
7729 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7730
7731 wxPyEndAllowThreads(__tstate);
7732 if (PyErr_Occurred()) SWIG_fail;
7733 }
7734 {
7735 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7736 }
7737 {
7738 if (temp7)
7739 delete arg7;
7740 }
7741 return resultobj;
7742 fail:
7743 {
7744 if (temp7)
7745 delete arg7;
7746 }
7747 return NULL;
7748 }
7749
7750
7751 static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *, PyObject *args, PyObject *kwargs) {
7752 PyObject *resultobj = NULL;
7753 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7754 wxWindow *result;
7755 PyObject * obj0 = 0 ;
7756 char *kwnames[] = {
7757 (char *) "self", NULL
7758 };
7759
7760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
7761 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7762 if (SWIG_arg_fail(1)) SWIG_fail;
7763 {
7764 PyThreadState* __tstate = wxPyBeginAllowThreads();
7765 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
7766
7767 wxPyEndAllowThreads(__tstate);
7768 if (PyErr_Occurred()) SWIG_fail;
7769 }
7770 {
7771 resultobj = wxPyMake_wxObject(result, 0);
7772 }
7773 return resultobj;
7774 fail:
7775 return NULL;
7776 }
7777
7778
7779 static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *, PyObject *args, PyObject *kwargs) {
7780 PyObject *resultobj = NULL;
7781 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7782 wxWindow *result;
7783 PyObject * obj0 = 0 ;
7784 char *kwnames[] = {
7785 (char *) "self", NULL
7786 };
7787
7788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
7789 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7790 if (SWIG_arg_fail(1)) SWIG_fail;
7791 {
7792 PyThreadState* __tstate = wxPyBeginAllowThreads();
7793 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
7794
7795 wxPyEndAllowThreads(__tstate);
7796 if (PyErr_Occurred()) SWIG_fail;
7797 }
7798 {
7799 resultobj = wxPyMake_wxObject(result, 0);
7800 }
7801 return resultobj;
7802 fail:
7803 return NULL;
7804 }
7805
7806
7807 static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
7808 PyObject *resultobj = NULL;
7809 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7810 int arg2 ;
7811 PyObject * obj0 = 0 ;
7812 PyObject * obj1 = 0 ;
7813 char *kwnames[] = {
7814 (char *) "self",(char *) "mode", NULL
7815 };
7816
7817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
7818 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7819 if (SWIG_arg_fail(1)) SWIG_fail;
7820 {
7821 arg2 = static_cast<int >(SWIG_As_int(obj1));
7822 if (SWIG_arg_fail(2)) SWIG_fail;
7823 }
7824 {
7825 PyThreadState* __tstate = wxPyBeginAllowThreads();
7826 (arg1)->SetSplitMode(arg2);
7827
7828 wxPyEndAllowThreads(__tstate);
7829 if (PyErr_Occurred()) SWIG_fail;
7830 }
7831 Py_INCREF(Py_None); resultobj = Py_None;
7832 return resultobj;
7833 fail:
7834 return NULL;
7835 }
7836
7837
7838 static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
7839 PyObject *resultobj = NULL;
7840 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7841 wxSplitMode result;
7842 PyObject * obj0 = 0 ;
7843 char *kwnames[] = {
7844 (char *) "self", NULL
7845 };
7846
7847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
7848 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7849 if (SWIG_arg_fail(1)) SWIG_fail;
7850 {
7851 PyThreadState* __tstate = wxPyBeginAllowThreads();
7852 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
7853
7854 wxPyEndAllowThreads(__tstate);
7855 if (PyErr_Occurred()) SWIG_fail;
7856 }
7857 resultobj = SWIG_From_int((result));
7858 return resultobj;
7859 fail:
7860 return NULL;
7861 }
7862
7863
7864 static PyObject *_wrap_SplitterWindow_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
7865 PyObject *resultobj = NULL;
7866 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7867 wxWindow *arg2 = (wxWindow *) 0 ;
7868 PyObject * obj0 = 0 ;
7869 PyObject * obj1 = 0 ;
7870 char *kwnames[] = {
7871 (char *) "self",(char *) "window", NULL
7872 };
7873
7874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
7875 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7876 if (SWIG_arg_fail(1)) SWIG_fail;
7877 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7878 if (SWIG_arg_fail(2)) SWIG_fail;
7879 {
7880 PyThreadState* __tstate = wxPyBeginAllowThreads();
7881 (arg1)->Initialize(arg2);
7882
7883 wxPyEndAllowThreads(__tstate);
7884 if (PyErr_Occurred()) SWIG_fail;
7885 }
7886 Py_INCREF(Py_None); resultobj = Py_None;
7887 return resultobj;
7888 fail:
7889 return NULL;
7890 }
7891
7892
7893 static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *, PyObject *args, PyObject *kwargs) {
7894 PyObject *resultobj = NULL;
7895 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7896 wxWindow *arg2 = (wxWindow *) 0 ;
7897 wxWindow *arg3 = (wxWindow *) 0 ;
7898 int arg4 = (int) 0 ;
7899 bool result;
7900 PyObject * obj0 = 0 ;
7901 PyObject * obj1 = 0 ;
7902 PyObject * obj2 = 0 ;
7903 PyObject * obj3 = 0 ;
7904 char *kwnames[] = {
7905 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7906 };
7907
7908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7909 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7910 if (SWIG_arg_fail(1)) SWIG_fail;
7911 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7912 if (SWIG_arg_fail(2)) SWIG_fail;
7913 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7914 if (SWIG_arg_fail(3)) SWIG_fail;
7915 if (obj3) {
7916 {
7917 arg4 = static_cast<int >(SWIG_As_int(obj3));
7918 if (SWIG_arg_fail(4)) SWIG_fail;
7919 }
7920 }
7921 {
7922 PyThreadState* __tstate = wxPyBeginAllowThreads();
7923 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
7924
7925 wxPyEndAllowThreads(__tstate);
7926 if (PyErr_Occurred()) SWIG_fail;
7927 }
7928 {
7929 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7930 }
7931 return resultobj;
7932 fail:
7933 return NULL;
7934 }
7935
7936
7937 static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *, PyObject *args, PyObject *kwargs) {
7938 PyObject *resultobj = NULL;
7939 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7940 wxWindow *arg2 = (wxWindow *) 0 ;
7941 wxWindow *arg3 = (wxWindow *) 0 ;
7942 int arg4 = (int) 0 ;
7943 bool result;
7944 PyObject * obj0 = 0 ;
7945 PyObject * obj1 = 0 ;
7946 PyObject * obj2 = 0 ;
7947 PyObject * obj3 = 0 ;
7948 char *kwnames[] = {
7949 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7950 };
7951
7952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7953 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7954 if (SWIG_arg_fail(1)) SWIG_fail;
7955 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7956 if (SWIG_arg_fail(2)) SWIG_fail;
7957 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7958 if (SWIG_arg_fail(3)) SWIG_fail;
7959 if (obj3) {
7960 {
7961 arg4 = static_cast<int >(SWIG_As_int(obj3));
7962 if (SWIG_arg_fail(4)) SWIG_fail;
7963 }
7964 }
7965 {
7966 PyThreadState* __tstate = wxPyBeginAllowThreads();
7967 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
7968
7969 wxPyEndAllowThreads(__tstate);
7970 if (PyErr_Occurred()) SWIG_fail;
7971 }
7972 {
7973 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7974 }
7975 return resultobj;
7976 fail:
7977 return NULL;
7978 }
7979
7980
7981 static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *, PyObject *args, PyObject *kwargs) {
7982 PyObject *resultobj = NULL;
7983 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7984 wxWindow *arg2 = (wxWindow *) NULL ;
7985 bool result;
7986 PyObject * obj0 = 0 ;
7987 PyObject * obj1 = 0 ;
7988 char *kwnames[] = {
7989 (char *) "self",(char *) "toRemove", NULL
7990 };
7991
7992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
7993 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7994 if (SWIG_arg_fail(1)) SWIG_fail;
7995 if (obj1) {
7996 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7997 if (SWIG_arg_fail(2)) SWIG_fail;
7998 }
7999 {
8000 PyThreadState* __tstate = wxPyBeginAllowThreads();
8001 result = (bool)(arg1)->Unsplit(arg2);
8002
8003 wxPyEndAllowThreads(__tstate);
8004 if (PyErr_Occurred()) SWIG_fail;
8005 }
8006 {
8007 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8008 }
8009 return resultobj;
8010 fail:
8011 return NULL;
8012 }
8013
8014
8015 static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8016 PyObject *resultobj = NULL;
8017 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8018 wxWindow *arg2 = (wxWindow *) 0 ;
8019 wxWindow *arg3 = (wxWindow *) 0 ;
8020 bool result;
8021 PyObject * obj0 = 0 ;
8022 PyObject * obj1 = 0 ;
8023 PyObject * obj2 = 0 ;
8024 char *kwnames[] = {
8025 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
8026 };
8027
8028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
8029 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8030 if (SWIG_arg_fail(1)) SWIG_fail;
8031 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8032 if (SWIG_arg_fail(2)) SWIG_fail;
8033 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8034 if (SWIG_arg_fail(3)) SWIG_fail;
8035 {
8036 PyThreadState* __tstate = wxPyBeginAllowThreads();
8037 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
8038
8039 wxPyEndAllowThreads(__tstate);
8040 if (PyErr_Occurred()) SWIG_fail;
8041 }
8042 {
8043 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8044 }
8045 return resultobj;
8046 fail:
8047 return NULL;
8048 }
8049
8050
8051 static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *, PyObject *args, PyObject *kwargs) {
8052 PyObject *resultobj = NULL;
8053 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8054 PyObject * obj0 = 0 ;
8055 char *kwnames[] = {
8056 (char *) "self", NULL
8057 };
8058
8059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail;
8060 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8061 if (SWIG_arg_fail(1)) SWIG_fail;
8062 {
8063 PyThreadState* __tstate = wxPyBeginAllowThreads();
8064 (arg1)->UpdateSize();
8065
8066 wxPyEndAllowThreads(__tstate);
8067 if (PyErr_Occurred()) SWIG_fail;
8068 }
8069 Py_INCREF(Py_None); resultobj = Py_None;
8070 return resultobj;
8071 fail:
8072 return NULL;
8073 }
8074
8075
8076 static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *, PyObject *args, PyObject *kwargs) {
8077 PyObject *resultobj = NULL;
8078 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8079 bool result;
8080 PyObject * obj0 = 0 ;
8081 char *kwnames[] = {
8082 (char *) "self", NULL
8083 };
8084
8085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
8086 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8087 if (SWIG_arg_fail(1)) SWIG_fail;
8088 {
8089 PyThreadState* __tstate = wxPyBeginAllowThreads();
8090 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
8091
8092 wxPyEndAllowThreads(__tstate);
8093 if (PyErr_Occurred()) SWIG_fail;
8094 }
8095 {
8096 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8097 }
8098 return resultobj;
8099 fail:
8100 return NULL;
8101 }
8102
8103
8104 static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
8105 PyObject *resultobj = NULL;
8106 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8107 int arg2 ;
8108 PyObject * obj0 = 0 ;
8109 PyObject * obj1 = 0 ;
8110 char *kwnames[] = {
8111 (char *) "self",(char *) "width", NULL
8112 };
8113
8114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
8115 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8116 if (SWIG_arg_fail(1)) SWIG_fail;
8117 {
8118 arg2 = static_cast<int >(SWIG_As_int(obj1));
8119 if (SWIG_arg_fail(2)) SWIG_fail;
8120 }
8121 {
8122 PyThreadState* __tstate = wxPyBeginAllowThreads();
8123 (arg1)->SetSashSize(arg2);
8124
8125 wxPyEndAllowThreads(__tstate);
8126 if (PyErr_Occurred()) SWIG_fail;
8127 }
8128 Py_INCREF(Py_None); resultobj = Py_None;
8129 return resultobj;
8130 fail:
8131 return NULL;
8132 }
8133
8134
8135 static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
8136 PyObject *resultobj = NULL;
8137 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8138 int arg2 ;
8139 PyObject * obj0 = 0 ;
8140 PyObject * obj1 = 0 ;
8141 char *kwnames[] = {
8142 (char *) "self",(char *) "width", NULL
8143 };
8144
8145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
8146 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8147 if (SWIG_arg_fail(1)) SWIG_fail;
8148 {
8149 arg2 = static_cast<int >(SWIG_As_int(obj1));
8150 if (SWIG_arg_fail(2)) SWIG_fail;
8151 }
8152 {
8153 PyThreadState* __tstate = wxPyBeginAllowThreads();
8154 (arg1)->SetBorderSize(arg2);
8155
8156 wxPyEndAllowThreads(__tstate);
8157 if (PyErr_Occurred()) SWIG_fail;
8158 }
8159 Py_INCREF(Py_None); resultobj = Py_None;
8160 return resultobj;
8161 fail:
8162 return NULL;
8163 }
8164
8165
8166 static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
8167 PyObject *resultobj = NULL;
8168 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8169 int result;
8170 PyObject * obj0 = 0 ;
8171 char *kwnames[] = {
8172 (char *) "self", NULL
8173 };
8174
8175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
8176 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8177 if (SWIG_arg_fail(1)) SWIG_fail;
8178 {
8179 PyThreadState* __tstate = wxPyBeginAllowThreads();
8180 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
8181
8182 wxPyEndAllowThreads(__tstate);
8183 if (PyErr_Occurred()) SWIG_fail;
8184 }
8185 {
8186 resultobj = SWIG_From_int(static_cast<int >(result));
8187 }
8188 return resultobj;
8189 fail:
8190 return NULL;
8191 }
8192
8193
8194 static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
8195 PyObject *resultobj = NULL;
8196 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8197 int result;
8198 PyObject * obj0 = 0 ;
8199 char *kwnames[] = {
8200 (char *) "self", NULL
8201 };
8202
8203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
8204 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8205 if (SWIG_arg_fail(1)) SWIG_fail;
8206 {
8207 PyThreadState* __tstate = wxPyBeginAllowThreads();
8208 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
8209
8210 wxPyEndAllowThreads(__tstate);
8211 if (PyErr_Occurred()) SWIG_fail;
8212 }
8213 {
8214 resultobj = SWIG_From_int(static_cast<int >(result));
8215 }
8216 return resultobj;
8217 fail:
8218 return NULL;
8219 }
8220
8221
8222 static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
8223 PyObject *resultobj = NULL;
8224 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8225 int arg2 ;
8226 bool arg3 = (bool) true ;
8227 PyObject * obj0 = 0 ;
8228 PyObject * obj1 = 0 ;
8229 PyObject * obj2 = 0 ;
8230 char *kwnames[] = {
8231 (char *) "self",(char *) "position",(char *) "redraw", NULL
8232 };
8233
8234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
8235 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8236 if (SWIG_arg_fail(1)) SWIG_fail;
8237 {
8238 arg2 = static_cast<int >(SWIG_As_int(obj1));
8239 if (SWIG_arg_fail(2)) SWIG_fail;
8240 }
8241 if (obj2) {
8242 {
8243 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
8244 if (SWIG_arg_fail(3)) SWIG_fail;
8245 }
8246 }
8247 {
8248 PyThreadState* __tstate = wxPyBeginAllowThreads();
8249 (arg1)->SetSashPosition(arg2,arg3);
8250
8251 wxPyEndAllowThreads(__tstate);
8252 if (PyErr_Occurred()) SWIG_fail;
8253 }
8254 Py_INCREF(Py_None); resultobj = Py_None;
8255 return resultobj;
8256 fail:
8257 return NULL;
8258 }
8259
8260
8261 static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
8262 PyObject *resultobj = NULL;
8263 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8264 int result;
8265 PyObject * obj0 = 0 ;
8266 char *kwnames[] = {
8267 (char *) "self", NULL
8268 };
8269
8270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
8271 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8272 if (SWIG_arg_fail(1)) SWIG_fail;
8273 {
8274 PyThreadState* __tstate = wxPyBeginAllowThreads();
8275 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
8276
8277 wxPyEndAllowThreads(__tstate);
8278 if (PyErr_Occurred()) SWIG_fail;
8279 }
8280 {
8281 resultobj = SWIG_From_int(static_cast<int >(result));
8282 }
8283 return resultobj;
8284 fail:
8285 return NULL;
8286 }
8287
8288
8289 static PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *, PyObject *args, PyObject *kwargs) {
8290 PyObject *resultobj = NULL;
8291 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8292 double arg2 ;
8293 PyObject * obj0 = 0 ;
8294 PyObject * obj1 = 0 ;
8295 char *kwnames[] = {
8296 (char *) "self",(char *) "gravity", NULL
8297 };
8298
8299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) goto fail;
8300 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8301 if (SWIG_arg_fail(1)) SWIG_fail;
8302 {
8303 arg2 = static_cast<double >(SWIG_As_double(obj1));
8304 if (SWIG_arg_fail(2)) SWIG_fail;
8305 }
8306 {
8307 PyThreadState* __tstate = wxPyBeginAllowThreads();
8308 (arg1)->SetSashGravity(arg2);
8309
8310 wxPyEndAllowThreads(__tstate);
8311 if (PyErr_Occurred()) SWIG_fail;
8312 }
8313 Py_INCREF(Py_None); resultobj = Py_None;
8314 return resultobj;
8315 fail:
8316 return NULL;
8317 }
8318
8319
8320 static PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *, PyObject *args, PyObject *kwargs) {
8321 PyObject *resultobj = NULL;
8322 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8323 double result;
8324 PyObject * obj0 = 0 ;
8325 char *kwnames[] = {
8326 (char *) "self", NULL
8327 };
8328
8329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashGravity",kwnames,&obj0)) goto fail;
8330 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8331 if (SWIG_arg_fail(1)) SWIG_fail;
8332 {
8333 PyThreadState* __tstate = wxPyBeginAllowThreads();
8334 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
8335
8336 wxPyEndAllowThreads(__tstate);
8337 if (PyErr_Occurred()) SWIG_fail;
8338 }
8339 {
8340 resultobj = SWIG_From_double(static_cast<double >(result));
8341 }
8342 return resultobj;
8343 fail:
8344 return NULL;
8345 }
8346
8347
8348 static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
8349 PyObject *resultobj = NULL;
8350 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8351 int arg2 ;
8352 PyObject * obj0 = 0 ;
8353 PyObject * obj1 = 0 ;
8354 char *kwnames[] = {
8355 (char *) "self",(char *) "min", NULL
8356 };
8357
8358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
8359 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8360 if (SWIG_arg_fail(1)) SWIG_fail;
8361 {
8362 arg2 = static_cast<int >(SWIG_As_int(obj1));
8363 if (SWIG_arg_fail(2)) SWIG_fail;
8364 }
8365 {
8366 PyThreadState* __tstate = wxPyBeginAllowThreads();
8367 (arg1)->SetMinimumPaneSize(arg2);
8368
8369 wxPyEndAllowThreads(__tstate);
8370 if (PyErr_Occurred()) SWIG_fail;
8371 }
8372 Py_INCREF(Py_None); resultobj = Py_None;
8373 return resultobj;
8374 fail:
8375 return NULL;
8376 }
8377
8378
8379 static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
8380 PyObject *resultobj = NULL;
8381 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8382 int result;
8383 PyObject * obj0 = 0 ;
8384 char *kwnames[] = {
8385 (char *) "self", NULL
8386 };
8387
8388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
8389 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8390 if (SWIG_arg_fail(1)) SWIG_fail;
8391 {
8392 PyThreadState* __tstate = wxPyBeginAllowThreads();
8393 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
8394
8395 wxPyEndAllowThreads(__tstate);
8396 if (PyErr_Occurred()) SWIG_fail;
8397 }
8398 {
8399 resultobj = SWIG_From_int(static_cast<int >(result));
8400 }
8401 return resultobj;
8402 fail:
8403 return NULL;
8404 }
8405
8406
8407 static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
8408 PyObject *resultobj = NULL;
8409 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8410 int arg2 ;
8411 int arg3 ;
8412 int arg4 = (int) 5 ;
8413 bool result;
8414 PyObject * obj0 = 0 ;
8415 PyObject * obj1 = 0 ;
8416 PyObject * obj2 = 0 ;
8417 PyObject * obj3 = 0 ;
8418 char *kwnames[] = {
8419 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
8420 };
8421
8422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8423 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8424 if (SWIG_arg_fail(1)) SWIG_fail;
8425 {
8426 arg2 = static_cast<int >(SWIG_As_int(obj1));
8427 if (SWIG_arg_fail(2)) SWIG_fail;
8428 }
8429 {
8430 arg3 = static_cast<int >(SWIG_As_int(obj2));
8431 if (SWIG_arg_fail(3)) SWIG_fail;
8432 }
8433 if (obj3) {
8434 {
8435 arg4 = static_cast<int >(SWIG_As_int(obj3));
8436 if (SWIG_arg_fail(4)) SWIG_fail;
8437 }
8438 }
8439 {
8440 PyThreadState* __tstate = wxPyBeginAllowThreads();
8441 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
8442
8443 wxPyEndAllowThreads(__tstate);
8444 if (PyErr_Occurred()) SWIG_fail;
8445 }
8446 {
8447 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8448 }
8449 return resultobj;
8450 fail:
8451 return NULL;
8452 }
8453
8454
8455 static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
8456 PyObject *resultobj = NULL;
8457 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8458 PyObject * obj0 = 0 ;
8459 char *kwnames[] = {
8460 (char *) "self", NULL
8461 };
8462
8463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
8464 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8465 if (SWIG_arg_fail(1)) SWIG_fail;
8466 {
8467 PyThreadState* __tstate = wxPyBeginAllowThreads();
8468 (arg1)->SizeWindows();
8469
8470 wxPyEndAllowThreads(__tstate);
8471 if (PyErr_Occurred()) SWIG_fail;
8472 }
8473 Py_INCREF(Py_None); resultobj = Py_None;
8474 return resultobj;
8475 fail:
8476 return NULL;
8477 }
8478
8479
8480 static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
8481 PyObject *resultobj = NULL;
8482 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8483 bool arg2 ;
8484 PyObject * obj0 = 0 ;
8485 PyObject * obj1 = 0 ;
8486 char *kwnames[] = {
8487 (char *) "self",(char *) "needUpdating", NULL
8488 };
8489
8490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
8491 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8492 if (SWIG_arg_fail(1)) SWIG_fail;
8493 {
8494 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
8495 if (SWIG_arg_fail(2)) SWIG_fail;
8496 }
8497 {
8498 PyThreadState* __tstate = wxPyBeginAllowThreads();
8499 (arg1)->SetNeedUpdating(arg2);
8500
8501 wxPyEndAllowThreads(__tstate);
8502 if (PyErr_Occurred()) SWIG_fail;
8503 }
8504 Py_INCREF(Py_None); resultobj = Py_None;
8505 return resultobj;
8506 fail:
8507 return NULL;
8508 }
8509
8510
8511 static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
8512 PyObject *resultobj = NULL;
8513 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8514 bool result;
8515 PyObject * obj0 = 0 ;
8516 char *kwnames[] = {
8517 (char *) "self", NULL
8518 };
8519
8520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
8521 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8522 if (SWIG_arg_fail(1)) SWIG_fail;
8523 {
8524 PyThreadState* __tstate = wxPyBeginAllowThreads();
8525 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
8526
8527 wxPyEndAllowThreads(__tstate);
8528 if (PyErr_Occurred()) SWIG_fail;
8529 }
8530 {
8531 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8532 }
8533 return resultobj;
8534 fail:
8535 return NULL;
8536 }
8537
8538
8539 static PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
8540 PyObject *resultobj = NULL;
8541 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8542 wxVisualAttributes result;
8543 PyObject * obj0 = 0 ;
8544 char *kwnames[] = {
8545 (char *) "variant", NULL
8546 };
8547
8548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
8549 if (obj0) {
8550 {
8551 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
8552 if (SWIG_arg_fail(1)) SWIG_fail;
8553 }
8554 }
8555 {
8556 if (!wxPyCheckForApp()) SWIG_fail;
8557 PyThreadState* __tstate = wxPyBeginAllowThreads();
8558 result = wxSplitterWindow::GetClassDefaultAttributes(arg1);
8559
8560 wxPyEndAllowThreads(__tstate);
8561 if (PyErr_Occurred()) SWIG_fail;
8562 }
8563 {
8564 wxVisualAttributes * resultptr;
8565 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
8566 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
8567 }
8568 return resultobj;
8569 fail:
8570 return NULL;
8571 }
8572
8573
8574 static PyObject * SplitterWindow_swigregister(PyObject *, PyObject *args) {
8575 PyObject *obj;
8576 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8577 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
8578 Py_INCREF(obj);
8579 return Py_BuildValue((char *)"");
8580 }
8581 static PyObject *_wrap_new_SplitterEvent(PyObject *, PyObject *args, PyObject *kwargs) {
8582 PyObject *resultobj = NULL;
8583 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
8584 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
8585 wxSplitterEvent *result;
8586 PyObject * obj0 = 0 ;
8587 PyObject * obj1 = 0 ;
8588 char *kwnames[] = {
8589 (char *) "type",(char *) "splitter", NULL
8590 };
8591
8592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
8593 if (obj0) {
8594 {
8595 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
8596 if (SWIG_arg_fail(1)) SWIG_fail;
8597 }
8598 }
8599 if (obj1) {
8600 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8601 if (SWIG_arg_fail(2)) SWIG_fail;
8602 }
8603 {
8604 PyThreadState* __tstate = wxPyBeginAllowThreads();
8605 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
8606
8607 wxPyEndAllowThreads(__tstate);
8608 if (PyErr_Occurred()) SWIG_fail;
8609 }
8610 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1);
8611 return resultobj;
8612 fail:
8613 return NULL;
8614 }
8615
8616
8617 static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
8618 PyObject *resultobj = NULL;
8619 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8620 int arg2 ;
8621 PyObject * obj0 = 0 ;
8622 PyObject * obj1 = 0 ;
8623 char *kwnames[] = {
8624 (char *) "self",(char *) "pos", NULL
8625 };
8626
8627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
8628 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8629 if (SWIG_arg_fail(1)) SWIG_fail;
8630 {
8631 arg2 = static_cast<int >(SWIG_As_int(obj1));
8632 if (SWIG_arg_fail(2)) SWIG_fail;
8633 }
8634 {
8635 PyThreadState* __tstate = wxPyBeginAllowThreads();
8636 (arg1)->SetSashPosition(arg2);
8637
8638 wxPyEndAllowThreads(__tstate);
8639 if (PyErr_Occurred()) SWIG_fail;
8640 }
8641 Py_INCREF(Py_None); resultobj = Py_None;
8642 return resultobj;
8643 fail:
8644 return NULL;
8645 }
8646
8647
8648 static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
8649 PyObject *resultobj = NULL;
8650 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8651 int result;
8652 PyObject * obj0 = 0 ;
8653 char *kwnames[] = {
8654 (char *) "self", NULL
8655 };
8656
8657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
8658 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8659 if (SWIG_arg_fail(1)) SWIG_fail;
8660 {
8661 PyThreadState* __tstate = wxPyBeginAllowThreads();
8662 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
8663
8664 wxPyEndAllowThreads(__tstate);
8665 if (PyErr_Occurred()) SWIG_fail;
8666 }
8667 {
8668 resultobj = SWIG_From_int(static_cast<int >(result));
8669 }
8670 return resultobj;
8671 fail:
8672 return NULL;
8673 }
8674
8675
8676 static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *, PyObject *args, PyObject *kwargs) {
8677 PyObject *resultobj = NULL;
8678 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8679 wxWindow *result;
8680 PyObject * obj0 = 0 ;
8681 char *kwnames[] = {
8682 (char *) "self", NULL
8683 };
8684
8685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
8686 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8687 if (SWIG_arg_fail(1)) SWIG_fail;
8688 {
8689 PyThreadState* __tstate = wxPyBeginAllowThreads();
8690 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
8691
8692 wxPyEndAllowThreads(__tstate);
8693 if (PyErr_Occurred()) SWIG_fail;
8694 }
8695 {
8696 resultobj = wxPyMake_wxObject(result, 0);
8697 }
8698 return resultobj;
8699 fail:
8700 return NULL;
8701 }
8702
8703
8704 static PyObject *_wrap_SplitterEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
8705 PyObject *resultobj = NULL;
8706 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8707 int result;
8708 PyObject * obj0 = 0 ;
8709 char *kwnames[] = {
8710 (char *) "self", NULL
8711 };
8712
8713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
8714 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8715 if (SWIG_arg_fail(1)) SWIG_fail;
8716 {
8717 PyThreadState* __tstate = wxPyBeginAllowThreads();
8718 result = (int)((wxSplitterEvent const *)arg1)->GetX();
8719
8720 wxPyEndAllowThreads(__tstate);
8721 if (PyErr_Occurred()) SWIG_fail;
8722 }
8723 {
8724 resultobj = SWIG_From_int(static_cast<int >(result));
8725 }
8726 return resultobj;
8727 fail:
8728 return NULL;
8729 }
8730
8731
8732 static PyObject *_wrap_SplitterEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
8733 PyObject *resultobj = NULL;
8734 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8735 int result;
8736 PyObject * obj0 = 0 ;
8737 char *kwnames[] = {
8738 (char *) "self", NULL
8739 };
8740
8741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
8742 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8743 if (SWIG_arg_fail(1)) SWIG_fail;
8744 {
8745 PyThreadState* __tstate = wxPyBeginAllowThreads();
8746 result = (int)((wxSplitterEvent const *)arg1)->GetY();
8747
8748 wxPyEndAllowThreads(__tstate);
8749 if (PyErr_Occurred()) SWIG_fail;
8750 }
8751 {
8752 resultobj = SWIG_From_int(static_cast<int >(result));
8753 }
8754 return resultobj;
8755 fail:
8756 return NULL;
8757 }
8758
8759
8760 static PyObject * SplitterEvent_swigregister(PyObject *, PyObject *args) {
8761 PyObject *obj;
8762 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8763 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
8764 Py_INCREF(obj);
8765 return Py_BuildValue((char *)"");
8766 }
8767 static int _wrap_SashNameStr_set(PyObject *) {
8768 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
8769 return 1;
8770 }
8771
8772
8773 static PyObject *_wrap_SashNameStr_get(void) {
8774 PyObject *pyobj = NULL;
8775
8776 {
8777 #if wxUSE_UNICODE
8778 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
8779 #else
8780 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
8781 #endif
8782 }
8783 return pyobj;
8784 }
8785
8786
8787 static int _wrap_SashLayoutNameStr_set(PyObject *) {
8788 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
8789 return 1;
8790 }
8791
8792
8793 static PyObject *_wrap_SashLayoutNameStr_get(void) {
8794 PyObject *pyobj = NULL;
8795
8796 {
8797 #if wxUSE_UNICODE
8798 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
8799 #else
8800 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
8801 #endif
8802 }
8803 return pyobj;
8804 }
8805
8806
8807 static PyObject *_wrap_new_SashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8808 PyObject *resultobj = NULL;
8809 wxWindow *arg1 = (wxWindow *) 0 ;
8810 int arg2 = (int) -1 ;
8811 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8812 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8813 wxSize const &arg4_defvalue = wxDefaultSize ;
8814 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8815 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8816 wxString const &arg6_defvalue = wxPySashNameStr ;
8817 wxString *arg6 = (wxString *) &arg6_defvalue ;
8818 wxSashWindow *result;
8819 wxPoint temp3 ;
8820 wxSize temp4 ;
8821 bool temp6 = false ;
8822 PyObject * obj0 = 0 ;
8823 PyObject * obj1 = 0 ;
8824 PyObject * obj2 = 0 ;
8825 PyObject * obj3 = 0 ;
8826 PyObject * obj4 = 0 ;
8827 PyObject * obj5 = 0 ;
8828 char *kwnames[] = {
8829 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8830 };
8831
8832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8833 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8834 if (SWIG_arg_fail(1)) SWIG_fail;
8835 if (obj1) {
8836 {
8837 arg2 = static_cast<int >(SWIG_As_int(obj1));
8838 if (SWIG_arg_fail(2)) SWIG_fail;
8839 }
8840 }
8841 if (obj2) {
8842 {
8843 arg3 = &temp3;
8844 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8845 }
8846 }
8847 if (obj3) {
8848 {
8849 arg4 = &temp4;
8850 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8851 }
8852 }
8853 if (obj4) {
8854 {
8855 arg5 = static_cast<long >(SWIG_As_long(obj4));
8856 if (SWIG_arg_fail(5)) SWIG_fail;
8857 }
8858 }
8859 if (obj5) {
8860 {
8861 arg6 = wxString_in_helper(obj5);
8862 if (arg6 == NULL) SWIG_fail;
8863 temp6 = true;
8864 }
8865 }
8866 {
8867 if (!wxPyCheckForApp()) SWIG_fail;
8868 PyThreadState* __tstate = wxPyBeginAllowThreads();
8869 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8870
8871 wxPyEndAllowThreads(__tstate);
8872 if (PyErr_Occurred()) SWIG_fail;
8873 }
8874 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
8875 {
8876 if (temp6)
8877 delete arg6;
8878 }
8879 return resultobj;
8880 fail:
8881 {
8882 if (temp6)
8883 delete arg6;
8884 }
8885 return NULL;
8886 }
8887
8888
8889 static PyObject *_wrap_new_PreSashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8890 PyObject *resultobj = NULL;
8891 wxSashWindow *result;
8892 char *kwnames[] = {
8893 NULL
8894 };
8895
8896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
8897 {
8898 if (!wxPyCheckForApp()) SWIG_fail;
8899 PyThreadState* __tstate = wxPyBeginAllowThreads();
8900 result = (wxSashWindow *)new wxSashWindow();
8901
8902 wxPyEndAllowThreads(__tstate);
8903 if (PyErr_Occurred()) SWIG_fail;
8904 }
8905 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
8906 return resultobj;
8907 fail:
8908 return NULL;
8909 }
8910
8911
8912 static PyObject *_wrap_SashWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
8913 PyObject *resultobj = NULL;
8914 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8915 wxWindow *arg2 = (wxWindow *) 0 ;
8916 int arg3 = (int) -1 ;
8917 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8918 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8919 wxSize const &arg5_defvalue = wxDefaultSize ;
8920 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8921 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8922 wxString const &arg7_defvalue = wxPySashNameStr ;
8923 wxString *arg7 = (wxString *) &arg7_defvalue ;
8924 bool result;
8925 wxPoint temp4 ;
8926 wxSize temp5 ;
8927 bool temp7 = false ;
8928 PyObject * obj0 = 0 ;
8929 PyObject * obj1 = 0 ;
8930 PyObject * obj2 = 0 ;
8931 PyObject * obj3 = 0 ;
8932 PyObject * obj4 = 0 ;
8933 PyObject * obj5 = 0 ;
8934 PyObject * obj6 = 0 ;
8935 char *kwnames[] = {
8936 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8937 };
8938
8939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8940 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8941 if (SWIG_arg_fail(1)) SWIG_fail;
8942 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8943 if (SWIG_arg_fail(2)) SWIG_fail;
8944 if (obj2) {
8945 {
8946 arg3 = static_cast<int >(SWIG_As_int(obj2));
8947 if (SWIG_arg_fail(3)) SWIG_fail;
8948 }
8949 }
8950 if (obj3) {
8951 {
8952 arg4 = &temp4;
8953 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8954 }
8955 }
8956 if (obj4) {
8957 {
8958 arg5 = &temp5;
8959 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8960 }
8961 }
8962 if (obj5) {
8963 {
8964 arg6 = static_cast<long >(SWIG_As_long(obj5));
8965 if (SWIG_arg_fail(6)) SWIG_fail;
8966 }
8967 }
8968 if (obj6) {
8969 {
8970 arg7 = wxString_in_helper(obj6);
8971 if (arg7 == NULL) SWIG_fail;
8972 temp7 = true;
8973 }
8974 }
8975 {
8976 PyThreadState* __tstate = wxPyBeginAllowThreads();
8977 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8978
8979 wxPyEndAllowThreads(__tstate);
8980 if (PyErr_Occurred()) SWIG_fail;
8981 }
8982 {
8983 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8984 }
8985 {
8986 if (temp7)
8987 delete arg7;
8988 }
8989 return resultobj;
8990 fail:
8991 {
8992 if (temp7)
8993 delete arg7;
8994 }
8995 return NULL;
8996 }
8997
8998
8999 static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
9000 PyObject *resultobj = NULL;
9001 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9002 wxSashEdgePosition arg2 ;
9003 bool arg3 ;
9004 PyObject * obj0 = 0 ;
9005 PyObject * obj1 = 0 ;
9006 PyObject * obj2 = 0 ;
9007 char *kwnames[] = {
9008 (char *) "self",(char *) "edge",(char *) "sash", NULL
9009 };
9010
9011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
9012 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9013 if (SWIG_arg_fail(1)) SWIG_fail;
9014 {
9015 arg2 = static_cast<wxSashEdgePosition >(SWIG_As_int(obj1));
9016 if (SWIG_arg_fail(2)) SWIG_fail;
9017 }
9018 {
9019 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
9020 if (SWIG_arg_fail(3)) SWIG_fail;
9021 }
9022 {
9023 PyThreadState* __tstate = wxPyBeginAllowThreads();
9024 (arg1)->SetSashVisible(arg2,arg3);
9025
9026 wxPyEndAllowThreads(__tstate);
9027 if (PyErr_Occurred()) SWIG_fail;
9028 }
9029 Py_INCREF(Py_None); resultobj = Py_None;
9030 return resultobj;
9031 fail:
9032 return NULL;
9033 }
9034
9035
9036 static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
9037 PyObject *resultobj = NULL;
9038 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9039 wxSashEdgePosition arg2 ;
9040 bool result;
9041 PyObject * obj0 = 0 ;
9042 PyObject * obj1 = 0 ;
9043 char *kwnames[] = {
9044 (char *) "self",(char *) "edge", NULL
9045 };
9046
9047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
9048 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9049 if (SWIG_arg_fail(1)) SWIG_fail;
9050 {
9051 arg2 = static_cast<wxSashEdgePosition >(SWIG_As_int(obj1));
9052 if (SWIG_arg_fail(2)) SWIG_fail;
9053 }
9054 {
9055 PyThreadState* __tstate = wxPyBeginAllowThreads();
9056 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible(arg2);
9057
9058 wxPyEndAllowThreads(__tstate);
9059 if (PyErr_Occurred()) SWIG_fail;
9060 }
9061 {
9062 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9063 }
9064 return resultobj;
9065 fail:
9066 return NULL;
9067 }
9068
9069
9070 static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *, PyObject *args, PyObject *kwargs) {
9071 PyObject *resultobj = NULL;
9072 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9073 wxSashEdgePosition arg2 ;
9074 bool arg3 ;
9075 PyObject * obj0 = 0 ;
9076 PyObject * obj1 = 0 ;
9077 PyObject * obj2 = 0 ;
9078 char *kwnames[] = {
9079 (char *) "self",(char *) "edge",(char *) "border", NULL
9080 };
9081
9082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
9083 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9084 if (SWIG_arg_fail(1)) SWIG_fail;
9085 {
9086 arg2 = static_cast<wxSashEdgePosition >(SWIG_As_int(obj1));
9087 if (SWIG_arg_fail(2)) SWIG_fail;
9088 }
9089 {
9090 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
9091 if (SWIG_arg_fail(3)) SWIG_fail;
9092 }
9093 {
9094 PyThreadState* __tstate = wxPyBeginAllowThreads();
9095 (arg1)->SetSashBorder(arg2,arg3);
9096
9097 wxPyEndAllowThreads(__tstate);
9098 if (PyErr_Occurred()) SWIG_fail;
9099 }
9100 Py_INCREF(Py_None); resultobj = Py_None;
9101 return resultobj;
9102 fail:
9103 return NULL;
9104 }
9105
9106
9107 static PyObject *_wrap_SashWindow_HasBorder(PyObject *, PyObject *args, PyObject *kwargs) {
9108 PyObject *resultobj = NULL;
9109 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9110 wxSashEdgePosition arg2 ;
9111 bool result;
9112 PyObject * obj0 = 0 ;
9113 PyObject * obj1 = 0 ;
9114 char *kwnames[] = {
9115 (char *) "self",(char *) "edge", NULL
9116 };
9117
9118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail;
9119 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9120 if (SWIG_arg_fail(1)) SWIG_fail;
9121 {
9122 arg2 = static_cast<wxSashEdgePosition >(SWIG_As_int(obj1));
9123 if (SWIG_arg_fail(2)) SWIG_fail;
9124 }
9125 {
9126 PyThreadState* __tstate = wxPyBeginAllowThreads();
9127 result = (bool)((wxSashWindow const *)arg1)->HasBorder(arg2);
9128
9129 wxPyEndAllowThreads(__tstate);
9130 if (PyErr_Occurred()) SWIG_fail;
9131 }
9132 {
9133 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9134 }
9135 return resultobj;
9136 fail:
9137 return NULL;
9138 }
9139
9140
9141 static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *, PyObject *args, PyObject *kwargs) {
9142 PyObject *resultobj = NULL;
9143 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9144 wxSashEdgePosition arg2 ;
9145 int result;
9146 PyObject * obj0 = 0 ;
9147 PyObject * obj1 = 0 ;
9148 char *kwnames[] = {
9149 (char *) "self",(char *) "edge", NULL
9150 };
9151
9152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
9153 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9154 if (SWIG_arg_fail(1)) SWIG_fail;
9155 {
9156 arg2 = static_cast<wxSashEdgePosition >(SWIG_As_int(obj1));
9157 if (SWIG_arg_fail(2)) SWIG_fail;
9158 }
9159 {
9160 PyThreadState* __tstate = wxPyBeginAllowThreads();
9161 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin(arg2);
9162
9163 wxPyEndAllowThreads(__tstate);
9164 if (PyErr_Occurred()) SWIG_fail;
9165 }
9166 {
9167 resultobj = SWIG_From_int(static_cast<int >(result));
9168 }
9169 return resultobj;
9170 fail:
9171 return NULL;
9172 }
9173
9174
9175 static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
9176 PyObject *resultobj = NULL;
9177 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9178 int arg2 ;
9179 PyObject * obj0 = 0 ;
9180 PyObject * obj1 = 0 ;
9181 char *kwnames[] = {
9182 (char *) "self",(char *) "width", NULL
9183 };
9184
9185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
9186 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9187 if (SWIG_arg_fail(1)) SWIG_fail;
9188 {
9189 arg2 = static_cast<int >(SWIG_As_int(obj1));
9190 if (SWIG_arg_fail(2)) SWIG_fail;
9191 }
9192 {
9193 PyThreadState* __tstate = wxPyBeginAllowThreads();
9194 (arg1)->SetDefaultBorderSize(arg2);
9195
9196 wxPyEndAllowThreads(__tstate);
9197 if (PyErr_Occurred()) SWIG_fail;
9198 }
9199 Py_INCREF(Py_None); resultobj = Py_None;
9200 return resultobj;
9201 fail:
9202 return NULL;
9203 }
9204
9205
9206 static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
9207 PyObject *resultobj = NULL;
9208 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9209 int result;
9210 PyObject * obj0 = 0 ;
9211 char *kwnames[] = {
9212 (char *) "self", NULL
9213 };
9214
9215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
9216 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9217 if (SWIG_arg_fail(1)) SWIG_fail;
9218 {
9219 PyThreadState* __tstate = wxPyBeginAllowThreads();
9220 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
9221
9222 wxPyEndAllowThreads(__tstate);
9223 if (PyErr_Occurred()) SWIG_fail;
9224 }
9225 {
9226 resultobj = SWIG_From_int(static_cast<int >(result));
9227 }
9228 return resultobj;
9229 fail:
9230 return NULL;
9231 }
9232
9233
9234 static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
9235 PyObject *resultobj = NULL;
9236 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9237 int arg2 ;
9238 PyObject * obj0 = 0 ;
9239 PyObject * obj1 = 0 ;
9240 char *kwnames[] = {
9241 (char *) "self",(char *) "width", NULL
9242 };
9243
9244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
9245 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9246 if (SWIG_arg_fail(1)) SWIG_fail;
9247 {
9248 arg2 = static_cast<int >(SWIG_As_int(obj1));
9249 if (SWIG_arg_fail(2)) SWIG_fail;
9250 }
9251 {
9252 PyThreadState* __tstate = wxPyBeginAllowThreads();
9253 (arg1)->SetExtraBorderSize(arg2);
9254
9255 wxPyEndAllowThreads(__tstate);
9256 if (PyErr_Occurred()) SWIG_fail;
9257 }
9258 Py_INCREF(Py_None); resultobj = Py_None;
9259 return resultobj;
9260 fail:
9261 return NULL;
9262 }
9263
9264
9265 static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
9266 PyObject *resultobj = NULL;
9267 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9268 int result;
9269 PyObject * obj0 = 0 ;
9270 char *kwnames[] = {
9271 (char *) "self", NULL
9272 };
9273
9274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
9275 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9276 if (SWIG_arg_fail(1)) SWIG_fail;
9277 {
9278 PyThreadState* __tstate = wxPyBeginAllowThreads();
9279 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
9280
9281 wxPyEndAllowThreads(__tstate);
9282 if (PyErr_Occurred()) SWIG_fail;
9283 }
9284 {
9285 resultobj = SWIG_From_int(static_cast<int >(result));
9286 }
9287 return resultobj;
9288 fail:
9289 return NULL;
9290 }
9291
9292
9293 static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
9294 PyObject *resultobj = NULL;
9295 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9296 int arg2 ;
9297 PyObject * obj0 = 0 ;
9298 PyObject * obj1 = 0 ;
9299 char *kwnames[] = {
9300 (char *) "self",(char *) "min", NULL
9301 };
9302
9303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
9304 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9305 if (SWIG_arg_fail(1)) SWIG_fail;
9306 {
9307 arg2 = static_cast<int >(SWIG_As_int(obj1));
9308 if (SWIG_arg_fail(2)) SWIG_fail;
9309 }
9310 {
9311 PyThreadState* __tstate = wxPyBeginAllowThreads();
9312 (arg1)->SetMinimumSizeX(arg2);
9313
9314 wxPyEndAllowThreads(__tstate);
9315 if (PyErr_Occurred()) SWIG_fail;
9316 }
9317 Py_INCREF(Py_None); resultobj = Py_None;
9318 return resultobj;
9319 fail:
9320 return NULL;
9321 }
9322
9323
9324 static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
9325 PyObject *resultobj = NULL;
9326 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9327 int arg2 ;
9328 PyObject * obj0 = 0 ;
9329 PyObject * obj1 = 0 ;
9330 char *kwnames[] = {
9331 (char *) "self",(char *) "min", NULL
9332 };
9333
9334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
9335 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9336 if (SWIG_arg_fail(1)) SWIG_fail;
9337 {
9338 arg2 = static_cast<int >(SWIG_As_int(obj1));
9339 if (SWIG_arg_fail(2)) SWIG_fail;
9340 }
9341 {
9342 PyThreadState* __tstate = wxPyBeginAllowThreads();
9343 (arg1)->SetMinimumSizeY(arg2);
9344
9345 wxPyEndAllowThreads(__tstate);
9346 if (PyErr_Occurred()) SWIG_fail;
9347 }
9348 Py_INCREF(Py_None); resultobj = Py_None;
9349 return resultobj;
9350 fail:
9351 return NULL;
9352 }
9353
9354
9355 static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
9356 PyObject *resultobj = NULL;
9357 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9358 int result;
9359 PyObject * obj0 = 0 ;
9360 char *kwnames[] = {
9361 (char *) "self", NULL
9362 };
9363
9364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
9365 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9366 if (SWIG_arg_fail(1)) SWIG_fail;
9367 {
9368 PyThreadState* __tstate = wxPyBeginAllowThreads();
9369 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
9370
9371 wxPyEndAllowThreads(__tstate);
9372 if (PyErr_Occurred()) SWIG_fail;
9373 }
9374 {
9375 resultobj = SWIG_From_int(static_cast<int >(result));
9376 }
9377 return resultobj;
9378 fail:
9379 return NULL;
9380 }
9381
9382
9383 static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
9384 PyObject *resultobj = NULL;
9385 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9386 int result;
9387 PyObject * obj0 = 0 ;
9388 char *kwnames[] = {
9389 (char *) "self", NULL
9390 };
9391
9392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
9393 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9394 if (SWIG_arg_fail(1)) SWIG_fail;
9395 {
9396 PyThreadState* __tstate = wxPyBeginAllowThreads();
9397 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
9398
9399 wxPyEndAllowThreads(__tstate);
9400 if (PyErr_Occurred()) SWIG_fail;
9401 }
9402 {
9403 resultobj = SWIG_From_int(static_cast<int >(result));
9404 }
9405 return resultobj;
9406 fail:
9407 return NULL;
9408 }
9409
9410
9411 static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
9412 PyObject *resultobj = NULL;
9413 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9414 int arg2 ;
9415 PyObject * obj0 = 0 ;
9416 PyObject * obj1 = 0 ;
9417 char *kwnames[] = {
9418 (char *) "self",(char *) "max", NULL
9419 };
9420
9421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
9422 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9423 if (SWIG_arg_fail(1)) SWIG_fail;
9424 {
9425 arg2 = static_cast<int >(SWIG_As_int(obj1));
9426 if (SWIG_arg_fail(2)) SWIG_fail;
9427 }
9428 {
9429 PyThreadState* __tstate = wxPyBeginAllowThreads();
9430 (arg1)->SetMaximumSizeX(arg2);
9431
9432 wxPyEndAllowThreads(__tstate);
9433 if (PyErr_Occurred()) SWIG_fail;
9434 }
9435 Py_INCREF(Py_None); resultobj = Py_None;
9436 return resultobj;
9437 fail:
9438 return NULL;
9439 }
9440
9441
9442 static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
9443 PyObject *resultobj = NULL;
9444 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9445 int arg2 ;
9446 PyObject * obj0 = 0 ;
9447 PyObject * obj1 = 0 ;
9448 char *kwnames[] = {
9449 (char *) "self",(char *) "max", NULL
9450 };
9451
9452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
9453 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9454 if (SWIG_arg_fail(1)) SWIG_fail;
9455 {
9456 arg2 = static_cast<int >(SWIG_As_int(obj1));
9457 if (SWIG_arg_fail(2)) SWIG_fail;
9458 }
9459 {
9460 PyThreadState* __tstate = wxPyBeginAllowThreads();
9461 (arg1)->SetMaximumSizeY(arg2);
9462
9463 wxPyEndAllowThreads(__tstate);
9464 if (PyErr_Occurred()) SWIG_fail;
9465 }
9466 Py_INCREF(Py_None); resultobj = Py_None;
9467 return resultobj;
9468 fail:
9469 return NULL;
9470 }
9471
9472
9473 static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
9474 PyObject *resultobj = NULL;
9475 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9476 int result;
9477 PyObject * obj0 = 0 ;
9478 char *kwnames[] = {
9479 (char *) "self", NULL
9480 };
9481
9482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
9483 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9484 if (SWIG_arg_fail(1)) SWIG_fail;
9485 {
9486 PyThreadState* __tstate = wxPyBeginAllowThreads();
9487 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
9488
9489 wxPyEndAllowThreads(__tstate);
9490 if (PyErr_Occurred()) SWIG_fail;
9491 }
9492 {
9493 resultobj = SWIG_From_int(static_cast<int >(result));
9494 }
9495 return resultobj;
9496 fail:
9497 return NULL;
9498 }
9499
9500
9501 static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
9502 PyObject *resultobj = NULL;
9503 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9504 int result;
9505 PyObject * obj0 = 0 ;
9506 char *kwnames[] = {
9507 (char *) "self", NULL
9508 };
9509
9510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
9511 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9512 if (SWIG_arg_fail(1)) SWIG_fail;
9513 {
9514 PyThreadState* __tstate = wxPyBeginAllowThreads();
9515 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
9516
9517 wxPyEndAllowThreads(__tstate);
9518 if (PyErr_Occurred()) SWIG_fail;
9519 }
9520 {
9521 resultobj = SWIG_From_int(static_cast<int >(result));
9522 }
9523 return resultobj;
9524 fail:
9525 return NULL;
9526 }
9527
9528
9529 static PyObject *_wrap_SashWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
9530 PyObject *resultobj = NULL;
9531 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9532 int arg2 ;
9533 int arg3 ;
9534 int arg4 = (int) 2 ;
9535 wxSashEdgePosition result;
9536 PyObject * obj0 = 0 ;
9537 PyObject * obj1 = 0 ;
9538 PyObject * obj2 = 0 ;
9539 PyObject * obj3 = 0 ;
9540 char *kwnames[] = {
9541 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
9542 };
9543
9544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9545 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9546 if (SWIG_arg_fail(1)) SWIG_fail;
9547 {
9548 arg2 = static_cast<int >(SWIG_As_int(obj1));
9549 if (SWIG_arg_fail(2)) SWIG_fail;
9550 }
9551 {
9552 arg3 = static_cast<int >(SWIG_As_int(obj2));
9553 if (SWIG_arg_fail(3)) SWIG_fail;
9554 }
9555 if (obj3) {
9556 {
9557 arg4 = static_cast<int >(SWIG_As_int(obj3));
9558 if (SWIG_arg_fail(4)) SWIG_fail;
9559 }
9560 }
9561 {
9562 PyThreadState* __tstate = wxPyBeginAllowThreads();
9563 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
9564
9565 wxPyEndAllowThreads(__tstate);
9566 if (PyErr_Occurred()) SWIG_fail;
9567 }
9568 resultobj = SWIG_From_int((result));
9569 return resultobj;
9570 fail:
9571 return NULL;
9572 }
9573
9574
9575 static PyObject *_wrap_SashWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
9576 PyObject *resultobj = NULL;
9577 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9578 PyObject * obj0 = 0 ;
9579 char *kwnames[] = {
9580 (char *) "self", NULL
9581 };
9582
9583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
9584 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9585 if (SWIG_arg_fail(1)) SWIG_fail;
9586 {
9587 PyThreadState* __tstate = wxPyBeginAllowThreads();
9588 (arg1)->SizeWindows();
9589
9590 wxPyEndAllowThreads(__tstate);
9591 if (PyErr_Occurred()) SWIG_fail;
9592 }
9593 Py_INCREF(Py_None); resultobj = Py_None;
9594 return resultobj;
9595 fail:
9596 return NULL;
9597 }
9598
9599
9600 static PyObject * SashWindow_swigregister(PyObject *, PyObject *args) {
9601 PyObject *obj;
9602 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9603 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
9604 Py_INCREF(obj);
9605 return Py_BuildValue((char *)"");
9606 }
9607 static PyObject *_wrap_new_SashEvent(PyObject *, PyObject *args, PyObject *kwargs) {
9608 PyObject *resultobj = NULL;
9609 int arg1 = (int) 0 ;
9610 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
9611 wxSashEvent *result;
9612 PyObject * obj0 = 0 ;
9613 PyObject * obj1 = 0 ;
9614 char *kwnames[] = {
9615 (char *) "id",(char *) "edge", NULL
9616 };
9617
9618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
9619 if (obj0) {
9620 {
9621 arg1 = static_cast<int >(SWIG_As_int(obj0));
9622 if (SWIG_arg_fail(1)) SWIG_fail;
9623 }
9624 }
9625 if (obj1) {
9626 {
9627 arg2 = static_cast<wxSashEdgePosition >(SWIG_As_int(obj1));
9628 if (SWIG_arg_fail(2)) SWIG_fail;
9629 }
9630 }
9631 {
9632 PyThreadState* __tstate = wxPyBeginAllowThreads();
9633 result = (wxSashEvent *)new wxSashEvent(arg1,arg2);
9634
9635 wxPyEndAllowThreads(__tstate);
9636 if (PyErr_Occurred()) SWIG_fail;
9637 }
9638 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1);
9639 return resultobj;
9640 fail:
9641 return NULL;
9642 }
9643
9644
9645 static PyObject *_wrap_SashEvent_SetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
9646 PyObject *resultobj = NULL;
9647 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9648 wxSashEdgePosition arg2 ;
9649 PyObject * obj0 = 0 ;
9650 PyObject * obj1 = 0 ;
9651 char *kwnames[] = {
9652 (char *) "self",(char *) "edge", NULL
9653 };
9654
9655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
9656 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9657 if (SWIG_arg_fail(1)) SWIG_fail;
9658 {
9659 arg2 = static_cast<wxSashEdgePosition >(SWIG_As_int(obj1));
9660 if (SWIG_arg_fail(2)) SWIG_fail;
9661 }
9662 {
9663 PyThreadState* __tstate = wxPyBeginAllowThreads();
9664 (arg1)->SetEdge(arg2);
9665
9666 wxPyEndAllowThreads(__tstate);
9667 if (PyErr_Occurred()) SWIG_fail;
9668 }
9669 Py_INCREF(Py_None); resultobj = Py_None;
9670 return resultobj;
9671 fail:
9672 return NULL;
9673 }
9674
9675
9676 static PyObject *_wrap_SashEvent_GetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
9677 PyObject *resultobj = NULL;
9678 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9679 wxSashEdgePosition result;
9680 PyObject * obj0 = 0 ;
9681 char *kwnames[] = {
9682 (char *) "self", NULL
9683 };
9684
9685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
9686 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9687 if (SWIG_arg_fail(1)) SWIG_fail;
9688 {
9689 PyThreadState* __tstate = wxPyBeginAllowThreads();
9690 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
9691
9692 wxPyEndAllowThreads(__tstate);
9693 if (PyErr_Occurred()) SWIG_fail;
9694 }
9695 resultobj = SWIG_From_int((result));
9696 return resultobj;
9697 fail:
9698 return NULL;
9699 }
9700
9701
9702 static PyObject *_wrap_SashEvent_SetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
9703 PyObject *resultobj = NULL;
9704 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9705 wxRect *arg2 = 0 ;
9706 wxRect temp2 ;
9707 PyObject * obj0 = 0 ;
9708 PyObject * obj1 = 0 ;
9709 char *kwnames[] = {
9710 (char *) "self",(char *) "rect", NULL
9711 };
9712
9713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
9714 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9715 if (SWIG_arg_fail(1)) SWIG_fail;
9716 {
9717 arg2 = &temp2;
9718 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
9719 }
9720 {
9721 PyThreadState* __tstate = wxPyBeginAllowThreads();
9722 (arg1)->SetDragRect((wxRect const &)*arg2);
9723
9724 wxPyEndAllowThreads(__tstate);
9725 if (PyErr_Occurred()) SWIG_fail;
9726 }
9727 Py_INCREF(Py_None); resultobj = Py_None;
9728 return resultobj;
9729 fail:
9730 return NULL;
9731 }
9732
9733
9734 static PyObject *_wrap_SashEvent_GetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
9735 PyObject *resultobj = NULL;
9736 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9737 wxRect result;
9738 PyObject * obj0 = 0 ;
9739 char *kwnames[] = {
9740 (char *) "self", NULL
9741 };
9742
9743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
9744 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9745 if (SWIG_arg_fail(1)) SWIG_fail;
9746 {
9747 PyThreadState* __tstate = wxPyBeginAllowThreads();
9748 result = ((wxSashEvent const *)arg1)->GetDragRect();
9749
9750 wxPyEndAllowThreads(__tstate);
9751 if (PyErr_Occurred()) SWIG_fail;
9752 }
9753 {
9754 wxRect * resultptr;
9755 resultptr = new wxRect(static_cast<wxRect & >(result));
9756 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
9757 }
9758 return resultobj;
9759 fail:
9760 return NULL;
9761 }
9762
9763
9764 static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
9765 PyObject *resultobj = NULL;
9766 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9767 wxSashDragStatus arg2 ;
9768 PyObject * obj0 = 0 ;
9769 PyObject * obj1 = 0 ;
9770 char *kwnames[] = {
9771 (char *) "self",(char *) "status", NULL
9772 };
9773
9774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
9775 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9776 if (SWIG_arg_fail(1)) SWIG_fail;
9777 {
9778 arg2 = static_cast<wxSashDragStatus >(SWIG_As_int(obj1));
9779 if (SWIG_arg_fail(2)) SWIG_fail;
9780 }
9781 {
9782 PyThreadState* __tstate = wxPyBeginAllowThreads();
9783 (arg1)->SetDragStatus(arg2);
9784
9785 wxPyEndAllowThreads(__tstate);
9786 if (PyErr_Occurred()) SWIG_fail;
9787 }
9788 Py_INCREF(Py_None); resultobj = Py_None;
9789 return resultobj;
9790 fail:
9791 return NULL;
9792 }
9793
9794
9795 static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
9796 PyObject *resultobj = NULL;
9797 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9798 wxSashDragStatus result;
9799 PyObject * obj0 = 0 ;
9800 char *kwnames[] = {
9801 (char *) "self", NULL
9802 };
9803
9804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
9805 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9806 if (SWIG_arg_fail(1)) SWIG_fail;
9807 {
9808 PyThreadState* __tstate = wxPyBeginAllowThreads();
9809 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
9810
9811 wxPyEndAllowThreads(__tstate);
9812 if (PyErr_Occurred()) SWIG_fail;
9813 }
9814 resultobj = SWIG_From_int((result));
9815 return resultobj;
9816 fail:
9817 return NULL;
9818 }
9819
9820
9821 static PyObject * SashEvent_swigregister(PyObject *, PyObject *args) {
9822 PyObject *obj;
9823 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9824 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
9825 Py_INCREF(obj);
9826 return Py_BuildValue((char *)"");
9827 }
9828 static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *, PyObject *args, PyObject *kwargs) {
9829 PyObject *resultobj = NULL;
9830 int arg1 = (int) 0 ;
9831 wxQueryLayoutInfoEvent *result;
9832 PyObject * obj0 = 0 ;
9833 char *kwnames[] = {
9834 (char *) "id", NULL
9835 };
9836
9837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
9838 if (obj0) {
9839 {
9840 arg1 = static_cast<int >(SWIG_As_int(obj0));
9841 if (SWIG_arg_fail(1)) SWIG_fail;
9842 }
9843 }
9844 {
9845 PyThreadState* __tstate = wxPyBeginAllowThreads();
9846 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
9847
9848 wxPyEndAllowThreads(__tstate);
9849 if (PyErr_Occurred()) SWIG_fail;
9850 }
9851 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
9852 return resultobj;
9853 fail:
9854 return NULL;
9855 }
9856
9857
9858 static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
9859 PyObject *resultobj = NULL;
9860 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9861 int arg2 ;
9862 PyObject * obj0 = 0 ;
9863 PyObject * obj1 = 0 ;
9864 char *kwnames[] = {
9865 (char *) "self",(char *) "length", NULL
9866 };
9867
9868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
9869 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9870 if (SWIG_arg_fail(1)) SWIG_fail;
9871 {
9872 arg2 = static_cast<int >(SWIG_As_int(obj1));
9873 if (SWIG_arg_fail(2)) SWIG_fail;
9874 }
9875 {
9876 PyThreadState* __tstate = wxPyBeginAllowThreads();
9877 (arg1)->SetRequestedLength(arg2);
9878
9879 wxPyEndAllowThreads(__tstate);
9880 if (PyErr_Occurred()) SWIG_fail;
9881 }
9882 Py_INCREF(Py_None); resultobj = Py_None;
9883 return resultobj;
9884 fail:
9885 return NULL;
9886 }
9887
9888
9889 static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
9890 PyObject *resultobj = NULL;
9891 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9892 int result;
9893 PyObject * obj0 = 0 ;
9894 char *kwnames[] = {
9895 (char *) "self", NULL
9896 };
9897
9898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
9899 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9900 if (SWIG_arg_fail(1)) SWIG_fail;
9901 {
9902 PyThreadState* __tstate = wxPyBeginAllowThreads();
9903 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
9904
9905 wxPyEndAllowThreads(__tstate);
9906 if (PyErr_Occurred()) SWIG_fail;
9907 }
9908 {
9909 resultobj = SWIG_From_int(static_cast<int >(result));
9910 }
9911 return resultobj;
9912 fail:
9913 return NULL;
9914 }
9915
9916
9917 static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
9918 PyObject *resultobj = NULL;
9919 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9920 int arg2 ;
9921 PyObject * obj0 = 0 ;
9922 PyObject * obj1 = 0 ;
9923 char *kwnames[] = {
9924 (char *) "self",(char *) "flags", NULL
9925 };
9926
9927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
9928 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9929 if (SWIG_arg_fail(1)) SWIG_fail;
9930 {
9931 arg2 = static_cast<int >(SWIG_As_int(obj1));
9932 if (SWIG_arg_fail(2)) SWIG_fail;
9933 }
9934 {
9935 PyThreadState* __tstate = wxPyBeginAllowThreads();
9936 (arg1)->SetFlags(arg2);
9937
9938 wxPyEndAllowThreads(__tstate);
9939 if (PyErr_Occurred()) SWIG_fail;
9940 }
9941 Py_INCREF(Py_None); resultobj = Py_None;
9942 return resultobj;
9943 fail:
9944 return NULL;
9945 }
9946
9947
9948 static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
9949 PyObject *resultobj = NULL;
9950 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9951 int result;
9952 PyObject * obj0 = 0 ;
9953 char *kwnames[] = {
9954 (char *) "self", NULL
9955 };
9956
9957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
9958 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9959 if (SWIG_arg_fail(1)) SWIG_fail;
9960 {
9961 PyThreadState* __tstate = wxPyBeginAllowThreads();
9962 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
9963
9964 wxPyEndAllowThreads(__tstate);
9965 if (PyErr_Occurred()) SWIG_fail;
9966 }
9967 {
9968 resultobj = SWIG_From_int(static_cast<int >(result));
9969 }
9970 return resultobj;
9971 fail:
9972 return NULL;
9973 }
9974
9975
9976 static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
9977 PyObject *resultobj = NULL;
9978 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9979 wxSize *arg2 = 0 ;
9980 wxSize temp2 ;
9981 PyObject * obj0 = 0 ;
9982 PyObject * obj1 = 0 ;
9983 char *kwnames[] = {
9984 (char *) "self",(char *) "size", NULL
9985 };
9986
9987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
9988 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9989 if (SWIG_arg_fail(1)) SWIG_fail;
9990 {
9991 arg2 = &temp2;
9992 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
9993 }
9994 {
9995 PyThreadState* __tstate = wxPyBeginAllowThreads();
9996 (arg1)->SetSize((wxSize const &)*arg2);
9997
9998 wxPyEndAllowThreads(__tstate);
9999 if (PyErr_Occurred()) SWIG_fail;
10000 }
10001 Py_INCREF(Py_None); resultobj = Py_None;
10002 return resultobj;
10003 fail:
10004 return NULL;
10005 }
10006
10007
10008 static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
10009 PyObject *resultobj = NULL;
10010 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
10011 wxSize result;
10012 PyObject * obj0 = 0 ;
10013 char *kwnames[] = {
10014 (char *) "self", NULL
10015 };
10016
10017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
10018 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
10019 if (SWIG_arg_fail(1)) SWIG_fail;
10020 {
10021 PyThreadState* __tstate = wxPyBeginAllowThreads();
10022 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
10023
10024 wxPyEndAllowThreads(__tstate);
10025 if (PyErr_Occurred()) SWIG_fail;
10026 }
10027 {
10028 wxSize * resultptr;
10029 resultptr = new wxSize(static_cast<wxSize & >(result));
10030 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
10031 }
10032 return resultobj;
10033 fail:
10034 return NULL;
10035 }
10036
10037
10038 static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
10039 PyObject *resultobj = NULL;
10040 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
10041 wxLayoutOrientation arg2 ;
10042 PyObject * obj0 = 0 ;
10043 PyObject * obj1 = 0 ;
10044 char *kwnames[] = {
10045 (char *) "self",(char *) "orient", NULL
10046 };
10047
10048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
10049 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
10050 if (SWIG_arg_fail(1)) SWIG_fail;
10051 {
10052 arg2 = static_cast<wxLayoutOrientation >(SWIG_As_int(obj1));
10053 if (SWIG_arg_fail(2)) SWIG_fail;
10054 }
10055 {
10056 PyThreadState* __tstate = wxPyBeginAllowThreads();
10057 (arg1)->SetOrientation(arg2);
10058
10059 wxPyEndAllowThreads(__tstate);
10060 if (PyErr_Occurred()) SWIG_fail;
10061 }
10062 Py_INCREF(Py_None); resultobj = Py_None;
10063 return resultobj;
10064 fail:
10065 return NULL;
10066 }
10067
10068
10069 static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
10070 PyObject *resultobj = NULL;
10071 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
10072 wxLayoutOrientation result;
10073 PyObject * obj0 = 0 ;
10074 char *kwnames[] = {
10075 (char *) "self", NULL
10076 };
10077
10078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
10079 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
10080 if (SWIG_arg_fail(1)) SWIG_fail;
10081 {
10082 PyThreadState* __tstate = wxPyBeginAllowThreads();
10083 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
10084
10085 wxPyEndAllowThreads(__tstate);
10086 if (PyErr_Occurred()) SWIG_fail;
10087 }
10088 resultobj = SWIG_From_int((result));
10089 return resultobj;
10090 fail:
10091 return NULL;
10092 }
10093
10094
10095 static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
10096 PyObject *resultobj = NULL;
10097 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
10098 wxLayoutAlignment arg2 ;
10099 PyObject * obj0 = 0 ;
10100 PyObject * obj1 = 0 ;
10101 char *kwnames[] = {
10102 (char *) "self",(char *) "align", NULL
10103 };
10104
10105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
10106 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
10107 if (SWIG_arg_fail(1)) SWIG_fail;
10108 {
10109 arg2 = static_cast<wxLayoutAlignment >(SWIG_As_int(obj1));
10110 if (SWIG_arg_fail(2)) SWIG_fail;
10111 }
10112 {
10113 PyThreadState* __tstate = wxPyBeginAllowThreads();
10114 (arg1)->SetAlignment(arg2);
10115
10116 wxPyEndAllowThreads(__tstate);
10117 if (PyErr_Occurred()) SWIG_fail;
10118 }
10119 Py_INCREF(Py_None); resultobj = Py_None;
10120 return resultobj;
10121 fail:
10122 return NULL;
10123 }
10124
10125
10126 static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
10127 PyObject *resultobj = NULL;
10128 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
10129 wxLayoutAlignment result;
10130 PyObject * obj0 = 0 ;
10131 char *kwnames[] = {
10132 (char *) "self", NULL
10133 };
10134
10135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
10136 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
10137 if (SWIG_arg_fail(1)) SWIG_fail;
10138 {
10139 PyThreadState* __tstate = wxPyBeginAllowThreads();
10140 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
10141
10142 wxPyEndAllowThreads(__tstate);
10143 if (PyErr_Occurred()) SWIG_fail;
10144 }
10145 resultobj = SWIG_From_int((result));
10146 return resultobj;
10147 fail:
10148 return NULL;
10149 }
10150
10151
10152 static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *, PyObject *args) {
10153 PyObject *obj;
10154 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10155 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
10156 Py_INCREF(obj);
10157 return Py_BuildValue((char *)"");
10158 }
10159 static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *, PyObject *args, PyObject *kwargs) {
10160 PyObject *resultobj = NULL;
10161 int arg1 = (int) 0 ;
10162 wxCalculateLayoutEvent *result;
10163 PyObject * obj0 = 0 ;
10164 char *kwnames[] = {
10165 (char *) "id", NULL
10166 };
10167
10168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
10169 if (obj0) {
10170 {
10171 arg1 = static_cast<int >(SWIG_As_int(obj0));
10172 if (SWIG_arg_fail(1)) SWIG_fail;
10173 }
10174 }
10175 {
10176 PyThreadState* __tstate = wxPyBeginAllowThreads();
10177 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
10178
10179 wxPyEndAllowThreads(__tstate);
10180 if (PyErr_Occurred()) SWIG_fail;
10181 }
10182 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1);
10183 return resultobj;
10184 fail:
10185 return NULL;
10186 }
10187
10188
10189 static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
10190 PyObject *resultobj = NULL;
10191 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
10192 int arg2 ;
10193 PyObject * obj0 = 0 ;
10194 PyObject * obj1 = 0 ;
10195 char *kwnames[] = {
10196 (char *) "self",(char *) "flags", NULL
10197 };
10198
10199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
10200 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
10201 if (SWIG_arg_fail(1)) SWIG_fail;
10202 {
10203 arg2 = static_cast<int >(SWIG_As_int(obj1));
10204 if (SWIG_arg_fail(2)) SWIG_fail;
10205 }
10206 {
10207 PyThreadState* __tstate = wxPyBeginAllowThreads();
10208 (arg1)->SetFlags(arg2);
10209
10210 wxPyEndAllowThreads(__tstate);
10211 if (PyErr_Occurred()) SWIG_fail;
10212 }
10213 Py_INCREF(Py_None); resultobj = Py_None;
10214 return resultobj;
10215 fail:
10216 return NULL;
10217 }
10218
10219
10220 static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
10221 PyObject *resultobj = NULL;
10222 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
10223 int result;
10224 PyObject * obj0 = 0 ;
10225 char *kwnames[] = {
10226 (char *) "self", NULL
10227 };
10228
10229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
10230 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
10231 if (SWIG_arg_fail(1)) SWIG_fail;
10232 {
10233 PyThreadState* __tstate = wxPyBeginAllowThreads();
10234 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
10235
10236 wxPyEndAllowThreads(__tstate);
10237 if (PyErr_Occurred()) SWIG_fail;
10238 }
10239 {
10240 resultobj = SWIG_From_int(static_cast<int >(result));
10241 }
10242 return resultobj;
10243 fail:
10244 return NULL;
10245 }
10246
10247
10248 static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) {
10249 PyObject *resultobj = NULL;
10250 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
10251 wxRect *arg2 = 0 ;
10252 wxRect temp2 ;
10253 PyObject * obj0 = 0 ;
10254 PyObject * obj1 = 0 ;
10255 char *kwnames[] = {
10256 (char *) "self",(char *) "rect", NULL
10257 };
10258
10259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
10260 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
10261 if (SWIG_arg_fail(1)) SWIG_fail;
10262 {
10263 arg2 = &temp2;
10264 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10265 }
10266 {
10267 PyThreadState* __tstate = wxPyBeginAllowThreads();
10268 (arg1)->SetRect((wxRect const &)*arg2);
10269
10270 wxPyEndAllowThreads(__tstate);
10271 if (PyErr_Occurred()) SWIG_fail;
10272 }
10273 Py_INCREF(Py_None); resultobj = Py_None;
10274 return resultobj;
10275 fail:
10276 return NULL;
10277 }
10278
10279
10280 static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
10281 PyObject *resultobj = NULL;
10282 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
10283 wxRect result;
10284 PyObject * obj0 = 0 ;
10285 char *kwnames[] = {
10286 (char *) "self", NULL
10287 };
10288
10289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
10290 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
10291 if (SWIG_arg_fail(1)) SWIG_fail;
10292 {
10293 PyThreadState* __tstate = wxPyBeginAllowThreads();
10294 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
10295
10296 wxPyEndAllowThreads(__tstate);
10297 if (PyErr_Occurred()) SWIG_fail;
10298 }
10299 {
10300 wxRect * resultptr;
10301 resultptr = new wxRect(static_cast<wxRect & >(result));
10302 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
10303 }
10304 return resultobj;
10305 fail:
10306 return NULL;
10307 }
10308
10309
10310 static PyObject * CalculateLayoutEvent_swigregister(PyObject *, PyObject *args) {
10311 PyObject *obj;
10312 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10313 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
10314 Py_INCREF(obj);
10315 return Py_BuildValue((char *)"");
10316 }
10317 static PyObject *_wrap_new_SashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10318 PyObject *resultobj = NULL;
10319 wxWindow *arg1 = (wxWindow *) 0 ;
10320 int arg2 = (int) -1 ;
10321 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10322 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10323 wxSize const &arg4_defvalue = wxDefaultSize ;
10324 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10325 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10326 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
10327 wxString *arg6 = (wxString *) &arg6_defvalue ;
10328 wxSashLayoutWindow *result;
10329 wxPoint temp3 ;
10330 wxSize temp4 ;
10331 bool temp6 = false ;
10332 PyObject * obj0 = 0 ;
10333 PyObject * obj1 = 0 ;
10334 PyObject * obj2 = 0 ;
10335 PyObject * obj3 = 0 ;
10336 PyObject * obj4 = 0 ;
10337 PyObject * obj5 = 0 ;
10338 char *kwnames[] = {
10339 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10340 };
10341
10342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10343 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10344 if (SWIG_arg_fail(1)) SWIG_fail;
10345 if (obj1) {
10346 {
10347 arg2 = static_cast<int >(SWIG_As_int(obj1));
10348 if (SWIG_arg_fail(2)) SWIG_fail;
10349 }
10350 }
10351 if (obj2) {
10352 {
10353 arg3 = &temp3;
10354 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10355 }
10356 }
10357 if (obj3) {
10358 {
10359 arg4 = &temp4;
10360 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10361 }
10362 }
10363 if (obj4) {
10364 {
10365 arg5 = static_cast<long >(SWIG_As_long(obj4));
10366 if (SWIG_arg_fail(5)) SWIG_fail;
10367 }
10368 }
10369 if (obj5) {
10370 {
10371 arg6 = wxString_in_helper(obj5);
10372 if (arg6 == NULL) SWIG_fail;
10373 temp6 = true;
10374 }
10375 }
10376 {
10377 if (!wxPyCheckForApp()) SWIG_fail;
10378 PyThreadState* __tstate = wxPyBeginAllowThreads();
10379 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10380
10381 wxPyEndAllowThreads(__tstate);
10382 if (PyErr_Occurred()) SWIG_fail;
10383 }
10384 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
10385 {
10386 if (temp6)
10387 delete arg6;
10388 }
10389 return resultobj;
10390 fail:
10391 {
10392 if (temp6)
10393 delete arg6;
10394 }
10395 return NULL;
10396 }
10397
10398
10399 static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10400 PyObject *resultobj = NULL;
10401 wxSashLayoutWindow *result;
10402 char *kwnames[] = {
10403 NULL
10404 };
10405
10406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
10407 {
10408 if (!wxPyCheckForApp()) SWIG_fail;
10409 PyThreadState* __tstate = wxPyBeginAllowThreads();
10410 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
10411
10412 wxPyEndAllowThreads(__tstate);
10413 if (PyErr_Occurred()) SWIG_fail;
10414 }
10415 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
10416 return resultobj;
10417 fail:
10418 return NULL;
10419 }
10420
10421
10422 static PyObject *_wrap_SashLayoutWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
10423 PyObject *resultobj = NULL;
10424 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10425 wxWindow *arg2 = (wxWindow *) 0 ;
10426 int arg3 = (int) -1 ;
10427 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10428 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10429 wxSize const &arg5_defvalue = wxDefaultSize ;
10430 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10431 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10432 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
10433 wxString *arg7 = (wxString *) &arg7_defvalue ;
10434 bool result;
10435 wxPoint temp4 ;
10436 wxSize temp5 ;
10437 bool temp7 = false ;
10438 PyObject * obj0 = 0 ;
10439 PyObject * obj1 = 0 ;
10440 PyObject * obj2 = 0 ;
10441 PyObject * obj3 = 0 ;
10442 PyObject * obj4 = 0 ;
10443 PyObject * obj5 = 0 ;
10444 PyObject * obj6 = 0 ;
10445 char *kwnames[] = {
10446 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10447 };
10448
10449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10450 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10451 if (SWIG_arg_fail(1)) SWIG_fail;
10452 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10453 if (SWIG_arg_fail(2)) SWIG_fail;
10454 if (obj2) {
10455 {
10456 arg3 = static_cast<int >(SWIG_As_int(obj2));
10457 if (SWIG_arg_fail(3)) SWIG_fail;
10458 }
10459 }
10460 if (obj3) {
10461 {
10462 arg4 = &temp4;
10463 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10464 }
10465 }
10466 if (obj4) {
10467 {
10468 arg5 = &temp5;
10469 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10470 }
10471 }
10472 if (obj5) {
10473 {
10474 arg6 = static_cast<long >(SWIG_As_long(obj5));
10475 if (SWIG_arg_fail(6)) SWIG_fail;
10476 }
10477 }
10478 if (obj6) {
10479 {
10480 arg7 = wxString_in_helper(obj6);
10481 if (arg7 == NULL) SWIG_fail;
10482 temp7 = true;
10483 }
10484 }
10485 {
10486 PyThreadState* __tstate = wxPyBeginAllowThreads();
10487 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10488
10489 wxPyEndAllowThreads(__tstate);
10490 if (PyErr_Occurred()) SWIG_fail;
10491 }
10492 {
10493 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10494 }
10495 {
10496 if (temp7)
10497 delete arg7;
10498 }
10499 return resultobj;
10500 fail:
10501 {
10502 if (temp7)
10503 delete arg7;
10504 }
10505 return NULL;
10506 }
10507
10508
10509 static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
10510 PyObject *resultobj = NULL;
10511 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10512 wxLayoutAlignment result;
10513 PyObject * obj0 = 0 ;
10514 char *kwnames[] = {
10515 (char *) "self", NULL
10516 };
10517
10518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
10519 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10520 if (SWIG_arg_fail(1)) SWIG_fail;
10521 {
10522 PyThreadState* __tstate = wxPyBeginAllowThreads();
10523 result = (wxLayoutAlignment)(arg1)->GetAlignment();
10524
10525 wxPyEndAllowThreads(__tstate);
10526 if (PyErr_Occurred()) SWIG_fail;
10527 }
10528 resultobj = SWIG_From_int((result));
10529 return resultobj;
10530 fail:
10531 return NULL;
10532 }
10533
10534
10535 static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
10536 PyObject *resultobj = NULL;
10537 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10538 wxLayoutOrientation result;
10539 PyObject * obj0 = 0 ;
10540 char *kwnames[] = {
10541 (char *) "self", NULL
10542 };
10543
10544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
10545 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10546 if (SWIG_arg_fail(1)) SWIG_fail;
10547 {
10548 PyThreadState* __tstate = wxPyBeginAllowThreads();
10549 result = (wxLayoutOrientation)(arg1)->GetOrientation();
10550
10551 wxPyEndAllowThreads(__tstate);
10552 if (PyErr_Occurred()) SWIG_fail;
10553 }
10554 resultobj = SWIG_From_int((result));
10555 return resultobj;
10556 fail:
10557 return NULL;
10558 }
10559
10560
10561 static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
10562 PyObject *resultobj = NULL;
10563 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10564 wxLayoutAlignment arg2 ;
10565 PyObject * obj0 = 0 ;
10566 PyObject * obj1 = 0 ;
10567 char *kwnames[] = {
10568 (char *) "self",(char *) "alignment", NULL
10569 };
10570
10571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
10572 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10573 if (SWIG_arg_fail(1)) SWIG_fail;
10574 {
10575 arg2 = static_cast<wxLayoutAlignment >(SWIG_As_int(obj1));
10576 if (SWIG_arg_fail(2)) SWIG_fail;
10577 }
10578 {
10579 PyThreadState* __tstate = wxPyBeginAllowThreads();
10580 (arg1)->SetAlignment(arg2);
10581
10582 wxPyEndAllowThreads(__tstate);
10583 if (PyErr_Occurred()) SWIG_fail;
10584 }
10585 Py_INCREF(Py_None); resultobj = Py_None;
10586 return resultobj;
10587 fail:
10588 return NULL;
10589 }
10590
10591
10592 static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
10593 PyObject *resultobj = NULL;
10594 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10595 wxSize *arg2 = 0 ;
10596 wxSize temp2 ;
10597 PyObject * obj0 = 0 ;
10598 PyObject * obj1 = 0 ;
10599 char *kwnames[] = {
10600 (char *) "self",(char *) "size", NULL
10601 };
10602
10603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
10604 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10605 if (SWIG_arg_fail(1)) SWIG_fail;
10606 {
10607 arg2 = &temp2;
10608 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
10609 }
10610 {
10611 PyThreadState* __tstate = wxPyBeginAllowThreads();
10612 (arg1)->SetDefaultSize((wxSize const &)*arg2);
10613
10614 wxPyEndAllowThreads(__tstate);
10615 if (PyErr_Occurred()) SWIG_fail;
10616 }
10617 Py_INCREF(Py_None); resultobj = Py_None;
10618 return resultobj;
10619 fail:
10620 return NULL;
10621 }
10622
10623
10624 static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
10625 PyObject *resultobj = NULL;
10626 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10627 wxLayoutOrientation arg2 ;
10628 PyObject * obj0 = 0 ;
10629 PyObject * obj1 = 0 ;
10630 char *kwnames[] = {
10631 (char *) "self",(char *) "orientation", NULL
10632 };
10633
10634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
10635 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10636 if (SWIG_arg_fail(1)) SWIG_fail;
10637 {
10638 arg2 = static_cast<wxLayoutOrientation >(SWIG_As_int(obj1));
10639 if (SWIG_arg_fail(2)) SWIG_fail;
10640 }
10641 {
10642 PyThreadState* __tstate = wxPyBeginAllowThreads();
10643 (arg1)->SetOrientation(arg2);
10644
10645 wxPyEndAllowThreads(__tstate);
10646 if (PyErr_Occurred()) SWIG_fail;
10647 }
10648 Py_INCREF(Py_None); resultobj = Py_None;
10649 return resultobj;
10650 fail:
10651 return NULL;
10652 }
10653
10654
10655 static PyObject * SashLayoutWindow_swigregister(PyObject *, PyObject *args) {
10656 PyObject *obj;
10657 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10658 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
10659 Py_INCREF(obj);
10660 return Py_BuildValue((char *)"");
10661 }
10662 static PyObject *_wrap_new_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
10663 PyObject *resultobj = NULL;
10664 wxLayoutAlgorithm *result;
10665 char *kwnames[] = {
10666 NULL
10667 };
10668
10669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
10670 {
10671 PyThreadState* __tstate = wxPyBeginAllowThreads();
10672 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
10673
10674 wxPyEndAllowThreads(__tstate);
10675 if (PyErr_Occurred()) SWIG_fail;
10676 }
10677 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1);
10678 return resultobj;
10679 fail:
10680 return NULL;
10681 }
10682
10683
10684 static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
10685 PyObject *resultobj = NULL;
10686 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10687 PyObject * obj0 = 0 ;
10688 char *kwnames[] = {
10689 (char *) "self", NULL
10690 };
10691
10692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
10693 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10694 if (SWIG_arg_fail(1)) SWIG_fail;
10695 {
10696 PyThreadState* __tstate = wxPyBeginAllowThreads();
10697 delete arg1;
10698
10699 wxPyEndAllowThreads(__tstate);
10700 if (PyErr_Occurred()) SWIG_fail;
10701 }
10702 Py_INCREF(Py_None); resultobj = Py_None;
10703 return resultobj;
10704 fail:
10705 return NULL;
10706 }
10707
10708
10709 static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *, PyObject *args, PyObject *kwargs) {
10710 PyObject *resultobj = NULL;
10711 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10712 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
10713 wxRect *arg3 = (wxRect *) NULL ;
10714 bool result;
10715 PyObject * obj0 = 0 ;
10716 PyObject * obj1 = 0 ;
10717 PyObject * obj2 = 0 ;
10718 char *kwnames[] = {
10719 (char *) "self",(char *) "frame",(char *) "rect", NULL
10720 };
10721
10722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
10723 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10724 if (SWIG_arg_fail(1)) SWIG_fail;
10725 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
10726 if (SWIG_arg_fail(2)) SWIG_fail;
10727 if (obj2) {
10728 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
10729 if (SWIG_arg_fail(3)) SWIG_fail;
10730 }
10731 {
10732 PyThreadState* __tstate = wxPyBeginAllowThreads();
10733 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
10734
10735 wxPyEndAllowThreads(__tstate);
10736 if (PyErr_Occurred()) SWIG_fail;
10737 }
10738 {
10739 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10740 }
10741 return resultobj;
10742 fail:
10743 return NULL;
10744 }
10745
10746
10747 static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *, PyObject *args, PyObject *kwargs) {
10748 PyObject *resultobj = NULL;
10749 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10750 wxFrame *arg2 = (wxFrame *) 0 ;
10751 wxWindow *arg3 = (wxWindow *) NULL ;
10752 bool result;
10753 PyObject * obj0 = 0 ;
10754 PyObject * obj1 = 0 ;
10755 PyObject * obj2 = 0 ;
10756 char *kwnames[] = {
10757 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
10758 };
10759
10760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
10761 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10762 if (SWIG_arg_fail(1)) SWIG_fail;
10763 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
10764 if (SWIG_arg_fail(2)) SWIG_fail;
10765 if (obj2) {
10766 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10767 if (SWIG_arg_fail(3)) SWIG_fail;
10768 }
10769 {
10770 PyThreadState* __tstate = wxPyBeginAllowThreads();
10771 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
10772
10773 wxPyEndAllowThreads(__tstate);
10774 if (PyErr_Occurred()) SWIG_fail;
10775 }
10776 {
10777 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10778 }
10779 return resultobj;
10780 fail:
10781 return NULL;
10782 }
10783
10784
10785 static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10786 PyObject *resultobj = NULL;
10787 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10788 wxWindow *arg2 = (wxWindow *) 0 ;
10789 wxWindow *arg3 = (wxWindow *) NULL ;
10790 bool result;
10791 PyObject * obj0 = 0 ;
10792 PyObject * obj1 = 0 ;
10793 PyObject * obj2 = 0 ;
10794 char *kwnames[] = {
10795 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
10796 };
10797
10798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
10799 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10800 if (SWIG_arg_fail(1)) SWIG_fail;
10801 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10802 if (SWIG_arg_fail(2)) SWIG_fail;
10803 if (obj2) {
10804 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10805 if (SWIG_arg_fail(3)) SWIG_fail;
10806 }
10807 {
10808 PyThreadState* __tstate = wxPyBeginAllowThreads();
10809 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
10810
10811 wxPyEndAllowThreads(__tstate);
10812 if (PyErr_Occurred()) SWIG_fail;
10813 }
10814 {
10815 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10816 }
10817 return resultobj;
10818 fail:
10819 return NULL;
10820 }
10821
10822
10823 static PyObject * LayoutAlgorithm_swigregister(PyObject *, PyObject *args) {
10824 PyObject *obj;
10825 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10826 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
10827 Py_INCREF(obj);
10828 return Py_BuildValue((char *)"");
10829 }
10830 static PyObject *_wrap_new_PopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10831 PyObject *resultobj = NULL;
10832 wxWindow *arg1 = (wxWindow *) 0 ;
10833 int arg2 = (int) wxBORDER_NONE ;
10834 wxPopupWindow *result;
10835 PyObject * obj0 = 0 ;
10836 PyObject * obj1 = 0 ;
10837 char *kwnames[] = {
10838 (char *) "parent",(char *) "flags", NULL
10839 };
10840
10841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
10842 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10843 if (SWIG_arg_fail(1)) SWIG_fail;
10844 if (obj1) {
10845 {
10846 arg2 = static_cast<int >(SWIG_As_int(obj1));
10847 if (SWIG_arg_fail(2)) SWIG_fail;
10848 }
10849 }
10850 {
10851 PyThreadState* __tstate = wxPyBeginAllowThreads();
10852 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
10853
10854 wxPyEndAllowThreads(__tstate);
10855 if (PyErr_Occurred()) SWIG_fail;
10856 }
10857 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
10858 return resultobj;
10859 fail:
10860 return NULL;
10861 }
10862
10863
10864 static PyObject *_wrap_new_PrePopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10865 PyObject *resultobj = NULL;
10866 wxPopupWindow *result;
10867 char *kwnames[] = {
10868 NULL
10869 };
10870
10871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
10872 {
10873 PyThreadState* __tstate = wxPyBeginAllowThreads();
10874 result = (wxPopupWindow *)new wxPopupWindow();
10875
10876 wxPyEndAllowThreads(__tstate);
10877 if (PyErr_Occurred()) SWIG_fail;
10878 }
10879 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
10880 return resultobj;
10881 fail:
10882 return NULL;
10883 }
10884
10885
10886 static PyObject * PopupWindow_swigregister(PyObject *, PyObject *args) {
10887 PyObject *obj;
10888 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10889 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
10890 Py_INCREF(obj);
10891 return Py_BuildValue((char *)"");
10892 }
10893 static PyObject *_wrap_new_PopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10894 PyObject *resultobj = NULL;
10895 wxWindow *arg1 = (wxWindow *) 0 ;
10896 int arg2 = (int) wxBORDER_NONE ;
10897 wxPyPopupTransientWindow *result;
10898 PyObject * obj0 = 0 ;
10899 PyObject * obj1 = 0 ;
10900 char *kwnames[] = {
10901 (char *) "parent",(char *) "style", NULL
10902 };
10903
10904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
10905 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10906 if (SWIG_arg_fail(1)) SWIG_fail;
10907 if (obj1) {
10908 {
10909 arg2 = static_cast<int >(SWIG_As_int(obj1));
10910 if (SWIG_arg_fail(2)) SWIG_fail;
10911 }
10912 }
10913 {
10914 PyThreadState* __tstate = wxPyBeginAllowThreads();
10915 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
10916
10917 wxPyEndAllowThreads(__tstate);
10918 if (PyErr_Occurred()) SWIG_fail;
10919 }
10920 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
10921 return resultobj;
10922 fail:
10923 return NULL;
10924 }
10925
10926
10927 static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10928 PyObject *resultobj = NULL;
10929 wxPyPopupTransientWindow *result;
10930 char *kwnames[] = {
10931 NULL
10932 };
10933
10934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
10935 {
10936 PyThreadState* __tstate = wxPyBeginAllowThreads();
10937 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
10938
10939 wxPyEndAllowThreads(__tstate);
10940 if (PyErr_Occurred()) SWIG_fail;
10941 }
10942 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
10943 return resultobj;
10944 fail:
10945 return NULL;
10946 }
10947
10948
10949 static PyObject * PopupTransientWindow_swigregister(PyObject *, PyObject *args) {
10950 PyObject *obj;
10951 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10952 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
10953 Py_INCREF(obj);
10954 return Py_BuildValue((char *)"");
10955 }
10956 static PyObject *_wrap_new_TipWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10957 PyObject *resultobj = NULL;
10958 wxWindow *arg1 = (wxWindow *) 0 ;
10959 wxString *arg2 = 0 ;
10960 int arg3 = (int) 100 ;
10961 wxRect *arg4 = (wxRect *) NULL ;
10962 wxTipWindow *result;
10963 bool temp2 = false ;
10964 PyObject * obj0 = 0 ;
10965 PyObject * obj1 = 0 ;
10966 PyObject * obj2 = 0 ;
10967 PyObject * obj3 = 0 ;
10968 char *kwnames[] = {
10969 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
10970 };
10971
10972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10973 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10974 if (SWIG_arg_fail(1)) SWIG_fail;
10975 {
10976 arg2 = wxString_in_helper(obj1);
10977 if (arg2 == NULL) SWIG_fail;
10978 temp2 = true;
10979 }
10980 if (obj2) {
10981 {
10982 arg3 = static_cast<int >(SWIG_As_int(obj2));
10983 if (SWIG_arg_fail(3)) SWIG_fail;
10984 }
10985 }
10986 if (obj3) {
10987 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
10988 if (SWIG_arg_fail(4)) SWIG_fail;
10989 }
10990 {
10991 if (!wxPyCheckForApp()) SWIG_fail;
10992 PyThreadState* __tstate = wxPyBeginAllowThreads();
10993 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
10994
10995 wxPyEndAllowThreads(__tstate);
10996 if (PyErr_Occurred()) SWIG_fail;
10997 }
10998 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1);
10999 {
11000 if (temp2)
11001 delete arg2;
11002 }
11003 return resultobj;
11004 fail:
11005 {
11006 if (temp2)
11007 delete arg2;
11008 }
11009 return NULL;
11010 }
11011
11012
11013 static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
11014 PyObject *resultobj = NULL;
11015 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
11016 wxRect *arg2 = 0 ;
11017 wxRect temp2 ;
11018 PyObject * obj0 = 0 ;
11019 PyObject * obj1 = 0 ;
11020 char *kwnames[] = {
11021 (char *) "self",(char *) "rectBound", NULL
11022 };
11023
11024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
11025 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipWindow, SWIG_POINTER_EXCEPTION | 0);
11026 if (SWIG_arg_fail(1)) SWIG_fail;
11027 {
11028 arg2 = &temp2;
11029 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11030 }
11031 {
11032 PyThreadState* __tstate = wxPyBeginAllowThreads();
11033 (arg1)->SetBoundingRect((wxRect const &)*arg2);
11034
11035 wxPyEndAllowThreads(__tstate);
11036 if (PyErr_Occurred()) SWIG_fail;
11037 }
11038 Py_INCREF(Py_None); resultobj = Py_None;
11039 return resultobj;
11040 fail:
11041 return NULL;
11042 }
11043
11044
11045 static PyObject *_wrap_TipWindow_Close(PyObject *, PyObject *args, PyObject *kwargs) {
11046 PyObject *resultobj = NULL;
11047 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
11048 PyObject * obj0 = 0 ;
11049 char *kwnames[] = {
11050 (char *) "self", NULL
11051 };
11052
11053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
11054 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipWindow, SWIG_POINTER_EXCEPTION | 0);
11055 if (SWIG_arg_fail(1)) SWIG_fail;
11056 {
11057 PyThreadState* __tstate = wxPyBeginAllowThreads();
11058 (arg1)->Close();
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 * TipWindow_swigregister(PyObject *, PyObject *args) {
11071 PyObject *obj;
11072 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11073 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
11074 Py_INCREF(obj);
11075 return Py_BuildValue((char *)"");
11076 }
11077 static PyObject *_wrap_new_VScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
11078 PyObject *resultobj = NULL;
11079 wxWindow *arg1 = (wxWindow *) 0 ;
11080 int arg2 = (int) wxID_ANY ;
11081 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11082 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11083 wxSize const &arg4_defvalue = wxDefaultSize ;
11084 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11085 long arg5 = (long) 0 ;
11086 wxString const &arg6_defvalue = wxPyPanelNameStr ;
11087 wxString *arg6 = (wxString *) &arg6_defvalue ;
11088 wxPyVScrolledWindow *result;
11089 wxPoint temp3 ;
11090 wxSize temp4 ;
11091 bool temp6 = false ;
11092 PyObject * obj0 = 0 ;
11093 PyObject * obj1 = 0 ;
11094 PyObject * obj2 = 0 ;
11095 PyObject * obj3 = 0 ;
11096 PyObject * obj4 = 0 ;
11097 PyObject * obj5 = 0 ;
11098 char *kwnames[] = {
11099 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11100 };
11101
11102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
11103 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11104 if (SWIG_arg_fail(1)) SWIG_fail;
11105 if (obj1) {
11106 {
11107 arg2 = static_cast<int >(SWIG_As_int(obj1));
11108 if (SWIG_arg_fail(2)) SWIG_fail;
11109 }
11110 }
11111 if (obj2) {
11112 {
11113 arg3 = &temp3;
11114 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11115 }
11116 }
11117 if (obj3) {
11118 {
11119 arg4 = &temp4;
11120 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11121 }
11122 }
11123 if (obj4) {
11124 {
11125 arg5 = static_cast<long >(SWIG_As_long(obj4));
11126 if (SWIG_arg_fail(5)) SWIG_fail;
11127 }
11128 }
11129 if (obj5) {
11130 {
11131 arg6 = wxString_in_helper(obj5);
11132 if (arg6 == NULL) SWIG_fail;
11133 temp6 = true;
11134 }
11135 }
11136 {
11137 if (!wxPyCheckForApp()) SWIG_fail;
11138 PyThreadState* __tstate = wxPyBeginAllowThreads();
11139 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
11140
11141 wxPyEndAllowThreads(__tstate);
11142 if (PyErr_Occurred()) SWIG_fail;
11143 }
11144 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
11145 {
11146 if (temp6)
11147 delete arg6;
11148 }
11149 return resultobj;
11150 fail:
11151 {
11152 if (temp6)
11153 delete arg6;
11154 }
11155 return NULL;
11156 }
11157
11158
11159 static PyObject *_wrap_new_PreVScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
11160 PyObject *resultobj = NULL;
11161 wxPyVScrolledWindow *result;
11162 char *kwnames[] = {
11163 NULL
11164 };
11165
11166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
11167 {
11168 if (!wxPyCheckForApp()) SWIG_fail;
11169 PyThreadState* __tstate = wxPyBeginAllowThreads();
11170 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
11171
11172 wxPyEndAllowThreads(__tstate);
11173 if (PyErr_Occurred()) SWIG_fail;
11174 }
11175 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
11176 return resultobj;
11177 fail:
11178 return NULL;
11179 }
11180
11181
11182 static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
11183 PyObject *resultobj = NULL;
11184 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11185 PyObject *arg2 = (PyObject *) 0 ;
11186 PyObject *arg3 = (PyObject *) 0 ;
11187 PyObject * obj0 = 0 ;
11188 PyObject * obj1 = 0 ;
11189 PyObject * obj2 = 0 ;
11190 char *kwnames[] = {
11191 (char *) "self",(char *) "self",(char *) "_class", NULL
11192 };
11193
11194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
11195 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11196 if (SWIG_arg_fail(1)) SWIG_fail;
11197 arg2 = obj1;
11198 arg3 = obj2;
11199 {
11200 PyThreadState* __tstate = wxPyBeginAllowThreads();
11201 (arg1)->_setCallbackInfo(arg2,arg3);
11202
11203 wxPyEndAllowThreads(__tstate);
11204 if (PyErr_Occurred()) SWIG_fail;
11205 }
11206 Py_INCREF(Py_None); resultobj = Py_None;
11207 return resultobj;
11208 fail:
11209 return NULL;
11210 }
11211
11212
11213 static PyObject *_wrap_VScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
11214 PyObject *resultobj = NULL;
11215 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11216 wxWindow *arg2 = (wxWindow *) 0 ;
11217 int arg3 = (int) wxID_ANY ;
11218 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11219 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11220 wxSize const &arg5_defvalue = wxDefaultSize ;
11221 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11222 long arg6 = (long) 0 ;
11223 wxString const &arg7_defvalue = wxPyPanelNameStr ;
11224 wxString *arg7 = (wxString *) &arg7_defvalue ;
11225 bool result;
11226 wxPoint temp4 ;
11227 wxSize temp5 ;
11228 bool temp7 = false ;
11229 PyObject * obj0 = 0 ;
11230 PyObject * obj1 = 0 ;
11231 PyObject * obj2 = 0 ;
11232 PyObject * obj3 = 0 ;
11233 PyObject * obj4 = 0 ;
11234 PyObject * obj5 = 0 ;
11235 PyObject * obj6 = 0 ;
11236 char *kwnames[] = {
11237 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11238 };
11239
11240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11241 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11242 if (SWIG_arg_fail(1)) SWIG_fail;
11243 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11244 if (SWIG_arg_fail(2)) SWIG_fail;
11245 if (obj2) {
11246 {
11247 arg3 = static_cast<int >(SWIG_As_int(obj2));
11248 if (SWIG_arg_fail(3)) SWIG_fail;
11249 }
11250 }
11251 if (obj3) {
11252 {
11253 arg4 = &temp4;
11254 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11255 }
11256 }
11257 if (obj4) {
11258 {
11259 arg5 = &temp5;
11260 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11261 }
11262 }
11263 if (obj5) {
11264 {
11265 arg6 = static_cast<long >(SWIG_As_long(obj5));
11266 if (SWIG_arg_fail(6)) SWIG_fail;
11267 }
11268 }
11269 if (obj6) {
11270 {
11271 arg7 = wxString_in_helper(obj6);
11272 if (arg7 == NULL) SWIG_fail;
11273 temp7 = true;
11274 }
11275 }
11276 {
11277 PyThreadState* __tstate = wxPyBeginAllowThreads();
11278 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11279
11280 wxPyEndAllowThreads(__tstate);
11281 if (PyErr_Occurred()) SWIG_fail;
11282 }
11283 {
11284 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11285 }
11286 {
11287 if (temp7)
11288 delete arg7;
11289 }
11290 return resultobj;
11291 fail:
11292 {
11293 if (temp7)
11294 delete arg7;
11295 }
11296 return NULL;
11297 }
11298
11299
11300 static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
11301 PyObject *resultobj = NULL;
11302 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11303 size_t arg2 ;
11304 PyObject * obj0 = 0 ;
11305 PyObject * obj1 = 0 ;
11306 char *kwnames[] = {
11307 (char *) "self",(char *) "count", NULL
11308 };
11309
11310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
11311 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11312 if (SWIG_arg_fail(1)) SWIG_fail;
11313 {
11314 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
11315 if (SWIG_arg_fail(2)) SWIG_fail;
11316 }
11317 {
11318 PyThreadState* __tstate = wxPyBeginAllowThreads();
11319 (arg1)->SetLineCount(arg2);
11320
11321 wxPyEndAllowThreads(__tstate);
11322 if (PyErr_Occurred()) SWIG_fail;
11323 }
11324 Py_INCREF(Py_None); resultobj = Py_None;
11325 return resultobj;
11326 fail:
11327 return NULL;
11328 }
11329
11330
11331 static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) {
11332 PyObject *resultobj = NULL;
11333 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11334 size_t arg2 ;
11335 bool result;
11336 PyObject * obj0 = 0 ;
11337 PyObject * obj1 = 0 ;
11338 char *kwnames[] = {
11339 (char *) "self",(char *) "line", NULL
11340 };
11341
11342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
11343 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11344 if (SWIG_arg_fail(1)) SWIG_fail;
11345 {
11346 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
11347 if (SWIG_arg_fail(2)) SWIG_fail;
11348 }
11349 {
11350 PyThreadState* __tstate = wxPyBeginAllowThreads();
11351 result = (bool)(arg1)->ScrollToLine(arg2);
11352
11353 wxPyEndAllowThreads(__tstate);
11354 if (PyErr_Occurred()) SWIG_fail;
11355 }
11356 {
11357 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11358 }
11359 return resultobj;
11360 fail:
11361 return NULL;
11362 }
11363
11364
11365 static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *, PyObject *args, PyObject *kwargs) {
11366 PyObject *resultobj = NULL;
11367 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11368 int arg2 ;
11369 bool result;
11370 PyObject * obj0 = 0 ;
11371 PyObject * obj1 = 0 ;
11372 char *kwnames[] = {
11373 (char *) "self",(char *) "lines", NULL
11374 };
11375
11376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
11377 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11378 if (SWIG_arg_fail(1)) SWIG_fail;
11379 {
11380 arg2 = static_cast<int >(SWIG_As_int(obj1));
11381 if (SWIG_arg_fail(2)) SWIG_fail;
11382 }
11383 {
11384 PyThreadState* __tstate = wxPyBeginAllowThreads();
11385 result = (bool)(arg1)->ScrollLines(arg2);
11386
11387 wxPyEndAllowThreads(__tstate);
11388 if (PyErr_Occurred()) SWIG_fail;
11389 }
11390 {
11391 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11392 }
11393 return resultobj;
11394 fail:
11395 return NULL;
11396 }
11397
11398
11399 static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *, PyObject *args, PyObject *kwargs) {
11400 PyObject *resultobj = NULL;
11401 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11402 int arg2 ;
11403 bool result;
11404 PyObject * obj0 = 0 ;
11405 PyObject * obj1 = 0 ;
11406 char *kwnames[] = {
11407 (char *) "self",(char *) "pages", NULL
11408 };
11409
11410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
11411 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11412 if (SWIG_arg_fail(1)) SWIG_fail;
11413 {
11414 arg2 = static_cast<int >(SWIG_As_int(obj1));
11415 if (SWIG_arg_fail(2)) SWIG_fail;
11416 }
11417 {
11418 PyThreadState* __tstate = wxPyBeginAllowThreads();
11419 result = (bool)(arg1)->ScrollPages(arg2);
11420
11421 wxPyEndAllowThreads(__tstate);
11422 if (PyErr_Occurred()) SWIG_fail;
11423 }
11424 {
11425 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11426 }
11427 return resultobj;
11428 fail:
11429 return NULL;
11430 }
11431
11432
11433 static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *, PyObject *args, PyObject *kwargs) {
11434 PyObject *resultobj = NULL;
11435 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11436 size_t arg2 ;
11437 PyObject * obj0 = 0 ;
11438 PyObject * obj1 = 0 ;
11439 char *kwnames[] = {
11440 (char *) "self",(char *) "line", NULL
11441 };
11442
11443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
11444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11445 if (SWIG_arg_fail(1)) SWIG_fail;
11446 {
11447 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
11448 if (SWIG_arg_fail(2)) SWIG_fail;
11449 }
11450 {
11451 PyThreadState* __tstate = wxPyBeginAllowThreads();
11452 (arg1)->RefreshLine(arg2);
11453
11454 wxPyEndAllowThreads(__tstate);
11455 if (PyErr_Occurred()) SWIG_fail;
11456 }
11457 Py_INCREF(Py_None); resultobj = Py_None;
11458 return resultobj;
11459 fail:
11460 return NULL;
11461 }
11462
11463
11464 static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *, PyObject *args, PyObject *kwargs) {
11465 PyObject *resultobj = NULL;
11466 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11467 size_t arg2 ;
11468 size_t arg3 ;
11469 PyObject * obj0 = 0 ;
11470 PyObject * obj1 = 0 ;
11471 PyObject * obj2 = 0 ;
11472 char *kwnames[] = {
11473 (char *) "self",(char *) "from",(char *) "to", NULL
11474 };
11475
11476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
11477 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11478 if (SWIG_arg_fail(1)) SWIG_fail;
11479 {
11480 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
11481 if (SWIG_arg_fail(2)) SWIG_fail;
11482 }
11483 {
11484 arg3 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2));
11485 if (SWIG_arg_fail(3)) SWIG_fail;
11486 }
11487 {
11488 PyThreadState* __tstate = wxPyBeginAllowThreads();
11489 (arg1)->RefreshLines(arg2,arg3);
11490
11491 wxPyEndAllowThreads(__tstate);
11492 if (PyErr_Occurred()) SWIG_fail;
11493 }
11494 Py_INCREF(Py_None); resultobj = Py_None;
11495 return resultobj;
11496 fail:
11497 return NULL;
11498 }
11499
11500
11501 static PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
11502 PyObject *resultobj = NULL;
11503 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11504 int arg2 ;
11505 int arg3 ;
11506 int result;
11507 PyObject * obj0 = 0 ;
11508 PyObject * obj1 = 0 ;
11509 PyObject * obj2 = 0 ;
11510 char *kwnames[] = {
11511 (char *) "self",(char *) "x",(char *) "y", NULL
11512 };
11513
11514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
11515 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11516 if (SWIG_arg_fail(1)) SWIG_fail;
11517 {
11518 arg2 = static_cast<int >(SWIG_As_int(obj1));
11519 if (SWIG_arg_fail(2)) SWIG_fail;
11520 }
11521 {
11522 arg3 = static_cast<int >(SWIG_As_int(obj2));
11523 if (SWIG_arg_fail(3)) SWIG_fail;
11524 }
11525 {
11526 PyThreadState* __tstate = wxPyBeginAllowThreads();
11527 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
11528
11529 wxPyEndAllowThreads(__tstate);
11530 if (PyErr_Occurred()) SWIG_fail;
11531 }
11532 {
11533 resultobj = SWIG_From_int(static_cast<int >(result));
11534 }
11535 return resultobj;
11536 fail:
11537 return NULL;
11538 }
11539
11540
11541 static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
11542 PyObject *resultobj = NULL;
11543 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11544 wxPoint *arg2 = 0 ;
11545 int result;
11546 wxPoint temp2 ;
11547 PyObject * obj0 = 0 ;
11548 PyObject * obj1 = 0 ;
11549 char *kwnames[] = {
11550 (char *) "self",(char *) "pt", NULL
11551 };
11552
11553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",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 = &temp2;
11558 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11559 }
11560 {
11561 PyThreadState* __tstate = wxPyBeginAllowThreads();
11562 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
11563
11564 wxPyEndAllowThreads(__tstate);
11565 if (PyErr_Occurred()) SWIG_fail;
11566 }
11567 {
11568 resultobj = SWIG_From_int(static_cast<int >(result));
11569 }
11570 return resultobj;
11571 fail:
11572 return NULL;
11573 }
11574
11575
11576 static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
11577 PyObject *resultobj = NULL;
11578 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11579 PyObject * obj0 = 0 ;
11580 char *kwnames[] = {
11581 (char *) "self", NULL
11582 };
11583
11584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
11585 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11586 if (SWIG_arg_fail(1)) SWIG_fail;
11587 {
11588 PyThreadState* __tstate = wxPyBeginAllowThreads();
11589 (arg1)->RefreshAll();
11590
11591 wxPyEndAllowThreads(__tstate);
11592 if (PyErr_Occurred()) SWIG_fail;
11593 }
11594 Py_INCREF(Py_None); resultobj = Py_None;
11595 return resultobj;
11596 fail:
11597 return NULL;
11598 }
11599
11600
11601 static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
11602 PyObject *resultobj = NULL;
11603 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11604 size_t result;
11605 PyObject * obj0 = 0 ;
11606 char *kwnames[] = {
11607 (char *) "self", NULL
11608 };
11609
11610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
11611 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11612 if (SWIG_arg_fail(1)) SWIG_fail;
11613 {
11614 PyThreadState* __tstate = wxPyBeginAllowThreads();
11615 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
11616
11617 wxPyEndAllowThreads(__tstate);
11618 if (PyErr_Occurred()) SWIG_fail;
11619 }
11620 {
11621 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
11622 }
11623 return resultobj;
11624 fail:
11625 return NULL;
11626 }
11627
11628
11629 static PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *, PyObject *args, PyObject *kwargs) {
11630 PyObject *resultobj = NULL;
11631 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11632 size_t result;
11633 PyObject * obj0 = 0 ;
11634 char *kwnames[] = {
11635 (char *) "self", NULL
11636 };
11637
11638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetVisibleBegin",kwnames,&obj0)) goto fail;
11639 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11640 if (SWIG_arg_fail(1)) SWIG_fail;
11641 {
11642 PyThreadState* __tstate = wxPyBeginAllowThreads();
11643 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleBegin();
11644
11645 wxPyEndAllowThreads(__tstate);
11646 if (PyErr_Occurred()) SWIG_fail;
11647 }
11648 {
11649 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
11650 }
11651 return resultobj;
11652 fail:
11653 return NULL;
11654 }
11655
11656
11657 static PyObject *_wrap_VScrolledWindow_GetVisibleEnd(PyObject *, PyObject *args, PyObject *kwargs) {
11658 PyObject *resultobj = NULL;
11659 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11660 size_t result;
11661 PyObject * obj0 = 0 ;
11662 char *kwnames[] = {
11663 (char *) "self", NULL
11664 };
11665
11666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetVisibleEnd",kwnames,&obj0)) goto fail;
11667 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11668 if (SWIG_arg_fail(1)) SWIG_fail;
11669 {
11670 PyThreadState* __tstate = wxPyBeginAllowThreads();
11671 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleEnd();
11672
11673 wxPyEndAllowThreads(__tstate);
11674 if (PyErr_Occurred()) SWIG_fail;
11675 }
11676 {
11677 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
11678 }
11679 return resultobj;
11680 fail:
11681 return NULL;
11682 }
11683
11684
11685 static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
11686 PyObject *resultobj = NULL;
11687 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11688 size_t arg2 ;
11689 bool result;
11690 PyObject * obj0 = 0 ;
11691 PyObject * obj1 = 0 ;
11692 char *kwnames[] = {
11693 (char *) "self",(char *) "line", NULL
11694 };
11695
11696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
11697 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11698 if (SWIG_arg_fail(1)) SWIG_fail;
11699 {
11700 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
11701 if (SWIG_arg_fail(2)) SWIG_fail;
11702 }
11703 {
11704 PyThreadState* __tstate = wxPyBeginAllowThreads();
11705 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
11706
11707 wxPyEndAllowThreads(__tstate);
11708 if (PyErr_Occurred()) SWIG_fail;
11709 }
11710 {
11711 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11712 }
11713 return resultobj;
11714 fail:
11715 return NULL;
11716 }
11717
11718
11719 static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
11720 PyObject *resultobj = NULL;
11721 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11722 size_t result;
11723 PyObject * obj0 = 0 ;
11724 char *kwnames[] = {
11725 (char *) "self", NULL
11726 };
11727
11728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
11729 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11730 if (SWIG_arg_fail(1)) SWIG_fail;
11731 {
11732 PyThreadState* __tstate = wxPyBeginAllowThreads();
11733 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
11734
11735 wxPyEndAllowThreads(__tstate);
11736 if (PyErr_Occurred()) SWIG_fail;
11737 }
11738 {
11739 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
11740 }
11741 return resultobj;
11742 fail:
11743 return NULL;
11744 }
11745
11746
11747 static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
11748 PyObject *resultobj = NULL;
11749 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11750 size_t result;
11751 PyObject * obj0 = 0 ;
11752 char *kwnames[] = {
11753 (char *) "self", NULL
11754 };
11755
11756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
11757 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11758 if (SWIG_arg_fail(1)) SWIG_fail;
11759 {
11760 PyThreadState* __tstate = wxPyBeginAllowThreads();
11761 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
11762
11763 wxPyEndAllowThreads(__tstate);
11764 if (PyErr_Occurred()) SWIG_fail;
11765 }
11766 {
11767 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
11768 }
11769 return resultobj;
11770 fail:
11771 return NULL;
11772 }
11773
11774
11775 static PyObject * VScrolledWindow_swigregister(PyObject *, PyObject *args) {
11776 PyObject *obj;
11777 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11778 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
11779 Py_INCREF(obj);
11780 return Py_BuildValue((char *)"");
11781 }
11782 static int _wrap_VListBoxNameStr_set(PyObject *) {
11783 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
11784 return 1;
11785 }
11786
11787
11788 static PyObject *_wrap_VListBoxNameStr_get(void) {
11789 PyObject *pyobj = NULL;
11790
11791 {
11792 #if wxUSE_UNICODE
11793 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
11794 #else
11795 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
11796 #endif
11797 }
11798 return pyobj;
11799 }
11800
11801
11802 static PyObject *_wrap_new_VListBox(PyObject *, PyObject *args, PyObject *kwargs) {
11803 PyObject *resultobj = NULL;
11804 wxWindow *arg1 = (wxWindow *) 0 ;
11805 int arg2 = (int) wxID_ANY ;
11806 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11807 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11808 wxSize const &arg4_defvalue = wxDefaultSize ;
11809 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11810 long arg5 = (long) 0 ;
11811 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
11812 wxString *arg6 = (wxString *) &arg6_defvalue ;
11813 wxPyVListBox *result;
11814 wxPoint temp3 ;
11815 wxSize temp4 ;
11816 bool temp6 = false ;
11817 PyObject * obj0 = 0 ;
11818 PyObject * obj1 = 0 ;
11819 PyObject * obj2 = 0 ;
11820 PyObject * obj3 = 0 ;
11821 PyObject * obj4 = 0 ;
11822 PyObject * obj5 = 0 ;
11823 char *kwnames[] = {
11824 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11825 };
11826
11827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
11828 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11829 if (SWIG_arg_fail(1)) SWIG_fail;
11830 if (obj1) {
11831 {
11832 arg2 = static_cast<int >(SWIG_As_int(obj1));
11833 if (SWIG_arg_fail(2)) SWIG_fail;
11834 }
11835 }
11836 if (obj2) {
11837 {
11838 arg3 = &temp3;
11839 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11840 }
11841 }
11842 if (obj3) {
11843 {
11844 arg4 = &temp4;
11845 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11846 }
11847 }
11848 if (obj4) {
11849 {
11850 arg5 = static_cast<long >(SWIG_As_long(obj4));
11851 if (SWIG_arg_fail(5)) SWIG_fail;
11852 }
11853 }
11854 if (obj5) {
11855 {
11856 arg6 = wxString_in_helper(obj5);
11857 if (arg6 == NULL) SWIG_fail;
11858 temp6 = true;
11859 }
11860 }
11861 {
11862 if (!wxPyCheckForApp()) SWIG_fail;
11863 PyThreadState* __tstate = wxPyBeginAllowThreads();
11864 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
11865
11866 wxPyEndAllowThreads(__tstate);
11867 if (PyErr_Occurred()) SWIG_fail;
11868 }
11869 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
11870 {
11871 if (temp6)
11872 delete arg6;
11873 }
11874 return resultobj;
11875 fail:
11876 {
11877 if (temp6)
11878 delete arg6;
11879 }
11880 return NULL;
11881 }
11882
11883
11884 static PyObject *_wrap_new_PreVListBox(PyObject *, PyObject *args, PyObject *kwargs) {
11885 PyObject *resultobj = NULL;
11886 wxPyVListBox *result;
11887 char *kwnames[] = {
11888 NULL
11889 };
11890
11891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
11892 {
11893 if (!wxPyCheckForApp()) SWIG_fail;
11894 PyThreadState* __tstate = wxPyBeginAllowThreads();
11895 result = (wxPyVListBox *)new wxPyVListBox();
11896
11897 wxPyEndAllowThreads(__tstate);
11898 if (PyErr_Occurred()) SWIG_fail;
11899 }
11900 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
11901 return resultobj;
11902 fail:
11903 return NULL;
11904 }
11905
11906
11907 static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
11908 PyObject *resultobj = NULL;
11909 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11910 PyObject *arg2 = (PyObject *) 0 ;
11911 PyObject *arg3 = (PyObject *) 0 ;
11912 PyObject * obj0 = 0 ;
11913 PyObject * obj1 = 0 ;
11914 PyObject * obj2 = 0 ;
11915 char *kwnames[] = {
11916 (char *) "self",(char *) "self",(char *) "_class", NULL
11917 };
11918
11919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
11920 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11921 if (SWIG_arg_fail(1)) SWIG_fail;
11922 arg2 = obj1;
11923 arg3 = obj2;
11924 {
11925 PyThreadState* __tstate = wxPyBeginAllowThreads();
11926 (arg1)->_setCallbackInfo(arg2,arg3);
11927
11928 wxPyEndAllowThreads(__tstate);
11929 if (PyErr_Occurred()) SWIG_fail;
11930 }
11931 Py_INCREF(Py_None); resultobj = Py_None;
11932 return resultobj;
11933 fail:
11934 return NULL;
11935 }
11936
11937
11938 static PyObject *_wrap_VListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
11939 PyObject *resultobj = NULL;
11940 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11941 wxWindow *arg2 = (wxWindow *) 0 ;
11942 int arg3 = (int) wxID_ANY ;
11943 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11944 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11945 wxSize const &arg5_defvalue = wxDefaultSize ;
11946 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11947 long arg6 = (long) 0 ;
11948 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
11949 wxString *arg7 = (wxString *) &arg7_defvalue ;
11950 bool result;
11951 wxPoint temp4 ;
11952 wxSize temp5 ;
11953 bool temp7 = false ;
11954 PyObject * obj0 = 0 ;
11955 PyObject * obj1 = 0 ;
11956 PyObject * obj2 = 0 ;
11957 PyObject * obj3 = 0 ;
11958 PyObject * obj4 = 0 ;
11959 PyObject * obj5 = 0 ;
11960 PyObject * obj6 = 0 ;
11961 char *kwnames[] = {
11962 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11963 };
11964
11965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11966 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11967 if (SWIG_arg_fail(1)) SWIG_fail;
11968 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11969 if (SWIG_arg_fail(2)) SWIG_fail;
11970 if (obj2) {
11971 {
11972 arg3 = static_cast<int >(SWIG_As_int(obj2));
11973 if (SWIG_arg_fail(3)) SWIG_fail;
11974 }
11975 }
11976 if (obj3) {
11977 {
11978 arg4 = &temp4;
11979 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11980 }
11981 }
11982 if (obj4) {
11983 {
11984 arg5 = &temp5;
11985 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11986 }
11987 }
11988 if (obj5) {
11989 {
11990 arg6 = static_cast<long >(SWIG_As_long(obj5));
11991 if (SWIG_arg_fail(6)) SWIG_fail;
11992 }
11993 }
11994 if (obj6) {
11995 {
11996 arg7 = wxString_in_helper(obj6);
11997 if (arg7 == NULL) SWIG_fail;
11998 temp7 = true;
11999 }
12000 }
12001 {
12002 PyThreadState* __tstate = wxPyBeginAllowThreads();
12003 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12004
12005 wxPyEndAllowThreads(__tstate);
12006 if (PyErr_Occurred()) SWIG_fail;
12007 }
12008 {
12009 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12010 }
12011 {
12012 if (temp7)
12013 delete arg7;
12014 }
12015 return resultobj;
12016 fail:
12017 {
12018 if (temp7)
12019 delete arg7;
12020 }
12021 return NULL;
12022 }
12023
12024
12025 static PyObject *_wrap_VListBox_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
12026 PyObject *resultobj = NULL;
12027 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12028 size_t result;
12029 PyObject * obj0 = 0 ;
12030 char *kwnames[] = {
12031 (char *) "self", NULL
12032 };
12033
12034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
12035 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12036 if (SWIG_arg_fail(1)) SWIG_fail;
12037 {
12038 PyThreadState* __tstate = wxPyBeginAllowThreads();
12039 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
12040
12041 wxPyEndAllowThreads(__tstate);
12042 if (PyErr_Occurred()) SWIG_fail;
12043 }
12044 {
12045 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
12046 }
12047 return resultobj;
12048 fail:
12049 return NULL;
12050 }
12051
12052
12053 static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *, PyObject *args, PyObject *kwargs) {
12054 PyObject *resultobj = NULL;
12055 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12056 bool result;
12057 PyObject * obj0 = 0 ;
12058 char *kwnames[] = {
12059 (char *) "self", NULL
12060 };
12061
12062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
12063 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12064 if (SWIG_arg_fail(1)) SWIG_fail;
12065 {
12066 PyThreadState* __tstate = wxPyBeginAllowThreads();
12067 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
12068
12069 wxPyEndAllowThreads(__tstate);
12070 if (PyErr_Occurred()) SWIG_fail;
12071 }
12072 {
12073 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12074 }
12075 return resultobj;
12076 fail:
12077 return NULL;
12078 }
12079
12080
12081 static PyObject *_wrap_VListBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
12082 PyObject *resultobj = NULL;
12083 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12084 int result;
12085 PyObject * obj0 = 0 ;
12086 char *kwnames[] = {
12087 (char *) "self", NULL
12088 };
12089
12090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
12091 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12092 if (SWIG_arg_fail(1)) SWIG_fail;
12093 {
12094 PyThreadState* __tstate = wxPyBeginAllowThreads();
12095 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
12096
12097 wxPyEndAllowThreads(__tstate);
12098 if (PyErr_Occurred()) SWIG_fail;
12099 }
12100 {
12101 resultobj = SWIG_From_int(static_cast<int >(result));
12102 }
12103 return resultobj;
12104 fail:
12105 return NULL;
12106 }
12107
12108
12109 static PyObject *_wrap_VListBox_IsCurrent(PyObject *, PyObject *args, PyObject *kwargs) {
12110 PyObject *resultobj = NULL;
12111 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12112 size_t arg2 ;
12113 bool result;
12114 PyObject * obj0 = 0 ;
12115 PyObject * obj1 = 0 ;
12116 char *kwnames[] = {
12117 (char *) "self",(char *) "item", NULL
12118 };
12119
12120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
12121 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12122 if (SWIG_arg_fail(1)) SWIG_fail;
12123 {
12124 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
12125 if (SWIG_arg_fail(2)) SWIG_fail;
12126 }
12127 {
12128 PyThreadState* __tstate = wxPyBeginAllowThreads();
12129 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
12130
12131 wxPyEndAllowThreads(__tstate);
12132 if (PyErr_Occurred()) SWIG_fail;
12133 }
12134 {
12135 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12136 }
12137 return resultobj;
12138 fail:
12139 return NULL;
12140 }
12141
12142
12143 static PyObject *_wrap_VListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
12144 PyObject *resultobj = NULL;
12145 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12146 size_t arg2 ;
12147 bool result;
12148 PyObject * obj0 = 0 ;
12149 PyObject * obj1 = 0 ;
12150 char *kwnames[] = {
12151 (char *) "self",(char *) "item", NULL
12152 };
12153
12154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
12155 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12156 if (SWIG_arg_fail(1)) SWIG_fail;
12157 {
12158 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
12159 if (SWIG_arg_fail(2)) SWIG_fail;
12160 }
12161 {
12162 PyThreadState* __tstate = wxPyBeginAllowThreads();
12163 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
12164
12165 wxPyEndAllowThreads(__tstate);
12166 if (PyErr_Occurred()) SWIG_fail;
12167 }
12168 {
12169 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12170 }
12171 return resultobj;
12172 fail:
12173 return NULL;
12174 }
12175
12176
12177 static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *, PyObject *args, PyObject *kwargs) {
12178 PyObject *resultobj = NULL;
12179 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12180 size_t result;
12181 PyObject * obj0 = 0 ;
12182 char *kwnames[] = {
12183 (char *) "self", NULL
12184 };
12185
12186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
12187 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12188 if (SWIG_arg_fail(1)) SWIG_fail;
12189 {
12190 PyThreadState* __tstate = wxPyBeginAllowThreads();
12191 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
12192
12193 wxPyEndAllowThreads(__tstate);
12194 if (PyErr_Occurred()) SWIG_fail;
12195 }
12196 {
12197 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
12198 }
12199 return resultobj;
12200 fail:
12201 return NULL;
12202 }
12203
12204
12205 static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
12206 PyObject *resultobj = NULL;
12207 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12208 PyObject *result;
12209 PyObject * obj0 = 0 ;
12210 char *kwnames[] = {
12211 (char *) "self", NULL
12212 };
12213
12214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetFirstSelected",kwnames,&obj0)) goto fail;
12215 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12216 if (SWIG_arg_fail(1)) SWIG_fail;
12217 {
12218 PyThreadState* __tstate = wxPyBeginAllowThreads();
12219 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
12220
12221 wxPyEndAllowThreads(__tstate);
12222 if (PyErr_Occurred()) SWIG_fail;
12223 }
12224 resultobj = result;
12225 return resultobj;
12226 fail:
12227 return NULL;
12228 }
12229
12230
12231 static PyObject *_wrap_VListBox_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
12232 PyObject *resultobj = NULL;
12233 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12234 unsigned long arg2 ;
12235 PyObject *result;
12236 PyObject * obj0 = 0 ;
12237 PyObject * obj1 = 0 ;
12238 char *kwnames[] = {
12239 (char *) "self",(char *) "cookie", NULL
12240 };
12241
12242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
12243 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12244 if (SWIG_arg_fail(1)) SWIG_fail;
12245 {
12246 arg2 = static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj1));
12247 if (SWIG_arg_fail(2)) SWIG_fail;
12248 }
12249 {
12250 PyThreadState* __tstate = wxPyBeginAllowThreads();
12251 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
12252
12253 wxPyEndAllowThreads(__tstate);
12254 if (PyErr_Occurred()) SWIG_fail;
12255 }
12256 resultobj = result;
12257 return resultobj;
12258 fail:
12259 return NULL;
12260 }
12261
12262
12263 static PyObject *_wrap_VListBox_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
12264 PyObject *resultobj = NULL;
12265 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12266 wxPoint result;
12267 PyObject * obj0 = 0 ;
12268 char *kwnames[] = {
12269 (char *) "self", NULL
12270 };
12271
12272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
12273 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12274 if (SWIG_arg_fail(1)) SWIG_fail;
12275 {
12276 PyThreadState* __tstate = wxPyBeginAllowThreads();
12277 result = ((wxPyVListBox const *)arg1)->GetMargins();
12278
12279 wxPyEndAllowThreads(__tstate);
12280 if (PyErr_Occurred()) SWIG_fail;
12281 }
12282 {
12283 wxPoint * resultptr;
12284 resultptr = new wxPoint(static_cast<wxPoint & >(result));
12285 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
12286 }
12287 return resultobj;
12288 fail:
12289 return NULL;
12290 }
12291
12292
12293 static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
12294 PyObject *resultobj = NULL;
12295 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12296 wxColour *result;
12297 PyObject * obj0 = 0 ;
12298 char *kwnames[] = {
12299 (char *) "self", NULL
12300 };
12301
12302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
12303 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12304 if (SWIG_arg_fail(1)) SWIG_fail;
12305 {
12306 PyThreadState* __tstate = wxPyBeginAllowThreads();
12307 {
12308 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
12309 result = (wxColour *) &_result_ref;
12310 }
12311
12312 wxPyEndAllowThreads(__tstate);
12313 if (PyErr_Occurred()) SWIG_fail;
12314 }
12315 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
12316 return resultobj;
12317 fail:
12318 return NULL;
12319 }
12320
12321
12322 static PyObject *_wrap_VListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
12323 PyObject *resultobj = NULL;
12324 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12325 size_t arg2 ;
12326 PyObject * obj0 = 0 ;
12327 PyObject * obj1 = 0 ;
12328 char *kwnames[] = {
12329 (char *) "self",(char *) "count", NULL
12330 };
12331
12332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
12333 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12334 if (SWIG_arg_fail(1)) SWIG_fail;
12335 {
12336 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
12337 if (SWIG_arg_fail(2)) SWIG_fail;
12338 }
12339 {
12340 PyThreadState* __tstate = wxPyBeginAllowThreads();
12341 (arg1)->SetItemCount(arg2);
12342
12343 wxPyEndAllowThreads(__tstate);
12344 if (PyErr_Occurred()) SWIG_fail;
12345 }
12346 Py_INCREF(Py_None); resultobj = Py_None;
12347 return resultobj;
12348 fail:
12349 return NULL;
12350 }
12351
12352
12353 static PyObject *_wrap_VListBox_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
12354 PyObject *resultobj = NULL;
12355 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12356 PyObject * obj0 = 0 ;
12357 char *kwnames[] = {
12358 (char *) "self", NULL
12359 };
12360
12361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
12362 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12363 if (SWIG_arg_fail(1)) SWIG_fail;
12364 {
12365 PyThreadState* __tstate = wxPyBeginAllowThreads();
12366 (arg1)->Clear();
12367
12368 wxPyEndAllowThreads(__tstate);
12369 if (PyErr_Occurred()) SWIG_fail;
12370 }
12371 Py_INCREF(Py_None); resultobj = Py_None;
12372 return resultobj;
12373 fail:
12374 return NULL;
12375 }
12376
12377
12378 static PyObject *_wrap_VListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
12379 PyObject *resultobj = NULL;
12380 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12381 int arg2 ;
12382 PyObject * obj0 = 0 ;
12383 PyObject * obj1 = 0 ;
12384 char *kwnames[] = {
12385 (char *) "self",(char *) "selection", NULL
12386 };
12387
12388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
12389 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12390 if (SWIG_arg_fail(1)) SWIG_fail;
12391 {
12392 arg2 = static_cast<int >(SWIG_As_int(obj1));
12393 if (SWIG_arg_fail(2)) SWIG_fail;
12394 }
12395 {
12396 PyThreadState* __tstate = wxPyBeginAllowThreads();
12397 (arg1)->SetSelection(arg2);
12398
12399 wxPyEndAllowThreads(__tstate);
12400 if (PyErr_Occurred()) SWIG_fail;
12401 }
12402 Py_INCREF(Py_None); resultobj = Py_None;
12403 return resultobj;
12404 fail:
12405 return NULL;
12406 }
12407
12408
12409 static PyObject *_wrap_VListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
12410 PyObject *resultobj = NULL;
12411 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12412 size_t arg2 ;
12413 bool arg3 = (bool) true ;
12414 bool result;
12415 PyObject * obj0 = 0 ;
12416 PyObject * obj1 = 0 ;
12417 PyObject * obj2 = 0 ;
12418 char *kwnames[] = {
12419 (char *) "self",(char *) "item",(char *) "select", NULL
12420 };
12421
12422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
12423 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12424 if (SWIG_arg_fail(1)) SWIG_fail;
12425 {
12426 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
12427 if (SWIG_arg_fail(2)) SWIG_fail;
12428 }
12429 if (obj2) {
12430 {
12431 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
12432 if (SWIG_arg_fail(3)) SWIG_fail;
12433 }
12434 }
12435 {
12436 PyThreadState* __tstate = wxPyBeginAllowThreads();
12437 result = (bool)(arg1)->Select(arg2,arg3);
12438
12439 wxPyEndAllowThreads(__tstate);
12440 if (PyErr_Occurred()) SWIG_fail;
12441 }
12442 {
12443 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12444 }
12445 return resultobj;
12446 fail:
12447 return NULL;
12448 }
12449
12450
12451 static PyObject *_wrap_VListBox_SelectRange(PyObject *, PyObject *args, PyObject *kwargs) {
12452 PyObject *resultobj = NULL;
12453 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12454 size_t arg2 ;
12455 size_t arg3 ;
12456 bool result;
12457 PyObject * obj0 = 0 ;
12458 PyObject * obj1 = 0 ;
12459 PyObject * obj2 = 0 ;
12460 char *kwnames[] = {
12461 (char *) "self",(char *) "from",(char *) "to", NULL
12462 };
12463
12464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
12465 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12466 if (SWIG_arg_fail(1)) SWIG_fail;
12467 {
12468 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
12469 if (SWIG_arg_fail(2)) SWIG_fail;
12470 }
12471 {
12472 arg3 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2));
12473 if (SWIG_arg_fail(3)) SWIG_fail;
12474 }
12475 {
12476 PyThreadState* __tstate = wxPyBeginAllowThreads();
12477 result = (bool)(arg1)->SelectRange(arg2,arg3);
12478
12479 wxPyEndAllowThreads(__tstate);
12480 if (PyErr_Occurred()) SWIG_fail;
12481 }
12482 {
12483 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12484 }
12485 return resultobj;
12486 fail:
12487 return NULL;
12488 }
12489
12490
12491 static PyObject *_wrap_VListBox_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
12492 PyObject *resultobj = NULL;
12493 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12494 size_t arg2 ;
12495 PyObject * obj0 = 0 ;
12496 PyObject * obj1 = 0 ;
12497 char *kwnames[] = {
12498 (char *) "self",(char *) "item", NULL
12499 };
12500
12501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
12502 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12503 if (SWIG_arg_fail(1)) SWIG_fail;
12504 {
12505 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
12506 if (SWIG_arg_fail(2)) SWIG_fail;
12507 }
12508 {
12509 PyThreadState* __tstate = wxPyBeginAllowThreads();
12510 (arg1)->Toggle(arg2);
12511
12512 wxPyEndAllowThreads(__tstate);
12513 if (PyErr_Occurred()) SWIG_fail;
12514 }
12515 Py_INCREF(Py_None); resultobj = Py_None;
12516 return resultobj;
12517 fail:
12518 return NULL;
12519 }
12520
12521
12522 static PyObject *_wrap_VListBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
12523 PyObject *resultobj = NULL;
12524 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12525 bool result;
12526 PyObject * obj0 = 0 ;
12527 char *kwnames[] = {
12528 (char *) "self", NULL
12529 };
12530
12531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
12532 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12533 if (SWIG_arg_fail(1)) SWIG_fail;
12534 {
12535 PyThreadState* __tstate = wxPyBeginAllowThreads();
12536 result = (bool)(arg1)->SelectAll();
12537
12538 wxPyEndAllowThreads(__tstate);
12539 if (PyErr_Occurred()) SWIG_fail;
12540 }
12541 {
12542 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12543 }
12544 return resultobj;
12545 fail:
12546 return NULL;
12547 }
12548
12549
12550 static PyObject *_wrap_VListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
12551 PyObject *resultobj = NULL;
12552 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12553 bool result;
12554 PyObject * obj0 = 0 ;
12555 char *kwnames[] = {
12556 (char *) "self", NULL
12557 };
12558
12559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
12560 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12561 if (SWIG_arg_fail(1)) SWIG_fail;
12562 {
12563 PyThreadState* __tstate = wxPyBeginAllowThreads();
12564 result = (bool)(arg1)->DeselectAll();
12565
12566 wxPyEndAllowThreads(__tstate);
12567 if (PyErr_Occurred()) SWIG_fail;
12568 }
12569 {
12570 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12571 }
12572 return resultobj;
12573 fail:
12574 return NULL;
12575 }
12576
12577
12578 static PyObject *_wrap_VListBox_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
12579 PyObject *resultobj = NULL;
12580 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12581 wxPoint *arg2 = 0 ;
12582 wxPoint temp2 ;
12583 PyObject * obj0 = 0 ;
12584 PyObject * obj1 = 0 ;
12585 char *kwnames[] = {
12586 (char *) "self",(char *) "pt", NULL
12587 };
12588
12589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
12590 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12591 if (SWIG_arg_fail(1)) SWIG_fail;
12592 {
12593 arg2 = &temp2;
12594 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
12595 }
12596 {
12597 PyThreadState* __tstate = wxPyBeginAllowThreads();
12598 (arg1)->SetMargins((wxPoint const &)*arg2);
12599
12600 wxPyEndAllowThreads(__tstate);
12601 if (PyErr_Occurred()) SWIG_fail;
12602 }
12603 Py_INCREF(Py_None); resultobj = Py_None;
12604 return resultobj;
12605 fail:
12606 return NULL;
12607 }
12608
12609
12610 static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
12611 PyObject *resultobj = NULL;
12612 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12613 int arg2 ;
12614 int arg3 ;
12615 PyObject * obj0 = 0 ;
12616 PyObject * obj1 = 0 ;
12617 PyObject * obj2 = 0 ;
12618 char *kwnames[] = {
12619 (char *) "self",(char *) "x",(char *) "y", NULL
12620 };
12621
12622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
12623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12624 if (SWIG_arg_fail(1)) SWIG_fail;
12625 {
12626 arg2 = static_cast<int >(SWIG_As_int(obj1));
12627 if (SWIG_arg_fail(2)) SWIG_fail;
12628 }
12629 {
12630 arg3 = static_cast<int >(SWIG_As_int(obj2));
12631 if (SWIG_arg_fail(3)) SWIG_fail;
12632 }
12633 {
12634 PyThreadState* __tstate = wxPyBeginAllowThreads();
12635 (arg1)->SetMargins(arg2,arg3);
12636
12637 wxPyEndAllowThreads(__tstate);
12638 if (PyErr_Occurred()) SWIG_fail;
12639 }
12640 Py_INCREF(Py_None); resultobj = Py_None;
12641 return resultobj;
12642 fail:
12643 return NULL;
12644 }
12645
12646
12647 static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
12648 PyObject *resultobj = NULL;
12649 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12650 wxColour *arg2 = 0 ;
12651 wxColour temp2 ;
12652 PyObject * obj0 = 0 ;
12653 PyObject * obj1 = 0 ;
12654 char *kwnames[] = {
12655 (char *) "self",(char *) "col", NULL
12656 };
12657
12658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
12659 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12660 if (SWIG_arg_fail(1)) SWIG_fail;
12661 {
12662 arg2 = &temp2;
12663 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12664 }
12665 {
12666 PyThreadState* __tstate = wxPyBeginAllowThreads();
12667 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
12668
12669 wxPyEndAllowThreads(__tstate);
12670 if (PyErr_Occurred()) SWIG_fail;
12671 }
12672 Py_INCREF(Py_None); resultobj = Py_None;
12673 return resultobj;
12674 fail:
12675 return NULL;
12676 }
12677
12678
12679 static PyObject * VListBox_swigregister(PyObject *, PyObject *args) {
12680 PyObject *obj;
12681 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12682 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
12683 Py_INCREF(obj);
12684 return Py_BuildValue((char *)"");
12685 }
12686 static PyObject *_wrap_new_HtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
12687 PyObject *resultobj = NULL;
12688 wxWindow *arg1 = (wxWindow *) 0 ;
12689 int arg2 = (int) wxID_ANY ;
12690 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12691 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12692 wxSize const &arg4_defvalue = wxDefaultSize ;
12693 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12694 long arg5 = (long) 0 ;
12695 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
12696 wxString *arg6 = (wxString *) &arg6_defvalue ;
12697 wxPyHtmlListBox *result;
12698 wxPoint temp3 ;
12699 wxSize temp4 ;
12700 bool temp6 = false ;
12701 PyObject * obj0 = 0 ;
12702 PyObject * obj1 = 0 ;
12703 PyObject * obj2 = 0 ;
12704 PyObject * obj3 = 0 ;
12705 PyObject * obj4 = 0 ;
12706 PyObject * obj5 = 0 ;
12707 char *kwnames[] = {
12708 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12709 };
12710
12711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12712 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12713 if (SWIG_arg_fail(1)) SWIG_fail;
12714 if (obj1) {
12715 {
12716 arg2 = static_cast<int >(SWIG_As_int(obj1));
12717 if (SWIG_arg_fail(2)) SWIG_fail;
12718 }
12719 }
12720 if (obj2) {
12721 {
12722 arg3 = &temp3;
12723 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12724 }
12725 }
12726 if (obj3) {
12727 {
12728 arg4 = &temp4;
12729 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12730 }
12731 }
12732 if (obj4) {
12733 {
12734 arg5 = static_cast<long >(SWIG_As_long(obj4));
12735 if (SWIG_arg_fail(5)) SWIG_fail;
12736 }
12737 }
12738 if (obj5) {
12739 {
12740 arg6 = wxString_in_helper(obj5);
12741 if (arg6 == NULL) SWIG_fail;
12742 temp6 = true;
12743 }
12744 }
12745 {
12746 if (!wxPyCheckForApp()) SWIG_fail;
12747 PyThreadState* __tstate = wxPyBeginAllowThreads();
12748 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12749
12750 wxPyEndAllowThreads(__tstate);
12751 if (PyErr_Occurred()) SWIG_fail;
12752 }
12753 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
12754 {
12755 if (temp6)
12756 delete arg6;
12757 }
12758 return resultobj;
12759 fail:
12760 {
12761 if (temp6)
12762 delete arg6;
12763 }
12764 return NULL;
12765 }
12766
12767
12768 static PyObject *_wrap_new_PreHtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
12769 PyObject *resultobj = NULL;
12770 wxPyHtmlListBox *result;
12771 char *kwnames[] = {
12772 NULL
12773 };
12774
12775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
12776 {
12777 if (!wxPyCheckForApp()) SWIG_fail;
12778 PyThreadState* __tstate = wxPyBeginAllowThreads();
12779 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
12780
12781 wxPyEndAllowThreads(__tstate);
12782 if (PyErr_Occurred()) SWIG_fail;
12783 }
12784 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
12785 return resultobj;
12786 fail:
12787 return NULL;
12788 }
12789
12790
12791 static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
12792 PyObject *resultobj = NULL;
12793 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12794 PyObject *arg2 = (PyObject *) 0 ;
12795 PyObject *arg3 = (PyObject *) 0 ;
12796 PyObject * obj0 = 0 ;
12797 PyObject * obj1 = 0 ;
12798 PyObject * obj2 = 0 ;
12799 char *kwnames[] = {
12800 (char *) "self",(char *) "self",(char *) "_class", NULL
12801 };
12802
12803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
12804 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12805 if (SWIG_arg_fail(1)) SWIG_fail;
12806 arg2 = obj1;
12807 arg3 = obj2;
12808 {
12809 PyThreadState* __tstate = wxPyBeginAllowThreads();
12810 (arg1)->_setCallbackInfo(arg2,arg3);
12811
12812 wxPyEndAllowThreads(__tstate);
12813 if (PyErr_Occurred()) SWIG_fail;
12814 }
12815 Py_INCREF(Py_None); resultobj = Py_None;
12816 return resultobj;
12817 fail:
12818 return NULL;
12819 }
12820
12821
12822 static PyObject *_wrap_HtmlListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
12823 PyObject *resultobj = NULL;
12824 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12825 wxWindow *arg2 = (wxWindow *) 0 ;
12826 int arg3 = (int) wxID_ANY ;
12827 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12828 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12829 wxSize const &arg5_defvalue = wxDefaultSize ;
12830 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12831 long arg6 = (long) 0 ;
12832 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
12833 wxString *arg7 = (wxString *) &arg7_defvalue ;
12834 bool result;
12835 wxPoint temp4 ;
12836 wxSize temp5 ;
12837 bool temp7 = false ;
12838 PyObject * obj0 = 0 ;
12839 PyObject * obj1 = 0 ;
12840 PyObject * obj2 = 0 ;
12841 PyObject * obj3 = 0 ;
12842 PyObject * obj4 = 0 ;
12843 PyObject * obj5 = 0 ;
12844 PyObject * obj6 = 0 ;
12845 char *kwnames[] = {
12846 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12847 };
12848
12849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
12850 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12851 if (SWIG_arg_fail(1)) SWIG_fail;
12852 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12853 if (SWIG_arg_fail(2)) SWIG_fail;
12854 if (obj2) {
12855 {
12856 arg3 = static_cast<int >(SWIG_As_int(obj2));
12857 if (SWIG_arg_fail(3)) SWIG_fail;
12858 }
12859 }
12860 if (obj3) {
12861 {
12862 arg4 = &temp4;
12863 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12864 }
12865 }
12866 if (obj4) {
12867 {
12868 arg5 = &temp5;
12869 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12870 }
12871 }
12872 if (obj5) {
12873 {
12874 arg6 = static_cast<long >(SWIG_As_long(obj5));
12875 if (SWIG_arg_fail(6)) SWIG_fail;
12876 }
12877 }
12878 if (obj6) {
12879 {
12880 arg7 = wxString_in_helper(obj6);
12881 if (arg7 == NULL) SWIG_fail;
12882 temp7 = true;
12883 }
12884 }
12885 {
12886 PyThreadState* __tstate = wxPyBeginAllowThreads();
12887 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12888
12889 wxPyEndAllowThreads(__tstate);
12890 if (PyErr_Occurred()) SWIG_fail;
12891 }
12892 {
12893 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12894 }
12895 {
12896 if (temp7)
12897 delete arg7;
12898 }
12899 return resultobj;
12900 fail:
12901 {
12902 if (temp7)
12903 delete arg7;
12904 }
12905 return NULL;
12906 }
12907
12908
12909 static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
12910 PyObject *resultobj = NULL;
12911 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12912 PyObject * obj0 = 0 ;
12913 char *kwnames[] = {
12914 (char *) "self", NULL
12915 };
12916
12917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
12918 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12919 if (SWIG_arg_fail(1)) SWIG_fail;
12920 {
12921 PyThreadState* __tstate = wxPyBeginAllowThreads();
12922 (arg1)->RefreshAll();
12923
12924 wxPyEndAllowThreads(__tstate);
12925 if (PyErr_Occurred()) SWIG_fail;
12926 }
12927 Py_INCREF(Py_None); resultobj = Py_None;
12928 return resultobj;
12929 fail:
12930 return NULL;
12931 }
12932
12933
12934 static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
12935 PyObject *resultobj = NULL;
12936 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12937 size_t arg2 ;
12938 PyObject * obj0 = 0 ;
12939 PyObject * obj1 = 0 ;
12940 char *kwnames[] = {
12941 (char *) "self",(char *) "count", NULL
12942 };
12943
12944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
12945 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12946 if (SWIG_arg_fail(1)) SWIG_fail;
12947 {
12948 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
12949 if (SWIG_arg_fail(2)) SWIG_fail;
12950 }
12951 {
12952 PyThreadState* __tstate = wxPyBeginAllowThreads();
12953 (arg1)->SetItemCount(arg2);
12954
12955 wxPyEndAllowThreads(__tstate);
12956 if (PyErr_Occurred()) SWIG_fail;
12957 }
12958 Py_INCREF(Py_None); resultobj = Py_None;
12959 return resultobj;
12960 fail:
12961 return NULL;
12962 }
12963
12964
12965 static PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *, PyObject *args, PyObject *kwargs) {
12966 PyObject *resultobj = NULL;
12967 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12968 wxFileSystem *result;
12969 PyObject * obj0 = 0 ;
12970 char *kwnames[] = {
12971 (char *) "self", NULL
12972 };
12973
12974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_GetFileSystem",kwnames,&obj0)) goto fail;
12975 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12976 if (SWIG_arg_fail(1)) SWIG_fail;
12977 {
12978 PyThreadState* __tstate = wxPyBeginAllowThreads();
12979 {
12980 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
12981 result = (wxFileSystem *) &_result_ref;
12982 }
12983
12984 wxPyEndAllowThreads(__tstate);
12985 if (PyErr_Occurred()) SWIG_fail;
12986 }
12987 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileSystem, 0);
12988 return resultobj;
12989 fail:
12990 return NULL;
12991 }
12992
12993
12994 static PyObject * HtmlListBox_swigregister(PyObject *, PyObject *args) {
12995 PyObject *obj;
12996 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12997 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
12998 Py_INCREF(obj);
12999 return Py_BuildValue((char *)"");
13000 }
13001 static PyObject *_wrap_new_TaskBarIcon(PyObject *, PyObject *args, PyObject *kwargs) {
13002 PyObject *resultobj = NULL;
13003 wxPyTaskBarIcon *result;
13004 char *kwnames[] = {
13005 NULL
13006 };
13007
13008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
13009 {
13010 if (!wxPyCheckForApp()) SWIG_fail;
13011 PyThreadState* __tstate = wxPyBeginAllowThreads();
13012 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
13013
13014 wxPyEndAllowThreads(__tstate);
13015 if (PyErr_Occurred()) SWIG_fail;
13016 }
13017 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTaskBarIcon, 1);
13018 return resultobj;
13019 fail:
13020 return NULL;
13021 }
13022
13023
13024 static PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
13025 PyObject *resultobj = NULL;
13026 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
13027 PyObject *arg2 = (PyObject *) 0 ;
13028 PyObject *arg3 = (PyObject *) 0 ;
13029 int arg4 ;
13030 PyObject * obj0 = 0 ;
13031 PyObject * obj1 = 0 ;
13032 PyObject * obj2 = 0 ;
13033 PyObject * obj3 = 0 ;
13034 char *kwnames[] = {
13035 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
13036 };
13037
13038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13039 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13040 if (SWIG_arg_fail(1)) SWIG_fail;
13041 arg2 = obj1;
13042 arg3 = obj2;
13043 {
13044 arg4 = static_cast<int >(SWIG_As_int(obj3));
13045 if (SWIG_arg_fail(4)) SWIG_fail;
13046 }
13047 {
13048 PyThreadState* __tstate = wxPyBeginAllowThreads();
13049 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
13050
13051 wxPyEndAllowThreads(__tstate);
13052 if (PyErr_Occurred()) SWIG_fail;
13053 }
13054 Py_INCREF(Py_None); resultobj = Py_None;
13055 return resultobj;
13056 fail:
13057 return NULL;
13058 }
13059
13060
13061 static PyObject *_wrap_TaskBarIcon_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
13062 PyObject *resultobj = NULL;
13063 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
13064 PyObject * obj0 = 0 ;
13065 char *kwnames[] = {
13066 (char *) "self", NULL
13067 };
13068
13069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_Destroy",kwnames,&obj0)) goto fail;
13070 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13071 if (SWIG_arg_fail(1)) SWIG_fail;
13072 {
13073 PyThreadState* __tstate = wxPyBeginAllowThreads();
13074 wxPyTaskBarIcon_Destroy(arg1);
13075
13076 wxPyEndAllowThreads(__tstate);
13077 if (PyErr_Occurred()) SWIG_fail;
13078 }
13079 Py_INCREF(Py_None); resultobj = Py_None;
13080 return resultobj;
13081 fail:
13082 return NULL;
13083 }
13084
13085
13086 static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
13087 PyObject *resultobj = NULL;
13088 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
13089 bool result;
13090 PyObject * obj0 = 0 ;
13091 char *kwnames[] = {
13092 (char *) "self", NULL
13093 };
13094
13095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
13096 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13097 if (SWIG_arg_fail(1)) SWIG_fail;
13098 {
13099 PyThreadState* __tstate = wxPyBeginAllowThreads();
13100 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
13101
13102 wxPyEndAllowThreads(__tstate);
13103 if (PyErr_Occurred()) SWIG_fail;
13104 }
13105 {
13106 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13107 }
13108 return resultobj;
13109 fail:
13110 return NULL;
13111 }
13112
13113
13114 static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *, PyObject *args, PyObject *kwargs) {
13115 PyObject *resultobj = NULL;
13116 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
13117 bool result;
13118 PyObject * obj0 = 0 ;
13119 char *kwnames[] = {
13120 (char *) "self", NULL
13121 };
13122
13123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail;
13124 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13125 if (SWIG_arg_fail(1)) SWIG_fail;
13126 {
13127 PyThreadState* __tstate = wxPyBeginAllowThreads();
13128 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
13129
13130 wxPyEndAllowThreads(__tstate);
13131 if (PyErr_Occurred()) SWIG_fail;
13132 }
13133 {
13134 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13135 }
13136 return resultobj;
13137 fail:
13138 return NULL;
13139 }
13140
13141
13142 static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
13143 PyObject *resultobj = NULL;
13144 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
13145 wxIcon *arg2 = 0 ;
13146 wxString const &arg3_defvalue = wxPyEmptyString ;
13147 wxString *arg3 = (wxString *) &arg3_defvalue ;
13148 bool result;
13149 bool temp3 = false ;
13150 PyObject * obj0 = 0 ;
13151 PyObject * obj1 = 0 ;
13152 PyObject * obj2 = 0 ;
13153 char *kwnames[] = {
13154 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
13155 };
13156
13157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
13158 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13159 if (SWIG_arg_fail(1)) SWIG_fail;
13160 {
13161 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
13162 if (SWIG_arg_fail(2)) SWIG_fail;
13163 if (arg2 == NULL) {
13164 SWIG_null_ref("wxIcon");
13165 }
13166 if (SWIG_arg_fail(2)) SWIG_fail;
13167 }
13168 if (obj2) {
13169 {
13170 arg3 = wxString_in_helper(obj2);
13171 if (arg3 == NULL) SWIG_fail;
13172 temp3 = true;
13173 }
13174 }
13175 {
13176 PyThreadState* __tstate = wxPyBeginAllowThreads();
13177 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
13178
13179 wxPyEndAllowThreads(__tstate);
13180 if (PyErr_Occurred()) SWIG_fail;
13181 }
13182 {
13183 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13184 }
13185 {
13186 if (temp3)
13187 delete arg3;
13188 }
13189 return resultobj;
13190 fail:
13191 {
13192 if (temp3)
13193 delete arg3;
13194 }
13195 return NULL;
13196 }
13197
13198
13199 static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *, PyObject *args, PyObject *kwargs) {
13200 PyObject *resultobj = NULL;
13201 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
13202 bool result;
13203 PyObject * obj0 = 0 ;
13204 char *kwnames[] = {
13205 (char *) "self", NULL
13206 };
13207
13208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
13209 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13210 if (SWIG_arg_fail(1)) SWIG_fail;
13211 {
13212 PyThreadState* __tstate = wxPyBeginAllowThreads();
13213 result = (bool)(arg1)->RemoveIcon();
13214
13215 wxPyEndAllowThreads(__tstate);
13216 if (PyErr_Occurred()) SWIG_fail;
13217 }
13218 {
13219 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13220 }
13221 return resultobj;
13222 fail:
13223 return NULL;
13224 }
13225
13226
13227 static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *, PyObject *args, PyObject *kwargs) {
13228 PyObject *resultobj = NULL;
13229 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
13230 wxMenu *arg2 = (wxMenu *) 0 ;
13231 bool result;
13232 PyObject * obj0 = 0 ;
13233 PyObject * obj1 = 0 ;
13234 char *kwnames[] = {
13235 (char *) "self",(char *) "menu", NULL
13236 };
13237
13238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
13239 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13240 if (SWIG_arg_fail(1)) SWIG_fail;
13241 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
13242 if (SWIG_arg_fail(2)) SWIG_fail;
13243 {
13244 PyThreadState* __tstate = wxPyBeginAllowThreads();
13245 result = (bool)(arg1)->PopupMenu(arg2);
13246
13247 wxPyEndAllowThreads(__tstate);
13248 if (PyErr_Occurred()) SWIG_fail;
13249 }
13250 {
13251 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13252 }
13253 return resultobj;
13254 fail:
13255 return NULL;
13256 }
13257
13258
13259 static PyObject * TaskBarIcon_swigregister(PyObject *, PyObject *args) {
13260 PyObject *obj;
13261 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13262 SWIG_TypeClientData(SWIGTYPE_p_wxPyTaskBarIcon, obj);
13263 Py_INCREF(obj);
13264 return Py_BuildValue((char *)"");
13265 }
13266 static PyObject *_wrap_new_TaskBarIconEvent(PyObject *, PyObject *args, PyObject *kwargs) {
13267 PyObject *resultobj = NULL;
13268 wxEventType arg1 ;
13269 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
13270 wxTaskBarIconEvent *result;
13271 PyObject * obj0 = 0 ;
13272 PyObject * obj1 = 0 ;
13273 char *kwnames[] = {
13274 (char *) "evtType",(char *) "tbIcon", NULL
13275 };
13276
13277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
13278 {
13279 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
13280 if (SWIG_arg_fail(1)) SWIG_fail;
13281 }
13282 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13283 if (SWIG_arg_fail(2)) SWIG_fail;
13284 {
13285 PyThreadState* __tstate = wxPyBeginAllowThreads();
13286 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
13287
13288 wxPyEndAllowThreads(__tstate);
13289 if (PyErr_Occurred()) SWIG_fail;
13290 }
13291 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1);
13292 return resultobj;
13293 fail:
13294 return NULL;
13295 }
13296
13297
13298 static PyObject * TaskBarIconEvent_swigregister(PyObject *, PyObject *args) {
13299 PyObject *obj;
13300 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13301 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
13302 Py_INCREF(obj);
13303 return Py_BuildValue((char *)"");
13304 }
13305 static int _wrap_FileSelectorPromptStr_set(PyObject *) {
13306 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
13307 return 1;
13308 }
13309
13310
13311 static PyObject *_wrap_FileSelectorPromptStr_get(void) {
13312 PyObject *pyobj = NULL;
13313
13314 {
13315 #if wxUSE_UNICODE
13316 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
13317 #else
13318 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
13319 #endif
13320 }
13321 return pyobj;
13322 }
13323
13324
13325 static int _wrap_DirSelectorPromptStr_set(PyObject *) {
13326 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
13327 return 1;
13328 }
13329
13330
13331 static PyObject *_wrap_DirSelectorPromptStr_get(void) {
13332 PyObject *pyobj = NULL;
13333
13334 {
13335 #if wxUSE_UNICODE
13336 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
13337 #else
13338 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
13339 #endif
13340 }
13341 return pyobj;
13342 }
13343
13344
13345 static int _wrap_DirDialogNameStr_set(PyObject *) {
13346 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
13347 return 1;
13348 }
13349
13350
13351 static PyObject *_wrap_DirDialogNameStr_get(void) {
13352 PyObject *pyobj = NULL;
13353
13354 {
13355 #if wxUSE_UNICODE
13356 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
13357 #else
13358 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
13359 #endif
13360 }
13361 return pyobj;
13362 }
13363
13364
13365 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) {
13366 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
13367 return 1;
13368 }
13369
13370
13371 static PyObject *_wrap_FileSelectorDefaultWildcardStr_get(void) {
13372 PyObject *pyobj = NULL;
13373
13374 {
13375 #if wxUSE_UNICODE
13376 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
13377 #else
13378 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
13379 #endif
13380 }
13381 return pyobj;
13382 }
13383
13384
13385 static int _wrap_GetTextFromUserPromptStr_set(PyObject *) {
13386 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
13387 return 1;
13388 }
13389
13390
13391 static PyObject *_wrap_GetTextFromUserPromptStr_get(void) {
13392 PyObject *pyobj = NULL;
13393
13394 {
13395 #if wxUSE_UNICODE
13396 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
13397 #else
13398 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
13399 #endif
13400 }
13401 return pyobj;
13402 }
13403
13404
13405 static int _wrap_MessageBoxCaptionStr_set(PyObject *) {
13406 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
13407 return 1;
13408 }
13409
13410
13411 static PyObject *_wrap_MessageBoxCaptionStr_get(void) {
13412 PyObject *pyobj = NULL;
13413
13414 {
13415 #if wxUSE_UNICODE
13416 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
13417 #else
13418 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
13419 #endif
13420 }
13421 return pyobj;
13422 }
13423
13424
13425 static PyObject *_wrap_new_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
13426 PyObject *resultobj = NULL;
13427 wxColourData *result;
13428 char *kwnames[] = {
13429 NULL
13430 };
13431
13432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
13433 {
13434 PyThreadState* __tstate = wxPyBeginAllowThreads();
13435 result = (wxColourData *)new wxColourData();
13436
13437 wxPyEndAllowThreads(__tstate);
13438 if (PyErr_Occurred()) SWIG_fail;
13439 }
13440 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1);
13441 return resultobj;
13442 fail:
13443 return NULL;
13444 }
13445
13446
13447 static PyObject *_wrap_delete_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
13448 PyObject *resultobj = NULL;
13449 wxColourData *arg1 = (wxColourData *) 0 ;
13450 PyObject * obj0 = 0 ;
13451 char *kwnames[] = {
13452 (char *) "self", NULL
13453 };
13454
13455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
13456 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13457 if (SWIG_arg_fail(1)) SWIG_fail;
13458 {
13459 PyThreadState* __tstate = wxPyBeginAllowThreads();
13460 delete arg1;
13461
13462 wxPyEndAllowThreads(__tstate);
13463 if (PyErr_Occurred()) SWIG_fail;
13464 }
13465 Py_INCREF(Py_None); resultobj = Py_None;
13466 return resultobj;
13467 fail:
13468 return NULL;
13469 }
13470
13471
13472 static PyObject *_wrap_ColourData_GetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
13473 PyObject *resultobj = NULL;
13474 wxColourData *arg1 = (wxColourData *) 0 ;
13475 bool result;
13476 PyObject * obj0 = 0 ;
13477 char *kwnames[] = {
13478 (char *) "self", NULL
13479 };
13480
13481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
13482 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13483 if (SWIG_arg_fail(1)) SWIG_fail;
13484 {
13485 PyThreadState* __tstate = wxPyBeginAllowThreads();
13486 result = (bool)(arg1)->GetChooseFull();
13487
13488 wxPyEndAllowThreads(__tstate);
13489 if (PyErr_Occurred()) SWIG_fail;
13490 }
13491 {
13492 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13493 }
13494 return resultobj;
13495 fail:
13496 return NULL;
13497 }
13498
13499
13500 static PyObject *_wrap_ColourData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
13501 PyObject *resultobj = NULL;
13502 wxColourData *arg1 = (wxColourData *) 0 ;
13503 wxColour result;
13504 PyObject * obj0 = 0 ;
13505 char *kwnames[] = {
13506 (char *) "self", NULL
13507 };
13508
13509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
13510 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13511 if (SWIG_arg_fail(1)) SWIG_fail;
13512 {
13513 PyThreadState* __tstate = wxPyBeginAllowThreads();
13514 result = (arg1)->GetColour();
13515
13516 wxPyEndAllowThreads(__tstate);
13517 if (PyErr_Occurred()) SWIG_fail;
13518 }
13519 {
13520 wxColour * resultptr;
13521 resultptr = new wxColour(static_cast<wxColour & >(result));
13522 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
13523 }
13524 return resultobj;
13525 fail:
13526 return NULL;
13527 }
13528
13529
13530 static PyObject *_wrap_ColourData_GetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
13531 PyObject *resultobj = NULL;
13532 wxColourData *arg1 = (wxColourData *) 0 ;
13533 int arg2 ;
13534 wxColour result;
13535 PyObject * obj0 = 0 ;
13536 PyObject * obj1 = 0 ;
13537 char *kwnames[] = {
13538 (char *) "self",(char *) "i", NULL
13539 };
13540
13541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
13542 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13543 if (SWIG_arg_fail(1)) SWIG_fail;
13544 {
13545 arg2 = static_cast<int >(SWIG_As_int(obj1));
13546 if (SWIG_arg_fail(2)) SWIG_fail;
13547 }
13548 {
13549 PyThreadState* __tstate = wxPyBeginAllowThreads();
13550 result = (arg1)->GetCustomColour(arg2);
13551
13552 wxPyEndAllowThreads(__tstate);
13553 if (PyErr_Occurred()) SWIG_fail;
13554 }
13555 {
13556 wxColour * resultptr;
13557 resultptr = new wxColour(static_cast<wxColour & >(result));
13558 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
13559 }
13560 return resultobj;
13561 fail:
13562 return NULL;
13563 }
13564
13565
13566 static PyObject *_wrap_ColourData_SetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
13567 PyObject *resultobj = NULL;
13568 wxColourData *arg1 = (wxColourData *) 0 ;
13569 int arg2 ;
13570 PyObject * obj0 = 0 ;
13571 PyObject * obj1 = 0 ;
13572 char *kwnames[] = {
13573 (char *) "self",(char *) "flag", NULL
13574 };
13575
13576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
13577 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13578 if (SWIG_arg_fail(1)) SWIG_fail;
13579 {
13580 arg2 = static_cast<int >(SWIG_As_int(obj1));
13581 if (SWIG_arg_fail(2)) SWIG_fail;
13582 }
13583 {
13584 PyThreadState* __tstate = wxPyBeginAllowThreads();
13585 (arg1)->SetChooseFull(arg2);
13586
13587 wxPyEndAllowThreads(__tstate);
13588 if (PyErr_Occurred()) SWIG_fail;
13589 }
13590 Py_INCREF(Py_None); resultobj = Py_None;
13591 return resultobj;
13592 fail:
13593 return NULL;
13594 }
13595
13596
13597 static PyObject *_wrap_ColourData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
13598 PyObject *resultobj = NULL;
13599 wxColourData *arg1 = (wxColourData *) 0 ;
13600 wxColour *arg2 = 0 ;
13601 wxColour temp2 ;
13602 PyObject * obj0 = 0 ;
13603 PyObject * obj1 = 0 ;
13604 char *kwnames[] = {
13605 (char *) "self",(char *) "colour", NULL
13606 };
13607
13608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
13609 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13610 if (SWIG_arg_fail(1)) SWIG_fail;
13611 {
13612 arg2 = &temp2;
13613 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13614 }
13615 {
13616 PyThreadState* __tstate = wxPyBeginAllowThreads();
13617 (arg1)->SetColour((wxColour const &)*arg2);
13618
13619 wxPyEndAllowThreads(__tstate);
13620 if (PyErr_Occurred()) SWIG_fail;
13621 }
13622 Py_INCREF(Py_None); resultobj = Py_None;
13623 return resultobj;
13624 fail:
13625 return NULL;
13626 }
13627
13628
13629 static PyObject *_wrap_ColourData_SetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
13630 PyObject *resultobj = NULL;
13631 wxColourData *arg1 = (wxColourData *) 0 ;
13632 int arg2 ;
13633 wxColour *arg3 = 0 ;
13634 wxColour temp3 ;
13635 PyObject * obj0 = 0 ;
13636 PyObject * obj1 = 0 ;
13637 PyObject * obj2 = 0 ;
13638 char *kwnames[] = {
13639 (char *) "self",(char *) "i",(char *) "colour", NULL
13640 };
13641
13642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
13643 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13644 if (SWIG_arg_fail(1)) SWIG_fail;
13645 {
13646 arg2 = static_cast<int >(SWIG_As_int(obj1));
13647 if (SWIG_arg_fail(2)) SWIG_fail;
13648 }
13649 {
13650 arg3 = &temp3;
13651 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
13652 }
13653 {
13654 PyThreadState* __tstate = wxPyBeginAllowThreads();
13655 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
13656
13657 wxPyEndAllowThreads(__tstate);
13658 if (PyErr_Occurred()) SWIG_fail;
13659 }
13660 Py_INCREF(Py_None); resultobj = Py_None;
13661 return resultobj;
13662 fail:
13663 return NULL;
13664 }
13665
13666
13667 static PyObject * ColourData_swigregister(PyObject *, PyObject *args) {
13668 PyObject *obj;
13669 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13670 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
13671 Py_INCREF(obj);
13672 return Py_BuildValue((char *)"");
13673 }
13674 static PyObject *_wrap_new_ColourDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13675 PyObject *resultobj = NULL;
13676 wxWindow *arg1 = (wxWindow *) 0 ;
13677 wxColourData *arg2 = (wxColourData *) NULL ;
13678 wxColourDialog *result;
13679 PyObject * obj0 = 0 ;
13680 PyObject * obj1 = 0 ;
13681 char *kwnames[] = {
13682 (char *) "parent",(char *) "data", NULL
13683 };
13684
13685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
13686 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13687 if (SWIG_arg_fail(1)) SWIG_fail;
13688 if (obj1) {
13689 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13690 if (SWIG_arg_fail(2)) SWIG_fail;
13691 }
13692 {
13693 if (!wxPyCheckForApp()) SWIG_fail;
13694 PyThreadState* __tstate = wxPyBeginAllowThreads();
13695 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
13696
13697 wxPyEndAllowThreads(__tstate);
13698 if (PyErr_Occurred()) SWIG_fail;
13699 }
13700 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1);
13701 return resultobj;
13702 fail:
13703 return NULL;
13704 }
13705
13706
13707 static PyObject *_wrap_ColourDialog_GetColourData(PyObject *, PyObject *args, PyObject *kwargs) {
13708 PyObject *resultobj = NULL;
13709 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
13710 wxColourData *result;
13711 PyObject * obj0 = 0 ;
13712 char *kwnames[] = {
13713 (char *) "self", NULL
13714 };
13715
13716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
13717 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourDialog, SWIG_POINTER_EXCEPTION | 0);
13718 if (SWIG_arg_fail(1)) SWIG_fail;
13719 {
13720 PyThreadState* __tstate = wxPyBeginAllowThreads();
13721 {
13722 wxColourData &_result_ref = (arg1)->GetColourData();
13723 result = (wxColourData *) &_result_ref;
13724 }
13725
13726 wxPyEndAllowThreads(__tstate);
13727 if (PyErr_Occurred()) SWIG_fail;
13728 }
13729 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0);
13730 return resultobj;
13731 fail:
13732 return NULL;
13733 }
13734
13735
13736 static PyObject * ColourDialog_swigregister(PyObject *, PyObject *args) {
13737 PyObject *obj;
13738 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13739 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
13740 Py_INCREF(obj);
13741 return Py_BuildValue((char *)"");
13742 }
13743 static PyObject *_wrap_GetColourFromUser(PyObject *, PyObject *args, PyObject *kwargs) {
13744 PyObject *resultobj = NULL;
13745 wxWindow *arg1 = (wxWindow *) (wxWindow *) NULL ;
13746 wxColour const &arg2_defvalue = wxNullColour ;
13747 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
13748 wxString const &arg3_defvalue = wxPyEmptyString ;
13749 wxString *arg3 = (wxString *) &arg3_defvalue ;
13750 wxColour result;
13751 wxColour temp2 ;
13752 bool temp3 = false ;
13753 PyObject * obj0 = 0 ;
13754 PyObject * obj1 = 0 ;
13755 PyObject * obj2 = 0 ;
13756 char *kwnames[] = {
13757 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
13758 };
13759
13760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetColourFromUser",kwnames,&obj0,&obj1,&obj2)) goto fail;
13761 if (obj0) {
13762 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13763 if (SWIG_arg_fail(1)) SWIG_fail;
13764 }
13765 if (obj1) {
13766 {
13767 arg2 = &temp2;
13768 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13769 }
13770 }
13771 if (obj2) {
13772 {
13773 arg3 = wxString_in_helper(obj2);
13774 if (arg3 == NULL) SWIG_fail;
13775 temp3 = true;
13776 }
13777 }
13778 {
13779 PyThreadState* __tstate = wxPyBeginAllowThreads();
13780 result = wxGetColourFromUser(arg1,(wxColour const &)*arg2,(wxString const &)*arg3);
13781
13782 wxPyEndAllowThreads(__tstate);
13783 if (PyErr_Occurred()) SWIG_fail;
13784 }
13785 {
13786 wxColour * resultptr;
13787 resultptr = new wxColour(static_cast<wxColour & >(result));
13788 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
13789 }
13790 {
13791 if (temp3)
13792 delete arg3;
13793 }
13794 return resultobj;
13795 fail:
13796 {
13797 if (temp3)
13798 delete arg3;
13799 }
13800 return NULL;
13801 }
13802
13803
13804 static PyObject *_wrap_new_DirDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13805 PyObject *resultobj = NULL;
13806 wxWindow *arg1 = (wxWindow *) 0 ;
13807 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
13808 wxString *arg2 = (wxString *) &arg2_defvalue ;
13809 wxString const &arg3_defvalue = wxPyEmptyString ;
13810 wxString *arg3 = (wxString *) &arg3_defvalue ;
13811 long arg4 = (long) 0 ;
13812 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13813 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13814 wxSize const &arg6_defvalue = wxDefaultSize ;
13815 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13816 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
13817 wxString *arg7 = (wxString *) &arg7_defvalue ;
13818 wxDirDialog *result;
13819 bool temp2 = false ;
13820 bool temp3 = false ;
13821 wxPoint temp5 ;
13822 wxSize temp6 ;
13823 bool temp7 = false ;
13824 PyObject * obj0 = 0 ;
13825 PyObject * obj1 = 0 ;
13826 PyObject * obj2 = 0 ;
13827 PyObject * obj3 = 0 ;
13828 PyObject * obj4 = 0 ;
13829 PyObject * obj5 = 0 ;
13830 PyObject * obj6 = 0 ;
13831 char *kwnames[] = {
13832 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
13833 };
13834
13835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
13836 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13837 if (SWIG_arg_fail(1)) SWIG_fail;
13838 if (obj1) {
13839 {
13840 arg2 = wxString_in_helper(obj1);
13841 if (arg2 == NULL) SWIG_fail;
13842 temp2 = true;
13843 }
13844 }
13845 if (obj2) {
13846 {
13847 arg3 = wxString_in_helper(obj2);
13848 if (arg3 == NULL) SWIG_fail;
13849 temp3 = true;
13850 }
13851 }
13852 if (obj3) {
13853 {
13854 arg4 = static_cast<long >(SWIG_As_long(obj3));
13855 if (SWIG_arg_fail(4)) SWIG_fail;
13856 }
13857 }
13858 if (obj4) {
13859 {
13860 arg5 = &temp5;
13861 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13862 }
13863 }
13864 if (obj5) {
13865 {
13866 arg6 = &temp6;
13867 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13868 }
13869 }
13870 if (obj6) {
13871 {
13872 arg7 = wxString_in_helper(obj6);
13873 if (arg7 == NULL) SWIG_fail;
13874 temp7 = true;
13875 }
13876 }
13877 {
13878 if (!wxPyCheckForApp()) SWIG_fail;
13879 PyThreadState* __tstate = wxPyBeginAllowThreads();
13880 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
13881
13882 wxPyEndAllowThreads(__tstate);
13883 if (PyErr_Occurred()) SWIG_fail;
13884 }
13885 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1);
13886 {
13887 if (temp2)
13888 delete arg2;
13889 }
13890 {
13891 if (temp3)
13892 delete arg3;
13893 }
13894 {
13895 if (temp7)
13896 delete arg7;
13897 }
13898 return resultobj;
13899 fail:
13900 {
13901 if (temp2)
13902 delete arg2;
13903 }
13904 {
13905 if (temp3)
13906 delete arg3;
13907 }
13908 {
13909 if (temp7)
13910 delete arg7;
13911 }
13912 return NULL;
13913 }
13914
13915
13916 static PyObject *_wrap_DirDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
13917 PyObject *resultobj = NULL;
13918 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13919 wxString result;
13920 PyObject * obj0 = 0 ;
13921 char *kwnames[] = {
13922 (char *) "self", NULL
13923 };
13924
13925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
13926 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13927 if (SWIG_arg_fail(1)) SWIG_fail;
13928 {
13929 PyThreadState* __tstate = wxPyBeginAllowThreads();
13930 result = (arg1)->GetPath();
13931
13932 wxPyEndAllowThreads(__tstate);
13933 if (PyErr_Occurred()) SWIG_fail;
13934 }
13935 {
13936 #if wxUSE_UNICODE
13937 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13938 #else
13939 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13940 #endif
13941 }
13942 return resultobj;
13943 fail:
13944 return NULL;
13945 }
13946
13947
13948 static PyObject *_wrap_DirDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
13949 PyObject *resultobj = NULL;
13950 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13951 wxString result;
13952 PyObject * obj0 = 0 ;
13953 char *kwnames[] = {
13954 (char *) "self", NULL
13955 };
13956
13957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
13958 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13959 if (SWIG_arg_fail(1)) SWIG_fail;
13960 {
13961 PyThreadState* __tstate = wxPyBeginAllowThreads();
13962 result = (arg1)->GetMessage();
13963
13964 wxPyEndAllowThreads(__tstate);
13965 if (PyErr_Occurred()) SWIG_fail;
13966 }
13967 {
13968 #if wxUSE_UNICODE
13969 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13970 #else
13971 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13972 #endif
13973 }
13974 return resultobj;
13975 fail:
13976 return NULL;
13977 }
13978
13979
13980 static PyObject *_wrap_DirDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
13981 PyObject *resultobj = NULL;
13982 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13983 long result;
13984 PyObject * obj0 = 0 ;
13985 char *kwnames[] = {
13986 (char *) "self", NULL
13987 };
13988
13989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
13990 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13991 if (SWIG_arg_fail(1)) SWIG_fail;
13992 {
13993 PyThreadState* __tstate = wxPyBeginAllowThreads();
13994 result = (long)(arg1)->GetStyle();
13995
13996 wxPyEndAllowThreads(__tstate);
13997 if (PyErr_Occurred()) SWIG_fail;
13998 }
13999 {
14000 resultobj = SWIG_From_long(static_cast<long >(result));
14001 }
14002 return resultobj;
14003 fail:
14004 return NULL;
14005 }
14006
14007
14008 static PyObject *_wrap_DirDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
14009 PyObject *resultobj = NULL;
14010 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
14011 wxString *arg2 = 0 ;
14012 bool temp2 = false ;
14013 PyObject * obj0 = 0 ;
14014 PyObject * obj1 = 0 ;
14015 char *kwnames[] = {
14016 (char *) "self",(char *) "message", NULL
14017 };
14018
14019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
14020 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
14021 if (SWIG_arg_fail(1)) SWIG_fail;
14022 {
14023 arg2 = wxString_in_helper(obj1);
14024 if (arg2 == NULL) SWIG_fail;
14025 temp2 = true;
14026 }
14027 {
14028 PyThreadState* __tstate = wxPyBeginAllowThreads();
14029 (arg1)->SetMessage((wxString const &)*arg2);
14030
14031 wxPyEndAllowThreads(__tstate);
14032 if (PyErr_Occurred()) SWIG_fail;
14033 }
14034 Py_INCREF(Py_None); resultobj = Py_None;
14035 {
14036 if (temp2)
14037 delete arg2;
14038 }
14039 return resultobj;
14040 fail:
14041 {
14042 if (temp2)
14043 delete arg2;
14044 }
14045 return NULL;
14046 }
14047
14048
14049 static PyObject *_wrap_DirDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
14050 PyObject *resultobj = NULL;
14051 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
14052 wxString *arg2 = 0 ;
14053 bool temp2 = false ;
14054 PyObject * obj0 = 0 ;
14055 PyObject * obj1 = 0 ;
14056 char *kwnames[] = {
14057 (char *) "self",(char *) "path", NULL
14058 };
14059
14060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
14061 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
14062 if (SWIG_arg_fail(1)) SWIG_fail;
14063 {
14064 arg2 = wxString_in_helper(obj1);
14065 if (arg2 == NULL) SWIG_fail;
14066 temp2 = true;
14067 }
14068 {
14069 PyThreadState* __tstate = wxPyBeginAllowThreads();
14070 (arg1)->SetPath((wxString const &)*arg2);
14071
14072 wxPyEndAllowThreads(__tstate);
14073 if (PyErr_Occurred()) SWIG_fail;
14074 }
14075 Py_INCREF(Py_None); resultobj = Py_None;
14076 {
14077 if (temp2)
14078 delete arg2;
14079 }
14080 return resultobj;
14081 fail:
14082 {
14083 if (temp2)
14084 delete arg2;
14085 }
14086 return NULL;
14087 }
14088
14089
14090 static PyObject * DirDialog_swigregister(PyObject *, PyObject *args) {
14091 PyObject *obj;
14092 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14093 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
14094 Py_INCREF(obj);
14095 return Py_BuildValue((char *)"");
14096 }
14097 static PyObject *_wrap_new_FileDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14098 PyObject *resultobj = NULL;
14099 wxWindow *arg1 = (wxWindow *) 0 ;
14100 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
14101 wxString *arg2 = (wxString *) &arg2_defvalue ;
14102 wxString const &arg3_defvalue = wxPyEmptyString ;
14103 wxString *arg3 = (wxString *) &arg3_defvalue ;
14104 wxString const &arg4_defvalue = wxPyEmptyString ;
14105 wxString *arg4 = (wxString *) &arg4_defvalue ;
14106 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
14107 wxString *arg5 = (wxString *) &arg5_defvalue ;
14108 long arg6 = (long) 0 ;
14109 wxPoint const &arg7_defvalue = wxDefaultPosition ;
14110 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
14111 wxFileDialog *result;
14112 bool temp2 = false ;
14113 bool temp3 = false ;
14114 bool temp4 = false ;
14115 bool temp5 = false ;
14116 wxPoint temp7 ;
14117 PyObject * obj0 = 0 ;
14118 PyObject * obj1 = 0 ;
14119 PyObject * obj2 = 0 ;
14120 PyObject * obj3 = 0 ;
14121 PyObject * obj4 = 0 ;
14122 PyObject * obj5 = 0 ;
14123 PyObject * obj6 = 0 ;
14124 char *kwnames[] = {
14125 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
14126 };
14127
14128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14130 if (SWIG_arg_fail(1)) SWIG_fail;
14131 if (obj1) {
14132 {
14133 arg2 = wxString_in_helper(obj1);
14134 if (arg2 == NULL) SWIG_fail;
14135 temp2 = true;
14136 }
14137 }
14138 if (obj2) {
14139 {
14140 arg3 = wxString_in_helper(obj2);
14141 if (arg3 == NULL) SWIG_fail;
14142 temp3 = true;
14143 }
14144 }
14145 if (obj3) {
14146 {
14147 arg4 = wxString_in_helper(obj3);
14148 if (arg4 == NULL) SWIG_fail;
14149 temp4 = true;
14150 }
14151 }
14152 if (obj4) {
14153 {
14154 arg5 = wxString_in_helper(obj4);
14155 if (arg5 == NULL) SWIG_fail;
14156 temp5 = true;
14157 }
14158 }
14159 if (obj5) {
14160 {
14161 arg6 = static_cast<long >(SWIG_As_long(obj5));
14162 if (SWIG_arg_fail(6)) SWIG_fail;
14163 }
14164 }
14165 if (obj6) {
14166 {
14167 arg7 = &temp7;
14168 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
14169 }
14170 }
14171 {
14172 if (!wxPyCheckForApp()) SWIG_fail;
14173 PyThreadState* __tstate = wxPyBeginAllowThreads();
14174 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
14175
14176 wxPyEndAllowThreads(__tstate);
14177 if (PyErr_Occurred()) SWIG_fail;
14178 }
14179 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1);
14180 {
14181 if (temp2)
14182 delete arg2;
14183 }
14184 {
14185 if (temp3)
14186 delete arg3;
14187 }
14188 {
14189 if (temp4)
14190 delete arg4;
14191 }
14192 {
14193 if (temp5)
14194 delete arg5;
14195 }
14196 return resultobj;
14197 fail:
14198 {
14199 if (temp2)
14200 delete arg2;
14201 }
14202 {
14203 if (temp3)
14204 delete arg3;
14205 }
14206 {
14207 if (temp4)
14208 delete arg4;
14209 }
14210 {
14211 if (temp5)
14212 delete arg5;
14213 }
14214 return NULL;
14215 }
14216
14217
14218 static PyObject *_wrap_FileDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
14219 PyObject *resultobj = NULL;
14220 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14221 wxString *arg2 = 0 ;
14222 bool temp2 = false ;
14223 PyObject * obj0 = 0 ;
14224 PyObject * obj1 = 0 ;
14225 char *kwnames[] = {
14226 (char *) "self",(char *) "message", NULL
14227 };
14228
14229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
14230 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14231 if (SWIG_arg_fail(1)) SWIG_fail;
14232 {
14233 arg2 = wxString_in_helper(obj1);
14234 if (arg2 == NULL) SWIG_fail;
14235 temp2 = true;
14236 }
14237 {
14238 PyThreadState* __tstate = wxPyBeginAllowThreads();
14239 (arg1)->SetMessage((wxString const &)*arg2);
14240
14241 wxPyEndAllowThreads(__tstate);
14242 if (PyErr_Occurred()) SWIG_fail;
14243 }
14244 Py_INCREF(Py_None); resultobj = Py_None;
14245 {
14246 if (temp2)
14247 delete arg2;
14248 }
14249 return resultobj;
14250 fail:
14251 {
14252 if (temp2)
14253 delete arg2;
14254 }
14255 return NULL;
14256 }
14257
14258
14259 static PyObject *_wrap_FileDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
14260 PyObject *resultobj = NULL;
14261 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14262 wxString *arg2 = 0 ;
14263 bool temp2 = false ;
14264 PyObject * obj0 = 0 ;
14265 PyObject * obj1 = 0 ;
14266 char *kwnames[] = {
14267 (char *) "self",(char *) "path", NULL
14268 };
14269
14270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
14271 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14272 if (SWIG_arg_fail(1)) SWIG_fail;
14273 {
14274 arg2 = wxString_in_helper(obj1);
14275 if (arg2 == NULL) SWIG_fail;
14276 temp2 = true;
14277 }
14278 {
14279 PyThreadState* __tstate = wxPyBeginAllowThreads();
14280 (arg1)->SetPath((wxString const &)*arg2);
14281
14282 wxPyEndAllowThreads(__tstate);
14283 if (PyErr_Occurred()) SWIG_fail;
14284 }
14285 Py_INCREF(Py_None); resultobj = Py_None;
14286 {
14287 if (temp2)
14288 delete arg2;
14289 }
14290 return resultobj;
14291 fail:
14292 {
14293 if (temp2)
14294 delete arg2;
14295 }
14296 return NULL;
14297 }
14298
14299
14300 static PyObject *_wrap_FileDialog_SetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
14301 PyObject *resultobj = NULL;
14302 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14303 wxString *arg2 = 0 ;
14304 bool temp2 = false ;
14305 PyObject * obj0 = 0 ;
14306 PyObject * obj1 = 0 ;
14307 char *kwnames[] = {
14308 (char *) "self",(char *) "dir", NULL
14309 };
14310
14311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
14312 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14313 if (SWIG_arg_fail(1)) SWIG_fail;
14314 {
14315 arg2 = wxString_in_helper(obj1);
14316 if (arg2 == NULL) SWIG_fail;
14317 temp2 = true;
14318 }
14319 {
14320 PyThreadState* __tstate = wxPyBeginAllowThreads();
14321 (arg1)->SetDirectory((wxString const &)*arg2);
14322
14323 wxPyEndAllowThreads(__tstate);
14324 if (PyErr_Occurred()) SWIG_fail;
14325 }
14326 Py_INCREF(Py_None); resultobj = Py_None;
14327 {
14328 if (temp2)
14329 delete arg2;
14330 }
14331 return resultobj;
14332 fail:
14333 {
14334 if (temp2)
14335 delete arg2;
14336 }
14337 return NULL;
14338 }
14339
14340
14341 static PyObject *_wrap_FileDialog_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
14342 PyObject *resultobj = NULL;
14343 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14344 wxString *arg2 = 0 ;
14345 bool temp2 = false ;
14346 PyObject * obj0 = 0 ;
14347 PyObject * obj1 = 0 ;
14348 char *kwnames[] = {
14349 (char *) "self",(char *) "name", NULL
14350 };
14351
14352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
14353 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14354 if (SWIG_arg_fail(1)) SWIG_fail;
14355 {
14356 arg2 = wxString_in_helper(obj1);
14357 if (arg2 == NULL) SWIG_fail;
14358 temp2 = true;
14359 }
14360 {
14361 PyThreadState* __tstate = wxPyBeginAllowThreads();
14362 (arg1)->SetFilename((wxString const &)*arg2);
14363
14364 wxPyEndAllowThreads(__tstate);
14365 if (PyErr_Occurred()) SWIG_fail;
14366 }
14367 Py_INCREF(Py_None); resultobj = Py_None;
14368 {
14369 if (temp2)
14370 delete arg2;
14371 }
14372 return resultobj;
14373 fail:
14374 {
14375 if (temp2)
14376 delete arg2;
14377 }
14378 return NULL;
14379 }
14380
14381
14382 static PyObject *_wrap_FileDialog_SetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
14383 PyObject *resultobj = NULL;
14384 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14385 wxString *arg2 = 0 ;
14386 bool temp2 = false ;
14387 PyObject * obj0 = 0 ;
14388 PyObject * obj1 = 0 ;
14389 char *kwnames[] = {
14390 (char *) "self",(char *) "wildCard", NULL
14391 };
14392
14393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
14394 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14395 if (SWIG_arg_fail(1)) SWIG_fail;
14396 {
14397 arg2 = wxString_in_helper(obj1);
14398 if (arg2 == NULL) SWIG_fail;
14399 temp2 = true;
14400 }
14401 {
14402 PyThreadState* __tstate = wxPyBeginAllowThreads();
14403 (arg1)->SetWildcard((wxString const &)*arg2);
14404
14405 wxPyEndAllowThreads(__tstate);
14406 if (PyErr_Occurred()) SWIG_fail;
14407 }
14408 Py_INCREF(Py_None); resultobj = Py_None;
14409 {
14410 if (temp2)
14411 delete arg2;
14412 }
14413 return resultobj;
14414 fail:
14415 {
14416 if (temp2)
14417 delete arg2;
14418 }
14419 return NULL;
14420 }
14421
14422
14423 static PyObject *_wrap_FileDialog_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
14424 PyObject *resultobj = NULL;
14425 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14426 long arg2 ;
14427 PyObject * obj0 = 0 ;
14428 PyObject * obj1 = 0 ;
14429 char *kwnames[] = {
14430 (char *) "self",(char *) "style", NULL
14431 };
14432
14433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
14434 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14435 if (SWIG_arg_fail(1)) SWIG_fail;
14436 {
14437 arg2 = static_cast<long >(SWIG_As_long(obj1));
14438 if (SWIG_arg_fail(2)) SWIG_fail;
14439 }
14440 {
14441 PyThreadState* __tstate = wxPyBeginAllowThreads();
14442 (arg1)->SetStyle(arg2);
14443
14444 wxPyEndAllowThreads(__tstate);
14445 if (PyErr_Occurred()) SWIG_fail;
14446 }
14447 Py_INCREF(Py_None); resultobj = Py_None;
14448 return resultobj;
14449 fail:
14450 return NULL;
14451 }
14452
14453
14454 static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
14455 PyObject *resultobj = NULL;
14456 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14457 int arg2 ;
14458 PyObject * obj0 = 0 ;
14459 PyObject * obj1 = 0 ;
14460 char *kwnames[] = {
14461 (char *) "self",(char *) "filterIndex", NULL
14462 };
14463
14464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
14465 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14466 if (SWIG_arg_fail(1)) SWIG_fail;
14467 {
14468 arg2 = static_cast<int >(SWIG_As_int(obj1));
14469 if (SWIG_arg_fail(2)) SWIG_fail;
14470 }
14471 {
14472 PyThreadState* __tstate = wxPyBeginAllowThreads();
14473 (arg1)->SetFilterIndex(arg2);
14474
14475 wxPyEndAllowThreads(__tstate);
14476 if (PyErr_Occurred()) SWIG_fail;
14477 }
14478 Py_INCREF(Py_None); resultobj = Py_None;
14479 return resultobj;
14480 fail:
14481 return NULL;
14482 }
14483
14484
14485 static PyObject *_wrap_FileDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
14486 PyObject *resultobj = NULL;
14487 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14488 wxString result;
14489 PyObject * obj0 = 0 ;
14490 char *kwnames[] = {
14491 (char *) "self", NULL
14492 };
14493
14494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
14495 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14496 if (SWIG_arg_fail(1)) SWIG_fail;
14497 {
14498 PyThreadState* __tstate = wxPyBeginAllowThreads();
14499 result = ((wxFileDialog const *)arg1)->GetMessage();
14500
14501 wxPyEndAllowThreads(__tstate);
14502 if (PyErr_Occurred()) SWIG_fail;
14503 }
14504 {
14505 #if wxUSE_UNICODE
14506 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14507 #else
14508 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14509 #endif
14510 }
14511 return resultobj;
14512 fail:
14513 return NULL;
14514 }
14515
14516
14517 static PyObject *_wrap_FileDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
14518 PyObject *resultobj = NULL;
14519 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14520 wxString result;
14521 PyObject * obj0 = 0 ;
14522 char *kwnames[] = {
14523 (char *) "self", NULL
14524 };
14525
14526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
14527 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14528 if (SWIG_arg_fail(1)) SWIG_fail;
14529 {
14530 PyThreadState* __tstate = wxPyBeginAllowThreads();
14531 result = ((wxFileDialog const *)arg1)->GetPath();
14532
14533 wxPyEndAllowThreads(__tstate);
14534 if (PyErr_Occurred()) SWIG_fail;
14535 }
14536 {
14537 #if wxUSE_UNICODE
14538 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14539 #else
14540 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14541 #endif
14542 }
14543 return resultobj;
14544 fail:
14545 return NULL;
14546 }
14547
14548
14549 static PyObject *_wrap_FileDialog_GetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
14550 PyObject *resultobj = NULL;
14551 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14552 wxString result;
14553 PyObject * obj0 = 0 ;
14554 char *kwnames[] = {
14555 (char *) "self", NULL
14556 };
14557
14558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
14559 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14560 if (SWIG_arg_fail(1)) SWIG_fail;
14561 {
14562 PyThreadState* __tstate = wxPyBeginAllowThreads();
14563 result = ((wxFileDialog const *)arg1)->GetDirectory();
14564
14565 wxPyEndAllowThreads(__tstate);
14566 if (PyErr_Occurred()) SWIG_fail;
14567 }
14568 {
14569 #if wxUSE_UNICODE
14570 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14571 #else
14572 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14573 #endif
14574 }
14575 return resultobj;
14576 fail:
14577 return NULL;
14578 }
14579
14580
14581 static PyObject *_wrap_FileDialog_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
14582 PyObject *resultobj = NULL;
14583 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14584 wxString result;
14585 PyObject * obj0 = 0 ;
14586 char *kwnames[] = {
14587 (char *) "self", NULL
14588 };
14589
14590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
14591 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14592 if (SWIG_arg_fail(1)) SWIG_fail;
14593 {
14594 PyThreadState* __tstate = wxPyBeginAllowThreads();
14595 result = ((wxFileDialog const *)arg1)->GetFilename();
14596
14597 wxPyEndAllowThreads(__tstate);
14598 if (PyErr_Occurred()) SWIG_fail;
14599 }
14600 {
14601 #if wxUSE_UNICODE
14602 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14603 #else
14604 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14605 #endif
14606 }
14607 return resultobj;
14608 fail:
14609 return NULL;
14610 }
14611
14612
14613 static PyObject *_wrap_FileDialog_GetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
14614 PyObject *resultobj = NULL;
14615 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14616 wxString result;
14617 PyObject * obj0 = 0 ;
14618 char *kwnames[] = {
14619 (char *) "self", NULL
14620 };
14621
14622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
14623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14624 if (SWIG_arg_fail(1)) SWIG_fail;
14625 {
14626 PyThreadState* __tstate = wxPyBeginAllowThreads();
14627 result = ((wxFileDialog const *)arg1)->GetWildcard();
14628
14629 wxPyEndAllowThreads(__tstate);
14630 if (PyErr_Occurred()) SWIG_fail;
14631 }
14632 {
14633 #if wxUSE_UNICODE
14634 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14635 #else
14636 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14637 #endif
14638 }
14639 return resultobj;
14640 fail:
14641 return NULL;
14642 }
14643
14644
14645 static PyObject *_wrap_FileDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
14646 PyObject *resultobj = NULL;
14647 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14648 long result;
14649 PyObject * obj0 = 0 ;
14650 char *kwnames[] = {
14651 (char *) "self", NULL
14652 };
14653
14654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
14655 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14656 if (SWIG_arg_fail(1)) SWIG_fail;
14657 {
14658 PyThreadState* __tstate = wxPyBeginAllowThreads();
14659 result = (long)((wxFileDialog const *)arg1)->GetStyle();
14660
14661 wxPyEndAllowThreads(__tstate);
14662 if (PyErr_Occurred()) SWIG_fail;
14663 }
14664 {
14665 resultobj = SWIG_From_long(static_cast<long >(result));
14666 }
14667 return resultobj;
14668 fail:
14669 return NULL;
14670 }
14671
14672
14673 static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
14674 PyObject *resultobj = NULL;
14675 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14676 int result;
14677 PyObject * obj0 = 0 ;
14678 char *kwnames[] = {
14679 (char *) "self", NULL
14680 };
14681
14682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
14683 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14684 if (SWIG_arg_fail(1)) SWIG_fail;
14685 {
14686 PyThreadState* __tstate = wxPyBeginAllowThreads();
14687 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
14688
14689 wxPyEndAllowThreads(__tstate);
14690 if (PyErr_Occurred()) SWIG_fail;
14691 }
14692 {
14693 resultobj = SWIG_From_int(static_cast<int >(result));
14694 }
14695 return resultobj;
14696 fail:
14697 return NULL;
14698 }
14699
14700
14701 static PyObject *_wrap_FileDialog_GetFilenames(PyObject *, PyObject *args, PyObject *kwargs) {
14702 PyObject *resultobj = NULL;
14703 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14704 PyObject *result;
14705 PyObject * obj0 = 0 ;
14706 char *kwnames[] = {
14707 (char *) "self", NULL
14708 };
14709
14710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
14711 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14712 if (SWIG_arg_fail(1)) SWIG_fail;
14713 {
14714 PyThreadState* __tstate = wxPyBeginAllowThreads();
14715 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
14716
14717 wxPyEndAllowThreads(__tstate);
14718 if (PyErr_Occurred()) SWIG_fail;
14719 }
14720 resultobj = result;
14721 return resultobj;
14722 fail:
14723 return NULL;
14724 }
14725
14726
14727 static PyObject *_wrap_FileDialog_GetPaths(PyObject *, PyObject *args, PyObject *kwargs) {
14728 PyObject *resultobj = NULL;
14729 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14730 PyObject *result;
14731 PyObject * obj0 = 0 ;
14732 char *kwnames[] = {
14733 (char *) "self", NULL
14734 };
14735
14736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
14737 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14738 if (SWIG_arg_fail(1)) SWIG_fail;
14739 {
14740 PyThreadState* __tstate = wxPyBeginAllowThreads();
14741 result = (PyObject *)wxFileDialog_GetPaths(arg1);
14742
14743 wxPyEndAllowThreads(__tstate);
14744 if (PyErr_Occurred()) SWIG_fail;
14745 }
14746 resultobj = result;
14747 return resultobj;
14748 fail:
14749 return NULL;
14750 }
14751
14752
14753 static PyObject * FileDialog_swigregister(PyObject *, PyObject *args) {
14754 PyObject *obj;
14755 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14756 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
14757 Py_INCREF(obj);
14758 return Py_BuildValue((char *)"");
14759 }
14760 static PyObject *_wrap_new_MultiChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14761 PyObject *resultobj = NULL;
14762 wxWindow *arg1 = (wxWindow *) 0 ;
14763 wxString *arg2 = 0 ;
14764 wxString *arg3 = 0 ;
14765 int arg4 = (int) 0 ;
14766 wxString *arg5 = (wxString *) NULL ;
14767 long arg6 = (long) wxCHOICEDLG_STYLE ;
14768 wxPoint const &arg7_defvalue = wxDefaultPosition ;
14769 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
14770 wxMultiChoiceDialog *result;
14771 bool temp2 = false ;
14772 bool temp3 = false ;
14773 wxPoint temp7 ;
14774 PyObject * obj0 = 0 ;
14775 PyObject * obj1 = 0 ;
14776 PyObject * obj2 = 0 ;
14777 PyObject * obj3 = 0 ;
14778 PyObject * obj4 = 0 ;
14779 PyObject * obj5 = 0 ;
14780 char *kwnames[] = {
14781 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14782 };
14783
14784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14785 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14786 if (SWIG_arg_fail(1)) SWIG_fail;
14787 {
14788 arg2 = wxString_in_helper(obj1);
14789 if (arg2 == NULL) SWIG_fail;
14790 temp2 = true;
14791 }
14792 {
14793 arg3 = wxString_in_helper(obj2);
14794 if (arg3 == NULL) SWIG_fail;
14795 temp3 = true;
14796 }
14797 if (obj3) {
14798 {
14799 arg4 = PyList_Size(obj3);
14800 arg5 = wxString_LIST_helper(obj3);
14801 if (arg5 == NULL) SWIG_fail;
14802 }
14803 }
14804 if (obj4) {
14805 {
14806 arg6 = static_cast<long >(SWIG_As_long(obj4));
14807 if (SWIG_arg_fail(6)) SWIG_fail;
14808 }
14809 }
14810 if (obj5) {
14811 {
14812 arg7 = &temp7;
14813 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
14814 }
14815 }
14816 {
14817 if (!wxPyCheckForApp()) SWIG_fail;
14818 PyThreadState* __tstate = wxPyBeginAllowThreads();
14819 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
14820
14821 wxPyEndAllowThreads(__tstate);
14822 if (PyErr_Occurred()) SWIG_fail;
14823 }
14824 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1);
14825 {
14826 if (temp2)
14827 delete arg2;
14828 }
14829 {
14830 if (temp3)
14831 delete arg3;
14832 }
14833 {
14834 if (arg5) delete [] arg5;
14835 }
14836 return resultobj;
14837 fail:
14838 {
14839 if (temp2)
14840 delete arg2;
14841 }
14842 {
14843 if (temp3)
14844 delete arg3;
14845 }
14846 {
14847 if (arg5) delete [] arg5;
14848 }
14849 return NULL;
14850 }
14851
14852
14853 static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
14854 PyObject *resultobj = NULL;
14855 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
14856 wxArrayInt *arg2 = 0 ;
14857 bool temp2 = false ;
14858 PyObject * obj0 = 0 ;
14859 PyObject * obj1 = 0 ;
14860 char *kwnames[] = {
14861 (char *) "self",(char *) "selections", NULL
14862 };
14863
14864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
14865 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14866 if (SWIG_arg_fail(1)) SWIG_fail;
14867 {
14868 if (! PySequence_Check(obj1)) {
14869 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
14870 SWIG_fail;
14871 }
14872 arg2 = new wxArrayInt;
14873 temp2 = true;
14874 int i, len=PySequence_Length(obj1);
14875 for (i=0; i<len; i++) {
14876 PyObject* item = PySequence_GetItem(obj1, i);
14877 PyObject* number = PyNumber_Int(item);
14878 arg2->Add(PyInt_AS_LONG(number));
14879 Py_DECREF(item);
14880 Py_DECREF(number);
14881 }
14882 }
14883 {
14884 PyThreadState* __tstate = wxPyBeginAllowThreads();
14885 (arg1)->SetSelections((wxArrayInt const &)*arg2);
14886
14887 wxPyEndAllowThreads(__tstate);
14888 if (PyErr_Occurred()) SWIG_fail;
14889 }
14890 Py_INCREF(Py_None); resultobj = Py_None;
14891 {
14892 if (temp2) delete arg2;
14893 }
14894 return resultobj;
14895 fail:
14896 {
14897 if (temp2) delete arg2;
14898 }
14899 return NULL;
14900 }
14901
14902
14903 static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
14904 PyObject *resultobj = NULL;
14905 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 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:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
14913 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14914 if (SWIG_arg_fail(1)) SWIG_fail;
14915 {
14916 PyThreadState* __tstate = wxPyBeginAllowThreads();
14917 result = (PyObject *)wxMultiChoiceDialog_GetSelections(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 * MultiChoiceDialog_swigregister(PyObject *, PyObject *args) {
14930 PyObject *obj;
14931 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14932 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
14933 Py_INCREF(obj);
14934 return Py_BuildValue((char *)"");
14935 }
14936 static PyObject *_wrap_new_SingleChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14937 PyObject *resultobj = NULL;
14938 wxWindow *arg1 = (wxWindow *) 0 ;
14939 wxString *arg2 = 0 ;
14940 wxString *arg3 = 0 ;
14941 int arg4 ;
14942 wxString *arg5 = (wxString *) 0 ;
14943 long arg6 = (long) wxCHOICEDLG_STYLE ;
14944 wxPoint const &arg7_defvalue = wxDefaultPosition ;
14945 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
14946 wxSingleChoiceDialog *result;
14947 bool temp2 = false ;
14948 bool temp3 = false ;
14949 wxPoint temp7 ;
14950 PyObject * obj0 = 0 ;
14951 PyObject * obj1 = 0 ;
14952 PyObject * obj2 = 0 ;
14953 PyObject * obj3 = 0 ;
14954 PyObject * obj4 = 0 ;
14955 PyObject * obj5 = 0 ;
14956 char *kwnames[] = {
14957 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14958 };
14959
14960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14961 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14962 if (SWIG_arg_fail(1)) SWIG_fail;
14963 {
14964 arg2 = wxString_in_helper(obj1);
14965 if (arg2 == NULL) SWIG_fail;
14966 temp2 = true;
14967 }
14968 {
14969 arg3 = wxString_in_helper(obj2);
14970 if (arg3 == NULL) SWIG_fail;
14971 temp3 = true;
14972 }
14973 {
14974 arg4 = PyList_Size(obj3);
14975 arg5 = wxString_LIST_helper(obj3);
14976 if (arg5 == NULL) SWIG_fail;
14977 }
14978 if (obj4) {
14979 {
14980 arg6 = static_cast<long >(SWIG_As_long(obj4));
14981 if (SWIG_arg_fail(6)) SWIG_fail;
14982 }
14983 }
14984 if (obj5) {
14985 {
14986 arg7 = &temp7;
14987 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
14988 }
14989 }
14990 {
14991 if (!wxPyCheckForApp()) SWIG_fail;
14992 PyThreadState* __tstate = wxPyBeginAllowThreads();
14993 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
14994
14995 wxPyEndAllowThreads(__tstate);
14996 if (PyErr_Occurred()) SWIG_fail;
14997 }
14998 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1);
14999 {
15000 if (temp2)
15001 delete arg2;
15002 }
15003 {
15004 if (temp3)
15005 delete arg3;
15006 }
15007 {
15008 if (arg5) delete [] arg5;
15009 }
15010 return resultobj;
15011 fail:
15012 {
15013 if (temp2)
15014 delete arg2;
15015 }
15016 {
15017 if (temp3)
15018 delete arg3;
15019 }
15020 {
15021 if (arg5) delete [] arg5;
15022 }
15023 return NULL;
15024 }
15025
15026
15027 static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
15028 PyObject *resultobj = NULL;
15029 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
15030 int result;
15031 PyObject * obj0 = 0 ;
15032 char *kwnames[] = {
15033 (char *) "self", NULL
15034 };
15035
15036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
15037 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
15038 if (SWIG_arg_fail(1)) SWIG_fail;
15039 {
15040 PyThreadState* __tstate = wxPyBeginAllowThreads();
15041 result = (int)(arg1)->GetSelection();
15042
15043 wxPyEndAllowThreads(__tstate);
15044 if (PyErr_Occurred()) SWIG_fail;
15045 }
15046 {
15047 resultobj = SWIG_From_int(static_cast<int >(result));
15048 }
15049 return resultobj;
15050 fail:
15051 return NULL;
15052 }
15053
15054
15055 static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
15056 PyObject *resultobj = NULL;
15057 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
15058 wxString result;
15059 PyObject * obj0 = 0 ;
15060 char *kwnames[] = {
15061 (char *) "self", NULL
15062 };
15063
15064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
15065 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
15066 if (SWIG_arg_fail(1)) SWIG_fail;
15067 {
15068 PyThreadState* __tstate = wxPyBeginAllowThreads();
15069 result = (arg1)->GetStringSelection();
15070
15071 wxPyEndAllowThreads(__tstate);
15072 if (PyErr_Occurred()) SWIG_fail;
15073 }
15074 {
15075 #if wxUSE_UNICODE
15076 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15077 #else
15078 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15079 #endif
15080 }
15081 return resultobj;
15082 fail:
15083 return NULL;
15084 }
15085
15086
15087 static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
15088 PyObject *resultobj = NULL;
15089 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
15090 int arg2 ;
15091 PyObject * obj0 = 0 ;
15092 PyObject * obj1 = 0 ;
15093 char *kwnames[] = {
15094 (char *) "self",(char *) "sel", NULL
15095 };
15096
15097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
15098 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
15099 if (SWIG_arg_fail(1)) SWIG_fail;
15100 {
15101 arg2 = static_cast<int >(SWIG_As_int(obj1));
15102 if (SWIG_arg_fail(2)) SWIG_fail;
15103 }
15104 {
15105 PyThreadState* __tstate = wxPyBeginAllowThreads();
15106 (arg1)->SetSelection(arg2);
15107
15108 wxPyEndAllowThreads(__tstate);
15109 if (PyErr_Occurred()) SWIG_fail;
15110 }
15111 Py_INCREF(Py_None); resultobj = Py_None;
15112 return resultobj;
15113 fail:
15114 return NULL;
15115 }
15116
15117
15118 static PyObject * SingleChoiceDialog_swigregister(PyObject *, PyObject *args) {
15119 PyObject *obj;
15120 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15121 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
15122 Py_INCREF(obj);
15123 return Py_BuildValue((char *)"");
15124 }
15125 static PyObject *_wrap_new_TextEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) {
15126 PyObject *resultobj = NULL;
15127 wxWindow *arg1 = (wxWindow *) 0 ;
15128 wxString *arg2 = 0 ;
15129 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
15130 wxString *arg3 = (wxString *) &arg3_defvalue ;
15131 wxString const &arg4_defvalue = wxPyEmptyString ;
15132 wxString *arg4 = (wxString *) &arg4_defvalue ;
15133 long arg5 = (long) wxTextEntryDialogStyle ;
15134 wxPoint const &arg6_defvalue = wxDefaultPosition ;
15135 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
15136 wxTextEntryDialog *result;
15137 bool temp2 = false ;
15138 bool temp3 = false ;
15139 bool temp4 = false ;
15140 wxPoint temp6 ;
15141 PyObject * obj0 = 0 ;
15142 PyObject * obj1 = 0 ;
15143 PyObject * obj2 = 0 ;
15144 PyObject * obj3 = 0 ;
15145 PyObject * obj4 = 0 ;
15146 PyObject * obj5 = 0 ;
15147 char *kwnames[] = {
15148 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
15149 };
15150
15151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15152 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15153 if (SWIG_arg_fail(1)) SWIG_fail;
15154 {
15155 arg2 = wxString_in_helper(obj1);
15156 if (arg2 == NULL) SWIG_fail;
15157 temp2 = true;
15158 }
15159 if (obj2) {
15160 {
15161 arg3 = wxString_in_helper(obj2);
15162 if (arg3 == NULL) SWIG_fail;
15163 temp3 = true;
15164 }
15165 }
15166 if (obj3) {
15167 {
15168 arg4 = wxString_in_helper(obj3);
15169 if (arg4 == NULL) SWIG_fail;
15170 temp4 = true;
15171 }
15172 }
15173 if (obj4) {
15174 {
15175 arg5 = static_cast<long >(SWIG_As_long(obj4));
15176 if (SWIG_arg_fail(5)) SWIG_fail;
15177 }
15178 }
15179 if (obj5) {
15180 {
15181 arg6 = &temp6;
15182 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
15183 }
15184 }
15185 {
15186 if (!wxPyCheckForApp()) SWIG_fail;
15187 PyThreadState* __tstate = wxPyBeginAllowThreads();
15188 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
15189
15190 wxPyEndAllowThreads(__tstate);
15191 if (PyErr_Occurred()) SWIG_fail;
15192 }
15193 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1);
15194 {
15195 if (temp2)
15196 delete arg2;
15197 }
15198 {
15199 if (temp3)
15200 delete arg3;
15201 }
15202 {
15203 if (temp4)
15204 delete arg4;
15205 }
15206 return resultobj;
15207 fail:
15208 {
15209 if (temp2)
15210 delete arg2;
15211 }
15212 {
15213 if (temp3)
15214 delete arg3;
15215 }
15216 {
15217 if (temp4)
15218 delete arg4;
15219 }
15220 return NULL;
15221 }
15222
15223
15224 static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
15225 PyObject *resultobj = NULL;
15226 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
15227 wxString result;
15228 PyObject * obj0 = 0 ;
15229 char *kwnames[] = {
15230 (char *) "self", NULL
15231 };
15232
15233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
15234 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_EXCEPTION | 0);
15235 if (SWIG_arg_fail(1)) SWIG_fail;
15236 {
15237 PyThreadState* __tstate = wxPyBeginAllowThreads();
15238 result = (arg1)->GetValue();
15239
15240 wxPyEndAllowThreads(__tstate);
15241 if (PyErr_Occurred()) SWIG_fail;
15242 }
15243 {
15244 #if wxUSE_UNICODE
15245 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15246 #else
15247 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15248 #endif
15249 }
15250 return resultobj;
15251 fail:
15252 return NULL;
15253 }
15254
15255
15256 static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
15257 PyObject *resultobj = NULL;
15258 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
15259 wxString *arg2 = 0 ;
15260 bool temp2 = false ;
15261 PyObject * obj0 = 0 ;
15262 PyObject * obj1 = 0 ;
15263 char *kwnames[] = {
15264 (char *) "self",(char *) "value", NULL
15265 };
15266
15267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
15268 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_EXCEPTION | 0);
15269 if (SWIG_arg_fail(1)) SWIG_fail;
15270 {
15271 arg2 = wxString_in_helper(obj1);
15272 if (arg2 == NULL) SWIG_fail;
15273 temp2 = true;
15274 }
15275 {
15276 PyThreadState* __tstate = wxPyBeginAllowThreads();
15277 (arg1)->SetValue((wxString const &)*arg2);
15278
15279 wxPyEndAllowThreads(__tstate);
15280 if (PyErr_Occurred()) SWIG_fail;
15281 }
15282 Py_INCREF(Py_None); resultobj = Py_None;
15283 {
15284 if (temp2)
15285 delete arg2;
15286 }
15287 return resultobj;
15288 fail:
15289 {
15290 if (temp2)
15291 delete arg2;
15292 }
15293 return NULL;
15294 }
15295
15296
15297 static PyObject * TextEntryDialog_swigregister(PyObject *, PyObject *args) {
15298 PyObject *obj;
15299 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15300 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
15301 Py_INCREF(obj);
15302 return Py_BuildValue((char *)"");
15303 }
15304 static int _wrap_GetPasswordFromUserPromptStr_set(PyObject *) {
15305 PyErr_SetString(PyExc_TypeError,"Variable GetPasswordFromUserPromptStr is read-only.");
15306 return 1;
15307 }
15308
15309
15310 static PyObject *_wrap_GetPasswordFromUserPromptStr_get(void) {
15311 PyObject *pyobj = NULL;
15312
15313 {
15314 #if wxUSE_UNICODE
15315 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
15316 #else
15317 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
15318 #endif
15319 }
15320 return pyobj;
15321 }
15322
15323
15324 static PyObject *_wrap_new_PasswordEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) {
15325 PyObject *resultobj = NULL;
15326 wxWindow *arg1 = (wxWindow *) 0 ;
15327 wxString *arg2 = 0 ;
15328 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
15329 wxString *arg3 = (wxString *) &arg3_defvalue ;
15330 wxString const &arg4_defvalue = wxPyEmptyString ;
15331 wxString *arg4 = (wxString *) &arg4_defvalue ;
15332 long arg5 = (long) wxTextEntryDialogStyle ;
15333 wxPoint const &arg6_defvalue = wxDefaultPosition ;
15334 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
15335 wxPasswordEntryDialog *result;
15336 bool temp2 = false ;
15337 bool temp3 = false ;
15338 bool temp4 = false ;
15339 wxPoint temp6 ;
15340 PyObject * obj0 = 0 ;
15341 PyObject * obj1 = 0 ;
15342 PyObject * obj2 = 0 ;
15343 PyObject * obj3 = 0 ;
15344 PyObject * obj4 = 0 ;
15345 PyObject * obj5 = 0 ;
15346 char *kwnames[] = {
15347 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
15348 };
15349
15350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15351 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15352 if (SWIG_arg_fail(1)) SWIG_fail;
15353 {
15354 arg2 = wxString_in_helper(obj1);
15355 if (arg2 == NULL) SWIG_fail;
15356 temp2 = true;
15357 }
15358 if (obj2) {
15359 {
15360 arg3 = wxString_in_helper(obj2);
15361 if (arg3 == NULL) SWIG_fail;
15362 temp3 = true;
15363 }
15364 }
15365 if (obj3) {
15366 {
15367 arg4 = wxString_in_helper(obj3);
15368 if (arg4 == NULL) SWIG_fail;
15369 temp4 = true;
15370 }
15371 }
15372 if (obj4) {
15373 {
15374 arg5 = static_cast<long >(SWIG_As_long(obj4));
15375 if (SWIG_arg_fail(5)) SWIG_fail;
15376 }
15377 }
15378 if (obj5) {
15379 {
15380 arg6 = &temp6;
15381 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
15382 }
15383 }
15384 {
15385 PyThreadState* __tstate = wxPyBeginAllowThreads();
15386 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
15387
15388 wxPyEndAllowThreads(__tstate);
15389 if (PyErr_Occurred()) SWIG_fail;
15390 }
15391 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPasswordEntryDialog, 1);
15392 {
15393 if (temp2)
15394 delete arg2;
15395 }
15396 {
15397 if (temp3)
15398 delete arg3;
15399 }
15400 {
15401 if (temp4)
15402 delete arg4;
15403 }
15404 return resultobj;
15405 fail:
15406 {
15407 if (temp2)
15408 delete arg2;
15409 }
15410 {
15411 if (temp3)
15412 delete arg3;
15413 }
15414 {
15415 if (temp4)
15416 delete arg4;
15417 }
15418 return NULL;
15419 }
15420
15421
15422 static PyObject * PasswordEntryDialog_swigregister(PyObject *, PyObject *args) {
15423 PyObject *obj;
15424 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15425 SWIG_TypeClientData(SWIGTYPE_p_wxPasswordEntryDialog, obj);
15426 Py_INCREF(obj);
15427 return Py_BuildValue((char *)"");
15428 }
15429 static PyObject *_wrap_new_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
15430 PyObject *resultobj = NULL;
15431 wxFontData *result;
15432 char *kwnames[] = {
15433 NULL
15434 };
15435
15436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
15437 {
15438 PyThreadState* __tstate = wxPyBeginAllowThreads();
15439 result = (wxFontData *)new wxFontData();
15440
15441 wxPyEndAllowThreads(__tstate);
15442 if (PyErr_Occurred()) SWIG_fail;
15443 }
15444 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1);
15445 return resultobj;
15446 fail:
15447 return NULL;
15448 }
15449
15450
15451 static PyObject *_wrap_delete_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
15452 PyObject *resultobj = NULL;
15453 wxFontData *arg1 = (wxFontData *) 0 ;
15454 PyObject * obj0 = 0 ;
15455 char *kwnames[] = {
15456 (char *) "self", NULL
15457 };
15458
15459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
15460 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15461 if (SWIG_arg_fail(1)) SWIG_fail;
15462 {
15463 PyThreadState* __tstate = wxPyBeginAllowThreads();
15464 delete arg1;
15465
15466 wxPyEndAllowThreads(__tstate);
15467 if (PyErr_Occurred()) SWIG_fail;
15468 }
15469 Py_INCREF(Py_None); resultobj = Py_None;
15470 return resultobj;
15471 fail:
15472 return NULL;
15473 }
15474
15475
15476 static PyObject *_wrap_FontData_EnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
15477 PyObject *resultobj = NULL;
15478 wxFontData *arg1 = (wxFontData *) 0 ;
15479 bool arg2 ;
15480 PyObject * obj0 = 0 ;
15481 PyObject * obj1 = 0 ;
15482 char *kwnames[] = {
15483 (char *) "self",(char *) "enable", NULL
15484 };
15485
15486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
15487 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15488 if (SWIG_arg_fail(1)) SWIG_fail;
15489 {
15490 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
15491 if (SWIG_arg_fail(2)) SWIG_fail;
15492 }
15493 {
15494 PyThreadState* __tstate = wxPyBeginAllowThreads();
15495 (arg1)->EnableEffects(arg2);
15496
15497 wxPyEndAllowThreads(__tstate);
15498 if (PyErr_Occurred()) SWIG_fail;
15499 }
15500 Py_INCREF(Py_None); resultobj = Py_None;
15501 return resultobj;
15502 fail:
15503 return NULL;
15504 }
15505
15506
15507 static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
15508 PyObject *resultobj = NULL;
15509 wxFontData *arg1 = (wxFontData *) 0 ;
15510 bool result;
15511 PyObject * obj0 = 0 ;
15512 char *kwnames[] = {
15513 (char *) "self", NULL
15514 };
15515
15516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
15517 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15518 if (SWIG_arg_fail(1)) SWIG_fail;
15519 {
15520 PyThreadState* __tstate = wxPyBeginAllowThreads();
15521 result = (bool)(arg1)->GetAllowSymbols();
15522
15523 wxPyEndAllowThreads(__tstate);
15524 if (PyErr_Occurred()) SWIG_fail;
15525 }
15526 {
15527 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15528 }
15529 return resultobj;
15530 fail:
15531 return NULL;
15532 }
15533
15534
15535 static PyObject *_wrap_FontData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
15536 PyObject *resultobj = NULL;
15537 wxFontData *arg1 = (wxFontData *) 0 ;
15538 wxColour result;
15539 PyObject * obj0 = 0 ;
15540 char *kwnames[] = {
15541 (char *) "self", NULL
15542 };
15543
15544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
15545 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15546 if (SWIG_arg_fail(1)) SWIG_fail;
15547 {
15548 PyThreadState* __tstate = wxPyBeginAllowThreads();
15549 result = (arg1)->GetColour();
15550
15551 wxPyEndAllowThreads(__tstate);
15552 if (PyErr_Occurred()) SWIG_fail;
15553 }
15554 {
15555 wxColour * resultptr;
15556 resultptr = new wxColour(static_cast<wxColour & >(result));
15557 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
15558 }
15559 return resultobj;
15560 fail:
15561 return NULL;
15562 }
15563
15564
15565 static PyObject *_wrap_FontData_GetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
15566 PyObject *resultobj = NULL;
15567 wxFontData *arg1 = (wxFontData *) 0 ;
15568 wxFont result;
15569 PyObject * obj0 = 0 ;
15570 char *kwnames[] = {
15571 (char *) "self", NULL
15572 };
15573
15574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
15575 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15576 if (SWIG_arg_fail(1)) SWIG_fail;
15577 {
15578 PyThreadState* __tstate = wxPyBeginAllowThreads();
15579 result = (arg1)->GetChosenFont();
15580
15581 wxPyEndAllowThreads(__tstate);
15582 if (PyErr_Occurred()) SWIG_fail;
15583 }
15584 {
15585 wxFont * resultptr;
15586 resultptr = new wxFont(static_cast<wxFont & >(result));
15587 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
15588 }
15589 return resultobj;
15590 fail:
15591 return NULL;
15592 }
15593
15594
15595 static PyObject *_wrap_FontData_GetEnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
15596 PyObject *resultobj = NULL;
15597 wxFontData *arg1 = (wxFontData *) 0 ;
15598 bool result;
15599 PyObject * obj0 = 0 ;
15600 char *kwnames[] = {
15601 (char *) "self", NULL
15602 };
15603
15604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
15605 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15606 if (SWIG_arg_fail(1)) SWIG_fail;
15607 {
15608 PyThreadState* __tstate = wxPyBeginAllowThreads();
15609 result = (bool)(arg1)->GetEnableEffects();
15610
15611 wxPyEndAllowThreads(__tstate);
15612 if (PyErr_Occurred()) SWIG_fail;
15613 }
15614 {
15615 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15616 }
15617 return resultobj;
15618 fail:
15619 return NULL;
15620 }
15621
15622
15623 static PyObject *_wrap_FontData_GetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
15624 PyObject *resultobj = NULL;
15625 wxFontData *arg1 = (wxFontData *) 0 ;
15626 wxFont result;
15627 PyObject * obj0 = 0 ;
15628 char *kwnames[] = {
15629 (char *) "self", NULL
15630 };
15631
15632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
15633 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15634 if (SWIG_arg_fail(1)) SWIG_fail;
15635 {
15636 PyThreadState* __tstate = wxPyBeginAllowThreads();
15637 result = (arg1)->GetInitialFont();
15638
15639 wxPyEndAllowThreads(__tstate);
15640 if (PyErr_Occurred()) SWIG_fail;
15641 }
15642 {
15643 wxFont * resultptr;
15644 resultptr = new wxFont(static_cast<wxFont & >(result));
15645 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
15646 }
15647 return resultobj;
15648 fail:
15649 return NULL;
15650 }
15651
15652
15653 static PyObject *_wrap_FontData_GetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
15654 PyObject *resultobj = NULL;
15655 wxFontData *arg1 = (wxFontData *) 0 ;
15656 bool result;
15657 PyObject * obj0 = 0 ;
15658 char *kwnames[] = {
15659 (char *) "self", NULL
15660 };
15661
15662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
15663 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15664 if (SWIG_arg_fail(1)) SWIG_fail;
15665 {
15666 PyThreadState* __tstate = wxPyBeginAllowThreads();
15667 result = (bool)(arg1)->GetShowHelp();
15668
15669 wxPyEndAllowThreads(__tstate);
15670 if (PyErr_Occurred()) SWIG_fail;
15671 }
15672 {
15673 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15674 }
15675 return resultobj;
15676 fail:
15677 return NULL;
15678 }
15679
15680
15681 static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
15682 PyObject *resultobj = NULL;
15683 wxFontData *arg1 = (wxFontData *) 0 ;
15684 bool arg2 ;
15685 PyObject * obj0 = 0 ;
15686 PyObject * obj1 = 0 ;
15687 char *kwnames[] = {
15688 (char *) "self",(char *) "allowSymbols", NULL
15689 };
15690
15691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
15692 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15693 if (SWIG_arg_fail(1)) SWIG_fail;
15694 {
15695 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
15696 if (SWIG_arg_fail(2)) SWIG_fail;
15697 }
15698 {
15699 PyThreadState* __tstate = wxPyBeginAllowThreads();
15700 (arg1)->SetAllowSymbols(arg2);
15701
15702 wxPyEndAllowThreads(__tstate);
15703 if (PyErr_Occurred()) SWIG_fail;
15704 }
15705 Py_INCREF(Py_None); resultobj = Py_None;
15706 return resultobj;
15707 fail:
15708 return NULL;
15709 }
15710
15711
15712 static PyObject *_wrap_FontData_SetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
15713 PyObject *resultobj = NULL;
15714 wxFontData *arg1 = (wxFontData *) 0 ;
15715 wxFont *arg2 = 0 ;
15716 PyObject * obj0 = 0 ;
15717 PyObject * obj1 = 0 ;
15718 char *kwnames[] = {
15719 (char *) "self",(char *) "font", NULL
15720 };
15721
15722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
15723 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15724 if (SWIG_arg_fail(1)) SWIG_fail;
15725 {
15726 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
15727 if (SWIG_arg_fail(2)) SWIG_fail;
15728 if (arg2 == NULL) {
15729 SWIG_null_ref("wxFont");
15730 }
15731 if (SWIG_arg_fail(2)) SWIG_fail;
15732 }
15733 {
15734 PyThreadState* __tstate = wxPyBeginAllowThreads();
15735 (arg1)->SetChosenFont((wxFont const &)*arg2);
15736
15737 wxPyEndAllowThreads(__tstate);
15738 if (PyErr_Occurred()) SWIG_fail;
15739 }
15740 Py_INCREF(Py_None); resultobj = Py_None;
15741 return resultobj;
15742 fail:
15743 return NULL;
15744 }
15745
15746
15747 static PyObject *_wrap_FontData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
15748 PyObject *resultobj = NULL;
15749 wxFontData *arg1 = (wxFontData *) 0 ;
15750 wxColour *arg2 = 0 ;
15751 wxColour temp2 ;
15752 PyObject * obj0 = 0 ;
15753 PyObject * obj1 = 0 ;
15754 char *kwnames[] = {
15755 (char *) "self",(char *) "colour", NULL
15756 };
15757
15758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
15759 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15760 if (SWIG_arg_fail(1)) SWIG_fail;
15761 {
15762 arg2 = &temp2;
15763 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15764 }
15765 {
15766 PyThreadState* __tstate = wxPyBeginAllowThreads();
15767 (arg1)->SetColour((wxColour const &)*arg2);
15768
15769 wxPyEndAllowThreads(__tstate);
15770 if (PyErr_Occurred()) SWIG_fail;
15771 }
15772 Py_INCREF(Py_None); resultobj = Py_None;
15773 return resultobj;
15774 fail:
15775 return NULL;
15776 }
15777
15778
15779 static PyObject *_wrap_FontData_SetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
15780 PyObject *resultobj = NULL;
15781 wxFontData *arg1 = (wxFontData *) 0 ;
15782 wxFont *arg2 = 0 ;
15783 PyObject * obj0 = 0 ;
15784 PyObject * obj1 = 0 ;
15785 char *kwnames[] = {
15786 (char *) "self",(char *) "font", NULL
15787 };
15788
15789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
15790 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15791 if (SWIG_arg_fail(1)) SWIG_fail;
15792 {
15793 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
15794 if (SWIG_arg_fail(2)) SWIG_fail;
15795 if (arg2 == NULL) {
15796 SWIG_null_ref("wxFont");
15797 }
15798 if (SWIG_arg_fail(2)) SWIG_fail;
15799 }
15800 {
15801 PyThreadState* __tstate = wxPyBeginAllowThreads();
15802 (arg1)->SetInitialFont((wxFont const &)*arg2);
15803
15804 wxPyEndAllowThreads(__tstate);
15805 if (PyErr_Occurred()) SWIG_fail;
15806 }
15807 Py_INCREF(Py_None); resultobj = Py_None;
15808 return resultobj;
15809 fail:
15810 return NULL;
15811 }
15812
15813
15814 static PyObject *_wrap_FontData_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
15815 PyObject *resultobj = NULL;
15816 wxFontData *arg1 = (wxFontData *) 0 ;
15817 int arg2 ;
15818 int arg3 ;
15819 PyObject * obj0 = 0 ;
15820 PyObject * obj1 = 0 ;
15821 PyObject * obj2 = 0 ;
15822 char *kwnames[] = {
15823 (char *) "self",(char *) "min",(char *) "max", NULL
15824 };
15825
15826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
15827 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15828 if (SWIG_arg_fail(1)) SWIG_fail;
15829 {
15830 arg2 = static_cast<int >(SWIG_As_int(obj1));
15831 if (SWIG_arg_fail(2)) SWIG_fail;
15832 }
15833 {
15834 arg3 = static_cast<int >(SWIG_As_int(obj2));
15835 if (SWIG_arg_fail(3)) SWIG_fail;
15836 }
15837 {
15838 PyThreadState* __tstate = wxPyBeginAllowThreads();
15839 (arg1)->SetRange(arg2,arg3);
15840
15841 wxPyEndAllowThreads(__tstate);
15842 if (PyErr_Occurred()) SWIG_fail;
15843 }
15844 Py_INCREF(Py_None); resultobj = Py_None;
15845 return resultobj;
15846 fail:
15847 return NULL;
15848 }
15849
15850
15851 static PyObject *_wrap_FontData_SetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
15852 PyObject *resultobj = NULL;
15853 wxFontData *arg1 = (wxFontData *) 0 ;
15854 bool arg2 ;
15855 PyObject * obj0 = 0 ;
15856 PyObject * obj1 = 0 ;
15857 char *kwnames[] = {
15858 (char *) "self",(char *) "showHelp", NULL
15859 };
15860
15861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
15862 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15863 if (SWIG_arg_fail(1)) SWIG_fail;
15864 {
15865 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
15866 if (SWIG_arg_fail(2)) SWIG_fail;
15867 }
15868 {
15869 PyThreadState* __tstate = wxPyBeginAllowThreads();
15870 (arg1)->SetShowHelp(arg2);
15871
15872 wxPyEndAllowThreads(__tstate);
15873 if (PyErr_Occurred()) SWIG_fail;
15874 }
15875 Py_INCREF(Py_None); resultobj = Py_None;
15876 return resultobj;
15877 fail:
15878 return NULL;
15879 }
15880
15881
15882 static PyObject * FontData_swigregister(PyObject *, PyObject *args) {
15883 PyObject *obj;
15884 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15885 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
15886 Py_INCREF(obj);
15887 return Py_BuildValue((char *)"");
15888 }
15889 static PyObject *_wrap_new_FontDialog(PyObject *, PyObject *args, PyObject *kwargs) {
15890 PyObject *resultobj = NULL;
15891 wxWindow *arg1 = (wxWindow *) 0 ;
15892 wxFontData *arg2 = 0 ;
15893 wxFontDialog *result;
15894 PyObject * obj0 = 0 ;
15895 PyObject * obj1 = 0 ;
15896 char *kwnames[] = {
15897 (char *) "parent",(char *) "data", NULL
15898 };
15899
15900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
15901 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15902 if (SWIG_arg_fail(1)) SWIG_fail;
15903 {
15904 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15905 if (SWIG_arg_fail(2)) SWIG_fail;
15906 if (arg2 == NULL) {
15907 SWIG_null_ref("wxFontData");
15908 }
15909 if (SWIG_arg_fail(2)) SWIG_fail;
15910 }
15911 {
15912 if (!wxPyCheckForApp()) SWIG_fail;
15913 PyThreadState* __tstate = wxPyBeginAllowThreads();
15914 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
15915
15916 wxPyEndAllowThreads(__tstate);
15917 if (PyErr_Occurred()) SWIG_fail;
15918 }
15919 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1);
15920 return resultobj;
15921 fail:
15922 return NULL;
15923 }
15924
15925
15926 static PyObject *_wrap_FontDialog_GetFontData(PyObject *, PyObject *args, PyObject *kwargs) {
15927 PyObject *resultobj = NULL;
15928 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
15929 wxFontData *result;
15930 PyObject * obj0 = 0 ;
15931 char *kwnames[] = {
15932 (char *) "self", NULL
15933 };
15934
15935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
15936 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontDialog, SWIG_POINTER_EXCEPTION | 0);
15937 if (SWIG_arg_fail(1)) SWIG_fail;
15938 {
15939 PyThreadState* __tstate = wxPyBeginAllowThreads();
15940 {
15941 wxFontData &_result_ref = (arg1)->GetFontData();
15942 result = (wxFontData *) &_result_ref;
15943 }
15944
15945 wxPyEndAllowThreads(__tstate);
15946 if (PyErr_Occurred()) SWIG_fail;
15947 }
15948 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0);
15949 return resultobj;
15950 fail:
15951 return NULL;
15952 }
15953
15954
15955 static PyObject * FontDialog_swigregister(PyObject *, PyObject *args) {
15956 PyObject *obj;
15957 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15958 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
15959 Py_INCREF(obj);
15960 return Py_BuildValue((char *)"");
15961 }
15962 static PyObject *_wrap_GetFontFromUser(PyObject *, PyObject *args, PyObject *kwargs) {
15963 PyObject *resultobj = NULL;
15964 wxWindow *arg1 = (wxWindow *) NULL ;
15965 wxFont const &arg2_defvalue = wxNullFont ;
15966 wxFont *arg2 = (wxFont *) &arg2_defvalue ;
15967 wxString const &arg3_defvalue = wxPyEmptyString ;
15968 wxString *arg3 = (wxString *) &arg3_defvalue ;
15969 wxFont result;
15970 bool temp3 = false ;
15971 PyObject * obj0 = 0 ;
15972 PyObject * obj1 = 0 ;
15973 PyObject * obj2 = 0 ;
15974 char *kwnames[] = {
15975 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
15976 };
15977
15978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetFontFromUser",kwnames,&obj0,&obj1,&obj2)) goto fail;
15979 if (obj0) {
15980 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15981 if (SWIG_arg_fail(1)) SWIG_fail;
15982 }
15983 if (obj1) {
15984 {
15985 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
15986 if (SWIG_arg_fail(2)) SWIG_fail;
15987 if (arg2 == NULL) {
15988 SWIG_null_ref("wxFont");
15989 }
15990 if (SWIG_arg_fail(2)) SWIG_fail;
15991 }
15992 }
15993 if (obj2) {
15994 {
15995 arg3 = wxString_in_helper(obj2);
15996 if (arg3 == NULL) SWIG_fail;
15997 temp3 = true;
15998 }
15999 }
16000 {
16001 PyThreadState* __tstate = wxPyBeginAllowThreads();
16002 result = wxGetFontFromUser(arg1,(wxFont const &)*arg2,(wxString const &)*arg3);
16003
16004 wxPyEndAllowThreads(__tstate);
16005 if (PyErr_Occurred()) SWIG_fail;
16006 }
16007 {
16008 wxFont * resultptr;
16009 resultptr = new wxFont(static_cast<wxFont & >(result));
16010 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
16011 }
16012 {
16013 if (temp3)
16014 delete arg3;
16015 }
16016 return resultobj;
16017 fail:
16018 {
16019 if (temp3)
16020 delete arg3;
16021 }
16022 return NULL;
16023 }
16024
16025
16026 static PyObject *_wrap_new_MessageDialog(PyObject *, PyObject *args, PyObject *kwargs) {
16027 PyObject *resultobj = NULL;
16028 wxWindow *arg1 = (wxWindow *) 0 ;
16029 wxString *arg2 = 0 ;
16030 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
16031 wxString *arg3 = (wxString *) &arg3_defvalue ;
16032 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
16033 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16034 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16035 wxMessageDialog *result;
16036 bool temp2 = false ;
16037 bool temp3 = false ;
16038 wxPoint temp5 ;
16039 PyObject * obj0 = 0 ;
16040 PyObject * obj1 = 0 ;
16041 PyObject * obj2 = 0 ;
16042 PyObject * obj3 = 0 ;
16043 PyObject * obj4 = 0 ;
16044 char *kwnames[] = {
16045 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
16046 };
16047
16048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16049 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16050 if (SWIG_arg_fail(1)) SWIG_fail;
16051 {
16052 arg2 = wxString_in_helper(obj1);
16053 if (arg2 == NULL) SWIG_fail;
16054 temp2 = true;
16055 }
16056 if (obj2) {
16057 {
16058 arg3 = wxString_in_helper(obj2);
16059 if (arg3 == NULL) SWIG_fail;
16060 temp3 = true;
16061 }
16062 }
16063 if (obj3) {
16064 {
16065 arg4 = static_cast<long >(SWIG_As_long(obj3));
16066 if (SWIG_arg_fail(4)) SWIG_fail;
16067 }
16068 }
16069 if (obj4) {
16070 {
16071 arg5 = &temp5;
16072 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
16073 }
16074 }
16075 {
16076 if (!wxPyCheckForApp()) SWIG_fail;
16077 PyThreadState* __tstate = wxPyBeginAllowThreads();
16078 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
16079
16080 wxPyEndAllowThreads(__tstate);
16081 if (PyErr_Occurred()) SWIG_fail;
16082 }
16083 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1);
16084 {
16085 if (temp2)
16086 delete arg2;
16087 }
16088 {
16089 if (temp3)
16090 delete arg3;
16091 }
16092 return resultobj;
16093 fail:
16094 {
16095 if (temp2)
16096 delete arg2;
16097 }
16098 {
16099 if (temp3)
16100 delete arg3;
16101 }
16102 return NULL;
16103 }
16104
16105
16106 static PyObject * MessageDialog_swigregister(PyObject *, PyObject *args) {
16107 PyObject *obj;
16108 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16109 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
16110 Py_INCREF(obj);
16111 return Py_BuildValue((char *)"");
16112 }
16113 static PyObject *_wrap_new_ProgressDialog(PyObject *, PyObject *args, PyObject *kwargs) {
16114 PyObject *resultobj = NULL;
16115 wxString *arg1 = 0 ;
16116 wxString *arg2 = 0 ;
16117 int arg3 = (int) 100 ;
16118 wxWindow *arg4 = (wxWindow *) NULL ;
16119 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
16120 wxProgressDialog *result;
16121 bool temp1 = false ;
16122 bool temp2 = false ;
16123 PyObject * obj0 = 0 ;
16124 PyObject * obj1 = 0 ;
16125 PyObject * obj2 = 0 ;
16126 PyObject * obj3 = 0 ;
16127 PyObject * obj4 = 0 ;
16128 char *kwnames[] = {
16129 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
16130 };
16131
16132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16133 {
16134 arg1 = wxString_in_helper(obj0);
16135 if (arg1 == NULL) SWIG_fail;
16136 temp1 = true;
16137 }
16138 {
16139 arg2 = wxString_in_helper(obj1);
16140 if (arg2 == NULL) SWIG_fail;
16141 temp2 = true;
16142 }
16143 if (obj2) {
16144 {
16145 arg3 = static_cast<int >(SWIG_As_int(obj2));
16146 if (SWIG_arg_fail(3)) SWIG_fail;
16147 }
16148 }
16149 if (obj3) {
16150 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16151 if (SWIG_arg_fail(4)) SWIG_fail;
16152 }
16153 if (obj4) {
16154 {
16155 arg5 = static_cast<int >(SWIG_As_int(obj4));
16156 if (SWIG_arg_fail(5)) SWIG_fail;
16157 }
16158 }
16159 {
16160 if (!wxPyCheckForApp()) SWIG_fail;
16161 PyThreadState* __tstate = wxPyBeginAllowThreads();
16162 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
16163
16164 wxPyEndAllowThreads(__tstate);
16165 if (PyErr_Occurred()) SWIG_fail;
16166 }
16167 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1);
16168 {
16169 if (temp1)
16170 delete arg1;
16171 }
16172 {
16173 if (temp2)
16174 delete arg2;
16175 }
16176 return resultobj;
16177 fail:
16178 {
16179 if (temp1)
16180 delete arg1;
16181 }
16182 {
16183 if (temp2)
16184 delete arg2;
16185 }
16186 return NULL;
16187 }
16188
16189
16190 static PyObject *_wrap_ProgressDialog_Update(PyObject *, PyObject *args, PyObject *kwargs) {
16191 PyObject *resultobj = NULL;
16192 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
16193 int arg2 ;
16194 wxString const &arg3_defvalue = wxPyEmptyString ;
16195 wxString *arg3 = (wxString *) &arg3_defvalue ;
16196 bool result;
16197 bool temp3 = false ;
16198 PyObject * obj0 = 0 ;
16199 PyObject * obj1 = 0 ;
16200 PyObject * obj2 = 0 ;
16201 char *kwnames[] = {
16202 (char *) "self",(char *) "value",(char *) "newmsg", NULL
16203 };
16204
16205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
16206 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_EXCEPTION | 0);
16207 if (SWIG_arg_fail(1)) SWIG_fail;
16208 {
16209 arg2 = static_cast<int >(SWIG_As_int(obj1));
16210 if (SWIG_arg_fail(2)) SWIG_fail;
16211 }
16212 if (obj2) {
16213 {
16214 arg3 = wxString_in_helper(obj2);
16215 if (arg3 == NULL) SWIG_fail;
16216 temp3 = true;
16217 }
16218 }
16219 {
16220 PyThreadState* __tstate = wxPyBeginAllowThreads();
16221 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
16222
16223 wxPyEndAllowThreads(__tstate);
16224 if (PyErr_Occurred()) SWIG_fail;
16225 }
16226 {
16227 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16228 }
16229 {
16230 if (temp3)
16231 delete arg3;
16232 }
16233 return resultobj;
16234 fail:
16235 {
16236 if (temp3)
16237 delete arg3;
16238 }
16239 return NULL;
16240 }
16241
16242
16243 static PyObject *_wrap_ProgressDialog_Resume(PyObject *, PyObject *args, PyObject *kwargs) {
16244 PyObject *resultobj = NULL;
16245 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
16246 PyObject * obj0 = 0 ;
16247 char *kwnames[] = {
16248 (char *) "self", NULL
16249 };
16250
16251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
16252 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_EXCEPTION | 0);
16253 if (SWIG_arg_fail(1)) SWIG_fail;
16254 {
16255 PyThreadState* __tstate = wxPyBeginAllowThreads();
16256 (arg1)->Resume();
16257
16258 wxPyEndAllowThreads(__tstate);
16259 if (PyErr_Occurred()) SWIG_fail;
16260 }
16261 Py_INCREF(Py_None); resultobj = Py_None;
16262 return resultobj;
16263 fail:
16264 return NULL;
16265 }
16266
16267
16268 static PyObject * ProgressDialog_swigregister(PyObject *, PyObject *args) {
16269 PyObject *obj;
16270 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16271 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
16272 Py_INCREF(obj);
16273 return Py_BuildValue((char *)"");
16274 }
16275 static PyObject *_wrap_new_FindDialogEvent(PyObject *, PyObject *args, PyObject *kwargs) {
16276 PyObject *resultobj = NULL;
16277 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16278 int arg2 = (int) 0 ;
16279 wxFindDialogEvent *result;
16280 PyObject * obj0 = 0 ;
16281 PyObject * obj1 = 0 ;
16282 char *kwnames[] = {
16283 (char *) "commandType",(char *) "id", NULL
16284 };
16285
16286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
16287 if (obj0) {
16288 {
16289 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
16290 if (SWIG_arg_fail(1)) SWIG_fail;
16291 }
16292 }
16293 if (obj1) {
16294 {
16295 arg2 = static_cast<int >(SWIG_As_int(obj1));
16296 if (SWIG_arg_fail(2)) SWIG_fail;
16297 }
16298 }
16299 {
16300 PyThreadState* __tstate = wxPyBeginAllowThreads();
16301 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
16302
16303 wxPyEndAllowThreads(__tstate);
16304 if (PyErr_Occurred()) SWIG_fail;
16305 }
16306 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1);
16307 return resultobj;
16308 fail:
16309 return NULL;
16310 }
16311
16312
16313 static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
16314 PyObject *resultobj = NULL;
16315 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16316 int result;
16317 PyObject * obj0 = 0 ;
16318 char *kwnames[] = {
16319 (char *) "self", NULL
16320 };
16321
16322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
16323 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16324 if (SWIG_arg_fail(1)) SWIG_fail;
16325 {
16326 PyThreadState* __tstate = wxPyBeginAllowThreads();
16327 result = (int)(arg1)->GetFlags();
16328
16329 wxPyEndAllowThreads(__tstate);
16330 if (PyErr_Occurred()) SWIG_fail;
16331 }
16332 {
16333 resultobj = SWIG_From_int(static_cast<int >(result));
16334 }
16335 return resultobj;
16336 fail:
16337 return NULL;
16338 }
16339
16340
16341 static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
16342 PyObject *resultobj = NULL;
16343 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16344 wxString *result;
16345 PyObject * obj0 = 0 ;
16346 char *kwnames[] = {
16347 (char *) "self", NULL
16348 };
16349
16350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
16351 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16352 if (SWIG_arg_fail(1)) SWIG_fail;
16353 {
16354 PyThreadState* __tstate = wxPyBeginAllowThreads();
16355 {
16356 wxString const &_result_ref = (arg1)->GetFindString();
16357 result = (wxString *) &_result_ref;
16358 }
16359
16360 wxPyEndAllowThreads(__tstate);
16361 if (PyErr_Occurred()) SWIG_fail;
16362 }
16363 {
16364 #if wxUSE_UNICODE
16365 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16366 #else
16367 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16368 #endif
16369 }
16370 return resultobj;
16371 fail:
16372 return NULL;
16373 }
16374
16375
16376 static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
16377 PyObject *resultobj = NULL;
16378 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16379 wxString *result;
16380 PyObject * obj0 = 0 ;
16381 char *kwnames[] = {
16382 (char *) "self", NULL
16383 };
16384
16385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
16386 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16387 if (SWIG_arg_fail(1)) SWIG_fail;
16388 {
16389 PyThreadState* __tstate = wxPyBeginAllowThreads();
16390 {
16391 wxString const &_result_ref = (arg1)->GetReplaceString();
16392 result = (wxString *) &_result_ref;
16393 }
16394
16395 wxPyEndAllowThreads(__tstate);
16396 if (PyErr_Occurred()) SWIG_fail;
16397 }
16398 {
16399 #if wxUSE_UNICODE
16400 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16401 #else
16402 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16403 #endif
16404 }
16405 return resultobj;
16406 fail:
16407 return NULL;
16408 }
16409
16410
16411 static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *, PyObject *args, PyObject *kwargs) {
16412 PyObject *resultobj = NULL;
16413 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16414 wxFindReplaceDialog *result;
16415 PyObject * obj0 = 0 ;
16416 char *kwnames[] = {
16417 (char *) "self", NULL
16418 };
16419
16420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
16421 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16422 if (SWIG_arg_fail(1)) SWIG_fail;
16423 {
16424 PyThreadState* __tstate = wxPyBeginAllowThreads();
16425 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
16426
16427 wxPyEndAllowThreads(__tstate);
16428 if (PyErr_Occurred()) SWIG_fail;
16429 }
16430 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0);
16431 return resultobj;
16432 fail:
16433 return NULL;
16434 }
16435
16436
16437 static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
16438 PyObject *resultobj = NULL;
16439 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16440 int arg2 ;
16441 PyObject * obj0 = 0 ;
16442 PyObject * obj1 = 0 ;
16443 char *kwnames[] = {
16444 (char *) "self",(char *) "flags", NULL
16445 };
16446
16447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
16448 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16449 if (SWIG_arg_fail(1)) SWIG_fail;
16450 {
16451 arg2 = static_cast<int >(SWIG_As_int(obj1));
16452 if (SWIG_arg_fail(2)) SWIG_fail;
16453 }
16454 {
16455 PyThreadState* __tstate = wxPyBeginAllowThreads();
16456 (arg1)->SetFlags(arg2);
16457
16458 wxPyEndAllowThreads(__tstate);
16459 if (PyErr_Occurred()) SWIG_fail;
16460 }
16461 Py_INCREF(Py_None); resultobj = Py_None;
16462 return resultobj;
16463 fail:
16464 return NULL;
16465 }
16466
16467
16468 static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
16469 PyObject *resultobj = NULL;
16470 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16471 wxString *arg2 = 0 ;
16472 bool temp2 = false ;
16473 PyObject * obj0 = 0 ;
16474 PyObject * obj1 = 0 ;
16475 char *kwnames[] = {
16476 (char *) "self",(char *) "str", NULL
16477 };
16478
16479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
16480 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16481 if (SWIG_arg_fail(1)) SWIG_fail;
16482 {
16483 arg2 = wxString_in_helper(obj1);
16484 if (arg2 == NULL) SWIG_fail;
16485 temp2 = true;
16486 }
16487 {
16488 PyThreadState* __tstate = wxPyBeginAllowThreads();
16489 (arg1)->SetFindString((wxString const &)*arg2);
16490
16491 wxPyEndAllowThreads(__tstate);
16492 if (PyErr_Occurred()) SWIG_fail;
16493 }
16494 Py_INCREF(Py_None); resultobj = Py_None;
16495 {
16496 if (temp2)
16497 delete arg2;
16498 }
16499 return resultobj;
16500 fail:
16501 {
16502 if (temp2)
16503 delete arg2;
16504 }
16505 return NULL;
16506 }
16507
16508
16509 static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
16510 PyObject *resultobj = NULL;
16511 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16512 wxString *arg2 = 0 ;
16513 bool temp2 = false ;
16514 PyObject * obj0 = 0 ;
16515 PyObject * obj1 = 0 ;
16516 char *kwnames[] = {
16517 (char *) "self",(char *) "str", NULL
16518 };
16519
16520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
16521 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16522 if (SWIG_arg_fail(1)) SWIG_fail;
16523 {
16524 arg2 = wxString_in_helper(obj1);
16525 if (arg2 == NULL) SWIG_fail;
16526 temp2 = true;
16527 }
16528 {
16529 PyThreadState* __tstate = wxPyBeginAllowThreads();
16530 (arg1)->SetReplaceString((wxString const &)*arg2);
16531
16532 wxPyEndAllowThreads(__tstate);
16533 if (PyErr_Occurred()) SWIG_fail;
16534 }
16535 Py_INCREF(Py_None); resultobj = Py_None;
16536 {
16537 if (temp2)
16538 delete arg2;
16539 }
16540 return resultobj;
16541 fail:
16542 {
16543 if (temp2)
16544 delete arg2;
16545 }
16546 return NULL;
16547 }
16548
16549
16550 static PyObject * FindDialogEvent_swigregister(PyObject *, PyObject *args) {
16551 PyObject *obj;
16552 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16553 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
16554 Py_INCREF(obj);
16555 return Py_BuildValue((char *)"");
16556 }
16557 static PyObject *_wrap_new_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
16558 PyObject *resultobj = NULL;
16559 int arg1 = (int) 0 ;
16560 wxFindReplaceData *result;
16561 PyObject * obj0 = 0 ;
16562 char *kwnames[] = {
16563 (char *) "flags", NULL
16564 };
16565
16566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
16567 if (obj0) {
16568 {
16569 arg1 = static_cast<int >(SWIG_As_int(obj0));
16570 if (SWIG_arg_fail(1)) SWIG_fail;
16571 }
16572 }
16573 {
16574 PyThreadState* __tstate = wxPyBeginAllowThreads();
16575 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
16576
16577 wxPyEndAllowThreads(__tstate);
16578 if (PyErr_Occurred()) SWIG_fail;
16579 }
16580 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1);
16581 return resultobj;
16582 fail:
16583 return NULL;
16584 }
16585
16586
16587 static PyObject *_wrap_delete_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
16588 PyObject *resultobj = NULL;
16589 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16590 PyObject * obj0 = 0 ;
16591 char *kwnames[] = {
16592 (char *) "self", NULL
16593 };
16594
16595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
16596 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16597 if (SWIG_arg_fail(1)) SWIG_fail;
16598 {
16599 PyThreadState* __tstate = wxPyBeginAllowThreads();
16600 delete arg1;
16601
16602 wxPyEndAllowThreads(__tstate);
16603 if (PyErr_Occurred()) SWIG_fail;
16604 }
16605 Py_INCREF(Py_None); resultobj = Py_None;
16606 return resultobj;
16607 fail:
16608 return NULL;
16609 }
16610
16611
16612 static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
16613 PyObject *resultobj = NULL;
16614 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16615 wxString *result;
16616 PyObject * obj0 = 0 ;
16617 char *kwnames[] = {
16618 (char *) "self", NULL
16619 };
16620
16621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
16622 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16623 if (SWIG_arg_fail(1)) SWIG_fail;
16624 {
16625 PyThreadState* __tstate = wxPyBeginAllowThreads();
16626 {
16627 wxString const &_result_ref = (arg1)->GetFindString();
16628 result = (wxString *) &_result_ref;
16629 }
16630
16631 wxPyEndAllowThreads(__tstate);
16632 if (PyErr_Occurred()) SWIG_fail;
16633 }
16634 {
16635 #if wxUSE_UNICODE
16636 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16637 #else
16638 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16639 #endif
16640 }
16641 return resultobj;
16642 fail:
16643 return NULL;
16644 }
16645
16646
16647 static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
16648 PyObject *resultobj = NULL;
16649 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16650 wxString *result;
16651 PyObject * obj0 = 0 ;
16652 char *kwnames[] = {
16653 (char *) "self", NULL
16654 };
16655
16656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
16657 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16658 if (SWIG_arg_fail(1)) SWIG_fail;
16659 {
16660 PyThreadState* __tstate = wxPyBeginAllowThreads();
16661 {
16662 wxString const &_result_ref = (arg1)->GetReplaceString();
16663 result = (wxString *) &_result_ref;
16664 }
16665
16666 wxPyEndAllowThreads(__tstate);
16667 if (PyErr_Occurred()) SWIG_fail;
16668 }
16669 {
16670 #if wxUSE_UNICODE
16671 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16672 #else
16673 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16674 #endif
16675 }
16676 return resultobj;
16677 fail:
16678 return NULL;
16679 }
16680
16681
16682 static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
16683 PyObject *resultobj = NULL;
16684 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16685 int result;
16686 PyObject * obj0 = 0 ;
16687 char *kwnames[] = {
16688 (char *) "self", NULL
16689 };
16690
16691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
16692 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16693 if (SWIG_arg_fail(1)) SWIG_fail;
16694 {
16695 PyThreadState* __tstate = wxPyBeginAllowThreads();
16696 result = (int)(arg1)->GetFlags();
16697
16698 wxPyEndAllowThreads(__tstate);
16699 if (PyErr_Occurred()) SWIG_fail;
16700 }
16701 {
16702 resultobj = SWIG_From_int(static_cast<int >(result));
16703 }
16704 return resultobj;
16705 fail:
16706 return NULL;
16707 }
16708
16709
16710 static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
16711 PyObject *resultobj = NULL;
16712 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16713 int arg2 ;
16714 PyObject * obj0 = 0 ;
16715 PyObject * obj1 = 0 ;
16716 char *kwnames[] = {
16717 (char *) "self",(char *) "flags", NULL
16718 };
16719
16720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
16721 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16722 if (SWIG_arg_fail(1)) SWIG_fail;
16723 {
16724 arg2 = static_cast<int >(SWIG_As_int(obj1));
16725 if (SWIG_arg_fail(2)) SWIG_fail;
16726 }
16727 {
16728 PyThreadState* __tstate = wxPyBeginAllowThreads();
16729 (arg1)->SetFlags(arg2);
16730
16731 wxPyEndAllowThreads(__tstate);
16732 if (PyErr_Occurred()) SWIG_fail;
16733 }
16734 Py_INCREF(Py_None); resultobj = Py_None;
16735 return resultobj;
16736 fail:
16737 return NULL;
16738 }
16739
16740
16741 static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
16742 PyObject *resultobj = NULL;
16743 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16744 wxString *arg2 = 0 ;
16745 bool temp2 = false ;
16746 PyObject * obj0 = 0 ;
16747 PyObject * obj1 = 0 ;
16748 char *kwnames[] = {
16749 (char *) "self",(char *) "str", NULL
16750 };
16751
16752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
16753 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16754 if (SWIG_arg_fail(1)) SWIG_fail;
16755 {
16756 arg2 = wxString_in_helper(obj1);
16757 if (arg2 == NULL) SWIG_fail;
16758 temp2 = true;
16759 }
16760 {
16761 PyThreadState* __tstate = wxPyBeginAllowThreads();
16762 (arg1)->SetFindString((wxString const &)*arg2);
16763
16764 wxPyEndAllowThreads(__tstate);
16765 if (PyErr_Occurred()) SWIG_fail;
16766 }
16767 Py_INCREF(Py_None); resultobj = Py_None;
16768 {
16769 if (temp2)
16770 delete arg2;
16771 }
16772 return resultobj;
16773 fail:
16774 {
16775 if (temp2)
16776 delete arg2;
16777 }
16778 return NULL;
16779 }
16780
16781
16782 static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
16783 PyObject *resultobj = NULL;
16784 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16785 wxString *arg2 = 0 ;
16786 bool temp2 = false ;
16787 PyObject * obj0 = 0 ;
16788 PyObject * obj1 = 0 ;
16789 char *kwnames[] = {
16790 (char *) "self",(char *) "str", NULL
16791 };
16792
16793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
16794 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16795 if (SWIG_arg_fail(1)) SWIG_fail;
16796 {
16797 arg2 = wxString_in_helper(obj1);
16798 if (arg2 == NULL) SWIG_fail;
16799 temp2 = true;
16800 }
16801 {
16802 PyThreadState* __tstate = wxPyBeginAllowThreads();
16803 (arg1)->SetReplaceString((wxString const &)*arg2);
16804
16805 wxPyEndAllowThreads(__tstate);
16806 if (PyErr_Occurred()) SWIG_fail;
16807 }
16808 Py_INCREF(Py_None); resultobj = Py_None;
16809 {
16810 if (temp2)
16811 delete arg2;
16812 }
16813 return resultobj;
16814 fail:
16815 {
16816 if (temp2)
16817 delete arg2;
16818 }
16819 return NULL;
16820 }
16821
16822
16823 static PyObject * FindReplaceData_swigregister(PyObject *, PyObject *args) {
16824 PyObject *obj;
16825 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16826 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
16827 Py_INCREF(obj);
16828 return Py_BuildValue((char *)"");
16829 }
16830 static PyObject *_wrap_new_FindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
16831 PyObject *resultobj = NULL;
16832 wxWindow *arg1 = (wxWindow *) 0 ;
16833 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
16834 wxString *arg3 = 0 ;
16835 int arg4 = (int) 0 ;
16836 wxFindReplaceDialog *result;
16837 bool temp3 = false ;
16838 PyObject * obj0 = 0 ;
16839 PyObject * obj1 = 0 ;
16840 PyObject * obj2 = 0 ;
16841 PyObject * obj3 = 0 ;
16842 char *kwnames[] = {
16843 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16844 };
16845
16846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
16847 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16848 if (SWIG_arg_fail(1)) SWIG_fail;
16849 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16850 if (SWIG_arg_fail(2)) SWIG_fail;
16851 {
16852 arg3 = wxString_in_helper(obj2);
16853 if (arg3 == NULL) SWIG_fail;
16854 temp3 = true;
16855 }
16856 if (obj3) {
16857 {
16858 arg4 = static_cast<int >(SWIG_As_int(obj3));
16859 if (SWIG_arg_fail(4)) SWIG_fail;
16860 }
16861 }
16862 {
16863 if (!wxPyCheckForApp()) SWIG_fail;
16864 PyThreadState* __tstate = wxPyBeginAllowThreads();
16865 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
16866
16867 wxPyEndAllowThreads(__tstate);
16868 if (PyErr_Occurred()) SWIG_fail;
16869 }
16870 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
16871 {
16872 if (temp3)
16873 delete arg3;
16874 }
16875 return resultobj;
16876 fail:
16877 {
16878 if (temp3)
16879 delete arg3;
16880 }
16881 return NULL;
16882 }
16883
16884
16885 static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
16886 PyObject *resultobj = NULL;
16887 wxFindReplaceDialog *result;
16888 char *kwnames[] = {
16889 NULL
16890 };
16891
16892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
16893 {
16894 if (!wxPyCheckForApp()) SWIG_fail;
16895 PyThreadState* __tstate = wxPyBeginAllowThreads();
16896 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
16897
16898 wxPyEndAllowThreads(__tstate);
16899 if (PyErr_Occurred()) SWIG_fail;
16900 }
16901 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
16902 return resultobj;
16903 fail:
16904 return NULL;
16905 }
16906
16907
16908 static PyObject *_wrap_FindReplaceDialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
16909 PyObject *resultobj = NULL;
16910 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
16911 wxWindow *arg2 = (wxWindow *) 0 ;
16912 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
16913 wxString *arg4 = 0 ;
16914 int arg5 = (int) 0 ;
16915 bool result;
16916 bool temp4 = false ;
16917 PyObject * obj0 = 0 ;
16918 PyObject * obj1 = 0 ;
16919 PyObject * obj2 = 0 ;
16920 PyObject * obj3 = 0 ;
16921 PyObject * obj4 = 0 ;
16922 char *kwnames[] = {
16923 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16924 };
16925
16926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16927 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0);
16928 if (SWIG_arg_fail(1)) SWIG_fail;
16929 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16930 if (SWIG_arg_fail(2)) SWIG_fail;
16931 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16932 if (SWIG_arg_fail(3)) SWIG_fail;
16933 {
16934 arg4 = wxString_in_helper(obj3);
16935 if (arg4 == NULL) SWIG_fail;
16936 temp4 = true;
16937 }
16938 if (obj4) {
16939 {
16940 arg5 = static_cast<int >(SWIG_As_int(obj4));
16941 if (SWIG_arg_fail(5)) SWIG_fail;
16942 }
16943 }
16944 {
16945 PyThreadState* __tstate = wxPyBeginAllowThreads();
16946 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
16947
16948 wxPyEndAllowThreads(__tstate);
16949 if (PyErr_Occurred()) SWIG_fail;
16950 }
16951 {
16952 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16953 }
16954 {
16955 if (temp4)
16956 delete arg4;
16957 }
16958 return resultobj;
16959 fail:
16960 {
16961 if (temp4)
16962 delete arg4;
16963 }
16964 return NULL;
16965 }
16966
16967
16968 static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
16969 PyObject *resultobj = NULL;
16970 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
16971 wxFindReplaceData *result;
16972 PyObject * obj0 = 0 ;
16973 char *kwnames[] = {
16974 (char *) "self", NULL
16975 };
16976
16977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
16978 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0);
16979 if (SWIG_arg_fail(1)) SWIG_fail;
16980 {
16981 PyThreadState* __tstate = wxPyBeginAllowThreads();
16982 result = (wxFindReplaceData *)(arg1)->GetData();
16983
16984 wxPyEndAllowThreads(__tstate);
16985 if (PyErr_Occurred()) SWIG_fail;
16986 }
16987 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0);
16988 return resultobj;
16989 fail:
16990 return NULL;
16991 }
16992
16993
16994 static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
16995 PyObject *resultobj = NULL;
16996 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
16997 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
16998 PyObject * obj0 = 0 ;
16999 PyObject * obj1 = 0 ;
17000 char *kwnames[] = {
17001 (char *) "self",(char *) "data", NULL
17002 };
17003
17004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
17005 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0);
17006 if (SWIG_arg_fail(1)) SWIG_fail;
17007 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
17008 if (SWIG_arg_fail(2)) SWIG_fail;
17009 {
17010 PyThreadState* __tstate = wxPyBeginAllowThreads();
17011 (arg1)->SetData(arg2);
17012
17013 wxPyEndAllowThreads(__tstate);
17014 if (PyErr_Occurred()) SWIG_fail;
17015 }
17016 Py_INCREF(Py_None); resultobj = Py_None;
17017 return resultobj;
17018 fail:
17019 return NULL;
17020 }
17021
17022
17023 static PyObject * FindReplaceDialog_swigregister(PyObject *, PyObject *args) {
17024 PyObject *obj;
17025 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17026 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
17027 Py_INCREF(obj);
17028 return Py_BuildValue((char *)"");
17029 }
17030 static PyObject *_wrap_new_MDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
17031 PyObject *resultobj = NULL;
17032 wxWindow *arg1 = (wxWindow *) 0 ;
17033 int arg2 = (int) (int)-1 ;
17034 wxString const &arg3_defvalue = wxPyEmptyString ;
17035 wxString *arg3 = (wxString *) &arg3_defvalue ;
17036 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17037 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17038 wxSize const &arg5_defvalue = wxDefaultSize ;
17039 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17040 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
17041 wxString const &arg7_defvalue = wxPyFrameNameStr ;
17042 wxString *arg7 = (wxString *) &arg7_defvalue ;
17043 wxMDIParentFrame *result;
17044 bool temp3 = false ;
17045 wxPoint temp4 ;
17046 wxSize temp5 ;
17047 bool temp7 = false ;
17048 PyObject * obj0 = 0 ;
17049 PyObject * obj1 = 0 ;
17050 PyObject * obj2 = 0 ;
17051 PyObject * obj3 = 0 ;
17052 PyObject * obj4 = 0 ;
17053 PyObject * obj5 = 0 ;
17054 PyObject * obj6 = 0 ;
17055 char *kwnames[] = {
17056 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17057 };
17058
17059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17060 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17061 if (SWIG_arg_fail(1)) SWIG_fail;
17062 if (obj1) {
17063 {
17064 arg2 = static_cast<int const >(SWIG_As_int(obj1));
17065 if (SWIG_arg_fail(2)) SWIG_fail;
17066 }
17067 }
17068 if (obj2) {
17069 {
17070 arg3 = wxString_in_helper(obj2);
17071 if (arg3 == NULL) SWIG_fail;
17072 temp3 = true;
17073 }
17074 }
17075 if (obj3) {
17076 {
17077 arg4 = &temp4;
17078 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17079 }
17080 }
17081 if (obj4) {
17082 {
17083 arg5 = &temp5;
17084 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17085 }
17086 }
17087 if (obj5) {
17088 {
17089 arg6 = static_cast<long >(SWIG_As_long(obj5));
17090 if (SWIG_arg_fail(6)) SWIG_fail;
17091 }
17092 }
17093 if (obj6) {
17094 {
17095 arg7 = wxString_in_helper(obj6);
17096 if (arg7 == NULL) SWIG_fail;
17097 temp7 = true;
17098 }
17099 }
17100 {
17101 if (!wxPyCheckForApp()) SWIG_fail;
17102 PyThreadState* __tstate = wxPyBeginAllowThreads();
17103 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17104
17105 wxPyEndAllowThreads(__tstate);
17106 if (PyErr_Occurred()) SWIG_fail;
17107 }
17108 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
17109 {
17110 if (temp3)
17111 delete arg3;
17112 }
17113 {
17114 if (temp7)
17115 delete arg7;
17116 }
17117 return resultobj;
17118 fail:
17119 {
17120 if (temp3)
17121 delete arg3;
17122 }
17123 {
17124 if (temp7)
17125 delete arg7;
17126 }
17127 return NULL;
17128 }
17129
17130
17131 static PyObject *_wrap_new_PreMDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
17132 PyObject *resultobj = NULL;
17133 wxMDIParentFrame *result;
17134 char *kwnames[] = {
17135 NULL
17136 };
17137
17138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
17139 {
17140 if (!wxPyCheckForApp()) SWIG_fail;
17141 PyThreadState* __tstate = wxPyBeginAllowThreads();
17142 result = (wxMDIParentFrame *)new wxMDIParentFrame();
17143
17144 wxPyEndAllowThreads(__tstate);
17145 if (PyErr_Occurred()) SWIG_fail;
17146 }
17147 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
17148 return resultobj;
17149 fail:
17150 return NULL;
17151 }
17152
17153
17154 static PyObject *_wrap_MDIParentFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17155 PyObject *resultobj = NULL;
17156 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17157 wxWindow *arg2 = (wxWindow *) 0 ;
17158 int arg3 = (int) (int)-1 ;
17159 wxString const &arg4_defvalue = wxPyEmptyString ;
17160 wxString *arg4 = (wxString *) &arg4_defvalue ;
17161 wxPoint const &arg5_defvalue = wxDefaultPosition ;
17162 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
17163 wxSize const &arg6_defvalue = wxDefaultSize ;
17164 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
17165 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
17166 wxString const &arg8_defvalue = wxPyFrameNameStr ;
17167 wxString *arg8 = (wxString *) &arg8_defvalue ;
17168 bool result;
17169 bool temp4 = false ;
17170 wxPoint temp5 ;
17171 wxSize temp6 ;
17172 bool temp8 = false ;
17173 PyObject * obj0 = 0 ;
17174 PyObject * obj1 = 0 ;
17175 PyObject * obj2 = 0 ;
17176 PyObject * obj3 = 0 ;
17177 PyObject * obj4 = 0 ;
17178 PyObject * obj5 = 0 ;
17179 PyObject * obj6 = 0 ;
17180 PyObject * obj7 = 0 ;
17181 char *kwnames[] = {
17182 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17183 };
17184
17185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
17186 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17187 if (SWIG_arg_fail(1)) SWIG_fail;
17188 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17189 if (SWIG_arg_fail(2)) SWIG_fail;
17190 if (obj2) {
17191 {
17192 arg3 = static_cast<int const >(SWIG_As_int(obj2));
17193 if (SWIG_arg_fail(3)) SWIG_fail;
17194 }
17195 }
17196 if (obj3) {
17197 {
17198 arg4 = wxString_in_helper(obj3);
17199 if (arg4 == NULL) SWIG_fail;
17200 temp4 = true;
17201 }
17202 }
17203 if (obj4) {
17204 {
17205 arg5 = &temp5;
17206 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
17207 }
17208 }
17209 if (obj5) {
17210 {
17211 arg6 = &temp6;
17212 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
17213 }
17214 }
17215 if (obj6) {
17216 {
17217 arg7 = static_cast<long >(SWIG_As_long(obj6));
17218 if (SWIG_arg_fail(7)) SWIG_fail;
17219 }
17220 }
17221 if (obj7) {
17222 {
17223 arg8 = wxString_in_helper(obj7);
17224 if (arg8 == NULL) SWIG_fail;
17225 temp8 = true;
17226 }
17227 }
17228 {
17229 PyThreadState* __tstate = wxPyBeginAllowThreads();
17230 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
17231
17232 wxPyEndAllowThreads(__tstate);
17233 if (PyErr_Occurred()) SWIG_fail;
17234 }
17235 {
17236 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17237 }
17238 {
17239 if (temp4)
17240 delete arg4;
17241 }
17242 {
17243 if (temp8)
17244 delete arg8;
17245 }
17246 return resultobj;
17247 fail:
17248 {
17249 if (temp4)
17250 delete arg4;
17251 }
17252 {
17253 if (temp8)
17254 delete arg8;
17255 }
17256 return NULL;
17257 }
17258
17259
17260 static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *, PyObject *args, PyObject *kwargs) {
17261 PyObject *resultobj = NULL;
17262 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17263 PyObject * obj0 = 0 ;
17264 char *kwnames[] = {
17265 (char *) "self", NULL
17266 };
17267
17268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
17269 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17270 if (SWIG_arg_fail(1)) SWIG_fail;
17271 {
17272 PyThreadState* __tstate = wxPyBeginAllowThreads();
17273 (arg1)->ActivateNext();
17274
17275 wxPyEndAllowThreads(__tstate);
17276 if (PyErr_Occurred()) SWIG_fail;
17277 }
17278 Py_INCREF(Py_None); resultobj = Py_None;
17279 return resultobj;
17280 fail:
17281 return NULL;
17282 }
17283
17284
17285 static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *, PyObject *args, PyObject *kwargs) {
17286 PyObject *resultobj = NULL;
17287 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17288 PyObject * obj0 = 0 ;
17289 char *kwnames[] = {
17290 (char *) "self", NULL
17291 };
17292
17293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
17294 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17295 if (SWIG_arg_fail(1)) SWIG_fail;
17296 {
17297 PyThreadState* __tstate = wxPyBeginAllowThreads();
17298 (arg1)->ActivatePrevious();
17299
17300 wxPyEndAllowThreads(__tstate);
17301 if (PyErr_Occurred()) SWIG_fail;
17302 }
17303 Py_INCREF(Py_None); resultobj = Py_None;
17304 return resultobj;
17305 fail:
17306 return NULL;
17307 }
17308
17309
17310 static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *, PyObject *args, PyObject *kwargs) {
17311 PyObject *resultobj = NULL;
17312 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17313 PyObject * obj0 = 0 ;
17314 char *kwnames[] = {
17315 (char *) "self", NULL
17316 };
17317
17318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
17319 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17320 if (SWIG_arg_fail(1)) SWIG_fail;
17321 {
17322 PyThreadState* __tstate = wxPyBeginAllowThreads();
17323 (arg1)->ArrangeIcons();
17324
17325 wxPyEndAllowThreads(__tstate);
17326 if (PyErr_Occurred()) SWIG_fail;
17327 }
17328 Py_INCREF(Py_None); resultobj = Py_None;
17329 return resultobj;
17330 fail:
17331 return NULL;
17332 }
17333
17334
17335 static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *, PyObject *args, PyObject *kwargs) {
17336 PyObject *resultobj = NULL;
17337 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17338 PyObject * obj0 = 0 ;
17339 char *kwnames[] = {
17340 (char *) "self", NULL
17341 };
17342
17343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
17344 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17345 if (SWIG_arg_fail(1)) SWIG_fail;
17346 {
17347 PyThreadState* __tstate = wxPyBeginAllowThreads();
17348 (arg1)->Cascade();
17349
17350 wxPyEndAllowThreads(__tstate);
17351 if (PyErr_Occurred()) SWIG_fail;
17352 }
17353 Py_INCREF(Py_None); resultobj = Py_None;
17354 return resultobj;
17355 fail:
17356 return NULL;
17357 }
17358
17359
17360 static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *, PyObject *args, PyObject *kwargs) {
17361 PyObject *resultobj = NULL;
17362 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17363 wxMDIChildFrame *result;
17364 PyObject * obj0 = 0 ;
17365 char *kwnames[] = {
17366 (char *) "self", NULL
17367 };
17368
17369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
17370 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17371 if (SWIG_arg_fail(1)) SWIG_fail;
17372 {
17373 PyThreadState* __tstate = wxPyBeginAllowThreads();
17374 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
17375
17376 wxPyEndAllowThreads(__tstate);
17377 if (PyErr_Occurred()) SWIG_fail;
17378 }
17379 {
17380 resultobj = wxPyMake_wxObject(result, 0);
17381 }
17382 return resultobj;
17383 fail:
17384 return NULL;
17385 }
17386
17387
17388 static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17389 PyObject *resultobj = NULL;
17390 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17391 wxMDIClientWindow *result;
17392 PyObject * obj0 = 0 ;
17393 char *kwnames[] = {
17394 (char *) "self", NULL
17395 };
17396
17397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
17398 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17399 if (SWIG_arg_fail(1)) SWIG_fail;
17400 {
17401 PyThreadState* __tstate = wxPyBeginAllowThreads();
17402 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
17403
17404 wxPyEndAllowThreads(__tstate);
17405 if (PyErr_Occurred()) SWIG_fail;
17406 }
17407 {
17408 resultobj = wxPyMake_wxObject(result, 0);
17409 }
17410 return resultobj;
17411 fail:
17412 return NULL;
17413 }
17414
17415
17416 static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
17417 PyObject *resultobj = NULL;
17418 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17419 wxWindow *result;
17420 PyObject * obj0 = 0 ;
17421 char *kwnames[] = {
17422 (char *) "self", NULL
17423 };
17424
17425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
17426 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17427 if (SWIG_arg_fail(1)) SWIG_fail;
17428 {
17429 PyThreadState* __tstate = wxPyBeginAllowThreads();
17430 result = (wxWindow *)(arg1)->GetToolBar();
17431
17432 wxPyEndAllowThreads(__tstate);
17433 if (PyErr_Occurred()) SWIG_fail;
17434 }
17435 {
17436 resultobj = wxPyMake_wxObject(result, 0);
17437 }
17438 return resultobj;
17439 fail:
17440 return NULL;
17441 }
17442
17443
17444 static PyObject *_wrap_MDIParentFrame_Tile(PyObject *, PyObject *args, PyObject *kwargs) {
17445 PyObject *resultobj = NULL;
17446 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17447 wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ;
17448 PyObject * obj0 = 0 ;
17449 PyObject * obj1 = 0 ;
17450 char *kwnames[] = {
17451 (char *) "self",(char *) "orient", NULL
17452 };
17453
17454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) goto fail;
17455 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17456 if (SWIG_arg_fail(1)) SWIG_fail;
17457 if (obj1) {
17458 {
17459 arg2 = static_cast<wxOrientation >(SWIG_As_int(obj1));
17460 if (SWIG_arg_fail(2)) SWIG_fail;
17461 }
17462 }
17463 {
17464 PyThreadState* __tstate = wxPyBeginAllowThreads();
17465 (arg1)->Tile(arg2);
17466
17467 wxPyEndAllowThreads(__tstate);
17468 if (PyErr_Occurred()) SWIG_fail;
17469 }
17470 Py_INCREF(Py_None); resultobj = Py_None;
17471 return resultobj;
17472 fail:
17473 return NULL;
17474 }
17475
17476
17477 static PyObject * MDIParentFrame_swigregister(PyObject *, PyObject *args) {
17478 PyObject *obj;
17479 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17480 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
17481 Py_INCREF(obj);
17482 return Py_BuildValue((char *)"");
17483 }
17484 static PyObject *_wrap_new_MDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
17485 PyObject *resultobj = NULL;
17486 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17487 int arg2 = (int) (int)-1 ;
17488 wxString const &arg3_defvalue = wxPyEmptyString ;
17489 wxString *arg3 = (wxString *) &arg3_defvalue ;
17490 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17491 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17492 wxSize const &arg5_defvalue = wxDefaultSize ;
17493 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17494 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
17495 wxString const &arg7_defvalue = wxPyFrameNameStr ;
17496 wxString *arg7 = (wxString *) &arg7_defvalue ;
17497 wxMDIChildFrame *result;
17498 bool temp3 = false ;
17499 wxPoint temp4 ;
17500 wxSize temp5 ;
17501 bool temp7 = false ;
17502 PyObject * obj0 = 0 ;
17503 PyObject * obj1 = 0 ;
17504 PyObject * obj2 = 0 ;
17505 PyObject * obj3 = 0 ;
17506 PyObject * obj4 = 0 ;
17507 PyObject * obj5 = 0 ;
17508 PyObject * obj6 = 0 ;
17509 char *kwnames[] = {
17510 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17511 };
17512
17513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17514 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17515 if (SWIG_arg_fail(1)) SWIG_fail;
17516 if (obj1) {
17517 {
17518 arg2 = static_cast<int const >(SWIG_As_int(obj1));
17519 if (SWIG_arg_fail(2)) SWIG_fail;
17520 }
17521 }
17522 if (obj2) {
17523 {
17524 arg3 = wxString_in_helper(obj2);
17525 if (arg3 == NULL) SWIG_fail;
17526 temp3 = true;
17527 }
17528 }
17529 if (obj3) {
17530 {
17531 arg4 = &temp4;
17532 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17533 }
17534 }
17535 if (obj4) {
17536 {
17537 arg5 = &temp5;
17538 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17539 }
17540 }
17541 if (obj5) {
17542 {
17543 arg6 = static_cast<long >(SWIG_As_long(obj5));
17544 if (SWIG_arg_fail(6)) SWIG_fail;
17545 }
17546 }
17547 if (obj6) {
17548 {
17549 arg7 = wxString_in_helper(obj6);
17550 if (arg7 == NULL) SWIG_fail;
17551 temp7 = true;
17552 }
17553 }
17554 {
17555 if (!wxPyCheckForApp()) SWIG_fail;
17556 PyThreadState* __tstate = wxPyBeginAllowThreads();
17557 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17558
17559 wxPyEndAllowThreads(__tstate);
17560 if (PyErr_Occurred()) SWIG_fail;
17561 }
17562 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
17563 {
17564 if (temp3)
17565 delete arg3;
17566 }
17567 {
17568 if (temp7)
17569 delete arg7;
17570 }
17571 return resultobj;
17572 fail:
17573 {
17574 if (temp3)
17575 delete arg3;
17576 }
17577 {
17578 if (temp7)
17579 delete arg7;
17580 }
17581 return NULL;
17582 }
17583
17584
17585 static PyObject *_wrap_new_PreMDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
17586 PyObject *resultobj = NULL;
17587 wxMDIChildFrame *result;
17588 char *kwnames[] = {
17589 NULL
17590 };
17591
17592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
17593 {
17594 if (!wxPyCheckForApp()) SWIG_fail;
17595 PyThreadState* __tstate = wxPyBeginAllowThreads();
17596 result = (wxMDIChildFrame *)new wxMDIChildFrame();
17597
17598 wxPyEndAllowThreads(__tstate);
17599 if (PyErr_Occurred()) SWIG_fail;
17600 }
17601 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
17602 return resultobj;
17603 fail:
17604 return NULL;
17605 }
17606
17607
17608 static PyObject *_wrap_MDIChildFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17609 PyObject *resultobj = NULL;
17610 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17611 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
17612 int arg3 = (int) (int)-1 ;
17613 wxString const &arg4_defvalue = wxPyEmptyString ;
17614 wxString *arg4 = (wxString *) &arg4_defvalue ;
17615 wxPoint const &arg5_defvalue = wxDefaultPosition ;
17616 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
17617 wxSize const &arg6_defvalue = wxDefaultSize ;
17618 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
17619 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
17620 wxString const &arg8_defvalue = wxPyFrameNameStr ;
17621 wxString *arg8 = (wxString *) &arg8_defvalue ;
17622 bool result;
17623 bool temp4 = false ;
17624 wxPoint temp5 ;
17625 wxSize temp6 ;
17626 bool temp8 = false ;
17627 PyObject * obj0 = 0 ;
17628 PyObject * obj1 = 0 ;
17629 PyObject * obj2 = 0 ;
17630 PyObject * obj3 = 0 ;
17631 PyObject * obj4 = 0 ;
17632 PyObject * obj5 = 0 ;
17633 PyObject * obj6 = 0 ;
17634 PyObject * obj7 = 0 ;
17635 char *kwnames[] = {
17636 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17637 };
17638
17639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
17640 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17641 if (SWIG_arg_fail(1)) SWIG_fail;
17642 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17643 if (SWIG_arg_fail(2)) SWIG_fail;
17644 if (obj2) {
17645 {
17646 arg3 = static_cast<int const >(SWIG_As_int(obj2));
17647 if (SWIG_arg_fail(3)) SWIG_fail;
17648 }
17649 }
17650 if (obj3) {
17651 {
17652 arg4 = wxString_in_helper(obj3);
17653 if (arg4 == NULL) SWIG_fail;
17654 temp4 = true;
17655 }
17656 }
17657 if (obj4) {
17658 {
17659 arg5 = &temp5;
17660 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
17661 }
17662 }
17663 if (obj5) {
17664 {
17665 arg6 = &temp6;
17666 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
17667 }
17668 }
17669 if (obj6) {
17670 {
17671 arg7 = static_cast<long >(SWIG_As_long(obj6));
17672 if (SWIG_arg_fail(7)) SWIG_fail;
17673 }
17674 }
17675 if (obj7) {
17676 {
17677 arg8 = wxString_in_helper(obj7);
17678 if (arg8 == NULL) SWIG_fail;
17679 temp8 = true;
17680 }
17681 }
17682 {
17683 PyThreadState* __tstate = wxPyBeginAllowThreads();
17684 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
17685
17686 wxPyEndAllowThreads(__tstate);
17687 if (PyErr_Occurred()) SWIG_fail;
17688 }
17689 {
17690 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17691 }
17692 {
17693 if (temp4)
17694 delete arg4;
17695 }
17696 {
17697 if (temp8)
17698 delete arg8;
17699 }
17700 return resultobj;
17701 fail:
17702 {
17703 if (temp4)
17704 delete arg4;
17705 }
17706 {
17707 if (temp8)
17708 delete arg8;
17709 }
17710 return NULL;
17711 }
17712
17713
17714 static PyObject *_wrap_MDIChildFrame_Activate(PyObject *, PyObject *args, PyObject *kwargs) {
17715 PyObject *resultobj = NULL;
17716 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17717 PyObject * obj0 = 0 ;
17718 char *kwnames[] = {
17719 (char *) "self", NULL
17720 };
17721
17722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
17723 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17724 if (SWIG_arg_fail(1)) SWIG_fail;
17725 {
17726 PyThreadState* __tstate = wxPyBeginAllowThreads();
17727 (arg1)->Activate();
17728
17729 wxPyEndAllowThreads(__tstate);
17730 if (PyErr_Occurred()) SWIG_fail;
17731 }
17732 Py_INCREF(Py_None); resultobj = Py_None;
17733 return resultobj;
17734 fail:
17735 return NULL;
17736 }
17737
17738
17739 static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
17740 PyObject *resultobj = NULL;
17741 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17742 bool arg2 = (bool) true ;
17743 PyObject * obj0 = 0 ;
17744 PyObject * obj1 = 0 ;
17745 char *kwnames[] = {
17746 (char *) "self",(char *) "maximize", NULL
17747 };
17748
17749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
17750 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17751 if (SWIG_arg_fail(1)) SWIG_fail;
17752 if (obj1) {
17753 {
17754 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
17755 if (SWIG_arg_fail(2)) SWIG_fail;
17756 }
17757 }
17758 {
17759 PyThreadState* __tstate = wxPyBeginAllowThreads();
17760 (arg1)->Maximize(arg2);
17761
17762 wxPyEndAllowThreads(__tstate);
17763 if (PyErr_Occurred()) SWIG_fail;
17764 }
17765 Py_INCREF(Py_None); resultobj = Py_None;
17766 return resultobj;
17767 fail:
17768 return NULL;
17769 }
17770
17771
17772 static PyObject *_wrap_MDIChildFrame_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
17773 PyObject *resultobj = NULL;
17774 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17775 PyObject * obj0 = 0 ;
17776 char *kwnames[] = {
17777 (char *) "self", NULL
17778 };
17779
17780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
17781 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17782 if (SWIG_arg_fail(1)) SWIG_fail;
17783 {
17784 PyThreadState* __tstate = wxPyBeginAllowThreads();
17785 (arg1)->Restore();
17786
17787 wxPyEndAllowThreads(__tstate);
17788 if (PyErr_Occurred()) SWIG_fail;
17789 }
17790 Py_INCREF(Py_None); resultobj = Py_None;
17791 return resultobj;
17792 fail:
17793 return NULL;
17794 }
17795
17796
17797 static PyObject * MDIChildFrame_swigregister(PyObject *, PyObject *args) {
17798 PyObject *obj;
17799 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17800 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
17801 Py_INCREF(obj);
17802 return Py_BuildValue((char *)"");
17803 }
17804 static PyObject *_wrap_new_MDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17805 PyObject *resultobj = NULL;
17806 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17807 long arg2 = (long) 0 ;
17808 wxMDIClientWindow *result;
17809 PyObject * obj0 = 0 ;
17810 PyObject * obj1 = 0 ;
17811 char *kwnames[] = {
17812 (char *) "parent",(char *) "style", NULL
17813 };
17814
17815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
17816 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17817 if (SWIG_arg_fail(1)) SWIG_fail;
17818 if (obj1) {
17819 {
17820 arg2 = static_cast<long >(SWIG_As_long(obj1));
17821 if (SWIG_arg_fail(2)) SWIG_fail;
17822 }
17823 }
17824 {
17825 if (!wxPyCheckForApp()) SWIG_fail;
17826 PyThreadState* __tstate = wxPyBeginAllowThreads();
17827 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
17828
17829 wxPyEndAllowThreads(__tstate);
17830 if (PyErr_Occurred()) SWIG_fail;
17831 }
17832 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
17833 return resultobj;
17834 fail:
17835 return NULL;
17836 }
17837
17838
17839 static PyObject *_wrap_new_PreMDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17840 PyObject *resultobj = NULL;
17841 wxMDIClientWindow *result;
17842 char *kwnames[] = {
17843 NULL
17844 };
17845
17846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
17847 {
17848 if (!wxPyCheckForApp()) SWIG_fail;
17849 PyThreadState* __tstate = wxPyBeginAllowThreads();
17850 result = (wxMDIClientWindow *)new wxMDIClientWindow();
17851
17852 wxPyEndAllowThreads(__tstate);
17853 if (PyErr_Occurred()) SWIG_fail;
17854 }
17855 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
17856 return resultobj;
17857 fail:
17858 return NULL;
17859 }
17860
17861
17862 static PyObject *_wrap_MDIClientWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17863 PyObject *resultobj = NULL;
17864 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
17865 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
17866 long arg3 = (long) 0 ;
17867 bool result;
17868 PyObject * obj0 = 0 ;
17869 PyObject * obj1 = 0 ;
17870 PyObject * obj2 = 0 ;
17871 char *kwnames[] = {
17872 (char *) "self",(char *) "parent",(char *) "style", NULL
17873 };
17874
17875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
17876 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_EXCEPTION | 0);
17877 if (SWIG_arg_fail(1)) SWIG_fail;
17878 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17879 if (SWIG_arg_fail(2)) SWIG_fail;
17880 if (obj2) {
17881 {
17882 arg3 = static_cast<long >(SWIG_As_long(obj2));
17883 if (SWIG_arg_fail(3)) SWIG_fail;
17884 }
17885 }
17886 {
17887 PyThreadState* __tstate = wxPyBeginAllowThreads();
17888 result = (bool)(arg1)->Create(arg2,arg3);
17889
17890 wxPyEndAllowThreads(__tstate);
17891 if (PyErr_Occurred()) SWIG_fail;
17892 }
17893 {
17894 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17895 }
17896 return resultobj;
17897 fail:
17898 return NULL;
17899 }
17900
17901
17902 static PyObject * MDIClientWindow_swigregister(PyObject *, PyObject *args) {
17903 PyObject *obj;
17904 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17905 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
17906 Py_INCREF(obj);
17907 return Py_BuildValue((char *)"");
17908 }
17909 static PyObject *_wrap_new_PyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17910 PyObject *resultobj = NULL;
17911 wxWindow *arg1 = (wxWindow *) 0 ;
17912 int arg2 = (int) (int)-1 ;
17913 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17914 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17915 wxSize const &arg4_defvalue = wxDefaultSize ;
17916 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17917 long arg5 = (long) 0 ;
17918 wxString const &arg6_defvalue = wxPyPanelNameStr ;
17919 wxString *arg6 = (wxString *) &arg6_defvalue ;
17920 wxPyWindow *result;
17921 wxPoint temp3 ;
17922 wxSize temp4 ;
17923 bool temp6 = false ;
17924 PyObject * obj0 = 0 ;
17925 PyObject * obj1 = 0 ;
17926 PyObject * obj2 = 0 ;
17927 PyObject * obj3 = 0 ;
17928 PyObject * obj4 = 0 ;
17929 PyObject * obj5 = 0 ;
17930 char *kwnames[] = {
17931 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17932 };
17933
17934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17935 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17936 if (SWIG_arg_fail(1)) SWIG_fail;
17937 if (obj1) {
17938 {
17939 arg2 = static_cast<int const >(SWIG_As_int(obj1));
17940 if (SWIG_arg_fail(2)) SWIG_fail;
17941 }
17942 }
17943 if (obj2) {
17944 {
17945 arg3 = &temp3;
17946 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17947 }
17948 }
17949 if (obj3) {
17950 {
17951 arg4 = &temp4;
17952 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17953 }
17954 }
17955 if (obj4) {
17956 {
17957 arg5 = static_cast<long >(SWIG_As_long(obj4));
17958 if (SWIG_arg_fail(5)) SWIG_fail;
17959 }
17960 }
17961 if (obj5) {
17962 {
17963 arg6 = wxString_in_helper(obj5);
17964 if (arg6 == NULL) SWIG_fail;
17965 temp6 = true;
17966 }
17967 }
17968 {
17969 if (!wxPyCheckForApp()) SWIG_fail;
17970 PyThreadState* __tstate = wxPyBeginAllowThreads();
17971 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17972
17973 wxPyEndAllowThreads(__tstate);
17974 if (PyErr_Occurred()) SWIG_fail;
17975 }
17976 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
17977 {
17978 if (temp6)
17979 delete arg6;
17980 }
17981 return resultobj;
17982 fail:
17983 {
17984 if (temp6)
17985 delete arg6;
17986 }
17987 return NULL;
17988 }
17989
17990
17991 static PyObject *_wrap_new_PrePyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17992 PyObject *resultobj = NULL;
17993 wxPyWindow *result;
17994 char *kwnames[] = {
17995 NULL
17996 };
17997
17998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail;
17999 {
18000 if (!wxPyCheckForApp()) SWIG_fail;
18001 PyThreadState* __tstate = wxPyBeginAllowThreads();
18002 result = (wxPyWindow *)new wxPyWindow();
18003
18004 wxPyEndAllowThreads(__tstate);
18005 if (PyErr_Occurred()) SWIG_fail;
18006 }
18007 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
18008 return resultobj;
18009 fail:
18010 return NULL;
18011 }
18012
18013
18014 static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
18015 PyObject *resultobj = NULL;
18016 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18017 PyObject *arg2 = (PyObject *) 0 ;
18018 PyObject *arg3 = (PyObject *) 0 ;
18019 PyObject * obj0 = 0 ;
18020 PyObject * obj1 = 0 ;
18021 PyObject * obj2 = 0 ;
18022 char *kwnames[] = {
18023 (char *) "self",(char *) "self",(char *) "_class", NULL
18024 };
18025
18026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
18027 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18028 if (SWIG_arg_fail(1)) SWIG_fail;
18029 arg2 = obj1;
18030 arg3 = obj2;
18031 {
18032 PyThreadState* __tstate = wxPyBeginAllowThreads();
18033 (arg1)->_setCallbackInfo(arg2,arg3);
18034
18035 wxPyEndAllowThreads(__tstate);
18036 if (PyErr_Occurred()) SWIG_fail;
18037 }
18038 Py_INCREF(Py_None); resultobj = Py_None;
18039 return resultobj;
18040 fail:
18041 return NULL;
18042 }
18043
18044
18045 static PyObject *_wrap_PyWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
18046 PyObject *resultobj = NULL;
18047 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18048 wxSize *arg2 = 0 ;
18049 wxSize temp2 ;
18050 PyObject * obj0 = 0 ;
18051 PyObject * obj1 = 0 ;
18052 char *kwnames[] = {
18053 (char *) "self",(char *) "size", NULL
18054 };
18055
18056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
18057 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18058 if (SWIG_arg_fail(1)) SWIG_fail;
18059 {
18060 arg2 = &temp2;
18061 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18062 }
18063 {
18064 PyThreadState* __tstate = wxPyBeginAllowThreads();
18065 (arg1)->SetBestSize((wxSize const &)*arg2);
18066
18067 wxPyEndAllowThreads(__tstate);
18068 if (PyErr_Occurred()) SWIG_fail;
18069 }
18070 Py_INCREF(Py_None); resultobj = Py_None;
18071 return resultobj;
18072 fail:
18073 return NULL;
18074 }
18075
18076
18077 static PyObject *_wrap_PyWindow_DoEraseBackground(PyObject *, PyObject *args, PyObject *kwargs) {
18078 PyObject *resultobj = NULL;
18079 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18080 wxDC *arg2 = (wxDC *) 0 ;
18081 bool result;
18082 PyObject * obj0 = 0 ;
18083 PyObject * obj1 = 0 ;
18084 char *kwnames[] = {
18085 (char *) "self",(char *) "dc", NULL
18086 };
18087
18088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_DoEraseBackground",kwnames,&obj0,&obj1)) goto fail;
18089 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18090 if (SWIG_arg_fail(1)) SWIG_fail;
18091 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
18092 if (SWIG_arg_fail(2)) SWIG_fail;
18093 {
18094 PyThreadState* __tstate = wxPyBeginAllowThreads();
18095 result = (bool)(arg1)->DoEraseBackground(arg2);
18096
18097 wxPyEndAllowThreads(__tstate);
18098 if (PyErr_Occurred()) SWIG_fail;
18099 }
18100 {
18101 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18102 }
18103 return resultobj;
18104 fail:
18105 return NULL;
18106 }
18107
18108
18109 static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
18110 PyObject *resultobj = NULL;
18111 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18112 int arg2 ;
18113 int arg3 ;
18114 int arg4 ;
18115 int arg5 ;
18116 PyObject * obj0 = 0 ;
18117 PyObject * obj1 = 0 ;
18118 PyObject * obj2 = 0 ;
18119 PyObject * obj3 = 0 ;
18120 PyObject * obj4 = 0 ;
18121 char *kwnames[] = {
18122 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18123 };
18124
18125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
18126 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18127 if (SWIG_arg_fail(1)) SWIG_fail;
18128 {
18129 arg2 = static_cast<int >(SWIG_As_int(obj1));
18130 if (SWIG_arg_fail(2)) SWIG_fail;
18131 }
18132 {
18133 arg3 = static_cast<int >(SWIG_As_int(obj2));
18134 if (SWIG_arg_fail(3)) SWIG_fail;
18135 }
18136 {
18137 arg4 = static_cast<int >(SWIG_As_int(obj3));
18138 if (SWIG_arg_fail(4)) SWIG_fail;
18139 }
18140 {
18141 arg5 = static_cast<int >(SWIG_As_int(obj4));
18142 if (SWIG_arg_fail(5)) SWIG_fail;
18143 }
18144 {
18145 PyThreadState* __tstate = wxPyBeginAllowThreads();
18146 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
18147
18148 wxPyEndAllowThreads(__tstate);
18149 if (PyErr_Occurred()) SWIG_fail;
18150 }
18151 Py_INCREF(Py_None); resultobj = Py_None;
18152 return resultobj;
18153 fail:
18154 return NULL;
18155 }
18156
18157
18158 static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
18159 PyObject *resultobj = NULL;
18160 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18161 int arg2 ;
18162 int arg3 ;
18163 int arg4 ;
18164 int arg5 ;
18165 int arg6 = (int) wxSIZE_AUTO ;
18166 PyObject * obj0 = 0 ;
18167 PyObject * obj1 = 0 ;
18168 PyObject * obj2 = 0 ;
18169 PyObject * obj3 = 0 ;
18170 PyObject * obj4 = 0 ;
18171 PyObject * obj5 = 0 ;
18172 char *kwnames[] = {
18173 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
18174 };
18175
18176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18177 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18178 if (SWIG_arg_fail(1)) SWIG_fail;
18179 {
18180 arg2 = static_cast<int >(SWIG_As_int(obj1));
18181 if (SWIG_arg_fail(2)) SWIG_fail;
18182 }
18183 {
18184 arg3 = static_cast<int >(SWIG_As_int(obj2));
18185 if (SWIG_arg_fail(3)) SWIG_fail;
18186 }
18187 {
18188 arg4 = static_cast<int >(SWIG_As_int(obj3));
18189 if (SWIG_arg_fail(4)) SWIG_fail;
18190 }
18191 {
18192 arg5 = static_cast<int >(SWIG_As_int(obj4));
18193 if (SWIG_arg_fail(5)) SWIG_fail;
18194 }
18195 if (obj5) {
18196 {
18197 arg6 = static_cast<int >(SWIG_As_int(obj5));
18198 if (SWIG_arg_fail(6)) SWIG_fail;
18199 }
18200 }
18201 {
18202 PyThreadState* __tstate = wxPyBeginAllowThreads();
18203 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
18204
18205 wxPyEndAllowThreads(__tstate);
18206 if (PyErr_Occurred()) SWIG_fail;
18207 }
18208 Py_INCREF(Py_None); resultobj = Py_None;
18209 return resultobj;
18210 fail:
18211 return NULL;
18212 }
18213
18214
18215 static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
18216 PyObject *resultobj = NULL;
18217 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18218 int arg2 ;
18219 int arg3 ;
18220 PyObject * obj0 = 0 ;
18221 PyObject * obj1 = 0 ;
18222 PyObject * obj2 = 0 ;
18223 char *kwnames[] = {
18224 (char *) "self",(char *) "width",(char *) "height", NULL
18225 };
18226
18227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
18228 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18229 if (SWIG_arg_fail(1)) SWIG_fail;
18230 {
18231 arg2 = static_cast<int >(SWIG_As_int(obj1));
18232 if (SWIG_arg_fail(2)) SWIG_fail;
18233 }
18234 {
18235 arg3 = static_cast<int >(SWIG_As_int(obj2));
18236 if (SWIG_arg_fail(3)) SWIG_fail;
18237 }
18238 {
18239 PyThreadState* __tstate = wxPyBeginAllowThreads();
18240 (arg1)->base_DoSetClientSize(arg2,arg3);
18241
18242 wxPyEndAllowThreads(__tstate);
18243 if (PyErr_Occurred()) SWIG_fail;
18244 }
18245 Py_INCREF(Py_None); resultobj = Py_None;
18246 return resultobj;
18247 fail:
18248 return NULL;
18249 }
18250
18251
18252 static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
18253 PyObject *resultobj = NULL;
18254 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18255 int arg2 ;
18256 int arg3 ;
18257 PyObject * obj0 = 0 ;
18258 PyObject * obj1 = 0 ;
18259 PyObject * obj2 = 0 ;
18260 char *kwnames[] = {
18261 (char *) "self",(char *) "x",(char *) "y", NULL
18262 };
18263
18264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
18265 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18266 if (SWIG_arg_fail(1)) SWIG_fail;
18267 {
18268 arg2 = static_cast<int >(SWIG_As_int(obj1));
18269 if (SWIG_arg_fail(2)) SWIG_fail;
18270 }
18271 {
18272 arg3 = static_cast<int >(SWIG_As_int(obj2));
18273 if (SWIG_arg_fail(3)) SWIG_fail;
18274 }
18275 {
18276 PyThreadState* __tstate = wxPyBeginAllowThreads();
18277 (arg1)->base_DoSetVirtualSize(arg2,arg3);
18278
18279 wxPyEndAllowThreads(__tstate);
18280 if (PyErr_Occurred()) SWIG_fail;
18281 }
18282 Py_INCREF(Py_None); resultobj = Py_None;
18283 return resultobj;
18284 fail:
18285 return NULL;
18286 }
18287
18288
18289 static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
18290 PyObject *resultobj = NULL;
18291 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18292 int *arg2 = (int *) 0 ;
18293 int *arg3 = (int *) 0 ;
18294 int temp2 ;
18295 int res2 = 0 ;
18296 int temp3 ;
18297 int res3 = 0 ;
18298 PyObject * obj0 = 0 ;
18299 char *kwnames[] = {
18300 (char *) "self", NULL
18301 };
18302
18303 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18304 arg3 = &temp3; res3 = SWIG_NEWOBJ;
18305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
18306 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18307 if (SWIG_arg_fail(1)) SWIG_fail;
18308 {
18309 PyThreadState* __tstate = wxPyBeginAllowThreads();
18310 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
18311
18312 wxPyEndAllowThreads(__tstate);
18313 if (PyErr_Occurred()) SWIG_fail;
18314 }
18315 Py_INCREF(Py_None); resultobj = Py_None;
18316 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18317 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18318 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18319 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
18320 return resultobj;
18321 fail:
18322 return NULL;
18323 }
18324
18325
18326 static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
18327 PyObject *resultobj = NULL;
18328 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18329 int *arg2 = (int *) 0 ;
18330 int *arg3 = (int *) 0 ;
18331 int temp2 ;
18332 int res2 = 0 ;
18333 int temp3 ;
18334 int res3 = 0 ;
18335 PyObject * obj0 = 0 ;
18336 char *kwnames[] = {
18337 (char *) "self", NULL
18338 };
18339
18340 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18341 arg3 = &temp3; res3 = SWIG_NEWOBJ;
18342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
18343 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18344 if (SWIG_arg_fail(1)) SWIG_fail;
18345 {
18346 PyThreadState* __tstate = wxPyBeginAllowThreads();
18347 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
18348
18349 wxPyEndAllowThreads(__tstate);
18350 if (PyErr_Occurred()) SWIG_fail;
18351 }
18352 Py_INCREF(Py_None); resultobj = Py_None;
18353 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18354 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18355 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18356 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
18357 return resultobj;
18358 fail:
18359 return NULL;
18360 }
18361
18362
18363 static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
18364 PyObject *resultobj = NULL;
18365 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18366 int *arg2 = (int *) 0 ;
18367 int *arg3 = (int *) 0 ;
18368 int temp2 ;
18369 int res2 = 0 ;
18370 int temp3 ;
18371 int res3 = 0 ;
18372 PyObject * obj0 = 0 ;
18373 char *kwnames[] = {
18374 (char *) "self", NULL
18375 };
18376
18377 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18378 arg3 = &temp3; res3 = SWIG_NEWOBJ;
18379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
18380 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18381 if (SWIG_arg_fail(1)) SWIG_fail;
18382 {
18383 PyThreadState* __tstate = wxPyBeginAllowThreads();
18384 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
18385
18386 wxPyEndAllowThreads(__tstate);
18387 if (PyErr_Occurred()) SWIG_fail;
18388 }
18389 Py_INCREF(Py_None); resultobj = Py_None;
18390 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18391 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18392 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18393 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
18394 return resultobj;
18395 fail:
18396 return NULL;
18397 }
18398
18399
18400 static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
18401 PyObject *resultobj = NULL;
18402 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18403 wxSize result;
18404 PyObject * obj0 = 0 ;
18405 char *kwnames[] = {
18406 (char *) "self", NULL
18407 };
18408
18409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
18410 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18411 if (SWIG_arg_fail(1)) SWIG_fail;
18412 {
18413 PyThreadState* __tstate = wxPyBeginAllowThreads();
18414 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
18415
18416 wxPyEndAllowThreads(__tstate);
18417 if (PyErr_Occurred()) SWIG_fail;
18418 }
18419 {
18420 wxSize * resultptr;
18421 resultptr = new wxSize(static_cast<wxSize & >(result));
18422 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18423 }
18424 return resultobj;
18425 fail:
18426 return NULL;
18427 }
18428
18429
18430 static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
18431 PyObject *resultobj = NULL;
18432 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18433 wxSize result;
18434 PyObject * obj0 = 0 ;
18435 char *kwnames[] = {
18436 (char *) "self", NULL
18437 };
18438
18439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
18440 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18441 if (SWIG_arg_fail(1)) SWIG_fail;
18442 {
18443 PyThreadState* __tstate = wxPyBeginAllowThreads();
18444 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
18445
18446 wxPyEndAllowThreads(__tstate);
18447 if (PyErr_Occurred()) SWIG_fail;
18448 }
18449 {
18450 wxSize * resultptr;
18451 resultptr = new wxSize(static_cast<wxSize & >(result));
18452 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18453 }
18454 return resultobj;
18455 fail:
18456 return NULL;
18457 }
18458
18459
18460 static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
18461 PyObject *resultobj = NULL;
18462 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18463 PyObject * obj0 = 0 ;
18464 char *kwnames[] = {
18465 (char *) "self", NULL
18466 };
18467
18468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
18469 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18470 if (SWIG_arg_fail(1)) SWIG_fail;
18471 {
18472 PyThreadState* __tstate = wxPyBeginAllowThreads();
18473 (arg1)->base_InitDialog();
18474
18475 wxPyEndAllowThreads(__tstate);
18476 if (PyErr_Occurred()) SWIG_fail;
18477 }
18478 Py_INCREF(Py_None); resultobj = Py_None;
18479 return resultobj;
18480 fail:
18481 return NULL;
18482 }
18483
18484
18485 static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
18486 PyObject *resultobj = NULL;
18487 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18488 bool result;
18489 PyObject * obj0 = 0 ;
18490 char *kwnames[] = {
18491 (char *) "self", NULL
18492 };
18493
18494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
18495 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18496 if (SWIG_arg_fail(1)) SWIG_fail;
18497 {
18498 PyThreadState* __tstate = wxPyBeginAllowThreads();
18499 result = (bool)(arg1)->base_TransferDataToWindow();
18500
18501 wxPyEndAllowThreads(__tstate);
18502 if (PyErr_Occurred()) SWIG_fail;
18503 }
18504 {
18505 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18506 }
18507 return resultobj;
18508 fail:
18509 return NULL;
18510 }
18511
18512
18513 static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
18514 PyObject *resultobj = NULL;
18515 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18516 bool result;
18517 PyObject * obj0 = 0 ;
18518 char *kwnames[] = {
18519 (char *) "self", NULL
18520 };
18521
18522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
18523 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18524 if (SWIG_arg_fail(1)) SWIG_fail;
18525 {
18526 PyThreadState* __tstate = wxPyBeginAllowThreads();
18527 result = (bool)(arg1)->base_TransferDataFromWindow();
18528
18529 wxPyEndAllowThreads(__tstate);
18530 if (PyErr_Occurred()) SWIG_fail;
18531 }
18532 {
18533 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18534 }
18535 return resultobj;
18536 fail:
18537 return NULL;
18538 }
18539
18540
18541 static PyObject *_wrap_PyWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
18542 PyObject *resultobj = NULL;
18543 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18544 bool result;
18545 PyObject * obj0 = 0 ;
18546 char *kwnames[] = {
18547 (char *) "self", NULL
18548 };
18549
18550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
18551 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18552 if (SWIG_arg_fail(1)) SWIG_fail;
18553 {
18554 PyThreadState* __tstate = wxPyBeginAllowThreads();
18555 result = (bool)(arg1)->base_Validate();
18556
18557 wxPyEndAllowThreads(__tstate);
18558 if (PyErr_Occurred()) SWIG_fail;
18559 }
18560 {
18561 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18562 }
18563 return resultobj;
18564 fail:
18565 return NULL;
18566 }
18567
18568
18569 static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
18570 PyObject *resultobj = NULL;
18571 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18572 bool result;
18573 PyObject * obj0 = 0 ;
18574 char *kwnames[] = {
18575 (char *) "self", NULL
18576 };
18577
18578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
18579 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18580 if (SWIG_arg_fail(1)) SWIG_fail;
18581 {
18582 PyThreadState* __tstate = wxPyBeginAllowThreads();
18583 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
18584
18585 wxPyEndAllowThreads(__tstate);
18586 if (PyErr_Occurred()) SWIG_fail;
18587 }
18588 {
18589 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18590 }
18591 return resultobj;
18592 fail:
18593 return NULL;
18594 }
18595
18596
18597 static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
18598 PyObject *resultobj = NULL;
18599 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18600 bool result;
18601 PyObject * obj0 = 0 ;
18602 char *kwnames[] = {
18603 (char *) "self", NULL
18604 };
18605
18606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
18607 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18608 if (SWIG_arg_fail(1)) SWIG_fail;
18609 {
18610 PyThreadState* __tstate = wxPyBeginAllowThreads();
18611 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
18612
18613 wxPyEndAllowThreads(__tstate);
18614 if (PyErr_Occurred()) SWIG_fail;
18615 }
18616 {
18617 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18618 }
18619 return resultobj;
18620 fail:
18621 return NULL;
18622 }
18623
18624
18625 static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
18626 PyObject *resultobj = NULL;
18627 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18628 wxSize result;
18629 PyObject * obj0 = 0 ;
18630 char *kwnames[] = {
18631 (char *) "self", NULL
18632 };
18633
18634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
18635 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18636 if (SWIG_arg_fail(1)) SWIG_fail;
18637 {
18638 PyThreadState* __tstate = wxPyBeginAllowThreads();
18639 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
18640
18641 wxPyEndAllowThreads(__tstate);
18642 if (PyErr_Occurred()) SWIG_fail;
18643 }
18644 {
18645 wxSize * resultptr;
18646 resultptr = new wxSize(static_cast<wxSize & >(result));
18647 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18648 }
18649 return resultobj;
18650 fail:
18651 return NULL;
18652 }
18653
18654
18655 static PyObject *_wrap_PyWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
18656 PyObject *resultobj = NULL;
18657 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18658 wxWindow *arg2 = (wxWindow *) 0 ;
18659 PyObject * obj0 = 0 ;
18660 PyObject * obj1 = 0 ;
18661 char *kwnames[] = {
18662 (char *) "self",(char *) "child", NULL
18663 };
18664
18665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
18666 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18667 if (SWIG_arg_fail(1)) SWIG_fail;
18668 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18669 if (SWIG_arg_fail(2)) SWIG_fail;
18670 {
18671 PyThreadState* __tstate = wxPyBeginAllowThreads();
18672 (arg1)->base_AddChild(arg2);
18673
18674 wxPyEndAllowThreads(__tstate);
18675 if (PyErr_Occurred()) SWIG_fail;
18676 }
18677 Py_INCREF(Py_None); resultobj = Py_None;
18678 return resultobj;
18679 fail:
18680 return NULL;
18681 }
18682
18683
18684 static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
18685 PyObject *resultobj = NULL;
18686 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18687 wxWindow *arg2 = (wxWindow *) 0 ;
18688 PyObject * obj0 = 0 ;
18689 PyObject * obj1 = 0 ;
18690 char *kwnames[] = {
18691 (char *) "self",(char *) "child", NULL
18692 };
18693
18694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
18695 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18696 if (SWIG_arg_fail(1)) SWIG_fail;
18697 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18698 if (SWIG_arg_fail(2)) SWIG_fail;
18699 {
18700 PyThreadState* __tstate = wxPyBeginAllowThreads();
18701 (arg1)->base_RemoveChild(arg2);
18702
18703 wxPyEndAllowThreads(__tstate);
18704 if (PyErr_Occurred()) SWIG_fail;
18705 }
18706 Py_INCREF(Py_None); resultobj = Py_None;
18707 return resultobj;
18708 fail:
18709 return NULL;
18710 }
18711
18712
18713 static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
18714 PyObject *resultobj = NULL;
18715 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18716 bool result;
18717 PyObject * obj0 = 0 ;
18718 char *kwnames[] = {
18719 (char *) "self", NULL
18720 };
18721
18722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
18723 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18724 if (SWIG_arg_fail(1)) SWIG_fail;
18725 {
18726 PyThreadState* __tstate = wxPyBeginAllowThreads();
18727 result = (bool)((wxPyWindow const *)arg1)->base_ShouldInheritColours();
18728
18729 wxPyEndAllowThreads(__tstate);
18730 if (PyErr_Occurred()) SWIG_fail;
18731 }
18732 {
18733 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18734 }
18735 return resultobj;
18736 fail:
18737 return NULL;
18738 }
18739
18740
18741 static PyObject *_wrap_PyWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
18742 PyObject *resultobj = NULL;
18743 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18744 wxVisualAttributes result;
18745 PyObject * obj0 = 0 ;
18746 char *kwnames[] = {
18747 (char *) "self", NULL
18748 };
18749
18750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
18751 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18752 if (SWIG_arg_fail(1)) SWIG_fail;
18753 {
18754 PyThreadState* __tstate = wxPyBeginAllowThreads();
18755 result = (arg1)->base_GetDefaultAttributes();
18756
18757 wxPyEndAllowThreads(__tstate);
18758 if (PyErr_Occurred()) SWIG_fail;
18759 }
18760 {
18761 wxVisualAttributes * resultptr;
18762 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
18763 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
18764 }
18765 return resultobj;
18766 fail:
18767 return NULL;
18768 }
18769
18770
18771 static PyObject *_wrap_PyWindow_base_OnInternalIdle(PyObject *, PyObject *args, PyObject *kwargs) {
18772 PyObject *resultobj = NULL;
18773 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18774 PyObject * obj0 = 0 ;
18775 char *kwnames[] = {
18776 (char *) "self", NULL
18777 };
18778
18779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_OnInternalIdle",kwnames,&obj0)) goto fail;
18780 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18781 if (SWIG_arg_fail(1)) SWIG_fail;
18782 {
18783 PyThreadState* __tstate = wxPyBeginAllowThreads();
18784 (arg1)->base_OnInternalIdle();
18785
18786 wxPyEndAllowThreads(__tstate);
18787 if (PyErr_Occurred()) SWIG_fail;
18788 }
18789 Py_INCREF(Py_None); resultobj = Py_None;
18790 return resultobj;
18791 fail:
18792 return NULL;
18793 }
18794
18795
18796 static PyObject * PyWindow_swigregister(PyObject *, PyObject *args) {
18797 PyObject *obj;
18798 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18799 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
18800 Py_INCREF(obj);
18801 return Py_BuildValue((char *)"");
18802 }
18803 static PyObject *_wrap_new_PyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
18804 PyObject *resultobj = NULL;
18805 wxWindow *arg1 = (wxWindow *) 0 ;
18806 int arg2 = (int) (int)-1 ;
18807 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18808 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18809 wxSize const &arg4_defvalue = wxDefaultSize ;
18810 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18811 long arg5 = (long) 0 ;
18812 wxString const &arg6_defvalue = wxPyPanelNameStr ;
18813 wxString *arg6 = (wxString *) &arg6_defvalue ;
18814 wxPyPanel *result;
18815 wxPoint temp3 ;
18816 wxSize temp4 ;
18817 bool temp6 = false ;
18818 PyObject * obj0 = 0 ;
18819 PyObject * obj1 = 0 ;
18820 PyObject * obj2 = 0 ;
18821 PyObject * obj3 = 0 ;
18822 PyObject * obj4 = 0 ;
18823 PyObject * obj5 = 0 ;
18824 char *kwnames[] = {
18825 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18826 };
18827
18828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18829 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18830 if (SWIG_arg_fail(1)) SWIG_fail;
18831 if (obj1) {
18832 {
18833 arg2 = static_cast<int const >(SWIG_As_int(obj1));
18834 if (SWIG_arg_fail(2)) SWIG_fail;
18835 }
18836 }
18837 if (obj2) {
18838 {
18839 arg3 = &temp3;
18840 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18841 }
18842 }
18843 if (obj3) {
18844 {
18845 arg4 = &temp4;
18846 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18847 }
18848 }
18849 if (obj4) {
18850 {
18851 arg5 = static_cast<long >(SWIG_As_long(obj4));
18852 if (SWIG_arg_fail(5)) SWIG_fail;
18853 }
18854 }
18855 if (obj5) {
18856 {
18857 arg6 = wxString_in_helper(obj5);
18858 if (arg6 == NULL) SWIG_fail;
18859 temp6 = true;
18860 }
18861 }
18862 {
18863 if (!wxPyCheckForApp()) SWIG_fail;
18864 PyThreadState* __tstate = wxPyBeginAllowThreads();
18865 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
18866
18867 wxPyEndAllowThreads(__tstate);
18868 if (PyErr_Occurred()) SWIG_fail;
18869 }
18870 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
18871 {
18872 if (temp6)
18873 delete arg6;
18874 }
18875 return resultobj;
18876 fail:
18877 {
18878 if (temp6)
18879 delete arg6;
18880 }
18881 return NULL;
18882 }
18883
18884
18885 static PyObject *_wrap_new_PrePyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
18886 PyObject *resultobj = NULL;
18887 wxPyPanel *result;
18888 char *kwnames[] = {
18889 NULL
18890 };
18891
18892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail;
18893 {
18894 if (!wxPyCheckForApp()) SWIG_fail;
18895 PyThreadState* __tstate = wxPyBeginAllowThreads();
18896 result = (wxPyPanel *)new wxPyPanel();
18897
18898 wxPyEndAllowThreads(__tstate);
18899 if (PyErr_Occurred()) SWIG_fail;
18900 }
18901 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
18902 return resultobj;
18903 fail:
18904 return NULL;
18905 }
18906
18907
18908 static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
18909 PyObject *resultobj = NULL;
18910 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18911 PyObject *arg2 = (PyObject *) 0 ;
18912 PyObject *arg3 = (PyObject *) 0 ;
18913 PyObject * obj0 = 0 ;
18914 PyObject * obj1 = 0 ;
18915 PyObject * obj2 = 0 ;
18916 char *kwnames[] = {
18917 (char *) "self",(char *) "self",(char *) "_class", NULL
18918 };
18919
18920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
18921 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18922 if (SWIG_arg_fail(1)) SWIG_fail;
18923 arg2 = obj1;
18924 arg3 = obj2;
18925 {
18926 PyThreadState* __tstate = wxPyBeginAllowThreads();
18927 (arg1)->_setCallbackInfo(arg2,arg3);
18928
18929 wxPyEndAllowThreads(__tstate);
18930 if (PyErr_Occurred()) SWIG_fail;
18931 }
18932 Py_INCREF(Py_None); resultobj = Py_None;
18933 return resultobj;
18934 fail:
18935 return NULL;
18936 }
18937
18938
18939 static PyObject *_wrap_PyPanel_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
18940 PyObject *resultobj = NULL;
18941 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18942 wxSize *arg2 = 0 ;
18943 wxSize temp2 ;
18944 PyObject * obj0 = 0 ;
18945 PyObject * obj1 = 0 ;
18946 char *kwnames[] = {
18947 (char *) "self",(char *) "size", NULL
18948 };
18949
18950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
18951 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18952 if (SWIG_arg_fail(1)) SWIG_fail;
18953 {
18954 arg2 = &temp2;
18955 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18956 }
18957 {
18958 PyThreadState* __tstate = wxPyBeginAllowThreads();
18959 (arg1)->SetBestSize((wxSize const &)*arg2);
18960
18961 wxPyEndAllowThreads(__tstate);
18962 if (PyErr_Occurred()) SWIG_fail;
18963 }
18964 Py_INCREF(Py_None); resultobj = Py_None;
18965 return resultobj;
18966 fail:
18967 return NULL;
18968 }
18969
18970
18971 static PyObject *_wrap_PyPanel_DoEraseBackground(PyObject *, PyObject *args, PyObject *kwargs) {
18972 PyObject *resultobj = NULL;
18973 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18974 wxDC *arg2 = (wxDC *) 0 ;
18975 bool result;
18976 PyObject * obj0 = 0 ;
18977 PyObject * obj1 = 0 ;
18978 char *kwnames[] = {
18979 (char *) "self",(char *) "dc", NULL
18980 };
18981
18982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_DoEraseBackground",kwnames,&obj0,&obj1)) goto fail;
18983 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18984 if (SWIG_arg_fail(1)) SWIG_fail;
18985 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
18986 if (SWIG_arg_fail(2)) SWIG_fail;
18987 {
18988 PyThreadState* __tstate = wxPyBeginAllowThreads();
18989 result = (bool)(arg1)->DoEraseBackground(arg2);
18990
18991 wxPyEndAllowThreads(__tstate);
18992 if (PyErr_Occurred()) SWIG_fail;
18993 }
18994 {
18995 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18996 }
18997 return resultobj;
18998 fail:
18999 return NULL;
19000 }
19001
19002
19003 static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
19004 PyObject *resultobj = NULL;
19005 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19006 int arg2 ;
19007 int arg3 ;
19008 int arg4 ;
19009 int arg5 ;
19010 PyObject * obj0 = 0 ;
19011 PyObject * obj1 = 0 ;
19012 PyObject * obj2 = 0 ;
19013 PyObject * obj3 = 0 ;
19014 PyObject * obj4 = 0 ;
19015 char *kwnames[] = {
19016 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19017 };
19018
19019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
19020 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19021 if (SWIG_arg_fail(1)) SWIG_fail;
19022 {
19023 arg2 = static_cast<int >(SWIG_As_int(obj1));
19024 if (SWIG_arg_fail(2)) SWIG_fail;
19025 }
19026 {
19027 arg3 = static_cast<int >(SWIG_As_int(obj2));
19028 if (SWIG_arg_fail(3)) SWIG_fail;
19029 }
19030 {
19031 arg4 = static_cast<int >(SWIG_As_int(obj3));
19032 if (SWIG_arg_fail(4)) SWIG_fail;
19033 }
19034 {
19035 arg5 = static_cast<int >(SWIG_As_int(obj4));
19036 if (SWIG_arg_fail(5)) SWIG_fail;
19037 }
19038 {
19039 PyThreadState* __tstate = wxPyBeginAllowThreads();
19040 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
19041
19042 wxPyEndAllowThreads(__tstate);
19043 if (PyErr_Occurred()) SWIG_fail;
19044 }
19045 Py_INCREF(Py_None); resultobj = Py_None;
19046 return resultobj;
19047 fail:
19048 return NULL;
19049 }
19050
19051
19052 static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
19053 PyObject *resultobj = NULL;
19054 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19055 int arg2 ;
19056 int arg3 ;
19057 int arg4 ;
19058 int arg5 ;
19059 int arg6 = (int) wxSIZE_AUTO ;
19060 PyObject * obj0 = 0 ;
19061 PyObject * obj1 = 0 ;
19062 PyObject * obj2 = 0 ;
19063 PyObject * obj3 = 0 ;
19064 PyObject * obj4 = 0 ;
19065 PyObject * obj5 = 0 ;
19066 char *kwnames[] = {
19067 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
19068 };
19069
19070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
19071 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19072 if (SWIG_arg_fail(1)) SWIG_fail;
19073 {
19074 arg2 = static_cast<int >(SWIG_As_int(obj1));
19075 if (SWIG_arg_fail(2)) SWIG_fail;
19076 }
19077 {
19078 arg3 = static_cast<int >(SWIG_As_int(obj2));
19079 if (SWIG_arg_fail(3)) SWIG_fail;
19080 }
19081 {
19082 arg4 = static_cast<int >(SWIG_As_int(obj3));
19083 if (SWIG_arg_fail(4)) SWIG_fail;
19084 }
19085 {
19086 arg5 = static_cast<int >(SWIG_As_int(obj4));
19087 if (SWIG_arg_fail(5)) SWIG_fail;
19088 }
19089 if (obj5) {
19090 {
19091 arg6 = static_cast<int >(SWIG_As_int(obj5));
19092 if (SWIG_arg_fail(6)) SWIG_fail;
19093 }
19094 }
19095 {
19096 PyThreadState* __tstate = wxPyBeginAllowThreads();
19097 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
19098
19099 wxPyEndAllowThreads(__tstate);
19100 if (PyErr_Occurred()) SWIG_fail;
19101 }
19102 Py_INCREF(Py_None); resultobj = Py_None;
19103 return resultobj;
19104 fail:
19105 return NULL;
19106 }
19107
19108
19109 static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
19110 PyObject *resultobj = NULL;
19111 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19112 int arg2 ;
19113 int arg3 ;
19114 PyObject * obj0 = 0 ;
19115 PyObject * obj1 = 0 ;
19116 PyObject * obj2 = 0 ;
19117 char *kwnames[] = {
19118 (char *) "self",(char *) "width",(char *) "height", NULL
19119 };
19120
19121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
19122 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19123 if (SWIG_arg_fail(1)) SWIG_fail;
19124 {
19125 arg2 = static_cast<int >(SWIG_As_int(obj1));
19126 if (SWIG_arg_fail(2)) SWIG_fail;
19127 }
19128 {
19129 arg3 = static_cast<int >(SWIG_As_int(obj2));
19130 if (SWIG_arg_fail(3)) SWIG_fail;
19131 }
19132 {
19133 PyThreadState* __tstate = wxPyBeginAllowThreads();
19134 (arg1)->base_DoSetClientSize(arg2,arg3);
19135
19136 wxPyEndAllowThreads(__tstate);
19137 if (PyErr_Occurred()) SWIG_fail;
19138 }
19139 Py_INCREF(Py_None); resultobj = Py_None;
19140 return resultobj;
19141 fail:
19142 return NULL;
19143 }
19144
19145
19146 static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
19147 PyObject *resultobj = NULL;
19148 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19149 int arg2 ;
19150 int arg3 ;
19151 PyObject * obj0 = 0 ;
19152 PyObject * obj1 = 0 ;
19153 PyObject * obj2 = 0 ;
19154 char *kwnames[] = {
19155 (char *) "self",(char *) "x",(char *) "y", NULL
19156 };
19157
19158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
19159 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19160 if (SWIG_arg_fail(1)) SWIG_fail;
19161 {
19162 arg2 = static_cast<int >(SWIG_As_int(obj1));
19163 if (SWIG_arg_fail(2)) SWIG_fail;
19164 }
19165 {
19166 arg3 = static_cast<int >(SWIG_As_int(obj2));
19167 if (SWIG_arg_fail(3)) SWIG_fail;
19168 }
19169 {
19170 PyThreadState* __tstate = wxPyBeginAllowThreads();
19171 (arg1)->base_DoSetVirtualSize(arg2,arg3);
19172
19173 wxPyEndAllowThreads(__tstate);
19174 if (PyErr_Occurred()) SWIG_fail;
19175 }
19176 Py_INCREF(Py_None); resultobj = Py_None;
19177 return resultobj;
19178 fail:
19179 return NULL;
19180 }
19181
19182
19183 static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
19184 PyObject *resultobj = NULL;
19185 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19186 int *arg2 = (int *) 0 ;
19187 int *arg3 = (int *) 0 ;
19188 int temp2 ;
19189 int res2 = 0 ;
19190 int temp3 ;
19191 int res3 = 0 ;
19192 PyObject * obj0 = 0 ;
19193 char *kwnames[] = {
19194 (char *) "self", NULL
19195 };
19196
19197 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19198 arg3 = &temp3; res3 = SWIG_NEWOBJ;
19199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
19200 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19201 if (SWIG_arg_fail(1)) SWIG_fail;
19202 {
19203 PyThreadState* __tstate = wxPyBeginAllowThreads();
19204 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
19205
19206 wxPyEndAllowThreads(__tstate);
19207 if (PyErr_Occurred()) SWIG_fail;
19208 }
19209 Py_INCREF(Py_None); resultobj = Py_None;
19210 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19211 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19212 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19213 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
19214 return resultobj;
19215 fail:
19216 return NULL;
19217 }
19218
19219
19220 static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
19221 PyObject *resultobj = NULL;
19222 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19223 int *arg2 = (int *) 0 ;
19224 int *arg3 = (int *) 0 ;
19225 int temp2 ;
19226 int res2 = 0 ;
19227 int temp3 ;
19228 int res3 = 0 ;
19229 PyObject * obj0 = 0 ;
19230 char *kwnames[] = {
19231 (char *) "self", NULL
19232 };
19233
19234 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19235 arg3 = &temp3; res3 = SWIG_NEWOBJ;
19236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
19237 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19238 if (SWIG_arg_fail(1)) SWIG_fail;
19239 {
19240 PyThreadState* __tstate = wxPyBeginAllowThreads();
19241 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
19242
19243 wxPyEndAllowThreads(__tstate);
19244 if (PyErr_Occurred()) SWIG_fail;
19245 }
19246 Py_INCREF(Py_None); resultobj = Py_None;
19247 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19248 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19249 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19250 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
19251 return resultobj;
19252 fail:
19253 return NULL;
19254 }
19255
19256
19257 static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
19258 PyObject *resultobj = NULL;
19259 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19260 int *arg2 = (int *) 0 ;
19261 int *arg3 = (int *) 0 ;
19262 int temp2 ;
19263 int res2 = 0 ;
19264 int temp3 ;
19265 int res3 = 0 ;
19266 PyObject * obj0 = 0 ;
19267 char *kwnames[] = {
19268 (char *) "self", NULL
19269 };
19270
19271 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19272 arg3 = &temp3; res3 = SWIG_NEWOBJ;
19273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
19274 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19275 if (SWIG_arg_fail(1)) SWIG_fail;
19276 {
19277 PyThreadState* __tstate = wxPyBeginAllowThreads();
19278 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
19279
19280 wxPyEndAllowThreads(__tstate);
19281 if (PyErr_Occurred()) SWIG_fail;
19282 }
19283 Py_INCREF(Py_None); resultobj = Py_None;
19284 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19285 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19286 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19287 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
19288 return resultobj;
19289 fail:
19290 return NULL;
19291 }
19292
19293
19294 static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
19295 PyObject *resultobj = NULL;
19296 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19297 wxSize result;
19298 PyObject * obj0 = 0 ;
19299 char *kwnames[] = {
19300 (char *) "self", NULL
19301 };
19302
19303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
19304 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19305 if (SWIG_arg_fail(1)) SWIG_fail;
19306 {
19307 PyThreadState* __tstate = wxPyBeginAllowThreads();
19308 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
19309
19310 wxPyEndAllowThreads(__tstate);
19311 if (PyErr_Occurred()) SWIG_fail;
19312 }
19313 {
19314 wxSize * resultptr;
19315 resultptr = new wxSize(static_cast<wxSize & >(result));
19316 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19317 }
19318 return resultobj;
19319 fail:
19320 return NULL;
19321 }
19322
19323
19324 static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
19325 PyObject *resultobj = NULL;
19326 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19327 wxSize result;
19328 PyObject * obj0 = 0 ;
19329 char *kwnames[] = {
19330 (char *) "self", NULL
19331 };
19332
19333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
19334 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19335 if (SWIG_arg_fail(1)) SWIG_fail;
19336 {
19337 PyThreadState* __tstate = wxPyBeginAllowThreads();
19338 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
19339
19340 wxPyEndAllowThreads(__tstate);
19341 if (PyErr_Occurred()) SWIG_fail;
19342 }
19343 {
19344 wxSize * resultptr;
19345 resultptr = new wxSize(static_cast<wxSize & >(result));
19346 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19347 }
19348 return resultobj;
19349 fail:
19350 return NULL;
19351 }
19352
19353
19354 static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
19355 PyObject *resultobj = NULL;
19356 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19357 PyObject * obj0 = 0 ;
19358 char *kwnames[] = {
19359 (char *) "self", NULL
19360 };
19361
19362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
19363 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19364 if (SWIG_arg_fail(1)) SWIG_fail;
19365 {
19366 PyThreadState* __tstate = wxPyBeginAllowThreads();
19367 (arg1)->base_InitDialog();
19368
19369 wxPyEndAllowThreads(__tstate);
19370 if (PyErr_Occurred()) SWIG_fail;
19371 }
19372 Py_INCREF(Py_None); resultobj = Py_None;
19373 return resultobj;
19374 fail:
19375 return NULL;
19376 }
19377
19378
19379 static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
19380 PyObject *resultobj = NULL;
19381 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19382 bool result;
19383 PyObject * obj0 = 0 ;
19384 char *kwnames[] = {
19385 (char *) "self", NULL
19386 };
19387
19388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
19389 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19390 if (SWIG_arg_fail(1)) SWIG_fail;
19391 {
19392 PyThreadState* __tstate = wxPyBeginAllowThreads();
19393 result = (bool)(arg1)->base_TransferDataToWindow();
19394
19395 wxPyEndAllowThreads(__tstate);
19396 if (PyErr_Occurred()) SWIG_fail;
19397 }
19398 {
19399 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19400 }
19401 return resultobj;
19402 fail:
19403 return NULL;
19404 }
19405
19406
19407 static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
19408 PyObject *resultobj = NULL;
19409 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19410 bool result;
19411 PyObject * obj0 = 0 ;
19412 char *kwnames[] = {
19413 (char *) "self", NULL
19414 };
19415
19416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
19417 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19418 if (SWIG_arg_fail(1)) SWIG_fail;
19419 {
19420 PyThreadState* __tstate = wxPyBeginAllowThreads();
19421 result = (bool)(arg1)->base_TransferDataFromWindow();
19422
19423 wxPyEndAllowThreads(__tstate);
19424 if (PyErr_Occurred()) SWIG_fail;
19425 }
19426 {
19427 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19428 }
19429 return resultobj;
19430 fail:
19431 return NULL;
19432 }
19433
19434
19435 static PyObject *_wrap_PyPanel_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
19436 PyObject *resultobj = NULL;
19437 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19438 bool result;
19439 PyObject * obj0 = 0 ;
19440 char *kwnames[] = {
19441 (char *) "self", NULL
19442 };
19443
19444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
19445 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19446 if (SWIG_arg_fail(1)) SWIG_fail;
19447 {
19448 PyThreadState* __tstate = wxPyBeginAllowThreads();
19449 result = (bool)(arg1)->base_Validate();
19450
19451 wxPyEndAllowThreads(__tstate);
19452 if (PyErr_Occurred()) SWIG_fail;
19453 }
19454 {
19455 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19456 }
19457 return resultobj;
19458 fail:
19459 return NULL;
19460 }
19461
19462
19463 static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
19464 PyObject *resultobj = NULL;
19465 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19466 bool result;
19467 PyObject * obj0 = 0 ;
19468 char *kwnames[] = {
19469 (char *) "self", NULL
19470 };
19471
19472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
19473 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19474 if (SWIG_arg_fail(1)) SWIG_fail;
19475 {
19476 PyThreadState* __tstate = wxPyBeginAllowThreads();
19477 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
19478
19479 wxPyEndAllowThreads(__tstate);
19480 if (PyErr_Occurred()) SWIG_fail;
19481 }
19482 {
19483 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19484 }
19485 return resultobj;
19486 fail:
19487 return NULL;
19488 }
19489
19490
19491 static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
19492 PyObject *resultobj = NULL;
19493 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19494 bool result;
19495 PyObject * obj0 = 0 ;
19496 char *kwnames[] = {
19497 (char *) "self", NULL
19498 };
19499
19500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
19501 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19502 if (SWIG_arg_fail(1)) SWIG_fail;
19503 {
19504 PyThreadState* __tstate = wxPyBeginAllowThreads();
19505 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
19506
19507 wxPyEndAllowThreads(__tstate);
19508 if (PyErr_Occurred()) SWIG_fail;
19509 }
19510 {
19511 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19512 }
19513 return resultobj;
19514 fail:
19515 return NULL;
19516 }
19517
19518
19519 static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
19520 PyObject *resultobj = NULL;
19521 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19522 wxSize result;
19523 PyObject * obj0 = 0 ;
19524 char *kwnames[] = {
19525 (char *) "self", NULL
19526 };
19527
19528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
19529 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19530 if (SWIG_arg_fail(1)) SWIG_fail;
19531 {
19532 PyThreadState* __tstate = wxPyBeginAllowThreads();
19533 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
19534
19535 wxPyEndAllowThreads(__tstate);
19536 if (PyErr_Occurred()) SWIG_fail;
19537 }
19538 {
19539 wxSize * resultptr;
19540 resultptr = new wxSize(static_cast<wxSize & >(result));
19541 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19542 }
19543 return resultobj;
19544 fail:
19545 return NULL;
19546 }
19547
19548
19549 static PyObject *_wrap_PyPanel_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
19550 PyObject *resultobj = NULL;
19551 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19552 wxWindow *arg2 = (wxWindow *) 0 ;
19553 PyObject * obj0 = 0 ;
19554 PyObject * obj1 = 0 ;
19555 char *kwnames[] = {
19556 (char *) "self",(char *) "child", NULL
19557 };
19558
19559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
19560 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19561 if (SWIG_arg_fail(1)) SWIG_fail;
19562 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19563 if (SWIG_arg_fail(2)) SWIG_fail;
19564 {
19565 PyThreadState* __tstate = wxPyBeginAllowThreads();
19566 (arg1)->base_AddChild(arg2);
19567
19568 wxPyEndAllowThreads(__tstate);
19569 if (PyErr_Occurred()) SWIG_fail;
19570 }
19571 Py_INCREF(Py_None); resultobj = Py_None;
19572 return resultobj;
19573 fail:
19574 return NULL;
19575 }
19576
19577
19578 static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
19579 PyObject *resultobj = NULL;
19580 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19581 wxWindow *arg2 = (wxWindow *) 0 ;
19582 PyObject * obj0 = 0 ;
19583 PyObject * obj1 = 0 ;
19584 char *kwnames[] = {
19585 (char *) "self",(char *) "child", NULL
19586 };
19587
19588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
19589 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19590 if (SWIG_arg_fail(1)) SWIG_fail;
19591 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19592 if (SWIG_arg_fail(2)) SWIG_fail;
19593 {
19594 PyThreadState* __tstate = wxPyBeginAllowThreads();
19595 (arg1)->base_RemoveChild(arg2);
19596
19597 wxPyEndAllowThreads(__tstate);
19598 if (PyErr_Occurred()) SWIG_fail;
19599 }
19600 Py_INCREF(Py_None); resultobj = Py_None;
19601 return resultobj;
19602 fail:
19603 return NULL;
19604 }
19605
19606
19607 static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
19608 PyObject *resultobj = NULL;
19609 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19610 bool result;
19611 PyObject * obj0 = 0 ;
19612 char *kwnames[] = {
19613 (char *) "self", NULL
19614 };
19615
19616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
19617 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19618 if (SWIG_arg_fail(1)) SWIG_fail;
19619 {
19620 PyThreadState* __tstate = wxPyBeginAllowThreads();
19621 result = (bool)((wxPyPanel const *)arg1)->base_ShouldInheritColours();
19622
19623 wxPyEndAllowThreads(__tstate);
19624 if (PyErr_Occurred()) SWIG_fail;
19625 }
19626 {
19627 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19628 }
19629 return resultobj;
19630 fail:
19631 return NULL;
19632 }
19633
19634
19635 static PyObject *_wrap_PyPanel_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
19636 PyObject *resultobj = NULL;
19637 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19638 wxVisualAttributes result;
19639 PyObject * obj0 = 0 ;
19640 char *kwnames[] = {
19641 (char *) "self", NULL
19642 };
19643
19644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
19645 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19646 if (SWIG_arg_fail(1)) SWIG_fail;
19647 {
19648 PyThreadState* __tstate = wxPyBeginAllowThreads();
19649 result = (arg1)->base_GetDefaultAttributes();
19650
19651 wxPyEndAllowThreads(__tstate);
19652 if (PyErr_Occurred()) SWIG_fail;
19653 }
19654 {
19655 wxVisualAttributes * resultptr;
19656 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
19657 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
19658 }
19659 return resultobj;
19660 fail:
19661 return NULL;
19662 }
19663
19664
19665 static PyObject *_wrap_PyPanel_base_OnInternalIdle(PyObject *, PyObject *args, PyObject *kwargs) {
19666 PyObject *resultobj = NULL;
19667 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19668 PyObject * obj0 = 0 ;
19669 char *kwnames[] = {
19670 (char *) "self", NULL
19671 };
19672
19673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_OnInternalIdle",kwnames,&obj0)) goto fail;
19674 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19675 if (SWIG_arg_fail(1)) SWIG_fail;
19676 {
19677 PyThreadState* __tstate = wxPyBeginAllowThreads();
19678 (arg1)->base_OnInternalIdle();
19679
19680 wxPyEndAllowThreads(__tstate);
19681 if (PyErr_Occurred()) SWIG_fail;
19682 }
19683 Py_INCREF(Py_None); resultobj = Py_None;
19684 return resultobj;
19685 fail:
19686 return NULL;
19687 }
19688
19689
19690 static PyObject * PyPanel_swigregister(PyObject *, PyObject *args) {
19691 PyObject *obj;
19692 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19693 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
19694 Py_INCREF(obj);
19695 return Py_BuildValue((char *)"");
19696 }
19697 static PyObject *_wrap_new_PyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
19698 PyObject *resultobj = NULL;
19699 wxWindow *arg1 = (wxWindow *) 0 ;
19700 int arg2 = (int) (int)-1 ;
19701 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19702 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19703 wxSize const &arg4_defvalue = wxDefaultSize ;
19704 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
19705 long arg5 = (long) 0 ;
19706 wxString const &arg6_defvalue = wxPyPanelNameStr ;
19707 wxString *arg6 = (wxString *) &arg6_defvalue ;
19708 wxPyScrolledWindow *result;
19709 wxPoint temp3 ;
19710 wxSize temp4 ;
19711 bool temp6 = false ;
19712 PyObject * obj0 = 0 ;
19713 PyObject * obj1 = 0 ;
19714 PyObject * obj2 = 0 ;
19715 PyObject * obj3 = 0 ;
19716 PyObject * obj4 = 0 ;
19717 PyObject * obj5 = 0 ;
19718 char *kwnames[] = {
19719 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19720 };
19721
19722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
19723 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19724 if (SWIG_arg_fail(1)) SWIG_fail;
19725 if (obj1) {
19726 {
19727 arg2 = static_cast<int const >(SWIG_As_int(obj1));
19728 if (SWIG_arg_fail(2)) SWIG_fail;
19729 }
19730 }
19731 if (obj2) {
19732 {
19733 arg3 = &temp3;
19734 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19735 }
19736 }
19737 if (obj3) {
19738 {
19739 arg4 = &temp4;
19740 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19741 }
19742 }
19743 if (obj4) {
19744 {
19745 arg5 = static_cast<long >(SWIG_As_long(obj4));
19746 if (SWIG_arg_fail(5)) SWIG_fail;
19747 }
19748 }
19749 if (obj5) {
19750 {
19751 arg6 = wxString_in_helper(obj5);
19752 if (arg6 == NULL) SWIG_fail;
19753 temp6 = true;
19754 }
19755 }
19756 {
19757 if (!wxPyCheckForApp()) SWIG_fail;
19758 PyThreadState* __tstate = wxPyBeginAllowThreads();
19759 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
19760
19761 wxPyEndAllowThreads(__tstate);
19762 if (PyErr_Occurred()) SWIG_fail;
19763 }
19764 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
19765 {
19766 if (temp6)
19767 delete arg6;
19768 }
19769 return resultobj;
19770 fail:
19771 {
19772 if (temp6)
19773 delete arg6;
19774 }
19775 return NULL;
19776 }
19777
19778
19779 static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
19780 PyObject *resultobj = NULL;
19781 wxPyScrolledWindow *result;
19782 char *kwnames[] = {
19783 NULL
19784 };
19785
19786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail;
19787 {
19788 if (!wxPyCheckForApp()) SWIG_fail;
19789 PyThreadState* __tstate = wxPyBeginAllowThreads();
19790 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
19791
19792 wxPyEndAllowThreads(__tstate);
19793 if (PyErr_Occurred()) SWIG_fail;
19794 }
19795 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
19796 return resultobj;
19797 fail:
19798 return NULL;
19799 }
19800
19801
19802 static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
19803 PyObject *resultobj = NULL;
19804 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19805 PyObject *arg2 = (PyObject *) 0 ;
19806 PyObject *arg3 = (PyObject *) 0 ;
19807 PyObject * obj0 = 0 ;
19808 PyObject * obj1 = 0 ;
19809 PyObject * obj2 = 0 ;
19810 char *kwnames[] = {
19811 (char *) "self",(char *) "self",(char *) "_class", NULL
19812 };
19813
19814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
19815 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19816 if (SWIG_arg_fail(1)) SWIG_fail;
19817 arg2 = obj1;
19818 arg3 = obj2;
19819 {
19820 PyThreadState* __tstate = wxPyBeginAllowThreads();
19821 (arg1)->_setCallbackInfo(arg2,arg3);
19822
19823 wxPyEndAllowThreads(__tstate);
19824 if (PyErr_Occurred()) SWIG_fail;
19825 }
19826 Py_INCREF(Py_None); resultobj = Py_None;
19827 return resultobj;
19828 fail:
19829 return NULL;
19830 }
19831
19832
19833 static PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
19834 PyObject *resultobj = NULL;
19835 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19836 wxSize *arg2 = 0 ;
19837 wxSize temp2 ;
19838 PyObject * obj0 = 0 ;
19839 PyObject * obj1 = 0 ;
19840 char *kwnames[] = {
19841 (char *) "self",(char *) "size", NULL
19842 };
19843
19844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
19845 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19846 if (SWIG_arg_fail(1)) SWIG_fail;
19847 {
19848 arg2 = &temp2;
19849 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19850 }
19851 {
19852 PyThreadState* __tstate = wxPyBeginAllowThreads();
19853 (arg1)->SetBestSize((wxSize const &)*arg2);
19854
19855 wxPyEndAllowThreads(__tstate);
19856 if (PyErr_Occurred()) SWIG_fail;
19857 }
19858 Py_INCREF(Py_None); resultobj = Py_None;
19859 return resultobj;
19860 fail:
19861 return NULL;
19862 }
19863
19864
19865 static PyObject *_wrap_PyScrolledWindow_DoEraseBackground(PyObject *, PyObject *args, PyObject *kwargs) {
19866 PyObject *resultobj = NULL;
19867 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19868 wxDC *arg2 = (wxDC *) 0 ;
19869 bool result;
19870 PyObject * obj0 = 0 ;
19871 PyObject * obj1 = 0 ;
19872 char *kwnames[] = {
19873 (char *) "self",(char *) "dc", NULL
19874 };
19875
19876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames,&obj0,&obj1)) goto fail;
19877 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19878 if (SWIG_arg_fail(1)) SWIG_fail;
19879 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
19880 if (SWIG_arg_fail(2)) SWIG_fail;
19881 {
19882 PyThreadState* __tstate = wxPyBeginAllowThreads();
19883 result = (bool)(arg1)->DoEraseBackground(arg2);
19884
19885 wxPyEndAllowThreads(__tstate);
19886 if (PyErr_Occurred()) SWIG_fail;
19887 }
19888 {
19889 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19890 }
19891 return resultobj;
19892 fail:
19893 return NULL;
19894 }
19895
19896
19897 static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
19898 PyObject *resultobj = NULL;
19899 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19900 int arg2 ;
19901 int arg3 ;
19902 int arg4 ;
19903 int arg5 ;
19904 PyObject * obj0 = 0 ;
19905 PyObject * obj1 = 0 ;
19906 PyObject * obj2 = 0 ;
19907 PyObject * obj3 = 0 ;
19908 PyObject * obj4 = 0 ;
19909 char *kwnames[] = {
19910 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19911 };
19912
19913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
19914 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19915 if (SWIG_arg_fail(1)) SWIG_fail;
19916 {
19917 arg2 = static_cast<int >(SWIG_As_int(obj1));
19918 if (SWIG_arg_fail(2)) SWIG_fail;
19919 }
19920 {
19921 arg3 = static_cast<int >(SWIG_As_int(obj2));
19922 if (SWIG_arg_fail(3)) SWIG_fail;
19923 }
19924 {
19925 arg4 = static_cast<int >(SWIG_As_int(obj3));
19926 if (SWIG_arg_fail(4)) SWIG_fail;
19927 }
19928 {
19929 arg5 = static_cast<int >(SWIG_As_int(obj4));
19930 if (SWIG_arg_fail(5)) SWIG_fail;
19931 }
19932 {
19933 PyThreadState* __tstate = wxPyBeginAllowThreads();
19934 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
19935
19936 wxPyEndAllowThreads(__tstate);
19937 if (PyErr_Occurred()) SWIG_fail;
19938 }
19939 Py_INCREF(Py_None); resultobj = Py_None;
19940 return resultobj;
19941 fail:
19942 return NULL;
19943 }
19944
19945
19946 static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
19947 PyObject *resultobj = NULL;
19948 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19949 int arg2 ;
19950 int arg3 ;
19951 int arg4 ;
19952 int arg5 ;
19953 int arg6 = (int) wxSIZE_AUTO ;
19954 PyObject * obj0 = 0 ;
19955 PyObject * obj1 = 0 ;
19956 PyObject * obj2 = 0 ;
19957 PyObject * obj3 = 0 ;
19958 PyObject * obj4 = 0 ;
19959 PyObject * obj5 = 0 ;
19960 char *kwnames[] = {
19961 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
19962 };
19963
19964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
19965 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19966 if (SWIG_arg_fail(1)) SWIG_fail;
19967 {
19968 arg2 = static_cast<int >(SWIG_As_int(obj1));
19969 if (SWIG_arg_fail(2)) SWIG_fail;
19970 }
19971 {
19972 arg3 = static_cast<int >(SWIG_As_int(obj2));
19973 if (SWIG_arg_fail(3)) SWIG_fail;
19974 }
19975 {
19976 arg4 = static_cast<int >(SWIG_As_int(obj3));
19977 if (SWIG_arg_fail(4)) SWIG_fail;
19978 }
19979 {
19980 arg5 = static_cast<int >(SWIG_As_int(obj4));
19981 if (SWIG_arg_fail(5)) SWIG_fail;
19982 }
19983 if (obj5) {
19984 {
19985 arg6 = static_cast<int >(SWIG_As_int(obj5));
19986 if (SWIG_arg_fail(6)) SWIG_fail;
19987 }
19988 }
19989 {
19990 PyThreadState* __tstate = wxPyBeginAllowThreads();
19991 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
19992
19993 wxPyEndAllowThreads(__tstate);
19994 if (PyErr_Occurred()) SWIG_fail;
19995 }
19996 Py_INCREF(Py_None); resultobj = Py_None;
19997 return resultobj;
19998 fail:
19999 return NULL;
20000 }
20001
20002
20003 static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
20004 PyObject *resultobj = NULL;
20005 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20006 int arg2 ;
20007 int arg3 ;
20008 PyObject * obj0 = 0 ;
20009 PyObject * obj1 = 0 ;
20010 PyObject * obj2 = 0 ;
20011 char *kwnames[] = {
20012 (char *) "self",(char *) "width",(char *) "height", NULL
20013 };
20014
20015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
20016 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20017 if (SWIG_arg_fail(1)) SWIG_fail;
20018 {
20019 arg2 = static_cast<int >(SWIG_As_int(obj1));
20020 if (SWIG_arg_fail(2)) SWIG_fail;
20021 }
20022 {
20023 arg3 = static_cast<int >(SWIG_As_int(obj2));
20024 if (SWIG_arg_fail(3)) SWIG_fail;
20025 }
20026 {
20027 PyThreadState* __tstate = wxPyBeginAllowThreads();
20028 (arg1)->base_DoSetClientSize(arg2,arg3);
20029
20030 wxPyEndAllowThreads(__tstate);
20031 if (PyErr_Occurred()) SWIG_fail;
20032 }
20033 Py_INCREF(Py_None); resultobj = Py_None;
20034 return resultobj;
20035 fail:
20036 return NULL;
20037 }
20038
20039
20040 static PyObject *_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
20041 PyObject *resultobj = NULL;
20042 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20043 int arg2 ;
20044 int arg3 ;
20045 PyObject * obj0 = 0 ;
20046 PyObject * obj1 = 0 ;
20047 PyObject * obj2 = 0 ;
20048 char *kwnames[] = {
20049 (char *) "self",(char *) "x",(char *) "y", NULL
20050 };
20051
20052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
20053 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20054 if (SWIG_arg_fail(1)) SWIG_fail;
20055 {
20056 arg2 = static_cast<int >(SWIG_As_int(obj1));
20057 if (SWIG_arg_fail(2)) SWIG_fail;
20058 }
20059 {
20060 arg3 = static_cast<int >(SWIG_As_int(obj2));
20061 if (SWIG_arg_fail(3)) SWIG_fail;
20062 }
20063 {
20064 PyThreadState* __tstate = wxPyBeginAllowThreads();
20065 (arg1)->base_DoSetVirtualSize(arg2,arg3);
20066
20067 wxPyEndAllowThreads(__tstate);
20068 if (PyErr_Occurred()) SWIG_fail;
20069 }
20070 Py_INCREF(Py_None); resultobj = Py_None;
20071 return resultobj;
20072 fail:
20073 return NULL;
20074 }
20075
20076
20077 static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
20078 PyObject *resultobj = NULL;
20079 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20080 int *arg2 = (int *) 0 ;
20081 int *arg3 = (int *) 0 ;
20082 int temp2 ;
20083 int res2 = 0 ;
20084 int temp3 ;
20085 int res3 = 0 ;
20086 PyObject * obj0 = 0 ;
20087 char *kwnames[] = {
20088 (char *) "self", NULL
20089 };
20090
20091 arg2 = &temp2; res2 = SWIG_NEWOBJ;
20092 arg3 = &temp3; res3 = SWIG_NEWOBJ;
20093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
20094 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20095 if (SWIG_arg_fail(1)) SWIG_fail;
20096 {
20097 PyThreadState* __tstate = wxPyBeginAllowThreads();
20098 ((wxPyScrolledWindow const *)arg1)->base_DoGetSize(arg2,arg3);
20099
20100 wxPyEndAllowThreads(__tstate);
20101 if (PyErr_Occurred()) SWIG_fail;
20102 }
20103 Py_INCREF(Py_None); resultobj = Py_None;
20104 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
20105 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
20106 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
20107 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
20108 return resultobj;
20109 fail:
20110 return NULL;
20111 }
20112
20113
20114 static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
20115 PyObject *resultobj = NULL;
20116 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20117 int *arg2 = (int *) 0 ;
20118 int *arg3 = (int *) 0 ;
20119 int temp2 ;
20120 int res2 = 0 ;
20121 int temp3 ;
20122 int res3 = 0 ;
20123 PyObject * obj0 = 0 ;
20124 char *kwnames[] = {
20125 (char *) "self", NULL
20126 };
20127
20128 arg2 = &temp2; res2 = SWIG_NEWOBJ;
20129 arg3 = &temp3; res3 = SWIG_NEWOBJ;
20130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
20131 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20132 if (SWIG_arg_fail(1)) SWIG_fail;
20133 {
20134 PyThreadState* __tstate = wxPyBeginAllowThreads();
20135 ((wxPyScrolledWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
20136
20137 wxPyEndAllowThreads(__tstate);
20138 if (PyErr_Occurred()) SWIG_fail;
20139 }
20140 Py_INCREF(Py_None); resultobj = Py_None;
20141 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
20142 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
20143 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
20144 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
20145 return resultobj;
20146 fail:
20147 return NULL;
20148 }
20149
20150
20151 static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
20152 PyObject *resultobj = NULL;
20153 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20154 int *arg2 = (int *) 0 ;
20155 int *arg3 = (int *) 0 ;
20156 int temp2 ;
20157 int res2 = 0 ;
20158 int temp3 ;
20159 int res3 = 0 ;
20160 PyObject * obj0 = 0 ;
20161 char *kwnames[] = {
20162 (char *) "self", NULL
20163 };
20164
20165 arg2 = &temp2; res2 = SWIG_NEWOBJ;
20166 arg3 = &temp3; res3 = SWIG_NEWOBJ;
20167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
20168 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20169 if (SWIG_arg_fail(1)) SWIG_fail;
20170 {
20171 PyThreadState* __tstate = wxPyBeginAllowThreads();
20172 ((wxPyScrolledWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
20173
20174 wxPyEndAllowThreads(__tstate);
20175 if (PyErr_Occurred()) SWIG_fail;
20176 }
20177 Py_INCREF(Py_None); resultobj = Py_None;
20178 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
20179 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
20180 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
20181 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
20182 return resultobj;
20183 fail:
20184 return NULL;
20185 }
20186
20187
20188 static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
20189 PyObject *resultobj = NULL;
20190 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20191 wxSize result;
20192 PyObject * obj0 = 0 ;
20193 char *kwnames[] = {
20194 (char *) "self", NULL
20195 };
20196
20197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
20198 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20199 if (SWIG_arg_fail(1)) SWIG_fail;
20200 {
20201 PyThreadState* __tstate = wxPyBeginAllowThreads();
20202 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetVirtualSize();
20203
20204 wxPyEndAllowThreads(__tstate);
20205 if (PyErr_Occurred()) SWIG_fail;
20206 }
20207 {
20208 wxSize * resultptr;
20209 resultptr = new wxSize(static_cast<wxSize & >(result));
20210 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20211 }
20212 return resultobj;
20213 fail:
20214 return NULL;
20215 }
20216
20217
20218 static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
20219 PyObject *resultobj = NULL;
20220 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20221 wxSize result;
20222 PyObject * obj0 = 0 ;
20223 char *kwnames[] = {
20224 (char *) "self", NULL
20225 };
20226
20227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
20228 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20229 if (SWIG_arg_fail(1)) SWIG_fail;
20230 {
20231 PyThreadState* __tstate = wxPyBeginAllowThreads();
20232 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetBestSize();
20233
20234 wxPyEndAllowThreads(__tstate);
20235 if (PyErr_Occurred()) SWIG_fail;
20236 }
20237 {
20238 wxSize * resultptr;
20239 resultptr = new wxSize(static_cast<wxSize & >(result));
20240 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20241 }
20242 return resultobj;
20243 fail:
20244 return NULL;
20245 }
20246
20247
20248 static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
20249 PyObject *resultobj = NULL;
20250 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20251 PyObject * obj0 = 0 ;
20252 char *kwnames[] = {
20253 (char *) "self", NULL
20254 };
20255
20256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames,&obj0)) goto fail;
20257 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20258 if (SWIG_arg_fail(1)) SWIG_fail;
20259 {
20260 PyThreadState* __tstate = wxPyBeginAllowThreads();
20261 (arg1)->base_InitDialog();
20262
20263 wxPyEndAllowThreads(__tstate);
20264 if (PyErr_Occurred()) SWIG_fail;
20265 }
20266 Py_INCREF(Py_None); resultobj = Py_None;
20267 return resultobj;
20268 fail:
20269 return NULL;
20270 }
20271
20272
20273 static PyObject *_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
20274 PyObject *resultobj = NULL;
20275 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20276 bool result;
20277 PyObject * obj0 = 0 ;
20278 char *kwnames[] = {
20279 (char *) "self", NULL
20280 };
20281
20282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
20283 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20284 if (SWIG_arg_fail(1)) SWIG_fail;
20285 {
20286 PyThreadState* __tstate = wxPyBeginAllowThreads();
20287 result = (bool)(arg1)->base_TransferDataToWindow();
20288
20289 wxPyEndAllowThreads(__tstate);
20290 if (PyErr_Occurred()) SWIG_fail;
20291 }
20292 {
20293 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20294 }
20295 return resultobj;
20296 fail:
20297 return NULL;
20298 }
20299
20300
20301 static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
20302 PyObject *resultobj = NULL;
20303 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20304 bool result;
20305 PyObject * obj0 = 0 ;
20306 char *kwnames[] = {
20307 (char *) "self", NULL
20308 };
20309
20310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
20311 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20312 if (SWIG_arg_fail(1)) SWIG_fail;
20313 {
20314 PyThreadState* __tstate = wxPyBeginAllowThreads();
20315 result = (bool)(arg1)->base_TransferDataFromWindow();
20316
20317 wxPyEndAllowThreads(__tstate);
20318 if (PyErr_Occurred()) SWIG_fail;
20319 }
20320 {
20321 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20322 }
20323 return resultobj;
20324 fail:
20325 return NULL;
20326 }
20327
20328
20329 static PyObject *_wrap_PyScrolledWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
20330 PyObject *resultobj = NULL;
20331 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20332 bool result;
20333 PyObject * obj0 = 0 ;
20334 char *kwnames[] = {
20335 (char *) "self", NULL
20336 };
20337
20338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_Validate",kwnames,&obj0)) goto fail;
20339 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20340 if (SWIG_arg_fail(1)) SWIG_fail;
20341 {
20342 PyThreadState* __tstate = wxPyBeginAllowThreads();
20343 result = (bool)(arg1)->base_Validate();
20344
20345 wxPyEndAllowThreads(__tstate);
20346 if (PyErr_Occurred()) SWIG_fail;
20347 }
20348 {
20349 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20350 }
20351 return resultobj;
20352 fail:
20353 return NULL;
20354 }
20355
20356
20357 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
20358 PyObject *resultobj = NULL;
20359 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20360 bool result;
20361 PyObject * obj0 = 0 ;
20362 char *kwnames[] = {
20363 (char *) "self", NULL
20364 };
20365
20366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
20367 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20368 if (SWIG_arg_fail(1)) SWIG_fail;
20369 {
20370 PyThreadState* __tstate = wxPyBeginAllowThreads();
20371 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocus();
20372
20373 wxPyEndAllowThreads(__tstate);
20374 if (PyErr_Occurred()) SWIG_fail;
20375 }
20376 {
20377 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20378 }
20379 return resultobj;
20380 fail:
20381 return NULL;
20382 }
20383
20384
20385 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
20386 PyObject *resultobj = NULL;
20387 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20388 bool result;
20389 PyObject * obj0 = 0 ;
20390 char *kwnames[] = {
20391 (char *) "self", NULL
20392 };
20393
20394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
20395 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20396 if (SWIG_arg_fail(1)) SWIG_fail;
20397 {
20398 PyThreadState* __tstate = wxPyBeginAllowThreads();
20399 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
20400
20401 wxPyEndAllowThreads(__tstate);
20402 if (PyErr_Occurred()) SWIG_fail;
20403 }
20404 {
20405 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20406 }
20407 return resultobj;
20408 fail:
20409 return NULL;
20410 }
20411
20412
20413 static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
20414 PyObject *resultobj = NULL;
20415 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20416 wxSize result;
20417 PyObject * obj0 = 0 ;
20418 char *kwnames[] = {
20419 (char *) "self", NULL
20420 };
20421
20422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
20423 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20424 if (SWIG_arg_fail(1)) SWIG_fail;
20425 {
20426 PyThreadState* __tstate = wxPyBeginAllowThreads();
20427 result = ((wxPyScrolledWindow const *)arg1)->base_GetMaxSize();
20428
20429 wxPyEndAllowThreads(__tstate);
20430 if (PyErr_Occurred()) SWIG_fail;
20431 }
20432 {
20433 wxSize * resultptr;
20434 resultptr = new wxSize(static_cast<wxSize & >(result));
20435 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20436 }
20437 return resultobj;
20438 fail:
20439 return NULL;
20440 }
20441
20442
20443 static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
20444 PyObject *resultobj = NULL;
20445 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20446 wxWindow *arg2 = (wxWindow *) 0 ;
20447 PyObject * obj0 = 0 ;
20448 PyObject * obj1 = 0 ;
20449 char *kwnames[] = {
20450 (char *) "self",(char *) "child", NULL
20451 };
20452
20453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
20454 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20455 if (SWIG_arg_fail(1)) SWIG_fail;
20456 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
20457 if (SWIG_arg_fail(2)) SWIG_fail;
20458 {
20459 PyThreadState* __tstate = wxPyBeginAllowThreads();
20460 (arg1)->base_AddChild(arg2);
20461
20462 wxPyEndAllowThreads(__tstate);
20463 if (PyErr_Occurred()) SWIG_fail;
20464 }
20465 Py_INCREF(Py_None); resultobj = Py_None;
20466 return resultobj;
20467 fail:
20468 return NULL;
20469 }
20470
20471
20472 static PyObject *_wrap_PyScrolledWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
20473 PyObject *resultobj = NULL;
20474 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20475 wxWindow *arg2 = (wxWindow *) 0 ;
20476 PyObject * obj0 = 0 ;
20477 PyObject * obj1 = 0 ;
20478 char *kwnames[] = {
20479 (char *) "self",(char *) "child", NULL
20480 };
20481
20482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
20483 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20484 if (SWIG_arg_fail(1)) SWIG_fail;
20485 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
20486 if (SWIG_arg_fail(2)) SWIG_fail;
20487 {
20488 PyThreadState* __tstate = wxPyBeginAllowThreads();
20489 (arg1)->base_RemoveChild(arg2);
20490
20491 wxPyEndAllowThreads(__tstate);
20492 if (PyErr_Occurred()) SWIG_fail;
20493 }
20494 Py_INCREF(Py_None); resultobj = Py_None;
20495 return resultobj;
20496 fail:
20497 return NULL;
20498 }
20499
20500
20501 static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
20502 PyObject *resultobj = NULL;
20503 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20504 bool result;
20505 PyObject * obj0 = 0 ;
20506 char *kwnames[] = {
20507 (char *) "self", NULL
20508 };
20509
20510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
20511 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20512 if (SWIG_arg_fail(1)) SWIG_fail;
20513 {
20514 PyThreadState* __tstate = wxPyBeginAllowThreads();
20515 result = (bool)((wxPyScrolledWindow const *)arg1)->base_ShouldInheritColours();
20516
20517 wxPyEndAllowThreads(__tstate);
20518 if (PyErr_Occurred()) SWIG_fail;
20519 }
20520 {
20521 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20522 }
20523 return resultobj;
20524 fail:
20525 return NULL;
20526 }
20527
20528
20529 static PyObject *_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
20530 PyObject *resultobj = NULL;
20531 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20532 wxVisualAttributes result;
20533 PyObject * obj0 = 0 ;
20534 char *kwnames[] = {
20535 (char *) "self", NULL
20536 };
20537
20538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
20539 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20540 if (SWIG_arg_fail(1)) SWIG_fail;
20541 {
20542 PyThreadState* __tstate = wxPyBeginAllowThreads();
20543 result = (arg1)->base_GetDefaultAttributes();
20544
20545 wxPyEndAllowThreads(__tstate);
20546 if (PyErr_Occurred()) SWIG_fail;
20547 }
20548 {
20549 wxVisualAttributes * resultptr;
20550 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
20551 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
20552 }
20553 return resultobj;
20554 fail:
20555 return NULL;
20556 }
20557
20558
20559 static PyObject *_wrap_PyScrolledWindow_base_OnInternalIdle(PyObject *, PyObject *args, PyObject *kwargs) {
20560 PyObject *resultobj = NULL;
20561 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20562 PyObject * obj0 = 0 ;
20563 char *kwnames[] = {
20564 (char *) "self", NULL
20565 };
20566
20567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_OnInternalIdle",kwnames,&obj0)) goto fail;
20568 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20569 if (SWIG_arg_fail(1)) SWIG_fail;
20570 {
20571 PyThreadState* __tstate = wxPyBeginAllowThreads();
20572 (arg1)->base_OnInternalIdle();
20573
20574 wxPyEndAllowThreads(__tstate);
20575 if (PyErr_Occurred()) SWIG_fail;
20576 }
20577 Py_INCREF(Py_None); resultobj = Py_None;
20578 return resultobj;
20579 fail:
20580 return NULL;
20581 }
20582
20583
20584 static PyObject * PyScrolledWindow_swigregister(PyObject *, PyObject *args) {
20585 PyObject *obj;
20586 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20587 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj);
20588 Py_INCREF(obj);
20589 return Py_BuildValue((char *)"");
20590 }
20591 static int _wrap_PrintoutTitleStr_set(PyObject *) {
20592 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
20593 return 1;
20594 }
20595
20596
20597 static PyObject *_wrap_PrintoutTitleStr_get(void) {
20598 PyObject *pyobj = NULL;
20599
20600 {
20601 #if wxUSE_UNICODE
20602 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
20603 #else
20604 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
20605 #endif
20606 }
20607 return pyobj;
20608 }
20609
20610
20611 static int _wrap_PreviewCanvasNameStr_set(PyObject *) {
20612 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
20613 return 1;
20614 }
20615
20616
20617 static PyObject *_wrap_PreviewCanvasNameStr_get(void) {
20618 PyObject *pyobj = NULL;
20619
20620 {
20621 #if wxUSE_UNICODE
20622 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
20623 #else
20624 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
20625 #endif
20626 }
20627 return pyobj;
20628 }
20629
20630
20631 static PyObject *_wrap_new_PrintData__SWIG_0(PyObject *, PyObject *args) {
20632 PyObject *resultobj = NULL;
20633 wxPrintData *result;
20634
20635 if(!PyArg_ParseTuple(args,(char *)":new_PrintData")) goto fail;
20636 {
20637 PyThreadState* __tstate = wxPyBeginAllowThreads();
20638 result = (wxPrintData *)new wxPrintData();
20639
20640 wxPyEndAllowThreads(__tstate);
20641 if (PyErr_Occurred()) SWIG_fail;
20642 }
20643 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
20644 return resultobj;
20645 fail:
20646 return NULL;
20647 }
20648
20649
20650 static PyObject *_wrap_new_PrintData__SWIG_1(PyObject *, PyObject *args) {
20651 PyObject *resultobj = NULL;
20652 wxPrintData *arg1 = 0 ;
20653 wxPrintData *result;
20654 PyObject * obj0 = 0 ;
20655
20656 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintData",&obj0)) goto fail;
20657 {
20658 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20659 if (SWIG_arg_fail(1)) SWIG_fail;
20660 if (arg1 == NULL) {
20661 SWIG_null_ref("wxPrintData");
20662 }
20663 if (SWIG_arg_fail(1)) SWIG_fail;
20664 }
20665 {
20666 PyThreadState* __tstate = wxPyBeginAllowThreads();
20667 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
20668
20669 wxPyEndAllowThreads(__tstate);
20670 if (PyErr_Occurred()) SWIG_fail;
20671 }
20672 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
20673 return resultobj;
20674 fail:
20675 return NULL;
20676 }
20677
20678
20679 static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
20680 int argc;
20681 PyObject *argv[2];
20682 int ii;
20683
20684 argc = PyObject_Length(args);
20685 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
20686 argv[ii] = PyTuple_GetItem(args,ii);
20687 }
20688 if (argc == 0) {
20689 return _wrap_new_PrintData__SWIG_0(self,args);
20690 }
20691 if (argc == 1) {
20692 int _v;
20693 {
20694 void *ptr = 0;
20695 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
20696 _v = 0;
20697 PyErr_Clear();
20698 } else {
20699 _v = (ptr != 0);
20700 }
20701 }
20702 if (_v) {
20703 return _wrap_new_PrintData__SWIG_1(self,args);
20704 }
20705 }
20706
20707 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
20708 return NULL;
20709 }
20710
20711
20712 static PyObject *_wrap_delete_PrintData(PyObject *, PyObject *args, PyObject *kwargs) {
20713 PyObject *resultobj = NULL;
20714 wxPrintData *arg1 = (wxPrintData *) 0 ;
20715 PyObject * obj0 = 0 ;
20716 char *kwnames[] = {
20717 (char *) "self", NULL
20718 };
20719
20720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
20721 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20722 if (SWIG_arg_fail(1)) SWIG_fail;
20723 {
20724 PyThreadState* __tstate = wxPyBeginAllowThreads();
20725 delete arg1;
20726
20727 wxPyEndAllowThreads(__tstate);
20728 if (PyErr_Occurred()) SWIG_fail;
20729 }
20730 Py_INCREF(Py_None); resultobj = Py_None;
20731 return resultobj;
20732 fail:
20733 return NULL;
20734 }
20735
20736
20737 static PyObject *_wrap_PrintData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
20738 PyObject *resultobj = NULL;
20739 wxPrintData *arg1 = (wxPrintData *) 0 ;
20740 int result;
20741 PyObject * obj0 = 0 ;
20742 char *kwnames[] = {
20743 (char *) "self", NULL
20744 };
20745
20746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
20747 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20748 if (SWIG_arg_fail(1)) SWIG_fail;
20749 {
20750 PyThreadState* __tstate = wxPyBeginAllowThreads();
20751 result = (int)(arg1)->GetNoCopies();
20752
20753 wxPyEndAllowThreads(__tstate);
20754 if (PyErr_Occurred()) SWIG_fail;
20755 }
20756 {
20757 resultobj = SWIG_From_int(static_cast<int >(result));
20758 }
20759 return resultobj;
20760 fail:
20761 return NULL;
20762 }
20763
20764
20765 static PyObject *_wrap_PrintData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
20766 PyObject *resultobj = NULL;
20767 wxPrintData *arg1 = (wxPrintData *) 0 ;
20768 bool result;
20769 PyObject * obj0 = 0 ;
20770 char *kwnames[] = {
20771 (char *) "self", NULL
20772 };
20773
20774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
20775 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20776 if (SWIG_arg_fail(1)) SWIG_fail;
20777 {
20778 PyThreadState* __tstate = wxPyBeginAllowThreads();
20779 result = (bool)(arg1)->GetCollate();
20780
20781 wxPyEndAllowThreads(__tstate);
20782 if (PyErr_Occurred()) SWIG_fail;
20783 }
20784 {
20785 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20786 }
20787 return resultobj;
20788 fail:
20789 return NULL;
20790 }
20791
20792
20793 static PyObject *_wrap_PrintData_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
20794 PyObject *resultobj = NULL;
20795 wxPrintData *arg1 = (wxPrintData *) 0 ;
20796 int result;
20797 PyObject * obj0 = 0 ;
20798 char *kwnames[] = {
20799 (char *) "self", NULL
20800 };
20801
20802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
20803 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20804 if (SWIG_arg_fail(1)) SWIG_fail;
20805 {
20806 PyThreadState* __tstate = wxPyBeginAllowThreads();
20807 result = (int)(arg1)->GetOrientation();
20808
20809 wxPyEndAllowThreads(__tstate);
20810 if (PyErr_Occurred()) SWIG_fail;
20811 }
20812 {
20813 resultobj = SWIG_From_int(static_cast<int >(result));
20814 }
20815 return resultobj;
20816 fail:
20817 return NULL;
20818 }
20819
20820
20821 static PyObject *_wrap_PrintData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
20822 PyObject *resultobj = NULL;
20823 wxPrintData *arg1 = (wxPrintData *) 0 ;
20824 bool result;
20825 PyObject * obj0 = 0 ;
20826 char *kwnames[] = {
20827 (char *) "self", NULL
20828 };
20829
20830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
20831 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20832 if (SWIG_arg_fail(1)) SWIG_fail;
20833 {
20834 PyThreadState* __tstate = wxPyBeginAllowThreads();
20835 result = (bool)(arg1)->Ok();
20836
20837 wxPyEndAllowThreads(__tstate);
20838 if (PyErr_Occurred()) SWIG_fail;
20839 }
20840 {
20841 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20842 }
20843 return resultobj;
20844 fail:
20845 return NULL;
20846 }
20847
20848
20849 static PyObject *_wrap_PrintData_GetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
20850 PyObject *resultobj = NULL;
20851 wxPrintData *arg1 = (wxPrintData *) 0 ;
20852 wxString *result;
20853 PyObject * obj0 = 0 ;
20854 char *kwnames[] = {
20855 (char *) "self", NULL
20856 };
20857
20858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
20859 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20860 if (SWIG_arg_fail(1)) SWIG_fail;
20861 {
20862 PyThreadState* __tstate = wxPyBeginAllowThreads();
20863 {
20864 wxString const &_result_ref = (arg1)->GetPrinterName();
20865 result = (wxString *) &_result_ref;
20866 }
20867
20868 wxPyEndAllowThreads(__tstate);
20869 if (PyErr_Occurred()) SWIG_fail;
20870 }
20871 {
20872 #if wxUSE_UNICODE
20873 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20874 #else
20875 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20876 #endif
20877 }
20878 return resultobj;
20879 fail:
20880 return NULL;
20881 }
20882
20883
20884 static PyObject *_wrap_PrintData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
20885 PyObject *resultobj = NULL;
20886 wxPrintData *arg1 = (wxPrintData *) 0 ;
20887 bool result;
20888 PyObject * obj0 = 0 ;
20889 char *kwnames[] = {
20890 (char *) "self", NULL
20891 };
20892
20893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
20894 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20895 if (SWIG_arg_fail(1)) SWIG_fail;
20896 {
20897 PyThreadState* __tstate = wxPyBeginAllowThreads();
20898 result = (bool)(arg1)->GetColour();
20899
20900 wxPyEndAllowThreads(__tstate);
20901 if (PyErr_Occurred()) SWIG_fail;
20902 }
20903 {
20904 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20905 }
20906 return resultobj;
20907 fail:
20908 return NULL;
20909 }
20910
20911
20912 static PyObject *_wrap_PrintData_GetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
20913 PyObject *resultobj = NULL;
20914 wxPrintData *arg1 = (wxPrintData *) 0 ;
20915 wxDuplexMode result;
20916 PyObject * obj0 = 0 ;
20917 char *kwnames[] = {
20918 (char *) "self", NULL
20919 };
20920
20921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
20922 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20923 if (SWIG_arg_fail(1)) SWIG_fail;
20924 {
20925 PyThreadState* __tstate = wxPyBeginAllowThreads();
20926 result = (wxDuplexMode)(arg1)->GetDuplex();
20927
20928 wxPyEndAllowThreads(__tstate);
20929 if (PyErr_Occurred()) SWIG_fail;
20930 }
20931 resultobj = SWIG_From_int((result));
20932 return resultobj;
20933 fail:
20934 return NULL;
20935 }
20936
20937
20938 static PyObject *_wrap_PrintData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
20939 PyObject *resultobj = NULL;
20940 wxPrintData *arg1 = (wxPrintData *) 0 ;
20941 wxPaperSize result;
20942 PyObject * obj0 = 0 ;
20943 char *kwnames[] = {
20944 (char *) "self", NULL
20945 };
20946
20947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
20948 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20949 if (SWIG_arg_fail(1)) SWIG_fail;
20950 {
20951 PyThreadState* __tstate = wxPyBeginAllowThreads();
20952 result = (wxPaperSize)(arg1)->GetPaperId();
20953
20954 wxPyEndAllowThreads(__tstate);
20955 if (PyErr_Occurred()) SWIG_fail;
20956 }
20957 resultobj = SWIG_From_int((result));
20958 return resultobj;
20959 fail:
20960 return NULL;
20961 }
20962
20963
20964 static PyObject *_wrap_PrintData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
20965 PyObject *resultobj = NULL;
20966 wxPrintData *arg1 = (wxPrintData *) 0 ;
20967 wxSize *result;
20968 PyObject * obj0 = 0 ;
20969 char *kwnames[] = {
20970 (char *) "self", NULL
20971 };
20972
20973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
20974 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20975 if (SWIG_arg_fail(1)) SWIG_fail;
20976 {
20977 PyThreadState* __tstate = wxPyBeginAllowThreads();
20978 {
20979 wxSize const &_result_ref = (arg1)->GetPaperSize();
20980 result = (wxSize *) &_result_ref;
20981 }
20982
20983 wxPyEndAllowThreads(__tstate);
20984 if (PyErr_Occurred()) SWIG_fail;
20985 }
20986 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
20987 return resultobj;
20988 fail:
20989 return NULL;
20990 }
20991
20992
20993 static PyObject *_wrap_PrintData_GetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
20994 PyObject *resultobj = NULL;
20995 wxPrintData *arg1 = (wxPrintData *) 0 ;
20996 int result;
20997 PyObject * obj0 = 0 ;
20998 char *kwnames[] = {
20999 (char *) "self", NULL
21000 };
21001
21002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
21003 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21004 if (SWIG_arg_fail(1)) SWIG_fail;
21005 {
21006 PyThreadState* __tstate = wxPyBeginAllowThreads();
21007 result = (int)(arg1)->GetQuality();
21008
21009 wxPyEndAllowThreads(__tstate);
21010 if (PyErr_Occurred()) SWIG_fail;
21011 }
21012 {
21013 resultobj = SWIG_From_int(static_cast<int >(result));
21014 }
21015 return resultobj;
21016 fail:
21017 return NULL;
21018 }
21019
21020
21021 static PyObject *_wrap_PrintData_GetBin(PyObject *, PyObject *args, PyObject *kwargs) {
21022 PyObject *resultobj = NULL;
21023 wxPrintData *arg1 = (wxPrintData *) 0 ;
21024 wxPrintBin result;
21025 PyObject * obj0 = 0 ;
21026 char *kwnames[] = {
21027 (char *) "self", NULL
21028 };
21029
21030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetBin",kwnames,&obj0)) goto fail;
21031 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21032 if (SWIG_arg_fail(1)) SWIG_fail;
21033 {
21034 PyThreadState* __tstate = wxPyBeginAllowThreads();
21035 result = (wxPrintBin)(arg1)->GetBin();
21036
21037 wxPyEndAllowThreads(__tstate);
21038 if (PyErr_Occurred()) SWIG_fail;
21039 }
21040 resultobj = SWIG_From_int((result));
21041 return resultobj;
21042 fail:
21043 return NULL;
21044 }
21045
21046
21047 static PyObject *_wrap_PrintData_GetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
21048 PyObject *resultobj = NULL;
21049 wxPrintData *arg1 = (wxPrintData *) 0 ;
21050 wxPrintMode result;
21051 PyObject * obj0 = 0 ;
21052 char *kwnames[] = {
21053 (char *) "self", NULL
21054 };
21055
21056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
21057 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21058 if (SWIG_arg_fail(1)) SWIG_fail;
21059 {
21060 PyThreadState* __tstate = wxPyBeginAllowThreads();
21061 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
21062
21063 wxPyEndAllowThreads(__tstate);
21064 if (PyErr_Occurred()) SWIG_fail;
21065 }
21066 resultobj = SWIG_From_int((result));
21067 return resultobj;
21068 fail:
21069 return NULL;
21070 }
21071
21072
21073 static PyObject *_wrap_PrintData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
21074 PyObject *resultobj = NULL;
21075 wxPrintData *arg1 = (wxPrintData *) 0 ;
21076 int arg2 ;
21077 PyObject * obj0 = 0 ;
21078 PyObject * obj1 = 0 ;
21079 char *kwnames[] = {
21080 (char *) "self",(char *) "v", NULL
21081 };
21082
21083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
21084 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21085 if (SWIG_arg_fail(1)) SWIG_fail;
21086 {
21087 arg2 = static_cast<int >(SWIG_As_int(obj1));
21088 if (SWIG_arg_fail(2)) SWIG_fail;
21089 }
21090 {
21091 PyThreadState* __tstate = wxPyBeginAllowThreads();
21092 (arg1)->SetNoCopies(arg2);
21093
21094 wxPyEndAllowThreads(__tstate);
21095 if (PyErr_Occurred()) SWIG_fail;
21096 }
21097 Py_INCREF(Py_None); resultobj = Py_None;
21098 return resultobj;
21099 fail:
21100 return NULL;
21101 }
21102
21103
21104 static PyObject *_wrap_PrintData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
21105 PyObject *resultobj = NULL;
21106 wxPrintData *arg1 = (wxPrintData *) 0 ;
21107 bool arg2 ;
21108 PyObject * obj0 = 0 ;
21109 PyObject * obj1 = 0 ;
21110 char *kwnames[] = {
21111 (char *) "self",(char *) "flag", NULL
21112 };
21113
21114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
21115 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21116 if (SWIG_arg_fail(1)) SWIG_fail;
21117 {
21118 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
21119 if (SWIG_arg_fail(2)) SWIG_fail;
21120 }
21121 {
21122 PyThreadState* __tstate = wxPyBeginAllowThreads();
21123 (arg1)->SetCollate(arg2);
21124
21125 wxPyEndAllowThreads(__tstate);
21126 if (PyErr_Occurred()) SWIG_fail;
21127 }
21128 Py_INCREF(Py_None); resultobj = Py_None;
21129 return resultobj;
21130 fail:
21131 return NULL;
21132 }
21133
21134
21135 static PyObject *_wrap_PrintData_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
21136 PyObject *resultobj = NULL;
21137 wxPrintData *arg1 = (wxPrintData *) 0 ;
21138 int arg2 ;
21139 PyObject * obj0 = 0 ;
21140 PyObject * obj1 = 0 ;
21141 char *kwnames[] = {
21142 (char *) "self",(char *) "orient", NULL
21143 };
21144
21145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
21146 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21147 if (SWIG_arg_fail(1)) SWIG_fail;
21148 {
21149 arg2 = static_cast<int >(SWIG_As_int(obj1));
21150 if (SWIG_arg_fail(2)) SWIG_fail;
21151 }
21152 {
21153 PyThreadState* __tstate = wxPyBeginAllowThreads();
21154 (arg1)->SetOrientation(arg2);
21155
21156 wxPyEndAllowThreads(__tstate);
21157 if (PyErr_Occurred()) SWIG_fail;
21158 }
21159 Py_INCREF(Py_None); resultobj = Py_None;
21160 return resultobj;
21161 fail:
21162 return NULL;
21163 }
21164
21165
21166 static PyObject *_wrap_PrintData_SetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
21167 PyObject *resultobj = NULL;
21168 wxPrintData *arg1 = (wxPrintData *) 0 ;
21169 wxString *arg2 = 0 ;
21170 bool temp2 = false ;
21171 PyObject * obj0 = 0 ;
21172 PyObject * obj1 = 0 ;
21173 char *kwnames[] = {
21174 (char *) "self",(char *) "name", NULL
21175 };
21176
21177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
21178 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21179 if (SWIG_arg_fail(1)) SWIG_fail;
21180 {
21181 arg2 = wxString_in_helper(obj1);
21182 if (arg2 == NULL) SWIG_fail;
21183 temp2 = true;
21184 }
21185 {
21186 PyThreadState* __tstate = wxPyBeginAllowThreads();
21187 (arg1)->SetPrinterName((wxString const &)*arg2);
21188
21189 wxPyEndAllowThreads(__tstate);
21190 if (PyErr_Occurred()) SWIG_fail;
21191 }
21192 Py_INCREF(Py_None); resultobj = Py_None;
21193 {
21194 if (temp2)
21195 delete arg2;
21196 }
21197 return resultobj;
21198 fail:
21199 {
21200 if (temp2)
21201 delete arg2;
21202 }
21203 return NULL;
21204 }
21205
21206
21207 static PyObject *_wrap_PrintData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
21208 PyObject *resultobj = NULL;
21209 wxPrintData *arg1 = (wxPrintData *) 0 ;
21210 bool arg2 ;
21211 PyObject * obj0 = 0 ;
21212 PyObject * obj1 = 0 ;
21213 char *kwnames[] = {
21214 (char *) "self",(char *) "colour", NULL
21215 };
21216
21217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
21218 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21219 if (SWIG_arg_fail(1)) SWIG_fail;
21220 {
21221 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
21222 if (SWIG_arg_fail(2)) SWIG_fail;
21223 }
21224 {
21225 PyThreadState* __tstate = wxPyBeginAllowThreads();
21226 (arg1)->SetColour(arg2);
21227
21228 wxPyEndAllowThreads(__tstate);
21229 if (PyErr_Occurred()) SWIG_fail;
21230 }
21231 Py_INCREF(Py_None); resultobj = Py_None;
21232 return resultobj;
21233 fail:
21234 return NULL;
21235 }
21236
21237
21238 static PyObject *_wrap_PrintData_SetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
21239 PyObject *resultobj = NULL;
21240 wxPrintData *arg1 = (wxPrintData *) 0 ;
21241 wxDuplexMode arg2 ;
21242 PyObject * obj0 = 0 ;
21243 PyObject * obj1 = 0 ;
21244 char *kwnames[] = {
21245 (char *) "self",(char *) "duplex", NULL
21246 };
21247
21248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
21249 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21250 if (SWIG_arg_fail(1)) SWIG_fail;
21251 {
21252 arg2 = static_cast<wxDuplexMode >(SWIG_As_int(obj1));
21253 if (SWIG_arg_fail(2)) SWIG_fail;
21254 }
21255 {
21256 PyThreadState* __tstate = wxPyBeginAllowThreads();
21257 (arg1)->SetDuplex(arg2);
21258
21259 wxPyEndAllowThreads(__tstate);
21260 if (PyErr_Occurred()) SWIG_fail;
21261 }
21262 Py_INCREF(Py_None); resultobj = Py_None;
21263 return resultobj;
21264 fail:
21265 return NULL;
21266 }
21267
21268
21269 static PyObject *_wrap_PrintData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
21270 PyObject *resultobj = NULL;
21271 wxPrintData *arg1 = (wxPrintData *) 0 ;
21272 wxPaperSize arg2 ;
21273 PyObject * obj0 = 0 ;
21274 PyObject * obj1 = 0 ;
21275 char *kwnames[] = {
21276 (char *) "self",(char *) "sizeId", NULL
21277 };
21278
21279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
21280 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21281 if (SWIG_arg_fail(1)) SWIG_fail;
21282 {
21283 arg2 = static_cast<wxPaperSize >(SWIG_As_int(obj1));
21284 if (SWIG_arg_fail(2)) SWIG_fail;
21285 }
21286 {
21287 PyThreadState* __tstate = wxPyBeginAllowThreads();
21288 (arg1)->SetPaperId(arg2);
21289
21290 wxPyEndAllowThreads(__tstate);
21291 if (PyErr_Occurred()) SWIG_fail;
21292 }
21293 Py_INCREF(Py_None); resultobj = Py_None;
21294 return resultobj;
21295 fail:
21296 return NULL;
21297 }
21298
21299
21300 static PyObject *_wrap_PrintData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
21301 PyObject *resultobj = NULL;
21302 wxPrintData *arg1 = (wxPrintData *) 0 ;
21303 wxSize *arg2 = 0 ;
21304 wxSize temp2 ;
21305 PyObject * obj0 = 0 ;
21306 PyObject * obj1 = 0 ;
21307 char *kwnames[] = {
21308 (char *) "self",(char *) "sz", NULL
21309 };
21310
21311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
21312 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21313 if (SWIG_arg_fail(1)) SWIG_fail;
21314 {
21315 arg2 = &temp2;
21316 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21317 }
21318 {
21319 PyThreadState* __tstate = wxPyBeginAllowThreads();
21320 (arg1)->SetPaperSize((wxSize const &)*arg2);
21321
21322 wxPyEndAllowThreads(__tstate);
21323 if (PyErr_Occurred()) SWIG_fail;
21324 }
21325 Py_INCREF(Py_None); resultobj = Py_None;
21326 return resultobj;
21327 fail:
21328 return NULL;
21329 }
21330
21331
21332 static PyObject *_wrap_PrintData_SetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
21333 PyObject *resultobj = NULL;
21334 wxPrintData *arg1 = (wxPrintData *) 0 ;
21335 int arg2 ;
21336 PyObject * obj0 = 0 ;
21337 PyObject * obj1 = 0 ;
21338 char *kwnames[] = {
21339 (char *) "self",(char *) "quality", NULL
21340 };
21341
21342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
21343 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21344 if (SWIG_arg_fail(1)) SWIG_fail;
21345 {
21346 arg2 = static_cast<int >(SWIG_As_int(obj1));
21347 if (SWIG_arg_fail(2)) SWIG_fail;
21348 }
21349 {
21350 PyThreadState* __tstate = wxPyBeginAllowThreads();
21351 (arg1)->SetQuality(arg2);
21352
21353 wxPyEndAllowThreads(__tstate);
21354 if (PyErr_Occurred()) SWIG_fail;
21355 }
21356 Py_INCREF(Py_None); resultobj = Py_None;
21357 return resultobj;
21358 fail:
21359 return NULL;
21360 }
21361
21362
21363 static PyObject *_wrap_PrintData_SetBin(PyObject *, PyObject *args, PyObject *kwargs) {
21364 PyObject *resultobj = NULL;
21365 wxPrintData *arg1 = (wxPrintData *) 0 ;
21366 wxPrintBin arg2 ;
21367 PyObject * obj0 = 0 ;
21368 PyObject * obj1 = 0 ;
21369 char *kwnames[] = {
21370 (char *) "self",(char *) "bin", NULL
21371 };
21372
21373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) goto fail;
21374 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21375 if (SWIG_arg_fail(1)) SWIG_fail;
21376 {
21377 arg2 = static_cast<wxPrintBin >(SWIG_As_int(obj1));
21378 if (SWIG_arg_fail(2)) SWIG_fail;
21379 }
21380 {
21381 PyThreadState* __tstate = wxPyBeginAllowThreads();
21382 (arg1)->SetBin(arg2);
21383
21384 wxPyEndAllowThreads(__tstate);
21385 if (PyErr_Occurred()) SWIG_fail;
21386 }
21387 Py_INCREF(Py_None); resultobj = Py_None;
21388 return resultobj;
21389 fail:
21390 return NULL;
21391 }
21392
21393
21394 static PyObject *_wrap_PrintData_SetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
21395 PyObject *resultobj = NULL;
21396 wxPrintData *arg1 = (wxPrintData *) 0 ;
21397 wxPrintMode arg2 ;
21398 PyObject * obj0 = 0 ;
21399 PyObject * obj1 = 0 ;
21400 char *kwnames[] = {
21401 (char *) "self",(char *) "printMode", NULL
21402 };
21403
21404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
21405 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21406 if (SWIG_arg_fail(1)) SWIG_fail;
21407 {
21408 arg2 = static_cast<wxPrintMode >(SWIG_As_int(obj1));
21409 if (SWIG_arg_fail(2)) SWIG_fail;
21410 }
21411 {
21412 PyThreadState* __tstate = wxPyBeginAllowThreads();
21413 (arg1)->SetPrintMode(arg2);
21414
21415 wxPyEndAllowThreads(__tstate);
21416 if (PyErr_Occurred()) SWIG_fail;
21417 }
21418 Py_INCREF(Py_None); resultobj = Py_None;
21419 return resultobj;
21420 fail:
21421 return NULL;
21422 }
21423
21424
21425 static PyObject *_wrap_PrintData_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
21426 PyObject *resultobj = NULL;
21427 wxPrintData *arg1 = (wxPrintData *) 0 ;
21428 wxString result;
21429 PyObject * obj0 = 0 ;
21430 char *kwnames[] = {
21431 (char *) "self", NULL
21432 };
21433
21434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
21435 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21436 if (SWIG_arg_fail(1)) SWIG_fail;
21437 {
21438 PyThreadState* __tstate = wxPyBeginAllowThreads();
21439 result = ((wxPrintData const *)arg1)->GetFilename();
21440
21441 wxPyEndAllowThreads(__tstate);
21442 if (PyErr_Occurred()) SWIG_fail;
21443 }
21444 {
21445 #if wxUSE_UNICODE
21446 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21447 #else
21448 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21449 #endif
21450 }
21451 return resultobj;
21452 fail:
21453 return NULL;
21454 }
21455
21456
21457 static PyObject *_wrap_PrintData_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
21458 PyObject *resultobj = NULL;
21459 wxPrintData *arg1 = (wxPrintData *) 0 ;
21460 wxString *arg2 = 0 ;
21461 bool temp2 = false ;
21462 PyObject * obj0 = 0 ;
21463 PyObject * obj1 = 0 ;
21464 char *kwnames[] = {
21465 (char *) "self",(char *) "filename", NULL
21466 };
21467
21468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
21469 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21470 if (SWIG_arg_fail(1)) SWIG_fail;
21471 {
21472 arg2 = wxString_in_helper(obj1);
21473 if (arg2 == NULL) SWIG_fail;
21474 temp2 = true;
21475 }
21476 {
21477 PyThreadState* __tstate = wxPyBeginAllowThreads();
21478 (arg1)->SetFilename((wxString const &)*arg2);
21479
21480 wxPyEndAllowThreads(__tstate);
21481 if (PyErr_Occurred()) SWIG_fail;
21482 }
21483 Py_INCREF(Py_None); resultobj = Py_None;
21484 {
21485 if (temp2)
21486 delete arg2;
21487 }
21488 return resultobj;
21489 fail:
21490 {
21491 if (temp2)
21492 delete arg2;
21493 }
21494 return NULL;
21495 }
21496
21497
21498 static PyObject *_wrap_PrintData_GetPrivData(PyObject *, PyObject *args, PyObject *kwargs) {
21499 PyObject *resultobj = NULL;
21500 wxPrintData *arg1 = (wxPrintData *) 0 ;
21501 PyObject *result;
21502 PyObject * obj0 = 0 ;
21503 char *kwnames[] = {
21504 (char *) "self", NULL
21505 };
21506
21507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrivData",kwnames,&obj0)) goto fail;
21508 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21509 if (SWIG_arg_fail(1)) SWIG_fail;
21510 {
21511 PyThreadState* __tstate = wxPyBeginAllowThreads();
21512 result = (PyObject *)wxPrintData_GetPrivData(arg1);
21513
21514 wxPyEndAllowThreads(__tstate);
21515 if (PyErr_Occurred()) SWIG_fail;
21516 }
21517 resultobj = result;
21518 return resultobj;
21519 fail:
21520 return NULL;
21521 }
21522
21523
21524 static PyObject *_wrap_PrintData_SetPrivData(PyObject *, PyObject *args, PyObject *kwargs) {
21525 PyObject *resultobj = NULL;
21526 wxPrintData *arg1 = (wxPrintData *) 0 ;
21527 PyObject *arg2 = (PyObject *) 0 ;
21528 PyObject * obj0 = 0 ;
21529 PyObject * obj1 = 0 ;
21530 char *kwnames[] = {
21531 (char *) "self",(char *) "data", NULL
21532 };
21533
21534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) goto fail;
21535 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21536 if (SWIG_arg_fail(1)) SWIG_fail;
21537 arg2 = obj1;
21538 {
21539 PyThreadState* __tstate = wxPyBeginAllowThreads();
21540 wxPrintData_SetPrivData(arg1,arg2);
21541
21542 wxPyEndAllowThreads(__tstate);
21543 if (PyErr_Occurred()) SWIG_fail;
21544 }
21545 Py_INCREF(Py_None); resultobj = Py_None;
21546 return resultobj;
21547 fail:
21548 return NULL;
21549 }
21550
21551
21552 static PyObject * PrintData_swigregister(PyObject *, PyObject *args) {
21553 PyObject *obj;
21554 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21555 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
21556 Py_INCREF(obj);
21557 return Py_BuildValue((char *)"");
21558 }
21559 static PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *, PyObject *args) {
21560 PyObject *resultobj = NULL;
21561 wxPageSetupDialogData *result;
21562
21563 if(!PyArg_ParseTuple(args,(char *)":new_PageSetupDialogData")) goto fail;
21564 {
21565 PyThreadState* __tstate = wxPyBeginAllowThreads();
21566 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
21567
21568 wxPyEndAllowThreads(__tstate);
21569 if (PyErr_Occurred()) SWIG_fail;
21570 }
21571 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
21572 return resultobj;
21573 fail:
21574 return NULL;
21575 }
21576
21577
21578 static PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *, PyObject *args) {
21579 PyObject *resultobj = NULL;
21580 wxPageSetupDialogData *arg1 = 0 ;
21581 wxPageSetupDialogData *result;
21582 PyObject * obj0 = 0 ;
21583
21584 if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail;
21585 {
21586 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21587 if (SWIG_arg_fail(1)) SWIG_fail;
21588 if (arg1 == NULL) {
21589 SWIG_null_ref("wxPageSetupDialogData");
21590 }
21591 if (SWIG_arg_fail(1)) SWIG_fail;
21592 }
21593 {
21594 PyThreadState* __tstate = wxPyBeginAllowThreads();
21595 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
21596
21597 wxPyEndAllowThreads(__tstate);
21598 if (PyErr_Occurred()) SWIG_fail;
21599 }
21600 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
21601 return resultobj;
21602 fail:
21603 return NULL;
21604 }
21605
21606
21607 static PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *, PyObject *args) {
21608 PyObject *resultobj = NULL;
21609 wxPrintData *arg1 = 0 ;
21610 wxPageSetupDialogData *result;
21611 PyObject * obj0 = 0 ;
21612
21613 if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail;
21614 {
21615 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21616 if (SWIG_arg_fail(1)) SWIG_fail;
21617 if (arg1 == NULL) {
21618 SWIG_null_ref("wxPrintData");
21619 }
21620 if (SWIG_arg_fail(1)) SWIG_fail;
21621 }
21622 {
21623 PyThreadState* __tstate = wxPyBeginAllowThreads();
21624 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
21625
21626 wxPyEndAllowThreads(__tstate);
21627 if (PyErr_Occurred()) SWIG_fail;
21628 }
21629 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
21630 return resultobj;
21631 fail:
21632 return NULL;
21633 }
21634
21635
21636 static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
21637 int argc;
21638 PyObject *argv[2];
21639 int ii;
21640
21641 argc = PyObject_Length(args);
21642 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
21643 argv[ii] = PyTuple_GetItem(args,ii);
21644 }
21645 if (argc == 0) {
21646 return _wrap_new_PageSetupDialogData__SWIG_0(self,args);
21647 }
21648 if (argc == 1) {
21649 int _v;
21650 {
21651 void *ptr = 0;
21652 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPageSetupDialogData, 0) == -1) {
21653 _v = 0;
21654 PyErr_Clear();
21655 } else {
21656 _v = (ptr != 0);
21657 }
21658 }
21659 if (_v) {
21660 return _wrap_new_PageSetupDialogData__SWIG_1(self,args);
21661 }
21662 }
21663 if (argc == 1) {
21664 int _v;
21665 {
21666 void *ptr = 0;
21667 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
21668 _v = 0;
21669 PyErr_Clear();
21670 } else {
21671 _v = (ptr != 0);
21672 }
21673 }
21674 if (_v) {
21675 return _wrap_new_PageSetupDialogData__SWIG_2(self,args);
21676 }
21677 }
21678
21679 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
21680 return NULL;
21681 }
21682
21683
21684 static PyObject *_wrap_delete_PageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
21685 PyObject *resultobj = NULL;
21686 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21687 PyObject * obj0 = 0 ;
21688 char *kwnames[] = {
21689 (char *) "self", NULL
21690 };
21691
21692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
21693 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21694 if (SWIG_arg_fail(1)) SWIG_fail;
21695 {
21696 PyThreadState* __tstate = wxPyBeginAllowThreads();
21697 delete arg1;
21698
21699 wxPyEndAllowThreads(__tstate);
21700 if (PyErr_Occurred()) SWIG_fail;
21701 }
21702 Py_INCREF(Py_None); resultobj = Py_None;
21703 return resultobj;
21704 fail:
21705 return NULL;
21706 }
21707
21708
21709 static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
21710 PyObject *resultobj = NULL;
21711 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21712 bool arg2 ;
21713 PyObject * obj0 = 0 ;
21714 PyObject * obj1 = 0 ;
21715 char *kwnames[] = {
21716 (char *) "self",(char *) "flag", NULL
21717 };
21718
21719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
21720 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21721 if (SWIG_arg_fail(1)) SWIG_fail;
21722 {
21723 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
21724 if (SWIG_arg_fail(2)) SWIG_fail;
21725 }
21726 {
21727 PyThreadState* __tstate = wxPyBeginAllowThreads();
21728 (arg1)->EnableHelp(arg2);
21729
21730 wxPyEndAllowThreads(__tstate);
21731 if (PyErr_Occurred()) SWIG_fail;
21732 }
21733 Py_INCREF(Py_None); resultobj = Py_None;
21734 return resultobj;
21735 fail:
21736 return NULL;
21737 }
21738
21739
21740 static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
21741 PyObject *resultobj = NULL;
21742 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21743 bool arg2 ;
21744 PyObject * obj0 = 0 ;
21745 PyObject * obj1 = 0 ;
21746 char *kwnames[] = {
21747 (char *) "self",(char *) "flag", NULL
21748 };
21749
21750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
21751 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21752 if (SWIG_arg_fail(1)) SWIG_fail;
21753 {
21754 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
21755 if (SWIG_arg_fail(2)) SWIG_fail;
21756 }
21757 {
21758 PyThreadState* __tstate = wxPyBeginAllowThreads();
21759 (arg1)->EnableMargins(arg2);
21760
21761 wxPyEndAllowThreads(__tstate);
21762 if (PyErr_Occurred()) SWIG_fail;
21763 }
21764 Py_INCREF(Py_None); resultobj = Py_None;
21765 return resultobj;
21766 fail:
21767 return NULL;
21768 }
21769
21770
21771 static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
21772 PyObject *resultobj = NULL;
21773 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21774 bool arg2 ;
21775 PyObject * obj0 = 0 ;
21776 PyObject * obj1 = 0 ;
21777 char *kwnames[] = {
21778 (char *) "self",(char *) "flag", NULL
21779 };
21780
21781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
21782 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21783 if (SWIG_arg_fail(1)) SWIG_fail;
21784 {
21785 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
21786 if (SWIG_arg_fail(2)) SWIG_fail;
21787 }
21788 {
21789 PyThreadState* __tstate = wxPyBeginAllowThreads();
21790 (arg1)->EnableOrientation(arg2);
21791
21792 wxPyEndAllowThreads(__tstate);
21793 if (PyErr_Occurred()) SWIG_fail;
21794 }
21795 Py_INCREF(Py_None); resultobj = Py_None;
21796 return resultobj;
21797 fail:
21798 return NULL;
21799 }
21800
21801
21802 static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
21803 PyObject *resultobj = NULL;
21804 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21805 bool arg2 ;
21806 PyObject * obj0 = 0 ;
21807 PyObject * obj1 = 0 ;
21808 char *kwnames[] = {
21809 (char *) "self",(char *) "flag", NULL
21810 };
21811
21812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
21813 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21814 if (SWIG_arg_fail(1)) SWIG_fail;
21815 {
21816 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
21817 if (SWIG_arg_fail(2)) SWIG_fail;
21818 }
21819 {
21820 PyThreadState* __tstate = wxPyBeginAllowThreads();
21821 (arg1)->EnablePaper(arg2);
21822
21823 wxPyEndAllowThreads(__tstate);
21824 if (PyErr_Occurred()) SWIG_fail;
21825 }
21826 Py_INCREF(Py_None); resultobj = Py_None;
21827 return resultobj;
21828 fail:
21829 return NULL;
21830 }
21831
21832
21833 static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
21834 PyObject *resultobj = NULL;
21835 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21836 bool arg2 ;
21837 PyObject * obj0 = 0 ;
21838 PyObject * obj1 = 0 ;
21839 char *kwnames[] = {
21840 (char *) "self",(char *) "flag", NULL
21841 };
21842
21843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
21844 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21845 if (SWIG_arg_fail(1)) SWIG_fail;
21846 {
21847 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
21848 if (SWIG_arg_fail(2)) SWIG_fail;
21849 }
21850 {
21851 PyThreadState* __tstate = wxPyBeginAllowThreads();
21852 (arg1)->EnablePrinter(arg2);
21853
21854 wxPyEndAllowThreads(__tstate);
21855 if (PyErr_Occurred()) SWIG_fail;
21856 }
21857 Py_INCREF(Py_None); resultobj = Py_None;
21858 return resultobj;
21859 fail:
21860 return NULL;
21861 }
21862
21863
21864 static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
21865 PyObject *resultobj = NULL;
21866 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21867 bool result;
21868 PyObject * obj0 = 0 ;
21869 char *kwnames[] = {
21870 (char *) "self", NULL
21871 };
21872
21873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
21874 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21875 if (SWIG_arg_fail(1)) SWIG_fail;
21876 {
21877 PyThreadState* __tstate = wxPyBeginAllowThreads();
21878 result = (bool)(arg1)->GetDefaultMinMargins();
21879
21880 wxPyEndAllowThreads(__tstate);
21881 if (PyErr_Occurred()) SWIG_fail;
21882 }
21883 {
21884 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21885 }
21886 return resultobj;
21887 fail:
21888 return NULL;
21889 }
21890
21891
21892 static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
21893 PyObject *resultobj = NULL;
21894 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21895 bool result;
21896 PyObject * obj0 = 0 ;
21897 char *kwnames[] = {
21898 (char *) "self", NULL
21899 };
21900
21901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
21902 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21903 if (SWIG_arg_fail(1)) SWIG_fail;
21904 {
21905 PyThreadState* __tstate = wxPyBeginAllowThreads();
21906 result = (bool)(arg1)->GetEnableMargins();
21907
21908 wxPyEndAllowThreads(__tstate);
21909 if (PyErr_Occurred()) SWIG_fail;
21910 }
21911 {
21912 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21913 }
21914 return resultobj;
21915 fail:
21916 return NULL;
21917 }
21918
21919
21920 static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
21921 PyObject *resultobj = NULL;
21922 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21923 bool result;
21924 PyObject * obj0 = 0 ;
21925 char *kwnames[] = {
21926 (char *) "self", NULL
21927 };
21928
21929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
21930 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21931 if (SWIG_arg_fail(1)) SWIG_fail;
21932 {
21933 PyThreadState* __tstate = wxPyBeginAllowThreads();
21934 result = (bool)(arg1)->GetEnableOrientation();
21935
21936 wxPyEndAllowThreads(__tstate);
21937 if (PyErr_Occurred()) SWIG_fail;
21938 }
21939 {
21940 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21941 }
21942 return resultobj;
21943 fail:
21944 return NULL;
21945 }
21946
21947
21948 static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
21949 PyObject *resultobj = NULL;
21950 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21951 bool result;
21952 PyObject * obj0 = 0 ;
21953 char *kwnames[] = {
21954 (char *) "self", NULL
21955 };
21956
21957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
21958 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21959 if (SWIG_arg_fail(1)) SWIG_fail;
21960 {
21961 PyThreadState* __tstate = wxPyBeginAllowThreads();
21962 result = (bool)(arg1)->GetEnablePaper();
21963
21964 wxPyEndAllowThreads(__tstate);
21965 if (PyErr_Occurred()) SWIG_fail;
21966 }
21967 {
21968 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21969 }
21970 return resultobj;
21971 fail:
21972 return NULL;
21973 }
21974
21975
21976 static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
21977 PyObject *resultobj = NULL;
21978 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21979 bool result;
21980 PyObject * obj0 = 0 ;
21981 char *kwnames[] = {
21982 (char *) "self", NULL
21983 };
21984
21985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
21986 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21987 if (SWIG_arg_fail(1)) SWIG_fail;
21988 {
21989 PyThreadState* __tstate = wxPyBeginAllowThreads();
21990 result = (bool)(arg1)->GetEnablePrinter();
21991
21992 wxPyEndAllowThreads(__tstate);
21993 if (PyErr_Occurred()) SWIG_fail;
21994 }
21995 {
21996 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21997 }
21998 return resultobj;
21999 fail:
22000 return NULL;
22001 }
22002
22003
22004 static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
22005 PyObject *resultobj = NULL;
22006 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22007 bool result;
22008 PyObject * obj0 = 0 ;
22009 char *kwnames[] = {
22010 (char *) "self", NULL
22011 };
22012
22013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
22014 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22015 if (SWIG_arg_fail(1)) SWIG_fail;
22016 {
22017 PyThreadState* __tstate = wxPyBeginAllowThreads();
22018 result = (bool)(arg1)->GetEnableHelp();
22019
22020 wxPyEndAllowThreads(__tstate);
22021 if (PyErr_Occurred()) SWIG_fail;
22022 }
22023 {
22024 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22025 }
22026 return resultobj;
22027 fail:
22028 return NULL;
22029 }
22030
22031
22032 static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
22033 PyObject *resultobj = NULL;
22034 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22035 bool result;
22036 PyObject * obj0 = 0 ;
22037 char *kwnames[] = {
22038 (char *) "self", NULL
22039 };
22040
22041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
22042 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22043 if (SWIG_arg_fail(1)) SWIG_fail;
22044 {
22045 PyThreadState* __tstate = wxPyBeginAllowThreads();
22046 result = (bool)(arg1)->GetDefaultInfo();
22047
22048 wxPyEndAllowThreads(__tstate);
22049 if (PyErr_Occurred()) SWIG_fail;
22050 }
22051 {
22052 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22053 }
22054 return resultobj;
22055 fail:
22056 return NULL;
22057 }
22058
22059
22060 static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
22061 PyObject *resultobj = NULL;
22062 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22063 wxPoint result;
22064 PyObject * obj0 = 0 ;
22065 char *kwnames[] = {
22066 (char *) "self", NULL
22067 };
22068
22069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) 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 PyThreadState* __tstate = wxPyBeginAllowThreads();
22074 result = (arg1)->GetMarginTopLeft();
22075
22076 wxPyEndAllowThreads(__tstate);
22077 if (PyErr_Occurred()) SWIG_fail;
22078 }
22079 {
22080 wxPoint * resultptr;
22081 resultptr = new wxPoint(static_cast<wxPoint & >(result));
22082 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22083 }
22084 return resultobj;
22085 fail:
22086 return NULL;
22087 }
22088
22089
22090 static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
22091 PyObject *resultobj = NULL;
22092 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22093 wxPoint result;
22094 PyObject * obj0 = 0 ;
22095 char *kwnames[] = {
22096 (char *) "self", NULL
22097 };
22098
22099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
22100 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22101 if (SWIG_arg_fail(1)) SWIG_fail;
22102 {
22103 PyThreadState* __tstate = wxPyBeginAllowThreads();
22104 result = (arg1)->GetMarginBottomRight();
22105
22106 wxPyEndAllowThreads(__tstate);
22107 if (PyErr_Occurred()) SWIG_fail;
22108 }
22109 {
22110 wxPoint * resultptr;
22111 resultptr = new wxPoint(static_cast<wxPoint & >(result));
22112 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22113 }
22114 return resultobj;
22115 fail:
22116 return NULL;
22117 }
22118
22119
22120 static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
22121 PyObject *resultobj = NULL;
22122 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22123 wxPoint result;
22124 PyObject * obj0 = 0 ;
22125 char *kwnames[] = {
22126 (char *) "self", NULL
22127 };
22128
22129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
22130 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22131 if (SWIG_arg_fail(1)) SWIG_fail;
22132 {
22133 PyThreadState* __tstate = wxPyBeginAllowThreads();
22134 result = (arg1)->GetMinMarginTopLeft();
22135
22136 wxPyEndAllowThreads(__tstate);
22137 if (PyErr_Occurred()) SWIG_fail;
22138 }
22139 {
22140 wxPoint * resultptr;
22141 resultptr = new wxPoint(static_cast<wxPoint & >(result));
22142 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22143 }
22144 return resultobj;
22145 fail:
22146 return NULL;
22147 }
22148
22149
22150 static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
22151 PyObject *resultobj = NULL;
22152 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22153 wxPoint result;
22154 PyObject * obj0 = 0 ;
22155 char *kwnames[] = {
22156 (char *) "self", NULL
22157 };
22158
22159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
22160 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22161 if (SWIG_arg_fail(1)) SWIG_fail;
22162 {
22163 PyThreadState* __tstate = wxPyBeginAllowThreads();
22164 result = (arg1)->GetMinMarginBottomRight();
22165
22166 wxPyEndAllowThreads(__tstate);
22167 if (PyErr_Occurred()) SWIG_fail;
22168 }
22169 {
22170 wxPoint * resultptr;
22171 resultptr = new wxPoint(static_cast<wxPoint & >(result));
22172 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22173 }
22174 return resultobj;
22175 fail:
22176 return NULL;
22177 }
22178
22179
22180 static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
22181 PyObject *resultobj = NULL;
22182 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22183 wxPaperSize result;
22184 PyObject * obj0 = 0 ;
22185 char *kwnames[] = {
22186 (char *) "self", NULL
22187 };
22188
22189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",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 = (wxPaperSize)(arg1)->GetPaperId();
22195
22196 wxPyEndAllowThreads(__tstate);
22197 if (PyErr_Occurred()) SWIG_fail;
22198 }
22199 resultobj = SWIG_From_int((result));
22200 return resultobj;
22201 fail:
22202 return NULL;
22203 }
22204
22205
22206 static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
22207 PyObject *resultobj = NULL;
22208 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22209 wxSize result;
22210 PyObject * obj0 = 0 ;
22211 char *kwnames[] = {
22212 (char *) "self", NULL
22213 };
22214
22215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
22216 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22217 if (SWIG_arg_fail(1)) SWIG_fail;
22218 {
22219 PyThreadState* __tstate = wxPyBeginAllowThreads();
22220 result = (arg1)->GetPaperSize();
22221
22222 wxPyEndAllowThreads(__tstate);
22223 if (PyErr_Occurred()) SWIG_fail;
22224 }
22225 {
22226 wxSize * resultptr;
22227 resultptr = new wxSize(static_cast<wxSize & >(result));
22228 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
22229 }
22230 return resultobj;
22231 fail:
22232 return NULL;
22233 }
22234
22235
22236 static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
22237 PyObject *resultobj = NULL;
22238 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22239 wxPrintData *result;
22240 PyObject * obj0 = 0 ;
22241 char *kwnames[] = {
22242 (char *) "self", NULL
22243 };
22244
22245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",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 {
22251 wxPrintData &_result_ref = (arg1)->GetPrintData();
22252 result = (wxPrintData *) &_result_ref;
22253 }
22254
22255 wxPyEndAllowThreads(__tstate);
22256 if (PyErr_Occurred()) SWIG_fail;
22257 }
22258 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
22259 return resultobj;
22260 fail:
22261 return NULL;
22262 }
22263
22264
22265 static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
22266 PyObject *resultobj = NULL;
22267 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22268 bool result;
22269 PyObject * obj0 = 0 ;
22270 char *kwnames[] = {
22271 (char *) "self", NULL
22272 };
22273
22274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
22275 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22276 if (SWIG_arg_fail(1)) SWIG_fail;
22277 {
22278 PyThreadState* __tstate = wxPyBeginAllowThreads();
22279 result = (bool)(arg1)->Ok();
22280
22281 wxPyEndAllowThreads(__tstate);
22282 if (PyErr_Occurred()) SWIG_fail;
22283 }
22284 {
22285 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22286 }
22287 return resultobj;
22288 fail:
22289 return NULL;
22290 }
22291
22292
22293 static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
22294 PyObject *resultobj = NULL;
22295 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22296 bool arg2 ;
22297 PyObject * obj0 = 0 ;
22298 PyObject * obj1 = 0 ;
22299 char *kwnames[] = {
22300 (char *) "self",(char *) "flag", NULL
22301 };
22302
22303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
22304 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22305 if (SWIG_arg_fail(1)) SWIG_fail;
22306 {
22307 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
22308 if (SWIG_arg_fail(2)) SWIG_fail;
22309 }
22310 {
22311 PyThreadState* __tstate = wxPyBeginAllowThreads();
22312 (arg1)->SetDefaultInfo(arg2);
22313
22314 wxPyEndAllowThreads(__tstate);
22315 if (PyErr_Occurred()) SWIG_fail;
22316 }
22317 Py_INCREF(Py_None); resultobj = Py_None;
22318 return resultobj;
22319 fail:
22320 return NULL;
22321 }
22322
22323
22324 static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
22325 PyObject *resultobj = NULL;
22326 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22327 bool arg2 ;
22328 PyObject * obj0 = 0 ;
22329 PyObject * obj1 = 0 ;
22330 char *kwnames[] = {
22331 (char *) "self",(char *) "flag", NULL
22332 };
22333
22334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
22335 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22336 if (SWIG_arg_fail(1)) SWIG_fail;
22337 {
22338 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
22339 if (SWIG_arg_fail(2)) SWIG_fail;
22340 }
22341 {
22342 PyThreadState* __tstate = wxPyBeginAllowThreads();
22343 (arg1)->SetDefaultMinMargins(arg2);
22344
22345 wxPyEndAllowThreads(__tstate);
22346 if (PyErr_Occurred()) SWIG_fail;
22347 }
22348 Py_INCREF(Py_None); resultobj = Py_None;
22349 return resultobj;
22350 fail:
22351 return NULL;
22352 }
22353
22354
22355 static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
22356 PyObject *resultobj = NULL;
22357 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22358 wxPoint *arg2 = 0 ;
22359 wxPoint temp2 ;
22360 PyObject * obj0 = 0 ;
22361 PyObject * obj1 = 0 ;
22362 char *kwnames[] = {
22363 (char *) "self",(char *) "pt", NULL
22364 };
22365
22366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
22367 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22368 if (SWIG_arg_fail(1)) SWIG_fail;
22369 {
22370 arg2 = &temp2;
22371 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22372 }
22373 {
22374 PyThreadState* __tstate = wxPyBeginAllowThreads();
22375 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
22376
22377 wxPyEndAllowThreads(__tstate);
22378 if (PyErr_Occurred()) SWIG_fail;
22379 }
22380 Py_INCREF(Py_None); resultobj = Py_None;
22381 return resultobj;
22382 fail:
22383 return NULL;
22384 }
22385
22386
22387 static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
22388 PyObject *resultobj = NULL;
22389 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22390 wxPoint *arg2 = 0 ;
22391 wxPoint temp2 ;
22392 PyObject * obj0 = 0 ;
22393 PyObject * obj1 = 0 ;
22394 char *kwnames[] = {
22395 (char *) "self",(char *) "pt", NULL
22396 };
22397
22398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
22399 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22400 if (SWIG_arg_fail(1)) SWIG_fail;
22401 {
22402 arg2 = &temp2;
22403 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22404 }
22405 {
22406 PyThreadState* __tstate = wxPyBeginAllowThreads();
22407 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
22408
22409 wxPyEndAllowThreads(__tstate);
22410 if (PyErr_Occurred()) SWIG_fail;
22411 }
22412 Py_INCREF(Py_None); resultobj = Py_None;
22413 return resultobj;
22414 fail:
22415 return NULL;
22416 }
22417
22418
22419 static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
22420 PyObject *resultobj = NULL;
22421 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22422 wxPoint *arg2 = 0 ;
22423 wxPoint temp2 ;
22424 PyObject * obj0 = 0 ;
22425 PyObject * obj1 = 0 ;
22426 char *kwnames[] = {
22427 (char *) "self",(char *) "pt", NULL
22428 };
22429
22430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
22431 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22432 if (SWIG_arg_fail(1)) SWIG_fail;
22433 {
22434 arg2 = &temp2;
22435 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22436 }
22437 {
22438 PyThreadState* __tstate = wxPyBeginAllowThreads();
22439 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
22440
22441 wxPyEndAllowThreads(__tstate);
22442 if (PyErr_Occurred()) SWIG_fail;
22443 }
22444 Py_INCREF(Py_None); resultobj = Py_None;
22445 return resultobj;
22446 fail:
22447 return NULL;
22448 }
22449
22450
22451 static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
22452 PyObject *resultobj = NULL;
22453 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22454 wxPoint *arg2 = 0 ;
22455 wxPoint temp2 ;
22456 PyObject * obj0 = 0 ;
22457 PyObject * obj1 = 0 ;
22458 char *kwnames[] = {
22459 (char *) "self",(char *) "pt", NULL
22460 };
22461
22462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
22463 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22464 if (SWIG_arg_fail(1)) SWIG_fail;
22465 {
22466 arg2 = &temp2;
22467 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22468 }
22469 {
22470 PyThreadState* __tstate = wxPyBeginAllowThreads();
22471 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
22472
22473 wxPyEndAllowThreads(__tstate);
22474 if (PyErr_Occurred()) SWIG_fail;
22475 }
22476 Py_INCREF(Py_None); resultobj = Py_None;
22477 return resultobj;
22478 fail:
22479 return NULL;
22480 }
22481
22482
22483 static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
22484 PyObject *resultobj = NULL;
22485 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22486 wxPaperSize arg2 ;
22487 PyObject * obj0 = 0 ;
22488 PyObject * obj1 = 0 ;
22489 char *kwnames[] = {
22490 (char *) "self",(char *) "id", NULL
22491 };
22492
22493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
22494 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22495 if (SWIG_arg_fail(1)) SWIG_fail;
22496 {
22497 arg2 = static_cast<wxPaperSize >(SWIG_As_int(obj1));
22498 if (SWIG_arg_fail(2)) SWIG_fail;
22499 }
22500 {
22501 PyThreadState* __tstate = wxPyBeginAllowThreads();
22502 (arg1)->SetPaperId(arg2);
22503
22504 wxPyEndAllowThreads(__tstate);
22505 if (PyErr_Occurred()) SWIG_fail;
22506 }
22507 Py_INCREF(Py_None); resultobj = Py_None;
22508 return resultobj;
22509 fail:
22510 return NULL;
22511 }
22512
22513
22514 static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
22515 PyObject *resultobj = NULL;
22516 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22517 wxSize *arg2 = 0 ;
22518 wxSize temp2 ;
22519 PyObject * obj0 = 0 ;
22520 PyObject * obj1 = 0 ;
22521 char *kwnames[] = {
22522 (char *) "self",(char *) "size", NULL
22523 };
22524
22525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
22526 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22527 if (SWIG_arg_fail(1)) SWIG_fail;
22528 {
22529 arg2 = &temp2;
22530 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22531 }
22532 {
22533 PyThreadState* __tstate = wxPyBeginAllowThreads();
22534 (arg1)->SetPaperSize((wxSize const &)*arg2);
22535
22536 wxPyEndAllowThreads(__tstate);
22537 if (PyErr_Occurred()) SWIG_fail;
22538 }
22539 Py_INCREF(Py_None); resultobj = Py_None;
22540 return resultobj;
22541 fail:
22542 return NULL;
22543 }
22544
22545
22546 static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
22547 PyObject *resultobj = NULL;
22548 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22549 wxPrintData *arg2 = 0 ;
22550 PyObject * obj0 = 0 ;
22551 PyObject * obj1 = 0 ;
22552 char *kwnames[] = {
22553 (char *) "self",(char *) "printData", NULL
22554 };
22555
22556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
22557 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22558 if (SWIG_arg_fail(1)) SWIG_fail;
22559 {
22560 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
22561 if (SWIG_arg_fail(2)) SWIG_fail;
22562 if (arg2 == NULL) {
22563 SWIG_null_ref("wxPrintData");
22564 }
22565 if (SWIG_arg_fail(2)) SWIG_fail;
22566 }
22567 {
22568 PyThreadState* __tstate = wxPyBeginAllowThreads();
22569 (arg1)->SetPrintData((wxPrintData const &)*arg2);
22570
22571 wxPyEndAllowThreads(__tstate);
22572 if (PyErr_Occurred()) SWIG_fail;
22573 }
22574 Py_INCREF(Py_None); resultobj = Py_None;
22575 return resultobj;
22576 fail:
22577 return NULL;
22578 }
22579
22580
22581 static PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
22582 PyObject *resultobj = NULL;
22583 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22584 PyObject * obj0 = 0 ;
22585 char *kwnames[] = {
22586 (char *) "self", NULL
22587 };
22588
22589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_CalculateIdFromPaperSize",kwnames,&obj0)) goto fail;
22590 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22591 if (SWIG_arg_fail(1)) SWIG_fail;
22592 {
22593 PyThreadState* __tstate = wxPyBeginAllowThreads();
22594 (arg1)->CalculateIdFromPaperSize();
22595
22596 wxPyEndAllowThreads(__tstate);
22597 if (PyErr_Occurred()) SWIG_fail;
22598 }
22599 Py_INCREF(Py_None); resultobj = Py_None;
22600 return resultobj;
22601 fail:
22602 return NULL;
22603 }
22604
22605
22606 static PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *, PyObject *args, PyObject *kwargs) {
22607 PyObject *resultobj = NULL;
22608 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22609 PyObject * obj0 = 0 ;
22610 char *kwnames[] = {
22611 (char *) "self", NULL
22612 };
22613
22614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_CalculatePaperSizeFromId",kwnames,&obj0)) goto fail;
22615 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22616 if (SWIG_arg_fail(1)) SWIG_fail;
22617 {
22618 PyThreadState* __tstate = wxPyBeginAllowThreads();
22619 (arg1)->CalculatePaperSizeFromId();
22620
22621 wxPyEndAllowThreads(__tstate);
22622 if (PyErr_Occurred()) SWIG_fail;
22623 }
22624 Py_INCREF(Py_None); resultobj = Py_None;
22625 return resultobj;
22626 fail:
22627 return NULL;
22628 }
22629
22630
22631 static PyObject * PageSetupDialogData_swigregister(PyObject *, PyObject *args) {
22632 PyObject *obj;
22633 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22634 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
22635 Py_INCREF(obj);
22636 return Py_BuildValue((char *)"");
22637 }
22638 static PyObject *_wrap_new_PageSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
22639 PyObject *resultobj = NULL;
22640 wxWindow *arg1 = (wxWindow *) 0 ;
22641 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
22642 wxPageSetupDialog *result;
22643 PyObject * obj0 = 0 ;
22644 PyObject * obj1 = 0 ;
22645 char *kwnames[] = {
22646 (char *) "parent",(char *) "data", NULL
22647 };
22648
22649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
22650 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
22651 if (SWIG_arg_fail(1)) SWIG_fail;
22652 if (obj1) {
22653 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22654 if (SWIG_arg_fail(2)) SWIG_fail;
22655 }
22656 {
22657 if (!wxPyCheckForApp()) SWIG_fail;
22658 PyThreadState* __tstate = wxPyBeginAllowThreads();
22659 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
22660
22661 wxPyEndAllowThreads(__tstate);
22662 if (PyErr_Occurred()) SWIG_fail;
22663 }
22664 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1);
22665 return resultobj;
22666 fail:
22667 return NULL;
22668 }
22669
22670
22671 static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *, PyObject *args, PyObject *kwargs) {
22672 PyObject *resultobj = NULL;
22673 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
22674 wxPageSetupDialogData *result;
22675 PyObject * obj0 = 0 ;
22676 char *kwnames[] = {
22677 (char *) "self", NULL
22678 };
22679
22680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
22681 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0);
22682 if (SWIG_arg_fail(1)) SWIG_fail;
22683 {
22684 PyThreadState* __tstate = wxPyBeginAllowThreads();
22685 {
22686 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
22687 result = (wxPageSetupDialogData *) &_result_ref;
22688 }
22689
22690 wxPyEndAllowThreads(__tstate);
22691 if (PyErr_Occurred()) SWIG_fail;
22692 }
22693 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
22694 return resultobj;
22695 fail:
22696 return NULL;
22697 }
22698
22699
22700 static PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
22701 PyObject *resultobj = NULL;
22702 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
22703 wxPageSetupDialogData *result;
22704 PyObject * obj0 = 0 ;
22705 char *kwnames[] = {
22706 (char *) "self", NULL
22707 };
22708
22709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupDialogData",kwnames,&obj0)) goto fail;
22710 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0);
22711 if (SWIG_arg_fail(1)) SWIG_fail;
22712 {
22713 PyThreadState* __tstate = wxPyBeginAllowThreads();
22714 {
22715 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
22716 result = (wxPageSetupDialogData *) &_result_ref;
22717 }
22718
22719 wxPyEndAllowThreads(__tstate);
22720 if (PyErr_Occurred()) SWIG_fail;
22721 }
22722 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
22723 return resultobj;
22724 fail:
22725 return NULL;
22726 }
22727
22728
22729 static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
22730 PyObject *resultobj = NULL;
22731 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
22732 int result;
22733 PyObject * obj0 = 0 ;
22734 char *kwnames[] = {
22735 (char *) "self", NULL
22736 };
22737
22738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
22739 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0);
22740 if (SWIG_arg_fail(1)) SWIG_fail;
22741 {
22742 PyThreadState* __tstate = wxPyBeginAllowThreads();
22743 result = (int)(arg1)->ShowModal();
22744
22745 wxPyEndAllowThreads(__tstate);
22746 if (PyErr_Occurred()) SWIG_fail;
22747 }
22748 {
22749 resultobj = SWIG_From_int(static_cast<int >(result));
22750 }
22751 return resultobj;
22752 fail:
22753 return NULL;
22754 }
22755
22756
22757 static PyObject * PageSetupDialog_swigregister(PyObject *, PyObject *args) {
22758 PyObject *obj;
22759 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22760 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
22761 Py_INCREF(obj);
22762 return Py_BuildValue((char *)"");
22763 }
22764 static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *, PyObject *args) {
22765 PyObject *resultobj = NULL;
22766 wxPrintDialogData *result;
22767
22768 if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail;
22769 {
22770 PyThreadState* __tstate = wxPyBeginAllowThreads();
22771 result = (wxPrintDialogData *)new wxPrintDialogData();
22772
22773 wxPyEndAllowThreads(__tstate);
22774 if (PyErr_Occurred()) SWIG_fail;
22775 }
22776 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
22777 return resultobj;
22778 fail:
22779 return NULL;
22780 }
22781
22782
22783 static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *, PyObject *args) {
22784 PyObject *resultobj = NULL;
22785 wxPrintData *arg1 = 0 ;
22786 wxPrintDialogData *result;
22787 PyObject * obj0 = 0 ;
22788
22789 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
22790 {
22791 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
22792 if (SWIG_arg_fail(1)) SWIG_fail;
22793 if (arg1 == NULL) {
22794 SWIG_null_ref("wxPrintData");
22795 }
22796 if (SWIG_arg_fail(1)) SWIG_fail;
22797 }
22798 {
22799 PyThreadState* __tstate = wxPyBeginAllowThreads();
22800 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
22801
22802 wxPyEndAllowThreads(__tstate);
22803 if (PyErr_Occurred()) SWIG_fail;
22804 }
22805 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
22806 return resultobj;
22807 fail:
22808 return NULL;
22809 }
22810
22811
22812 static PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *, PyObject *args) {
22813 PyObject *resultobj = NULL;
22814 wxPrintDialogData *arg1 = 0 ;
22815 wxPrintDialogData *result;
22816 PyObject * obj0 = 0 ;
22817
22818 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
22819 {
22820 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
22821 if (SWIG_arg_fail(1)) SWIG_fail;
22822 if (arg1 == NULL) {
22823 SWIG_null_ref("wxPrintDialogData");
22824 }
22825 if (SWIG_arg_fail(1)) SWIG_fail;
22826 }
22827 {
22828 PyThreadState* __tstate = wxPyBeginAllowThreads();
22829 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
22830
22831 wxPyEndAllowThreads(__tstate);
22832 if (PyErr_Occurred()) SWIG_fail;
22833 }
22834 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
22835 return resultobj;
22836 fail:
22837 return NULL;
22838 }
22839
22840
22841 static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
22842 int argc;
22843 PyObject *argv[2];
22844 int ii;
22845
22846 argc = PyObject_Length(args);
22847 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
22848 argv[ii] = PyTuple_GetItem(args,ii);
22849 }
22850 if (argc == 0) {
22851 return _wrap_new_PrintDialogData__SWIG_0(self,args);
22852 }
22853 if (argc == 1) {
22854 int _v;
22855 {
22856 void *ptr = 0;
22857 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
22858 _v = 0;
22859 PyErr_Clear();
22860 } else {
22861 _v = (ptr != 0);
22862 }
22863 }
22864 if (_v) {
22865 return _wrap_new_PrintDialogData__SWIG_1(self,args);
22866 }
22867 }
22868 if (argc == 1) {
22869 int _v;
22870 {
22871 void *ptr = 0;
22872 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
22873 _v = 0;
22874 PyErr_Clear();
22875 } else {
22876 _v = (ptr != 0);
22877 }
22878 }
22879 if (_v) {
22880 return _wrap_new_PrintDialogData__SWIG_2(self,args);
22881 }
22882 }
22883
22884 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
22885 return NULL;
22886 }
22887
22888
22889 static PyObject *_wrap_delete_PrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
22890 PyObject *resultobj = NULL;
22891 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
22892 PyObject * obj0 = 0 ;
22893 char *kwnames[] = {
22894 (char *) "self", NULL
22895 };
22896
22897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
22898 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
22899 if (SWIG_arg_fail(1)) SWIG_fail;
22900 {
22901 PyThreadState* __tstate = wxPyBeginAllowThreads();
22902 delete arg1;
22903
22904 wxPyEndAllowThreads(__tstate);
22905 if (PyErr_Occurred()) SWIG_fail;
22906 }
22907 Py_INCREF(Py_None); resultobj = Py_None;
22908 return resultobj;
22909 fail:
22910 return NULL;
22911 }
22912
22913
22914 static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
22915 PyObject *resultobj = NULL;
22916 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
22917 int result;
22918 PyObject * obj0 = 0 ;
22919 char *kwnames[] = {
22920 (char *) "self", NULL
22921 };
22922
22923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
22924 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
22925 if (SWIG_arg_fail(1)) SWIG_fail;
22926 {
22927 PyThreadState* __tstate = wxPyBeginAllowThreads();
22928 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
22929
22930 wxPyEndAllowThreads(__tstate);
22931 if (PyErr_Occurred()) SWIG_fail;
22932 }
22933 {
22934 resultobj = SWIG_From_int(static_cast<int >(result));
22935 }
22936 return resultobj;
22937 fail:
22938 return NULL;
22939 }
22940
22941
22942 static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
22943 PyObject *resultobj = NULL;
22944 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
22945 int result;
22946 PyObject * obj0 = 0 ;
22947 char *kwnames[] = {
22948 (char *) "self", NULL
22949 };
22950
22951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
22952 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
22953 if (SWIG_arg_fail(1)) SWIG_fail;
22954 {
22955 PyThreadState* __tstate = wxPyBeginAllowThreads();
22956 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
22957
22958 wxPyEndAllowThreads(__tstate);
22959 if (PyErr_Occurred()) SWIG_fail;
22960 }
22961 {
22962 resultobj = SWIG_From_int(static_cast<int >(result));
22963 }
22964 return resultobj;
22965 fail:
22966 return NULL;
22967 }
22968
22969
22970 static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
22971 PyObject *resultobj = NULL;
22972 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
22973 int result;
22974 PyObject * obj0 = 0 ;
22975 char *kwnames[] = {
22976 (char *) "self", NULL
22977 };
22978
22979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
22980 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
22981 if (SWIG_arg_fail(1)) SWIG_fail;
22982 {
22983 PyThreadState* __tstate = wxPyBeginAllowThreads();
22984 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
22985
22986 wxPyEndAllowThreads(__tstate);
22987 if (PyErr_Occurred()) SWIG_fail;
22988 }
22989 {
22990 resultobj = SWIG_From_int(static_cast<int >(result));
22991 }
22992 return resultobj;
22993 fail:
22994 return NULL;
22995 }
22996
22997
22998 static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
22999 PyObject *resultobj = NULL;
23000 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23001 int result;
23002 PyObject * obj0 = 0 ;
23003 char *kwnames[] = {
23004 (char *) "self", NULL
23005 };
23006
23007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
23008 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23009 if (SWIG_arg_fail(1)) SWIG_fail;
23010 {
23011 PyThreadState* __tstate = wxPyBeginAllowThreads();
23012 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
23013
23014 wxPyEndAllowThreads(__tstate);
23015 if (PyErr_Occurred()) SWIG_fail;
23016 }
23017 {
23018 resultobj = SWIG_From_int(static_cast<int >(result));
23019 }
23020 return resultobj;
23021 fail:
23022 return NULL;
23023 }
23024
23025
23026 static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
23027 PyObject *resultobj = NULL;
23028 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23029 int result;
23030 PyObject * obj0 = 0 ;
23031 char *kwnames[] = {
23032 (char *) "self", NULL
23033 };
23034
23035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
23036 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23037 if (SWIG_arg_fail(1)) SWIG_fail;
23038 {
23039 PyThreadState* __tstate = wxPyBeginAllowThreads();
23040 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
23041
23042 wxPyEndAllowThreads(__tstate);
23043 if (PyErr_Occurred()) SWIG_fail;
23044 }
23045 {
23046 resultobj = SWIG_From_int(static_cast<int >(result));
23047 }
23048 return resultobj;
23049 fail:
23050 return NULL;
23051 }
23052
23053
23054 static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
23055 PyObject *resultobj = NULL;
23056 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23057 bool result;
23058 PyObject * obj0 = 0 ;
23059 char *kwnames[] = {
23060 (char *) "self", NULL
23061 };
23062
23063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
23064 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23065 if (SWIG_arg_fail(1)) SWIG_fail;
23066 {
23067 PyThreadState* __tstate = wxPyBeginAllowThreads();
23068 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
23069
23070 wxPyEndAllowThreads(__tstate);
23071 if (PyErr_Occurred()) SWIG_fail;
23072 }
23073 {
23074 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23075 }
23076 return resultobj;
23077 fail:
23078 return NULL;
23079 }
23080
23081
23082 static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
23083 PyObject *resultobj = NULL;
23084 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23085 bool result;
23086 PyObject * obj0 = 0 ;
23087 char *kwnames[] = {
23088 (char *) "self", NULL
23089 };
23090
23091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
23092 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23093 if (SWIG_arg_fail(1)) SWIG_fail;
23094 {
23095 PyThreadState* __tstate = wxPyBeginAllowThreads();
23096 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
23097
23098 wxPyEndAllowThreads(__tstate);
23099 if (PyErr_Occurred()) SWIG_fail;
23100 }
23101 {
23102 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23103 }
23104 return resultobj;
23105 fail:
23106 return NULL;
23107 }
23108
23109
23110 static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
23111 PyObject *resultobj = NULL;
23112 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23113 bool result;
23114 PyObject * obj0 = 0 ;
23115 char *kwnames[] = {
23116 (char *) "self", NULL
23117 };
23118
23119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
23120 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23121 if (SWIG_arg_fail(1)) SWIG_fail;
23122 {
23123 PyThreadState* __tstate = wxPyBeginAllowThreads();
23124 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
23125
23126 wxPyEndAllowThreads(__tstate);
23127 if (PyErr_Occurred()) SWIG_fail;
23128 }
23129 {
23130 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23131 }
23132 return resultobj;
23133 fail:
23134 return NULL;
23135 }
23136
23137
23138 static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
23139 PyObject *resultobj = NULL;
23140 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23141 bool result;
23142 PyObject * obj0 = 0 ;
23143 char *kwnames[] = {
23144 (char *) "self", NULL
23145 };
23146
23147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
23148 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23149 if (SWIG_arg_fail(1)) SWIG_fail;
23150 {
23151 PyThreadState* __tstate = wxPyBeginAllowThreads();
23152 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
23153
23154 wxPyEndAllowThreads(__tstate);
23155 if (PyErr_Occurred()) SWIG_fail;
23156 }
23157 {
23158 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23159 }
23160 return resultobj;
23161 fail:
23162 return NULL;
23163 }
23164
23165
23166 static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
23167 PyObject *resultobj = NULL;
23168 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23169 int arg2 ;
23170 PyObject * obj0 = 0 ;
23171 PyObject * obj1 = 0 ;
23172 char *kwnames[] = {
23173 (char *) "self",(char *) "v", NULL
23174 };
23175
23176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
23177 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23178 if (SWIG_arg_fail(1)) SWIG_fail;
23179 {
23180 arg2 = static_cast<int >(SWIG_As_int(obj1));
23181 if (SWIG_arg_fail(2)) SWIG_fail;
23182 }
23183 {
23184 PyThreadState* __tstate = wxPyBeginAllowThreads();
23185 (arg1)->SetFromPage(arg2);
23186
23187 wxPyEndAllowThreads(__tstate);
23188 if (PyErr_Occurred()) SWIG_fail;
23189 }
23190 Py_INCREF(Py_None); resultobj = Py_None;
23191 return resultobj;
23192 fail:
23193 return NULL;
23194 }
23195
23196
23197 static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
23198 PyObject *resultobj = NULL;
23199 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23200 int arg2 ;
23201 PyObject * obj0 = 0 ;
23202 PyObject * obj1 = 0 ;
23203 char *kwnames[] = {
23204 (char *) "self",(char *) "v", NULL
23205 };
23206
23207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
23208 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23209 if (SWIG_arg_fail(1)) SWIG_fail;
23210 {
23211 arg2 = static_cast<int >(SWIG_As_int(obj1));
23212 if (SWIG_arg_fail(2)) SWIG_fail;
23213 }
23214 {
23215 PyThreadState* __tstate = wxPyBeginAllowThreads();
23216 (arg1)->SetToPage(arg2);
23217
23218 wxPyEndAllowThreads(__tstate);
23219 if (PyErr_Occurred()) SWIG_fail;
23220 }
23221 Py_INCREF(Py_None); resultobj = Py_None;
23222 return resultobj;
23223 fail:
23224 return NULL;
23225 }
23226
23227
23228 static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
23229 PyObject *resultobj = NULL;
23230 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23231 int arg2 ;
23232 PyObject * obj0 = 0 ;
23233 PyObject * obj1 = 0 ;
23234 char *kwnames[] = {
23235 (char *) "self",(char *) "v", NULL
23236 };
23237
23238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
23239 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23240 if (SWIG_arg_fail(1)) SWIG_fail;
23241 {
23242 arg2 = static_cast<int >(SWIG_As_int(obj1));
23243 if (SWIG_arg_fail(2)) SWIG_fail;
23244 }
23245 {
23246 PyThreadState* __tstate = wxPyBeginAllowThreads();
23247 (arg1)->SetMinPage(arg2);
23248
23249 wxPyEndAllowThreads(__tstate);
23250 if (PyErr_Occurred()) SWIG_fail;
23251 }
23252 Py_INCREF(Py_None); resultobj = Py_None;
23253 return resultobj;
23254 fail:
23255 return NULL;
23256 }
23257
23258
23259 static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
23260 PyObject *resultobj = NULL;
23261 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23262 int arg2 ;
23263 PyObject * obj0 = 0 ;
23264 PyObject * obj1 = 0 ;
23265 char *kwnames[] = {
23266 (char *) "self",(char *) "v", NULL
23267 };
23268
23269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
23270 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23271 if (SWIG_arg_fail(1)) SWIG_fail;
23272 {
23273 arg2 = static_cast<int >(SWIG_As_int(obj1));
23274 if (SWIG_arg_fail(2)) SWIG_fail;
23275 }
23276 {
23277 PyThreadState* __tstate = wxPyBeginAllowThreads();
23278 (arg1)->SetMaxPage(arg2);
23279
23280 wxPyEndAllowThreads(__tstate);
23281 if (PyErr_Occurred()) SWIG_fail;
23282 }
23283 Py_INCREF(Py_None); resultobj = Py_None;
23284 return resultobj;
23285 fail:
23286 return NULL;
23287 }
23288
23289
23290 static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
23291 PyObject *resultobj = NULL;
23292 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23293 int arg2 ;
23294 PyObject * obj0 = 0 ;
23295 PyObject * obj1 = 0 ;
23296 char *kwnames[] = {
23297 (char *) "self",(char *) "v", NULL
23298 };
23299
23300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
23301 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23302 if (SWIG_arg_fail(1)) SWIG_fail;
23303 {
23304 arg2 = static_cast<int >(SWIG_As_int(obj1));
23305 if (SWIG_arg_fail(2)) SWIG_fail;
23306 }
23307 {
23308 PyThreadState* __tstate = wxPyBeginAllowThreads();
23309 (arg1)->SetNoCopies(arg2);
23310
23311 wxPyEndAllowThreads(__tstate);
23312 if (PyErr_Occurred()) SWIG_fail;
23313 }
23314 Py_INCREF(Py_None); resultobj = Py_None;
23315 return resultobj;
23316 fail:
23317 return NULL;
23318 }
23319
23320
23321 static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
23322 PyObject *resultobj = NULL;
23323 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23324 bool arg2 ;
23325 PyObject * obj0 = 0 ;
23326 PyObject * obj1 = 0 ;
23327 char *kwnames[] = {
23328 (char *) "self",(char *) "flag", NULL
23329 };
23330
23331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
23332 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23333 if (SWIG_arg_fail(1)) SWIG_fail;
23334 {
23335 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
23336 if (SWIG_arg_fail(2)) SWIG_fail;
23337 }
23338 {
23339 PyThreadState* __tstate = wxPyBeginAllowThreads();
23340 (arg1)->SetAllPages(arg2);
23341
23342 wxPyEndAllowThreads(__tstate);
23343 if (PyErr_Occurred()) SWIG_fail;
23344 }
23345 Py_INCREF(Py_None); resultobj = Py_None;
23346 return resultobj;
23347 fail:
23348 return NULL;
23349 }
23350
23351
23352 static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
23353 PyObject *resultobj = NULL;
23354 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23355 bool arg2 ;
23356 PyObject * obj0 = 0 ;
23357 PyObject * obj1 = 0 ;
23358 char *kwnames[] = {
23359 (char *) "self",(char *) "flag", NULL
23360 };
23361
23362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
23363 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23364 if (SWIG_arg_fail(1)) SWIG_fail;
23365 {
23366 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
23367 if (SWIG_arg_fail(2)) SWIG_fail;
23368 }
23369 {
23370 PyThreadState* __tstate = wxPyBeginAllowThreads();
23371 (arg1)->SetSelection(arg2);
23372
23373 wxPyEndAllowThreads(__tstate);
23374 if (PyErr_Occurred()) SWIG_fail;
23375 }
23376 Py_INCREF(Py_None); resultobj = Py_None;
23377 return resultobj;
23378 fail:
23379 return NULL;
23380 }
23381
23382
23383 static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
23384 PyObject *resultobj = NULL;
23385 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23386 bool arg2 ;
23387 PyObject * obj0 = 0 ;
23388 PyObject * obj1 = 0 ;
23389 char *kwnames[] = {
23390 (char *) "self",(char *) "flag", NULL
23391 };
23392
23393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
23394 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23395 if (SWIG_arg_fail(1)) SWIG_fail;
23396 {
23397 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
23398 if (SWIG_arg_fail(2)) SWIG_fail;
23399 }
23400 {
23401 PyThreadState* __tstate = wxPyBeginAllowThreads();
23402 (arg1)->SetCollate(arg2);
23403
23404 wxPyEndAllowThreads(__tstate);
23405 if (PyErr_Occurred()) SWIG_fail;
23406 }
23407 Py_INCREF(Py_None); resultobj = Py_None;
23408 return resultobj;
23409 fail:
23410 return NULL;
23411 }
23412
23413
23414 static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
23415 PyObject *resultobj = NULL;
23416 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23417 bool arg2 ;
23418 PyObject * obj0 = 0 ;
23419 PyObject * obj1 = 0 ;
23420 char *kwnames[] = {
23421 (char *) "self",(char *) "flag", NULL
23422 };
23423
23424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
23425 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23426 if (SWIG_arg_fail(1)) SWIG_fail;
23427 {
23428 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
23429 if (SWIG_arg_fail(2)) SWIG_fail;
23430 }
23431 {
23432 PyThreadState* __tstate = wxPyBeginAllowThreads();
23433 (arg1)->SetPrintToFile(arg2);
23434
23435 wxPyEndAllowThreads(__tstate);
23436 if (PyErr_Occurred()) SWIG_fail;
23437 }
23438 Py_INCREF(Py_None); resultobj = Py_None;
23439 return resultobj;
23440 fail:
23441 return NULL;
23442 }
23443
23444
23445 static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
23446 PyObject *resultobj = NULL;
23447 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23448 bool arg2 ;
23449 PyObject * obj0 = 0 ;
23450 PyObject * obj1 = 0 ;
23451 char *kwnames[] = {
23452 (char *) "self",(char *) "flag", NULL
23453 };
23454
23455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
23456 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23457 if (SWIG_arg_fail(1)) SWIG_fail;
23458 {
23459 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
23460 if (SWIG_arg_fail(2)) SWIG_fail;
23461 }
23462 {
23463 PyThreadState* __tstate = wxPyBeginAllowThreads();
23464 (arg1)->EnablePrintToFile(arg2);
23465
23466 wxPyEndAllowThreads(__tstate);
23467 if (PyErr_Occurred()) SWIG_fail;
23468 }
23469 Py_INCREF(Py_None); resultobj = Py_None;
23470 return resultobj;
23471 fail:
23472 return NULL;
23473 }
23474
23475
23476 static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
23477 PyObject *resultobj = NULL;
23478 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23479 bool arg2 ;
23480 PyObject * obj0 = 0 ;
23481 PyObject * obj1 = 0 ;
23482 char *kwnames[] = {
23483 (char *) "self",(char *) "flag", NULL
23484 };
23485
23486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
23487 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23488 if (SWIG_arg_fail(1)) SWIG_fail;
23489 {
23490 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
23491 if (SWIG_arg_fail(2)) SWIG_fail;
23492 }
23493 {
23494 PyThreadState* __tstate = wxPyBeginAllowThreads();
23495 (arg1)->EnableSelection(arg2);
23496
23497 wxPyEndAllowThreads(__tstate);
23498 if (PyErr_Occurred()) SWIG_fail;
23499 }
23500 Py_INCREF(Py_None); resultobj = Py_None;
23501 return resultobj;
23502 fail:
23503 return NULL;
23504 }
23505
23506
23507 static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
23508 PyObject *resultobj = NULL;
23509 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23510 bool arg2 ;
23511 PyObject * obj0 = 0 ;
23512 PyObject * obj1 = 0 ;
23513 char *kwnames[] = {
23514 (char *) "self",(char *) "flag", NULL
23515 };
23516
23517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
23518 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23519 if (SWIG_arg_fail(1)) SWIG_fail;
23520 {
23521 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
23522 if (SWIG_arg_fail(2)) SWIG_fail;
23523 }
23524 {
23525 PyThreadState* __tstate = wxPyBeginAllowThreads();
23526 (arg1)->EnablePageNumbers(arg2);
23527
23528 wxPyEndAllowThreads(__tstate);
23529 if (PyErr_Occurred()) SWIG_fail;
23530 }
23531 Py_INCREF(Py_None); resultobj = Py_None;
23532 return resultobj;
23533 fail:
23534 return NULL;
23535 }
23536
23537
23538 static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
23539 PyObject *resultobj = NULL;
23540 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23541 bool arg2 ;
23542 PyObject * obj0 = 0 ;
23543 PyObject * obj1 = 0 ;
23544 char *kwnames[] = {
23545 (char *) "self",(char *) "flag", NULL
23546 };
23547
23548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
23549 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23550 if (SWIG_arg_fail(1)) SWIG_fail;
23551 {
23552 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
23553 if (SWIG_arg_fail(2)) SWIG_fail;
23554 }
23555 {
23556 PyThreadState* __tstate = wxPyBeginAllowThreads();
23557 (arg1)->EnableHelp(arg2);
23558
23559 wxPyEndAllowThreads(__tstate);
23560 if (PyErr_Occurred()) SWIG_fail;
23561 }
23562 Py_INCREF(Py_None); resultobj = Py_None;
23563 return resultobj;
23564 fail:
23565 return NULL;
23566 }
23567
23568
23569 static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
23570 PyObject *resultobj = NULL;
23571 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23572 bool result;
23573 PyObject * obj0 = 0 ;
23574 char *kwnames[] = {
23575 (char *) "self", NULL
23576 };
23577
23578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
23579 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23580 if (SWIG_arg_fail(1)) SWIG_fail;
23581 {
23582 PyThreadState* __tstate = wxPyBeginAllowThreads();
23583 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
23584
23585 wxPyEndAllowThreads(__tstate);
23586 if (PyErr_Occurred()) SWIG_fail;
23587 }
23588 {
23589 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23590 }
23591 return resultobj;
23592 fail:
23593 return NULL;
23594 }
23595
23596
23597 static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
23598 PyObject *resultobj = NULL;
23599 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23600 bool result;
23601 PyObject * obj0 = 0 ;
23602 char *kwnames[] = {
23603 (char *) "self", NULL
23604 };
23605
23606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
23607 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23608 if (SWIG_arg_fail(1)) SWIG_fail;
23609 {
23610 PyThreadState* __tstate = wxPyBeginAllowThreads();
23611 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
23612
23613 wxPyEndAllowThreads(__tstate);
23614 if (PyErr_Occurred()) SWIG_fail;
23615 }
23616 {
23617 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23618 }
23619 return resultobj;
23620 fail:
23621 return NULL;
23622 }
23623
23624
23625 static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
23626 PyObject *resultobj = NULL;
23627 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23628 bool result;
23629 PyObject * obj0 = 0 ;
23630 char *kwnames[] = {
23631 (char *) "self", NULL
23632 };
23633
23634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
23635 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23636 if (SWIG_arg_fail(1)) SWIG_fail;
23637 {
23638 PyThreadState* __tstate = wxPyBeginAllowThreads();
23639 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
23640
23641 wxPyEndAllowThreads(__tstate);
23642 if (PyErr_Occurred()) SWIG_fail;
23643 }
23644 {
23645 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23646 }
23647 return resultobj;
23648 fail:
23649 return NULL;
23650 }
23651
23652
23653 static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
23654 PyObject *resultobj = NULL;
23655 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23656 bool result;
23657 PyObject * obj0 = 0 ;
23658 char *kwnames[] = {
23659 (char *) "self", NULL
23660 };
23661
23662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
23663 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23664 if (SWIG_arg_fail(1)) SWIG_fail;
23665 {
23666 PyThreadState* __tstate = wxPyBeginAllowThreads();
23667 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
23668
23669 wxPyEndAllowThreads(__tstate);
23670 if (PyErr_Occurred()) SWIG_fail;
23671 }
23672 {
23673 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23674 }
23675 return resultobj;
23676 fail:
23677 return NULL;
23678 }
23679
23680
23681 static PyObject *_wrap_PrintDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
23682 PyObject *resultobj = NULL;
23683 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23684 bool result;
23685 PyObject * obj0 = 0 ;
23686 char *kwnames[] = {
23687 (char *) "self", NULL
23688 };
23689
23690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
23691 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23692 if (SWIG_arg_fail(1)) SWIG_fail;
23693 {
23694 PyThreadState* __tstate = wxPyBeginAllowThreads();
23695 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
23696
23697 wxPyEndAllowThreads(__tstate);
23698 if (PyErr_Occurred()) SWIG_fail;
23699 }
23700 {
23701 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23702 }
23703 return resultobj;
23704 fail:
23705 return NULL;
23706 }
23707
23708
23709 static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
23710 PyObject *resultobj = NULL;
23711 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23712 wxPrintData *result;
23713 PyObject * obj0 = 0 ;
23714 char *kwnames[] = {
23715 (char *) "self", NULL
23716 };
23717
23718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
23719 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23720 if (SWIG_arg_fail(1)) SWIG_fail;
23721 {
23722 PyThreadState* __tstate = wxPyBeginAllowThreads();
23723 {
23724 wxPrintData &_result_ref = (arg1)->GetPrintData();
23725 result = (wxPrintData *) &_result_ref;
23726 }
23727
23728 wxPyEndAllowThreads(__tstate);
23729 if (PyErr_Occurred()) SWIG_fail;
23730 }
23731 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
23732 return resultobj;
23733 fail:
23734 return NULL;
23735 }
23736
23737
23738 static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
23739 PyObject *resultobj = NULL;
23740 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23741 wxPrintData *arg2 = 0 ;
23742 PyObject * obj0 = 0 ;
23743 PyObject * obj1 = 0 ;
23744 char *kwnames[] = {
23745 (char *) "self",(char *) "printData", NULL
23746 };
23747
23748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
23749 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23750 if (SWIG_arg_fail(1)) SWIG_fail;
23751 {
23752 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
23753 if (SWIG_arg_fail(2)) SWIG_fail;
23754 if (arg2 == NULL) {
23755 SWIG_null_ref("wxPrintData");
23756 }
23757 if (SWIG_arg_fail(2)) SWIG_fail;
23758 }
23759 {
23760 PyThreadState* __tstate = wxPyBeginAllowThreads();
23761 (arg1)->SetPrintData((wxPrintData const &)*arg2);
23762
23763 wxPyEndAllowThreads(__tstate);
23764 if (PyErr_Occurred()) SWIG_fail;
23765 }
23766 Py_INCREF(Py_None); resultobj = Py_None;
23767 return resultobj;
23768 fail:
23769 return NULL;
23770 }
23771
23772
23773 static PyObject * PrintDialogData_swigregister(PyObject *, PyObject *args) {
23774 PyObject *obj;
23775 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23776 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
23777 Py_INCREF(obj);
23778 return Py_BuildValue((char *)"");
23779 }
23780 static PyObject *_wrap_new_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
23781 PyObject *resultobj = NULL;
23782 wxWindow *arg1 = (wxWindow *) 0 ;
23783 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
23784 wxPrintDialog *result;
23785 PyObject * obj0 = 0 ;
23786 PyObject * obj1 = 0 ;
23787 char *kwnames[] = {
23788 (char *) "parent",(char *) "data", NULL
23789 };
23790
23791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
23792 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
23793 if (SWIG_arg_fail(1)) SWIG_fail;
23794 if (obj1) {
23795 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23796 if (SWIG_arg_fail(2)) SWIG_fail;
23797 }
23798 {
23799 if (!wxPyCheckForApp()) SWIG_fail;
23800 PyThreadState* __tstate = wxPyBeginAllowThreads();
23801 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
23802
23803 wxPyEndAllowThreads(__tstate);
23804 if (PyErr_Occurred()) SWIG_fail;
23805 }
23806 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1);
23807 return resultobj;
23808 fail:
23809 return NULL;
23810 }
23811
23812
23813 static PyObject *_wrap_PrintDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
23814 PyObject *resultobj = NULL;
23815 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
23816 int result;
23817 PyObject * obj0 = 0 ;
23818 char *kwnames[] = {
23819 (char *) "self", NULL
23820 };
23821
23822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
23823 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
23824 if (SWIG_arg_fail(1)) SWIG_fail;
23825 {
23826 PyThreadState* __tstate = wxPyBeginAllowThreads();
23827 result = (int)(arg1)->ShowModal();
23828
23829 wxPyEndAllowThreads(__tstate);
23830 if (PyErr_Occurred()) SWIG_fail;
23831 }
23832 {
23833 resultobj = SWIG_From_int(static_cast<int >(result));
23834 }
23835 return resultobj;
23836 fail:
23837 return NULL;
23838 }
23839
23840
23841 static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
23842 PyObject *resultobj = NULL;
23843 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
23844 wxPrintDialogData *result;
23845 PyObject * obj0 = 0 ;
23846 char *kwnames[] = {
23847 (char *) "self", NULL
23848 };
23849
23850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
23851 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
23852 if (SWIG_arg_fail(1)) SWIG_fail;
23853 {
23854 PyThreadState* __tstate = wxPyBeginAllowThreads();
23855 {
23856 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
23857 result = (wxPrintDialogData *) &_result_ref;
23858 }
23859
23860 wxPyEndAllowThreads(__tstate);
23861 if (PyErr_Occurred()) SWIG_fail;
23862 }
23863 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
23864 return resultobj;
23865 fail:
23866 return NULL;
23867 }
23868
23869
23870 static PyObject *_wrap_PrintDialog_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
23871 PyObject *resultobj = NULL;
23872 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
23873 wxPrintData *result;
23874 PyObject * obj0 = 0 ;
23875 char *kwnames[] = {
23876 (char *) "self", NULL
23877 };
23878
23879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintData",kwnames,&obj0)) goto fail;
23880 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
23881 if (SWIG_arg_fail(1)) SWIG_fail;
23882 {
23883 PyThreadState* __tstate = wxPyBeginAllowThreads();
23884 {
23885 wxPrintData &_result_ref = (arg1)->GetPrintData();
23886 result = (wxPrintData *) &_result_ref;
23887 }
23888
23889 wxPyEndAllowThreads(__tstate);
23890 if (PyErr_Occurred()) SWIG_fail;
23891 }
23892 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
23893 return resultobj;
23894 fail:
23895 return NULL;
23896 }
23897
23898
23899 static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *, PyObject *args, PyObject *kwargs) {
23900 PyObject *resultobj = NULL;
23901 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
23902 wxDC *result;
23903 PyObject * obj0 = 0 ;
23904 char *kwnames[] = {
23905 (char *) "self", NULL
23906 };
23907
23908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
23909 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
23910 if (SWIG_arg_fail(1)) SWIG_fail;
23911 {
23912 PyThreadState* __tstate = wxPyBeginAllowThreads();
23913 result = (wxDC *)(arg1)->GetPrintDC();
23914
23915 wxPyEndAllowThreads(__tstate);
23916 if (PyErr_Occurred()) SWIG_fail;
23917 }
23918 {
23919 resultobj = wxPyMake_wxObject(result, 1);
23920 }
23921 return resultobj;
23922 fail:
23923 return NULL;
23924 }
23925
23926
23927 static PyObject * PrintDialog_swigregister(PyObject *, PyObject *args) {
23928 PyObject *obj;
23929 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23930 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
23931 Py_INCREF(obj);
23932 return Py_BuildValue((char *)"");
23933 }
23934 static PyObject *_wrap_new_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
23935 PyObject *resultobj = NULL;
23936 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
23937 wxPrinter *result;
23938 PyObject * obj0 = 0 ;
23939 char *kwnames[] = {
23940 (char *) "data", NULL
23941 };
23942
23943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
23944 if (obj0) {
23945 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23946 if (SWIG_arg_fail(1)) SWIG_fail;
23947 }
23948 {
23949 if (!wxPyCheckForApp()) SWIG_fail;
23950 PyThreadState* __tstate = wxPyBeginAllowThreads();
23951 result = (wxPrinter *)new wxPrinter(arg1);
23952
23953 wxPyEndAllowThreads(__tstate);
23954 if (PyErr_Occurred()) SWIG_fail;
23955 }
23956 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1);
23957 return resultobj;
23958 fail:
23959 return NULL;
23960 }
23961
23962
23963 static PyObject *_wrap_delete_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
23964 PyObject *resultobj = NULL;
23965 wxPrinter *arg1 = (wxPrinter *) 0 ;
23966 PyObject * obj0 = 0 ;
23967 char *kwnames[] = {
23968 (char *) "self", NULL
23969 };
23970
23971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
23972 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
23973 if (SWIG_arg_fail(1)) SWIG_fail;
23974 {
23975 PyThreadState* __tstate = wxPyBeginAllowThreads();
23976 delete arg1;
23977
23978 wxPyEndAllowThreads(__tstate);
23979 if (PyErr_Occurred()) SWIG_fail;
23980 }
23981 Py_INCREF(Py_None); resultobj = Py_None;
23982 return resultobj;
23983 fail:
23984 return NULL;
23985 }
23986
23987
23988 static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *, PyObject *args, PyObject *kwargs) {
23989 PyObject *resultobj = NULL;
23990 wxPrinter *arg1 = (wxPrinter *) 0 ;
23991 wxWindow *arg2 = (wxWindow *) 0 ;
23992 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
23993 wxWindow *result;
23994 PyObject * obj0 = 0 ;
23995 PyObject * obj1 = 0 ;
23996 PyObject * obj2 = 0 ;
23997 char *kwnames[] = {
23998 (char *) "self",(char *) "parent",(char *) "printout", NULL
23999 };
24000
24001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
24002 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24003 if (SWIG_arg_fail(1)) SWIG_fail;
24004 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24005 if (SWIG_arg_fail(2)) SWIG_fail;
24006 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24007 if (SWIG_arg_fail(3)) SWIG_fail;
24008 {
24009 PyThreadState* __tstate = wxPyBeginAllowThreads();
24010 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
24011
24012 wxPyEndAllowThreads(__tstate);
24013 if (PyErr_Occurred()) SWIG_fail;
24014 }
24015 {
24016 resultobj = wxPyMake_wxObject(result, 0);
24017 }
24018 return resultobj;
24019 fail:
24020 return NULL;
24021 }
24022
24023
24024 static PyObject *_wrap_Printer_ReportError(PyObject *, PyObject *args, PyObject *kwargs) {
24025 PyObject *resultobj = NULL;
24026 wxPrinter *arg1 = (wxPrinter *) 0 ;
24027 wxWindow *arg2 = (wxWindow *) 0 ;
24028 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
24029 wxString *arg4 = 0 ;
24030 bool temp4 = false ;
24031 PyObject * obj0 = 0 ;
24032 PyObject * obj1 = 0 ;
24033 PyObject * obj2 = 0 ;
24034 PyObject * obj3 = 0 ;
24035 char *kwnames[] = {
24036 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
24037 };
24038
24039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24040 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24041 if (SWIG_arg_fail(1)) SWIG_fail;
24042 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24043 if (SWIG_arg_fail(2)) SWIG_fail;
24044 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24045 if (SWIG_arg_fail(3)) SWIG_fail;
24046 {
24047 arg4 = wxString_in_helper(obj3);
24048 if (arg4 == NULL) SWIG_fail;
24049 temp4 = true;
24050 }
24051 {
24052 PyThreadState* __tstate = wxPyBeginAllowThreads();
24053 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
24054
24055 wxPyEndAllowThreads(__tstate);
24056 if (PyErr_Occurred()) SWIG_fail;
24057 }
24058 Py_INCREF(Py_None); resultobj = Py_None;
24059 {
24060 if (temp4)
24061 delete arg4;
24062 }
24063 return resultobj;
24064 fail:
24065 {
24066 if (temp4)
24067 delete arg4;
24068 }
24069 return NULL;
24070 }
24071
24072
24073 static PyObject *_wrap_Printer_Setup(PyObject *, PyObject *args, PyObject *kwargs) {
24074 PyObject *resultobj = NULL;
24075 wxPrinter *arg1 = (wxPrinter *) 0 ;
24076 wxWindow *arg2 = (wxWindow *) 0 ;
24077 bool result;
24078 PyObject * obj0 = 0 ;
24079 PyObject * obj1 = 0 ;
24080 char *kwnames[] = {
24081 (char *) "self",(char *) "parent", NULL
24082 };
24083
24084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
24085 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24086 if (SWIG_arg_fail(1)) SWIG_fail;
24087 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24088 if (SWIG_arg_fail(2)) SWIG_fail;
24089 {
24090 PyThreadState* __tstate = wxPyBeginAllowThreads();
24091 result = (bool)(arg1)->Setup(arg2);
24092
24093 wxPyEndAllowThreads(__tstate);
24094 if (PyErr_Occurred()) SWIG_fail;
24095 }
24096 {
24097 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24098 }
24099 return resultobj;
24100 fail:
24101 return NULL;
24102 }
24103
24104
24105 static PyObject *_wrap_Printer_Print(PyObject *, PyObject *args, PyObject *kwargs) {
24106 PyObject *resultobj = NULL;
24107 wxPrinter *arg1 = (wxPrinter *) 0 ;
24108 wxWindow *arg2 = (wxWindow *) 0 ;
24109 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
24110 bool arg4 = (bool) true ;
24111 bool result;
24112 PyObject * obj0 = 0 ;
24113 PyObject * obj1 = 0 ;
24114 PyObject * obj2 = 0 ;
24115 PyObject * obj3 = 0 ;
24116 char *kwnames[] = {
24117 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
24118 };
24119
24120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24121 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24122 if (SWIG_arg_fail(1)) SWIG_fail;
24123 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24124 if (SWIG_arg_fail(2)) SWIG_fail;
24125 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24126 if (SWIG_arg_fail(3)) SWIG_fail;
24127 if (obj3) {
24128 {
24129 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
24130 if (SWIG_arg_fail(4)) SWIG_fail;
24131 }
24132 }
24133 {
24134 PyThreadState* __tstate = wxPyBeginAllowThreads();
24135 result = (bool)(arg1)->Print(arg2,arg3,arg4);
24136
24137 wxPyEndAllowThreads(__tstate);
24138 if (PyErr_Occurred()) SWIG_fail;
24139 }
24140 {
24141 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24142 }
24143 return resultobj;
24144 fail:
24145 return NULL;
24146 }
24147
24148
24149 static PyObject *_wrap_Printer_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
24150 PyObject *resultobj = NULL;
24151 wxPrinter *arg1 = (wxPrinter *) 0 ;
24152 wxWindow *arg2 = (wxWindow *) 0 ;
24153 wxDC *result;
24154 PyObject * obj0 = 0 ;
24155 PyObject * obj1 = 0 ;
24156 char *kwnames[] = {
24157 (char *) "self",(char *) "parent", NULL
24158 };
24159
24160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
24161 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24162 if (SWIG_arg_fail(1)) SWIG_fail;
24163 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24164 if (SWIG_arg_fail(2)) SWIG_fail;
24165 {
24166 PyThreadState* __tstate = wxPyBeginAllowThreads();
24167 result = (wxDC *)(arg1)->PrintDialog(arg2);
24168
24169 wxPyEndAllowThreads(__tstate);
24170 if (PyErr_Occurred()) SWIG_fail;
24171 }
24172 {
24173 resultobj = wxPyMake_wxObject(result, 0);
24174 }
24175 return resultobj;
24176 fail:
24177 return NULL;
24178 }
24179
24180
24181 static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
24182 PyObject *resultobj = NULL;
24183 wxPrinter *arg1 = (wxPrinter *) 0 ;
24184 wxPrintDialogData *result;
24185 PyObject * obj0 = 0 ;
24186 char *kwnames[] = {
24187 (char *) "self", NULL
24188 };
24189
24190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
24191 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24192 if (SWIG_arg_fail(1)) SWIG_fail;
24193 {
24194 PyThreadState* __tstate = wxPyBeginAllowThreads();
24195 {
24196 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
24197 result = (wxPrintDialogData *) &_result_ref;
24198 }
24199
24200 wxPyEndAllowThreads(__tstate);
24201 if (PyErr_Occurred()) SWIG_fail;
24202 }
24203 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
24204 return resultobj;
24205 fail:
24206 return NULL;
24207 }
24208
24209
24210 static PyObject *_wrap_Printer_GetAbort(PyObject *, PyObject *args, PyObject *kwargs) {
24211 PyObject *resultobj = NULL;
24212 wxPrinter *arg1 = (wxPrinter *) 0 ;
24213 bool result;
24214 PyObject * obj0 = 0 ;
24215 char *kwnames[] = {
24216 (char *) "self", NULL
24217 };
24218
24219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
24220 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24221 if (SWIG_arg_fail(1)) SWIG_fail;
24222 {
24223 PyThreadState* __tstate = wxPyBeginAllowThreads();
24224 result = (bool)(arg1)->GetAbort();
24225
24226 wxPyEndAllowThreads(__tstate);
24227 if (PyErr_Occurred()) SWIG_fail;
24228 }
24229 {
24230 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24231 }
24232 return resultobj;
24233 fail:
24234 return NULL;
24235 }
24236
24237
24238 static PyObject *_wrap_Printer_GetLastError(PyObject *, PyObject *args, PyObject *kwargs) {
24239 PyObject *resultobj = NULL;
24240 wxPrinterError result;
24241 char *kwnames[] = {
24242 NULL
24243 };
24244
24245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
24246 {
24247 PyThreadState* __tstate = wxPyBeginAllowThreads();
24248 result = (wxPrinterError)wxPrinter::GetLastError();
24249
24250 wxPyEndAllowThreads(__tstate);
24251 if (PyErr_Occurred()) SWIG_fail;
24252 }
24253 resultobj = SWIG_From_int((result));
24254 return resultobj;
24255 fail:
24256 return NULL;
24257 }
24258
24259
24260 static PyObject * Printer_swigregister(PyObject *, PyObject *args) {
24261 PyObject *obj;
24262 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24263 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
24264 Py_INCREF(obj);
24265 return Py_BuildValue((char *)"");
24266 }
24267 static PyObject *_wrap_new_Printout(PyObject *, PyObject *args, PyObject *kwargs) {
24268 PyObject *resultobj = NULL;
24269 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
24270 wxString *arg1 = (wxString *) &arg1_defvalue ;
24271 wxPyPrintout *result;
24272 bool temp1 = false ;
24273 PyObject * obj0 = 0 ;
24274 char *kwnames[] = {
24275 (char *) "title", NULL
24276 };
24277
24278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
24279 if (obj0) {
24280 {
24281 arg1 = wxString_in_helper(obj0);
24282 if (arg1 == NULL) SWIG_fail;
24283 temp1 = true;
24284 }
24285 }
24286 {
24287 if (!wxPyCheckForApp()) SWIG_fail;
24288 PyThreadState* __tstate = wxPyBeginAllowThreads();
24289 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
24290
24291 wxPyEndAllowThreads(__tstate);
24292 if (PyErr_Occurred()) SWIG_fail;
24293 }
24294 {
24295 resultobj = wxPyMake_wxObject(result, 1);
24296 }
24297 {
24298 if (temp1)
24299 delete arg1;
24300 }
24301 return resultobj;
24302 fail:
24303 {
24304 if (temp1)
24305 delete arg1;
24306 }
24307 return NULL;
24308 }
24309
24310
24311 static PyObject *_wrap_Printout__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
24312 PyObject *resultobj = NULL;
24313 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24314 PyObject *arg2 = (PyObject *) 0 ;
24315 PyObject *arg3 = (PyObject *) 0 ;
24316 PyObject * obj0 = 0 ;
24317 PyObject * obj1 = 0 ;
24318 PyObject * obj2 = 0 ;
24319 char *kwnames[] = {
24320 (char *) "self",(char *) "self",(char *) "_class", NULL
24321 };
24322
24323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24324 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24325 if (SWIG_arg_fail(1)) SWIG_fail;
24326 arg2 = obj1;
24327 arg3 = obj2;
24328 {
24329 PyThreadState* __tstate = wxPyBeginAllowThreads();
24330 (arg1)->_setCallbackInfo(arg2,arg3);
24331
24332 wxPyEndAllowThreads(__tstate);
24333 if (PyErr_Occurred()) SWIG_fail;
24334 }
24335 Py_INCREF(Py_None); resultobj = Py_None;
24336 return resultobj;
24337 fail:
24338 return NULL;
24339 }
24340
24341
24342 static PyObject *_wrap_Printout_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
24343 PyObject *resultobj = NULL;
24344 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24345 wxString result;
24346 PyObject * obj0 = 0 ;
24347 char *kwnames[] = {
24348 (char *) "self", NULL
24349 };
24350
24351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
24352 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24353 if (SWIG_arg_fail(1)) SWIG_fail;
24354 {
24355 PyThreadState* __tstate = wxPyBeginAllowThreads();
24356 result = ((wxPyPrintout const *)arg1)->GetTitle();
24357
24358 wxPyEndAllowThreads(__tstate);
24359 if (PyErr_Occurred()) SWIG_fail;
24360 }
24361 {
24362 #if wxUSE_UNICODE
24363 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24364 #else
24365 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24366 #endif
24367 }
24368 return resultobj;
24369 fail:
24370 return NULL;
24371 }
24372
24373
24374 static PyObject *_wrap_Printout_GetDC(PyObject *, PyObject *args, PyObject *kwargs) {
24375 PyObject *resultobj = NULL;
24376 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24377 wxDC *result;
24378 PyObject * obj0 = 0 ;
24379 char *kwnames[] = {
24380 (char *) "self", NULL
24381 };
24382
24383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
24384 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24385 if (SWIG_arg_fail(1)) SWIG_fail;
24386 {
24387 PyThreadState* __tstate = wxPyBeginAllowThreads();
24388 result = (wxDC *)(arg1)->GetDC();
24389
24390 wxPyEndAllowThreads(__tstate);
24391 if (PyErr_Occurred()) SWIG_fail;
24392 }
24393 {
24394 resultobj = wxPyMake_wxObject(result, 0);
24395 }
24396 return resultobj;
24397 fail:
24398 return NULL;
24399 }
24400
24401
24402 static PyObject *_wrap_Printout_SetDC(PyObject *, PyObject *args, PyObject *kwargs) {
24403 PyObject *resultobj = NULL;
24404 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24405 wxDC *arg2 = (wxDC *) 0 ;
24406 PyObject * obj0 = 0 ;
24407 PyObject * obj1 = 0 ;
24408 char *kwnames[] = {
24409 (char *) "self",(char *) "dc", NULL
24410 };
24411
24412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
24413 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24414 if (SWIG_arg_fail(1)) SWIG_fail;
24415 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
24416 if (SWIG_arg_fail(2)) SWIG_fail;
24417 {
24418 PyThreadState* __tstate = wxPyBeginAllowThreads();
24419 (arg1)->SetDC(arg2);
24420
24421 wxPyEndAllowThreads(__tstate);
24422 if (PyErr_Occurred()) SWIG_fail;
24423 }
24424 Py_INCREF(Py_None); resultobj = Py_None;
24425 return resultobj;
24426 fail:
24427 return NULL;
24428 }
24429
24430
24431 static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
24432 PyObject *resultobj = NULL;
24433 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24434 int arg2 ;
24435 int arg3 ;
24436 PyObject * obj0 = 0 ;
24437 PyObject * obj1 = 0 ;
24438 PyObject * obj2 = 0 ;
24439 char *kwnames[] = {
24440 (char *) "self",(char *) "w",(char *) "h", NULL
24441 };
24442
24443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail;
24444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24445 if (SWIG_arg_fail(1)) SWIG_fail;
24446 {
24447 arg2 = static_cast<int >(SWIG_As_int(obj1));
24448 if (SWIG_arg_fail(2)) SWIG_fail;
24449 }
24450 {
24451 arg3 = static_cast<int >(SWIG_As_int(obj2));
24452 if (SWIG_arg_fail(3)) SWIG_fail;
24453 }
24454 {
24455 PyThreadState* __tstate = wxPyBeginAllowThreads();
24456 (arg1)->SetPageSizePixels(arg2,arg3);
24457
24458 wxPyEndAllowThreads(__tstate);
24459 if (PyErr_Occurred()) SWIG_fail;
24460 }
24461 Py_INCREF(Py_None); resultobj = Py_None;
24462 return resultobj;
24463 fail:
24464 return NULL;
24465 }
24466
24467
24468 static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
24469 PyObject *resultobj = NULL;
24470 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24471 int *arg2 = (int *) 0 ;
24472 int *arg3 = (int *) 0 ;
24473 int temp2 ;
24474 int res2 = 0 ;
24475 int temp3 ;
24476 int res3 = 0 ;
24477 PyObject * obj0 = 0 ;
24478 char *kwnames[] = {
24479 (char *) "self", NULL
24480 };
24481
24482 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24483 arg3 = &temp3; res3 = SWIG_NEWOBJ;
24484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
24485 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24486 if (SWIG_arg_fail(1)) SWIG_fail;
24487 {
24488 PyThreadState* __tstate = wxPyBeginAllowThreads();
24489 (arg1)->GetPageSizePixels(arg2,arg3);
24490
24491 wxPyEndAllowThreads(__tstate);
24492 if (PyErr_Occurred()) SWIG_fail;
24493 }
24494 Py_INCREF(Py_None); resultobj = Py_None;
24495 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24496 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24497 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24498 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
24499 return resultobj;
24500 fail:
24501 return NULL;
24502 }
24503
24504
24505 static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
24506 PyObject *resultobj = NULL;
24507 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24508 int arg2 ;
24509 int arg3 ;
24510 PyObject * obj0 = 0 ;
24511 PyObject * obj1 = 0 ;
24512 PyObject * obj2 = 0 ;
24513 char *kwnames[] = {
24514 (char *) "self",(char *) "w",(char *) "h", NULL
24515 };
24516
24517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail;
24518 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24519 if (SWIG_arg_fail(1)) SWIG_fail;
24520 {
24521 arg2 = static_cast<int >(SWIG_As_int(obj1));
24522 if (SWIG_arg_fail(2)) SWIG_fail;
24523 }
24524 {
24525 arg3 = static_cast<int >(SWIG_As_int(obj2));
24526 if (SWIG_arg_fail(3)) SWIG_fail;
24527 }
24528 {
24529 PyThreadState* __tstate = wxPyBeginAllowThreads();
24530 (arg1)->SetPageSizeMM(arg2,arg3);
24531
24532 wxPyEndAllowThreads(__tstate);
24533 if (PyErr_Occurred()) SWIG_fail;
24534 }
24535 Py_INCREF(Py_None); resultobj = Py_None;
24536 return resultobj;
24537 fail:
24538 return NULL;
24539 }
24540
24541
24542 static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
24543 PyObject *resultobj = NULL;
24544 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24545 int *arg2 = (int *) 0 ;
24546 int *arg3 = (int *) 0 ;
24547 int temp2 ;
24548 int res2 = 0 ;
24549 int temp3 ;
24550 int res3 = 0 ;
24551 PyObject * obj0 = 0 ;
24552 char *kwnames[] = {
24553 (char *) "self", NULL
24554 };
24555
24556 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24557 arg3 = &temp3; res3 = SWIG_NEWOBJ;
24558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
24559 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24560 if (SWIG_arg_fail(1)) SWIG_fail;
24561 {
24562 PyThreadState* __tstate = wxPyBeginAllowThreads();
24563 (arg1)->GetPageSizeMM(arg2,arg3);
24564
24565 wxPyEndAllowThreads(__tstate);
24566 if (PyErr_Occurred()) SWIG_fail;
24567 }
24568 Py_INCREF(Py_None); resultobj = Py_None;
24569 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24570 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24571 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24572 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
24573 return resultobj;
24574 fail:
24575 return NULL;
24576 }
24577
24578
24579 static PyObject *_wrap_Printout_SetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
24580 PyObject *resultobj = NULL;
24581 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24582 int arg2 ;
24583 int arg3 ;
24584 PyObject * obj0 = 0 ;
24585 PyObject * obj1 = 0 ;
24586 PyObject * obj2 = 0 ;
24587 char *kwnames[] = {
24588 (char *) "self",(char *) "x",(char *) "y", NULL
24589 };
24590
24591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
24592 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24593 if (SWIG_arg_fail(1)) SWIG_fail;
24594 {
24595 arg2 = static_cast<int >(SWIG_As_int(obj1));
24596 if (SWIG_arg_fail(2)) SWIG_fail;
24597 }
24598 {
24599 arg3 = static_cast<int >(SWIG_As_int(obj2));
24600 if (SWIG_arg_fail(3)) SWIG_fail;
24601 }
24602 {
24603 PyThreadState* __tstate = wxPyBeginAllowThreads();
24604 (arg1)->SetPPIScreen(arg2,arg3);
24605
24606 wxPyEndAllowThreads(__tstate);
24607 if (PyErr_Occurred()) SWIG_fail;
24608 }
24609 Py_INCREF(Py_None); resultobj = Py_None;
24610 return resultobj;
24611 fail:
24612 return NULL;
24613 }
24614
24615
24616 static PyObject *_wrap_Printout_GetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
24617 PyObject *resultobj = NULL;
24618 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24619 int *arg2 = (int *) 0 ;
24620 int *arg3 = (int *) 0 ;
24621 int temp2 ;
24622 int res2 = 0 ;
24623 int temp3 ;
24624 int res3 = 0 ;
24625 PyObject * obj0 = 0 ;
24626 char *kwnames[] = {
24627 (char *) "self", NULL
24628 };
24629
24630 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24631 arg3 = &temp3; res3 = SWIG_NEWOBJ;
24632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
24633 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24634 if (SWIG_arg_fail(1)) SWIG_fail;
24635 {
24636 PyThreadState* __tstate = wxPyBeginAllowThreads();
24637 (arg1)->GetPPIScreen(arg2,arg3);
24638
24639 wxPyEndAllowThreads(__tstate);
24640 if (PyErr_Occurred()) SWIG_fail;
24641 }
24642 Py_INCREF(Py_None); resultobj = Py_None;
24643 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24644 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24645 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24646 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
24647 return resultobj;
24648 fail:
24649 return NULL;
24650 }
24651
24652
24653 static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
24654 PyObject *resultobj = NULL;
24655 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24656 int arg2 ;
24657 int arg3 ;
24658 PyObject * obj0 = 0 ;
24659 PyObject * obj1 = 0 ;
24660 PyObject * obj2 = 0 ;
24661 char *kwnames[] = {
24662 (char *) "self",(char *) "x",(char *) "y", NULL
24663 };
24664
24665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
24666 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24667 if (SWIG_arg_fail(1)) SWIG_fail;
24668 {
24669 arg2 = static_cast<int >(SWIG_As_int(obj1));
24670 if (SWIG_arg_fail(2)) SWIG_fail;
24671 }
24672 {
24673 arg3 = static_cast<int >(SWIG_As_int(obj2));
24674 if (SWIG_arg_fail(3)) SWIG_fail;
24675 }
24676 {
24677 PyThreadState* __tstate = wxPyBeginAllowThreads();
24678 (arg1)->SetPPIPrinter(arg2,arg3);
24679
24680 wxPyEndAllowThreads(__tstate);
24681 if (PyErr_Occurred()) SWIG_fail;
24682 }
24683 Py_INCREF(Py_None); resultobj = Py_None;
24684 return resultobj;
24685 fail:
24686 return NULL;
24687 }
24688
24689
24690 static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
24691 PyObject *resultobj = NULL;
24692 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24693 int *arg2 = (int *) 0 ;
24694 int *arg3 = (int *) 0 ;
24695 int temp2 ;
24696 int res2 = 0 ;
24697 int temp3 ;
24698 int res3 = 0 ;
24699 PyObject * obj0 = 0 ;
24700 char *kwnames[] = {
24701 (char *) "self", NULL
24702 };
24703
24704 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24705 arg3 = &temp3; res3 = SWIG_NEWOBJ;
24706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
24707 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24708 if (SWIG_arg_fail(1)) SWIG_fail;
24709 {
24710 PyThreadState* __tstate = wxPyBeginAllowThreads();
24711 (arg1)->GetPPIPrinter(arg2,arg3);
24712
24713 wxPyEndAllowThreads(__tstate);
24714 if (PyErr_Occurred()) SWIG_fail;
24715 }
24716 Py_INCREF(Py_None); resultobj = Py_None;
24717 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24718 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24719 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24720 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
24721 return resultobj;
24722 fail:
24723 return NULL;
24724 }
24725
24726
24727 static PyObject *_wrap_Printout_IsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
24728 PyObject *resultobj = NULL;
24729 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24730 bool result;
24731 PyObject * obj0 = 0 ;
24732 char *kwnames[] = {
24733 (char *) "self", NULL
24734 };
24735
24736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
24737 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24738 if (SWIG_arg_fail(1)) SWIG_fail;
24739 {
24740 PyThreadState* __tstate = wxPyBeginAllowThreads();
24741 result = (bool)(arg1)->IsPreview();
24742
24743 wxPyEndAllowThreads(__tstate);
24744 if (PyErr_Occurred()) SWIG_fail;
24745 }
24746 {
24747 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24748 }
24749 return resultobj;
24750 fail:
24751 return NULL;
24752 }
24753
24754
24755 static PyObject *_wrap_Printout_SetIsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
24756 PyObject *resultobj = NULL;
24757 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24758 bool arg2 ;
24759 PyObject * obj0 = 0 ;
24760 PyObject * obj1 = 0 ;
24761 char *kwnames[] = {
24762 (char *) "self",(char *) "p", NULL
24763 };
24764
24765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
24766 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24767 if (SWIG_arg_fail(1)) SWIG_fail;
24768 {
24769 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
24770 if (SWIG_arg_fail(2)) SWIG_fail;
24771 }
24772 {
24773 PyThreadState* __tstate = wxPyBeginAllowThreads();
24774 (arg1)->SetIsPreview(arg2);
24775
24776 wxPyEndAllowThreads(__tstate);
24777 if (PyErr_Occurred()) SWIG_fail;
24778 }
24779 Py_INCREF(Py_None); resultobj = Py_None;
24780 return resultobj;
24781 fail:
24782 return NULL;
24783 }
24784
24785
24786 static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *, PyObject *args, PyObject *kwargs) {
24787 PyObject *resultobj = NULL;
24788 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24789 int arg2 ;
24790 int arg3 ;
24791 bool result;
24792 PyObject * obj0 = 0 ;
24793 PyObject * obj1 = 0 ;
24794 PyObject * obj2 = 0 ;
24795 char *kwnames[] = {
24796 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
24797 };
24798
24799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
24800 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24801 if (SWIG_arg_fail(1)) SWIG_fail;
24802 {
24803 arg2 = static_cast<int >(SWIG_As_int(obj1));
24804 if (SWIG_arg_fail(2)) SWIG_fail;
24805 }
24806 {
24807 arg3 = static_cast<int >(SWIG_As_int(obj2));
24808 if (SWIG_arg_fail(3)) SWIG_fail;
24809 }
24810 {
24811 PyThreadState* __tstate = wxPyBeginAllowThreads();
24812 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
24813
24814 wxPyEndAllowThreads(__tstate);
24815 if (PyErr_Occurred()) SWIG_fail;
24816 }
24817 {
24818 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24819 }
24820 return resultobj;
24821 fail:
24822 return NULL;
24823 }
24824
24825
24826 static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *, PyObject *args, PyObject *kwargs) {
24827 PyObject *resultobj = NULL;
24828 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24829 PyObject * obj0 = 0 ;
24830 char *kwnames[] = {
24831 (char *) "self", NULL
24832 };
24833
24834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
24835 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24836 if (SWIG_arg_fail(1)) SWIG_fail;
24837 {
24838 PyThreadState* __tstate = wxPyBeginAllowThreads();
24839 (arg1)->base_OnEndDocument();
24840
24841 wxPyEndAllowThreads(__tstate);
24842 if (PyErr_Occurred()) SWIG_fail;
24843 }
24844 Py_INCREF(Py_None); resultobj = Py_None;
24845 return resultobj;
24846 fail:
24847 return NULL;
24848 }
24849
24850
24851 static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
24852 PyObject *resultobj = NULL;
24853 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24854 PyObject * obj0 = 0 ;
24855 char *kwnames[] = {
24856 (char *) "self", NULL
24857 };
24858
24859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
24860 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24861 if (SWIG_arg_fail(1)) SWIG_fail;
24862 {
24863 PyThreadState* __tstate = wxPyBeginAllowThreads();
24864 (arg1)->base_OnBeginPrinting();
24865
24866 wxPyEndAllowThreads(__tstate);
24867 if (PyErr_Occurred()) SWIG_fail;
24868 }
24869 Py_INCREF(Py_None); resultobj = Py_None;
24870 return resultobj;
24871 fail:
24872 return NULL;
24873 }
24874
24875
24876 static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
24877 PyObject *resultobj = NULL;
24878 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24879 PyObject * obj0 = 0 ;
24880 char *kwnames[] = {
24881 (char *) "self", NULL
24882 };
24883
24884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
24885 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24886 if (SWIG_arg_fail(1)) SWIG_fail;
24887 {
24888 PyThreadState* __tstate = wxPyBeginAllowThreads();
24889 (arg1)->base_OnEndPrinting();
24890
24891 wxPyEndAllowThreads(__tstate);
24892 if (PyErr_Occurred()) SWIG_fail;
24893 }
24894 Py_INCREF(Py_None); resultobj = Py_None;
24895 return resultobj;
24896 fail:
24897 return NULL;
24898 }
24899
24900
24901 static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *, PyObject *args, PyObject *kwargs) {
24902 PyObject *resultobj = NULL;
24903 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24904 PyObject * obj0 = 0 ;
24905 char *kwnames[] = {
24906 (char *) "self", NULL
24907 };
24908
24909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
24910 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24911 if (SWIG_arg_fail(1)) SWIG_fail;
24912 {
24913 PyThreadState* __tstate = wxPyBeginAllowThreads();
24914 (arg1)->base_OnPreparePrinting();
24915
24916 wxPyEndAllowThreads(__tstate);
24917 if (PyErr_Occurred()) SWIG_fail;
24918 }
24919 Py_INCREF(Py_None); resultobj = Py_None;
24920 return resultobj;
24921 fail:
24922 return NULL;
24923 }
24924
24925
24926 static PyObject *_wrap_Printout_base_HasPage(PyObject *, PyObject *args, PyObject *kwargs) {
24927 PyObject *resultobj = NULL;
24928 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24929 int arg2 ;
24930 bool result;
24931 PyObject * obj0 = 0 ;
24932 PyObject * obj1 = 0 ;
24933 char *kwnames[] = {
24934 (char *) "self",(char *) "page", NULL
24935 };
24936
24937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail;
24938 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24939 if (SWIG_arg_fail(1)) SWIG_fail;
24940 {
24941 arg2 = static_cast<int >(SWIG_As_int(obj1));
24942 if (SWIG_arg_fail(2)) SWIG_fail;
24943 }
24944 {
24945 PyThreadState* __tstate = wxPyBeginAllowThreads();
24946 result = (bool)(arg1)->base_HasPage(arg2);
24947
24948 wxPyEndAllowThreads(__tstate);
24949 if (PyErr_Occurred()) SWIG_fail;
24950 }
24951 {
24952 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24953 }
24954 return resultobj;
24955 fail:
24956 return NULL;
24957 }
24958
24959
24960 static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *, PyObject *args, PyObject *kwargs) {
24961 PyObject *resultobj = NULL;
24962 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24963 int *arg2 = (int *) 0 ;
24964 int *arg3 = (int *) 0 ;
24965 int *arg4 = (int *) 0 ;
24966 int *arg5 = (int *) 0 ;
24967 int temp2 ;
24968 int res2 = 0 ;
24969 int temp3 ;
24970 int res3 = 0 ;
24971 int temp4 ;
24972 int res4 = 0 ;
24973 int temp5 ;
24974 int res5 = 0 ;
24975 PyObject * obj0 = 0 ;
24976 char *kwnames[] = {
24977 (char *) "self", NULL
24978 };
24979
24980 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24981 arg3 = &temp3; res3 = SWIG_NEWOBJ;
24982 arg4 = &temp4; res4 = SWIG_NEWOBJ;
24983 arg5 = &temp5; res5 = SWIG_NEWOBJ;
24984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
24985 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24986 if (SWIG_arg_fail(1)) SWIG_fail;
24987 {
24988 PyThreadState* __tstate = wxPyBeginAllowThreads();
24989 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
24990
24991 wxPyEndAllowThreads(__tstate);
24992 if (PyErr_Occurred()) SWIG_fail;
24993 }
24994 Py_INCREF(Py_None); resultobj = Py_None;
24995 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24996 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24997 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24998 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
24999 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
25000 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
25001 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
25002 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
25003 return resultobj;
25004 fail:
25005 return NULL;
25006 }
25007
25008
25009 static PyObject * Printout_swigregister(PyObject *, PyObject *args) {
25010 PyObject *obj;
25011 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25012 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
25013 Py_INCREF(obj);
25014 return Py_BuildValue((char *)"");
25015 }
25016 static PyObject *_wrap_new_PreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
25017 PyObject *resultobj = NULL;
25018 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25019 wxWindow *arg2 = (wxWindow *) 0 ;
25020 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25021 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25022 wxSize const &arg4_defvalue = wxDefaultSize ;
25023 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25024 long arg5 = (long) 0 ;
25025 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
25026 wxString *arg6 = (wxString *) &arg6_defvalue ;
25027 wxPreviewCanvas *result;
25028 wxPoint temp3 ;
25029 wxSize temp4 ;
25030 bool temp6 = false ;
25031 PyObject * obj0 = 0 ;
25032 PyObject * obj1 = 0 ;
25033 PyObject * obj2 = 0 ;
25034 PyObject * obj3 = 0 ;
25035 PyObject * obj4 = 0 ;
25036 PyObject * obj5 = 0 ;
25037 char *kwnames[] = {
25038 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25039 };
25040
25041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
25042 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25043 if (SWIG_arg_fail(1)) SWIG_fail;
25044 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25045 if (SWIG_arg_fail(2)) SWIG_fail;
25046 if (obj2) {
25047 {
25048 arg3 = &temp3;
25049 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25050 }
25051 }
25052 if (obj3) {
25053 {
25054 arg4 = &temp4;
25055 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
25056 }
25057 }
25058 if (obj4) {
25059 {
25060 arg5 = static_cast<long >(SWIG_As_long(obj4));
25061 if (SWIG_arg_fail(5)) SWIG_fail;
25062 }
25063 }
25064 if (obj5) {
25065 {
25066 arg6 = wxString_in_helper(obj5);
25067 if (arg6 == NULL) SWIG_fail;
25068 temp6 = true;
25069 }
25070 }
25071 {
25072 if (!wxPyCheckForApp()) SWIG_fail;
25073 PyThreadState* __tstate = wxPyBeginAllowThreads();
25074 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
25075
25076 wxPyEndAllowThreads(__tstate);
25077 if (PyErr_Occurred()) SWIG_fail;
25078 }
25079 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1);
25080 {
25081 if (temp6)
25082 delete arg6;
25083 }
25084 return resultobj;
25085 fail:
25086 {
25087 if (temp6)
25088 delete arg6;
25089 }
25090 return NULL;
25091 }
25092
25093
25094 static PyObject * PreviewCanvas_swigregister(PyObject *, PyObject *args) {
25095 PyObject *obj;
25096 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25097 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
25098 Py_INCREF(obj);
25099 return Py_BuildValue((char *)"");
25100 }
25101 static PyObject *_wrap_new_PreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
25102 PyObject *resultobj = NULL;
25103 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25104 wxFrame *arg2 = (wxFrame *) 0 ;
25105 wxString *arg3 = 0 ;
25106 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25107 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25108 wxSize const &arg5_defvalue = wxDefaultSize ;
25109 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25110 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
25111 wxString const &arg7_defvalue = wxPyFrameNameStr ;
25112 wxString *arg7 = (wxString *) &arg7_defvalue ;
25113 wxPreviewFrame *result;
25114 bool temp3 = false ;
25115 wxPoint temp4 ;
25116 wxSize temp5 ;
25117 bool temp7 = false ;
25118 PyObject * obj0 = 0 ;
25119 PyObject * obj1 = 0 ;
25120 PyObject * obj2 = 0 ;
25121 PyObject * obj3 = 0 ;
25122 PyObject * obj4 = 0 ;
25123 PyObject * obj5 = 0 ;
25124 PyObject * obj6 = 0 ;
25125 char *kwnames[] = {
25126 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25127 };
25128
25129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25130 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25131 if (SWIG_arg_fail(1)) SWIG_fail;
25132 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
25133 if (SWIG_arg_fail(2)) SWIG_fail;
25134 {
25135 arg3 = wxString_in_helper(obj2);
25136 if (arg3 == NULL) SWIG_fail;
25137 temp3 = true;
25138 }
25139 if (obj3) {
25140 {
25141 arg4 = &temp4;
25142 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25143 }
25144 }
25145 if (obj4) {
25146 {
25147 arg5 = &temp5;
25148 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25149 }
25150 }
25151 if (obj5) {
25152 {
25153 arg6 = static_cast<long >(SWIG_As_long(obj5));
25154 if (SWIG_arg_fail(6)) SWIG_fail;
25155 }
25156 }
25157 if (obj6) {
25158 {
25159 arg7 = wxString_in_helper(obj6);
25160 if (arg7 == NULL) SWIG_fail;
25161 temp7 = true;
25162 }
25163 }
25164 {
25165 if (!wxPyCheckForApp()) SWIG_fail;
25166 PyThreadState* __tstate = wxPyBeginAllowThreads();
25167 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
25168
25169 wxPyEndAllowThreads(__tstate);
25170 if (PyErr_Occurred()) SWIG_fail;
25171 }
25172 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1);
25173 {
25174 if (temp3)
25175 delete arg3;
25176 }
25177 {
25178 if (temp7)
25179 delete arg7;
25180 }
25181 return resultobj;
25182 fail:
25183 {
25184 if (temp3)
25185 delete arg3;
25186 }
25187 {
25188 if (temp7)
25189 delete arg7;
25190 }
25191 return NULL;
25192 }
25193
25194
25195 static PyObject *_wrap_PreviewFrame_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
25196 PyObject *resultobj = NULL;
25197 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25198 PyObject * obj0 = 0 ;
25199 char *kwnames[] = {
25200 (char *) "self", NULL
25201 };
25202
25203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
25204 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25205 if (SWIG_arg_fail(1)) SWIG_fail;
25206 {
25207 PyThreadState* __tstate = wxPyBeginAllowThreads();
25208 (arg1)->Initialize();
25209
25210 wxPyEndAllowThreads(__tstate);
25211 if (PyErr_Occurred()) SWIG_fail;
25212 }
25213 Py_INCREF(Py_None); resultobj = Py_None;
25214 return resultobj;
25215 fail:
25216 return NULL;
25217 }
25218
25219
25220 static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
25221 PyObject *resultobj = NULL;
25222 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25223 PyObject * obj0 = 0 ;
25224 char *kwnames[] = {
25225 (char *) "self", NULL
25226 };
25227
25228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
25229 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25230 if (SWIG_arg_fail(1)) SWIG_fail;
25231 {
25232 PyThreadState* __tstate = wxPyBeginAllowThreads();
25233 (arg1)->CreateControlBar();
25234
25235 wxPyEndAllowThreads(__tstate);
25236 if (PyErr_Occurred()) SWIG_fail;
25237 }
25238 Py_INCREF(Py_None); resultobj = Py_None;
25239 return resultobj;
25240 fail:
25241 return NULL;
25242 }
25243
25244
25245 static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
25246 PyObject *resultobj = NULL;
25247 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25248 PyObject * obj0 = 0 ;
25249 char *kwnames[] = {
25250 (char *) "self", NULL
25251 };
25252
25253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
25254 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25255 if (SWIG_arg_fail(1)) SWIG_fail;
25256 {
25257 PyThreadState* __tstate = wxPyBeginAllowThreads();
25258 (arg1)->CreateCanvas();
25259
25260 wxPyEndAllowThreads(__tstate);
25261 if (PyErr_Occurred()) SWIG_fail;
25262 }
25263 Py_INCREF(Py_None); resultobj = Py_None;
25264 return resultobj;
25265 fail:
25266 return NULL;
25267 }
25268
25269
25270 static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
25271 PyObject *resultobj = NULL;
25272 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25273 wxPreviewControlBar *result;
25274 PyObject * obj0 = 0 ;
25275 char *kwnames[] = {
25276 (char *) "self", NULL
25277 };
25278
25279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
25280 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25281 if (SWIG_arg_fail(1)) SWIG_fail;
25282 {
25283 PyThreadState* __tstate = wxPyBeginAllowThreads();
25284 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
25285
25286 wxPyEndAllowThreads(__tstate);
25287 if (PyErr_Occurred()) SWIG_fail;
25288 }
25289 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0);
25290 return resultobj;
25291 fail:
25292 return NULL;
25293 }
25294
25295
25296 static PyObject * PreviewFrame_swigregister(PyObject *, PyObject *args) {
25297 PyObject *obj;
25298 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25299 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
25300 Py_INCREF(obj);
25301 return Py_BuildValue((char *)"");
25302 }
25303 static PyObject *_wrap_new_PreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
25304 PyObject *resultobj = NULL;
25305 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25306 long arg2 ;
25307 wxWindow *arg3 = (wxWindow *) 0 ;
25308 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25309 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25310 wxSize const &arg5_defvalue = wxDefaultSize ;
25311 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25312 long arg6 = (long) wxTAB_TRAVERSAL ;
25313 wxString const &arg7_defvalue = wxPyPanelNameStr ;
25314 wxString *arg7 = (wxString *) &arg7_defvalue ;
25315 wxPreviewControlBar *result;
25316 wxPoint temp4 ;
25317 wxSize temp5 ;
25318 bool temp7 = 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 PyObject * obj6 = 0 ;
25326 char *kwnames[] = {
25327 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25328 };
25329
25330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25331 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25332 if (SWIG_arg_fail(1)) SWIG_fail;
25333 {
25334 arg2 = static_cast<long >(SWIG_As_long(obj1));
25335 if (SWIG_arg_fail(2)) SWIG_fail;
25336 }
25337 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25338 if (SWIG_arg_fail(3)) SWIG_fail;
25339 if (obj3) {
25340 {
25341 arg4 = &temp4;
25342 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25343 }
25344 }
25345 if (obj4) {
25346 {
25347 arg5 = &temp5;
25348 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25349 }
25350 }
25351 if (obj5) {
25352 {
25353 arg6 = static_cast<long >(SWIG_As_long(obj5));
25354 if (SWIG_arg_fail(6)) SWIG_fail;
25355 }
25356 }
25357 if (obj6) {
25358 {
25359 arg7 = wxString_in_helper(obj6);
25360 if (arg7 == NULL) SWIG_fail;
25361 temp7 = true;
25362 }
25363 }
25364 {
25365 if (!wxPyCheckForApp()) SWIG_fail;
25366 PyThreadState* __tstate = wxPyBeginAllowThreads();
25367 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
25368
25369 wxPyEndAllowThreads(__tstate);
25370 if (PyErr_Occurred()) SWIG_fail;
25371 }
25372 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1);
25373 {
25374 if (temp7)
25375 delete arg7;
25376 }
25377 return resultobj;
25378 fail:
25379 {
25380 if (temp7)
25381 delete arg7;
25382 }
25383 return NULL;
25384 }
25385
25386
25387 static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
25388 PyObject *resultobj = NULL;
25389 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25390 int result;
25391 PyObject * obj0 = 0 ;
25392 char *kwnames[] = {
25393 (char *) "self", NULL
25394 };
25395
25396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
25397 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25398 if (SWIG_arg_fail(1)) SWIG_fail;
25399 {
25400 PyThreadState* __tstate = wxPyBeginAllowThreads();
25401 result = (int)(arg1)->GetZoomControl();
25402
25403 wxPyEndAllowThreads(__tstate);
25404 if (PyErr_Occurred()) SWIG_fail;
25405 }
25406 {
25407 resultobj = SWIG_From_int(static_cast<int >(result));
25408 }
25409 return resultobj;
25410 fail:
25411 return NULL;
25412 }
25413
25414
25415 static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
25416 PyObject *resultobj = NULL;
25417 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25418 int arg2 ;
25419 PyObject * obj0 = 0 ;
25420 PyObject * obj1 = 0 ;
25421 char *kwnames[] = {
25422 (char *) "self",(char *) "zoom", NULL
25423 };
25424
25425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
25426 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25427 if (SWIG_arg_fail(1)) SWIG_fail;
25428 {
25429 arg2 = static_cast<int >(SWIG_As_int(obj1));
25430 if (SWIG_arg_fail(2)) SWIG_fail;
25431 }
25432 {
25433 PyThreadState* __tstate = wxPyBeginAllowThreads();
25434 (arg1)->SetZoomControl(arg2);
25435
25436 wxPyEndAllowThreads(__tstate);
25437 if (PyErr_Occurred()) SWIG_fail;
25438 }
25439 Py_INCREF(Py_None); resultobj = Py_None;
25440 return resultobj;
25441 fail:
25442 return NULL;
25443 }
25444
25445
25446 static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
25447 PyObject *resultobj = NULL;
25448 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25449 wxPrintPreview *result;
25450 PyObject * obj0 = 0 ;
25451 char *kwnames[] = {
25452 (char *) "self", NULL
25453 };
25454
25455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
25456 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25457 if (SWIG_arg_fail(1)) SWIG_fail;
25458 {
25459 PyThreadState* __tstate = wxPyBeginAllowThreads();
25460 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
25461
25462 wxPyEndAllowThreads(__tstate);
25463 if (PyErr_Occurred()) SWIG_fail;
25464 }
25465 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0);
25466 return resultobj;
25467 fail:
25468 return NULL;
25469 }
25470
25471
25472 static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *, PyObject *args, PyObject *kwargs) {
25473 PyObject *resultobj = NULL;
25474 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25475 PyObject * obj0 = 0 ;
25476 char *kwnames[] = {
25477 (char *) "self", NULL
25478 };
25479
25480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
25481 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25482 if (SWIG_arg_fail(1)) SWIG_fail;
25483 {
25484 PyThreadState* __tstate = wxPyBeginAllowThreads();
25485 (arg1)->OnNext();
25486
25487 wxPyEndAllowThreads(__tstate);
25488 if (PyErr_Occurred()) SWIG_fail;
25489 }
25490 Py_INCREF(Py_None); resultobj = Py_None;
25491 return resultobj;
25492 fail:
25493 return NULL;
25494 }
25495
25496
25497 static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *, PyObject *args, PyObject *kwargs) {
25498 PyObject *resultobj = NULL;
25499 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25500 PyObject * obj0 = 0 ;
25501 char *kwnames[] = {
25502 (char *) "self", NULL
25503 };
25504
25505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
25506 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25507 if (SWIG_arg_fail(1)) SWIG_fail;
25508 {
25509 PyThreadState* __tstate = wxPyBeginAllowThreads();
25510 (arg1)->OnPrevious();
25511
25512 wxPyEndAllowThreads(__tstate);
25513 if (PyErr_Occurred()) SWIG_fail;
25514 }
25515 Py_INCREF(Py_None); resultobj = Py_None;
25516 return resultobj;
25517 fail:
25518 return NULL;
25519 }
25520
25521
25522 static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *, PyObject *args, PyObject *kwargs) {
25523 PyObject *resultobj = NULL;
25524 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25525 PyObject * obj0 = 0 ;
25526 char *kwnames[] = {
25527 (char *) "self", NULL
25528 };
25529
25530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
25531 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25532 if (SWIG_arg_fail(1)) SWIG_fail;
25533 {
25534 PyThreadState* __tstate = wxPyBeginAllowThreads();
25535 (arg1)->OnFirst();
25536
25537 wxPyEndAllowThreads(__tstate);
25538 if (PyErr_Occurred()) SWIG_fail;
25539 }
25540 Py_INCREF(Py_None); resultobj = Py_None;
25541 return resultobj;
25542 fail:
25543 return NULL;
25544 }
25545
25546
25547 static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *, PyObject *args, PyObject *kwargs) {
25548 PyObject *resultobj = NULL;
25549 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25550 PyObject * obj0 = 0 ;
25551 char *kwnames[] = {
25552 (char *) "self", NULL
25553 };
25554
25555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
25556 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25557 if (SWIG_arg_fail(1)) SWIG_fail;
25558 {
25559 PyThreadState* __tstate = wxPyBeginAllowThreads();
25560 (arg1)->OnLast();
25561
25562 wxPyEndAllowThreads(__tstate);
25563 if (PyErr_Occurred()) SWIG_fail;
25564 }
25565 Py_INCREF(Py_None); resultobj = Py_None;
25566 return resultobj;
25567 fail:
25568 return NULL;
25569 }
25570
25571
25572 static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *, PyObject *args, PyObject *kwargs) {
25573 PyObject *resultobj = NULL;
25574 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25575 PyObject * obj0 = 0 ;
25576 char *kwnames[] = {
25577 (char *) "self", NULL
25578 };
25579
25580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
25581 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25582 if (SWIG_arg_fail(1)) SWIG_fail;
25583 {
25584 PyThreadState* __tstate = wxPyBeginAllowThreads();
25585 (arg1)->OnGoto();
25586
25587 wxPyEndAllowThreads(__tstate);
25588 if (PyErr_Occurred()) SWIG_fail;
25589 }
25590 Py_INCREF(Py_None); resultobj = Py_None;
25591 return resultobj;
25592 fail:
25593 return NULL;
25594 }
25595
25596
25597 static PyObject * PreviewControlBar_swigregister(PyObject *, PyObject *args) {
25598 PyObject *obj;
25599 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25600 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
25601 Py_INCREF(obj);
25602 return Py_BuildValue((char *)"");
25603 }
25604 static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *, PyObject *args) {
25605 PyObject *resultobj = NULL;
25606 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25607 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
25608 wxPrintDialogData *arg3 = (wxPrintDialogData *) 0 ;
25609 wxPrintPreview *result;
25610 PyObject * obj0 = 0 ;
25611 PyObject * obj1 = 0 ;
25612 PyObject * obj2 = 0 ;
25613
25614 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
25615 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25616 if (SWIG_arg_fail(1)) SWIG_fail;
25617 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25618 if (SWIG_arg_fail(2)) SWIG_fail;
25619 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
25620 if (SWIG_arg_fail(3)) SWIG_fail;
25621 {
25622 if (!wxPyCheckForApp()) SWIG_fail;
25623 PyThreadState* __tstate = wxPyBeginAllowThreads();
25624 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
25625
25626 wxPyEndAllowThreads(__tstate);
25627 if (PyErr_Occurred()) SWIG_fail;
25628 }
25629 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
25630 return resultobj;
25631 fail:
25632 return NULL;
25633 }
25634
25635
25636 static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *, PyObject *args) {
25637 PyObject *resultobj = NULL;
25638 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25639 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
25640 wxPrintPreview *result;
25641 PyObject * obj0 = 0 ;
25642 PyObject * obj1 = 0 ;
25643
25644 if(!PyArg_ParseTuple(args,(char *)"OO:new_PrintPreview",&obj0,&obj1)) goto fail;
25645 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25646 if (SWIG_arg_fail(1)) SWIG_fail;
25647 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25648 if (SWIG_arg_fail(2)) SWIG_fail;
25649 {
25650 if (!wxPyCheckForApp()) SWIG_fail;
25651 PyThreadState* __tstate = wxPyBeginAllowThreads();
25652 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2);
25653
25654 wxPyEndAllowThreads(__tstate);
25655 if (PyErr_Occurred()) SWIG_fail;
25656 }
25657 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
25658 return resultobj;
25659 fail:
25660 return NULL;
25661 }
25662
25663
25664 static PyObject *_wrap_new_PrintPreview__SWIG_2(PyObject *, PyObject *args) {
25665 PyObject *resultobj = NULL;
25666 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25667 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
25668 wxPrintData *arg3 = (wxPrintData *) 0 ;
25669 wxPrintPreview *result;
25670 PyObject * obj0 = 0 ;
25671 PyObject * obj1 = 0 ;
25672 PyObject * obj2 = 0 ;
25673
25674 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
25675 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25676 if (SWIG_arg_fail(1)) SWIG_fail;
25677 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25678 if (SWIG_arg_fail(2)) SWIG_fail;
25679 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
25680 if (SWIG_arg_fail(3)) SWIG_fail;
25681 {
25682 if (!wxPyCheckForApp()) SWIG_fail;
25683 PyThreadState* __tstate = wxPyBeginAllowThreads();
25684 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
25685
25686 wxPyEndAllowThreads(__tstate);
25687 if (PyErr_Occurred()) SWIG_fail;
25688 }
25689 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
25690 return resultobj;
25691 fail:
25692 return NULL;
25693 }
25694
25695
25696 static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
25697 int argc;
25698 PyObject *argv[4];
25699 int ii;
25700
25701 argc = PyObject_Length(args);
25702 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
25703 argv[ii] = PyTuple_GetItem(args,ii);
25704 }
25705 if (argc == 2) {
25706 int _v;
25707 {
25708 void *ptr;
25709 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
25710 _v = 0;
25711 PyErr_Clear();
25712 } else {
25713 _v = 1;
25714 }
25715 }
25716 if (_v) {
25717 {
25718 void *ptr;
25719 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
25720 _v = 0;
25721 PyErr_Clear();
25722 } else {
25723 _v = 1;
25724 }
25725 }
25726 if (_v) {
25727 return _wrap_new_PrintPreview__SWIG_1(self,args);
25728 }
25729 }
25730 }
25731 if (argc == 3) {
25732 int _v;
25733 {
25734 void *ptr;
25735 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
25736 _v = 0;
25737 PyErr_Clear();
25738 } else {
25739 _v = 1;
25740 }
25741 }
25742 if (_v) {
25743 {
25744 void *ptr;
25745 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
25746 _v = 0;
25747 PyErr_Clear();
25748 } else {
25749 _v = 1;
25750 }
25751 }
25752 if (_v) {
25753 {
25754 void *ptr;
25755 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
25756 _v = 0;
25757 PyErr_Clear();
25758 } else {
25759 _v = 1;
25760 }
25761 }
25762 if (_v) {
25763 return _wrap_new_PrintPreview__SWIG_0(self,args);
25764 }
25765 }
25766 }
25767 }
25768 if (argc == 3) {
25769 int _v;
25770 {
25771 void *ptr;
25772 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
25773 _v = 0;
25774 PyErr_Clear();
25775 } else {
25776 _v = 1;
25777 }
25778 }
25779 if (_v) {
25780 {
25781 void *ptr;
25782 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
25783 _v = 0;
25784 PyErr_Clear();
25785 } else {
25786 _v = 1;
25787 }
25788 }
25789 if (_v) {
25790 {
25791 void *ptr;
25792 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
25793 _v = 0;
25794 PyErr_Clear();
25795 } else {
25796 _v = 1;
25797 }
25798 }
25799 if (_v) {
25800 return _wrap_new_PrintPreview__SWIG_2(self,args);
25801 }
25802 }
25803 }
25804 }
25805
25806 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
25807 return NULL;
25808 }
25809
25810
25811 static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
25812 PyObject *resultobj = NULL;
25813 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25814 int arg2 ;
25815 bool result;
25816 PyObject * obj0 = 0 ;
25817 PyObject * obj1 = 0 ;
25818 char *kwnames[] = {
25819 (char *) "self",(char *) "pageNum", NULL
25820 };
25821
25822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
25823 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25824 if (SWIG_arg_fail(1)) SWIG_fail;
25825 {
25826 arg2 = static_cast<int >(SWIG_As_int(obj1));
25827 if (SWIG_arg_fail(2)) SWIG_fail;
25828 }
25829 {
25830 PyThreadState* __tstate = wxPyBeginAllowThreads();
25831 result = (bool)(arg1)->SetCurrentPage(arg2);
25832
25833 wxPyEndAllowThreads(__tstate);
25834 if (PyErr_Occurred()) SWIG_fail;
25835 }
25836 {
25837 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25838 }
25839 return resultobj;
25840 fail:
25841 return NULL;
25842 }
25843
25844
25845 static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
25846 PyObject *resultobj = NULL;
25847 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25848 int result;
25849 PyObject * obj0 = 0 ;
25850 char *kwnames[] = {
25851 (char *) "self", NULL
25852 };
25853
25854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
25855 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25856 if (SWIG_arg_fail(1)) SWIG_fail;
25857 {
25858 PyThreadState* __tstate = wxPyBeginAllowThreads();
25859 result = (int)(arg1)->GetCurrentPage();
25860
25861 wxPyEndAllowThreads(__tstate);
25862 if (PyErr_Occurred()) SWIG_fail;
25863 }
25864 {
25865 resultobj = SWIG_From_int(static_cast<int >(result));
25866 }
25867 return resultobj;
25868 fail:
25869 return NULL;
25870 }
25871
25872
25873 static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
25874 PyObject *resultobj = NULL;
25875 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25876 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
25877 PyObject * obj0 = 0 ;
25878 PyObject * obj1 = 0 ;
25879 char *kwnames[] = {
25880 (char *) "self",(char *) "printout", NULL
25881 };
25882
25883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
25884 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25885 if (SWIG_arg_fail(1)) SWIG_fail;
25886 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25887 if (SWIG_arg_fail(2)) SWIG_fail;
25888 {
25889 PyThreadState* __tstate = wxPyBeginAllowThreads();
25890 (arg1)->SetPrintout(arg2);
25891
25892 wxPyEndAllowThreads(__tstate);
25893 if (PyErr_Occurred()) SWIG_fail;
25894 }
25895 Py_INCREF(Py_None); resultobj = Py_None;
25896 return resultobj;
25897 fail:
25898 return NULL;
25899 }
25900
25901
25902 static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
25903 PyObject *resultobj = NULL;
25904 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25905 wxPyPrintout *result;
25906 PyObject * obj0 = 0 ;
25907 char *kwnames[] = {
25908 (char *) "self", NULL
25909 };
25910
25911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
25912 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25913 if (SWIG_arg_fail(1)) SWIG_fail;
25914 {
25915 PyThreadState* __tstate = wxPyBeginAllowThreads();
25916 result = (wxPyPrintout *)(arg1)->GetPrintout();
25917
25918 wxPyEndAllowThreads(__tstate);
25919 if (PyErr_Occurred()) SWIG_fail;
25920 }
25921 {
25922 resultobj = wxPyMake_wxObject(result, 0);
25923 }
25924 return resultobj;
25925 fail:
25926 return NULL;
25927 }
25928
25929
25930 static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
25931 PyObject *resultobj = NULL;
25932 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25933 wxPyPrintout *result;
25934 PyObject * obj0 = 0 ;
25935 char *kwnames[] = {
25936 (char *) "self", NULL
25937 };
25938
25939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
25940 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25941 if (SWIG_arg_fail(1)) SWIG_fail;
25942 {
25943 PyThreadState* __tstate = wxPyBeginAllowThreads();
25944 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
25945
25946 wxPyEndAllowThreads(__tstate);
25947 if (PyErr_Occurred()) SWIG_fail;
25948 }
25949 {
25950 resultobj = wxPyMake_wxObject(result, 0);
25951 }
25952 return resultobj;
25953 fail:
25954 return NULL;
25955 }
25956
25957
25958 static PyObject *_wrap_PrintPreview_SetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
25959 PyObject *resultobj = NULL;
25960 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25961 wxFrame *arg2 = (wxFrame *) 0 ;
25962 PyObject * obj0 = 0 ;
25963 PyObject * obj1 = 0 ;
25964 char *kwnames[] = {
25965 (char *) "self",(char *) "frame", NULL
25966 };
25967
25968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
25969 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25970 if (SWIG_arg_fail(1)) SWIG_fail;
25971 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
25972 if (SWIG_arg_fail(2)) SWIG_fail;
25973 {
25974 PyThreadState* __tstate = wxPyBeginAllowThreads();
25975 (arg1)->SetFrame(arg2);
25976
25977 wxPyEndAllowThreads(__tstate);
25978 if (PyErr_Occurred()) SWIG_fail;
25979 }
25980 Py_INCREF(Py_None); resultobj = Py_None;
25981 return resultobj;
25982 fail:
25983 return NULL;
25984 }
25985
25986
25987 static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
25988 PyObject *resultobj = NULL;
25989 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25990 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
25991 PyObject * obj0 = 0 ;
25992 PyObject * obj1 = 0 ;
25993 char *kwnames[] = {
25994 (char *) "self",(char *) "canvas", NULL
25995 };
25996
25997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
25998 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25999 if (SWIG_arg_fail(1)) SWIG_fail;
26000 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26001 if (SWIG_arg_fail(2)) SWIG_fail;
26002 {
26003 PyThreadState* __tstate = wxPyBeginAllowThreads();
26004 (arg1)->SetCanvas(arg2);
26005
26006 wxPyEndAllowThreads(__tstate);
26007 if (PyErr_Occurred()) SWIG_fail;
26008 }
26009 Py_INCREF(Py_None); resultobj = Py_None;
26010 return resultobj;
26011 fail:
26012 return NULL;
26013 }
26014
26015
26016 static PyObject *_wrap_PrintPreview_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
26017 PyObject *resultobj = NULL;
26018 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26019 wxFrame *result;
26020 PyObject * obj0 = 0 ;
26021 char *kwnames[] = {
26022 (char *) "self", NULL
26023 };
26024
26025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
26026 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26027 if (SWIG_arg_fail(1)) SWIG_fail;
26028 {
26029 PyThreadState* __tstate = wxPyBeginAllowThreads();
26030 result = (wxFrame *)(arg1)->GetFrame();
26031
26032 wxPyEndAllowThreads(__tstate);
26033 if (PyErr_Occurred()) SWIG_fail;
26034 }
26035 {
26036 resultobj = wxPyMake_wxObject(result, 0);
26037 }
26038 return resultobj;
26039 fail:
26040 return NULL;
26041 }
26042
26043
26044 static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
26045 PyObject *resultobj = NULL;
26046 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26047 wxPreviewCanvas *result;
26048 PyObject * obj0 = 0 ;
26049 char *kwnames[] = {
26050 (char *) "self", NULL
26051 };
26052
26053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
26054 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26055 if (SWIG_arg_fail(1)) SWIG_fail;
26056 {
26057 PyThreadState* __tstate = wxPyBeginAllowThreads();
26058 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
26059
26060 wxPyEndAllowThreads(__tstate);
26061 if (PyErr_Occurred()) SWIG_fail;
26062 }
26063 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0);
26064 return resultobj;
26065 fail:
26066 return NULL;
26067 }
26068
26069
26070 static PyObject *_wrap_PrintPreview_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
26071 PyObject *resultobj = NULL;
26072 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26073 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26074 wxDC *arg3 = 0 ;
26075 bool result;
26076 PyObject * obj0 = 0 ;
26077 PyObject * obj1 = 0 ;
26078 PyObject * obj2 = 0 ;
26079 char *kwnames[] = {
26080 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26081 };
26082
26083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
26084 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26085 if (SWIG_arg_fail(1)) SWIG_fail;
26086 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26087 if (SWIG_arg_fail(2)) SWIG_fail;
26088 {
26089 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26090 if (SWIG_arg_fail(3)) SWIG_fail;
26091 if (arg3 == NULL) {
26092 SWIG_null_ref("wxDC");
26093 }
26094 if (SWIG_arg_fail(3)) SWIG_fail;
26095 }
26096 {
26097 PyThreadState* __tstate = wxPyBeginAllowThreads();
26098 result = (bool)(arg1)->PaintPage(arg2,*arg3);
26099
26100 wxPyEndAllowThreads(__tstate);
26101 if (PyErr_Occurred()) SWIG_fail;
26102 }
26103 {
26104 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26105 }
26106 return resultobj;
26107 fail:
26108 return NULL;
26109 }
26110
26111
26112 static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
26113 PyObject *resultobj = NULL;
26114 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26115 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26116 wxDC *arg3 = 0 ;
26117 bool result;
26118 PyObject * obj0 = 0 ;
26119 PyObject * obj1 = 0 ;
26120 PyObject * obj2 = 0 ;
26121 char *kwnames[] = {
26122 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26123 };
26124
26125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
26126 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26127 if (SWIG_arg_fail(1)) SWIG_fail;
26128 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26129 if (SWIG_arg_fail(2)) SWIG_fail;
26130 {
26131 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26132 if (SWIG_arg_fail(3)) SWIG_fail;
26133 if (arg3 == NULL) {
26134 SWIG_null_ref("wxDC");
26135 }
26136 if (SWIG_arg_fail(3)) SWIG_fail;
26137 }
26138 {
26139 PyThreadState* __tstate = wxPyBeginAllowThreads();
26140 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
26141
26142 wxPyEndAllowThreads(__tstate);
26143 if (PyErr_Occurred()) SWIG_fail;
26144 }
26145 {
26146 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26147 }
26148 return resultobj;
26149 fail:
26150 return NULL;
26151 }
26152
26153
26154 static PyObject *_wrap_PrintPreview_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
26155 PyObject *resultobj = NULL;
26156 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26157 int arg2 ;
26158 bool result;
26159 PyObject * obj0 = 0 ;
26160 PyObject * obj1 = 0 ;
26161 char *kwnames[] = {
26162 (char *) "self",(char *) "pageNum", NULL
26163 };
26164
26165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
26166 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26167 if (SWIG_arg_fail(1)) SWIG_fail;
26168 {
26169 arg2 = static_cast<int >(SWIG_As_int(obj1));
26170 if (SWIG_arg_fail(2)) SWIG_fail;
26171 }
26172 {
26173 PyThreadState* __tstate = wxPyBeginAllowThreads();
26174 result = (bool)(arg1)->RenderPage(arg2);
26175
26176 wxPyEndAllowThreads(__tstate);
26177 if (PyErr_Occurred()) SWIG_fail;
26178 }
26179 {
26180 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26181 }
26182 return resultobj;
26183 fail:
26184 return NULL;
26185 }
26186
26187
26188 static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
26189 PyObject *resultobj = NULL;
26190 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26191 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26192 PyObject * obj0 = 0 ;
26193 PyObject * obj1 = 0 ;
26194 char *kwnames[] = {
26195 (char *) "self",(char *) "canvas", NULL
26196 };
26197
26198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
26199 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26200 if (SWIG_arg_fail(1)) SWIG_fail;
26201 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26202 if (SWIG_arg_fail(2)) SWIG_fail;
26203 {
26204 PyThreadState* __tstate = wxPyBeginAllowThreads();
26205 (arg1)->AdjustScrollbars(arg2);
26206
26207 wxPyEndAllowThreads(__tstate);
26208 if (PyErr_Occurred()) SWIG_fail;
26209 }
26210 Py_INCREF(Py_None); resultobj = Py_None;
26211 return resultobj;
26212 fail:
26213 return NULL;
26214 }
26215
26216
26217 static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
26218 PyObject *resultobj = NULL;
26219 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26220 wxPrintDialogData *result;
26221 PyObject * obj0 = 0 ;
26222 char *kwnames[] = {
26223 (char *) "self", NULL
26224 };
26225
26226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
26227 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26228 if (SWIG_arg_fail(1)) SWIG_fail;
26229 {
26230 PyThreadState* __tstate = wxPyBeginAllowThreads();
26231 {
26232 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
26233 result = (wxPrintDialogData *) &_result_ref;
26234 }
26235
26236 wxPyEndAllowThreads(__tstate);
26237 if (PyErr_Occurred()) SWIG_fail;
26238 }
26239 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
26240 return resultobj;
26241 fail:
26242 return NULL;
26243 }
26244
26245
26246 static PyObject *_wrap_PrintPreview_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
26247 PyObject *resultobj = NULL;
26248 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26249 int arg2 ;
26250 PyObject * obj0 = 0 ;
26251 PyObject * obj1 = 0 ;
26252 char *kwnames[] = {
26253 (char *) "self",(char *) "percent", NULL
26254 };
26255
26256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
26257 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26258 if (SWIG_arg_fail(1)) SWIG_fail;
26259 {
26260 arg2 = static_cast<int >(SWIG_As_int(obj1));
26261 if (SWIG_arg_fail(2)) SWIG_fail;
26262 }
26263 {
26264 PyThreadState* __tstate = wxPyBeginAllowThreads();
26265 (arg1)->SetZoom(arg2);
26266
26267 wxPyEndAllowThreads(__tstate);
26268 if (PyErr_Occurred()) SWIG_fail;
26269 }
26270 Py_INCREF(Py_None); resultobj = Py_None;
26271 return resultobj;
26272 fail:
26273 return NULL;
26274 }
26275
26276
26277 static PyObject *_wrap_PrintPreview_GetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
26278 PyObject *resultobj = NULL;
26279 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26280 int result;
26281 PyObject * obj0 = 0 ;
26282 char *kwnames[] = {
26283 (char *) "self", NULL
26284 };
26285
26286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
26287 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26288 if (SWIG_arg_fail(1)) SWIG_fail;
26289 {
26290 PyThreadState* __tstate = wxPyBeginAllowThreads();
26291 result = (int)(arg1)->GetZoom();
26292
26293 wxPyEndAllowThreads(__tstate);
26294 if (PyErr_Occurred()) SWIG_fail;
26295 }
26296 {
26297 resultobj = SWIG_From_int(static_cast<int >(result));
26298 }
26299 return resultobj;
26300 fail:
26301 return NULL;
26302 }
26303
26304
26305 static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
26306 PyObject *resultobj = NULL;
26307 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26308 int result;
26309 PyObject * obj0 = 0 ;
26310 char *kwnames[] = {
26311 (char *) "self", NULL
26312 };
26313
26314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
26315 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26316 if (SWIG_arg_fail(1)) SWIG_fail;
26317 {
26318 PyThreadState* __tstate = wxPyBeginAllowThreads();
26319 result = (int)(arg1)->GetMaxPage();
26320
26321 wxPyEndAllowThreads(__tstate);
26322 if (PyErr_Occurred()) SWIG_fail;
26323 }
26324 {
26325 resultobj = SWIG_From_int(static_cast<int >(result));
26326 }
26327 return resultobj;
26328 fail:
26329 return NULL;
26330 }
26331
26332
26333 static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
26334 PyObject *resultobj = NULL;
26335 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26336 int result;
26337 PyObject * obj0 = 0 ;
26338 char *kwnames[] = {
26339 (char *) "self", NULL
26340 };
26341
26342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
26343 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26344 if (SWIG_arg_fail(1)) SWIG_fail;
26345 {
26346 PyThreadState* __tstate = wxPyBeginAllowThreads();
26347 result = (int)(arg1)->GetMinPage();
26348
26349 wxPyEndAllowThreads(__tstate);
26350 if (PyErr_Occurred()) SWIG_fail;
26351 }
26352 {
26353 resultobj = SWIG_From_int(static_cast<int >(result));
26354 }
26355 return resultobj;
26356 fail:
26357 return NULL;
26358 }
26359
26360
26361 static PyObject *_wrap_PrintPreview_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
26362 PyObject *resultobj = NULL;
26363 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26364 bool result;
26365 PyObject * obj0 = 0 ;
26366 char *kwnames[] = {
26367 (char *) "self", NULL
26368 };
26369
26370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
26371 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26372 if (SWIG_arg_fail(1)) SWIG_fail;
26373 {
26374 PyThreadState* __tstate = wxPyBeginAllowThreads();
26375 result = (bool)(arg1)->Ok();
26376
26377 wxPyEndAllowThreads(__tstate);
26378 if (PyErr_Occurred()) SWIG_fail;
26379 }
26380 {
26381 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26382 }
26383 return resultobj;
26384 fail:
26385 return NULL;
26386 }
26387
26388
26389 static PyObject *_wrap_PrintPreview_SetOk(PyObject *, PyObject *args, PyObject *kwargs) {
26390 PyObject *resultobj = NULL;
26391 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26392 bool arg2 ;
26393 PyObject * obj0 = 0 ;
26394 PyObject * obj1 = 0 ;
26395 char *kwnames[] = {
26396 (char *) "self",(char *) "ok", NULL
26397 };
26398
26399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
26400 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26401 if (SWIG_arg_fail(1)) SWIG_fail;
26402 {
26403 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
26404 if (SWIG_arg_fail(2)) SWIG_fail;
26405 }
26406 {
26407 PyThreadState* __tstate = wxPyBeginAllowThreads();
26408 (arg1)->SetOk(arg2);
26409
26410 wxPyEndAllowThreads(__tstate);
26411 if (PyErr_Occurred()) SWIG_fail;
26412 }
26413 Py_INCREF(Py_None); resultobj = Py_None;
26414 return resultobj;
26415 fail:
26416 return NULL;
26417 }
26418
26419
26420 static PyObject *_wrap_PrintPreview_Print(PyObject *, PyObject *args, PyObject *kwargs) {
26421 PyObject *resultobj = NULL;
26422 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26423 bool arg2 ;
26424 bool result;
26425 PyObject * obj0 = 0 ;
26426 PyObject * obj1 = 0 ;
26427 char *kwnames[] = {
26428 (char *) "self",(char *) "interactive", NULL
26429 };
26430
26431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
26432 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26433 if (SWIG_arg_fail(1)) SWIG_fail;
26434 {
26435 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
26436 if (SWIG_arg_fail(2)) SWIG_fail;
26437 }
26438 {
26439 PyThreadState* __tstate = wxPyBeginAllowThreads();
26440 result = (bool)(arg1)->Print(arg2);
26441
26442 wxPyEndAllowThreads(__tstate);
26443 if (PyErr_Occurred()) SWIG_fail;
26444 }
26445 {
26446 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26447 }
26448 return resultobj;
26449 fail:
26450 return NULL;
26451 }
26452
26453
26454 static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
26455 PyObject *resultobj = NULL;
26456 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26457 PyObject * obj0 = 0 ;
26458 char *kwnames[] = {
26459 (char *) "self", NULL
26460 };
26461
26462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
26463 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26464 if (SWIG_arg_fail(1)) SWIG_fail;
26465 {
26466 PyThreadState* __tstate = wxPyBeginAllowThreads();
26467 (arg1)->DetermineScaling();
26468
26469 wxPyEndAllowThreads(__tstate);
26470 if (PyErr_Occurred()) SWIG_fail;
26471 }
26472 Py_INCREF(Py_None); resultobj = Py_None;
26473 return resultobj;
26474 fail:
26475 return NULL;
26476 }
26477
26478
26479 static PyObject * PrintPreview_swigregister(PyObject *, PyObject *args) {
26480 PyObject *obj;
26481 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26482 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
26483 Py_INCREF(obj);
26484 return Py_BuildValue((char *)"");
26485 }
26486 static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *, PyObject *args) {
26487 PyObject *resultobj = NULL;
26488 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
26489 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
26490 wxPrintDialogData *arg3 = (wxPrintDialogData *) 0 ;
26491 wxPyPrintPreview *result;
26492 PyObject * obj0 = 0 ;
26493 PyObject * obj1 = 0 ;
26494 PyObject * obj2 = 0 ;
26495
26496 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
26497 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26498 if (SWIG_arg_fail(1)) SWIG_fail;
26499 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26500 if (SWIG_arg_fail(2)) SWIG_fail;
26501 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
26502 if (SWIG_arg_fail(3)) SWIG_fail;
26503 {
26504 if (!wxPyCheckForApp()) SWIG_fail;
26505 PyThreadState* __tstate = wxPyBeginAllowThreads();
26506 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
26507
26508 wxPyEndAllowThreads(__tstate);
26509 if (PyErr_Occurred()) SWIG_fail;
26510 }
26511 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
26512 return resultobj;
26513 fail:
26514 return NULL;
26515 }
26516
26517
26518 static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *, PyObject *args) {
26519 PyObject *resultobj = NULL;
26520 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
26521 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
26522 wxPyPrintPreview *result;
26523 PyObject * obj0 = 0 ;
26524 PyObject * obj1 = 0 ;
26525
26526 if(!PyArg_ParseTuple(args,(char *)"OO:new_PyPrintPreview",&obj0,&obj1)) goto fail;
26527 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26528 if (SWIG_arg_fail(1)) SWIG_fail;
26529 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26530 if (SWIG_arg_fail(2)) SWIG_fail;
26531 {
26532 if (!wxPyCheckForApp()) SWIG_fail;
26533 PyThreadState* __tstate = wxPyBeginAllowThreads();
26534 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2);
26535
26536 wxPyEndAllowThreads(__tstate);
26537 if (PyErr_Occurred()) SWIG_fail;
26538 }
26539 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
26540 return resultobj;
26541 fail:
26542 return NULL;
26543 }
26544
26545
26546 static PyObject *_wrap_new_PyPrintPreview__SWIG_2(PyObject *, PyObject *args) {
26547 PyObject *resultobj = NULL;
26548 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
26549 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
26550 wxPrintData *arg3 = (wxPrintData *) 0 ;
26551 wxPyPrintPreview *result;
26552 PyObject * obj0 = 0 ;
26553 PyObject * obj1 = 0 ;
26554 PyObject * obj2 = 0 ;
26555
26556 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
26557 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26558 if (SWIG_arg_fail(1)) SWIG_fail;
26559 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26560 if (SWIG_arg_fail(2)) SWIG_fail;
26561 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
26562 if (SWIG_arg_fail(3)) SWIG_fail;
26563 {
26564 if (!wxPyCheckForApp()) SWIG_fail;
26565 PyThreadState* __tstate = wxPyBeginAllowThreads();
26566 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
26567
26568 wxPyEndAllowThreads(__tstate);
26569 if (PyErr_Occurred()) SWIG_fail;
26570 }
26571 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
26572 return resultobj;
26573 fail:
26574 return NULL;
26575 }
26576
26577
26578 static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
26579 int argc;
26580 PyObject *argv[4];
26581 int ii;
26582
26583 argc = PyObject_Length(args);
26584 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
26585 argv[ii] = PyTuple_GetItem(args,ii);
26586 }
26587 if (argc == 2) {
26588 int _v;
26589 {
26590 void *ptr;
26591 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26592 _v = 0;
26593 PyErr_Clear();
26594 } else {
26595 _v = 1;
26596 }
26597 }
26598 if (_v) {
26599 {
26600 void *ptr;
26601 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26602 _v = 0;
26603 PyErr_Clear();
26604 } else {
26605 _v = 1;
26606 }
26607 }
26608 if (_v) {
26609 return _wrap_new_PyPrintPreview__SWIG_1(self,args);
26610 }
26611 }
26612 }
26613 if (argc == 3) {
26614 int _v;
26615 {
26616 void *ptr;
26617 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26618 _v = 0;
26619 PyErr_Clear();
26620 } else {
26621 _v = 1;
26622 }
26623 }
26624 if (_v) {
26625 {
26626 void *ptr;
26627 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26628 _v = 0;
26629 PyErr_Clear();
26630 } else {
26631 _v = 1;
26632 }
26633 }
26634 if (_v) {
26635 {
26636 void *ptr;
26637 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
26638 _v = 0;
26639 PyErr_Clear();
26640 } else {
26641 _v = 1;
26642 }
26643 }
26644 if (_v) {
26645 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
26646 }
26647 }
26648 }
26649 }
26650 if (argc == 3) {
26651 int _v;
26652 {
26653 void *ptr;
26654 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26655 _v = 0;
26656 PyErr_Clear();
26657 } else {
26658 _v = 1;
26659 }
26660 }
26661 if (_v) {
26662 {
26663 void *ptr;
26664 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26665 _v = 0;
26666 PyErr_Clear();
26667 } else {
26668 _v = 1;
26669 }
26670 }
26671 if (_v) {
26672 {
26673 void *ptr;
26674 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
26675 _v = 0;
26676 PyErr_Clear();
26677 } else {
26678 _v = 1;
26679 }
26680 }
26681 if (_v) {
26682 return _wrap_new_PyPrintPreview__SWIG_2(self,args);
26683 }
26684 }
26685 }
26686 }
26687
26688 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
26689 return NULL;
26690 }
26691
26692
26693 static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
26694 PyObject *resultobj = NULL;
26695 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26696 PyObject *arg2 = (PyObject *) 0 ;
26697 PyObject *arg3 = (PyObject *) 0 ;
26698 PyObject * obj0 = 0 ;
26699 PyObject * obj1 = 0 ;
26700 PyObject * obj2 = 0 ;
26701 char *kwnames[] = {
26702 (char *) "self",(char *) "self",(char *) "_class", NULL
26703 };
26704
26705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
26706 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26707 if (SWIG_arg_fail(1)) SWIG_fail;
26708 arg2 = obj1;
26709 arg3 = obj2;
26710 {
26711 PyThreadState* __tstate = wxPyBeginAllowThreads();
26712 (arg1)->_setCallbackInfo(arg2,arg3);
26713
26714 wxPyEndAllowThreads(__tstate);
26715 if (PyErr_Occurred()) SWIG_fail;
26716 }
26717 Py_INCREF(Py_None); resultobj = Py_None;
26718 return resultobj;
26719 fail:
26720 return NULL;
26721 }
26722
26723
26724 static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
26725 PyObject *resultobj = NULL;
26726 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26727 int arg2 ;
26728 bool result;
26729 PyObject * obj0 = 0 ;
26730 PyObject * obj1 = 0 ;
26731 char *kwnames[] = {
26732 (char *) "self",(char *) "pageNum", NULL
26733 };
26734
26735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
26736 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26737 if (SWIG_arg_fail(1)) SWIG_fail;
26738 {
26739 arg2 = static_cast<int >(SWIG_As_int(obj1));
26740 if (SWIG_arg_fail(2)) SWIG_fail;
26741 }
26742 {
26743 PyThreadState* __tstate = wxPyBeginAllowThreads();
26744 result = (bool)(arg1)->base_SetCurrentPage(arg2);
26745
26746 wxPyEndAllowThreads(__tstate);
26747 if (PyErr_Occurred()) SWIG_fail;
26748 }
26749 {
26750 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26751 }
26752 return resultobj;
26753 fail:
26754 return NULL;
26755 }
26756
26757
26758 static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
26759 PyObject *resultobj = NULL;
26760 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26761 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26762 wxDC *arg3 = 0 ;
26763 bool result;
26764 PyObject * obj0 = 0 ;
26765 PyObject * obj1 = 0 ;
26766 PyObject * obj2 = 0 ;
26767 char *kwnames[] = {
26768 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26769 };
26770
26771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
26772 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26773 if (SWIG_arg_fail(1)) SWIG_fail;
26774 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26775 if (SWIG_arg_fail(2)) SWIG_fail;
26776 {
26777 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26778 if (SWIG_arg_fail(3)) SWIG_fail;
26779 if (arg3 == NULL) {
26780 SWIG_null_ref("wxDC");
26781 }
26782 if (SWIG_arg_fail(3)) SWIG_fail;
26783 }
26784 {
26785 PyThreadState* __tstate = wxPyBeginAllowThreads();
26786 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
26787
26788 wxPyEndAllowThreads(__tstate);
26789 if (PyErr_Occurred()) SWIG_fail;
26790 }
26791 {
26792 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26793 }
26794 return resultobj;
26795 fail:
26796 return NULL;
26797 }
26798
26799
26800 static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
26801 PyObject *resultobj = NULL;
26802 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26803 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26804 wxDC *arg3 = 0 ;
26805 bool result;
26806 PyObject * obj0 = 0 ;
26807 PyObject * obj1 = 0 ;
26808 PyObject * obj2 = 0 ;
26809 char *kwnames[] = {
26810 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26811 };
26812
26813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
26814 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26815 if (SWIG_arg_fail(1)) SWIG_fail;
26816 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26817 if (SWIG_arg_fail(2)) SWIG_fail;
26818 {
26819 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26820 if (SWIG_arg_fail(3)) SWIG_fail;
26821 if (arg3 == NULL) {
26822 SWIG_null_ref("wxDC");
26823 }
26824 if (SWIG_arg_fail(3)) SWIG_fail;
26825 }
26826 {
26827 PyThreadState* __tstate = wxPyBeginAllowThreads();
26828 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
26829
26830 wxPyEndAllowThreads(__tstate);
26831 if (PyErr_Occurred()) SWIG_fail;
26832 }
26833 {
26834 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26835 }
26836 return resultobj;
26837 fail:
26838 return NULL;
26839 }
26840
26841
26842 static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
26843 PyObject *resultobj = NULL;
26844 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26845 int arg2 ;
26846 bool result;
26847 PyObject * obj0 = 0 ;
26848 PyObject * obj1 = 0 ;
26849 char *kwnames[] = {
26850 (char *) "self",(char *) "pageNum", NULL
26851 };
26852
26853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail;
26854 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26855 if (SWIG_arg_fail(1)) SWIG_fail;
26856 {
26857 arg2 = static_cast<int >(SWIG_As_int(obj1));
26858 if (SWIG_arg_fail(2)) SWIG_fail;
26859 }
26860 {
26861 PyThreadState* __tstate = wxPyBeginAllowThreads();
26862 result = (bool)(arg1)->base_RenderPage(arg2);
26863
26864 wxPyEndAllowThreads(__tstate);
26865 if (PyErr_Occurred()) SWIG_fail;
26866 }
26867 {
26868 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26869 }
26870 return resultobj;
26871 fail:
26872 return NULL;
26873 }
26874
26875
26876 static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
26877 PyObject *resultobj = NULL;
26878 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26879 int arg2 ;
26880 PyObject * obj0 = 0 ;
26881 PyObject * obj1 = 0 ;
26882 char *kwnames[] = {
26883 (char *) "self",(char *) "percent", NULL
26884 };
26885
26886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail;
26887 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26888 if (SWIG_arg_fail(1)) SWIG_fail;
26889 {
26890 arg2 = static_cast<int >(SWIG_As_int(obj1));
26891 if (SWIG_arg_fail(2)) SWIG_fail;
26892 }
26893 {
26894 PyThreadState* __tstate = wxPyBeginAllowThreads();
26895 (arg1)->base_SetZoom(arg2);
26896
26897 wxPyEndAllowThreads(__tstate);
26898 if (PyErr_Occurred()) SWIG_fail;
26899 }
26900 Py_INCREF(Py_None); resultobj = Py_None;
26901 return resultobj;
26902 fail:
26903 return NULL;
26904 }
26905
26906
26907 static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *, PyObject *args, PyObject *kwargs) {
26908 PyObject *resultobj = NULL;
26909 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26910 bool arg2 ;
26911 bool result;
26912 PyObject * obj0 = 0 ;
26913 PyObject * obj1 = 0 ;
26914 char *kwnames[] = {
26915 (char *) "self",(char *) "interactive", NULL
26916 };
26917
26918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
26919 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26920 if (SWIG_arg_fail(1)) SWIG_fail;
26921 {
26922 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
26923 if (SWIG_arg_fail(2)) SWIG_fail;
26924 }
26925 {
26926 PyThreadState* __tstate = wxPyBeginAllowThreads();
26927 result = (bool)(arg1)->base_Print(arg2);
26928
26929 wxPyEndAllowThreads(__tstate);
26930 if (PyErr_Occurred()) SWIG_fail;
26931 }
26932 {
26933 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26934 }
26935 return resultobj;
26936 fail:
26937 return NULL;
26938 }
26939
26940
26941 static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
26942 PyObject *resultobj = NULL;
26943 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26944 PyObject * obj0 = 0 ;
26945 char *kwnames[] = {
26946 (char *) "self", NULL
26947 };
26948
26949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
26950 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26951 if (SWIG_arg_fail(1)) SWIG_fail;
26952 {
26953 PyThreadState* __tstate = wxPyBeginAllowThreads();
26954 (arg1)->base_DetermineScaling();
26955
26956 wxPyEndAllowThreads(__tstate);
26957 if (PyErr_Occurred()) SWIG_fail;
26958 }
26959 Py_INCREF(Py_None); resultobj = Py_None;
26960 return resultobj;
26961 fail:
26962 return NULL;
26963 }
26964
26965
26966 static PyObject * PyPrintPreview_swigregister(PyObject *, PyObject *args) {
26967 PyObject *obj;
26968 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26969 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
26970 Py_INCREF(obj);
26971 return Py_BuildValue((char *)"");
26972 }
26973 static PyObject *_wrap_new_PyPreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
26974 PyObject *resultobj = NULL;
26975 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26976 wxFrame *arg2 = (wxFrame *) 0 ;
26977 wxString *arg3 = 0 ;
26978 wxPoint const &arg4_defvalue = wxDefaultPosition ;
26979 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
26980 wxSize const &arg5_defvalue = wxDefaultSize ;
26981 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
26982 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
26983 wxString const &arg7_defvalue = wxPyFrameNameStr ;
26984 wxString *arg7 = (wxString *) &arg7_defvalue ;
26985 wxPyPreviewFrame *result;
26986 bool temp3 = false ;
26987 wxPoint temp4 ;
26988 wxSize temp5 ;
26989 bool temp7 = false ;
26990 PyObject * obj0 = 0 ;
26991 PyObject * obj1 = 0 ;
26992 PyObject * obj2 = 0 ;
26993 PyObject * obj3 = 0 ;
26994 PyObject * obj4 = 0 ;
26995 PyObject * obj5 = 0 ;
26996 PyObject * obj6 = 0 ;
26997 char *kwnames[] = {
26998 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
26999 };
27000
27001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27002 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27003 if (SWIG_arg_fail(1)) SWIG_fail;
27004 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
27005 if (SWIG_arg_fail(2)) SWIG_fail;
27006 {
27007 arg3 = wxString_in_helper(obj2);
27008 if (arg3 == NULL) SWIG_fail;
27009 temp3 = true;
27010 }
27011 if (obj3) {
27012 {
27013 arg4 = &temp4;
27014 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
27015 }
27016 }
27017 if (obj4) {
27018 {
27019 arg5 = &temp5;
27020 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
27021 }
27022 }
27023 if (obj5) {
27024 {
27025 arg6 = static_cast<long >(SWIG_As_long(obj5));
27026 if (SWIG_arg_fail(6)) SWIG_fail;
27027 }
27028 }
27029 if (obj6) {
27030 {
27031 arg7 = wxString_in_helper(obj6);
27032 if (arg7 == NULL) SWIG_fail;
27033 temp7 = true;
27034 }
27035 }
27036 {
27037 if (!wxPyCheckForApp()) SWIG_fail;
27038 PyThreadState* __tstate = wxPyBeginAllowThreads();
27039 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
27040
27041 wxPyEndAllowThreads(__tstate);
27042 if (PyErr_Occurred()) SWIG_fail;
27043 }
27044 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1);
27045 {
27046 if (temp3)
27047 delete arg3;
27048 }
27049 {
27050 if (temp7)
27051 delete arg7;
27052 }
27053 return resultobj;
27054 fail:
27055 {
27056 if (temp3)
27057 delete arg3;
27058 }
27059 {
27060 if (temp7)
27061 delete arg7;
27062 }
27063 return NULL;
27064 }
27065
27066
27067 static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
27068 PyObject *resultobj = NULL;
27069 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27070 PyObject *arg2 = (PyObject *) 0 ;
27071 PyObject *arg3 = (PyObject *) 0 ;
27072 PyObject * obj0 = 0 ;
27073 PyObject * obj1 = 0 ;
27074 PyObject * obj2 = 0 ;
27075 char *kwnames[] = {
27076 (char *) "self",(char *) "self",(char *) "_class", NULL
27077 };
27078
27079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
27080 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27081 if (SWIG_arg_fail(1)) SWIG_fail;
27082 arg2 = obj1;
27083 arg3 = obj2;
27084 {
27085 PyThreadState* __tstate = wxPyBeginAllowThreads();
27086 (arg1)->_setCallbackInfo(arg2,arg3);
27087
27088 wxPyEndAllowThreads(__tstate);
27089 if (PyErr_Occurred()) SWIG_fail;
27090 }
27091 Py_INCREF(Py_None); resultobj = Py_None;
27092 return resultobj;
27093 fail:
27094 return NULL;
27095 }
27096
27097
27098 static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
27099 PyObject *resultobj = NULL;
27100 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27101 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
27102 PyObject * obj0 = 0 ;
27103 PyObject * obj1 = 0 ;
27104 char *kwnames[] = {
27105 (char *) "self",(char *) "canvas", NULL
27106 };
27107
27108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
27109 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27110 if (SWIG_arg_fail(1)) SWIG_fail;
27111 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
27112 if (SWIG_arg_fail(2)) SWIG_fail;
27113 {
27114 PyThreadState* __tstate = wxPyBeginAllowThreads();
27115 (arg1)->SetPreviewCanvas(arg2);
27116
27117 wxPyEndAllowThreads(__tstate);
27118 if (PyErr_Occurred()) SWIG_fail;
27119 }
27120 Py_INCREF(Py_None); resultobj = Py_None;
27121 return resultobj;
27122 fail:
27123 return NULL;
27124 }
27125
27126
27127 static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
27128 PyObject *resultobj = NULL;
27129 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27130 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
27131 PyObject * obj0 = 0 ;
27132 PyObject * obj1 = 0 ;
27133 char *kwnames[] = {
27134 (char *) "self",(char *) "bar", NULL
27135 };
27136
27137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
27138 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27139 if (SWIG_arg_fail(1)) SWIG_fail;
27140 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27141 if (SWIG_arg_fail(2)) SWIG_fail;
27142 {
27143 PyThreadState* __tstate = wxPyBeginAllowThreads();
27144 (arg1)->SetControlBar(arg2);
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 *_wrap_PyPreviewFrame_base_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
27157 PyObject *resultobj = NULL;
27158 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27159 PyObject * obj0 = 0 ;
27160 char *kwnames[] = {
27161 (char *) "self", NULL
27162 };
27163
27164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
27165 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27166 if (SWIG_arg_fail(1)) SWIG_fail;
27167 {
27168 PyThreadState* __tstate = wxPyBeginAllowThreads();
27169 (arg1)->base_Initialize();
27170
27171 wxPyEndAllowThreads(__tstate);
27172 if (PyErr_Occurred()) SWIG_fail;
27173 }
27174 Py_INCREF(Py_None); resultobj = Py_None;
27175 return resultobj;
27176 fail:
27177 return NULL;
27178 }
27179
27180
27181 static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
27182 PyObject *resultobj = NULL;
27183 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27184 PyObject * obj0 = 0 ;
27185 char *kwnames[] = {
27186 (char *) "self", NULL
27187 };
27188
27189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
27190 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27191 if (SWIG_arg_fail(1)) SWIG_fail;
27192 {
27193 PyThreadState* __tstate = wxPyBeginAllowThreads();
27194 (arg1)->base_CreateCanvas();
27195
27196 wxPyEndAllowThreads(__tstate);
27197 if (PyErr_Occurred()) SWIG_fail;
27198 }
27199 Py_INCREF(Py_None); resultobj = Py_None;
27200 return resultobj;
27201 fail:
27202 return NULL;
27203 }
27204
27205
27206 static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
27207 PyObject *resultobj = NULL;
27208 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27209 PyObject * obj0 = 0 ;
27210 char *kwnames[] = {
27211 (char *) "self", NULL
27212 };
27213
27214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
27215 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27216 if (SWIG_arg_fail(1)) SWIG_fail;
27217 {
27218 PyThreadState* __tstate = wxPyBeginAllowThreads();
27219 (arg1)->base_CreateControlBar();
27220
27221 wxPyEndAllowThreads(__tstate);
27222 if (PyErr_Occurred()) SWIG_fail;
27223 }
27224 Py_INCREF(Py_None); resultobj = Py_None;
27225 return resultobj;
27226 fail:
27227 return NULL;
27228 }
27229
27230
27231 static PyObject * PyPreviewFrame_swigregister(PyObject *, PyObject *args) {
27232 PyObject *obj;
27233 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27234 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
27235 Py_INCREF(obj);
27236 return Py_BuildValue((char *)"");
27237 }
27238 static PyObject *_wrap_new_PyPreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
27239 PyObject *resultobj = NULL;
27240 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
27241 long arg2 ;
27242 wxWindow *arg3 = (wxWindow *) 0 ;
27243 wxPoint const &arg4_defvalue = wxDefaultPosition ;
27244 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
27245 wxSize const &arg5_defvalue = wxDefaultSize ;
27246 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
27247 long arg6 = (long) 0 ;
27248 wxString const &arg7_defvalue = wxPyPanelNameStr ;
27249 wxString *arg7 = (wxString *) &arg7_defvalue ;
27250 wxPyPreviewControlBar *result;
27251 wxPoint temp4 ;
27252 wxSize temp5 ;
27253 bool temp7 = false ;
27254 PyObject * obj0 = 0 ;
27255 PyObject * obj1 = 0 ;
27256 PyObject * obj2 = 0 ;
27257 PyObject * obj3 = 0 ;
27258 PyObject * obj4 = 0 ;
27259 PyObject * obj5 = 0 ;
27260 PyObject * obj6 = 0 ;
27261 char *kwnames[] = {
27262 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27263 };
27264
27265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27266 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27267 if (SWIG_arg_fail(1)) SWIG_fail;
27268 {
27269 arg2 = static_cast<long >(SWIG_As_long(obj1));
27270 if (SWIG_arg_fail(2)) SWIG_fail;
27271 }
27272 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27273 if (SWIG_arg_fail(3)) SWIG_fail;
27274 if (obj3) {
27275 {
27276 arg4 = &temp4;
27277 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
27278 }
27279 }
27280 if (obj4) {
27281 {
27282 arg5 = &temp5;
27283 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
27284 }
27285 }
27286 if (obj5) {
27287 {
27288 arg6 = static_cast<long >(SWIG_As_long(obj5));
27289 if (SWIG_arg_fail(6)) SWIG_fail;
27290 }
27291 }
27292 if (obj6) {
27293 {
27294 arg7 = wxString_in_helper(obj6);
27295 if (arg7 == NULL) SWIG_fail;
27296 temp7 = true;
27297 }
27298 }
27299 {
27300 if (!wxPyCheckForApp()) SWIG_fail;
27301 PyThreadState* __tstate = wxPyBeginAllowThreads();
27302 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
27303
27304 wxPyEndAllowThreads(__tstate);
27305 if (PyErr_Occurred()) SWIG_fail;
27306 }
27307 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1);
27308 {
27309 if (temp7)
27310 delete arg7;
27311 }
27312 return resultobj;
27313 fail:
27314 {
27315 if (temp7)
27316 delete arg7;
27317 }
27318 return NULL;
27319 }
27320
27321
27322 static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
27323 PyObject *resultobj = NULL;
27324 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27325 PyObject *arg2 = (PyObject *) 0 ;
27326 PyObject *arg3 = (PyObject *) 0 ;
27327 PyObject * obj0 = 0 ;
27328 PyObject * obj1 = 0 ;
27329 PyObject * obj2 = 0 ;
27330 char *kwnames[] = {
27331 (char *) "self",(char *) "self",(char *) "_class", NULL
27332 };
27333
27334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
27335 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27336 if (SWIG_arg_fail(1)) SWIG_fail;
27337 arg2 = obj1;
27338 arg3 = obj2;
27339 {
27340 PyThreadState* __tstate = wxPyBeginAllowThreads();
27341 (arg1)->_setCallbackInfo(arg2,arg3);
27342
27343 wxPyEndAllowThreads(__tstate);
27344 if (PyErr_Occurred()) SWIG_fail;
27345 }
27346 Py_INCREF(Py_None); resultobj = Py_None;
27347 return resultobj;
27348 fail:
27349 return NULL;
27350 }
27351
27352
27353 static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
27354 PyObject *resultobj = NULL;
27355 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27356 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
27357 PyObject * obj0 = 0 ;
27358 PyObject * obj1 = 0 ;
27359 char *kwnames[] = {
27360 (char *) "self",(char *) "preview", NULL
27361 };
27362
27363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
27364 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27365 if (SWIG_arg_fail(1)) SWIG_fail;
27366 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27367 if (SWIG_arg_fail(2)) SWIG_fail;
27368 {
27369 PyThreadState* __tstate = wxPyBeginAllowThreads();
27370 (arg1)->SetPrintPreview(arg2);
27371
27372 wxPyEndAllowThreads(__tstate);
27373 if (PyErr_Occurred()) SWIG_fail;
27374 }
27375 Py_INCREF(Py_None); resultobj = Py_None;
27376 return resultobj;
27377 fail:
27378 return NULL;
27379 }
27380
27381
27382 static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *, PyObject *args, PyObject *kwargs) {
27383 PyObject *resultobj = NULL;
27384 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27385 PyObject * obj0 = 0 ;
27386 char *kwnames[] = {
27387 (char *) "self", NULL
27388 };
27389
27390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
27391 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27392 if (SWIG_arg_fail(1)) SWIG_fail;
27393 {
27394 PyThreadState* __tstate = wxPyBeginAllowThreads();
27395 (arg1)->base_CreateButtons();
27396
27397 wxPyEndAllowThreads(__tstate);
27398 if (PyErr_Occurred()) SWIG_fail;
27399 }
27400 Py_INCREF(Py_None); resultobj = Py_None;
27401 return resultobj;
27402 fail:
27403 return NULL;
27404 }
27405
27406
27407 static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
27408 PyObject *resultobj = NULL;
27409 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27410 int arg2 ;
27411 PyObject * obj0 = 0 ;
27412 PyObject * obj1 = 0 ;
27413 char *kwnames[] = {
27414 (char *) "self",(char *) "zoom", NULL
27415 };
27416
27417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
27418 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27419 if (SWIG_arg_fail(1)) SWIG_fail;
27420 {
27421 arg2 = static_cast<int >(SWIG_As_int(obj1));
27422 if (SWIG_arg_fail(2)) SWIG_fail;
27423 }
27424 {
27425 PyThreadState* __tstate = wxPyBeginAllowThreads();
27426 (arg1)->base_SetZoomControl(arg2);
27427
27428 wxPyEndAllowThreads(__tstate);
27429 if (PyErr_Occurred()) SWIG_fail;
27430 }
27431 Py_INCREF(Py_None); resultobj = Py_None;
27432 return resultobj;
27433 fail:
27434 return NULL;
27435 }
27436
27437
27438 static PyObject * PyPreviewControlBar_swigregister(PyObject *, PyObject *args) {
27439 PyObject *obj;
27440 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27441 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
27442 Py_INCREF(obj);
27443 return Py_BuildValue((char *)"");
27444 }
27445 static PyMethodDef SwigMethods[] = {
27446 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
27447 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS, NULL},
27448 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27449 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27450 { (char *)"Panel_SetFocus", (PyCFunction) _wrap_Panel_SetFocus, METH_VARARGS | METH_KEYWORDS, NULL},
27451 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction) _wrap_Panel_SetFocusIgnoringChildren, METH_VARARGS | METH_KEYWORDS, NULL},
27452 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27453 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
27454 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27455 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27456 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27457 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
27458 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
27459 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
27460 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
27461 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
27462 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS, NULL},
27463 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
27464 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS, NULL},
27465 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
27466 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS, NULL},
27467 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS, NULL},
27468 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
27469 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
27470 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
27471 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
27472 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27473 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27474 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL},
27475 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL},
27476 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
27477 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27478 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
27479 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
27480 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS, NULL},
27481 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
27482 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS, NULL},
27483 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS, NULL},
27484 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27485 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27486 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
27487 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
27488 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
27489 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
27490 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
27491 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
27492 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
27493 { (char *)"TopLevelWindow_IsActive", (PyCFunction) _wrap_TopLevelWindow_IsActive, METH_VARARGS | METH_KEYWORDS, NULL},
27494 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
27495 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacGetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
27496 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
27497 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
27498 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27499 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27500 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
27501 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27502 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
27503 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
27504 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
27505 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27506 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27507 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27508 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27509 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
27510 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27511 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27512 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
27513 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
27514 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27515 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27516 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27517 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27518 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
27519 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27520 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
27521 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
27522 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27523 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27524 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
27525 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
27526 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
27527 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
27528 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
27529 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS, NULL},
27530 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL},
27531 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
27532 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27533 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
27534 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27535 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27536 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27537 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
27538 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27539 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
27540 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
27541 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
27542 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
27543 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS, NULL},
27544 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27545 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS, NULL},
27546 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
27547 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27548 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27549 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27550 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
27551 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
27552 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27553 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27554 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27555 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27556 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
27557 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
27558 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
27559 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
27560 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS, NULL},
27561 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS, NULL},
27562 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27563 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
27564 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27565 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27566 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27567 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS, NULL},
27568 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS, NULL},
27569 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
27570 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
27571 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
27572 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
27573 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
27574 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
27575 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27576 { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS, NULL},
27577 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS, NULL},
27578 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
27579 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27580 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
27581 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27582 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27583 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27584 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
27585 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction) _wrap_SplitterWindow_GetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
27586 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
27587 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
27588 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
27589 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL},
27590 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
27591 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
27592 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27593 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
27594 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27595 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27596 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27597 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS, NULL},
27598 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL},
27599 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL},
27600 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
27601 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27602 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27603 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27604 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
27605 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
27606 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL},
27607 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL},
27608 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
27609 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27610 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27611 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27612 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27613 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27614 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27615 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27616 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27617 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27618 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27619 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27620 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27621 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
27622 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL},
27623 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
27624 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27625 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
27626 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
27627 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
27628 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
27629 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
27630 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
27631 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
27632 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27633 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
27634 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
27635 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27636 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27637 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27638 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27639 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27640 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27641 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27642 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27643 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
27644 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27645 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27646 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27647 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
27648 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS, NULL},
27649 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
27650 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27651 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27652 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27653 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27654 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27655 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27656 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
27657 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27658 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
27659 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL},
27660 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL},
27661 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27662 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27663 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27664 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
27665 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27666 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27667 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
27668 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27669 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27670 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
27671 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27672 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
27673 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS, NULL},
27674 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
27675 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27676 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27677 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27678 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27679 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
27680 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
27681 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS, NULL},
27682 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS, NULL},
27683 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL},
27684 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL},
27685 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
27686 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
27687 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL},
27688 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
27689 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction) _wrap_VScrolledWindow_GetVisibleBegin, METH_VARARGS | METH_KEYWORDS, NULL},
27690 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction) _wrap_VScrolledWindow_GetVisibleEnd, METH_VARARGS | METH_KEYWORDS, NULL},
27691 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
27692 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL},
27693 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL},
27694 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
27695 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
27696 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS, NULL},
27697 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27698 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27699 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
27700 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27701 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27702 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
27703 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
27704 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS, NULL},
27705 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL},
27706 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
27707 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
27708 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
27709 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
27710 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
27711 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27712 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
27713 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
27714 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
27715 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
27716 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
27717 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
27718 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
27719 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
27720 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
27721 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
27722 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
27723 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27724 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27725 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL},
27726 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
27727 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction) _wrap_HtmlListBox_GetFileSystem, METH_VARARGS | METH_KEYWORDS, NULL},
27728 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
27729 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27730 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27731 { (char *)"TaskBarIcon_Destroy", (PyCFunction) _wrap_TaskBarIcon_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
27732 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
27733 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS, NULL},
27734 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27735 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27736 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
27737 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
27738 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27739 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
27740 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS, NULL},
27741 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS, NULL},
27742 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
27743 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27744 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
27745 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
27746 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27747 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
27748 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
27749 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27750 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS, NULL},
27751 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
27752 { (char *)"GetColourFromUser", (PyCFunction) _wrap_GetColourFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
27753 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27754 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
27755 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
27756 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
27757 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
27758 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
27759 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
27760 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27761 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
27762 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
27763 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
27764 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
27765 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
27766 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
27767 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
27768 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
27769 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
27770 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
27771 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
27772 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
27773 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
27774 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
27775 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS, NULL},
27776 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS, NULL},
27777 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
27778 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27779 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
27780 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
27781 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
27782 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27783 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27784 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27785 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27786 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
27787 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27788 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
27789 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
27790 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
27791 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27792 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
27793 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS, NULL},
27794 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS, NULL},
27795 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
27796 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
27797 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27798 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
27799 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
27800 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
27801 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27802 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
27803 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
27804 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27805 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
27806 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
27807 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27808 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
27809 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27810 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS, NULL},
27811 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
27812 { (char *)"GetFontFromUser", (PyCFunction) _wrap_GetFontFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
27813 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27814 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
27815 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27816 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
27817 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS, NULL},
27818 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
27819 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27820 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27821 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
27822 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
27823 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27824 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27825 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
27826 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
27827 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
27828 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
27829 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
27830 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
27831 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
27832 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27833 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27834 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
27835 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
27836 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
27837 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27838 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27839 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27840 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
27841 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
27842 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
27843 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27844 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27845 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27846 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS, NULL},
27847 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS, NULL},
27848 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS, NULL},
27849 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS, NULL},
27850 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS, NULL},
27851 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27852 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27853 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
27854 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
27855 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27856 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27857 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27858 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS, NULL},
27859 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
27860 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS, NULL},
27861 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
27862 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27863 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27864 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27865 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
27866 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27867 { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27868 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27869 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
27870 { (char *)"PyWindow_DoEraseBackground", (PyCFunction) _wrap_PyWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
27871 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27872 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27873 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
27874 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
27875 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27876 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
27877 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27878 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
27879 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
27880 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27881 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27882 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27883 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
27884 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
27885 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
27886 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
27887 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
27888 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
27889 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
27890 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27891 { (char *)"PyWindow_base_OnInternalIdle", (PyCFunction) _wrap_PyWindow_base_OnInternalIdle, METH_VARARGS | METH_KEYWORDS, NULL},
27892 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
27893 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
27894 { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
27895 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27896 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
27897 { (char *)"PyPanel_DoEraseBackground", (PyCFunction) _wrap_PyPanel_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
27898 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27899 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27900 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
27901 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
27902 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27903 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
27904 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27905 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
27906 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
27907 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27908 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27909 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27910 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
27911 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
27912 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
27913 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
27914 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
27915 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
27916 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
27917 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction) _wrap_PyPanel_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27918 { (char *)"PyPanel_base_OnInternalIdle", (PyCFunction) _wrap_PyPanel_base_OnInternalIdle, METH_VARARGS | METH_KEYWORDS, NULL},
27919 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
27920 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27921 { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27922 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27923 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
27924 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction) _wrap_PyScrolledWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
27925 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27926 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27927 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
27928 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
27929 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27930 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
27931 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27932 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
27933 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
27934 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27935 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27936 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27937 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction) _wrap_PyScrolledWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
27938 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
27939 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
27940 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
27941 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
27942 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
27943 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
27944 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyScrolledWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27945 { (char *)"PyScrolledWindow_base_OnInternalIdle", (PyCFunction) _wrap_PyScrolledWindow_base_OnInternalIdle, METH_VARARGS | METH_KEYWORDS, NULL},
27946 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
27947 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
27948 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS, NULL},
27949 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
27950 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
27951 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27952 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
27953 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
27954 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27955 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
27956 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
27957 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
27958 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
27959 { (char *)"PrintData_GetBin", (PyCFunction) _wrap_PrintData_GetBin, METH_VARARGS | METH_KEYWORDS, NULL},
27960 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
27961 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
27962 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
27963 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27964 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
27965 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27966 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
27967 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
27968 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
27969 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
27970 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
27971 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
27972 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
27973 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
27974 { (char *)"PrintData_GetPrivData", (PyCFunction) _wrap_PrintData_GetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
27975 { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
27976 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
27977 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
27978 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
27979 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27980 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
27981 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27982 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
27983 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
27984 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
27985 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
27986 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27987 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
27988 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
27989 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27990 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27991 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
27992 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
27993 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
27994 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
27995 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
27996 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
27997 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
27998 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
27999 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28000 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28001 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
28002 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
28003 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
28004 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
28005 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
28006 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28007 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28008 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction) _wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28009 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction) _wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_VARARGS | METH_KEYWORDS, NULL},
28010 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
28011 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28012 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS, NULL},
28013 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28014 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL},
28015 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
28016 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
28017 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28018 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
28019 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
28020 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
28021 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
28022 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
28023 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
28024 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28025 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
28026 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
28027 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
28028 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
28029 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
28030 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
28031 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
28032 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
28033 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28034 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
28035 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
28036 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
28037 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28038 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
28039 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28040 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
28041 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28042 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
28043 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28044 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
28045 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28046 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28047 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
28048 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28049 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL},
28050 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28051 { (char *)"PrintDialog_GetPrintData", (PyCFunction) _wrap_PrintDialog_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28052 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS, NULL},
28053 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
28054 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
28055 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
28056 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28057 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
28058 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
28059 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
28060 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28061 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28062 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS, NULL},
28063 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS, NULL},
28064 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
28065 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
28066 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28067 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
28068 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS, NULL},
28069 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
28070 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
28071 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
28072 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
28073 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
28074 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
28075 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
28076 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
28077 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
28078 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28079 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28080 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
28081 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS, NULL},
28082 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28083 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28084 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28085 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
28086 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28087 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
28088 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28089 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
28090 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28091 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
28092 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28093 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28094 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28095 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
28096 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28097 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
28098 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
28099 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28100 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS, NULL},
28101 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS, NULL},
28102 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS, NULL},
28103 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS, NULL},
28104 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS, NULL},
28105 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
28106 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
28107 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
28108 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
28109 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
28110 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
28111 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28112 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28113 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28114 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28115 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28116 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
28117 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
28118 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
28119 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
28120 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28121 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
28122 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
28123 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
28124 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
28125 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
28126 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
28127 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
28128 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL},
28129 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
28130 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
28131 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28132 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
28133 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
28134 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
28135 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
28136 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
28137 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS, NULL},
28138 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL},
28139 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
28140 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28141 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28142 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28143 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28144 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
28145 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28146 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28147 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
28148 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28149 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28150 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28151 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS, NULL},
28152 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
28153 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
28154 { NULL, NULL, 0, NULL }
28155 };
28156
28157
28158 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28159
28160 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
28161 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28162 }
28163 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
28164 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
28165 }
28166 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
28167 return (void *)((wxEvent *) ((wxMenuEvent *) x));
28168 }
28169 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
28170 return (void *)((wxEvent *) ((wxCloseEvent *) x));
28171 }
28172 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
28173 return (void *)((wxEvent *) ((wxMouseEvent *) x));
28174 }
28175 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
28176 return (void *)((wxEvent *) ((wxEraseEvent *) x));
28177 }
28178 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
28179 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
28180 }
28181 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
28182 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
28183 }
28184 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
28185 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
28186 }
28187 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
28188 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
28189 }
28190 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
28191 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
28192 }
28193 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
28194 return (void *)((wxEvent *) ((wxPyEvent *) x));
28195 }
28196 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
28197 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
28198 }
28199 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
28200 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
28201 }
28202 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
28203 return (void *)((wxEvent *) ((wxIdleEvent *) x));
28204 }
28205 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
28206 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
28207 }
28208 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
28209 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
28210 }
28211 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
28212 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
28213 }
28214 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
28215 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
28216 }
28217 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
28218 return (void *)((wxEvent *) ((wxActivateEvent *) x));
28219 }
28220 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
28221 return (void *)((wxEvent *) ((wxSizeEvent *) x));
28222 }
28223 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
28224 return (void *)((wxEvent *) ((wxMoveEvent *) x));
28225 }
28226 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
28227 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
28228 }
28229 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
28230 return (void *)((wxEvent *) ((wxPaintEvent *) x));
28231 }
28232 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
28233 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
28234 }
28235 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
28236 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
28237 }
28238 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
28239 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
28240 }
28241 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
28242 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
28243 }
28244 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
28245 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
28246 }
28247 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
28248 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
28249 }
28250 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
28251 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
28252 }
28253 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
28254 return (void *)((wxEvent *) ((wxFocusEvent *) x));
28255 }
28256 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
28257 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
28258 }
28259 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
28260 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
28261 }
28262 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
28263 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
28264 }
28265 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
28266 return (void *)((wxEvent *) ((wxShowEvent *) x));
28267 }
28268 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
28269 return (void *)((wxEvent *) ((wxCommandEvent *) x));
28270 }
28271 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
28272 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
28273 }
28274 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
28275 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
28276 }
28277 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
28278 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
28279 }
28280 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
28281 return (void *)((wxEvent *) ((wxKeyEvent *) x));
28282 }
28283 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
28284 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
28285 }
28286 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
28287 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
28288 }
28289 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
28290 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
28291 }
28292 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
28293 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28294 }
28295 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
28296 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
28297 }
28298 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
28299 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
28300 }
28301 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
28302 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
28303 }
28304 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
28305 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
28306 }
28307 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
28308 return (void *)((wxEvtHandler *) ((wxValidator *) x));
28309 }
28310 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
28311 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
28312 }
28313 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
28314 return (void *)((wxEvtHandler *) ((wxMenu *) x));
28315 }
28316 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
28317 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28318 }
28319 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
28320 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
28321 }
28322 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
28323 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
28324 }
28325 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
28326 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
28327 }
28328 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
28329 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
28330 }
28331 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
28332 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
28333 }
28334 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
28335 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
28336 }
28337 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
28338 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
28339 }
28340 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
28341 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
28342 }
28343 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
28344 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
28345 }
28346 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
28347 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
28348 }
28349 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
28350 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
28351 }
28352 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
28353 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
28354 }
28355 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
28356 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
28357 }
28358 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
28359 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
28360 }
28361 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
28362 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
28363 }
28364 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
28365 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
28366 }
28367 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
28368 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
28369 }
28370 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
28371 return (void *)((wxEvtHandler *) ((wxWindow *) x));
28372 }
28373 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
28374 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
28375 }
28376 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
28377 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
28378 }
28379 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
28380 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
28381 }
28382 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
28383 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
28384 }
28385 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
28386 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
28387 }
28388 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
28389 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
28390 }
28391 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
28392 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28393 }
28394 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
28395 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
28396 }
28397 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
28398 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
28399 }
28400 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
28401 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
28402 }
28403 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
28404 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
28405 }
28406 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
28407 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
28408 }
28409 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
28410 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
28411 }
28412 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
28413 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
28414 }
28415 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
28416 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
28417 }
28418 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
28419 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
28420 }
28421 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
28422 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
28423 }
28424 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
28425 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
28426 }
28427 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
28428 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
28429 }
28430 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
28431 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
28432 }
28433 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
28434 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
28435 }
28436 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
28437 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
28438 }
28439 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
28440 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
28441 }
28442 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
28443 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
28444 }
28445 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
28446 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
28447 }
28448 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
28449 return (void *)((wxFrame *) ((wxProgressDialog *) x));
28450 }
28451 static void *_p_wxTipWindowTo_p_wxFrame(void *x) {
28452 return (void *)((wxFrame *) ((wxTipWindow *) x));
28453 }
28454 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
28455 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
28456 }
28457 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
28458 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28459 }
28460 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
28461 return (void *)((wxFrame *) ((wxMiniFrame *) x));
28462 }
28463 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
28464 return (void *)((wxFrame *) ((wxSplashScreen *) x));
28465 }
28466 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
28467 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
28468 }
28469 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
28470 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
28471 }
28472 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
28473 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
28474 }
28475 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
28476 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
28477 }
28478 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
28479 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28480 }
28481 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
28482 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
28483 }
28484 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
28485 return (void *)((wxObject *) ((wxSizerItem *) x));
28486 }
28487 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
28488 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
28489 }
28490 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
28491 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
28492 }
28493 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
28494 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
28495 }
28496 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
28497 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
28498 }
28499 static void *_p_wxSizerTo_p_wxObject(void *x) {
28500 return (void *)((wxObject *) ((wxSizer *) x));
28501 }
28502 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
28503 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
28504 }
28505 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
28506 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
28507 }
28508 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
28509 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
28510 }
28511 static void *_p_wxEventTo_p_wxObject(void *x) {
28512 return (void *)((wxObject *) ((wxEvent *) x));
28513 }
28514 static void *_p_wxFontDataTo_p_wxObject(void *x) {
28515 return (void *)((wxObject *) ((wxFontData *) x));
28516 }
28517 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
28518 return (void *)((wxObject *) ((wxPrintData *) x));
28519 }
28520 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
28521 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
28522 }
28523 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
28524 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
28525 }
28526 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
28527 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
28528 }
28529 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
28530 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
28531 }
28532 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
28533 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
28534 }
28535 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
28536 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
28537 }
28538 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
28539 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
28540 }
28541 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
28542 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
28543 }
28544 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
28545 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
28546 }
28547 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
28548 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
28549 }
28550 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
28551 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
28552 }
28553 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
28554 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
28555 }
28556 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
28557 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
28558 }
28559 static void *_p_wxControlTo_p_wxObject(void *x) {
28560 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
28561 }
28562 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
28563 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
28564 }
28565 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
28566 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
28567 }
28568 static void *_p_wxFSFileTo_p_wxObject(void *x) {
28569 return (void *)((wxObject *) ((wxFSFile *) x));
28570 }
28571 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
28572 return (void *)((wxObject *) ((wxFindReplaceData *) x));
28573 }
28574 static void *_p_wxPySizerTo_p_wxObject(void *x) {
28575 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
28576 }
28577 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
28578 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
28579 }
28580 static void *_p_wxColourDataTo_p_wxObject(void *x) {
28581 return (void *)((wxObject *) ((wxColourData *) x));
28582 }
28583 static void *_p_wxPyEventTo_p_wxObject(void *x) {
28584 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
28585 }
28586 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
28587 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
28588 }
28589 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
28590 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
28591 }
28592 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
28593 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
28594 }
28595 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
28596 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
28597 }
28598 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
28599 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
28600 }
28601 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
28602 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
28603 }
28604 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
28605 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
28606 }
28607 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
28608 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28609 }
28610 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
28611 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
28612 }
28613 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
28614 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
28615 }
28616 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
28617 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
28618 }
28619 static void *_p_wxShowEventTo_p_wxObject(void *x) {
28620 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
28621 }
28622 static void *_p_wxPrinterTo_p_wxObject(void *x) {
28623 return (void *)((wxObject *) ((wxPrinter *) x));
28624 }
28625 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
28626 return (void *)((wxObject *) ((wxMenuItem *) x));
28627 }
28628 static void *_p_wxDateEventTo_p_wxObject(void *x) {
28629 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
28630 }
28631 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
28632 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
28633 }
28634 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
28635 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
28636 }
28637 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
28638 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
28639 }
28640 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
28641 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
28642 }
28643 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
28644 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
28645 }
28646 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
28647 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
28648 }
28649 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
28650 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
28651 }
28652 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
28653 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
28654 }
28655 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
28656 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
28657 }
28658 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
28659 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
28660 }
28661 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
28662 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
28663 }
28664 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
28665 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
28666 }
28667 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
28668 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
28669 }
28670 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
28671 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
28672 }
28673 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
28674 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
28675 }
28676 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
28677 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
28678 }
28679 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
28680 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
28681 }
28682 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
28683 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
28684 }
28685 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
28686 return (void *)((wxObject *) ((wxImageHandler *) x));
28687 }
28688 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
28689 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
28690 }
28691 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
28692 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
28693 }
28694 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
28695 return (void *)((wxObject *) ((wxEvtHandler *) x));
28696 }
28697 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
28698 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
28699 }
28700 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
28701 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
28702 }
28703 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
28704 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
28705 }
28706 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
28707 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
28708 }
28709 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
28710 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
28711 }
28712 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
28713 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
28714 }
28715 static void *_p_wxImageTo_p_wxObject(void *x) {
28716 return (void *)((wxObject *) ((wxImage *) x));
28717 }
28718 static void *_p_wxFrameTo_p_wxObject(void *x) {
28719 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
28720 }
28721 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
28722 return (void *)((wxObject *) ((wxPyPrintout *) x));
28723 }
28724 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
28725 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
28726 }
28727 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
28728 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
28729 }
28730 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
28731 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
28732 }
28733 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
28734 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
28735 }
28736 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
28737 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
28738 }
28739 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
28740 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
28741 }
28742 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
28743 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
28744 }
28745 static void *_p_wxWindowTo_p_wxObject(void *x) {
28746 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
28747 }
28748 static void *_p_wxMenuTo_p_wxObject(void *x) {
28749 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
28750 }
28751 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
28752 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
28753 }
28754 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
28755 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
28756 }
28757 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
28758 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
28759 }
28760 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
28761 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
28762 }
28763 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
28764 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
28765 }
28766 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
28767 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
28768 }
28769 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
28770 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
28771 }
28772 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
28773 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
28774 }
28775 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
28776 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
28777 }
28778 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
28779 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
28780 }
28781 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
28782 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
28783 }
28784 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
28785 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
28786 }
28787 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
28788 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
28789 }
28790 static void *_p_wxSashEventTo_p_wxObject(void *x) {
28791 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
28792 }
28793 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
28794 return (void *)((wxObject *) ((wxPrintPreview *) x));
28795 }
28796 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
28797 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
28798 }
28799 static void *_p_wxPanelTo_p_wxObject(void *x) {
28800 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
28801 }
28802 static void *_p_wxDialogTo_p_wxObject(void *x) {
28803 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
28804 }
28805 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
28806 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
28807 }
28808 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
28809 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
28810 }
28811 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
28812 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
28813 }
28814 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
28815 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
28816 }
28817 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
28818 return (void *)((wxObject *) ((wxPrintDialog *) x));
28819 }
28820 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
28821 return (void *)((wxObject *) ((wxFileSystem *) x));
28822 }
28823 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
28824 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
28825 }
28826 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
28827 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
28828 }
28829 static void *_p_wxPyAppTo_p_wxObject(void *x) {
28830 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
28831 }
28832 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
28833 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
28834 }
28835 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
28836 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
28837 }
28838 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
28839 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
28840 }
28841 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
28842 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
28843 }
28844 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
28845 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
28846 }
28847 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
28848 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
28849 }
28850 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
28851 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
28852 }
28853 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
28854 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
28855 }
28856 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
28857 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
28858 }
28859 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
28860 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
28861 }
28862 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
28863 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
28864 }
28865 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
28866 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
28867 }
28868 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
28869 return (void *)((wxObject *) ((wxPrintDialogData *) x));
28870 }
28871 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
28872 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
28873 }
28874 static void *_p_wxValidatorTo_p_wxObject(void *x) {
28875 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
28876 }
28877 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
28878 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
28879 }
28880 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
28881 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
28882 }
28883 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
28884 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
28885 }
28886 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
28887 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
28888 }
28889 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
28890 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
28891 }
28892 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
28893 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
28894 }
28895 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
28896 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
28897 }
28898 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
28899 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
28900 }
28901 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
28902 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
28903 }
28904 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
28905 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
28906 }
28907 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
28908 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
28909 }
28910 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) {
28911 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x));
28912 }
28913 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
28914 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
28915 }
28916 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
28917 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
28918 }
28919 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
28920 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
28921 }
28922 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
28923 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28924 }
28925 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
28926 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
28927 }
28928 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
28929 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
28930 }
28931 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
28932 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
28933 }
28934 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
28935 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
28936 }
28937 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
28938 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
28939 }
28940 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
28941 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
28942 }
28943 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
28944 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
28945 }
28946 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
28947 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28948 }
28949 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
28950 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
28951 }
28952 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
28953 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
28954 }
28955 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
28956 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
28957 }
28958 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
28959 return (void *)((wxWindow *) ((wxMenuBar *) x));
28960 }
28961 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
28962 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
28963 }
28964 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
28965 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
28966 }
28967 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
28968 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
28969 }
28970 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
28971 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28972 }
28973 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
28974 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
28975 }
28976 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
28977 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
28978 }
28979 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
28980 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
28981 }
28982 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
28983 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
28984 }
28985 static void *_p_wxPanelTo_p_wxWindow(void *x) {
28986 return (void *)((wxWindow *) ((wxPanel *) x));
28987 }
28988 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
28989 return (void *)((wxWindow *) ((wxStatusBar *) x));
28990 }
28991 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
28992 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
28993 }
28994 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
28995 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
28996 }
28997 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
28998 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
28999 }
29000 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
29001 return (void *)((wxWindow *) ((wxPopupWindow *) x));
29002 }
29003 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
29004 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
29005 }
29006 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
29007 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
29008 }
29009 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
29010 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
29011 }
29012 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
29013 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
29014 }
29015 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
29016 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
29017 }
29018 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
29019 return (void *)((wxWindow *) ((wxSashWindow *) x));
29020 }
29021 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
29022 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
29023 }
29024 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
29025 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
29026 }
29027 static void *_p_wxControlTo_p_wxWindow(void *x) {
29028 return (void *)((wxWindow *) ((wxControl *) x));
29029 }
29030 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
29031 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
29032 }
29033 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
29034 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
29035 }
29036 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
29037 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
29038 }
29039 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
29040 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
29041 }
29042 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
29043 return (void *)((wxWindow *) ((wxPyWindow *) x));
29044 }
29045 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
29046 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
29047 }
29048 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
29049 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
29050 }
29051 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
29052 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
29053 }
29054 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
29055 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
29056 }
29057 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
29058 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29059 }
29060 static void *_p_wxFrameTo_p_wxWindow(void *x) {
29061 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
29062 }
29063 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
29064 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
29065 }
29066 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
29067 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
29068 }
29069 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
29070 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
29071 }
29072 static void *_p_wxDialogTo_p_wxWindow(void *x) {
29073 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
29074 }
29075 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
29076 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
29077 }
29078 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
29079 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
29080 }
29081 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
29082 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
29083 }
29084 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
29085 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
29086 }
29087 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
29088 return (void *)((wxDialog *) ((wxColourDialog *) x));
29089 }
29090 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
29091 return (void *)((wxDialog *) ((wxDirDialog *) x));
29092 }
29093 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
29094 return (void *)((wxDialog *) ((wxFontDialog *) x));
29095 }
29096 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
29097 return (void *)((wxDialog *) ((wxFileDialog *) x));
29098 }
29099 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
29100 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
29101 }
29102 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
29103 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
29104 }
29105 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
29106 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
29107 }
29108 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
29109 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
29110 }
29111 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
29112 return (void *)((wxDialog *) ((wxMessageDialog *) x));
29113 }
29114 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
29115 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
29116 }
29117 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
29118 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
29119 }
29120 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
29121 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
29122 }
29123 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
29124 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
29125 }
29126 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
29127 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
29128 }
29129 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
29130 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
29131 }
29132 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
29133 return (void *)((wxPanel *) ((wxPyPanel *) x));
29134 }
29135 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
29136 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
29137 }
29138 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
29139 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
29140 }
29141 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
29142 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29143 }
29144 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
29145 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
29146 }
29147 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
29148 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
29149 }
29150 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
29151 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
29152 }
29153 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
29154 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
29155 }
29156 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
29157 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
29158 }
29159 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
29160 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
29161 }
29162 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
29163 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
29164 }
29165 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
29166 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
29167 }
29168 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
29169 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
29170 }
29171 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
29172 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
29173 }
29174 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
29175 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
29176 }
29177 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
29178 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
29179 }
29180 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
29181 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29182 }
29183 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, 0};
29184 static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0};
29185 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, 0};
29186 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0};
29187 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0};
29188 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, 0};
29189 static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, 0};
29190 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, 0};
29191 static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, 0};
29192 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, 0};
29193 static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", "wxColourData *", 0, 0, 0};
29194 static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", "wxColourDialog *", 0, 0, 0};
29195 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, 0};
29196 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0};
29197 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0};
29198 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0};
29199 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0};
29200 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0};
29201 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0};
29202 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0};
29203 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0};
29204 static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, 0};
29205 static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, 0};
29206 static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", "wxDirDialog *", 0, 0, 0};
29207 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0};
29208 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, 0};
29209 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0};
29210 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0};
29211 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0};
29212 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0};
29213 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0};
29214 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0};
29215 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0};
29216 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0};
29217 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0};
29218 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0};
29219 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0};
29220 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0};
29221 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0};
29222 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0};
29223 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0};
29224 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0};
29225 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0};
29226 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0};
29227 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0};
29228 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0};
29229 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0};
29230 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0};
29231 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0};
29232 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0};
29233 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0};
29234 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0};
29235 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0};
29236 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0};
29237 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0};
29238 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0};
29239 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0};
29240 static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", "wxFileDialog *", 0, 0, 0};
29241 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, 0};
29242 static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, 0};
29243 static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, 0};
29244 static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, 0};
29245 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, 0};
29246 static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", "wxFontData *", 0, 0, 0};
29247 static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", "wxFontDialog *", 0, 0, 0};
29248 static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, 0};
29249 static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, 0};
29250 static swig_type_info _swigt__p_wxIconBundle = {"_p_wxIconBundle", "wxIconBundle *", 0, 0, 0};
29251 static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, 0};
29252 static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, 0};
29253 static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, 0};
29254 static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, 0};
29255 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, 0};
29256 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", "wxMenuBar *", 0, 0, 0};
29257 static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, 0};
29258 static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, 0};
29259 static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, 0};
29260 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, 0};
29261 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, 0};
29262 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0};
29263 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0};
29264 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0};
29265 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0};
29266 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0};
29267 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0};
29268 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0};
29269 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0};
29270 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0};
29271 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0};
29272 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0};
29273 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0};
29274 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0};
29275 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0};
29276 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0};
29277 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0};
29278 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0};
29279 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0};
29280 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0};
29281 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0};
29282 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0};
29283 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0};
29284 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0};
29285 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0};
29286 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0};
29287 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0};
29288 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0};
29289 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0};
29290 static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, 0};
29291 static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, 0};
29292 static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, 0};
29293 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0};
29294 static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, 0};
29295 static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, 0};
29296 static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, 0};
29297 static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, 0};
29298 static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, 0};
29299 static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, 0};
29300 static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, 0};
29301 static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, 0};
29302 static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, 0};
29303 static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, 0};
29304 static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", "wxPrinter *", 0, 0, 0};
29305 static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, 0};
29306 static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, 0};
29307 static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", "wxPyPanel *", 0, 0, 0};
29308 static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, 0};
29309 static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, 0};
29310 static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, 0};
29311 static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, 0};
29312 static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, 0};
29313 static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, 0};
29314 static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, 0};
29315 static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, 0};
29316 static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, 0};
29317 static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", "wxPyWindow *", 0, 0, 0};
29318 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, 0};
29319 static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, 0};
29320 static swig_type_info _swigt__p_wxRegion = {"_p_wxRegion", "wxRegion *", 0, 0, 0};
29321 static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", "wxSashEvent *", 0, 0, 0};
29322 static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, 0};
29323 static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", "wxSashWindow *", 0, 0, 0};
29324 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, 0};
29325 static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, 0};
29326 static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, 0};
29327 static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, 0};
29328 static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, 0};
29329 static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, 0};
29330 static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, 0};
29331 static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, 0};
29332 static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", "wxStatusBar *", 0, 0, 0};
29333 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, 0};
29334 static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, 0};
29335 static swig_type_info _swigt__p_wxTaskBarIcon = {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, 0};
29336 static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, 0};
29337 static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, 0};
29338 static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", "wxTipWindow *", 0, 0, 0};
29339 static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, 0};
29340 static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, 0};
29341 static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, 0};
29342 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, 0};
29343 static swig_type_info _swigt__ptrdiff_t = {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0};
29344 static swig_type_info _swigt__std__ptrdiff_t = {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0};
29345 static swig_type_info _swigt__unsigned_int = {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0};
29346
29347 static swig_type_info *swig_type_initial[] = {
29348 &_swigt__p_char,
29349 &_swigt__p_form_ops_t,
29350 &_swigt__p_int,
29351 &_swigt__p_unsigned_char,
29352 &_swigt__p_unsigned_int,
29353 &_swigt__p_unsigned_long,
29354 &_swigt__p_wxANIHandler,
29355 &_swigt__p_wxAcceleratorTable,
29356 &_swigt__p_wxActivateEvent,
29357 &_swigt__p_wxArrayInt,
29358 &_swigt__p_wxBMPHandler,
29359 &_swigt__p_wxBitmap,
29360 &_swigt__p_wxBoxSizer,
29361 &_swigt__p_wxCURHandler,
29362 &_swigt__p_wxCalculateLayoutEvent,
29363 &_swigt__p_wxChildFocusEvent,
29364 &_swigt__p_wxCloseEvent,
29365 &_swigt__p_wxColour,
29366 &_swigt__p_wxColourData,
29367 &_swigt__p_wxColourDialog,
29368 &_swigt__p_wxCommandEvent,
29369 &_swigt__p_wxContextMenuEvent,
29370 &_swigt__p_wxControl,
29371 &_swigt__p_wxControlWithItems,
29372 &_swigt__p_wxDC,
29373 &_swigt__p_wxDateEvent,
29374 &_swigt__p_wxDialog,
29375 &_swigt__p_wxDirDialog,
29376 &_swigt__p_wxDisplayChangedEvent,
29377 &_swigt__p_wxDropFilesEvent,
29378 &_swigt__p_wxDuplexMode,
29379 &_swigt__p_wxEraseEvent,
29380 &_swigt__p_wxEvent,
29381 &_swigt__p_wxEvtHandler,
29382 &_swigt__p_wxFSFile,
29383 &_swigt__p_wxFileDialog,
29384 &_swigt__p_wxFileSystem,
29385 &_swigt__p_wxFindDialogEvent,
29386 &_swigt__p_wxFindReplaceData,
29387 &_swigt__p_wxFindReplaceDialog,
29388 &_swigt__p_wxFlexGridSizer,
29389 &_swigt__p_wxFocusEvent,
29390 &_swigt__p_wxFont,
29391 &_swigt__p_wxFontData,
29392 &_swigt__p_wxFontDialog,
29393 &_swigt__p_wxFrame,
29394 &_swigt__p_wxGBSizerItem,
29395 &_swigt__p_wxGIFHandler,
29396 &_swigt__p_wxGridBagSizer,
29397 &_swigt__p_wxGridSizer,
29398 &_swigt__p_wxICOHandler,
29399 &_swigt__p_wxIcon,
29400 &_swigt__p_wxIconBundle,
29401 &_swigt__p_wxIconizeEvent,
29402 &_swigt__p_wxIdleEvent,
29403 &_swigt__p_wxImage,
29404 &_swigt__p_wxImageHandler,
29405 &_swigt__p_wxIndividualLayoutConstraint,
29406 &_swigt__p_wxInitDialogEvent,
29407 &_swigt__p_wxJPEGHandler,
29408 &_swigt__p_wxKeyEvent,
29409 &_swigt__p_wxLayoutAlgorithm,
29410 &_swigt__p_wxLayoutConstraints,
29411 &_swigt__p_wxMDIChildFrame,
29412 &_swigt__p_wxMDIClientWindow,
29413 &_swigt__p_wxMDIParentFrame,
29414 &_swigt__p_wxMaximizeEvent,
29415 &_swigt__p_wxMenu,
29416 &_swigt__p_wxMenuBar,
29417 &_swigt__p_wxMenuEvent,
29418 &_swigt__p_wxMenuItem,
29419 &_swigt__p_wxMessageDialog,
29420 &_swigt__p_wxMiniFrame,
29421 &_swigt__p_wxMouseCaptureChangedEvent,
29422 &_swigt__p_wxMouseEvent,
29423 &_swigt__p_wxMoveEvent,
29424 &_swigt__p_wxMultiChoiceDialog,
29425 &_swigt__p_wxNavigationKeyEvent,
29426 &_swigt__p_wxNcPaintEvent,
29427 &_swigt__p_wxNotifyEvent,
29428 &_swigt__p_wxObject,
29429 &_swigt__p_wxPCXHandler,
29430 &_swigt__p_wxPNGHandler,
29431 &_swigt__p_wxPNMHandler,
29432 &_swigt__p_wxPageSetupDialog,
29433 &_swigt__p_wxPageSetupDialogData,
29434 &_swigt__p_wxPaintEvent,
29435 &_swigt__p_wxPaletteChangedEvent,
29436 &_swigt__p_wxPanel,
29437 &_swigt__p_wxPaperSize,
29438 &_swigt__p_wxPasswordEntryDialog,
29439 &_swigt__p_wxPoint,
29440 &_swigt__p_wxPopupWindow,
29441 &_swigt__p_wxPreviewCanvas,
29442 &_swigt__p_wxPreviewControlBar,
29443 &_swigt__p_wxPreviewFrame,
29444 &_swigt__p_wxPrintData,
29445 &_swigt__p_wxPrintDialog,
29446 &_swigt__p_wxPrintDialogData,
29447 &_swigt__p_wxPrintPreview,
29448 &_swigt__p_wxPrinter,
29449 &_swigt__p_wxProgressDialog,
29450 &_swigt__p_wxPyApp,
29451 &_swigt__p_wxPyCommandEvent,
29452 &_swigt__p_wxPyEvent,
29453 &_swigt__p_wxPyHtmlListBox,
29454 &_swigt__p_wxPyImageHandler,
29455 &_swigt__p_wxPyPanel,
29456 &_swigt__p_wxPyPopupTransientWindow,
29457 &_swigt__p_wxPyPreviewControlBar,
29458 &_swigt__p_wxPyPreviewFrame,
29459 &_swigt__p_wxPyPrintPreview,
29460 &_swigt__p_wxPyPrintout,
29461 &_swigt__p_wxPyScrolledWindow,
29462 &_swigt__p_wxPySizer,
29463 &_swigt__p_wxPyTaskBarIcon,
29464 &_swigt__p_wxPyVListBox,
29465 &_swigt__p_wxPyVScrolledWindow,
29466 &_swigt__p_wxPyValidator,
29467 &_swigt__p_wxPyWindow,
29468 &_swigt__p_wxQueryLayoutInfoEvent,
29469 &_swigt__p_wxQueryNewPaletteEvent,
29470 &_swigt__p_wxRect,
29471 &_swigt__p_wxRegion,
29472 &_swigt__p_wxSashEvent,
29473 &_swigt__p_wxSashLayoutWindow,
29474 &_swigt__p_wxSashWindow,
29475 &_swigt__p_wxScrollEvent,
29476 &_swigt__p_wxScrollWinEvent,
29477 &_swigt__p_wxScrolledWindow,
29478 &_swigt__p_wxSetCursorEvent,
29479 &_swigt__p_wxShowEvent,
29480 &_swigt__p_wxSingleChoiceDialog,
29481 &_swigt__p_wxSize,
29482 &_swigt__p_wxSizeEvent,
29483 &_swigt__p_wxSizer,
29484 &_swigt__p_wxSizerItem,
29485 &_swigt__p_wxSplashScreen,
29486 &_swigt__p_wxSplashScreenWindow,
29487 &_swigt__p_wxSplitterEvent,
29488 &_swigt__p_wxSplitterWindow,
29489 &_swigt__p_wxStaticBoxSizer,
29490 &_swigt__p_wxStatusBar,
29491 &_swigt__p_wxStdDialogButtonSizer,
29492 &_swigt__p_wxString,
29493 &_swigt__p_wxSysColourChangedEvent,
29494 &_swigt__p_wxTIFFHandler,
29495 &_swigt__p_wxTaskBarIcon,
29496 &_swigt__p_wxTaskBarIconEvent,
29497 &_swigt__p_wxTextEntryDialog,
29498 &_swigt__p_wxTipWindow,
29499 &_swigt__p_wxToolBar,
29500 &_swigt__p_wxTopLevelWindow,
29501 &_swigt__p_wxUpdateUIEvent,
29502 &_swigt__p_wxValidator,
29503 &_swigt__p_wxVisualAttributes,
29504 &_swigt__p_wxWindow,
29505 &_swigt__p_wxWindowCreateEvent,
29506 &_swigt__p_wxWindowDestroyEvent,
29507 &_swigt__p_wxXPMHandler,
29508 &_swigt__ptrdiff_t,
29509 &_swigt__std__ptrdiff_t,
29510 &_swigt__unsigned_int,
29511 };
29512
29513 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
29514 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
29515 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
29516 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
29517 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
29518 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
29519 static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
29520 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
29521 static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = { {&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
29522 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
29523 static swig_cast_info _swigc__p_wxColourData[] = { {&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
29524 static swig_cast_info _swigc__p_wxColourDialog[] = { {&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
29525 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
29526 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
29527 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
29528 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
29529 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
29530 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
29531 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
29532 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
29533 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}};
29534 static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
29535 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}};
29536 static swig_cast_info _swigc__p_wxDirDialog[] = { {&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
29537 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
29538 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
29539 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
29540 static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
29541 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
29542 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
29543 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
29544 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
29545 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
29546 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
29547 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
29548 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
29549 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
29550 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
29551 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
29552 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
29553 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
29554 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
29555 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
29556 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
29557 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
29558 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
29559 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
29560 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
29561 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
29562 static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
29563 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}};
29564 static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
29565 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
29566 static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
29567 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
29568 static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
29569 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_wxTipWindow, _p_wxTipWindowTo_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_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
29570 static swig_cast_info _swigc__p_wxFileDialog[] = { {&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
29571 static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
29572 static swig_cast_info _swigc__p_wxFindDialogEvent[] = { {&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
29573 static swig_cast_info _swigc__p_wxFindReplaceData[] = { {&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
29574 static swig_cast_info _swigc__p_wxFindReplaceDialog[] = { {&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
29575 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
29576 static swig_cast_info _swigc__p_wxFontData[] = { {&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
29577 static swig_cast_info _swigc__p_wxFontDialog[] = { {&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
29578 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_wxTipWindow, _p_wxTipWindowTo_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}};
29579 static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
29580 static swig_cast_info _swigc__p_wxIconBundle[] = { {&_swigt__p_wxIconBundle, 0, 0, 0},{0, 0, 0, 0}};
29581 static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = { {&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
29582 static swig_cast_info _swigc__p_wxMDIChildFrame[] = { {&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
29583 static swig_cast_info _swigc__p_wxMDIClientWindow[] = { {&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
29584 static swig_cast_info _swigc__p_wxMDIParentFrame[] = { {&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
29585 static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
29586 static swig_cast_info _swigc__p_wxMenuBar[] = { {&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
29587 static swig_cast_info _swigc__p_wxMessageDialog[] = { {&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
29588 static swig_cast_info _swigc__p_wxMiniFrame[] = { {&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
29589 static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = { {&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
29590 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}};
29591 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
29592 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
29593 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
29594 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
29595 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
29596 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
29597 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
29598 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
29599 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
29600 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
29601 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
29602 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
29603 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
29604 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
29605 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
29606 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
29607 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
29608 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
29609 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
29610 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
29611 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
29612 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
29613 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
29614 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
29615 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
29616 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
29617 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
29618 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
29619 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_wxTipWindow, _p_wxTipWindowTo_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_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}};
29620 static swig_cast_info _swigc__p_wxPageSetupDialog[] = { {&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
29621 static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
29622 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}};
29623 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
29624 static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = { {&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
29625 static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
29626 static swig_cast_info _swigc__p_wxPopupWindow[] = { {&_swigt__p_wxPopupWindow, 0, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxPopupWindow, 0, 0},{0, 0, 0, 0}};
29627 static swig_cast_info _swigc__p_wxPreviewCanvas[] = { {&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
29628 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}};
29629 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}};
29630 static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
29631 static swig_cast_info _swigc__p_wxPrintDialog[] = { {&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
29632 static swig_cast_info _swigc__p_wxPrintDialogData[] = { {&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
29633 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}};
29634 static swig_cast_info _swigc__p_wxPrinter[] = { {&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
29635 static swig_cast_info _swigc__p_wxProgressDialog[] = { {&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
29636 static swig_cast_info _swigc__p_wxPyHtmlListBox[] = { {&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
29637 static swig_cast_info _swigc__p_wxPyPanel[] = { {&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
29638 static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = { {&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}};
29639 static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = { {&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
29640 static swig_cast_info _swigc__p_wxPyPreviewFrame[] = { {&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
29641 static swig_cast_info _swigc__p_wxPyPrintPreview[] = { {&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
29642 static swig_cast_info _swigc__p_wxPyPrintout[] = { {&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
29643 static swig_cast_info _swigc__p_wxPyScrolledWindow[] = { {&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
29644 static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = { {&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
29645 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}};
29646 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}};
29647 static swig_cast_info _swigc__p_wxPyWindow[] = { {&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
29648 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = { {&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
29649 static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
29650 static swig_cast_info _swigc__p_wxRegion[] = { {&_swigt__p_wxRegion, 0, 0, 0},{0, 0, 0, 0}};
29651 static swig_cast_info _swigc__p_wxSashEvent[] = { {&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
29652 static swig_cast_info _swigc__p_wxSashLayoutWindow[] = { {&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
29653 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}};
29654 static swig_cast_info _swigc__p_wxScrollWinEvent[] = { {&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
29655 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}};
29656 static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = { {&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
29657 static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
29658 static swig_cast_info _swigc__p_wxSplashScreen[] = { {&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
29659 static swig_cast_info _swigc__p_wxSplashScreenWindow[] = { {&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
29660 static swig_cast_info _swigc__p_wxSplitterEvent[] = { {&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
29661 static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
29662 static swig_cast_info _swigc__p_wxStatusBar[] = { {&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
29663 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = { {&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
29664 static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
29665 static swig_cast_info _swigc__p_wxTaskBarIcon[] = { {&_swigt__p_wxTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
29666 static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = { {&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
29667 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}};
29668 static swig_cast_info _swigc__p_wxTipWindow[] = { {&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
29669 static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
29670 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_wxTipWindow, _p_wxTipWindowTo_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_wxProgressDialog, _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_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}};
29671 static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
29672 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_wxTipWindow, _p_wxTipWindowTo_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_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}};
29673 static swig_cast_info _swigc__ptrdiff_t[] = { {&_swigt__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}};
29674 static swig_cast_info _swigc__std__ptrdiff_t[] = { {&_swigt__std__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}};
29675 static swig_cast_info _swigc__unsigned_int[] = { {&_swigt__unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
29676
29677 static swig_cast_info *swig_cast_initial[] = {
29678 _swigc__p_char,
29679 _swigc__p_form_ops_t,
29680 _swigc__p_int,
29681 _swigc__p_unsigned_char,
29682 _swigc__p_unsigned_int,
29683 _swigc__p_unsigned_long,
29684 _swigc__p_wxANIHandler,
29685 _swigc__p_wxAcceleratorTable,
29686 _swigc__p_wxActivateEvent,
29687 _swigc__p_wxArrayInt,
29688 _swigc__p_wxBMPHandler,
29689 _swigc__p_wxBitmap,
29690 _swigc__p_wxBoxSizer,
29691 _swigc__p_wxCURHandler,
29692 _swigc__p_wxCalculateLayoutEvent,
29693 _swigc__p_wxChildFocusEvent,
29694 _swigc__p_wxCloseEvent,
29695 _swigc__p_wxColour,
29696 _swigc__p_wxColourData,
29697 _swigc__p_wxColourDialog,
29698 _swigc__p_wxCommandEvent,
29699 _swigc__p_wxContextMenuEvent,
29700 _swigc__p_wxControl,
29701 _swigc__p_wxControlWithItems,
29702 _swigc__p_wxDC,
29703 _swigc__p_wxDateEvent,
29704 _swigc__p_wxDialog,
29705 _swigc__p_wxDirDialog,
29706 _swigc__p_wxDisplayChangedEvent,
29707 _swigc__p_wxDropFilesEvent,
29708 _swigc__p_wxDuplexMode,
29709 _swigc__p_wxEraseEvent,
29710 _swigc__p_wxEvent,
29711 _swigc__p_wxEvtHandler,
29712 _swigc__p_wxFSFile,
29713 _swigc__p_wxFileDialog,
29714 _swigc__p_wxFileSystem,
29715 _swigc__p_wxFindDialogEvent,
29716 _swigc__p_wxFindReplaceData,
29717 _swigc__p_wxFindReplaceDialog,
29718 _swigc__p_wxFlexGridSizer,
29719 _swigc__p_wxFocusEvent,
29720 _swigc__p_wxFont,
29721 _swigc__p_wxFontData,
29722 _swigc__p_wxFontDialog,
29723 _swigc__p_wxFrame,
29724 _swigc__p_wxGBSizerItem,
29725 _swigc__p_wxGIFHandler,
29726 _swigc__p_wxGridBagSizer,
29727 _swigc__p_wxGridSizer,
29728 _swigc__p_wxICOHandler,
29729 _swigc__p_wxIcon,
29730 _swigc__p_wxIconBundle,
29731 _swigc__p_wxIconizeEvent,
29732 _swigc__p_wxIdleEvent,
29733 _swigc__p_wxImage,
29734 _swigc__p_wxImageHandler,
29735 _swigc__p_wxIndividualLayoutConstraint,
29736 _swigc__p_wxInitDialogEvent,
29737 _swigc__p_wxJPEGHandler,
29738 _swigc__p_wxKeyEvent,
29739 _swigc__p_wxLayoutAlgorithm,
29740 _swigc__p_wxLayoutConstraints,
29741 _swigc__p_wxMDIChildFrame,
29742 _swigc__p_wxMDIClientWindow,
29743 _swigc__p_wxMDIParentFrame,
29744 _swigc__p_wxMaximizeEvent,
29745 _swigc__p_wxMenu,
29746 _swigc__p_wxMenuBar,
29747 _swigc__p_wxMenuEvent,
29748 _swigc__p_wxMenuItem,
29749 _swigc__p_wxMessageDialog,
29750 _swigc__p_wxMiniFrame,
29751 _swigc__p_wxMouseCaptureChangedEvent,
29752 _swigc__p_wxMouseEvent,
29753 _swigc__p_wxMoveEvent,
29754 _swigc__p_wxMultiChoiceDialog,
29755 _swigc__p_wxNavigationKeyEvent,
29756 _swigc__p_wxNcPaintEvent,
29757 _swigc__p_wxNotifyEvent,
29758 _swigc__p_wxObject,
29759 _swigc__p_wxPCXHandler,
29760 _swigc__p_wxPNGHandler,
29761 _swigc__p_wxPNMHandler,
29762 _swigc__p_wxPageSetupDialog,
29763 _swigc__p_wxPageSetupDialogData,
29764 _swigc__p_wxPaintEvent,
29765 _swigc__p_wxPaletteChangedEvent,
29766 _swigc__p_wxPanel,
29767 _swigc__p_wxPaperSize,
29768 _swigc__p_wxPasswordEntryDialog,
29769 _swigc__p_wxPoint,
29770 _swigc__p_wxPopupWindow,
29771 _swigc__p_wxPreviewCanvas,
29772 _swigc__p_wxPreviewControlBar,
29773 _swigc__p_wxPreviewFrame,
29774 _swigc__p_wxPrintData,
29775 _swigc__p_wxPrintDialog,
29776 _swigc__p_wxPrintDialogData,
29777 _swigc__p_wxPrintPreview,
29778 _swigc__p_wxPrinter,
29779 _swigc__p_wxProgressDialog,
29780 _swigc__p_wxPyApp,
29781 _swigc__p_wxPyCommandEvent,
29782 _swigc__p_wxPyEvent,
29783 _swigc__p_wxPyHtmlListBox,
29784 _swigc__p_wxPyImageHandler,
29785 _swigc__p_wxPyPanel,
29786 _swigc__p_wxPyPopupTransientWindow,
29787 _swigc__p_wxPyPreviewControlBar,
29788 _swigc__p_wxPyPreviewFrame,
29789 _swigc__p_wxPyPrintPreview,
29790 _swigc__p_wxPyPrintout,
29791 _swigc__p_wxPyScrolledWindow,
29792 _swigc__p_wxPySizer,
29793 _swigc__p_wxPyTaskBarIcon,
29794 _swigc__p_wxPyVListBox,
29795 _swigc__p_wxPyVScrolledWindow,
29796 _swigc__p_wxPyValidator,
29797 _swigc__p_wxPyWindow,
29798 _swigc__p_wxQueryLayoutInfoEvent,
29799 _swigc__p_wxQueryNewPaletteEvent,
29800 _swigc__p_wxRect,
29801 _swigc__p_wxRegion,
29802 _swigc__p_wxSashEvent,
29803 _swigc__p_wxSashLayoutWindow,
29804 _swigc__p_wxSashWindow,
29805 _swigc__p_wxScrollEvent,
29806 _swigc__p_wxScrollWinEvent,
29807 _swigc__p_wxScrolledWindow,
29808 _swigc__p_wxSetCursorEvent,
29809 _swigc__p_wxShowEvent,
29810 _swigc__p_wxSingleChoiceDialog,
29811 _swigc__p_wxSize,
29812 _swigc__p_wxSizeEvent,
29813 _swigc__p_wxSizer,
29814 _swigc__p_wxSizerItem,
29815 _swigc__p_wxSplashScreen,
29816 _swigc__p_wxSplashScreenWindow,
29817 _swigc__p_wxSplitterEvent,
29818 _swigc__p_wxSplitterWindow,
29819 _swigc__p_wxStaticBoxSizer,
29820 _swigc__p_wxStatusBar,
29821 _swigc__p_wxStdDialogButtonSizer,
29822 _swigc__p_wxString,
29823 _swigc__p_wxSysColourChangedEvent,
29824 _swigc__p_wxTIFFHandler,
29825 _swigc__p_wxTaskBarIcon,
29826 _swigc__p_wxTaskBarIconEvent,
29827 _swigc__p_wxTextEntryDialog,
29828 _swigc__p_wxTipWindow,
29829 _swigc__p_wxToolBar,
29830 _swigc__p_wxTopLevelWindow,
29831 _swigc__p_wxUpdateUIEvent,
29832 _swigc__p_wxValidator,
29833 _swigc__p_wxVisualAttributes,
29834 _swigc__p_wxWindow,
29835 _swigc__p_wxWindowCreateEvent,
29836 _swigc__p_wxWindowDestroyEvent,
29837 _swigc__p_wxXPMHandler,
29838 _swigc__ptrdiff_t,
29839 _swigc__std__ptrdiff_t,
29840 _swigc__unsigned_int,
29841 };
29842
29843
29844 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29845
29846 static swig_const_info swig_const_table[] = {
29847 {0, 0, 0, 0.0, 0, 0}};
29848
29849 #ifdef __cplusplus
29850 }
29851 #endif
29852 /*************************************************************************
29853 * Type initialization:
29854 * This problem is tough by the requirement that no dynamic
29855 * memory is used. Also, since swig_type_info structures store pointers to
29856 * swig_cast_info structures and swig_cast_info structures store pointers back
29857 * to swig_type_info structures, we need some lookup code at initialization.
29858 * The idea is that swig generates all the structures that are needed.
29859 * The runtime then collects these partially filled structures.
29860 * The SWIG_InitializeModule function takes these initial arrays out of
29861 * swig_module, and does all the lookup, filling in the swig_module.types
29862 * array with the correct data and linking the correct swig_cast_info
29863 * structures together.
29864
29865 * The generated swig_type_info structures are assigned staticly to an initial
29866 * array. We just loop though that array, and handle each type individually.
29867 * First we lookup if this type has been already loaded, and if so, use the
29868 * loaded structure instead of the generated one. Then we have to fill in the
29869 * cast linked list. The cast data is initially stored in something like a
29870 * two-dimensional array. Each row corresponds to a type (there are the same
29871 * number of rows as there are in the swig_type_initial array). Each entry in
29872 * a column is one of the swig_cast_info structures for that type.
29873 * The cast_initial array is actually an array of arrays, because each row has
29874 * a variable number of columns. So to actually build the cast linked list,
29875 * we find the array of casts associated with the type, and loop through it
29876 * adding the casts to the list. The one last trick we need to do is making
29877 * sure the type pointer in the swig_cast_info struct is correct.
29878
29879 * First off, we lookup the cast->type name to see if it is already loaded.
29880 * There are three cases to handle:
29881 * 1) If the cast->type has already been loaded AND the type we are adding
29882 * casting info to has not been loaded (it is in this module), THEN we
29883 * replace the cast->type pointer with the type pointer that has already
29884 * been loaded.
29885 * 2) If BOTH types (the one we are adding casting info to, and the
29886 * cast->type) are loaded, THEN the cast info has already been loaded by
29887 * the previous module so we just ignore it.
29888 * 3) Finally, if cast->type has not already been loaded, then we add that
29889 * swig_cast_info to the linked list (because the cast->type) pointer will
29890 * be correct.
29891 **/
29892
29893 #ifdef __cplusplus
29894 extern "C" {
29895 #if 0
29896 } /* c-mode */
29897 #endif
29898 #endif
29899
29900 #if 0
29901 #define SWIGRUNTIME_DEBUG
29902 #endif
29903
29904 SWIGRUNTIME void
29905 SWIG_InitializeModule(void *clientdata) {
29906 size_t i;
29907 swig_module_info *module_head;
29908 static int init_run = 0;
29909
29910 clientdata = clientdata;
29911
29912 if (init_run) return;
29913 init_run = 1;
29914
29915 /* Initialize the swig_module */
29916 swig_module.type_initial = swig_type_initial;
29917 swig_module.cast_initial = swig_cast_initial;
29918
29919 /* Try and load any already created modules */
29920 module_head = SWIG_GetModule(clientdata);
29921 if (module_head) {
29922 swig_module.next = module_head->next;
29923 module_head->next = &swig_module;
29924 } else {
29925 /* This is the first module loaded */
29926 swig_module.next = &swig_module;
29927 SWIG_SetModule(clientdata, &swig_module);
29928 }
29929
29930 /* Now work on filling in swig_module.types */
29931 #ifdef SWIGRUNTIME_DEBUG
29932 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
29933 #endif
29934 for (i = 0; i < swig_module.size; ++i) {
29935 swig_type_info *type = 0;
29936 swig_type_info *ret;
29937 swig_cast_info *cast;
29938
29939 #ifdef SWIGRUNTIME_DEBUG
29940 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
29941 #endif
29942
29943 /* if there is another module already loaded */
29944 if (swig_module.next != &swig_module) {
29945 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
29946 }
29947 if (type) {
29948 /* Overwrite clientdata field */
29949 #ifdef SWIGRUNTIME_DEBUG
29950 printf("SWIG_InitializeModule: found type %s\n", type->name);
29951 #endif
29952 if (swig_module.type_initial[i]->clientdata) {
29953 type->clientdata = swig_module.type_initial[i]->clientdata;
29954 #ifdef SWIGRUNTIME_DEBUG
29955 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
29956 #endif
29957 }
29958 } else {
29959 type = swig_module.type_initial[i];
29960 }
29961
29962 /* Insert casting types */
29963 cast = swig_module.cast_initial[i];
29964 while (cast->type) {
29965 /* Don't need to add information already in the list */
29966 ret = 0;
29967 #ifdef SWIGRUNTIME_DEBUG
29968 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
29969 #endif
29970 if (swig_module.next != &swig_module) {
29971 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
29972 #ifdef SWIGRUNTIME_DEBUG
29973 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
29974 #endif
29975 }
29976 if (ret) {
29977 if (type == swig_module.type_initial[i]) {
29978 #ifdef SWIGRUNTIME_DEBUG
29979 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
29980 #endif
29981 cast->type = ret;
29982 ret = 0;
29983 } else {
29984 /* Check for casting already in the list */
29985 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
29986 #ifdef SWIGRUNTIME_DEBUG
29987 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
29988 #endif
29989 if (!ocast) ret = 0;
29990 }
29991 }
29992
29993 if (!ret) {
29994 #ifdef SWIGRUNTIME_DEBUG
29995 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
29996 #endif
29997 if (type->cast) {
29998 type->cast->prev = cast;
29999 cast->next = type->cast;
30000 }
30001 type->cast = cast;
30002 }
30003 cast++;
30004 }
30005 /* Set entry in modules->types array equal to the type */
30006 swig_module.types[i] = type;
30007 }
30008 swig_module.types[i] = 0;
30009
30010 #ifdef SWIGRUNTIME_DEBUG
30011 printf("**** SWIG_InitializeModule: Cast List ******\n");
30012 for (i = 0; i < swig_module.size; ++i) {
30013 int j = 0;
30014 swig_cast_info *cast = swig_module.cast_initial[i];
30015 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
30016 while (cast->type) {
30017 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
30018 cast++;
30019 ++j;
30020 }
30021 printf("---- Total casts: %d\n",j);
30022 }
30023 printf("**** SWIG_InitializeModule: Cast List ******\n");
30024 #endif
30025 }
30026
30027 /* This function will propagate the clientdata field of type to
30028 * any new swig_type_info structures that have been added into the list
30029 * of equivalent types. It is like calling
30030 * SWIG_TypeClientData(type, clientdata) a second time.
30031 */
30032 SWIGRUNTIME void
30033 SWIG_PropagateClientData(void) {
30034 size_t i;
30035 swig_cast_info *equiv;
30036 static int init_run = 0;
30037
30038 if (init_run) return;
30039 init_run = 1;
30040
30041 for (i = 0; i < swig_module.size; i++) {
30042 if (swig_module.types[i]->clientdata) {
30043 equiv = swig_module.types[i]->cast;
30044 while (equiv) {
30045 if (!equiv->converter) {
30046 if (equiv->type && !equiv->type->clientdata)
30047 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
30048 }
30049 equiv = equiv->next;
30050 }
30051 }
30052 }
30053 }
30054
30055 #ifdef __cplusplus
30056 #if 0
30057 {
30058 /* c-mode */
30059 #endif
30060 }
30061 #endif
30062
30063
30064
30065 #ifdef __cplusplus
30066 extern "C" {
30067 #endif
30068
30069 /* Python-specific SWIG API */
30070 #define SWIG_newvarlink() SWIG_Python_newvarlink()
30071 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
30072 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
30073
30074 /* -----------------------------------------------------------------------------
30075 * global variable support code.
30076 * ----------------------------------------------------------------------------- */
30077
30078 typedef struct swig_globalvar {
30079 char *name; /* Name of global variable */
30080 PyObject *(*get_attr)(void); /* Return the current value */
30081 int (*set_attr)(PyObject *); /* Set the value */
30082 struct swig_globalvar *next;
30083 } swig_globalvar;
30084
30085 typedef struct swig_varlinkobject {
30086 PyObject_HEAD
30087 swig_globalvar *vars;
30088 } swig_varlinkobject;
30089
30090 SWIGINTERN PyObject *
30091 swig_varlink_repr(swig_varlinkobject *v) {
30092 v = v;
30093 return PyString_FromString("<Swig global variables>");
30094 }
30095
30096 SWIGINTERN int
30097 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
30098 swig_globalvar *var;
30099 flags = flags;
30100 fprintf(fp,"Swig global variables { ");
30101 for (var = v->vars; var; var=var->next) {
30102 fprintf(fp,"%s", var->name);
30103 if (var->next) fprintf(fp,", ");
30104 }
30105 fprintf(fp," }\n");
30106 return 0;
30107 }
30108
30109 SWIGINTERN PyObject *
30110 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
30111 swig_globalvar *var = v->vars;
30112 while (var) {
30113 if (strcmp(var->name,n) == 0) {
30114 return (*var->get_attr)();
30115 }
30116 var = var->next;
30117 }
30118 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
30119 return NULL;
30120 }
30121
30122 SWIGINTERN int
30123 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
30124 swig_globalvar *var = v->vars;
30125 while (var) {
30126 if (strcmp(var->name,n) == 0) {
30127 return (*var->set_attr)(p);
30128 }
30129 var = var->next;
30130 }
30131 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
30132 return 1;
30133 }
30134
30135 SWIGINTERN PyTypeObject*
30136 swig_varlink_type(void) {
30137 static char varlink__doc__[] = "Swig var link object";
30138 static PyTypeObject varlink_type
30139 #if !defined(__cplusplus)
30140 ;
30141 static int type_init = 0;
30142 if (!type_init) {
30143 PyTypeObject tmp
30144 #endif
30145 = {
30146 PyObject_HEAD_INIT(&PyType_Type)
30147 0, /* Number of items in variable part (ob_size) */
30148 (char *)"swigvarlink", /* Type name (tp_name) */
30149 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
30150 0, /* Itemsize (tp_itemsize) */
30151 0, /* Deallocator (tp_dealloc) */
30152 (printfunc) swig_varlink_print, /* Print (tp_print) */
30153 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
30154 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
30155 0, /* tp_compare */
30156 (reprfunc) swig_varlink_repr, /* tp_repr */
30157 0, /* tp_as_number */
30158 0, /* tp_as_sequence */
30159 0, /* tp_as_mapping */
30160 0, /* tp_hash */
30161 0, /* tp_call */
30162 0, /* tp_str */
30163 0, /* tp_getattro */
30164 0, /* tp_setattro */
30165 0, /* tp_as_buffer */
30166 0, /* tp_flags */
30167 varlink__doc__, /* tp_doc */
30168 #if PY_VERSION_HEX >= 0x02000000
30169 0, /* tp_traverse */
30170 0, /* tp_clear */
30171 #endif
30172 #if PY_VERSION_HEX >= 0x02010000
30173 0, /* tp_richcompare */
30174 0, /* tp_weaklistoffset */
30175 #endif
30176 #if PY_VERSION_HEX >= 0x02020000
30177 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
30178 #endif
30179 #if PY_VERSION_HEX >= 0x02030000
30180 0, /* tp_del */
30181 #endif
30182 #ifdef COUNT_ALLOCS
30183 0,0,0,0 /* tp_alloc -> tp_next */
30184 #endif
30185 };
30186 #if !defined(__cplusplus)
30187 varlink_type = tmp;
30188 type_init = 1;
30189 }
30190 #endif
30191 return &varlink_type;
30192 }
30193
30194 /* Create a variable linking object for use later */
30195 SWIGINTERN PyObject *
30196 SWIG_Python_newvarlink(void) {
30197 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
30198 if (result) {
30199 result->vars = 0;
30200 }
30201 return ((PyObject*) result);
30202 }
30203
30204 SWIGINTERN void
30205 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
30206 swig_varlinkobject *v = (swig_varlinkobject *) p;
30207 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
30208 if (gv) {
30209 size_t size = strlen(name)+1;
30210 gv->name = (char *)malloc(size);
30211 if (gv->name) {
30212 strncpy(gv->name,name,size);
30213 gv->get_attr = get_attr;
30214 gv->set_attr = set_attr;
30215 gv->next = v->vars;
30216 }
30217 }
30218 v->vars = gv;
30219 }
30220
30221 /* -----------------------------------------------------------------------------
30222 * constants/methods manipulation
30223 * ----------------------------------------------------------------------------- */
30224
30225 /* Install Constants */
30226 SWIGINTERN void
30227 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
30228 PyObject *obj = 0;
30229 size_t i;
30230 for (i = 0; constants[i].type; ++i) {
30231 switch(constants[i].type) {
30232 case SWIG_PY_INT:
30233 obj = PyInt_FromLong(constants[i].lvalue);
30234 break;
30235 case SWIG_PY_FLOAT:
30236 obj = PyFloat_FromDouble(constants[i].dvalue);
30237 break;
30238 case SWIG_PY_STRING:
30239 if (constants[i].pvalue) {
30240 obj = PyString_FromString((char *) constants[i].pvalue);
30241 } else {
30242 Py_INCREF(Py_None);
30243 obj = Py_None;
30244 }
30245 break;
30246 case SWIG_PY_POINTER:
30247 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
30248 break;
30249 case SWIG_PY_BINARY:
30250 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
30251 break;
30252 default:
30253 obj = 0;
30254 break;
30255 }
30256 if (obj) {
30257 PyDict_SetItemString(d,constants[i].name,obj);
30258 Py_DECREF(obj);
30259 }
30260 }
30261 }
30262
30263 /* -----------------------------------------------------------------------------*/
30264 /* Fix SwigMethods to carry the callback ptrs when needed */
30265 /* -----------------------------------------------------------------------------*/
30266
30267 SWIGINTERN void
30268 SWIG_Python_FixMethods(PyMethodDef *methods,
30269 swig_const_info *const_table,
30270 swig_type_info **types,
30271 swig_type_info **types_initial) {
30272 size_t i;
30273 for (i = 0; methods[i].ml_name; ++i) {
30274 char *c = methods[i].ml_doc;
30275 if (c && (c = strstr(c, "swig_ptr: "))) {
30276 int j;
30277 swig_const_info *ci = 0;
30278 char *name = c + 10;
30279 for (j = 0; const_table[j].type; ++j) {
30280 if (strncmp(const_table[j].name, name,
30281 strlen(const_table[j].name)) == 0) {
30282 ci = &(const_table[j]);
30283 break;
30284 }
30285 }
30286 if (ci) {
30287 size_t shift = (ci->ptype) - types;
30288 swig_type_info *ty = types_initial[shift];
30289 size_t ldoc = (c - methods[i].ml_doc);
30290 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
30291 char *ndoc = (char*)malloc(ldoc + lptr + 10);
30292 if (ndoc) {
30293 char *buff = ndoc;
30294 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
30295 if (ptr) {
30296 strncpy(buff, methods[i].ml_doc, ldoc);
30297 buff += ldoc;
30298 strncpy(buff, "swig_ptr: ", 10);
30299 buff += 10;
30300 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
30301 methods[i].ml_doc = ndoc;
30302 }
30303 }
30304 }
30305 }
30306 }
30307 }
30308
30309 /* -----------------------------------------------------------------------------*
30310 * Initialize type list
30311 * -----------------------------------------------------------------------------*/
30312
30313 #ifdef __cplusplus
30314 }
30315 #endif
30316
30317 /* -----------------------------------------------------------------------------*
30318 * Partial Init method
30319 * -----------------------------------------------------------------------------*/
30320
30321 #ifdef __cplusplus
30322 extern "C"
30323 #endif
30324 SWIGEXPORT void SWIG_init(void) {
30325 static PyObject *SWIG_globals = 0;
30326 PyObject *m, *d;
30327 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
30328
30329 /* Fix SwigMethods to carry the callback ptrs when needed */
30330 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
30331
30332 m = Py_InitModule((char *) SWIG_name, SwigMethods);
30333 d = PyModule_GetDict(m);
30334
30335 SWIG_InitializeModule(0);
30336 SWIG_InstallConstants(d,swig_const_table);
30337
30338 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
30339 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
30340 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
30341 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
30342 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
30343 {
30344 PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_From_int(static_cast<int >(wxSTAY_ON_TOP)));
30345 }
30346 {
30347 PyDict_SetItemString(d,"ICONIZE", SWIG_From_int(static_cast<int >(wxICONIZE)));
30348 }
30349 {
30350 PyDict_SetItemString(d,"MINIMIZE", SWIG_From_int(static_cast<int >(wxMINIMIZE)));
30351 }
30352 {
30353 PyDict_SetItemString(d,"MAXIMIZE", SWIG_From_int(static_cast<int >(wxMAXIMIZE)));
30354 }
30355 {
30356 PyDict_SetItemString(d,"CLOSE_BOX", SWIG_From_int(static_cast<int >(wxCLOSE_BOX)));
30357 }
30358 {
30359 PyDict_SetItemString(d,"THICK_FRAME", SWIG_From_int(static_cast<int >(wxTHICK_FRAME)));
30360 }
30361 {
30362 PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_From_int(static_cast<int >(wxSYSTEM_MENU)));
30363 }
30364 {
30365 PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_From_int(static_cast<int >(wxMINIMIZE_BOX)));
30366 }
30367 {
30368 PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_From_int(static_cast<int >(wxMAXIMIZE_BOX)));
30369 }
30370 {
30371 PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_From_int(static_cast<int >(wxTINY_CAPTION_HORIZ)));
30372 }
30373 {
30374 PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_From_int(static_cast<int >(wxTINY_CAPTION_VERT)));
30375 }
30376 {
30377 PyDict_SetItemString(d,"RESIZE_BOX", SWIG_From_int(static_cast<int >(wxRESIZE_BOX)));
30378 }
30379 {
30380 PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_From_int(static_cast<int >(wxRESIZE_BORDER)));
30381 }
30382 {
30383 PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_From_int(static_cast<int >(wxDIALOG_NO_PARENT)));
30384 }
30385 {
30386 PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_From_int(static_cast<int >(wxDEFAULT_FRAME_STYLE)));
30387 }
30388 {
30389 PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_From_int(static_cast<int >(wxDEFAULT_DIALOG_STYLE)));
30390 }
30391 {
30392 PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_From_int(static_cast<int >(wxFRAME_TOOL_WINDOW)));
30393 }
30394 {
30395 PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_From_int(static_cast<int >(wxFRAME_FLOAT_ON_PARENT)));
30396 }
30397 {
30398 PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_From_int(static_cast<int >(wxFRAME_NO_WINDOW_MENU)));
30399 }
30400 {
30401 PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_From_int(static_cast<int >(wxFRAME_NO_TASKBAR)));
30402 }
30403 {
30404 PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_From_int(static_cast<int >(wxFRAME_SHAPED)));
30405 }
30406 {
30407 PyDict_SetItemString(d,"FRAME_DRAWER", SWIG_From_int(static_cast<int >(wxFRAME_DRAWER)));
30408 }
30409 {
30410 PyDict_SetItemString(d,"FRAME_EX_METAL", SWIG_From_int(static_cast<int >(wxFRAME_EX_METAL)));
30411 }
30412 {
30413 PyDict_SetItemString(d,"DIALOG_EX_METAL", SWIG_From_int(static_cast<int >(wxDIALOG_EX_METAL)));
30414 }
30415 {
30416 PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_From_int(static_cast<int >(wxDIALOG_MODAL)));
30417 }
30418 {
30419 PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_From_int(static_cast<int >(wxDIALOG_MODELESS)));
30420 }
30421 {
30422 PyDict_SetItemString(d,"USER_COLOURS", SWIG_From_int(static_cast<int >(wxUSER_COLOURS)));
30423 }
30424 {
30425 PyDict_SetItemString(d,"NO_3D", SWIG_From_int(static_cast<int >(wxNO_3D)));
30426 }
30427 {
30428 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOMENUBAR)));
30429 }
30430 {
30431 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOTOOLBAR)));
30432 }
30433 {
30434 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOSTATUSBAR)));
30435 }
30436 {
30437 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOBORDER)));
30438 }
30439 {
30440 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOCAPTION)));
30441 }
30442 {
30443 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_From_int(static_cast<int >(wxFULLSCREEN_ALL)));
30444 }
30445 {
30446 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_From_int(static_cast<int >(wxTOPLEVEL_EX_DIALOG)));
30447 }
30448 {
30449 PyDict_SetItemString(d,"USER_ATTENTION_INFO", SWIG_From_int(static_cast<int >(wxUSER_ATTENTION_INFO)));
30450 }
30451 {
30452 PyDict_SetItemString(d,"USER_ATTENTION_ERROR", SWIG_From_int(static_cast<int >(wxUSER_ATTENTION_ERROR)));
30453 }
30454 {
30455 PyDict_SetItemString(d,"Dialog_ButtonSizerFlags", SWIG_From_int(static_cast<int >(wxDialog::ButtonSizerFlags)));
30456 }
30457 {
30458 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int(static_cast<int >(wxSPLASH_CENTRE_ON_PARENT)));
30459 }
30460 {
30461 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int(static_cast<int >(wxSPLASH_CENTRE_ON_SCREEN)));
30462 }
30463 {
30464 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_From_int(static_cast<int >(wxSPLASH_NO_CENTRE)));
30465 }
30466 {
30467 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_From_int(static_cast<int >(wxSPLASH_TIMEOUT)));
30468 }
30469 {
30470 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_From_int(static_cast<int >(wxSPLASH_NO_TIMEOUT)));
30471 }
30472 {
30473 PyDict_SetItemString(d,"SB_NORMAL", SWIG_From_int(static_cast<int >(wxSB_NORMAL)));
30474 }
30475 {
30476 PyDict_SetItemString(d,"SB_FLAT", SWIG_From_int(static_cast<int >(wxSB_FLAT)));
30477 }
30478 {
30479 PyDict_SetItemString(d,"SB_RAISED", SWIG_From_int(static_cast<int >(wxSB_RAISED)));
30480 }
30481 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
30482 {
30483 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_From_int(static_cast<int >(wxSP_NOBORDER)));
30484 }
30485 {
30486 PyDict_SetItemString(d,"SP_NOSASH", SWIG_From_int(static_cast<int >(wxSP_NOSASH)));
30487 }
30488 {
30489 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_From_int(static_cast<int >(wxSP_PERMIT_UNSPLIT)));
30490 }
30491 {
30492 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_From_int(static_cast<int >(wxSP_LIVE_UPDATE)));
30493 }
30494 {
30495 PyDict_SetItemString(d,"SP_3DSASH", SWIG_From_int(static_cast<int >(wxSP_3DSASH)));
30496 }
30497 {
30498 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_From_int(static_cast<int >(wxSP_3DBORDER)));
30499 }
30500 {
30501 PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_From_int(static_cast<int >(wxSP_NO_XP_THEME)));
30502 }
30503 {
30504 PyDict_SetItemString(d,"SP_BORDER", SWIG_From_int(static_cast<int >(wxSP_BORDER)));
30505 }
30506 {
30507 PyDict_SetItemString(d,"SP_3D", SWIG_From_int(static_cast<int >(wxSP_3D)));
30508 }
30509 {
30510 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_From_int(static_cast<int >(wxSPLIT_HORIZONTAL)));
30511 }
30512 {
30513 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_From_int(static_cast<int >(wxSPLIT_VERTICAL)));
30514 }
30515 {
30516 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_From_int(static_cast<int >(wxSPLIT_DRAG_NONE)));
30517 }
30518 {
30519 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_From_int(static_cast<int >(wxSPLIT_DRAG_DRAGGING)));
30520 }
30521 {
30522 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int(static_cast<int >(wxSPLIT_DRAG_LEFT_DOWN)));
30523 }
30524 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
30525 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
30526 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
30527 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
30528 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
30529 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
30530 {
30531 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_From_int(static_cast<int >(wxSASH_DRAG_NONE)));
30532 }
30533 {
30534 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_From_int(static_cast<int >(wxSASH_DRAG_DRAGGING)));
30535 }
30536 {
30537 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_From_int(static_cast<int >(wxSASH_DRAG_LEFT_DOWN)));
30538 }
30539 {
30540 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_From_int(static_cast<int >(wxSW_NOBORDER)));
30541 }
30542 {
30543 PyDict_SetItemString(d,"SW_BORDER", SWIG_From_int(static_cast<int >(wxSW_BORDER)));
30544 }
30545 {
30546 PyDict_SetItemString(d,"SW_3DSASH", SWIG_From_int(static_cast<int >(wxSW_3DSASH)));
30547 }
30548 {
30549 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_From_int(static_cast<int >(wxSW_3DBORDER)));
30550 }
30551 {
30552 PyDict_SetItemString(d,"SW_3D", SWIG_From_int(static_cast<int >(wxSW_3D)));
30553 }
30554 {
30555 PyDict_SetItemString(d,"SASH_TOP", SWIG_From_int(static_cast<int >(wxSASH_TOP)));
30556 }
30557 {
30558 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_From_int(static_cast<int >(wxSASH_RIGHT)));
30559 }
30560 {
30561 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_From_int(static_cast<int >(wxSASH_BOTTOM)));
30562 }
30563 {
30564 PyDict_SetItemString(d,"SASH_LEFT", SWIG_From_int(static_cast<int >(wxSASH_LEFT)));
30565 }
30566 {
30567 PyDict_SetItemString(d,"SASH_NONE", SWIG_From_int(static_cast<int >(wxSASH_NONE)));
30568 }
30569 {
30570 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_From_int(static_cast<int >(wxSASH_STATUS_OK)));
30571 }
30572 {
30573 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int(static_cast<int >(wxSASH_STATUS_OUT_OF_RANGE)));
30574 }
30575 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
30576 {
30577 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_From_int(static_cast<int >(wxLAYOUT_HORIZONTAL)));
30578 }
30579 {
30580 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_From_int(static_cast<int >(wxLAYOUT_VERTICAL)));
30581 }
30582 {
30583 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_From_int(static_cast<int >(wxLAYOUT_NONE)));
30584 }
30585 {
30586 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_From_int(static_cast<int >(wxLAYOUT_TOP)));
30587 }
30588 {
30589 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_From_int(static_cast<int >(wxLAYOUT_LEFT)));
30590 }
30591 {
30592 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_From_int(static_cast<int >(wxLAYOUT_RIGHT)));
30593 }
30594 {
30595 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_From_int(static_cast<int >(wxLAYOUT_BOTTOM)));
30596 }
30597 {
30598 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_From_int(static_cast<int >(wxLAYOUT_LENGTH_Y)));
30599 }
30600 {
30601 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_From_int(static_cast<int >(wxLAYOUT_LENGTH_X)));
30602 }
30603 {
30604 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_From_int(static_cast<int >(wxLAYOUT_MRU_LENGTH)));
30605 }
30606 {
30607 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_From_int(static_cast<int >(wxLAYOUT_QUERY)));
30608 }
30609 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
30610 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
30611 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
30612
30613 // Map renamed classes back to their common name for OOR
30614 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
30615 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
30616 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
30617
30618 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
30619 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
30620 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
30621 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
30622 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
30623 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
30624 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
30625 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
30626 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
30627 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
30628 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
30629 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
30630 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
30631 {
30632 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_From_int(static_cast<int >(wxCHOICEDLG_STYLE)));
30633 }
30634 {
30635 PyDict_SetItemString(d,"TextEntryDialogStyle", SWIG_From_int(static_cast<int >(wxTextEntryDialogStyle)));
30636 }
30637 SWIG_addvarlink(SWIG_globals,(char*)"GetPasswordFromUserPromptStr",_wrap_GetPasswordFromUserPromptStr_get, _wrap_GetPasswordFromUserPromptStr_set);
30638 {
30639 PyDict_SetItemString(d,"FR_DOWN", SWIG_From_int(static_cast<int >(wxFR_DOWN)));
30640 }
30641 {
30642 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_From_int(static_cast<int >(wxFR_WHOLEWORD)));
30643 }
30644 {
30645 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_From_int(static_cast<int >(wxFR_MATCHCASE)));
30646 }
30647 {
30648 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_From_int(static_cast<int >(wxFR_REPLACEDIALOG)));
30649 }
30650 {
30651 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_From_int(static_cast<int >(wxFR_NOUPDOWN)));
30652 }
30653 {
30654 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_From_int(static_cast<int >(wxFR_NOMATCHCASE)));
30655 }
30656 {
30657 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_From_int(static_cast<int >(wxFR_NOWHOLEWORD)));
30658 }
30659 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
30660 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
30661 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
30662 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
30663 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
30664 {
30665 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_From_int(static_cast<int >(4001)));
30666 }
30667 {
30668 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_From_int(static_cast<int >(4001)));
30669 }
30670 {
30671 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_From_int(static_cast<int >(4002)));
30672 }
30673 {
30674 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_From_int(static_cast<int >(4003)));
30675 }
30676 {
30677 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_From_int(static_cast<int >(4004)));
30678 }
30679 {
30680 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_From_int(static_cast<int >(4005)));
30681 }
30682 {
30683 PyDict_SetItemString(d,"IDM_WINDOWPREV", SWIG_From_int(static_cast<int >(4006)));
30684 }
30685 {
30686 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_From_int(static_cast<int >(4100)));
30687 }
30688 {
30689 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_From_int(static_cast<int >(4600)));
30690 }
30691 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
30692 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
30693 {
30694 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_From_int(static_cast<int >(wxPRINT_MODE_NONE)));
30695 }
30696 {
30697 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_From_int(static_cast<int >(wxPRINT_MODE_PREVIEW)));
30698 }
30699 {
30700 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_From_int(static_cast<int >(wxPRINT_MODE_FILE)));
30701 }
30702 {
30703 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_From_int(static_cast<int >(wxPRINT_MODE_PRINTER)));
30704 }
30705 {
30706 PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_From_int(static_cast<int >(wxPRINT_MODE_STREAM)));
30707 }
30708 {
30709 PyDict_SetItemString(d,"PRINTBIN_DEFAULT", SWIG_From_int(static_cast<int >(wxPRINTBIN_DEFAULT)));
30710 }
30711 {
30712 PyDict_SetItemString(d,"PRINTBIN_ONLYONE", SWIG_From_int(static_cast<int >(wxPRINTBIN_ONLYONE)));
30713 }
30714 {
30715 PyDict_SetItemString(d,"PRINTBIN_LOWER", SWIG_From_int(static_cast<int >(wxPRINTBIN_LOWER)));
30716 }
30717 {
30718 PyDict_SetItemString(d,"PRINTBIN_MIDDLE", SWIG_From_int(static_cast<int >(wxPRINTBIN_MIDDLE)));
30719 }
30720 {
30721 PyDict_SetItemString(d,"PRINTBIN_MANUAL", SWIG_From_int(static_cast<int >(wxPRINTBIN_MANUAL)));
30722 }
30723 {
30724 PyDict_SetItemString(d,"PRINTBIN_ENVELOPE", SWIG_From_int(static_cast<int >(wxPRINTBIN_ENVELOPE)));
30725 }
30726 {
30727 PyDict_SetItemString(d,"PRINTBIN_ENVMANUAL", SWIG_From_int(static_cast<int >(wxPRINTBIN_ENVMANUAL)));
30728 }
30729 {
30730 PyDict_SetItemString(d,"PRINTBIN_AUTO", SWIG_From_int(static_cast<int >(wxPRINTBIN_AUTO)));
30731 }
30732 {
30733 PyDict_SetItemString(d,"PRINTBIN_TRACTOR", SWIG_From_int(static_cast<int >(wxPRINTBIN_TRACTOR)));
30734 }
30735 {
30736 PyDict_SetItemString(d,"PRINTBIN_SMALLFMT", SWIG_From_int(static_cast<int >(wxPRINTBIN_SMALLFMT)));
30737 }
30738 {
30739 PyDict_SetItemString(d,"PRINTBIN_LARGEFMT", SWIG_From_int(static_cast<int >(wxPRINTBIN_LARGEFMT)));
30740 }
30741 {
30742 PyDict_SetItemString(d,"PRINTBIN_LARGECAPACITY", SWIG_From_int(static_cast<int >(wxPRINTBIN_LARGECAPACITY)));
30743 }
30744 {
30745 PyDict_SetItemString(d,"PRINTBIN_CASSETTE", SWIG_From_int(static_cast<int >(wxPRINTBIN_CASSETTE)));
30746 }
30747 {
30748 PyDict_SetItemString(d,"PRINTBIN_FORMSOURCE", SWIG_From_int(static_cast<int >(wxPRINTBIN_FORMSOURCE)));
30749 }
30750 {
30751 PyDict_SetItemString(d,"PRINTBIN_USER", SWIG_From_int(static_cast<int >(wxPRINTBIN_USER)));
30752 }
30753 {
30754 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_From_int(static_cast<int >(wxPRINTER_NO_ERROR)));
30755 }
30756 {
30757 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_From_int(static_cast<int >(wxPRINTER_CANCELLED)));
30758 }
30759 {
30760 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_From_int(static_cast<int >(wxPRINTER_ERROR)));
30761 }
30762 {
30763 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_From_int(static_cast<int >(wxPREVIEW_PRINT)));
30764 }
30765 {
30766 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_From_int(static_cast<int >(wxPREVIEW_PREVIOUS)));
30767 }
30768 {
30769 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_From_int(static_cast<int >(wxPREVIEW_NEXT)));
30770 }
30771 {
30772 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_From_int(static_cast<int >(wxPREVIEW_ZOOM)));
30773 }
30774 {
30775 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_From_int(static_cast<int >(wxPREVIEW_FIRST)));
30776 }
30777 {
30778 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_From_int(static_cast<int >(wxPREVIEW_LAST)));
30779 }
30780 {
30781 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_From_int(static_cast<int >(wxPREVIEW_GOTO)));
30782 }
30783 {
30784 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_From_int(static_cast<int >(wxPREVIEW_DEFAULT)));
30785 }
30786 {
30787 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_From_int(static_cast<int >(wxID_PREVIEW_CLOSE)));
30788 }
30789 {
30790 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_From_int(static_cast<int >(wxID_PREVIEW_NEXT)));
30791 }
30792 {
30793 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_From_int(static_cast<int >(wxID_PREVIEW_PREVIOUS)));
30794 }
30795 {
30796 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_From_int(static_cast<int >(wxID_PREVIEW_PRINT)));
30797 }
30798 {
30799 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_From_int(static_cast<int >(wxID_PREVIEW_ZOOM)));
30800 }
30801 {
30802 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_From_int(static_cast<int >(wxID_PREVIEW_FIRST)));
30803 }
30804 {
30805 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_From_int(static_cast<int >(wxID_PREVIEW_LAST)));
30806 }
30807 {
30808 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_From_int(static_cast<int >(wxID_PREVIEW_GOTO)));
30809 }
30810
30811 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
30812
30813 }
30814